@charset "UTF-8";

/* ============================================================
   CUSTOM.CSS — 100％ドラえもん＆フレンズ in 東京
   base.css のデフォルトを上書き。base.css 自体は触らない。

   REM SYSTEM: デザイン px ÷ 100 = rem 値（100px = 1rem @ 393px）
   デザイン参照: recommend.jr-central.co.jp の LP（ドラえもん夏旅）
     → 空色背景 + 白の角丸カード + 青の丸ピン見出し + 黄色アクセント
   ============================================================ */


/* ============================================================
   BRAND COLORS — 仕様書 doraemon100japan.md に準拠
   ============================================================ */
:root {
    --color-main: #ffffff;
    /* ページ背景色（基本白／背景は空色を別途指定） */
    --color-sub1: #00b8ee;
    /* メインカラー（空色：ボーダー・見出し・区切り線） */
    --color-sub2: #ffe000;
    /* アクセント（黄色：差し色・一覧ボタン） */
    --color-sub3: #e60012;
    /* アクセント（赤） */
    --color-sub4: #f5c0d3;
    /* アクセント（ピンク） */
    --color-sub5: #e8f1f8;
    /* 薄青背景 */
    --color-local: #004770;
    /* 差し色（濃紺） */
    --color-text: #004770;
    /* テキストカラー（濃紺） */
    --color-button: #0182cd;
    /* ボタンカラー（ドラえもんブルー） */
    /* LP の「源柔ゴシック(Gen Jyuu Gothic LP)」に最も近い無料フォント。
       源柔=源ノ角ゴシックの角丸版なので、丸が強い M PLUS Rounded より
       標準ゴシック骨格の Zen Maru Gothic が近い。 */
    --font-family: 'Zen Maru Gothic', 'M PLUS Rounded 1c', YakuHanJP, sans-serif;
}


/* ============================================================
   PAGE BACKGROUND — LP の空色背景を再現
   base.css の main::before は --image-bg(url) を使うため、
   ここで画像を無効化して空色ベタ塗りに上書きする。
   ============================================================ */
body {
    background: var(--color-sub1);
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0.15rem auto;
}

main::before {
    background-image: none !important;
    background-color: var(--color-sub1) !important;
}


/* ============================================================
   SECTION HEADING — LP sec_heading 構成
   ラベル(濃紺ピル) → アウトライン見出し → リード → 日付ピル
   ============================================================ */
.section-heading {
    width: 100%;
    max-width: 4.20rem;
    margin: 0.32rem auto 0.04rem;
    text-align: center;
    position: relative;
}

/* 小ラベル（濃紺ピル・白文字） */
.sec-label {
    display: inline-block;
    background: var(--color-local);
    color: var(--color-white);
    font-weight: 800;
    font-size: 0.14rem;
    letter-spacing: 0.04em;
    line-height: 1.4;
    padding: 0.04rem 0.20rem;
    border-radius: 0.30rem;
    margin-bottom: 0.08rem;
}

/* メイン見出し（LP sec_headingMain: 青フィル + 白内フチ + 青外フチの二重アウトライン）
   白カプセル背景の上で映えるステッカー風。data-text を使って外フチを ::before で重ねる。 */
.sec-main {
    position: relative;
    display: inline-block;
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 0.32rem;
    line-height: 1.25;
    letter-spacing: 0.04em;
    color: var(--color-button);
    -webkit-text-stroke: 0.04rem var(--color-white);
    paint-order: stroke fill;
    z-index: 0;
    margin: 0.1rem auto;
}

.sec-main::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    color: var(--color-button);
    -webkit-text-stroke: 0.11rem var(--color-button);
    paint-order: stroke fill;
}

/* リード文（濃紺） */
.sec-lead {
    color: var(--color-local);
    font-weight: 700;
    font-size: 0.15rem;
    line-height: 1.6;
    margin: 0.08rem auto 0.04rem;
}

/* セクション小見出し（応募期間 等） */
.sec-note {
    color: var(--color-local);
    font-weight: 800;
    font-size: 0.15rem;
    margin: 0.06rem auto 0;
}

/* 全3種バッジ（鈴） */
.sec-badge {
    display: flex;
    justify-content: center;
    margin: 0.02rem auto 0.02rem;
}

.sec-badge img {
    width: 0.80rem;
    height: auto;
}


