@charset "utf-8";

/* =========================================================
   よくある質問（page-faq.php）
   ========================================================= */

.p-faq-page .c-lower__mv {
    padding-bottom: 0;
}

.p-faq-page__lead {
    margin-top: 30px;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: .04em;
}

.p-faq-page .c-lower__mv--navs {
    margin-top: 60px;
}

.p-faq-page .c-lower__mv--nav {
    max-width: 1240px;
    gap: 20px;
    padding: 24px 28px;
    flex-wrap: nowrap;
}

.p-faq-page .c-lower__mv--nav li {
    flex: 1 1 0;
    min-width: 0;
}

.p-faq-page .c-lower__mv--nav a {
    display: block;
    padding-right: 22px;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: .05em;
    white-space: nowrap;
    text-align: center;
}

.p-faq-page .c-lower__mv--nav a span {
    white-space: nowrap;
}

@media screen and (min-width: 901px) and (max-width: 1180px) {
    .p-faq-page .c-lower__mv--nav {
        gap: 12px;
        padding: 22px 20px;
    }

    .p-faq-page .c-lower__mv--nav a {
        padding-right: 18px;
        font-size: 14px;
        letter-spacing: .03em;
    }
}

/* ---------------------------------------------------------
   検索・絞り込みパネル
   --------------------------------------------------------- */
.p-faq-search {
    position: relative;
    z-index: 3;
    padding-top: 60px;
}

.p-faq-search__panel {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 30px 40px;
    padding: 32px 36px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 15px 15px 25px 0 rgba(230, 224, 201, .20);
}

.p-faq-search__field {
    flex: 1 1 320px;
    min-width: 0;
}

.p-faq-search__label {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #6d6f75;
}

.p-faq-search__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.p-faq-search__icon {
    position: absolute;
    left: 18px;
    width: 20px;
    height: 20px;
    color: #45C0A8;
    pointer-events: none;
}

.p-faq-search__input {
    width: 100%;
    height: 56px;
    padding: 0 52px 0 48px;
    border: solid 1px #d8d3c2;
    border-radius: 28px;
    background: #fbf9f3;
    font-family: inherit;
    font-size: 16px;
    color: #303135;
    -webkit-appearance: none;
    appearance: none;
}

.p-faq-search__input::placeholder {
    color: #a9a69c;
}

.p-faq-search__input:focus {
    outline: none;
    border-color: #45C0A8;
    background: #fff;
}

.p-faq-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.p-faq-search__clear {
    position: absolute;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: #e6e1d1;
    color: #56585e;
    cursor: pointer;
}

.p-faq-search__clear svg {
    width: 12px;
    height: 12px;
}

.p-faq-search__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.p-faq-search__filter {
    padding: 13px 26px;
    border: solid 1px #d8d3c2;
    border-radius: 28px;
    background: #fbf9f3;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #56585e;
    cursor: pointer;
    transition: background-color .3s, border-color .3s, color .3s;
}

.p-faq-search__filter.is-active {
    border-color: #45C0A8;
    background: #45C0A8;
    color: #fff;
}

.p-faq-search__status {
    flex: 1 1 100%;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #6d6f75;
}

@media screen and (min-width: 901px) {
    .p-faq-search__filter:hover {
        border-color: #45C0A8;
        color: #45C0A8;
    }

    .p-faq-search__filter.is-active:hover {
        color: #fff;
    }
}

/* ---------------------------------------------------------
   本文レイアウト
   --------------------------------------------------------- */
.p-faq-body {
    position: relative;
    z-index: 2;
    padding-top: 70px;
    padding-bottom: 100px;
}

.p-faq-body__inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    overflow: visible;
}

/* 目次（スクロール追従） */
.p-faq-toc__wrap {
    position: relative;
    flex: 0 0 280px;
    width: 280px;
    align-self: flex-start;
}

.p-faq-toc {
    width: 100%;
    max-height: calc(100vh - 120px);
    padding: 28px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-radius: 20px;
    box-shadow: 15px 15px 25px 0 rgba(230, 224, 201, .20);
    z-index: 4;
}

.p-faq-toc.is-fixed {
    position: fixed;
    top: 100px;
}

.p-faq-toc.is-bottom {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
}

.p-faq-toc__head {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: solid 1px #e6e1d1;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
}

.p-faq-toc__group + .p-faq-toc__group {
    margin-top: 22px;
}

.p-faq-toc__group.is-hidden {
    display: none;
}

.p-faq-toc__group-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .04em;
    color: #45C0A8;
}

.p-faq-toc__list {
    margin-top: 10px;
}

.p-faq-toc__list li {
    position: relative;
    padding-left: 14px;
}

.p-faq-toc__list li.is-hidden {
    display: none;
}

.p-faq-toc__list li::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    width: 6px;
    height: 1px;
    background: #b7b3a7;
}

.p-faq-toc__list li + li {
    margin-top: 8px;
}

