@charset "utf-8";


/* 下層ページ用のヘッダー調整（最初から白背景・黒文字にする） */
.l-subpage .b-header { background: #fff; border-bottom: 1px solid #f0f0f0; }
.l-subpage .b-header__logo img.is-white { display: none; }
.l-subpage .b-header__logo img.is-black { display: block; }
.l-subpage .c-header-nav__item a { color: #333; }
.l-subpage .c-header-nav__item.is-sp svg rect { fill: #333; }
.l-subpage .l-main { padding-top: 80px; background: #fffef9; }
@media screen and (min-width: 1280px) { .l-subpage .l-main { padding-top: 105px; } }

/* 1. チラシエリア */
.p-landing__hero {
    padding: 32px 0 48px;
}

.p-landing__flyers {
    max-width: 1120px;
    margin: 0 auto;
}

.p-landing__flyer {
    position: relative;
}

    .p-landing__flyer img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

/* --- 【最重要】チラシ画像内の「ご応募・エントリーはこちら」ボタンに重なる透明リンクレイヤー --- */
.p-landing__flyer-link {
    position: absolute;
    top: 82.8%; /* オレンジ色ボタンの上端位置 */
    left: 52.8%; /* オレンジ色ボタンの左端位置 */
    width: 34.4%; /* ボタンの横幅 */
    height: 11.2%; /* ボタンの高さ */
    display: block;
    z-index: 10;
    cursor: pointer;
    border-radius: 9999px; /* カプセル型の丸みに合わせる */
    transition: background-color 0.2s, box-shadow 0.2s;
}

    .p-landing__flyer-link:hover {
        background-color: rgba(255, 255, 255, 0.25);
        box-shadow: 0 0 12px rgba(255, 140, 0, 0.4);
    }

/* 2. よくある質問（2段階アコーディオン：画像完全再現版） */
.p-landing__faq { padding: 20px 0 80px; }
.p-faq__card {
    max-width: 880px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
@media screen and (min-width: 768px) {
    .p-faq__card { padding: 48px 56px; }
}
.p-faq__main-title {
    padding-bottom: 20px;
    margin-bottom: 32px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #18193f;
    border-bottom: 3px solid #ffe082;
}
@media screen and (min-width: 768px) {
    .p-faq__main-title { font-size: 1.75rem; }
}

/* 外側：大カテゴリのアコーディオン */
.p-faq__accordion {
    margin-bottom: 20px;
    border: 1px solid #f0e6c8;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.p-faq__accordion:last-of-type { margin-bottom: 0; }
.p-faq__summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 700;
    color: #18193f;
    background: #fff4c2;
    border-left: 6px solid #ffc000;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s;
}
.p-faq__summary::-webkit-details-marker { display: none; }
.p-faq__summary:hover { background: #ffed9e; }
.p-faq__summary::after {
    content: "▼";
    font-size: 0.75rem;
    color: #333;
    transition: transform 0.25s ease;
}
.p-faq__accordion[open] > .p-faq__summary::after {
    transform: rotate(180deg);
}

/* 内側：個別Q&Aのアコーディオンリスト */
.p-faq__list {
    padding: 20px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.p-faq__item {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}
.p-faq__q {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #18193f;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s;
}
.p-faq__q::-webkit-details-marker { display: none; }
.p-faq__q:hover { background: #fafafa; }
.p-faq__q-text {
    position: relative;
    padding-left: 26px;
    line-height: 1.5;
}
.p-faq__q-text::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "Q.";
    font-weight: 700;
    color: #e6a800;
}
/* 右端の ＋ / － アイコン */
.p-faq__q::after {
    content: "＋";
    flex: 0 0 auto;
    font-size: 1.125rem;
    font-weight: 700;
    color: #d49b00;
    line-height: 1;
}
.p-faq__item[open] > .p-faq__q::after {
    content: "－";
}

/* 回答エリア */
.p-faq__a {
    position: relative;
    padding: 16px 20px 16px 46px;
    margin: 0 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #333;
}
.p-faq__a::before {
    position: absolute;
    top: 16px;
    left: 20px;
    content: "A.";
    font-weight: 700;
    color: #d9534f; /* 画像の赤みのあるA.カラー */
}
.p-faq__a ul {
    margin: 8px 0 8px 20px;
    list-style-type: disc;
}

/* =========================================================
   スマホ表示（480px以下）の余白・改行調整
   ========================================================= */
@media screen and (max-width: 480px) {
    /* チラシエリアの上下余白をコンパクトに */
    .p-landing__hero {
        padding: 20px 0 32px;
    }
    .p-landing__flyers {
        gap: 16px;
    }

    /* Q&A外枠カードの左右余白を詰めて横幅を広く確保 */
    .p-landing__faq {
        padding: 12px 0 48px;
    }
    .p-faq__card {
        padding: 28px 14px;
        border-radius: 12px;
    }

    /* タイトルの「(Q&A)」が途中で割れないようにし、文字サイズを調整 */
    .p-faq__main-title {
        font-size: 1.25rem;
        padding-bottom: 14px;
        margin-bottom: 24px;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    /* 大カテゴリ（黄色バー）の余白・文字サイズ調整 */
    .p-faq__accordion {
        margin-bottom: 14px;
    }
    .p-faq__summary {
        padding: 14px 16px;
        font-size: 0.9375rem;
    }

    /* 個別Q&Aリストの余白をスリムに */
    .p-faq__list {
        padding: 12px;
        gap: 10px;
    }
    .p-faq__q {
        padding: 14px 14px;
        font-size: 0.875rem;
        gap: 10px;
    }
    .p-faq__q-text {
        padding-left: 22px;
    }

    /* 回答エリアの左右の余白を最適化して読みやすく */
    .p-faq__a {
        padding: 14px 14px 14px 36px;
        margin: 0;
        font-size: 0.875rem;
        line-height: 1.7;
    }
    .p-faq__a::before {
        top: 14px;
        left: 14px;
    }
}

/* =========================================================
   3. ご応募・エントリー案内ボックス
   ========================================================= */
.p-landing__entry {
    margin-top: 48px;
    text-align: center;
}

.p-landing__entry-box {
    background: #fff;
    border: 3px solid #18193f;
    border-radius: 12px;
    padding: 32px 20px;
    max-width: 680px;
    margin: 0 auto;
}

.p-landing__entry-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #18193f;
}

.p-landing__entry-mail {
    display: inline-block;
    margin: 16px 0;
    padding: 12px 24px;
    font-size: 1.125rem;
    font-weight: 700;
    color: #18193f;
    background: #ffe082;
    border: 2px solid #000;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}

    .p-landing__entry-mail:hover {
        opacity: 0.8;
    }