/* ============================================================
   DATE PILL — 年.月.日 + 曜日(赤丸)（LP sec_date / fv_date）
   ============================================================ */
.sec-date {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.08rem;
    width: fit-content;
    margin: 0.10rem auto 0.04rem;
    padding: 0.07rem 0.18rem;
    background: var(--color-white);
    border: 0.02rem solid var(--color-button);
    border-radius: 0.30rem;
    box-shadow: 0 0.04rem 0 rgba(0, 71, 112, 0.15);
}

.sec-dateCont {
    display: flex;
    align-items: center;
    gap: 0.06rem;
}

.sec-dateMain {
    display: flex;
    align-items: baseline;
    color: var(--color-local);
    font-weight: 900;
    font-size: 0.26rem;
    line-height: 1;
    letter-spacing: 0.01em;
}

.sec-dateMain .y {
    font-size: 0.16rem;
}

.sec-dateMain .sep {
    color: var(--color-sub1);
    margin: 0 0.01rem;
}

.sec-dateDay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.24rem;
    height: 0.24rem;
    background: var(--color-sub3);
    color: var(--color-white);
    font-size: 0.13rem;
    font-weight: 700;
    border-radius: 50%;
}

.sec-dateFor {
    color: var(--color-local);
    font-weight: 900;
    font-size: 0.20rem;
}


/* ============================================================
   HERO / FV — LP fv 構成を忠実に再現
   キャラ illust（fv-main）→ 白い半丸エリア（fv-body::before）に
   バッジ + ロゴ + ラベル + 二重アウトライン見出し(+ピンク下線) + リード + 日付
   SP 値(LP) ÷ 100 = rem（100px=1rem @ 393）
   ============================================================ */
.fv {
    position: relative;
    overflow: hidden;
    padding-bottom: 0.20rem;
}

.fv-inner {
    display: flex;
    flex-direction: column;
}

/* キャラクター illust（ロゴ/日付の入っていない透過 PNG を使用） */
.fv-main {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: block;
}

.fv-main img {
    width: 100%;
    display: block;
}

/* テキスト群を載せる白い半丸エリア（LP fv_body::before） */
.fv-body {
    position: relative;
    margin-top: -0.18rem;
    padding: 0.20rem 0.24rem 0.10rem;
}

.fv-body::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: calc(100% + 0.16rem);
    height: calc(100% + 2.00rem);
    background: var(--color-white);
    border-radius: 3.05rem;
}

.fv-wrap {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin-inline: auto;
}

/* 「特別企画」バッジ（黄色丸・青文字・傾き）— LP fv_badge */
.fv-badge {
    position: absolute;
    top: 0.04rem;
    left: -0.06rem;
    width: 0.72rem;
    height: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sub2);
    border: 0.02rem solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 0.02rem 0.05rem rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.fv-badgeLabel {
    color: var(--color-button);
    font-weight: 900;
    font-size: 0.13rem;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-align: center;
    transform: rotate(-7.6deg);
}

/* ロゴ */
.fv-logo {
    width: 2.50rem;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 見出し */
.fv-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 0.06rem;
    margin-top: 0.18rem;
}

.fv-headingLabel {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.06rem;
    width: fit-content;
    margin: 0 auto;
    color: var(--color-button);
    font-weight: 900;
    font-size: 0.20rem;
    letter-spacing: 0.07em;
    line-height: 1.6;
}

.fv-headingLabel::before,
.fv-headingLabel::after {
    content: "";
    width: 0.15rem;
    height: 0.015rem;
    border-radius: 0.01rem;
    background: var(--color-button);
}

.fv-headingLabel::before {
    transform: rotate(60deg);
}

.fv-headingLabel::after {
    transform: rotate(-60deg);
}

/* メイン見出し: 青フィル + 白内フチ + 青外フチ(::before) + ピンク下線(::after) */
.fv-headingMain {
    position: relative;
    display: block;
    text-align: center;
    color: var(--color-button);
    -webkit-text-stroke: 0.035rem var(--color-white);
    paint-order: stroke;
    font-weight: 900;
    font-size: 0.25rem;
    line-height: 1.45;
    letter-spacing: 0.03em;
    z-index: 0;
    margin: 0.10rem auto;
    padding: 0 0.10rem;
    /* 外フチが左右で切れない / はみ出さない余白 */
    max-width: 100%;
}

