@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700;900&display=swap');

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

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


/* ============================================================
   BRAND COLORS — 企画ごとに変更する
   ============================================================ */
:root {
    --color-main: #f7f4e8;
    /* ページ背景色（生成り） */
    --color-sub1: #7a1985;
    /* メインカラー（紫：ボタン・ボーダー・見出し） */
    --color-sub2: #198544;
    /* サブカラー（緑） */
    --color-sub3: #7a1985;
    /* アクセント（紫） */
    --color-sub4: #198544;
    /* アクセント（緑） */
    --color-sub5: #051b46;
    /* 濃紺背景 */
    --color-local: #18274f;
    /* 差し色（濃紺） */
    --color-text: #051b46;
    /* テキストカラー */
    --color-button: #80208f;
    /* ボタンカラー（紫） */
    --font-family: 'Noto Serif 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.sub5-border {
    border: 0.03rem solid var(--color-sub5);
    border-radius: 0rem;
    box-shadow: unset;
}

.content-holder.sub5-border::before {
    content: '';
    position: absolute;
    inset: 0.04rem;
    border: 0.01rem solid var(--color-sub5);
    border-radius: 0rem;
    pointer-events: none;
}


.content-holder.sub1-border {
    border: 0.03rem solid var(--color-sub1);
    border-radius: 0rem;
    box-shadow: unset;
}

.content-holder.sub1-border::before {
    content: '';
    position: absolute;
    inset: 0.04rem;
    border: 0.01rem solid var(--color-sub1);
    border-radius: 0rem;
    pointer-events: none;
}

.content-holder.sub2-border {
    border: 0.03rem solid var(--color-sub2);
    border-radius: 0rem;
    box-shadow: unset;
}

.content-holder.sub2-border::before {
    content: '';
    position: absolute;
    inset: 0.04rem;
    border: 0.01rem solid var(--color-sub2);
    border-radius: 0rem;
    pointer-events: none;
}


/* ============================================================
   開始日（おしゃれ・和風）— oinaisaise5th の .oi-date と同系統
   ・上に左右飾り線＋中央の菱形オーナメント（和の品）
   ・日付は数字を大きく・年月日/曜日は小さく・〜 は紫アクセント
   ・期間（範囲）は出さず、開始日＋〜 のみ
   ============================================================ */
.tk-date {
    text-align: center;
    color: var(--color-text);
    margin: 0.06rem auto 0.16rem;
    padding: 0 0.12rem;
}

/* ── 上部の飾り（左右線＋中央菱形） ── */
.tk-date-deco {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.10rem;
    margin-bottom: 0.08rem;
}

.tk-date-deco::before,
.tk-date-deco::after {
    content: "";
    width: 1.50rem;
    height: 0.012rem;
    background: var(--color-sub1);
    opacity: 0.55;
}

.tk-date-deco i {
    width: 0.07rem;
    height: 0.07rem;
    background: var(--color-sub1);
    transform: rotate(45deg);
    display: inline-block;
}

/* ── 日付（1行・折返さない） ── */
.tk-date-line {
    display: block;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1.15;
}

.tk-date .n {
    /* 数字：大きく */
    font-size: 0.30rem;
    letter-spacing: 0.01em;
}

.tk-date .k {
    /* 年月日・曜日：小さく */
    font-size: 0.15rem;
    margin: 0 0.008rem;
}

.tk-date .wave {
    /* 〜：紫アクセント */
    font-size: 0.22rem;
    margin: 0 0.05rem;
    color: var(--color-sub1);
}


/* ============================================================
   特典引換場所（oinaisaise5th の .oi-exchange 準拠・ボーダー囲み）
   ・緑(sub2)枠＋破線仕切りのタイトル
   ・営業時間の時刻を大きく紫(sub1)で強調
   ============================================================ */
.tk-exchange {
    width: 96%;
    color: var(--color-text);
    background: #fff;
    border: 0.02rem solid var(--color-sub2);
    border-radius: 0rem;
    padding: 0.16rem 0.16rem 0.12rem;
    margin: 0.16rem auto 0.14rem;
}

.tk-exchange__title {
    text-align: center;
    font-size: 0.18rem;
    font-weight: 700;
    color: var(--color-sub2);
    letter-spacing: 0.06em;
    padding-bottom: 0.08rem;
    margin-bottom: 0.10rem;
    border-bottom: 0.01rem dashed var(--color-sub2);
}

.tk-exchange .location-title {
    text-align: center;
    font-weight: 700;
    color: var(--color-text);
    font-size: 0.145rem;
    line-height: 1.55;
    margin-bottom: 0.04rem;
}

.tk-hours {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.08rem;
    margin-top: 0.04rem;
}

.tk-hours__label {
    flex-shrink: 0;
    font-size: 0.13rem;
    font-weight: 700;
    color: var(--color-text);
}

.tk-hours__time {
    font-family: "Noto Sans JP", YakuHanJP, sans-serif;
    font-size: 0.24rem;
    font-weight: 800;
    color: var(--color-sub2);
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.tk-hours__note {
    text-align: left;
    font-size: 0.115rem;
    color: #666;
    margin-top: 0.05rem;
    line-height: 1.45;
}


/* ============================================================
   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
   リンクと合わせて設定する
   ============================================================ */
main {
    font-family: "Noto Serif JP", YakuHanJP, sans-serif;
}

.fontEvent {
    font-family: "Noto Serif JP", YakuHanJP, 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;
}

/* 乗車証明 取得日時ラベル */
.cert-created {
    text-align: center;
    font-size: 0.12rem;
    color: var(--color-text);
    margin: 0rem auto 0.15rem;
}