@charset "utf-8";

/* ==========================================================================
   最大10億ポイント山分けキャンペーン（dポイント）｜ドコモの銀行 誕生祭
   ========================================================================== */

/* リセット系 ------------------------------------------------------------ */
body * {
  -ms-overflow-style: auto !important;
  scrollbar-width: auto !important;
  scrollbar-color: auto !important;
  scrollbar-gutter: auto !important;
}

body *::-webkit-scrollbar {
  display: block !important;
  width: 8px !important;
  height: 8px !important;
}

body *::-webkit-scrollbar-track {
  background: #F0E8CE;
  border-radius: 100vw;
  cursor: pointer;
}

body *::-webkit-scrollbar-thumb {
  background: #D7BD78;
  border-radius: 100vw;
  cursor: pointer;
}

a,
abbr,
address,
article,
aside,
b,
blockquote,
body,
button,
caption,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
img,
ins,
label,
legend,
li,
main,
mark,
menu,
nav,
ol,
p,
pre,
q,
section,
select,
small,
span,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
ul,
var {
  border: 0;
  line-height: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible) {
  outline: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

/* 変数 ------------------------------------------------------------------ */
:root {
  --red: #B30000;
  --alert: #BD2639;
  --alert-strong: #DE0808;
  --crimson: #C40031;
  --text: #41403C;
  --text-alt: #303C48;
  --note: #575757;
  --link: #196097;
  --beige: #F7F3E6;
  --beige-2: #F1EDE1;
  --beige-3: #F6F3E7;
  --gold-box: #F0E8CE;
  --gold-grad: linear-gradient(90deg, #D3B76F 0%, #FFF0CA 50%, #D3B76F 100%);
  /* ボタンの影はぼかしなしの4px下方向。ゴールドのみ濃赤で受ける */
  --shadow-btn: 0 4px 0 rgba(36, 36, 36, 0.25);
  --shadow-btn-gold: 0 4px 0 #990000;
}

/* 全体 ------------------------------------------------------------------ */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #FFFFFF;
}

.container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  color: var(--text);
  background: #FFFFFF;
  box-sizing: border-box;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

/* ヘッダー -------------------------------------------------------------- */
/* PCでは本文カラムがヘッダー直下に接するため、
   カラムの影がヘッダーへ滲まないよう重ね順を上げる */
.header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 16px 0;
  background: #FFFFFF;
}

.header-logo {
  display: block;
  width: 264px;
}

/* PC 2カラム ------------------------------------------------------------ */
.wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

/* コンテンツが390px固定になる幅から背景を敷く。
   下端の余白は追従CTAとの隙間になるため設けない（PCは820px以上で別途指定） */
@media screen and (min-width: 541px) {
  .wrap {
    background: var(--red);
  }
}

/* PCデザイン（1280px）の実測値：サイド360px＋間隔40px＋本文390px、
   本文はヘッダー直下から始まる */
@media screen and (min-width: 820px) {
  .wrap {
    gap: 40px;
    padding: 0 0 112px;
  }
}

.side {
  display: none;
}

@media screen and (min-width: 820px) {
  .side {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 360px;
    /* デザインは 54+360+40+390=844px を中央寄せした配置。
       1280px時にサイド272px／本文672pxから始まる */
    margin-left: 54px;
  }
}

/* ナビはサイドカラムの左端（バナーの左端）に揃える */
.side-nav {
  width: 100%;
  margin-top: 31px;
}

/* 項目の送りを36pxにする（行送り28px＋8px） */
.side-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 175%;
  color: #FFFFFF;
  transition: opacity 0.3s ease;
}

.side-nav-link::before {
  content: "";
  flex-shrink: 0;
  display: block;
  width: 12px;
  height: 12px;
  background-color: #E4D4AA;
  border-radius: 100%;
}

.side-nav-link:hover {
  opacity: 0.7;
}

/* ナビ・注意喚起ボックスと同じくサイドカラムの左端に揃える */
.side-shoplist {
  width: 100%;
  margin-top: 16px;
}

