@charset "UTF-8";

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

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


/* ============================================================
   BRAND COLORS — 企画ごとに変更する
   ============================================================ */
:root {
    --color-main:   #fefccd;   /* ページ背景色（クリーム） */
    --color-sub1:   #0044ad;   /* メインカラー（青：ボタン・ボーダー・見出し） */
    --color-sub2:   #f51e00;   /* サブカラー（赤） */
    --color-sub3:   #f0f8ff;   /* 薄青1 */
    --color-sub4:   #e1f3ff;   /* 薄青2 */
    --color-sub5:   #e8f1f8;   /* 薄青3 */
    --color-local:  #f1d511;   /* 差し色（黄色） */
    --color-text:   #0044ad;   /* テキストカラー（青） */
    --color-button: #f8280d;   /* ボタンカラー（赤） */
    --font-family:  'M PLUS Rounded 1c', 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);
}

/* 画像セクション見出し（h2_*.png・透過PNG。帯なし・中央配置） */
.section-heading-img {
    width: 100%;
    text-align: center;
    padding: 0.28rem 0.18rem 0.06rem;
}
.section-heading-img img {
    display: block;
    margin: 0 auto;
    width: 78%;
    max-width: 3.60rem;
    height: auto;
}
/* 見出しサイズ差（LP 準拠）: ボイス(h2_01)は小さめ、アクリルスタンド/AR(h2_02,03)は大きめ */
.section-heading-img.is-sm img {
    width: 56%;
    max-width: 2.70rem;
}
.section-heading-img.is-lg img {
    width: 92%;
    max-width: 4.30rem;
}

/* ============================================================
   DATE HEAD — 期間バー（LP box02__head 準拠）
   青バー + 白い「第N弾」ピル + 黄色の日付。num は任意。
   ============================================================ */
.date-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.08rem;
    width: 92%;
    margin: 0.12rem auto 0.02rem;
    background: var(--color-sub1);
    padding: 0.10rem;
    border-radius: 0.12rem;
}
.date-head__num {
    flex-shrink: 0;
    background: #fff;
    color: var(--color-sub1);
    font-weight: 800;
    line-height: 1.5;
    font-size: 0.13rem;
    text-align: center;
    min-width: 0.50rem;
    border-radius: 0.04rem;
    padding: 0.02rem 0.06rem;
}
.date-head__date {
    color: #fff794;
    font-weight: 800;
    font-size: 0.15rem;
    line-height: 1.4;
    text-align: center;
}
.date-head__date span {
    font-size: 0.12rem;
}

/* 車内ボイスの弾サブタイトル（○○の旅 編） */
.voice-episode {
    text-align: center;
    color: var(--color-sub1);
    font-weight: 800;
    font-size: 0.22rem;
    letter-spacing: 0.03em;
    line-height: 1.4;
    margin: 0.10rem 0 0.06rem;
}

/* ============================================================
   引換場所ボックス（LP .box03 準拠・しんちゃん風）
   青枠角丸 + オレンジ丸pillタイトル + 東京/大阪の青pill + 青文字
   ============================================================ */
.exchange-box {
    width: 92%;
    margin: 0.14rem auto 0.15rem;
    padding: 0.20rem 0.14rem 0.16rem;
    border: 0.03rem solid var(--color-sub1);
    border-radius: 0.15rem;
    background: #fff;
    text-align: center;
}
.exchange-box__title {
    display: inline-block;
    background: #ff651e;
    color: #fff;
    font-weight: 800;
    font-size: 0.15rem;
    letter-spacing: 0.03em;
    min-width: 1.40rem;
    padding: 0.03rem 0.18rem;
    border-radius: 0.50rem;
}
.exchange-box__inbox {
    margin-top: 0.16rem;
}
.exchange-box__area {
    display: inline-block;
    background: var(--color-sub1);
    color: #fff;
    font-weight: 700;
    font-size: 0.14rem;
    padding: 0.02rem 0.20rem;
    border-radius: 0.06rem;
    margin-bottom: 0.07rem;
}
.exchange-box__name {
    font-weight: 800;
    color: var(--color-sub1);
    font-size: 0.15rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
}
.exchange-box__hours {
    font-weight: 800;
    color: var(--color-sub1);
    font-size: 0.14rem;
    margin-top: 0.03rem;
}
.exchange-box__addr {
    font-size: 0.12rem;
    color: var(--color-sub1);
    line-height: 1.5;
    margin-top: 0.03rem;
}
.exchange-box__note {
    font-size: 0.11rem;
    color: var(--color-sub1);
    line-height: 1.5;
    margin-top: 0.12rem;
}


