/* ========== Minimal Reset ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

:root{
    /* PCで広げたいときは --phone-scale をいじる */
    --phone-base: 430px;  /* もとの最大幅 */
    --phone-scale: 1;     /* モバイル等倍 */
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    background: #0a0a0a;
    color: #111;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

/* ========== Layout ========== */
.wrap {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* モバイルファースト: 本体幅=デザイン基準(例: 430px)に合わせてPCでも縦長1カラムを維持 */
.phone {
    width: min(100vw, calc(var(--phone-base) * var(--phone-scale)));
    /* 390~430 推奨: デザインに合わせて */
    margin-inline: auto;
    background: #fff;
    position: relative;
}

/* セクション間の隙間は基本0。必要なら .gap を適宜つける */
.sec {
    line-height: 0;
}

.gap-s {
    height: 8px;
    background: #fff;
}

.gap-m {
    height: 16px;
    background: #fff;
}

.gap-l {
    height: 24px;
    background: #fff;
}

/* PC時の周囲背景（左右余白の演出） */
@media (min-width: 768px) {
    body {
        /* background: rgba(224, 244, 251, 0.35); */
        background-color: rgba(255, 127, 82, 0.1);
    }
    /* PCだけ+10%広げる */
    :root { --phone-scale: 1.5; } /* 430px → 約473px */
}

/* ページ先頭へ */
.to-top {
    position: fixed;
    right: 12px;
    bottom: 72px;
    z-index: 40;
    opacity: .92;
}

.to-top a {
    display: inline-block;
    background: #111;
    color: #fff;
    border-radius: 999px;
    padding: 10px 12px;
    font-weight: 700;
}

/* 画像の遅延読み込みのプレースホルダ演出（任意） */
.ph {
    background: #eee;
}

/* アクセシビリティ配慮: 画面リーダー向けテキスト */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 画像の上に乗せる土台 */
.hotspot {
    position: relative;
    line-height: 0; /* 画像下の妙な隙間対策 */
}

.hotspot > img {
    display: block;
    width: 100%; /* 親（.phone）の幅に合わせて縮尺維持 */
    height: auto;
}

/* 透明リンク（%で位置・サイズを決める） */
.hotlink {
    position: absolute;
    left: var(--x);  /* 例: 8% */
    top: var(--y);   /* 例: 6% */
    width: var(--w); /* 例: 84% */
    height: var(--h);/* 例: 16% */
    z-index: 10;
    display: block;
    /* 調整用デバッグ（必要な時だけオン） */
    outline: var(--debug, 0) solid rgba(0, 0, 0, .25);
    background: var(--debug, 0) solid transparent;
}

/* 画像の上に乗せる土台（テキスト版） */
.hotspottext {
    position: relative;
    line-height: 1.3; /* テキストなので通常行間 */
}

.hotspottext > img {
    display: block;
    width: 100%;
    height: auto;
}

/* テキスト用ホットエリア（%で位置・サイズを決める） */
.hottext {
    position: absolute;
    left: var(--x);  /* 例: 8% */
    top: var(--y);   /* 例: 6% */
    width: var(--w); /* 例: 84% */
    height: var(--h);/* 例: 16% */
    z-index: 10;
    display: block;
    margin: 0;
    /* デバッグしたい時だけ有効化
    outline: var(--debug, 0) solid rgba(0, 0, 0, .25);
    background: var(--debug, 0) solid transparent;
    */
}

/* ===== FAQ セクション（常時開いた版） ===== */
.faq-sec {
    background: #e9e9e9;
    padding: clamp(16px, 5vw, 24px) 12px 24px;
}

.faq-wrap {
    width: 100%;
    margin: 0 auto;
}

.faq-title {
    font-weight: 900;
    font-size: clamp(20px, 5.8vw, 28px);
    text-align: center;
    margin: 24px 0px 32px;
    letter-spacing: .02em;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.faq {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 0 0 #bdbdbd, 0 6px 12px rgba(0, 0, 0, .06);
    padding: 14px 16px 12px;
}

.faq .question {
    font-weight: 700;
    font-size: clamp(14px, 4.2vw, 16px);
    line-height: 1.5;
    border-bottom: 1px dashed #cfcfcf;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.faq .q-mark {
    color: #ff7a2a;
    font-weight: 900;
    margin-right: 8px;
    font-size: 1.1em;
}

.faq .answer {
    font-size: clamp(13px, 3.9vw, 15px);
    color: #333;
    line-height: 1.7;
}

@media (min-width:768px) {
    .faq-sec {
        padding: 24px 16px 28px;
    }
}

/* ===== FAQ セクション（アコーディオン版） ===== */
/* 必要ならここに追記 */
