@charset "UTF-8";
/* PC/SP 共通（トークン・書体・基盤）。PC だけ／SP だけの宣言は style_pc／style_sp へ。@media は書かない */
:root {
  --keio-white: #ffffff;
  --keio-yellow: #fede1b;
  --keio-pink: #ee1b68;
  --keio-blue: #1b62b7;
  --keio-gray: #52677e;
  --keio-navy: #14355b;
  --keio-cream: #fffcee;
  --keio-icon-bg: #fff4af;
  --font-noto: "Noto Sans JP", "Hiragino Sans", Hiragino Kaku Gothic ProN, YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  --font-dela: "Dela Gothic One", "Hiragino Sans", Hiragino Kaku Gothic ProN, YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-noto);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--keio-navy);
  background-color: var(--keio-white);
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.font-dela {
  font-family: var(--font-dela);
  font-weight: 400;
}

/* フェード。JS が動く時だけ隠す */
.is-js .fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.is-js .fade-in.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 動きを減らす設定（JS が html に is-reduced-motion を付ける） */
.is-reduced-motion *,
.is-reduced-motion *::before,
.is-reduced-motion *::after {
  transition: none !important;
  animation: none !important;
}

.is-reduced-motion .fade-in {
  opacity: 1;
  transform: none;
}

/* セクションの箱 */
.sec {
  position: relative;
}

.sec__inner {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* 画面には出さず、読み上げだけ残す */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* S0 header。固定しない・z-index なし */
.header {
  background-color: var(--keio-white);
}

.header__inner {
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.header__logo {
  flex-shrink: 0;
}

/* ロゴは PC 700px／SP 540px に縮めた画像を使う。縦横比は元画像 1011×111 に固定し、picture で包んでも行の高さで膨らまないよう block にする */
.header__logo,
.footer__logo {
  display: block;
  aspect-ratio: 1011/111;
}

/* 塗りボタン（エントリー。共通部品） */
.btn-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--keio-pink);
  border-radius: 100px;
  color: var(--keio-white);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.btn-entry__text {
  flex: 1 1 0;
  min-width: 0;
}

.btn-entry__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.btn-entry.is-disabled {
  background-color: var(--keio-gray);
  pointer-events: none;
  cursor: default;
}

/* S1 FV */
.fv__kv {
  margin: 0 auto;
}

.fv__kv img {
  width: 100%;
}

.fv__band {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--keio-blue);
  color: var(--keio-white);
}

.fv__lead {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
}

.fv__em {
  /* reset.css の vertical-align:middle を戻す（行の高さが 2.6px 伸びるため） */
  vertical-align: baseline;
  font-weight: 700;
  color: var(--keio-yellow);
}

.fv__action {
  display: flex;
  align-items: center;
}

.fv__count {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

.fv__count-num {
  vertical-align: baseline;
  line-height: 1.2;
  color: var(--keio-yellow);
}

/* 追従CTA。JS が動く時だけ隠しておき、FV ボタンが画面外に出たら出す */
.sticky {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
  width: 100%;
  background-color: var(--keio-white);
  border-top: 2px solid var(--keio-blue);
  border-bottom: 2px solid var(--keio-blue);
}

.is-js .sticky {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.is-js .sticky.is-show {
  opacity: 1;
  visibility: visible;
}

/* JS が動かない時は残り日数を出さない（HTML の仮の数字のまま見せないため）。場所は空けたままにする */
html:not(.is-js) .fv__count {
  visibility: hidden;
}

.sticky__inner {
  display: flex;
  align-items: center;
  margin: 0 auto;
}

/* S2 特典 */
.prize {
  background-color: var(--keio-cream);
}

.prize__head,
.prize__body {
  display: flex;
  flex-direction: column;
}

.prize__title {
  font-weight: 400;
  color: var(--keio-blue);
}

.prize__title-line,
.prize__title-em,
.prize__title-num,
.prize__title .pc,
.prize__title .sp {
  /* reset.css の vertical-align:middle を戻す（文字サイズ違いで行が膨らむため） */
  vertical-align: baseline;
}

.prize__title-em {
  font-size: 64px;
  color: var(--keio-pink);
}

.prize__title-num {
  margin: 0 0.0625em;
}

.prize__lead-note,
.prize__notes,
.cards__note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--keio-gray);
}