.fv-headingMain::before {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    z-index: -1;
    color: var(--color-button);
    -webkit-text-stroke: 0.07rem var(--color-button);
    paint-order: stroke;
    white-space: pre-line;
}

.fv-headingMain::after {
    content: "";
    position: absolute;
    bottom: -0.02rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 0.10rem;
    border-radius: 0.10rem;
    background: var(--color-sub4);
    z-index: -2;
}

.fv-lead {
    margin-top: 0.14rem;
    color: var(--color-local);
    font-weight: 700;
    font-size: 0.14rem;
    letter-spacing: 0.05em;
    line-height: 1.8;
    text-align: center;
}

/* 日付（大きな数字 + 赤丸曜日）— LP fv_date */
.fv-date {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.05rem;
    margin: 0rem auto 0.10rem;
}

.fv-date p {
    margin: 0.1rem auto 0rem;
}

.fv-dateCont {
    display: flex;
    align-items: center;
    column-gap: 0.03rem;
}

.fv-dateMain {
    display: flex;
    align-items: baseline;
    color: var(--color-local);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.fv-dateMain .y {
    font-size: 0.22rem;
}

.fv-dateMain .m,
.fv-dateMain .d {
    font-size: 0.28rem;
}

.fv-dateMain .sep {
    font-size: 0.24rem;
    color: var(--color-local);
}

.fv-dateDay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0.26rem;
    height: 0.26rem;
    margin-left: 0.04rem;
    background: var(--color-sub3);
    color: var(--color-white);
    font-size: 0.14rem;
    font-weight: 900;
    line-height: 1;
    border-radius: 50%;
}

.fv-dateFor {
    color: var(--color-local);
    font-size: 0.26rem;
    font-weight: 900;
    line-height: 1;
}


/* ============================================================
   キャラ画像 — ボイス / ステッカー見出しのドラえもん + A/B賞ラベル
   ============================================================ */
.voice-chara,
.sticker-chara {
    text-align: center;
    margin: 0.04rem auto 0;
}

.voice-chara img {
    width: 1.50rem;
    height: auto;
    margin: 0 auto;
    display: block;
}

.sticker-chara img {
    width: 1.50rem;
    height: auto;
    margin: 0 auto;
    display: block;
}

.prize-ab .prize-rank {
    display: inline-block;
    background: var(--color-sub3);
    color: var(--color-white);
    font-weight: 800;
    font-size: 0.14rem;
    line-height: 1.4;
    border-radius: 0.06rem;
    padding: 0.01rem 0.10rem;
    margin-right: 0.04rem;
}


/* ============================================================
   白カプセルセクション — LP .sec_container（上下が半丸の白パネル）
   見出し + 本文をひとつの白パネルに包み、空色背景に浮かせる。
   大きな border-radius で上下の縁が半円になる（= LP の「半丸の上下」）。
   ============================================================ */
.content-holder-section {
    position: relative;
    width: 100%;
    max-width: 4.20rem;
    margin: 0.40rem auto;
    padding: 0.46rem 0.16rem 0.40rem;
    /* 上下の半円に本文がかからないよう余白を確保 */
    background-color: var(--color-white);
    border-radius: 2.40rem / 1.40rem;
    /* 横長半円の上下フチ */
    box-shadow: unset;
    overflow: hidden;
}

.p-intro,
.p-shinkansen,
.p-print,
.p-prize,
.p-promotion {
    position: relative;
    width: 100%;
    max-width: 4.20rem;
    margin: 0.40rem auto;
    padding: 0.46rem 0.16rem 0.40rem;
    /* 上下の半円に本文がかからないよう余白を確保 */
    background-color: var(--color-white);
    border-radius: 2.40rem / 1.40rem;
    /* 横長半円の上下フチ */
    box-shadow: unset;
    overflow: hidden;
}

.p-shinkansen,
.p-print,
.p-prize,
.p-promotion,
.content-holder-section {
    padding: 0.16rem 0.16rem 0.40rem;
}

/* カプセル内の見出しは余白を詰める（カプセル padding と二重にしない） */
.p-intro .section-heading,
.p-shinkansen .section-heading,
.p-print .section-heading,
.p-prize .section-heading,
.p-promotion .section-heading {
    margin-top: 0;
}