/* サイドでは高さを抑えるため上下パディングを詰める（デザイン実測66px） */
.alert.side-alert {
  width: 100%;
  margin-top: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.alert.side-alert::before {
  top: 14px;
}

/* padding: 3px がゴールドの枠線を兼ねる（上段の地色と同じグラデーション） */
.side-banner {
  width: 360px;
  max-width: 360px;
  margin-top: 16px;
  padding: 3px;
  background: var(--gold-grad);
  border-radius: 16px;
  overflow: hidden;
}

.side-banner-ribbon {
  display: block;
  width: 272px;
  margin: 13px auto 0;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 140%;
  text-align: center;
  color: #FFFFFF;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%, 8px 50%);
}

.side-banner-body {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 41px 15px;
}

.side-banner-qr {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
}

.side-banner-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 150%;
}

/* 下段のベージュ面。枠線3px分だけ内側に入るので角丸は 16-3=13px */
.side-banner-foot {
  padding: 15px 20px 21px;
  text-align: center;
  background: var(--beige);
  border-radius: 0 0 13px 13px;
}

.side-banner-foot p {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 150%;
}

.side-banner-foot .btn.--outline {
  max-width: 228px;
  min-height: 48px;
  font-size: 15px;
  color: var(--red);
  border: 1px solid #990000;
}

/* コンテンツ ------------------------------------------------------------ */
.content {
  width: 100%;
  background: #FFFFFF;
  overflow: hidden;
}

/* 影は390px固定カラムとして浮かせる幅でのみ適用する
   （全幅表示時に付けるとヘッダーへ影が滲む） */
@media screen and (min-width: 541px) {
  .content {
    flex-shrink: 0;
    width: 390px;
    margin-top: 50px;
    box-shadow: 0 0 32px #00000040;
  }
}

/* PCデザインでは本文カラムがヘッダー直下から始まる */
@media screen and (min-width: 820px) {
  .content {
    margin-top: 0;
  }
}

/* 汎用 ------------------------------------------------------------------ */
.section {
  width: 100%;
  padding: 40px 16px;
}

.section.--red {
  color: #FFFFFF;
  background: var(--red);
}

/* メインビジュアル直下の赤セクションは上端に落ち影が入る */
.section.--red.--shadow-top {
  box-shadow: inset 0 10px 14px -6px rgba(0, 0, 0, 0.35);
}

.section.--beige {
  background: var(--beige);
}

.section.--beige2 {
  background: var(--beige-2);
}

.section.--pill-top {
  padding-top: 32px;
}

/* 冒頭に注意喚起ボックスが入るセクション（SPのみ。PCではサイドカラムに出す） */
.section.--alert-top {
  padding-top: 23px;
}

.section.--alert-top .alert + .shoplist-link {
  margin-top: 16px;
}

.section.--alert-top .shoplist-link + .section-title {
  margin-top: 24px;
}

@media screen and (min-width: 820px) {
  .section.--alert-top {
    padding-top: 40px;
  }

  .section.--alert-top .alert,
  .section.--alert-top .shoplist-link {
    display: none;
  }

  /* 非表示でも隣接セレクタは効くため、見出しの上マージンを戻す */
  .section.--alert-top .shoplist-link + .section-title {
    margin-top: 0;
  }
}

.section.--merit {
  padding-bottom: 33px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 150%;
  text-align: center;
}

.pill {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 4px 17px;
  font-size: 14px;
  font-weight: 600;
  line-height: 150%;
  color: #FFFFFF;
  background: var(--red);
  border-radius: 8px;
}

/* 注記 */
.note-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.note {
  position: relative;
  padding-left: 1.4em;
  font-size: 12px;
  font-weight: 400;
  line-height: 150%;
}

.note::before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
}

.note.--num {
  padding-left: 2.2em;
}

.note.--num::before {
  content: none;
}

.note-num {
  position: absolute;
  top: 0;
  left: 0;
}

.note a {
  color: var(--link);
  text-decoration: underline;
}

.note.--alert {
  color: var(--red);
}

.disc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.disc {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
}

.disc::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 100%;
}

.disc.--bold {
  font-weight: 700;
}

/* 注意喚起ボックス ------------------------------------------------------ */
.alert {
  position: relative;
  padding: 17px 18px 18px 48px;
  font-size: 14px;
  font-weight: 700;
  line-height: 150%;
  text-align: left;
  color: var(--alert);
  background: #FFECEC;
  border-radius: 8px;
}

.alert::before {
  content: "!";
  position: absolute;
  top: 19px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #FFECEC;
  background: var(--alert);
  border-radius: 100%;
}

.alert a {
  color: inherit;
  text-decoration: underline;
}

.alert a:hover {
  text-decoration: none;
}

