@charset "UTF-8";

/* ============================================================
   CUSTOM.CSS — イベントカラー変数（企画ごとに書き換え）
   base.css のデフォルト値をここで上書きするだけ。
   base.css 自体は触らない。

   WORKFLOW:
     1. :root の色変数を企画カラーに変更する
     2. 背景やフォントのカスタマイズはコメントアウトを外して追記
     3. 共通コンポーネントの変更は base.css へ
   ============================================================ */


/* ============================================================
   BRAND COLORS — 企画ごとに変更する
   ============================================================ */
:root {
    --color-main:   #fcf9ac;   /* ページ背景色（パステル黄） */
    --color-sub1:   #a2ddfa;   /* メインカラー（パステル水色） */
    --color-sub2:   #ff8ae3;   /* サブカラー（パステルピンク） */
    --color-sub3:   #83ccc9;   /* アクセント（ミント） */
    --color-sub4:   #d3a4e8;   /* アクセント（パステル紫） */
    --color-sub5:   #fcf9ac;   /* 薄背景（パステル黄） */
    --color-local:  #f1d511;   /* 差し色（黄色） */
    --color-text:   #1a1a2e;   /* テキストカラー */
    --color-button: #83ccc9;   /* ボタンカラー（ミント） */
    --font-family:  'Noto Sans JP', YakuHanJP, sans-serif;
}


/* ============================================================
   SECTION HEADING — テキストセクションタイトル
   ============================================================ */
.section-heading {
    width: 100%;
    text-align: center;
    padding: 0.22rem 0.20rem 0.18rem;
    background: linear-gradient(135deg, var(--color-sub1) 0%, var(--color-sub2) 100%);
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0.60rem;
    height: 0.05rem;
    background: var(--color-local);
    border-radius: 0.025rem;
}

.section-heading-text {
    color: #fff;
    font-size: 0.22rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
    font-family: var(--font-family);
    text-shadow: 0 0.01rem 0.03rem rgba(0, 0, 0, 0.2);
}


/* ============================================================
   BACKGROUND (任意)
   企画の背景色・パターンが必要な場合にコメントアウトを外す
   ============================================================ */
/* body { background-color: #f0e8ff; } */


/* ============================================================
   CONTENT-HOLDER BORDER VARIANTS (任意)
   イベントカラーの枠 + 影をつける場合
   ============================================================ */
/* .content-holder {
    border: 3px solid var(--color-sub1);
    box-shadow: 0.04rem 0.04rem 0 var(--color-sub1);
} */


/* ============================================================
   DISABLED — 触れないことを視覚的に明確にする
   企画ごとの button-bg / グラデを上書きするため !important で最優先化。
   base.css の .iconButton[disabled] と同じ gray グラデを採用。
   ============================================================ */
.iconButton[disabled],
.iconButton.disabled,
.iconButton:disabled,
.iconButton[disabled].button-bg,
.iconButton.disabled.button-bg,
.iconButton:disabled.button-bg {
    background: linear-gradient(to right, gray, darkgray) !important;
    color: #fff !important;
    pointer-events: none !important;
    cursor: default !important;
    opacity: 0.7;
}
/* disabled の内側白枠も無効化（押せそうに見えないよう） */
.iconButton[disabled]::before,
.iconButton.disabled::before,
.iconButton:disabled::before {
    border-color: rgba(255, 255, 255, 0.4) !important;
}


/* ============================================================
   STAMP / AR GRID (任意)
   ARフレーム数が異なる場合に列数を変更する
   ============================================================ */
/* .icon-grid-4 { grid-template-columns: repeat(3, 1fr); } */


/* ============================================================
   FONT OVERRIDE (任意)
   企画カスタムフォントが必要な場合 — info.inc.php の Google Font
   リンクと合わせて設定する
   ============================================================ */
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap'); */
/* main { font-family: "Noto Serif JP", sans-serif; } */
/* .fontEvent { font-family: "Noto Serif JP", sans-serif !important; } */


/* ============================================================
   SECTION HEAD OVERLAP (任意)
   セクションタイトルを content-holder に被せるレイアウト
   ============================================================ */
/* .section-head-overlap {
    position: relative;
    z-index: 1;
    margin-bottom: -0.40rem;
}
.section-head-overlap + .content-holder {
    padding-top: 0.30rem;
} */


