@charset "UTF-8";

/* -------------------------------------------------------
    faq.html タブレット版（768px〜1439px）
    css/faq.css（PC版）の px 指定を 1440px 基準で vw に変換
    計算式：px ÷ 1440 × 100 = vw（小数点4桁まで）
    セレクタ・レイアウト構成はPC版から変更していません
------------------------------------------------------- */

@media screen and (min-width: 768px) and (max-width: 1439px) {

    /* -------------------------
        このファイルは faq.html（15_よくあるご質問）専用のスタイルです。
        ヘッダー・フッター・共通ボタン・共通見出し（.c-heading）・
        写真の波形トリミング（.c-photo-wave-mask）は css/common.css を参照しています。
    ------------------------- */

    .l-main {
        min-width: 69.4444vw;
        background: var(--color-cream);
        padding-bottom: 20.8333vw;
    }


    /* -------------------------
        ページタイトル（ヒーロー）
    ------------------------- */

    .faq-hero {
        position: relative;
        width: 100%;
        height: 44.0972vw;
        overflow: hidden;
        background: var(--color-cream);
    }

    .faq-hero__photo {
        position: absolute;
        inset: 0;
        overflow: hidden;
    }

    .faq-hero__photo-inner {
        position: absolute;
        top: -10%;
        right: 0;
        bottom: -10%;
        left: 0;
        background: url("../images/faq/hero_photo.webp") center 25% / cover no-repeat;
    }

    .faq-hero__inner {
        position: relative;
        width: 100%;
        max-width: 100vw;
        height: 100%;
        margin: 0 auto;
    }

    .faq-hero__title {
        position: absolute;
        left: 6.9444vw;
        top: 17.7778vw;
        display: inline-flex;
        align-items: center;
        height: 5.9028vw;
        padding: 0 4.1667vw;
        background: var(--color-orange);
        border-radius: 13.8889vw;
        color: #fff;
        font-size: 2.9861vw;
        font-weight: 700;
        letter-spacing: 4.3px;
        white-space: nowrap;
    }


    /* -------------------------
        カテゴリナビ（丸ナビ）
    ------------------------- */

    .faq-nav {
        position: relative;
        width: 100%;
        min-width: 69.4444vw;
        padding: 5.4861vw 0 5.6944vw;
        background: var(--color-cream);
    }

    .faq-nav__deco-character {
        position: absolute;
        top: -7.4306vw;
        right: 6.1111vw;
        width: 30.9722vw;
        height: auto;
        pointer-events: none;
    }

    .faq-nav__list {
        display: flex;
        justify-content: center;
        gap: 2.7778vw;
        margin: 0 auto;
        padding: 0;
        list-style: none;
    }

    .faq-nav__link {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 11.7361vw;
        height: 11.6667vw;
        background-image: url("../images/faq/bg_anchor_circle.svg");
        background-size: contain;
        background-repeat: no-repeat;
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(152, 124, 82, 0.2);
        text-decoration: none;
        text-align: center;
        transition: opacity 0.3s;
        cursor: pointer;
    }

    .faq-nav__link:hover {
        opacity: 0.8;
    }

    .faq-nav__text {
        padding-bottom: 1.8056vw;
        color: #000;
        font-size: 1.4583vw;
        font-weight: 500;
        line-height: 1.4;
    }

    .faq-nav__link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 1.6667vw;
        width: 2.0833vw;
        height: 2.0833vw;
        background-image: url("../images/faq/icon_link_arrow_down.svg");
        background-size: contain;
        background-repeat: no-repeat;
        transform: translateX(-50%) rotate(90deg);
    }


    /* -------------------------
        Q&Aグループ共通
    ------------------------- */

    .faq-group {
        background: var(--color-cream);
    }

    .faq-group__inner {
        position: relative;
        max-width: 71.3889vw;
        margin: 0 auto;
        padding: 6.9444vw 1.3889vw;
    }

    .faq-group__deco-clipboard {
        position: absolute;
        left: 1.3194vw;
        top: 13.4028vw;
        width: 7.6389vw;
        height: auto;
        pointer-events: none;
        z-index: 2;
    }

    .faq-group__deco-wave {
        position: absolute;
        left: -13.4722vw;
        bottom: 4.1667vw;
        width: 22.6389vw;
        height: auto;
        pointer-events: none;
        z-index: 1;
    }

    .faq-group__deco-dots {
        position: absolute;
        left: -7.0139vw;
        bottom: 0;
        width: 14.0278vw;
        height: auto;
        pointer-events: none;
    }

    .faq-group__deco-spiral {
        position: absolute;
        right: -18.75vw;
        top: 5.5556vw;
        width: 24.0278vw;
        height: auto;
        pointer-events: none;
    }

    .faq-group:last-of-type .faq-group__inner {
        padding-bottom: 10.4167vw;
    }

    .faq-list {
        position: relative;
        margin: 2.7778vw 0 0;
        padding: 6.25vw 7.6389vw;
        background: #fff;
        border-radius: 2.0833vw;
        list-style: none;
        z-index: 1;
    }

    .faq-item + .faq-item {
        border-top: 1px solid #DBDBB0;
    }

    .faq-item__accordion {
        padding: 1.1111vw 0;
    }

    .faq-item__summary {
        display: flex;
        align-items: center;
        gap: 1.1111vw;
        cursor: pointer;
        list-style: none;
    }

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

    .faq-item__q {
        flex-shrink: 0;
        color: var(--color-green);
        font-size: 1.9444vw;
        font-weight: 700;
    }

    .faq-item__question {
        flex: 1;
        color: #000;
        font-size: 1.25vw;
        letter-spacing: -0.9px;
    }

    .faq-item__toggle {
        flex-shrink: 0;
        width: 1.3194vw;
        height: 1.3194vw;
        background-image: url("../images/faq/icon_accordion_closed.svg");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .faq-item__accordion[open] .faq-item__toggle {
        background-image: url("../images/faq/icon_accordion_open.svg");
    }

    .faq-item__body {
        display: flex;
        align-items: flex-start;
        gap: 0.8333vw;
        margin-top: 1.1111vw;
        padding-left: 3.0556vw;
    }

    .faq-item__a {
        flex-shrink: 0;
        color: var(--color-green);
        font-size: 1.5278vw;
        font-weight: 700;
    }

    .faq-item__answer {
        margin: 0;
        color: #000;
        font-size: 1.1111vw;
        line-height: 1.5;
    }
}