/* ボタン ---------------------------------------------------------------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-inline: auto;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.05em;
  text-align: center;
  border-radius: 8px;
  transition: filter 0.3s ease, transform 0.15s ease;
}

.btn.--sm {
  max-width: 183px;
  padding-inline: 8px;
}

.btn.--md {
  max-width: 228px;
  padding-inline: 9px;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.btn.--lg {
  max-width: 320px;
}

.btn:hover {
  filter: brightness(0.92);
}

.btn:active {
  transform: translateY(2px);
}

.btn.--red {
  color: #FFFFFF;
  background: var(--red);
  border: 1px solid #990000;
  box-shadow: var(--shadow-btn);
}

.btn.--gold {
  color: var(--text);
  background: var(--gold-grad);
  box-shadow: var(--shadow-btn-gold);
}

.btn.--white {
  color: var(--text);
  background: #FFFFFF;
  box-shadow: var(--shadow-btn);
}

.btn.--outline {
  color: #3D3D3D;
  background: #FFFFFF;
  border: 1px solid #3D3D3D;
  box-shadow: var(--shadow-btn);
}

.btn.--white {
  color: #3D3D3D;
}

.btn-sup {
  font-size: 11px;
  font-weight: 700;
  vertical-align: super;
}

/* リンク ---------------------------------------------------------------- */
.link-blue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  color: var(--link);
  text-decoration: underline;
}

.link-blue.--sm {
  font-size: 12px;
}

.link-blue:hover {
  text-decoration: none;
}

.link-icon {
  flex-shrink: 0;
  width: 14px;
  height: 15px;
}

.link-chevron {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-chevron::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--link);
  border-right: 2px solid var(--link);
  transform: rotate(45deg);
}

/* 店舗一覧リンク（赤地に白抜き） */
.shoplist-link {
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  color: #FFFFFF;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.shoplist-link::before {
  border-color: #FFFFFF;
}

.shoplist-link:hover {
  opacity: 0.7;
}

/* メインビジュアル ------------------------------------------------------ */
.mv {
  width: 100%;
}

/* 山分けポイント（赤セクション） ---------------------------------------- */
/* 見出しはSVG（327×59）を実寸で中央に置く。
   上下6pxは文字だったときの半行間（line-height 150%の余り）を再現するもので、
   これにより前後のマージン指定をそのまま使える */
.yamawake-title {
  width: 327px;
  max-width: 100%;
  margin-inline: auto;
  padding: 6px 0;
}

.yamawake-lead {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 175%;
}

/* カウンター */
.counter {
  margin-top: 17px;
  padding: 16px 12px 14px;
  text-align: center;
  background: var(--gold-grad);
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.counter-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  color: #1B1B1B;
}

.counter-date {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 100%;
  color: var(--text);
}

.counter-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 10px;
}

.counter-digit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 52px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #1B1B1B;
  background: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.counter-digit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.18);
}

.counter-comma {
  align-self: flex-end;
  padding-bottom: 4px;
  font-size: 28px;
  font-weight: 700;
  color: #1B1B1B;
}

.counter-unit {
  margin-left: 6px;
  font-size: 28px;
  font-weight: 700;
  color: #1B1B1B;
}

.counter-notes {
  margin-top: 17px;
}

.yamawake-main {
  margin: 41px -16px 0;
}

.yamawake-note {
  margin-top: 15px;
  font-size: 14px;
  line-height: 175%;
}

.yamawake-table {
  margin-top: 40px;
}

.yamawake-disc {
  margin-top: 13px;
}

/* 口数（白セクション） -------------------------------------------------- */
/* 見出しのSVG（358×104）は390px設計時のセクション内容幅と同寸。
   文字だったときと同じく拡大させないため実寸を上限にする（余白も画像に含まれる） */
.kuchisu-title {
  width: 100%;
  max-width: 358px;
  margin-inline: auto;
}

.kuchisu-lead {
  margin-top: 19px;
  font-size: 14px;
  font-weight: 500;
  line-height: 175%;
}

.kuchisu-table {
  margin-top: 18px;
}

.kuchisu-note {
  margin-top: 14px;
}

.kuchisu-disc {
  margin-top: 16px;
}

.kuchisu-note.--last {
  margin-top: 32px;
}

.example-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
}

.example-title::before,
.example-title::after {
  content: "";
  display: block;
  width: 2px;
  height: 24px;
  background-color: var(--text);
}

