@charset "UTF-8";

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

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


/* ============================================================
   BRAND COLORS — 企画ごとに変更する
   ============================================================ */
:root {
    --color-main:   #ffffff;   /* ページ背景色 */
    --color-sub1:   #ff8368;   /* メインカラー（コーラル：ボタン・ボーダー・見出し） */
    --color-sub2:   #ffc74b;   /* サブカラー（イエロー：グラデーション端） */
    --color-sub3:   #afd56f;   /* アクセント（グリーン） */
    --color-sub4:   #2bc7c9;   /* アクセント（シアン） */
    --color-sub5:   #fff2e9;   /* 薄オレンジ背景 */
    --color-local:  #ff951e;   /* 差し色（オレンジ・枠線） */
    --color-text:   #4d4d4d;   /* テキストカラー */
    --color-button: #ff951e;   /* ボタンカラー */
    --font-family:  'Noto Sans JP', YakuHanJP, sans-serif;
}


/* ============================================================
   CONTENT-HOLDER — オレンジ枠（指定の .orange_waku_div 準拠 / rem=100px換算）
   ============================================================ */
.content-holder {
    position: relative;
    border: 0.04rem solid var(--color-local);
    border-radius: 0.04rem;
    background-color: #FFF;
    padding: 0.10rem 0.08rem;
    box-shadow: unset;
}

/* 虹色・斜め下グラデーション（投票ボタン＋ボイスボタン共通） */
.vote-button,
.vote-button.button-bg,
.rainbow-button,
.rainbow-button.button-bg {
    background: linear-gradient(135deg, #ff5f6d 0%, #ffb35a 25%, #f9f871 50%, #5ee7a0 75%, #45b6fe 100%) !important;
    color: #fff !important;
    border: none !important;
}

/* 投票ボタンの文字に sub1 色の縁取り（白文字＋コーラルのアウトライン） */
.vote-button .iconButtonText {
    -webkit-text-stroke: 0.02rem var(--color-sub1);
    paint-order: stroke fill;
    font-size: var(--fs-lg);
}


/* ============================================================
   特典引換場所カード（両店舗を常時表示・店舗名／引換期間／営業時間をラベル揃えで表示 / colorful 配色）
   ============================================================ */
.exchange-box {
    width: 100%;
    margin: 0.16rem auto 0.15rem;
    background: #fff;
    border: 0.03rem solid var(--color-button);
    border-radius: 0.20rem;
    overflow: hidden;
    box-shadow: 0 0.03rem 0.10rem rgba(0, 0, 0, 0.12);
}

.exchange-box__title {
    background: var(--color-button);
    color: #fff;
    font-size: var(--fs-md);
    font-weight: 700;
    text-align: center;
    padding: 0.11rem 0.10rem;
    letter-spacing: 0.06em;
}

.exchange-box__body {
    background: #fff;
    padding: 0.04rem 0.16rem;
}

.exchange-box__shop {
    padding: 0.12rem 0 0.11rem;
}

/* 店舗名 — 一番目立たせる（<br> で改行可） */
.exchange-box__place {
    color: var(--color-text);
    font-size: var(--fs-md);
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    margin-top: 0.01rem;
}

/* 引換期間・営業時間 — ラベル（ピル）＋値を 2 カラムで縦に揃えて表示 */
.exchange-box__info {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 0.06rem 0.10rem;
    width: fit-content;
    margin: 0.10rem auto 0;
    text-align: left;
}

.exchange-box__info dt {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: #fff;
    background: var(--color-button);
    border-radius: 0.04rem;
    padding: 0.02rem 0.08rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.exchange-box__info dd {
    margin: 0;
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.45;
}

/* 注釈 — 左寄せ・小さめ・※付き */
.exchange-box__notes {
    margin: 0.06rem 0 0;
    padding: 0;
    text-align: left;
}

.exchange-box__notes li {
    position: relative;
    list-style: none;
    color: var(--color-text);
    font-size: 0.11rem;
    line-height: 1.45;
    padding-left: 0.95em;
    margin-top: 0.02rem;
    opacity: 0.85;
}

.exchange-box__notes li::before {
    content: "※";
    position: absolute;
    left: 0;
    top: 0;
}

/* 期間で店舗が切り替わる注意書き — カード最下部・赤文字で強調 */
.exchange-box__notice {
    margin: 0.10rem 0 0.02rem;
    color: #f00000;
    font-size: var(--fs-sm);
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
}

.exchange-box__divider {
    border: 0;
    border-top: 0.015rem dashed var(--color-button);
    margin: 0;
}


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