@charset "UTF-8";

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

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


/* ============================================================
   BRAND COLORS — 企画ごとに変更する
   ============================================================ */
:root {
    --color-main:   #fffff8;   /* ページ背景色（LP の地色） */
    --color-sub1:   #019acc;   /* メインカラー（LP primary #0099cc） */
    --color-sub2:   #ffee2a;   /* 差し色（黄） */
    --color-sub3:   #04579e;   /* 濃い青 */
    --color-sub4:   #f09cb9;   /* ピンク */
    --color-sub5:   #15aabf;   /* secondary */
    --color-local:  #e7f0f2;   /* LP bg-color（SPECIAL CONTENTS のカード地） */
    --color-text:   #333333;   /* テキストカラー */
    --color-button: #2696cc;   /* ボタンカラー */
    --font-family:  'Noto Sans JP', YakuHanJP, sans-serif;
    --font-maru:    'Zen Maru Gothic', 'Noto Sans JP', sans-serif;   /* LP のリード文 */
    --font-en:      'Jost', 'Noto Sans JP', sans-serif;              /* LP の日付 */
    --ts-primary:   #0099cc;
    --ts-btn-grad:  linear-gradient(90deg, #0099cc 0%, #0099cc 25%, #8c8acd 100%);  /* LP btn_VT 画像の地 */
}


/* ============================================================
   FORM ELEMENT FONT RESET — 削除しないこと（恒久対応 2026-09-13）

   ★ <button> / <input> / <select> / <textarea> は **UA スタイルシートが
     font-family: Arial を当てており、body からフォントを継承しない**。
     :root の --font-family や body に企画フォントを入れても
     **ボタンの文字だけ Arial のまま**になる。

   ★ coding（デザイン支給の custom.css）が
       .iconButton .iconButtonText { font-family: ...; }
     を持っていることが多いのは **この対策**。移植時に「body に指定があるから冗長」
     と judging して落とすと必ず再発する（2026-09 precure2026 で発生）。

   ★ **ヘッドレス Chrome では再現しない**（UA スタイルシートが実機と違い button が
     継承してしまう）。ローカル描画の計測だけで「効いている」と判断しないこと。
     実機の DevTools で
       getComputedStyle(document.querySelector('.iconButtonText')).fontFamily
     が **Arial 単体**なら UA スタイルシートが勝っている。

   base.css は共通ファイルなので触らず、ここ（custom.css）で当てる。
   ============================================================ */
button,
input,
select,
textarea {
    font-family: inherit;
}

/* 念のためボタン文字にも明示（別の UA・将来の base.css 変更でも確実に効かせる） */
.iconButton .iconButtonText,
.loginRgisterButton .iconButtonText,
.narrowIconButton .narrowIconButtonText,
.rectangleButton .rectangleButtonText,
.toOshitabiTop,
.simpleButton,
.whiteButton,
.oshitabiButton {
    font-family: var(--font-family);
}


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


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


/* ============================================================
   CONFIRM MODAL on EXCHANGE PAGES — 削除しないこと（恒久対応 2026-09-24）

   引換ページ（certificate/single.php・stamprally/exchange/completed.php）の
   確認モーダル（askPromptModal）を、**そのページのスライダー色**に揃える。

   ★ なぜ要るか
     base.css は モーダルの枠・タイトル帯・「はい」「いいえ」を
     すべて var(--color-button) 固定で塗る。一方 certificate.css は
       #yesBtn { background-color: var(--cert-btn1) !important; }
     で **「はい」の地色だけ** を上書きしている。
     そのため、引換スライダーの色（--cert-btn1）を --color-button 以外にした企画では
     「はい」だけスライダー色・枠とタイトル帯と「いいえ」はボタン色、という
     ちぐはぐな見た目になる（2026-09 yurucamp2026 で発生）。

   ★ 色をベタ書きしないこと
     --cert-btn1 は各引換ページの inline <style> が設定する値。変数で受けておけば
     「車内=オレンジ / 現地=ティール」のように**ページごとに違う配色**でも自動で揃う。
     ベタ書きすると必ずどちらか一方がズレる。

   ★ .exchangePage（body クラス）で囲っているので、
     stamprally/top.php のリセット確認モーダル等、--cert-* を持たないページには効かない
     （そちらは従来どおり --color-button）。
   ★ base.css / certificate.css は共有ファイルなので触らない。ここで上書きする。
   ★ var(--cert-btn1, var(--color-button)) とフォールバックを付けている。
     .exchangePage を名乗りながら --cert-* を出さないページを作っても、
     枠・タイトル帯が消えず従来どおりのボタン色に落ちる。
   ============================================================ */
.exchangePage .askPromptModal__content {
    border-color: var(--cert-btn1, var(--color-button));
}

.exchangePage .askPromptModal__title {
    background: var(--cert-btn1, var(--color-button));
}

.exchangePage .askPromptModal__yes {
    background: var(--cert-btn1, var(--color-button));
    border-color: var(--cert-btn1, var(--color-button));
}

.exchangePage .askPromptModal__no {
    color: var(--cert-btn1, var(--color-button));
    border-color: var(--cert-btn1, var(--color-button));
}

/* 「はい」の地色は certificate.css が
     #yesBtn { background-color: var(--cert-btn1) !important; }
   で握っている。--cert-btn1 が未定義のページだとこの宣言が
   「計算値の時点で無効」になり、!important のまま transparent に落ちて
   **ボタンが真っ白で消える**。共有ファイルは直せないので、
   ID + クラスで特異度を上げて同じフォールバック付きの値で確定させる。 */
.exchangePage #yesBtn {
    background-color: var(--cert-btn1, var(--color-button)) !important;
}


