@charset "UTF-8";

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

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


/* ============================================================
   BRAND COLORS — 企画ごとに変更する
   ============================================================ */
:root {
    --color-main: #ededed;
    /* ページ背景色（デザイン地色） */
    --color-sub1: #f97200;
    /* メインオレンジ（ボイス枠など） */
    --color-sub2: #ffc835;
    /* 黄（giftボタン） */
    --color-sub3: #162c74;
    /* 紺 */
    --color-sub4: #ed6c00;
    /* 濃オレンジ（枠線・見出し帯・現地ボタン） */
    --color-sub5: #e8f1f8;
    /* 薄青背景 */
    --color-local: #f1d511;
    /* 差し色（黄色） */
    --color-text: #000000;
    /* テキストカラー */
    --color-button: #f97200;
    /* ボタンカラー */
    --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);
}


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


/* ============================================================
   DESIGN COMPONENTS — コーダー coding/style.css を rem 化して移植
   （デザインpx ÷ 100 = rem / 100px = 1rem @ 393px viewport）
   ・base.css は変更しない。ここはこの企画専用のデザイン再現ブロック。
   ・機能フックは top.php 側で switchPage / data-url / data-id を付与する。
   ============================================================ */

/* ---- 共通テキスト ---- */
.boldText {
    text-align: center;
    font-weight: 600;
    line-height: 1.8;
}

.smallText {
    padding: 1% 3%;
    font-weight: 400;
    line-height: 1.8;
}

.font20 {
    font-size: 0.20rem;
}

.font18 {
    font-size: 0.18rem;
}

.font15 {
    font-size: 0.15rem;
}

.font12 {
    font-size: 0.12rem;
}

/* ---- 白カード（各セクション共通の見た目） ---- */
.loginSignContainer,
.dramaContainer,
.snsContainer,
.spotContainer {
    background-color: #fff;
    border-radius: 0.10rem;
    margin: 4% 2%;
    position: relative;
}

.loginSignContainer {
    padding: 2%;
}

.dramaContainer,
.snsContainer {
    padding: 2% 0;
}

.spotContainer {
    padding: 3%;
}

/* ---- INTRO（ログイン導線） ---- */
.description {
    border-bottom: var(--color-sub4) solid 0.02rem;
}

.loginSignButtons {
    width: 100%;
    margin: auto;
}

/* 黒地グラデ文字のログイン/新規登録ボタン（base.css .loginRgisterButton を上書き） */
.loginSignContainer .loginRgisterButton {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.05rem;
    border-radius: 0.10rem;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    margin: 0.15rem auto;
    width: auto;
    max-width: none;
    max-height: 0.50rem;
    box-shadow: none;
    user-select: none;
    -webkit-user-select: none;
}

.loginSignContainer .loginRgisterButton .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.25rem;
}

.loginSignContainer .loginRgisterButton .icon img {
    height: 0.20rem;
    width: auto;
}