.example-title::before {
  transform: rotate(-20deg);
}

.example-title::after {
  transform: rotate(20deg);
}

.example-item {
  margin-top: 11px;
}

.example-item + .example-item {
  margin-top: 28px;
}

/* 参加方法（STEP） ------------------------------------------------------ */
/* 見出しのSVG（358×36）は390px設計時のセクション内容幅・行送りと同寸。
   行間ぶんの余白も画像に含まれるので前後のマージン指定はそのまま使える */
.join-title {
  width: 100%;
  max-width: 358px;
  margin-inline: auto;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.step-card {
  padding: 3px 16px 20px;
  background: #FFFFFF;
  border-radius: 10px;
}

.step-badge {
  display: block;
  width: 80px;
  height: auto;
}

.step-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.step-head-body {
  flex: 1;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
}

.step-text {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
}

.step-thumb {
  flex-shrink: 0;
  display: block;
  width: 80px;
  height: auto;
}

.step-stores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.step-store-appstore {
  display: block;
  width: 109px;
}

.step-store-googleplay {
  display: block;
  width: 136px;
}

.step-notes {
  margin-top: 24px;
}

.step-alert {
  margin-top: 17px;
}

.step-alert + .step-notes {
  margin-top: 17px;
}

.step-btn {
  margin-top: 25px;
}

.step-divider {
  margin-top: 20px;
  border-top: 1px solid #E4DFCF;
}

.step-subtitle {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 150%;
}

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 21px;
}

.step-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
}

/* dアカウント連携 */
.daccount {
  margin-top: 26px;
  padding: 24px 16px 23px;
  background: var(--gold-box);
  border-radius: 10px;
}

.daccount-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
}

.daccount-btn {
  margin-top: 16px;
}

.daccount-note {
  margin-top: 13px;
}

/* 赤CTA ----------------------------------------------------------------- */
.cta {
  padding: 40px 16px 36px;
  text-align: center;
  color: #FFFFFF;
  background: var(--red);
}

/* 見出しはSVG（205×59）を実寸で中央に置く。
   上下6pxは文字だったときの半行間（line-height 150%の余り）を再現するもの */
.cta-title {
  width: 205px;
  max-width: 100%;
  margin-inline: auto;
  padding: 6px 0;
}

.cta-lead {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
}

.cta-btn {
  margin-top: 15px;
}

.cta-alert {
  margin-top: 12px;
}

.cta-notes {
  margin-top: 13px;
  text-align: left;
}

.step-notes,
.daccount-note {
  color: var(--note);
}

.cta-alert + .cta-notes {
  margin-top: 17px;
}

.cta-divider {
  margin-top: 28px;
  border-top: 1px solid #A00000;
}

.cta-sub {
  margin-top: 26px;
  font-size: 15px;
  font-weight: 600;
  line-height: 150%;
}

/* FAQ ------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 27px;
}

.faq-item {
  background: var(--beige);
  border-radius: 10px;
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
}

.faq-mark {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--red);
  border-radius: 100%;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #FFFFFF;
  transform: translate(-50%, -50%);
}

.faq-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-mark::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
  padding: 0 16px 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 175%;
}

/* リセットが p に line-height: 1 を直接あてているため、
   .faq-a からの継承では効かない。実体側で行送りを指定し直す */
.faq-a p {
  line-height: 25px;
}

.faq-a b {
  font-weight: 700;
}

.faq-a p + p {
  margin-top: 1.2em;
}

.faq-a .note-list {
  margin-top: 8px;
}

.faq-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
}

/* ドコモの銀行とは ------------------------------------------------------ */
.bank {
  padding: 40px 16px;
  text-align: center;
  color: #FFFFFF;
  background: var(--red);
}

/* 見出しはSVG（239×60）を実寸で中央に置く。
   上下6pxは文字だったときの半行間（line-height 150%の余り）を再現するもの */
.bank-catch {
  width: 239px;
  max-width: 100%;
  margin-inline: auto;
  padding: 6px 0;
}

/* ロゴはSVG（264×73）を実寸で中央に置く */
.bank-logo {
  width: 264px;
  margin: 38px auto 0;
}

.bank-text {
  margin-top: 39px;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  text-align: left;
}

.bank-note {
  margin-top: 9px;
  text-align: left;
}