/* ============================================================
   ALERT MODAL タイトル帯の角 — 削除しないこと（恒久対応 2026-09-25）

   ★ base.css の #alertModal .modal-content は「角丸 0.12rem ＋ 枠線 0.01rem」、
     タイトル帯 #alertTitle は border-radius: 0.12rem 0.12rem 0 0。
     この組み合わせだと **左上・右上の角に白い細い線（隙間）** が出る
     （2026-09 overthesun-obatabi02 で指摘）。
       1) 枠線の内側の角丸は 0.12 − 0.01 = 0.11rem なのに帯は 0.12rem で丸まる
       2) 背景の白が枠線の下まで塗られ、角のアンチエイリアスで白がにじむ
     タイトル帯の角丸を 0 にするだけでは 2) が残る（実測で確認）。
   ★ 対策（3点セット・どれか欠けると線が残る）:
       a) 枠線をやめて box-shadow の外周1本で同じ枠を描く（内側に継ぎ目ができない）
       b) タイトル帯は角丸なし＝外枠の overflow: hidden で角を切る
       c) 外枠の背景の「上端 0.30rem だけ」を帯と同じ色にする。角のアンチエイリアスは
          下地の白と帯の色が混ざって白っぽい線になるので、角の下地を帯色にしておく
          （0.30rem は帯の高さ（約0.42rem）より低いので、帯の下に白が見えることはない）
   ★ 色は var(--color-tokai)。企画色にする場合は #alertModal で --color-tokai を差し替える
     （base.css / 共有 style_v2.css は触らない）。
   ============================================================ */
#alertModal .modal-content {
    border: 0;
    box-shadow: 0 0 0 0.01rem var(--color-tokai), 0 0.08rem 0.24rem rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, var(--color-tokai) 0, var(--color-tokai) 0.30rem, #ffffff 0.30rem);
}
#alertModal #alertTitle {
    border-radius: 0;
}


/* ============================================================
   CONTENT-HOLDER — 共通 CSS の影を消す（削除しないこと）

   ★ グローバルの /css/style_v2.css（module/components_v2.0/header/
     htmlHeader.inc.php が全ページで読み込む）が
       .content-holder { box-shadow: 0 0 0.03rem #ccc; }
     を当てている。白カード前提の古い指定で、暗色・画像背景のデザインでは
     **各セクションの一番上に薄いグレーの線が浮いて見える**。
   ★ base.css にも企画の custom.css にも書いていないため grep で見つからず、
     原因特定に時間がかかる（計算済みスタイルを見ないと分からない）。
     2026-09 toukenranbu-kanei2026 で実際に踏んだのでテンプレ既定で消す。
   ★ 影が欲しい企画は、下の VARIANTS のように box-shadow を上書きする。
     /css/style_v2.css と base.css は共有ファイルなので絶対に編集しない。
   ============================================================ */
.content-holder {
    box-shadow: none;
}


/* ============================================================
   PAGE-CONTENT — メインの左右に影を付ける（2026-09-28 追加・piyorin2nd と同じ値）
   ★ 本文の幅は .page-content の max-width: 4.30rem で頭打ちになる。PC・タブレットなど
     それより広い画面では、左右の余白と本文の境目が見えず、背景に溶けて平板に見える。
     外周に薄い影を付けて本文の面を浮かせる（piyorin2nd の .event-content--top と同じ指定）。
   ★ スマホ幅（本文が画面いっぱい）では影は画面外に出るので見た目は変わらない。
   ★ 影が要らない企画・別の影にしたい企画は、この値を企画の custom.css で上書きする
     （none にするか値を差し替える）。base.css は共有なので触らない。
   ============================================================ */
.page-content {
    box-shadow: 0 0 0.12rem rgba(0, 0, 0, 0.25);
}


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