.prize__list {
  display: flex;
}

.prize__rank-wrap {
  display: flex;
  align-items: center;
}

.prize__rank {
  flex-shrink: 0;
  background-color: var(--keio-blue);
  border-radius: 100px;
  color: var(--keio-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.prize__logo {
  flex-shrink: 0;
}

.prize__point {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--keio-blue);
  white-space: nowrap;
}

.prize__num {
  vertical-align: baseline;
}

.prize__unit {
  vertical-align: baseline;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.prize__people {
  font-size: 24px;
  line-height: 1.3;
  color: var(--keio-navy);
  white-space: nowrap;
}

.prize__grant img {
  width: 100%;
}

/* S2b 対象カード */
.cards__title {
  font-weight: 400;
  color: var(--keio-blue);
}

.cards__body {
  display: flex;
  flex-direction: column;
}

.cards__list {
  display: flex;
}

/* 券面は PC 192×121／SP 128×80.706（同じ比率）。元画像の比率差は余白で吸収する */
.cards__img {
  flex-shrink: 0;
  aspect-ratio: 192/121;
  height: auto;
  object-fit: contain;
}

.cards__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--keio-navy);
}

/* S3 参加方法。星が箱の外へ出るため切る */
.steps {
  overflow: hidden;
  background-color: var(--keio-blue);
}

.steps__deco {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.steps__star {
  position: absolute;
  max-width: none;
}

.steps__title {
  font-weight: 400;
  color: var(--keio-white);
}

.steps__list {
  position: relative;
  display: flex;
}

.steps__card {
  display: flex;
  flex-direction: column;
  background-color: var(--keio-white);
  border-radius: 24px;
}

.steps__label {
  align-self: flex-start;
  padding: 8px 24px;
  background-color: var(--keio-yellow);
  border-radius: 100px;
  line-height: 1.45;
  color: var(--keio-navy);
}

.steps__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.steps__heading {
  flex: 1 1 0;
  min-width: 0;
  font-weight: 400;
  line-height: 1.4;
  color: var(--keio-blue);
}

.steps__phone {
  flex-shrink: 0;
}

/* ボタン文字の配置は .btn-entry__text（共通） */
.steps__btn {
  height: 64px;
  padding: 16px 20px;
  gap: 12px;
}

.steps__notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--keio-gray);
}

.steps__cond {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.steps__cond-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.steps__cond-text {
  flex: 1 1 0;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--keio-navy);
}

/* 券面は S2b と同じ画像（384×241）を 96×61／80×50.441 の箱に収める */
.steps__card-img {
  flex-shrink: 0;
  aspect-ratio: 96/61;
  height: auto;
  object-fit: contain;
}

.steps__amount {
  font-size: 32px;
  line-height: 1.2;
  color: var(--keio-blue);
}

.steps__amount-tax {
  vertical-align: baseline;
  font-size: 20px;
}

.steps__badge {
  align-self: flex-start;
  padding: 8px 24px;
  background-color: var(--keio-yellow);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--keio-navy);
}

.steps__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--keio-yellow);
  border-radius: 100px;
}

.steps__arrow img {
  width: 24px;
  height: 24px;
}

/* S4 チャンスUP */
.chance__head,
.chance__graph,
.chance__example {
  display: flex;
  flex-direction: column;
}

.chance__title {
  font-weight: 400;
  color: var(--keio-blue);
}

.chance__lead {
  font-weight: 700;
  line-height: 1.7;
  color: var(--keio-navy);
}

.chance__up {
  display: inline-block;
  width: 25px;
  height: 24px;
  margin-left: 2px;
  vertical-align: -4px;
}

.chance__bars {
  display: flex;
  align-items: flex-end;
  border-bottom: 2px solid var(--keio-blue);
}

.chance__col {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.chance__count {
  color: var(--keio-blue);
  white-space: nowrap;
}

.chance__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--keio-yellow);
  font-weight: 700;
  line-height: 1.7;
  color: var(--keio-navy);
  text-align: center;
}

.chance__col--max .chance__bar {
  background-color: var(--keio-blue);
  color: var(--keio-white);
}

.chance__max {
  display: flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  background-color: var(--keio-navy);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--keio-white);
}

.chance__notes,
.chance__note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--keio-gray);
}

.chance__notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chance__ex-title {
  font-weight: 700;
  color: var(--keio-blue);
}