.loginSignContainer .loginRgisterButton .iconButtonText {
    flex: 1;
    font-size: 0.20rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
    margin-right: 0.10rem;
    background: linear-gradient(90deg, #ED6F02 0%, #FCB434 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.loginSignContainer .loginRgisterButton:active {
    transform: scale(0.95);
}

/* キャンペーンサイト一覧ボタン（白地・オレンジ枠）。JS は base の .toOshitabiTop を利用 */
.loginSignContainer .toOshitabiTop {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.05rem;
    border-radius: 0.10rem;
    background: #fff;
    color: #000;
    border: var(--color-sub4) solid 0.02rem;
    margin: 0.15rem auto;
    min-height: 0;
    font-size: 0.20rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

.loginSignContainer .toOshitabiTop:active {
    transform: scale(0.95);
}

/* ---- VOICE（新幹線ボイスドラマ） ---- */
.dramaTitle {
    padding: 4%;
}

.voiceDramaSection {
    background-color: var(--color-sub1);
    width: 100%;
    border-radius: 0.10rem;
    padding: 3% 0;
}

.voiceButton {
    display: flex;
    align-items: center;
    width: 93%;
    padding: 0.25rem 0.20rem;
    border: none;
    margin: 6% auto 1%;
    border-radius: 0.10rem;
    background-color: #fff;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.voiceButton:active {
    transform: scale(0.98);
}

.voiceButton__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    flex-shrink: 0;
}

.voiceButton__icon--left img {
    width: 0.25rem;
    height: auto;
}

.voiceButton__icon--right img {
    width: 0.25rem;
    height: auto;
}

.voiceButton__text {
    flex: 1;
    text-align: center;
    font-weight: 600;
    color: #333;
}

/* ---- CERTIFICATE（SNS風クリアカード + 引換） ---- */
.snsTitle {
    padding: 3% 0;
    width: 100%;
}

.frame {
    width: 85%;
    margin: 9% auto 0;
    position: relative;
}

.frameMain {
    position: relative;
    z-index: 1;
    height: auto;
}

.zenhan {
    position: absolute;
    top: -0.35rem;
    left: 0.23rem;
    width: 0.70rem;
    height: auto;
    z-index: 2;
}

.zenhanDate {
    position: absolute;
    top: -0.12rem;
    right: -0.08rem;
    width: 1.70rem;
    height: auto;
    z-index: 3;
}

.locSection {
    width: 92%;
    margin: 6% auto;
    text-align: center;
    border: var(--color-sub4) solid 0.01rem;
    border-bottom-left-radius: 0.10rem;
    border-bottom-right-radius: 0.10rem;
}

.locationTitle {
    background-color: var(--color-sub4);
    color: #fff;
    padding: 1.5%;
    margin-bottom: 2%;
}

.giftButton {
    display: flex;
    align-items: center;
    width: 93%;
    padding: 0.10rem 0.25rem;
    border: none;
    margin: 0.20rem auto;
    border-radius: 0.10rem;
    background-color: var(--color-sub2);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.giftButton:active {
    transform: scale(0.98);
}

.giftButton__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    flex-shrink: 0;
}

.giftButton__icon img {
    width: 0.30rem;
    height: auto;
}

.giftButton__icon--right img {
    width: 0.25rem;
}

.giftButton__text {
    flex: 1;
    text-align: center;
    font-weight: 600;
    color: #333;
}

.giftButton[disabled],
.giftButton.disabled {
    background: linear-gradient(to right, gray, darkgray) !important;
    color: #fff;
    pointer-events: none;
    cursor: default;
}

.giftButton[disabled] .giftButton__text,
.giftButton.disabled .giftButton__text {
    color: #fff;
}

/* 非活性時はアイコン(SVG)も白に反転（gift / arrow） */
.giftButton[disabled] .giftButton__icon img,
.giftButton.disabled .giftButton__icon img {
    filter: brightness(0) invert(1);
}

/* ---- PROMOTION（現地ボイス・スポット直ボタン） ---- */

.locationButton {
    min-height: 0.80rem;
}

.spotTitle {
    padding: 3% 0;
    width: 100%;
}

.spots {
    margin: 3% auto 0;
    width: 100%;
}

.locationButton {
    display: flex;
    align-items: center;
    width: 93%;
    padding: 0.10rem 0.20rem;
    border: none;
    margin: 1% auto;
    border-radius: 0.10rem;
    background-color: var(--color-sub4);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.locationButton:active {
    transform: scale(0.98);
}

.locationButton__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.locationButton__icon--left img {
    width: 0.25rem;
    height: auto;
}

.locationButton__icon--right img {
    width: 0.25rem;
    height: auto;
}

.locationButton__text {
    flex: 1;
    text-align: center;
    font-weight: 600;
    color: #fff;
}

.marginbottom {
    margin-bottom: 8%;
}

.grayborderbottom {
    border-bottom: solid 0.01rem #ededed;
    line-height: 0.2;
}

/* ---- 注意書き ul.caution（テンプレ準拠・※ は li::after のぶら下げ）----
   デザインの白カードは左右 padding が 0 のものがあるため、caution に
   横方向の余白を持たせて smallText 相当の見た目にする。 */
.loginSignContainer ul.caution,
.dramaContainer ul.caution,
.snsContainer ul.caution,
.spotContainer ul.caution {
    padding: 0 3%;
    line-height: 1.8;
}

.locSection ul.caution {
    padding: 0 3% 3%;
    text-align: left;
    line-height: 1.8;
}