body{
    max-width: 720px;
    margin: 0 auto;
}
img {
    width: 100%;
    display: block;
}

/* ==========================================================
   content05: FAQ（アコーディオン）
   ========================================================== */
.faq{
    --ink: #2B2438;
    --cream: #FBF5EE;
    --rose: #E2846B;
    --rose-deep: #C96A52;
    --gold: #C6A25D;
    --line: rgba(198, 162, 93, 0.35);

    background: var(--cream);
    padding: 56px 20px 64px;
    font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
    color: var(--ink);
}

.faq-title{
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: .02em;
}

.faq-list{
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.faq-item{
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
}

/* --- 質問（トリガー） --- */
.faq-q{
    width: 100%;
    display: grid;
    grid-template-columns: 28px 1fr 20px;
    align-items: center;
    gap: 14px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 18px 18px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.faq-q .q-mark{
    font-family: "Shippori Mincho", serif;
    font-size: 20px;
    color: var(--gold);
    line-height: 1;
}

.faq-q .q-text{
    line-height: 1.6;
}

/* +/- アイコン */
.faq-q .faq-icon{
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.faq-q .faq-icon::before,
.faq-q .faq-icon::after{
    content: "";
    position: absolute;
    background: var(--rose);
    border-radius: 1px;
    transition: transform .25s ease;
}
.faq-q .faq-icon::before{
    /* 横線 */
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}
.faq-q .faq-icon::after{
    /* 縦線 */
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}
/* 開いた状態は「×」に */
.faq-item.open .faq-icon::after{
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}
.faq-item.open .faq-icon::before{
    transform: translateY(-50%) rotate(180deg);
}

/* --- 回答（アコーディオン本体） ---
   grid-template-rows を 0fr → 1fr にアニメーションさせる手法。
   JSは class="open" の付け外しのみ担当（高さ計算不要）。 */
.faq-a{
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s ease;
}
.faq-item.open .faq-a{
    grid-template-rows: 1fr;
}
.faq-a-inner{
    overflow: hidden;
}
.faq-a p{
    font-size: 14px;
    line-height: 1.9;
    color: #4A415A;
    border-top: 1px dashed var(--line);
    margin: 0 18px;
    padding: 16px 0 20px;
}
.faq-a .a-mark{
    font-family: "Shippori Mincho", serif;
    color: var(--rose-deep);
    font-weight: 800;
    margin-right: 6px;
}

/* キーボード操作時のフォーカスリング */
.faq-q:focus-visible{
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

/* ==========================================================
   CTAボタン: cta.png を上下2レイヤーに分割し、
   下段（ボタン本体）だけをバウンド／グロー／シャインさせる
   1枚絵(1774×887px)の background-position トリックなので
   img差し替え不要・レスポンシブでも崩れません
   ========================================================== */
.cta{
    margin: 28px 0;
}

.cta-link{
    display: block;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}
.cta-link:focus-visible{
    outline: 3px solid #C6A25D;
    outline-offset: 4px;
    border-radius: 12px;
}

/* 上段: 「毎月5名限定」テキスト部分（静止） */
.cta-top{
    display: block;
    width: 100%;
    aspect-ratio: 1774 / 410;
    background-image: url("img/cta.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: 0 0;
}

/* 下段のラッパー: バウンドとグローの基準位置 */
.cta-btn-wrap{
    display: block;
    position: relative;
    width: 100%;
}

/* ボタンの後光（ふわっと明滅） */
.cta-glow{
    position: absolute;
    inset: -16% -5%;
    background: radial-gradient(closest-side, rgba(255, 205, 60, 0.55), rgba(255, 205, 60, 0) 72%);
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
    animation: ctaGlow 2.2s ease-in-out infinite;
}

/* 下段: ボタン本体（画像の後半55.8%〜100%を表示） */
.cta-btn{
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 1774 / 490;
    background-image: url("img/cta.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: 0 100%;
    overflow: hidden;
    transform-origin: center bottom;
    animation: ctaBounce 2.6s ease-in-out infinite;
    transition: transform .15s ease;
}

/* キラッと光るシャイン（斜めの光が定期的に通過） */
.cta-shine{
    position: absolute;
    top: 0;
    left: -150%;
    width: 55%;
    height: 100%;
    background: linear-gradient(115deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.9) 45%,
        rgba(255,255,255,.9) 55%,
        rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    mix-blend-mode: screen;
    pointer-events: none;
    animation: ctaShine 3.6s ease-in-out infinite;
}

/* ホバー/タップ時のフィードバック */
.cta-link:hover .cta-btn{
    animation-play-state: paused;
    transform: translateY(-10px) scale(1.02);
}
.cta-link:active .cta-btn{
    transform: translateY(-2px) scale(.98);
}

@keyframes ctaBounce{
    0%,  100% { transform: translateY(0); }
    15%       { transform: translateY(-10px); }
    30%       { transform: translateY(0); }
    42%       { transform: translateY(-5px); }
    54%       { transform: translateY(0); }
}

@keyframes ctaGlow{
    0%, 100% { opacity: .35; transform: scale(.92); }
    50%      { opacity: 1;   transform: scale(1.06); }
}

@keyframes ctaShine{
    0%, 30%  { left: -150%; }
    55%      { left: 150%; }
    100%     { left: 150%; }
}

@media (prefers-reduced-motion: reduce){
    .cta-btn, .cta-glow, .cta-shine{
        animation: none;
    }
}