.chance__ex-list {
  display: flex;
}

/* アイコン背景円 #fff4af（ico_bg_circle_62／46 と同じ円を CSS で描く） */
.chance__ex-icon {
  position: relative;
  flex-shrink: 0;
}

.chance__ex-icon::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background-color: var(--keio-icon-bg);
}

.chance__ex-icon img {
  position: relative;
  width: 100%;
  height: 100%;
}

.chance__ex-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--keio-navy);
}

.chance__ex-price {
  color: var(--keio-blue);
  white-space: nowrap;
}

.chance__ex-plus {
  font-weight: 900;
  color: var(--keio-blue);
}

.chance__total {
  background-color: var(--keio-blue);
  border-radius: 16px;
  line-height: 1.2;
  color: var(--keio-white);
  text-align: center;
}

.chance__total-em {
  vertical-align: baseline;
  color: var(--keio-yellow);
}

/* アウトラインボタン（共通部品。S5/S6/S9）。h64 px20 py16 gap12 border 2px blue */
.btn-outline {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 16px 20px;
  border: 2px solid var(--keio-blue);
  border-radius: 100px;
  background-color: var(--keio-white);
  color: var(--keio-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.btn-outline__text {
  flex: 1 0 0;
  min-width: 0;
  text-align: center;
}

.btn-outline__arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* S5 よくあるご質問。bg cream */
.qa {
  background-color: var(--keio-cream);
}

.qa__title {
  color: var(--keio-blue);
}

.qa__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.qa__item {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--keio-blue);
}

.qa__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* アイコン。PC の 04〜08 は線画 SVG のため、背景円 #fff4af（62px・1px 内側。ico_bg_circle_62）を CSS で敷く */
.qa__icon {
  position: relative;
  flex-shrink: 0;
}

.qa__icon img {
  position: relative;
  width: 100%;
  height: 100%;
}

.qa__body {
  flex: 1 1 0;
  min-width: 0;
}

.qa__head {
  margin: 0;
  font-size: inherit;
}

/* 質問の行全体が開閉ボタン。質問と記号は左右に振り分け、記号は縦中央 */
.qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  font-weight: 700;
  line-height: 1.7;
  color: var(--keio-blue);
  text-align: left;
}

.qa__q-text {
  flex: 0 1 auto;
}

.qa__toggle {
  flex-shrink: 0;
  color: var(--keio-blue);
}

/* 開いている間は縦棒を消して「－」にする */
.qa__toggle-v,
.detail__toggle-v {
  transition: opacity 0.4s ease;
}

.qa__q[aria-expanded=true] .qa__toggle-v,
.detail__q[aria-expanded=true] .detail__toggle-v {
  opacity: 0;
}

/* 回答。JS が動く時だけ閉じる（初期は閉）。高さは JS が 0 ⇄ 実寸で動かす */
.qa__a,
.detail__panel {
  overflow: hidden;
}

.is-js .qa__a,
.is-js .detail__panel {
  height: 0;
  visibility: hidden;
  transition: height 0.4s ease, visibility 0s linear 0.4s;
}

.is-js .qa__a.is-open,
.is-js .detail__panel.is-open {
  visibility: visible;
  transition: height 0.4s ease, visibility 0s linear 0s;
}

.qa__a-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.qa__a-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--keio-navy);
}

/* 行頭に「ー」や小書きの仮名を置かない（和文の禁則を厳しめにする） */
.cards__note,
.steps__notes p,
.qa__a-text,
.qa__note,
.detail__cards li,
.detail__text,
.detail__note,
.detail__notes p,
.notes__body p {
  line-break: strict;
}

.qa__nobr {
  white-space: nowrap;
  vertical-align: baseline;
}

.qa__note {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--keio-gray);
}

/* S6 京王ポイント交換。bg yellow。集中線は中央基準で敷き、はみ出しは切る */
.keio {
  overflow: hidden;
  background-color: var(--keio-yellow);
}

.keio__burst {
  position: absolute;
  z-index: 1;
  max-width: none;
  pointer-events: none;
}

.keio__inner {
  align-items: center;
}

.keio__title {
  margin: 0;
  color: var(--keio-blue);
  text-align: center;
}

.keio__title-l2 {
  /* reset.css の vertical-align:middle を戻す */
  vertical-align: baseline;
}