/* ============================================================
   BUTTON — アイコン無しの細長ボタン（.loginRgisterButton.noIcon）
   クイズ結果画面のサブ導線（間違えた問題を確認する／もう一度挑戦する／
   結果画面に戻る）など、「報酬の受け取り」以外のボタンに使う。

   ★ アイコンを付けないときは左右とも省略する。
     .iconButton のまま中身を文字だけにすると、アイコン用の flex 領域
     （.icon flex:2 / .icon2nd flex:1.5）が残って文字が中央からずれる。
   ★ 地色は .button-bg（var(--color-button)）。企画で別の地色にする場合は
     この下で .loginRgisterButton を上書きする。
   ============================================================ */
button.loginRgisterButton {
    border: 0;
    font-family: inherit;
    font-size: inherit;
    /* ★ color は指定しない（.white-text より詳細度が高く、白文字を打ち消してしまう） */
}

.loginRgisterButton.noIcon {
    padding: 0.15rem 0.05rem;   /* アイコン無しなので上下は控えめに（max-height 0.55rem で頭打ち） */
}

.loginRgisterButton.noIcon .iconButtonText {
    margin-left: 0;
    margin-right: 0;            /* アイコン分の右マージンを消して中央に置く */
}


/* ============================================================
   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: 1;   /* 非活性は色だけグレー（opacity を落とさない規約） */
}
/* disabled の内側白枠も無効化（押せそうに見えないよう） */
.iconButton[disabled]::before,
.iconButton.disabled::before,
.iconButton:disabled::before {
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* ------------------------------------------------------------
   非活性アイコンを濃い灰色にする（任意 — 白系ボタンの企画のみ）

   上のデフォルトは「暗い灰グラデの地 ＋ 白のアイコン/文字」なので、
   アイコンは白のままでよい。
   LP トンマナに合わせて disabled の地を白〜薄灰に上書きした企画では、
   白アイコンが地に溶けて消えるため、下のブロックのコメントを外す。

   アイコンは <img> の外部 SVG なので fill / color では色を変えられない。
   grayscale(1) を掛けると、企画のメインカラーが輝度どおりの灰色に落ちる
   （例: #8a579a → #676767）ので、これで「濃い灰色」を作る。
   ------------------------------------------------------------ */
/* .iconButton[disabled] .icon img,
.iconButton[disabled] .icon2nd img,
.iconButton.disabled .icon img,
.iconButton.disabled .icon2nd img,
.iconButton:disabled .icon img,
.iconButton:disabled .icon2nd img {
    filter: grayscale(1);
} */


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

/* ============================================================
   NOVELTY RANDOM — ノベルティ「被りなしランダム」の獲得情報カード（任意機能）
   top.php の $noveltyBadges ブロック用。使わない企画では出力自体が無いので
   このブロックを消す必要はない。

   ★ 色（枠のグラデ・文字色）は企画のデザインに合わせて上書きすること。
     ここに入っているのは precure2026 の値で、雛形としての置き場所に過ぎない。
   ★ 獲得済み画像とロック画像は **透明余白込みの見た目の大きさを揃える**。
     素材の余白が違うと、獲得したものだけ小さく見える（precure2026 で発生）。
   ============================================================ */
.badge-card {
    position: relative;
    border-radius: 0.2rem;
    padding: 0.15rem;
    background: #ffffff;
    border: 0.03rem solid transparent;
    background-clip: padding-box, border-box;
    background-origin: border-box;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(180deg, #C8A7EB 0%, #6BD6EA 100%);
}

.badge-title {
    font-family: var(--font-family);
    font-size: 0.25rem;
    font-weight: 700;
    line-height: 1.44;
    letter-spacing: 0.05em;
    text-align: center;
    margin: 0 0 0.15rem;
    color: var(--color-text);
}

.badge-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.12rem;
    margin: 7% auto 1%;
}

/* 1行4個。種類数が 5 / 6 の企画は width を calc(33.333% - …) などに変える */
.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.06rem;
    width: calc(25% - 0.09rem);
    box-sizing: border-box;
}