/* ============================================================
   期間外オーバーレイ（eventOutOfPeriod）を画面全体に確実に覆わせる
   共有コンポーネントの inline style を上書き（数pxズレ・モバイル動的
   ビューポート対策）。!important はインライン<style>に勝つため必須。
   ============================================================ */
#eventOutOfPeriodOverlay {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
}


/* ============================================================
   CONTENT-HOLDER 背景（LP .box01 準拠）
   上部に roof.svg のドーム帯（横repeat）＋ bg.jpg タイル（縦repeat）
   青枠＋角丸＋水色シャドウ。（base.css の白背景・細枠を上書き）
   ============================================================ */
.content-holder {
    background-color: #fff;
    background-image: url("../img/roof.svg"), url("../img/bg.jpg");
    background-position: center top, center 0.17rem;
    background-size: 0.70rem auto, 100% auto;
    background-repeat: repeat-x, repeat;
    border: 0.03rem solid var(--color-sub1);
    border-radius: 0.20rem;
    box-shadow: 0.05rem 0.06rem 0 0 #b2cffc;
    padding-top: 0.30rem;   /* roof ドームの下に本文を収める */
    overflow: hidden;
}

/* ============================================================
   BADGE ROW — キャラアイコン＋名前（駅名）＋ボタン（ekimemo5th 型・AR で使用）
   ============================================================ */
.badge-row {
    display: flex;
    align-items: center;
    gap: 0.14rem;
    margin: 0.10rem 0;
}
.badge-row__icon {
    flex-shrink: 0;
    width: 0.80rem;
    height: auto;
    border-radius: 6px;
}
.badge-row__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}
.badge-row__body .fontEvent {
    margin-left: 0.02rem;
}


/* ============================================================
   SHINKANSEN HEADER — 画像ヘッダーが用意できない時の
   「新幹線コンテンツ用」バナーヘッダー（横向き新幹線 /img/shinkansen.png）
   （ultraman60th_s で採用。声グラ /seigura の .charaIcon.shinkansen を踏襲）

   使い方（section-heading の代わりにこれを置く）:
     <div class="lead-heading">
         東海道新幹線車内コンテンツ
         <div class="charaIcon shinkansen"><img src="/img/shinkansen.png" alt="東海道新幹線"></div>
     </div>

   ・帯グラデは sub1→sub2（テーマ非依存で白文字が読める暗さ）。企画色を効かせたい
     場合のみ background を上書きする。
   ・新幹線は実寸(1080px=10.8rem)で帯を突き抜け、overflow:hidden で帯内クリップ
     → 疾走感を出しつつはみ出しは自己完結（content-holder 側の overflow に依存しない）。
   ============================================================ */
.lead-heading {
    position: relative;                 /* 子（新幹線）の基準 + はみ出しの自己完結 */
    overflow: hidden;                   /* 帯からはみ出す新幹線を帯内でクリップ */
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--color-sub1) 0%, var(--color-sub2) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.22rem;
    letter-spacing: 0.04em;
    line-height: 1.2;
    font-family: var(--font-family);
    padding: 0.14rem 0.14rem 0.10rem;
    border-radius: 0;
    text-shadow: 0 0.01rem 0.03rem rgba(0, 0, 0, 0.35);
}

.lead-heading .charaIcon.shinkansen {
    text-align: center;
    margin: 0.04rem auto 0;
    /* ずらしたい時のみ position: relative; + top/left。無しでは top/left は無効 */
}

.lead-heading .charaIcon.shinkansen img {
    width: 10.8rem;                     /* = 実寸 1080px。見た目維持しつつ PNG 差し替え時の寸法ズレを防ぐ */
    height: auto;
    filter: drop-shadow(0 0.04rem 0.10rem rgba(11, 20, 60, 0.35));
}


/* ============================================================
   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;
}