.keio__exchange {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.keio__flow {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--keio-blue);
  line-height: 1.2;
  white-space: nowrap;
}

.keio__pill {
  display: flex;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  border-radius: 100px;
  background-color: var(--keio-white);
}

.keio__arrow {
  font-size: 40px;
  line-height: 1.2;
  text-align: center;
}

.keio__how {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  color: var(--keio-navy);
  text-align: center;
}

.keio__how-text {
  margin: 0;
  font-weight: 700;
  line-height: 1.7;
}

.keio__note {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--keio-navy);
}

.keio__note--center {
  text-align: center;
}

.keio__lower {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.keio__use {
  display: flex;
  align-items: center;
}

.keio__icon {
  flex-shrink: 0;
}

.keio__use-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--keio-navy);
}

.keio__action {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* S7 キャンペーン概要。bg white。左揃え */
.detail__head {
  display: flex;
  flex-direction: column;
}

.detail__title {
  margin: 0;
  color: var(--keio-blue);
}

.detail__name {
  margin: 0;
  font-weight: 700;
  line-height: 1.7;
  color: var(--keio-navy);
}

.detail__period {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-radius: 16px;
  background-color: var(--keio-cream);
}

.detail__label {
  display: flex;
  align-items: center;
  height: 32px;
  margin: 0;
  padding: 0 8px;
  border-radius: 4px;
  background-color: var(--keio-blue);
  color: var(--keio-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}

.detail__date {
  margin: 0;
  font-weight: 700;
  color: var(--keio-blue);
}

/* 約物の空きを半角分詰める（基準画像の実測で PC 28px・SP 20px とも 0.5em） */
.detail__kern {
  letter-spacing: -0.5em;
}

/* reset.css の vertical-align:middle を戻す（字詰め用の span だけ字の位置がずれるため） */
.keio__kern,
.keio__arrow span,
.detail__kern,
.detail__prize span {
  vertical-align: baseline;
}

.detail__period-notes p {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--keio-gray);
}

/* 詳細の開閉箱: border 2px blue・radius 8 */
.detail__box {
  overflow: hidden;
  border: 2px solid var(--keio-blue);
  border-radius: 8px;
  background-color: var(--keio-white);
}

.detail__box-head {
  margin: 0;
  font-size: inherit;
}

.detail__q {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--keio-blue);
  text-align: left;
}

.detail__q-text {
  flex: 1 0 0;
  min-width: 0;
}

.detail__toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--keio-blue);
}

.detail__body {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: var(--keio-navy);
}

.detail__para {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail__para-head {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.detail__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.detail__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.detail__note,
.detail__notes p {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--keio-gray);
}

.detail__cards {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail__cards li {
  padding-left: 1em;
  font-size: 16px;
  line-height: 1.7;
  text-indent: -1em;
}

.detail__prizes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail__prize {
  font-size: 16px;
  line-height: 1.7;
}

.detail__btn {
  max-width: 100%;
  font-size: 20px;
}

/* S9 カードのお申し込み。bg cream */
.apply {
  background-color: var(--keio-cream);
}

.apply__inner {
  align-items: center;
}

.apply__title {
  font-weight: 700;
  color: var(--keio-blue);
  text-align: center;
}

.apply__btns {
  display: flex;
}

/* ご注意事項。bg white。開閉はせず、本文は常に開いたまま */
.notes {
  background-color: var(--keio-white);
}

/* 見出しと本文の間は本文側の余白で取る。style_pc/sp の .sec__inner の gap より強くする */
.notes .notes__inner {
  gap: 0;
}

.notes__head {
  margin: 0;
  font-size: inherit;
}

.notes__q {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--keio-blue);
  text-align: left;
}

.notes__title {
  flex: 1 0 0;
  min-width: 0;
}

/* 本文 Noto 11 gray。行送りは基準画像の実測 19px（PC 32行・SP 70行とも 19px 刻み） */
.notes__body p {
  margin: 0;
  font-size: 11px;
  line-height: 19px;
  color: var(--keio-gray);
}

/* S10 footer。ロゴと文言を縦に中央揃え gap 16 */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background-color: var(--keio-white);
}

.footer__logo {
  width: auto;
}

.footer__text {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--keio-gray);
  text-align: center;
  white-space: nowrap;
}