.badge-circle {
    width: 0.74rem;
    height: 0.74rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.badge-name {
    color: var(--color-text1);
    font-size: 0.14rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

/* 今回の引換券で当たった1種（引換前に何が当たるか分かるようにする） */
.badge-hit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.10rem;
    margin: 5% auto 3%;
}

.badge-hit .badge-circle {
    width: 0.90rem;
    height: 0.90rem;
}

.badge-hit__text {
    text-align: left;
}

.badge-hit__label {
    color: var(--color-text1);
    font-size: 0.14rem;
    font-weight: 700;
    line-height: 1.6;
}

.badge-hit__name {
    color: var(--color-text);
    font-size: 0.22rem;
    font-weight: 700;
    line-height: 1.4;
}


/* ============================================================
   抽選 v2: 本日参加済み（lost）の活性ボタンの2行目（「抽選結果を見る」）
   top.php の .lotteryDone。overthesun-obatabi02 と同じ見た目。
   ============================================================ */
.lotteryDone__sub {
    display: block;
    font-size: 0.12rem;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 0.02rem;
}


/* ============================================================
   ASK PROMPT MODAL タイトル帯の角 — 削除しないこと（2026-09-26）
   ★ base.css は外枠 .askPromptModal__content が「角丸 0.12rem ＋ 枠 0.01rem」、
     タイトル帯 .askPromptModal__title が「0.12rem 0.12rem 0 0」。
     枠線の内側の角丸は 0.12 − 0.01 ≒ 0.11rem なので、帯を 0.12rem で丸めると
     左上・右上に隙間（白い欠け）が出る。帯の角丸を内側に合わせて小さくする。
   ★ base.css は共有なので触らず、ここ（custom.css）で上書きする。
   ============================================================ */
.askPromptModal__title {
    border-radius: 0.10rem 0.10rem 0 0;
}


/* ============================================================
   TRYSAIL — LP（N046866800 .fig）のトンマナ
   デザインコーディング支給なし。LP の Figma（375px 幅）から採寸した。
   ★ テンプレの rem は 430px 幅基準（base.css: 1rem = 画面幅 / 4.30）。
     LP の 375px 設計値をそのまま ÷100 すると全体が 375/430 に縮むので、
     幅・余白は LP px × 430/375（≒1.147）÷ 100 で rem にしている。
       カード      : LP 345px（左右 15px）→ 左右 0.17rem・角丸 0.46rem・地 #e7f0f2（SC）／#fff（PRESENT）
       リボン      : obj_wave（LP 107×25）→ 1.23×0.29rem。カードの右上・左下に 0.09rem はみ出す
       見出し      : 画像（LP 313px＝カード内幅）＋ガーランド obj_head（LP 93×23 → 1.07rem）
       リード文    : Zen Maru Gothic Medium（LP 16px → 0.18rem）/ 行間 1.5
       ボタン      : LP 313×70 のピル → 最大 3.59rem・高さ 0.80rem・#0099cc→#8c8acd（LP btn_VT 画像の地）
   ============================================================ */
body {
    color: var(--color-text);
}

/* 背景の方眼（LP と同じ 20px 角）。base.css の main::before は cover で引き伸ばすため、
   画面幅でマス目の大きさが変わってしまう。px 固定のタイル敷きにして大きさを一定にする。
   ★ rem にしないこと（rem は画面幅に比例する）。 */
main::before {
    background: var(--image-bg) repeat left top / 20px 20px;
    background-color: var(--color-main);
}

.page-content {
    padding-bottom: 0.25rem;
}

/* ---- KV（LP の MV: 写真 375×500 の上に、透過タイトル 349×257 を x13 / y336 で重ねる）----
   ★ 1枚に合成しない。タイトルの周りは背景の方眼が透けて見えるのが LP の見た目。
   ★ % の margin は「親の幅」基準なので、画面幅が変わっても LP と同じ比率で重なる。 */
.ts-mv {
    position: relative;
}

.ts-mv .ts-mv__photo {
    width: 100%;
}

.ts-mv .ts-mv__title {   /* .ts-mv を前置: base.css の .bannerImg img { width:100% } に勝たせる */
    position: relative;
    width: 93.07%;              /* 349 / 375 */
    margin: -43.73% 0 0 3.47%;  /* 上へ (500 - 336) / 375・左 13 / 375 */
}

/* ---- カード（top は .ts-card、下層はテンプレの .content-holder をそのまま同じ見た目に） ---- */
.content-holder {
    width: calc(100% - 0.24rem);
    margin: 0.46rem auto 0;
    padding: 0.32rem 0.12rem;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 0;
    border-radius: 0.40rem;
}

/* 下層ページ（壁紙選択・DL・応募ID）はヘッダー直下の1枚目のカードなので上の余白を詰める。
   トップはカードの間隔（0.46rem）を保つため :first-child に限定（先頭は KV なので当たらない）。 */
.page-content > .content-holder:first-child {
    margin-top: 0.25rem;
}

.ts-card {
    position: relative;
}

.ts-card--tint {
    background-color: var(--color-local);
}

.ts-card::before,
.ts-card::after {
    content: "";
    position: absolute;
    width: 1.23rem;
    height: 0.29rem;
    background: url("../img/obj_wave.webp") no-repeat center / contain;
    pointer-events: none;
}

.ts-card::before {
    top: -0.09rem;
    right: 0;
}

.ts-card::after {
    bottom: -0.09rem;
    left: 0;
}

.ts-block + .ts-block {
    margin-top: 0.50rem;
}

/* ---- 見出し ---- */
.ts-head {
    margin: 0 auto 0.28rem;
}

.ts-head__title {
    width: 100%;
    margin: 0 auto;
}

.ts-head__garland {
    width: 1.07rem;
    margin: 0.14rem auto 0;
}

/* ---- イントロ（LP: カード無し・背景の上に直接） ---- */
.ts-intro {
    width: calc(100% - 0.24rem);   /* カード（.content-holder）と左右の端を揃える */
    margin: 0 auto;
}

.ts-intro__text {
    margin: 0.20rem 0 0.20rem;
    font-family: var(--font-maru);
    font-weight: 700;
    font-size: 0.20rem;
    line-height: 2;
    text-align: center;
    color: #000000;
}

/* ---- リード文 ---- */
.ts-lead {
    margin: 0 0 0.18rem;
    font-family: var(--font-maru);
    font-weight: 500;
    font-size: 0.18rem;
    line-height: 1.5;
    text-align: center;
    color: var(--color-text);
}

/* ---- 配信期間（LP schedule） ---- */
/* ---- 見出しタブ付きの枠（LP の howto／「応募方法」の step__head と同じ形）----
   細い青枠の上辺中央に、青地・白文字のタブを乗せる。配信期間・応募期間で共用。 */
.ts-step {
    position: relative;
    margin: 0.30rem 0 0.14rem;
    padding: 0.42rem 0.10rem 0.10rem;
    border-top: 0.01rem solid var(--ts-primary);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0 0 0.10rem 0.10rem;
}

.ts-step__head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.02rem 0.18rem;
    background: var(--ts-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.16rem;
    line-height: 1.5;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.ts-schedule {
    padding-bottom: 0.08rem;
}

/* ★ 枠で囲むのは期間の見出し（ピル）だけ。本文まで枠＋余白で囲むと
     ボタンがカード幅の 8 割程度まで痩せてバランスが悪い（2026-09-29 指摘）。 */
.ts-schedule__item {
    margin-top: 0;
}

.ts-schedule__head {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.07rem;
    padding: 0.06rem 0.14rem;
    border: 0.01rem solid var(--ts-primary);
    border-radius: 0.23rem;
    color: var(--ts-primary);
    font-family: var(--font-en);
    font-style: italic;
    white-space: nowrap;
}

.ts-schedule__no {
    font-weight: 700;
    font-size: 0.19rem;
}

.ts-schedule__date {
    font-weight: 500;
    font-size: 0.18rem;
    letter-spacing: 0.04em;
}

.ts-schedule__body {
    padding: 0.16rem 0 0;
}

.ts-schedule .iconButton {
    width: 100%;
    max-width: none;
    margin: 0.06rem auto 0.08rem;
}

.ts-schedule__none {
    margin: 0.14rem 0 0.05rem;
    font-weight: 700;
    text-align: center;
    color: #c00;
}

.ts-video + .ts-video {
    margin-top: 0.14rem;
}

.ts-video__title {
    margin: 0;
    font-weight: 700;
    font-size: 0.16rem;
    line-height: 1.5;
    text-align: center;
    color: var(--ts-primary);
}

/* ---- 期間のピル（LP cont__date） ---- */
.ts-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 0.18rem;
    padding: 0.09rem 0.24rem;
    border: 0.01rem solid var(--ts-primary);   /* LP cont__date と同じ #0099cc（枠・文字・▶ とも） */
    border-radius: 0.23rem;
    color: var(--ts-primary);
    font-family: var(--font-en);
    font-style: italic;          /* LP の日付は斜体（配信期間と揃える） */
    font-weight: 700;
    font-size: 0.18rem;
    line-height: 1;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* 応募期間の枠の中に置くとき（下の余白は枠が持つ） */
.ts-date--in {
    margin-bottom: 0.04rem;
}

.ts-date__arrow {
    width: 0;
    height: 0;
    border-top: 0.06rem solid transparent;
    border-bottom: 0.06rem solid transparent;
    border-left: 0.11rem solid currentColor;
}

/* ---- 壁紙 3 枠 ---- */
.ts-wallpapers {
    padding: 0.05rem 0 0.09rem;
}

.ts-wallpapers .thumbnail {
    cursor: default;
}

.ts-wallpapers .thumbnail.switchPage {
    cursor: pointer;
}

.ts-wallpapers .thumbnail img {
    border-radius: 0.07rem;
    box-shadow: 0 0.02rem 0.07rem rgba(0, 0, 0, 0.12);
}

.ts-wallpapers__name {
    margin-top: 0.07rem;
    font-weight: 700;
    font-size: 0.14rem;
    line-height: 1.3;
    text-align: center;
}

/* ---- ピル型ボタン（LP btn_VT03 を参考）----
   ★ 形は活性・非活性で共通。非活性は上の DISABLED ブロックが地だけグレーにする。 */
.iconButton {
    max-width: 3.59rem;
    height: 0.80rem;
    border-radius: 0.40rem;
    background: var(--ts-btn-grad);
    box-shadow: none;
    color: #ffffff;
}

.iconButton::before {
    display: none;
}

.iconButton .iconButtonText {
    font-weight: 700;
    font-size: 0.18rem;
    line-height: 1.35;
    color: #ffffff;
}

.iconButton .icon img {
    width: 0.32rem;
    height: 0.32rem;
}

/* 右の遷移記号（/icon/right.svg）は SVG 自体が丸囲みの矢印なので、枠を足さず大きさだけ揃える */
.iconButton .icon2nd img {
    width: 0.28rem;
    height: 0.28rem;
}

.loginRgisterButton {
    max-width: 3.59rem;
}

.loginRgisterButton.button-bg {
    background: var(--ts-btn-grad);
    border-radius: 0.40rem;
}

.loginRgisterButton .iconButtonText {
    font-weight: 700;
}

.toOshitabiTop {
    max-width: 3.59rem;
    border: 0.02rem solid var(--ts-primary);
    border-radius: 0.34rem;
    background: #ffffff;
    color: var(--color-text);
    font-weight: 700;
}

.simpleButton {
    width: 100%;
    max-width: 3.59rem;
    border: 0.02rem solid var(--ts-primary);
    border-radius: 0.34rem;
    color: var(--color-text);
    font-weight: 700;
}

.simpleButton[disabled],
.simpleButton.disabled {
    border-color: darkgray;
    color: darkgray;
    pointer-events: none;
}

/* ---- PRESENT CAMPAIGN の賞（LP: #0099cc 地＋白の方眼） ----
   横長のカード：左に正方形の画像（約3割）・右に賞ラベル＋賞名。名様バッジは画像の右下に重ねる。
   ★ 賞名は語の途中で折り返さない（1行＝1句の span・nowrap）。画像を広くすると
     「乗車券風アクリル／キーホルダー」のように語が割れてバランスが崩れる（2026-09-29 指摘）。
   ★ img_present.webp は LP 素材の透明余白を切り落とした正方形（余白込みだと小さく片寄って見える）。 */
.ts-prize {
    display: flex;
    align-items: center;
    gap: 0.16rem;
    margin-top: 0.12rem;
    padding: 0.16rem 0.18rem;
    border-radius: 0.05rem;
    background: url("../img/grid_white.webp") repeat 0 0 / 0.14rem 0.14rem, var(--ts-primary);
    color: #ffffff;
}

.ts-prize__img {
    position: relative;
    flex: 0 0 30%;
}

.ts-prize__img img {
    width: 100%;
    border-radius: 0.05rem;
}

.ts-prize__count {
    position: absolute;
    right: -0.10rem;
    bottom: -0.10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 0.50rem;
    height: 0.50rem;
    border-radius: 50%;
    background: #ffffff;
    color: var(--ts-primary);
    line-height: 1;
    box-shadow: 0 0.01rem 0.04rem rgba(0, 0, 0, 0.15);
}

.ts-prize__num {
    font-family: var(--font-en);
    font-style: italic;
    font-weight: 700;
    font-size: 0.16rem;
}

.ts-prize__unit {
    margin-top: 0.01rem;
    font-weight: 700;
    font-size: 0.10rem;
}

.ts-prize__body {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.ts-prize__label {
    display: inline-block;
    min-width: 0.64rem;
    padding: 0.01rem 0.12rem;
    border-radius: 0.37rem;
    background: #ffffff;
    font-family: var(--font-maru);
    font-weight: 700;
    font-size: 0.15rem;
    line-height: 1.4;
    text-align: center;
    color: var(--ts-primary);
}

.ts-prize__name {
    margin: 0.07rem 0 0;
    font-family: var(--font-maru);
    font-weight: 700;
    font-size: 0.145rem;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

.ts-prize__name span {
    display: block;
    white-space: nowrap;
}

/* ---- 応募期間・要項 ---- */
.ts-period {
    margin-top: 0.30rem;
    padding-bottom: 0.14rem;
    text-align: center;
}

.ts-tac {
    margin: 0.14rem 0 0.18rem;
    font-size: 0.16rem;
    text-align: center;
}

/* ---- 注意書き（LP note-list: 12px / 行間 1.4 → 0.13rem） ---- */
ul.caution {
    margin-top: 0.14rem;
    font-size: 0.13rem;
    line-height: 1.4;
    color: var(--color-text);
}

ul.caution li + li {
    margin-top: 0.03rem;
}

/* 1行だけの注記を「※」ごと中央に置く（例: 応募ID の「外部の応募ページへ遷移します。」）。
   通常の ul.caution は ※ を li::after の absolute でぶら下げるので、そのままだと
   文字だけ中央・※は左端に残る。※を行頭の inline（::before）に置き直す。 */
ul.caution.caution--center {
    text-align: center;
}

ul.caution.caution--center li {
    padding-left: 0;
}

ul.caution.caution--center li::after {
    content: none;
}

ul.caution.caution--center li::before {
    content: "※";
}

/* ---- 応募ID・識別ID（entry/ の2ページ） ----
   テンプレの黒枠・ピンクの区切り線をやめ、トップと同じ青の細枠＋白地にそろえる。 */
.ts-idBox {
    margin-top: 0.18rem;
    text-align: center;
}

.ts-idBox__label {
    margin-bottom: 0.06rem;
    font-weight: 700;
    font-size: 0.15rem;
    letter-spacing: 0.05em;
    color: var(--ts-primary);
}

.ts-idBox .code-container {
    border: 0.01rem solid var(--ts-primary);
    border-radius: 0.10rem;
    background: #ffffff;
}

/* base.css の .code-text はオレンジ文字＋薄橙の地（JR東海色）。企画の文字色・白地にそろえる */
.ts-idBox .code-text {
    background: transparent;
    color: var(--color-text);
}

.ts-idBox__note {
    margin: 0.05rem 0 0;
    font-size: 0.12rem;
}

.ts-idBox + .iconButton,
.ts-idBox ~ .applyButton {
    margin-top: 0.24rem;
}

/* ---- 下層ページ共通 ---- */
/* 文字の見出し＋ガーランド（下層ページ用）。画像見出しより軽いので上下を詰める */
.ts-head--text {
    margin: 0.04rem auto 0.18rem;
}

.ts-head--text .subPage__title {
    margin: 0;
    color: var(--ts-primary);
    letter-spacing: 0.04em;
}

.ts-head--text .ts-head__garland {
    margin-top: 0.10rem;
}

.subPage__title {
    margin: 0 0 0.14rem;
    font-family: var(--font-maru);
    font-weight: 700;
    font-size: 0.22rem;
    text-align: center;
}

.subPage__lead {
    margin: 0 0 0.18rem;
    font-family: var(--font-maru);
    font-weight: 500;
    font-size: 0.17rem;
    line-height: 1.6;
    text-align: center;
}

.subPage__note {
    margin: 0 0 0.14rem;
    font-weight: 700;
    text-align: center;
}

/* アラート・確認モーダルの帯色を企画色に */
#alertModal {
    --color-tokai: #0099cc;
}

.askPromptModal__title {
    background: #0099cc;
}

.askPromptModal__yes {
    background: var(--ts-btn-grad);
}


/* ============================================================
   速度測定・プレイヤーのカード（video/ と check/ の #overlay-card / #waiting-card / #video-player）
   トップの .content-holder と同じ形（薄青の地・角丸 0.40rem・右上と左下にリボン）にそろえる。
   ★ player.css は custom.css の後に読まれる（プレイヤー固有を勝たせるため）。
     ここは `body #id` と要素名を前置して詳細度で上書きする（player.css は触らない）。
   ★ 元は「白文字＋黒の半透明地」前提なので、中の文字色・メーター・ボタンもまとめて企画色にする。
   ============================================================ */
body #overlay-card,
body #waiting-card,
body #video-player {
    position: relative;
    width: calc(100% - 0.24rem);
    max-width: 4.06rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0.40rem;
    background: var(--color-local);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow: visible;   /* リボンをカードの外にはみ出させる */
}

/* 元の ::before（内側の白い細枠）はリボンに置き換える */
body #overlay-card::before,
body #waiting-card::before,
body #video-player::before,
body #overlay-card::after,
body #waiting-card::after,
body #video-player::after {
    content: "";
    position: absolute;
    width: 1.23rem;
    height: 0.29rem;
    border: 0;
    border-radius: 0;
    background: url("../img/obj_wave.webp") no-repeat center / contain;
    pointer-events: none;
}

body #overlay-card::before,
body #waiting-card::before,
body #video-player::before {
    top: -0.09rem;
    right: 0;
    bottom: auto;
    left: auto;
}