/* ============================================================
   FONT UTILITY OVERRIDE — base.css のバグ修正 + caution の強制統一
   base.css 末尾 (line 1106) で .fontNotoSans が var(--font-family) で
   上書きされており、Noto Sans JP に切り替わらない。custom.css は base.css
   の後で読み込まれるためここで実フォント名を強制する。
   caution 系は class 指定有無に関わらず常に Noto Sans JP で固定する
   (本文の event フォントと視覚的に分離するため)。
   ============================================================ */
.fontNotoSans,
.fontNotoSans *,
.caution,
.caution *,
ul.caution,
ul.caution li,
ul.caution li a {
    font-family: "Noto Sans JP", YakuHanJP, sans-serif !important;
}


/* ============================================================
   idolpark_02_yarudo — ちゃやまちアイドルパーク×JR東海 Part2
   パステル（黄×水色×ピンク×ミント）。LP は配色・雰囲気の参考。
   ============================================================ */

/* --- セクション見出し画像（cont01/02/03_tit01.png：タイトル＋日付入り）--- */
.section-ribbon {
    display: block;
    width: 94%;
    max-width: 4.6rem;
    margin: 0.22rem auto 0.06rem;
}
.section-ribbon img { display: block; width: 100%; height: auto; }

/* --- content-holder：角丸・枠なし・軽い影（パステルに馴染む白カード）--- */
.content-holder {
    border: none;
    border-radius: 0.14rem;
    box-shadow: 0 0.03rem 0.10rem rgba(0, 0, 0, 0.10);
    padding-bottom: 0.16rem;
}
main.page-content > section { margin-bottom: 0.24rem; }

/* --- 商品画像（ステッカー / チャーム）中央1点 --- */
.goods-single { text-align: center; margin: 0.12rem auto 0.06rem; }
.goods-single img { display: block; width: 2.2rem; max-width: 62%; height: auto; margin: 0 auto; }

/* --- 電子引換券 3スロット（type_b）--- */
.ticket-slots {
    display: flex;
    flex-direction: column;
    gap: 0.10rem;
    max-width: 4.4rem;
    margin: 0.14rem auto;
}
.ticket-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.08rem;
    padding: 0.12rem 0.10rem;
    border: 0.02rem dashed var(--color-sub2);
    border-radius: 0.08rem;
    background: #fff;
    color: var(--color-text);
    font-weight: 700;
    font-size: 0.15rem;
    text-align: center;
}
.ticket-slot.is-empty {
    border-style: dashed;
    color: #9aa0a6;
    background: #fafafa;
}
.ticket-slot.is-active {
    border-style: solid;
    border-color: var(--color-sub3);
    background: var(--color-sub5);
    cursor: pointer;
}
.ticket-slot.is-used {
    border-style: solid;
    border-color: #c7c7c7;
    background: #f0f0f0;
    color: #9aa0a6;
}
.ticket-slot .ticket-icon { width: 0.28rem; height: auto; flex: 0 0 auto; }

/* --- 電子引換券ボックス（引換場所：店名＋住所＋受付時間）--- */
.exchange-box {
    max-width: 4.6rem;
    margin: 0.16rem auto 0.10rem;
    background: var(--color-sub5);
    border: 0.02rem solid var(--color-sub3);
    border-radius: 0.10rem;
    overflow: hidden;
}
.exchange-box__head {
    background: var(--color-sub3);
    color: #fff;
    text-align: center;
    font-weight: 800;
    font-size: 0.17rem;
    letter-spacing: 0.06em;
    padding: 0.10rem;
}
.exchange-box__body { padding: 0.06rem 0.14rem 0.12rem; }
.exchange-shop { text-align: center; padding: 0.10rem 0; }
.exchange-shop + .exchange-shop { border-top: 0.01rem dashed rgba(0, 0, 0, 0.15); }
.exchange-shop__name { color: var(--color-text); font-weight: 800; font-size: 0.17rem; line-height: 1.35; }
.exchange-shop__addr { color: var(--color-text); font-size: 0.12rem; margin-top: 0.03rem; line-height: 1.4; }
.exchange-shop__hours { color: var(--color-text); font-size: 0.13rem; font-weight: 600; margin-top: 0.03rem; }
.exchange-box__note { padding: 0 0.14rem 0.10rem !important; margin: 0 !important; text-align: left; }
.exchange-box__note li { font-size: 0.11rem; color: var(--color-text); opacity: 0.8; line-height: 1.4; }

/* certificate ページ（.exchangePage / .completedSlider は白の全幅ボックス）では
   引換場所ボックスが端から端まで広がるので、内側に収める（トップは content-holder 内なので影響なし） */
.exchangePage .exchange-box { width: 90%; max-width: 4.0rem; }