/* 3つのメリット --------------------------------------------------------- */
.merit-title {
  margin-top: 17px;
  font-size: 22px;
  font-weight: 600;
  line-height: 150%;
  text-align: center;
  color: var(--text-alt);
}

.merit-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 24px;
}

.merit-card {
  /* padding-top はマージン相殺を防ぐためのもの（.merit-no のマイナスマージン用） */
  padding: 2px 16px 14px;
  color: var(--text-alt);
  background: #FFFFFF;
  border-radius: 10px;
}

/* 番号バッジはカード上端から2px上にはみ出す */
.merit-no {
  display: block;
  width: 48px;
  height: auto;
  margin-top: -4px;
}

.merit-lead {
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
}

.merit-catch {
  font-size: 22px;
  font-weight: 600;
  line-height: 150%;
}

.merit-catch sup {
  font-size: 11px;
  vertical-align: super;
}

.merit-image {
  margin-top: 17px;
}

.merit-text {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 175%;
}

.merit-notes {
  margin-top: 17px;
  color: var(--note);
}

/* 口座開設の流れ -------------------------------------------------------- */
.flow {
  padding: 32px 16px 30px;
  background: #FFFFFF;
}

.flow-title {
  margin-top: 17px;
  font-size: 24px;
  font-weight: 700;
  line-height: 150%;
  text-align: center;
  color: var(--text-alt);
}

.flow-alert {
  margin-top: 24px;
}

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.flow-alert + .flow-list {
  margin-top: 15px;
}

/* 上下パディングは本文側に持たせる。
   カードの上下で余白が違うため、カードに持たせるとサムネイルの
   align-self: center がカードの見た目の中央とずれる */
.flow-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  background: var(--beige-3);
  border-radius: 10px;
}

.flow-card-body {
  flex: 1;
  padding: 2px 0 21px;
}

.flow-card-title {
  margin-top: 11px;
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  color: var(--text-alt);
}

.flow-card-link {
  margin-top: 8px;
}

.flow-thumb {
  flex-shrink: 0;
  align-self: center;
  display: block;
  width: 80px;
  height: auto;
}

.flow-bubble {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 25px auto 0;
  padding: 7px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 150%;
  color: var(--text-alt);
  background: var(--beige-3);
  border-radius: 100vw;
}

.flow-bubble::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  border-width: 8px 7px 0;
  border-style: solid;
  border-color: var(--beige-3) transparent transparent;
  transform: translateX(-50%);
}

.flow-btn {
  position: relative;
  z-index: 0;
  margin-top: -4px;
}

.flow-notes {
  margin-top: 14px;
  color: var(--note);
}

/* 誕生祭バナー ---------------------------------------------------------- */
/* 見出しの背景まで含む1枚絵を敷く。
   --u は390px設計をセクション幅に比例させる単位。
   背景画像（幅100%で伸縮）と見出し・ロゴの位置を常に一致させるために使う。
   背景の下端色は画像の下端と同じ #CC0033 なので継ぎ目が出ない。 */
/* 左右のpaddingは子側に持たせる。
   container-type はコンテンツボックス基準になるため、
   セクション幅＝設計幅(390px)として --u を求められるようにする。 */
.tanjo {
  --u: 0.25641vw;
  padding: 0 0 29px;
  text-align: center;
  color: #FFFFFF;
  background: #CC0033 url(/contents/lp/dpoint-yamawake/images/bg_tanjo.svg) top center / 100% auto no-repeat;
}

/* コンテンツが390px固定になる幅ではフォールバックも等倍にする */
@media screen and (min-width: 541px) {
  .tanjo {
    --u: 1px;
  }
}

/* コンテナクエリ単位が使えるブラウザではセクション幅を基準にする
   （ビューポート幅とカラム幅が一致しない場合でもずれない）。
   container-type は独立した整形コンテキストも作るため、
   .tanjo-title の上マージンがセクション外へ相殺されない。 */
@supports (container-type: inline-size) {
  .tanjo {
    container-type: inline-size;
    --u: 0.25641cqw;
  }
}

.tanjo-title {
  margin-top: calc(31 * var(--u));
  padding-inline: 16px;
  font-size: calc(24 * var(--u));
  font-weight: 700;
  line-height: 150%;
}

/* 背景画像のロゴ部分の高さを確保するスペーサー（画像と同じ比率で伸縮する） */
.tanjo-banner {
  margin-top: calc(9 * var(--u));
  aspect-ratio: 390 / 248;
}