body #overlay-card::after,
body #waiting-card::after,
body #video-player::after {
    top: auto;
    right: auto;
    bottom: -0.09rem;
    left: 0;
}

/* ---- 速度測定を開始！ ---- */
/* 新幹線アイコン（/icon/shinkansen.png）は白一色なので、ボタンと同じグラデの丸に載せる */
body #overlay-card .card-icon-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.70rem;
    height: 1.70rem;
    margin-bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #0099cc 0%, #8c8acd 100%);
    box-shadow: 0 0 0 0.06rem #ffffff;
}

body #overlay-card .card-icon {
    width: 72%;
}

body .speed-button {
    width: calc(100% - 0.48rem);
    max-width: 3.59rem;
    margin: 0.90rem auto 0;   /* 新幹線アイコン＋3色ドットの塊から離して少し下に置く */
    padding: 0.16rem 0.10rem;
    border: 0;
    border-radius: 0.40rem;
    background: var(--ts-btn-grad);
    color: #ffffff;
    font-family: var(--font-family);
}

body .speed-button .button-text {
    font-weight: 700;
    font-size: 0.20rem;
}

body .speed-button .button-subtext {
    font-size: 0.13rem;
}

/* ---- 速度測定中 ---- */
body #waiting-card #speedometer circle {
    stroke: var(--ts-primary);
}