.p-faq-toc__list a {
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: .02em;
    color: #56585e;
}

@media screen and (min-width: 901px) {
    .p-faq-toc__list a:hover,
    .p-faq-toc__group-label a:hover {
        color: #303135;
        text-decoration: underline;
    }
}

/* ---------------------------------------------------------
   Q&A リスト
   --------------------------------------------------------- */
.p-faq-list {
    flex: 1 1 auto;
    min-width: 0;
}

.p-faq-group.is-hidden,
.p-faq-cat.is-hidden,
.p-faq-item.is-hidden {
    display: none;
}

.p-faq-group {
    scroll-margin-top: 120px;
}

.p-faq-group + .p-faq-group {
    margin-top: 90px;
}

.p-faq-group__head {
    padding-bottom: 26px;
    border-bottom: solid 2px #303135;
}

.p-faq-group__en {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #45C0A8;
}

.p-faq-group__title {
    margin-top: 8px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .06em;
}

.p-faq-group__summary {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: .03em;
    color: #56585e;
}

.p-faq-cat {
    margin-top: 44px;
    scroll-margin-top: 120px;
}

.p-faq-cat__head {
    margin-bottom: 20px;
}

.p-faq-cat__title {
    position: relative;
    padding-left: 18px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .05em;
}

.p-faq-cat__title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 22px;
    border-radius: 3px;
    background: #45C0A8;
    transform: translateY(-50%);
}

.p-faq-cat__summary {
    margin-top: 10px;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: .03em;
    color: #6d6f75;
}

/* アコーディオン */
.p-faq-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    scroll-margin-top: 120px;
    transition: box-shadow .3s;
}

.p-faq-item + .p-faq-item {
    margin-top: 16px;
}

.p-faq-item.is-hit {
    box-shadow: 0 0 0 2px #45C0A8;
}

.p-faq-item__q {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px 60px 22px 22px;
    position: relative;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .03em;
    cursor: pointer;
    list-style: none;
}

.p-faq-item__q::-webkit-details-marker {
    display: none;
}

.p-faq-item__q-text {
    display: block;
    flex: 1 1 auto;
    padding-top: 3px;
}

.p-faq-item__icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #45C0A8;
    color: #fff;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.p-faq-item__icon.--a {
    background: #FF9F9F;
}

.p-faq-item__toggle {
    position: absolute;
    top: 28px;
    right: 22px;
    width: 18px;
    height: 18px;
}

.p-faq-item__toggle::before,
.p-faq-item__toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #303135;
    transform: translate(-50%, -50%);
}

.p-faq-item__toggle::before {
    width: 100%;
    height: 2px;
}

.p-faq-item__toggle::after {
    width: 2px;
    height: 100%;
    transition: transform .3s;
}

.p-faq-item[open] .p-faq-item__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.p-faq-item__a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px;
    border-top: solid 1px #f0ede3;
}

.p-faq-item__a-body {
    flex: 1 1 auto;
    min-width: 0;
}

.p-faq-item__a-text {
    font-size: 15px;
    line-height: 1.95;
    letter-spacing: .03em;
    color: #3c3d42;
}

.p-faq-item__a-text a {
    color: #2a9c86;
    text-decoration: underline;
}

.p-faq-item__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 18px;
}

.p-faq-item__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: solid 1px #cfe9e2;
    border-radius: 24px;
    background: #f2faf8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    color: #2a9c86;
}

.p-faq-item__link svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.p-faq-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 18px;
}

.p-faq-item__badge {
    padding: 5px 12px;
    border-radius: 4px;
    background: #f0ede3;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #6d6f75;
}

.p-faq-item__badge.--corporate {
    background: #e8f4ff;
    color: #2f6f9f;
}

.p-faq-item__badge.--personal {
    background: #fff0f0;
    color: #c96a6a;
}

.p-faq-item__permalink {
    font-size: 11px;
    letter-spacing: .04em;
    color: #a9a69c;
    text-decoration: underline;
}

.p-faq-list__empty {
    padding: 50px 30px;
    background: #fff;
    border-radius: 15px;
    text-align: center;
    font-size: 15px;
    line-height: 1.9;
    color: #56585e;
}

@media screen and (min-width: 901px) {
    .p-faq-item__q:hover {
        color: #2a9c86;
    }

    .p-faq-item__link:hover {
        background: #45C0A8;
        border-color: #45C0A8;
        color: #fff;
    }
}

/* ---------------------------------------------------------
   お問い合わせ導線
   --------------------------------------------------------- */
.p-faq-contact {
    position: relative;
    z-index: 2;
}

.p-faq-contact__box {
    padding: 60px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 15px 15px 25px 0 rgba(230, 224, 201, .20);
}

.p-faq-contact__en {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #45C0A8;
}

.p-faq-contact__head {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .05em;
}

.p-faq-contact__txt {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: .03em;
    color: #56585e;
}