.tanjo-btn {
  margin-top: 13px;
}

/* キャンペーン詳細 ------------------------------------------------------ */
.detail {
  padding: 40px 24px;
}

.detail-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 150%;
  text-align: center;
}

.detail-name {
  margin-top: 32px;
  font-size: 20px;
  font-weight: 600;
  line-height: 130%;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 400;
  line-height: 150%;
  color: var(--alert);
  text-decoration: underline;
}

.detail-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--alert);
  border-right: 1.5px solid var(--alert);
  transform: rotate(45deg);
}

.detail-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 18px;
  font-weight: 600;
  line-height: 175%;
}

.detail-heading.--first {
  margin-top: 14px;
}

.detail-heading::before {
  content: "";
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  background-color: var(--red);
  border-radius: 100%;
}

.detail-body {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 175%;
  text-align: justify;
}

.detail-body b {
  font-weight: 600;
}

.detail-body + .detail-body {
  margin-top: 0;
}

.detail-body b {
  font-weight: 700;
}

.detail-dot-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 6px;
}

.detail-dot {
  position: relative;
  padding-left: 1.15em;
  font-size: 14px;
  font-weight: 400;
  line-height: 175%;
  text-align: justify;
}

.detail-dot::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}

.detail-dot em {
  font-style: normal;
  color: var(--red);
}

.detail-notes {
  margin-top: 12px;
}

.detail-notes .note {
  font-weight: 400;
}

.detail-notes .note.--alert {
  color: var(--alert-strong);
}

.detail-table {
  width: 100%;
  margin-top: 20px;
  border: 1px solid #E4E4E4;
}

.detail-table th {
  width: 33%;
  padding: 14px 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  text-align: left;
  vertical-align: top;
  background: #F5F5F5;
  border: 1px solid #E4E4E4;
}

.detail-table td {
  padding: 14px 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  text-align: left;
  vertical-align: top;
  border: 1px solid #E4E4E4;
}

.detail-caution-title {
  margin-top: 34px;
  font-size: 14px;
  font-weight: 600;
  line-height: 175%;
}

.detail-inline-link {
  color: var(--text);
  text-decoration: underline;
}

/* フッター -------------------------------------------------------------- */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 25px 16px 27px;
  background: #F5F5F5;
}

.sns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 28px 0 32px;
  background: #FFFFFF;
  border-radius: 6px;
}

.sns-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
}

.sns-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.sns-item {
  display: block;
  width: 40px;
  height: 40px;
}

.footer-separator {
  width: 100%;
  height: 1px;
  background: #E4E4E4;
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.footer-link {
  font-size: 12px;
  font-weight: 600;
  line-height: 150%;
  color: var(--text);
  text-decoration: underline;
}

.footer-copyright {
  font-size: 12px;
  font-weight: 600;
  line-height: 150%;
  text-align: center;
  color: var(--note);
}

/* 追従CTA --------------------------------------------------------------- */
/* 「キャンペーン参加方法」までスクロールすると出現する */
.follow {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 10px 16px 12px;
  text-align: center;
  background: rgba(240, 240, 242, 0.92);
  backdrop-filter: blur(24px);
  visibility: hidden;
  opacity: 0;
  transform: translateY(100%);
  transition:
    transform 0.4s cubic-bezier(0.4, 0.4, 0, 1),
    opacity 0.3s ease,
    visibility 0.4s;
}

.follow.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .follow {
    transition: none;
  }
}

@media screen and (min-width: 820px) {
  .follow {
    display: none;
  }
}

/* 追従CTAに隠れないよう、フッター内で末尾の余白を確保する。
   .container の padding だと最下部で地色の帯として見えてしまうため、
   フッターの背景をCTAの下まで伸ばす形で確保する */
@media screen and (max-width: 819px) {
  .footer {
    padding-bottom: 159px;
  }
}

.follow .btn {
  max-width: 288px;
}

.follow-catch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 150%;
  color: var(--red);
}

.follow-catch::before,
.follow-catch::after {
  content: "";
  display: block;
  width: 2px;
  height: 15px;
  background-color: var(--red);
}

.follow-catch::before {
  transform: rotate(-25deg);
}

.follow-catch::after {
  transform: rotate(25deg);
}

.follow-btn {
  margin-top: 6px;
}

.follow-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  color: var(--link);
  text-decoration: underline;
}

/* スクリーンリーダー用 -------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