body #waiting-card #speedometer path {
    stroke: #c9dfe6;
}

body #waiting-card #needle {
    stroke: var(--ts-primary);
}

body #waiting-card .card-text {
    font-family: var(--font-maru);
    font-weight: 700;
    font-size: 0.26rem;
    color: var(--ts-primary);
}

body #waiting-card .card-subtext {
    font-size: 0.14rem;
    line-height: 1.6;
    color: var(--color-text);
}

body #waiting-card .card-subtext a {
    color: var(--ts-primary) !important;   /* テンプレの style="color:skyblue" は薄い地で読めない */
    font-weight: 700;
    text-decoration: underline;
}

/* ---- プレイヤー（速度測定後） ---- */
body #video-player #info,
body #video-player .videoWarningText,
body #video-player #supported,
body #video-player #copyright,
body #video-player #time {
    color: var(--color-text);
}

body #video-player #info .character {
    color: var(--ts-primary);
    font-weight: 700;
}

body #video-player #gps-button {
    border: 0;
    border-radius: 0.40rem;
    background: var(--ts-btn-grad);
}

/* 動画はカード幅いっぱいまで大きくする（小さいと見にくい・2026-09-29 指摘）。
   角だけ丸めてカードの角丸となじませる。 */
body #video-player #thumbnail-wrapper,
body #video-player .video-container {
    width: 100%;
    margin: 0 auto;
}