/* カプセル内では content-holder の枠/影/背景を消す（カード in カード回避） */
.content-holder {
    width: 100%;
    max-width: 4.00rem;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0.06rem auto 0;
    padding: 0 0.04rem;
}

/* 区切り線（空色） */
hr.sub1-border {
    border: none;
    border-top: 0.02rem solid var(--color-sub1);
    opacity: 0.6;
}


/* ============================================================
   PRIMARY CTA — iconButton（ドラえもんブルーの角丸ボタン）
   白文字・白アイコンが読めるよう青地のまま、丸み + 黒縁で LP 風に。
   ============================================================ */
.iconButton {
    border-radius: 0.35rem;
    border: 0.03rem solid var(--color-black);
    box-shadow: 0 0.05rem 0 rgba(0, 0, 0, 0.18);
}

.iconButton::before {
    border-color: rgba(255, 255, 255, 0.85);
    border-radius: 0.30rem;
}

.iconButton.button-bg {
    background: var(--color-button);
}


/* ============================================================
   LOGIN / REGISTER — 青ボタン（丸み + 黒縁）
   ============================================================ */
.loginRgisterButton {
    border-radius: 0.30rem;
    border: 0.03rem solid var(--color-black);
    box-shadow: 0 0.04rem 0 rgba(0, 0, 0, 0.15);
}

.loginRgisterButton.button-bg {
    background: var(--color-button);
}


/* ============================================================
   キャンペーンサイト一覧ボタン — 黄色ピル（LP の差し色）
   ============================================================ */
.toOshitabiTop {
    background: var(--color-sub2);
    color: var(--color-local);
    border: 0.03rem solid var(--color-black);
    border-radius: 0.30rem;
    box-shadow: 0 0.05rem 0 rgba(0, 0, 0, 0.18);
    font-weight: 800;
}


/* ============================================================
   PHASE TITLE — titleBorder（濃紺枠）
   ============================================================ */
.contents-title .titleBorder {
    background-color: transparent;
    color: var(--color-sub1);
    border: 0.03rem solid var(--color-sub1);
    border-radius: 0.30rem;
}


/* ============================================================
   STICKER THUMBNAILS — オリジナルステッカー全3種プレビュー
   ============================================================ */
.p-print .thumbnails-container .thumbnail {
    background: var(--color-white);
    border: 0.02rem solid var(--color-sub1);
    border-radius: 0.12rem;
    overflow: hidden;
    box-shadow: 0 0.03rem 0.08rem rgba(0, 71, 112, 0.12);
}

.p-print .thumbnails-container .thumbnail img {
    border-radius: 0.10rem;
}


/* ============================================================
   LOCATION CARD — スペシャルプロモーションの「場所」
   薄青カードに濃紺タイトル（base の sub4-text=ピンクを上書き）
   ============================================================ */
.novelty-location {
    background: var(--color-sub5);
    border: 0.03rem solid var(--color-sub1);
    border-radius: 0.20rem;
}

.p-promotion .novelty-title.sub4-text,
.novelty-location .novelty-title {
    color: var(--color-local) !important;
}

.novelty-location .novelty-border-full {
    border-top: 0.02rem solid var(--color-sub1);
}


/* ============================================================
   PRIZE — 当選コード表示（青枠に統一）
   ============================================================ */
.code-container {
    border: 0.02rem solid var(--color-button);
}

.code-text {
    color: var(--color-button);
}

.copyButton {
    background: var(--color-button);
}


/* ============================================================
   DISABLED — 触れないことを視覚的に明確にする（base と統一）
   ============================================================ */
.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;
    border-color: #888 !important;
    pointer-events: none !important;
    cursor: default !important;
    opacity: 0.7;
}

.iconButton[disabled]::before,
.iconButton.disabled::before,
.iconButton:disabled::before {
    border-color: rgba(255, 255, 255, 0.4) !important;
}


/* ============================================================
   FONT UTILITY — caution 系は Noto Sans JP 固定
   base.css 末尾で .fontNotoSans が var(--font-family) に上書きされる
   バグの修正も兼ねる（custom.css は base.css の後で読まれる）。
   ============================================================ */
.fontNotoSans,
.fontNotoSans *,
.caution,
.caution *,
ul.caution,
ul.caution li,
ul.caution li a {
    font-family: "Noto Sans JP", YakuHanJP, sans-serif !important;
}