.p-faq-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.p-faq-contact__actions li {
    flex: 1 1 260px;
}

.p-faq-contact__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 100%;
    min-height: 76px;
    padding: 18px 24px;
    border: solid 1px #d8d3c2;
    border-radius: 16px;
    background: #fbf9f3;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: background-color .3s, border-color .3s, color .3s;
}

.p-faq-contact__btn span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.p-faq-contact__btn small {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .02em;
    color: #6d6f75;
}

.p-faq-contact__btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.p-faq-contact__btn.--primary {
    border-color: #45C0A8;
    background: #45C0A8;
    color: #fff;
}

.p-faq-contact__note {
    margin-top: 26px;
    font-size: 12px;
    line-height: 1.9;
    letter-spacing: .02em;
    color: #8a877e;
}

.p-faq-page .c-btns__inner {
    border-top: none;
}

@media screen and (min-width: 901px) {
    .p-faq-contact__btn:hover {
        border-color: #45C0A8;
        color: #2a9c86;
    }

    .p-faq-contact__btn.--primary:hover {
        background: #35a892;
        border-color: #35a892;
        color: #fff;
    }
}

/* ---------------------------------------------------------
   タブレット・SP
   --------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .p-faq-body__inner {
        gap: 40px;
    }

    .p-faq-toc {
        flex-basis: 240px;
        width: 240px;
    }
}

@media screen and (max-width: 900px) {
    .p-faq-page__lead {
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.8;
    }

    .p-faq-page .c-lower__mv--navs {
        margin-top: 40px;
    }

    /* PC向けの横並び指定をリセットし、4項目を2×2グリッドで収める */
    .p-faq-page .c-lower__mv--navs .l-inner {
        max-width: 100%;
    }

    .p-faq-page .c-lower__mv--nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        max-width: 100%;
        padding: 0;
        overflow: visible;
        justify-content: stretch;
    }

    .p-faq-page .c-lower__mv--nav li {
        flex: none;
        min-width: 0;
    }

    .p-faq-page .c-lower__mv--nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        height: 100%;
        padding: 12px 28px 12px 14px;
        font-size: 12px;
        line-height: 1.35;
        letter-spacing: .02em;
        white-space: normal;
        text-align: center;
    }

    .p-faq-page .c-lower__mv--nav a span {
        white-space: normal;
    }

    .p-faq-page .c-lower__mv--nav a::before {
        top: auto;
        bottom: 10px;
        right: 10px;
        transform: none;
    }

    .p-faq-search {
        padding-top: 40px;
    }

    .p-faq-search__panel {
        gap: 22px;
        padding: 24px 20px;
        border-radius: 15px;
    }

    .p-faq-search__field {
        flex: 1 1 100%;
    }

    .p-faq-search__input {
        height: 50px;
        font-size: 15px;
    }

    .p-faq-search__filter {
        padding: 11px 18px;
        font-size: 14px;
    }

    .p-faq-body {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .p-faq-body__inner {
        display: block;
    }

    .p-faq-toc__wrap {
        position: static;
        width: 100%;
        flex: none;
        margin-bottom: 40px;
    }

    .p-faq-toc,
    .p-faq-toc.is-fixed,
    .p-faq-toc.is-bottom {
        position: static;
        top: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        max-height: none;
        margin-bottom: 0;
        padding: 22px 20px;
        border-radius: 15px;
    }

    .p-faq-toc__list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 16px;
    }

    .p-faq-toc__list li + li {
        margin-top: 0;
    }

    .p-faq-group {
        scroll-margin-top: 90px;
    }

    .p-faq-group + .p-faq-group {
        margin-top: 60px;
    }

    .p-faq-group__title {
        font-size: 23px;
    }

    .p-faq-group__summary {
        font-size: 14px;
    }

    .p-faq-cat {
        margin-top: 34px;
        scroll-margin-top: 90px;
    }

    .p-faq-cat__title {
        font-size: 18px;
    }

    .p-faq-item {
        scroll-margin-top: 90px;
    }

    .p-faq-item__q {
        padding: 18px 48px 18px 18px;
        font-size: 15px;
        gap: 12px;
    }

    .p-faq-item__toggle {
        top: 24px;
        right: 18px;
        width: 16px;
        height: 16px;
    }

    .p-faq-item__a {
        padding: 18px;
        gap: 12px;
    }

    .p-faq-item__a-text {
        font-size: 14px;
        line-height: 1.9;
    }

    .p-faq-contact__box {
        padding: 34px 22px;
        border-radius: 20px;
    }

    .p-faq-contact__head {
        font-size: 20px;
    }

    .p-faq-contact__txt {
        font-size: 14px;
    }

    .p-faq-contact__actions {
        display: block;
    }

    .p-faq-contact__actions li + li {
        margin-top: 12px;
    }
}

@media screen and (max-width: 500px) {
    .p-faq-item__icon {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    .p-faq-item__meta {
        gap: 8px 12px;
    }
}