body #video-player #thumbnail-wrapper {
    border-radius: 0rem;
    overflow: hidden;
}

body #video-player .video-container video {
    display: block;
    width: 100%;
}

/* 左下のリボンと注意書きが重ならないよう、下と左に逃がす */
body #video-player #supported {
    padding-bottom: 0.22rem;
}

body #video-player #copyright {
    margin-left: 0.20rem;
}


.ts-speedDeco {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

/* 内側のグラデ枠（border-radius とグラデを両立させるため mask で枠だけ残す） */
.ts-speedDeco__frame {
    position: absolute;
    top: 0.25rem;
    right: 0.15rem;
    bottom: 0.25rem;
    left: 0.15rem;
    padding: 0.025rem;
    border-radius: 0.30rem;
    background: linear-gradient(135deg, #0099cc 0%, #8c8acd 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
}

.ts-speedDeco__spark {
    position: absolute;
    display: block;
}

.ts-speedDeco__spark--a {
    top: 22%;
    left: 14%;
    width: 0.30rem;
    height: 0.30rem;
    fill: rgba(0, 153, 204, 0.55);
}

.ts-speedDeco__spark--b {
    top: 50%;
    right: 13%;
    width: 0.24rem;
    height: 0.24rem;
    fill: rgba(140, 138, 205, 0.75);
}

.ts-speedDeco__spark--c {
    top: 14%;
    right: 22%;
    width: 0.14rem;
    height: 0.14rem;
    fill: rgba(240, 156, 185, 0.9);
}

/* 3色ドット（LP ガーランドの黄・ピンク・紺＝TrySail の3色）。白フチで地から浮かせる */
.ts-dots {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0.10rem;
    justify-content: center;
    margin-top: 0.22rem;
}

.ts-dots span {
    width: 0.16rem;
    height: 0.16rem;
    border-radius: 50%;
    box-shadow: 0 0 0 0.025rem #ffffff;
}

.ts-dots span:nth-child(1) { background: #ffee2a; }
.ts-dots span:nth-child(2) { background: #f09cb9; }
.ts-dots span:nth-child(3) { background: #04579e; }

body #overlay-card .speed-button {
    position: relative;
    z-index: 1;
}
