@charset "UTF-8";

/* ============================================================
   きらやか銀行 さくらんぼ定期預金 5年plus LP
   - 基準幅: PC 1440px / SP 390px
   - Breakpoint: 768px
   - Figma: PC 1547:3 / SP 1567:13
   ============================================================ */

/* ------------------------------------------------------------
   1. Design Tokens
   ------------------------------------------------------------ */
:root {
  /* color */
  --c-red: #d10700; /* 見出し帯・FAQ質問帯・商品概要ヘッダ・強調赤 */
  --c-red-btn: #c40019; /* 追従CTA 赤 */
  --c-red-btn-sd: #800000; /* 同 影 */
  --c-red-btn2: #de0f0a; /* 新規口座開設はこちら（大） */
  --c-red-btn2-sd: #a50000; /* 同 影 */
  --c-blue: #2a4293; /* 追従CTA 青 / STEP内ボタン */
  --c-blue-sd: #091a54; /* 追従CTA 青 影 */
  --c-blue-sd2: #0e205b; /* STEP内ボタン 影 */
  --c-pink-bd: #ea5d8c; /* カード枠 3px */
  --c-pink-bd-sp: #ed719a; /* カード枠 3px（SP お申込みの流れ） */
  --c-pink-band: #e03f6c; /* KV 期間バンド */
  --c-tri: #ffb3b3; /* ステップ間の三角 */
  --c-sky: #9cd8f6; /* KV 上部の空（KV背景PNGは透過） */
  --c-yellow-lt: #ffea6d; /* 金額のハイライト帯 */
  --c-bg-pink: #ffeef4; /* 受取利息 / FAQ セクション背景 */
  --c-bg-beige: #f7f2e8; /* 商品概要ストライプ / 準備物ボックス / 追従CTA背景 */
  --c-text: #333;
  --c-link: #0066cc;
  --c-line: #adadad;
  --c-white: #fff;

  /* font */
  --f-base:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo,
    sans-serif;
  --f-num: "Poppins", var(--f-base);

  /* layout */
  --w-header: 1002px;
  --w-wide: 1100px;
  --w-mid: 910px;
  --w-narrow: 840px;
  --w-company: 610px;
  --gutter: 40px;

  /* 追従CTAバーの高さ（body の下パディングに使う） */
  --h-cta: 116px;
}

/* ------------------------------------------------------------
   2. Base / Reset
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 52px;
  }
}

body {
  margin: 0;
  /* 常時表示の追従CTAバーがフッターを覆わないように下を空ける */
  padding-bottom: var(--h-cta);
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--f-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}
a {
  color: var(--c-link);
}
button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.u-visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* PC / SP 出し分け */
.u-pc {
  display: block;
}
.u-sp {
  display: none;
}
/* br は inline のまま切り替える（block にすると改行として機能しない） */
br.u-sp {
  display: none;
}
@media screen and (max-width: 768px) {
  br.u-sp {
    display: inline;
  }
  br.u-pc {
    display: none;
  }
}

/* ------------------------------------------------------------
   3. Common Parts
   ------------------------------------------------------------ */

/* 全幅の見出し帯（#d10700） */
.c-sectionTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 66px;
  background: var(--c-red);
  color: var(--c-white);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-align: center;
}

/* 帯なしの中央見出し（よくあるご質問） */
.c-heading {
  color: var(--c-text);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-align: center;
}

/* ボタン共通 */
.c-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: var(--c-white);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

/* ボタン内の「>」シェブロン */
.c-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.c-btn:hover {
  opacity: 0.85;
}

/* 立体影付きボタンは押し込み演出 */
.c-btn--red:active,
.c-btn--blue:active,
.c-btn--step:active,
.c-btn--redLarge:active {
  transform: translateY(4px);
  box-shadow: none !important;
}

/* 追従CTA（赤 / 青） */
.c-btn--red,
.c-btn--blue {
  width: 300px;
  height: 56px;
  padding: 0 40px 0 20px;
  border-radius: 40px;
  font-size: 25px;
  line-height: 1.2;
}
.c-btn--red {
  background: var(--c-red-btn);
  box-shadow: 0 5px 0 var(--c-red-btn-sd);
}
.c-btn--blue {
  background: var(--c-blue);
  box-shadow: 0 5px 0 var(--c-blue-sd);
}
.c-btn--red::after,
.c-btn--blue::after {
  right: 22px;
}

/* お申込みの流れ STEPカード内の青ボタン */
.c-btn--step {
  width: 100%;
  max-width: 210px;
  height: 35px;
  padding: 0 10px;
  border-radius: 5px;
  background: var(--c-blue);
  box-shadow: 0 5px 0 var(--c-blue-sd2);
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0.1em;
}
/* Figma ではこのボタンにアイコンなし */
.c-btn--step::after {
  content: none;
}

/* 商品について詳しく見る（黒） */
.c-btn--dark {
  min-width: 255px;
  padding: 12px 32px 12px 25px;
  border-radius: 40px;
  background: var(--c-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}
/* Figma: この2つは「>」ではなく白い三角（Polygon） */
.c-btn--dark::after,
.c-btn--redLarge::after {
  right: 14px;
  top: 52%;
  width: 0;
  height: 0;
  border-width: 5.5px 0 5.5px 9.5px;
  border-style: solid;
  border-color: transparent transparent transparent currentColor;
  transform: translateY(-50%);
}

/* 新規口座開設はこちら（赤・大） */
.c-btn--redLarge {
  min-width: 307px;
  padding: 10px 32px 10px 25px;
  border-radius: 40px;
  background: var(--c-red-btn2);
  box-shadow: 0 5px 0 var(--c-red-btn2-sd);
  font-size: 25px;
  line-height: 1.2;
}

/* アコーディオン */
.c-accordion {
  background: var(--c-white);
}

.c-accordion__head {
  margin: 0;
}

.c-accordion__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 60px 12px 20px;
  background: var(--c-red);
  color: var(--c-white);
  text-align: left;
}

.c-accordion__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

/* ＋／− アイコン（開いている時は「−」） */
.c-accordion__icon {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--c-white);
}
.c-accordion__icon::before,
.c-accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 3px;
  margin: -1.5px 0 0 -9px;
  background: var(--c-red);
  transition: transform 0.3s ease;
}
.c-accordion__icon::after {
  transform: rotate(90deg);
}
/* 開くと縦棒が回転して横棒に重なり「−」になる */
.c-accordion__btn[aria-expanded="true"] .c-accordion__icon::after {
  transform: rotate(0deg);
}

/* 開閉は grid-template-rows 0fr↔1fr でスライド */
.c-accordion__body {
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  visibility: visible;
  transition:
    grid-template-rows 0.35s ease,
    visibility 0s;
}
.c-accordion__inner {
  min-height: 0;
  overflow: hidden;
}
.c-accordion__body.is-closed {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 0.35s ease,
    visibility 0s 0.35s;
}
@media (prefers-reduced-motion: reduce) {
  .c-accordion__body,
  .c-accordion__icon::before,
  .c-accordion__icon::after {
    transition: none;
  }
}

.c-accordion__text {
  padding: 20px;
  font-size: 16px;
  line-height: 1.6;
}

/* 商品概要の見出しは大きい帯 */
.p-outline .c-accordion__btn {
  min-height: 60px;
  padding: 12px 20px;
  border-radius: 10px 10px 0 0;
}
.p-outline .c-accordion__title {
  font-size: 30px;
  line-height: 1.3;
}

/* FAQ の Q 帯は左寄せ */
.c-accordion--qa .c-accordion__btn {
  justify-content: flex-start;
}

/* 横スクロール領域（scroll-hint 対象） */
.js-scrollable {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* ------------------------------------------------------------
   4. Header
   ------------------------------------------------------------ */
.l-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--c-white);
  transition: box-shadow 0.2s ease;
}

/* スクロール追従中はコンテンツとの境界に影を出す */
.l-header.is-scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(var(--w-header), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 26px 0;
}

.l-header__logo {
  flex: 0 1 440px;
  line-height: 1;
}
.l-header__logo a {
  display: block;
}
.l-header__logo img {
  width: 100%;
  height: auto;
}

.l-header__nav {
  flex: 0 0 auto;
}

.l-header__navList {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.7;
}
.l-header__navList li + li::before {
  content: "｜";
  color: var(--c-text);
}
.l-header__navList a {
  color: var(--c-text);
  text-decoration: none;
}
.l-header__navList a:hover {
  text-decoration: underline;
}

/* ハンバーガー（SPのみ） */
.l-header__toggle {
  display: none;
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}
.l-header__toggleBar,
.l-header__toggleBar::before,
.l-header__toggleBar::after {
  position: absolute;
  left: 6px;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--c-red);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}
.l-header__toggleBar {
  top: 17px;
}
.l-header__toggleBar::before {
  content: "";
  left: 0;
  top: -8px;
}
.l-header__toggleBar::after {
  content: "";
  left: 0;
  top: 8px;
}

.l-header__toggle[aria-expanded="true"] .l-header__toggleBar {
  background: transparent;
}
.l-header__toggle[aria-expanded="true"] .l-header__toggleBar::before {
  transform: translateY(8px) rotate(45deg);
}
.l-header__toggle[aria-expanded="true"] .l-header__toggleBar::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* ドロワー */
.l-drawer {
  display: none;
  border-top: 1px solid var(--c-bg-beige);
  background: var(--c-white);
}
.l-drawer[hidden] {
  display: none;
}
.l-drawer__list a {
  display: block;
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-bg-beige);
  color: var(--c-text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

/* ------------------------------------------------------------
   5. KV
   ------------------------------------------------------------
   金利・期間は画像に焼き込まず HTML テキストで載せる。
   Figma 1440×750 の座標を「％＝ステージ比率」＋「文字サイズ＝--k」で再現する。
   --k は 1440px 時に 1px となる係数（cqw が使えない環境向けに vw で代替）。
   KV は全幅。1440px を超えると画像・文字が同じ比率で拡大していく。
   ------------------------------------------------------------ */
.p-kv {
  background: var(--c-white);
}

.p-kv__stageOuter {
  width: 100%;
  margin: 0 auto;
}
@supports (width: 1cqw) {
  .p-kv__stageOuter {
    container-type: inline-size;
  }
}

.p-kv__stage {
  --k: 0.0694444vw; /* 1440 基準。1440px 超は画像・文字とも同じ比率で拡大する */
  position: relative;
  aspect-ratio: 1440 / 750;
}
@supports (width: 1cqw) {
  .p-kv__stage {
    --k: 0.0694444cqw;
  }
}

/* 上部の空（KV背景PNGが透過しているのでこの色が透ける） */
.p-kv__sky {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 49.6%; /* 372 / 750 */
  background: var(--c-sky);
}

.p-kv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%; /* 600 / 750 */
}
/* img の width/height 属性のまま止まらないよう、ステージいっぱいに引き伸ばす
   （枠と画像のアスペクト比は一致しているので歪まない） */
.p-kv__bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
}

.p-kv__title {
  position: absolute;
  top: 2%; /* 15 / 750 */
  left: 50%;
  width: 72.2222%; /* 1040 / 1440 */
  transform: translateX(-50%);
}
.p-kv__title img {
  width: 100%;
}

/* 金利ブロック */
/* 金利・税引後・期間バンドをこのブロック内でフロー配置する。
   Figma の下端合わせ（バンド下 51px → バンド 69px → 余白 30px）から逆算した起点。 */
.p-kv__rateBlock {
  position: absolute;
  top: 48.1333%; /* 361 / 750 */
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  text-align: center;
}

.p-kv__rate {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: var(--c-red);
  font-weight: 700;
  /* 1.3 だと数字の下に行送り分の余白が大きく残るので 1 まで詰める */
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
/* 「年」だけ Figma ではベースラインより少し上に置かれている */
.p-kv__rateUnit {
  position: relative;
  bottom: calc(14 * var(--k));
  color: #000;
  font-size: calc(100 * var(--k));
  letter-spacing: calc(10 * var(--k));
}
.p-kv__rateNum {
  font-size: calc(200 * var(--k));
}
.p-kv__ratePct {
  font-size: calc(100 * var(--k));
}

.p-kv__rateNet {
  margin-top: 12px;
  color: #000;
  font-size: calc(30 * var(--k));
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: calc(3 * var(--k));
}

/* 期間バンド（フロー配置。日付が長くなれば横に伸びる） */
.p-kv__period {
  display: inline-block;
  min-width: 48.8889%; /* 704 / 1440 */
  margin-top: calc(30 * var(--k)); /* Figma: 税引後ブロックとの間隔 30px */
  padding: calc(15 * var(--k)) calc(21 * var(--k));
  border-radius: calc(15 * var(--k));
  background: var(--c-pink-band);
  color: var(--c-white);
  font-size: calc(30 * var(--k));
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: calc(3 * var(--k));
  text-align: center;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   6. 受取利息
   ------------------------------------------------------------ */
.p-interest {
  padding: 50px 0 14px;
  background: var(--c-bg-pink);
}

.p-interest__inner {
  width: min(var(--w-wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  text-align: center;
}

.p-interest__lead {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
}

.p-interest__label {
  margin-top: 30px;
  color: var(--c-red);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.p-interest__amount {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  margin-top: 12px;
  line-height: 1.3;
  white-space: nowrap;
}
/* 黄色のハイライト帯（Figma: ブロック高117pxのうち下から12px、高さ40px） */
.p-interest__amount::before {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 12px;
  left: -8px;
  height: 40px;
  background: var(--c-yellow-lt);
}

.p-interest__num {
  position: relative;
  color: var(--c-red);
  font-family: var(--f-num);
  font-size: 90px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.p-interest__unit {
  position: relative; /* 黄色帯より前面に */
  bottom: 5px;
  color: var(--c-red);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0; /* 1文字なので字送り分の余白を作らない */
}

/* 「円」の右上に固定（金額ブロックは内容幅なので画面幅が変わっても動かない） */
.p-interest__tax {
  position: absolute;
  top: 17px;
  right: 3px;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.p-interest__note {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.6;
}

.p-interest__fig {
  margin-top: 20px;
}
.p-interest__fig img {
  width: 450px;
  max-width: 100%;
}

/* ------------------------------------------------------------
   7. お申込みの流れ
   ------------------------------------------------------------ */
.p-flow {
  background: var(--c-white);
}

.p-flow__inner {
  width: min(var(--w-narrow), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.p-flow__lead {
  padding-top: 50px;
  font-size: 24px;
  line-height: 1.6;
  text-align: center;
}

.p-flow__sub {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
}

.p-flow__steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 45px; /* 9px + 三角27px + 9px */
  margin-top: 40px;
}

.p-flow__step {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 17px 20px 24px;
  border: 3px solid var(--c-pink-bd);
  border-radius: 10px;
  background: var(--c-white);
  text-align: center;
}

/* ステップ間の三角（疑似要素で生成） */
.p-flow__step + .p-flow__step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -36px;
  width: 27px;
  height: 46px;
  margin-top: -23px;
  background: var(--c-tri);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.p-flow__stepNum {
  color: var(--c-red);
  font-size: 16px;
  line-height: 1.6;
}
.p-flow__stepTitle {
  color: var(--c-red);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.p-flow__stepFig {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  min-height: 126px;
}
.p-flow__stepFig img {
  width: auto;
  max-height: 126px;
}
.p-flow__stepFig--wide img {
  max-width: 100%;
  max-height: 177px;
}

.p-flow__step .c-btn--step {
  margin-top: 20px;
}

/* ------------------------------------------------------------
   8. 商品概要
   ------------------------------------------------------------ */
.p-outline {
  padding: 100px 0;
  background: var(--c-white);
}
.p-outline__inner {
  width: min(var(--w-mid), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.p-outline__table {
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.p-outline__row {
  display: flex;
  padding: 15px;
  background: var(--c-white);
  font-size: 16px;
  line-height: 1.6;
}
.p-outline__row:nth-child(even) {
  background: var(--c-bg-beige);
}

.p-outline__row dt {
  flex: 0 0 197px;
  font-weight: 700;
}
.p-outline__row dd {
  flex: 1;
  min-width: 0;
}

.p-outline__more {
  margin-top: 40px;
  text-align: center;
}

/* ------------------------------------------------------------
   9. よくあるご質問
   ------------------------------------------------------------ */
.p-faq {
  padding: 100px 0;
  background: var(--c-bg-pink);
}
.p-faq__inner {
  width: min(var(--w-mid), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}
.p-faq__list {
  margin-top: 50px;
}
.p-faq__list .c-accordion + .c-accordion {
  margin-top: 20px;
}

/* ------------------------------------------------------------
   10. Web口座開設の流れ
   ------------------------------------------------------------ */
.p-web {
  background: var(--c-white);
}
.p-web__inner {
  width: min(var(--w-wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding-bottom: 100px;
}

.p-web__lead {
  padding-top: 40px;
  font-size: 24px;
  line-height: 1.6;
  text-align: center;
}

.p-web__prepare {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 38px;
}
.p-web__prepareItem {
  width: 245px;
}

.p-web__prepareFig {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  background: var(--c-bg-beige);
}
.p-web__prepareFig img {
  width: auto;
  max-height: 130px;
}

.p-web__prepareTitle {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.p-web__prepareNote {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.p-web__scroller {
  margin-top: 70px;
}

.p-web__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}

.p-web__step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}
/* ステップ間の三角 */
.p-web__step + .p-web__step::before {
  content: "";
  position: absolute;
  top: 82px;
  left: -32px; /* (gap 40 + 三角27) / 2 */
  width: 27px;
  height: 46px;
  background: var(--c-tri);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.p-web__stepCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 210px;
  padding: 8px 10px 20px;
  border: 3px solid var(--c-pink-bd);
  border-radius: 10px;
  background: var(--c-white);
}
.p-web__stepNum {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
.p-web__stepFig {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.p-web__stepFig img {
  width: auto;
  max-height: 120px;
}

.p-web__stepTitle {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}
.p-web__stepText {
  margin-top: 13px;
  font-size: 16px;
  line-height: 1.6;
}

.p-web__cta {
  margin-top: 50px;
  text-align: center;
}
.p-web__guide {
  margin-top: 36px;
  text-align: center;
}
.p-web__guide a {
  color: var(--c-link);
  font-size: 16px;
  letter-spacing: 0;
  text-decoration: underline;
}

/* ------------------------------------------------------------
   11. 会社概要
   ------------------------------------------------------------ */
.p-company {
  background: var(--c-white);
}
.p-company__inner {
  width: min(var(--w-company), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 50px 0 100px;
}

.p-company__row {
  display: flex;
  padding: 21px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 16px;
  line-height: 1.6;
}
.p-company__row:first-child {
  padding-top: 0;
}
.p-company__row:last-child {
  border-bottom: 0;
}
.p-company__row dt {
  flex: 0 0 192px;
}
.p-company__row dd {
  flex: 1;
  min-width: 0;
}
.p-company__row dd a {
  color: var(--c-link);
  text-decoration: none;
}
.p-company__row dd a:hover {
  text-decoration: underline;
}

.p-company__date {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: normal;
  text-align: right;
}

/* ------------------------------------------------------------
   12. Footer
   ------------------------------------------------------------ */
.l-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 12px 20px;
  background: var(--c-red);
}
.l-footer__copy {
  color: var(--c-white);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: normal;
  text-align: center;
}

/* ------------------------------------------------------------
   13. 追従CTAバー（常時 画面下部に固定）
   ------------------------------------------------------------ */
.p-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 30px 0;
  background: var(--c-bg-beige);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
}
.p-cta__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: min(var(--w-wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

/* ------------------------------------------------------------
   14. scroll-hint 調整
   ------------------------------------------------------------ */
.scroll-hint-icon-wrap {
  z-index: 5;
}
.scroll-hint-icon {
  background: rgba(0, 0, 0, 0.7);
}
.scroll-hint-text {
  font-size: 11px;
  letter-spacing: normal;
}

/* ============================================================
   15. Tablet（1440px 未満の流動縮小補正）
   ============================================================ */
@media screen and (min-width: 769px) and (max-width: 1000px) {
  .p-web__steps {
    gap: 30px;
  }
  .p-web__step + .p-web__step::before {
    left: -29px;
  }
  .p-interest__num {
    font-size: 72px;
  }
  .p-interest__unit {
    font-size: 40px;
    bottom: 4px;
  }
  .p-interest__amount::before {
    bottom: 10px;
    height: 32px;
  }
  .p-interest__tax {
    top: 13px;
    right: 1px;
    font-size: 12px;
  }

  .p-flow__steps {
    gap: 37px;
  }
  .p-flow__step {
    padding: 17px 12px 24px;
  }
  .p-flow__step + .p-flow__step::before {
    left: -32px;
  }
  .p-flow__stepTitle {
    font-size: 16px;
  }
  .c-btn--step {
    font-size: 13px;
    letter-spacing: 0.02em;
  }
}

/* ============================================================
   16. SP（768px 以下）
   ============================================================ */
@media screen and (max-width: 768px) {
  :root {
    --gutter: 20px;
    --h-cta: 88px;
  }

  body {
    font-size: 15px;
  }

  .u-pc {
    display: none;
  }
  .u-sp {
    display: block;
  }

  /* --- Header --- */
  .l-header__inner {
    width: 100%;
    gap: 12px;
    padding: 8px 14px 8px 20px;
  }
  .l-header__logo {
    flex: 1 1 auto;
    max-width: 304px;
  }
  .l-header__nav {
    display: none;
  }
  .l-header__toggle {
    display: block;
  }
  /* ドロワーはヘッダー直下にオーバーレイ（開いてもコンテンツを押し下げない） */
  .l-drawer {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100vh - 52px);
    max-height: calc(100dvh - 52px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.12);
  }

  /* --- KV（Figma SP 390×445） --- */
  .p-kv__stageOuter {
    max-width: none;
  }
  .p-kv__stage {
    /* 390 基準。画像と文字を同じ比率で拡縮し、どの幅でも SP デザインどおりの
       見た目になるようにする（頭打ちにすると帯との間に余白が空くため） */
    --k: 0.2564103vw;
    aspect-ratio: 390 / 445;
  }
  @supports (width: 1cqw) {
    .p-kv__stage {
      --k: 0.2564103cqw;
    }
  }
  .p-kv__sky {
    display: none; /* SP背景PNGは全面不透過 */
  }
  .p-kv__bg {
    height: 100%;
  }
  .p-kv__title {
    top: 6.7416%; /* 30 / 445 */
    width: 95.3846%; /* 372 / 390 */
  }
  .p-kv__rateBlock {
    top: 50.9213%; /* 226.6 / 445 — バンド下端 30px から逆算 */
  }
  .p-kv__rateUnit {
    bottom: calc(7 * var(--k));
    font-size: calc(50 * var(--k));
    letter-spacing: calc(5 * var(--k));
  }
  .p-kv__rateNum {
    font-size: calc(110 * var(--k));
  }
  .p-kv__ratePct {
    font-size: calc(56 * var(--k));
  }
  .p-kv__rateNet {
    margin-top: 0;
    font-size: calc(18 * var(--k));
    letter-spacing: calc(1.8 * var(--k));
  }
  .p-kv__period {
    min-width: 84.6154%; /* 330 / 390 */
    margin-top: calc(14 * var(--k)); /* Figma SP: 税引後ブロックとの間隔 14px */
    padding: calc(10 * var(--k)) calc(10 * var(--k));
    border-radius: calc(8 * var(--k));
    font-size: calc(16 * var(--k));
    letter-spacing: 0;
  }

  /* --- 受取利息 --- */
  .p-interest {
    padding: 50px 0 20px;
  }
  .p-interest__lead {
    font-size: 26px;
  }
  .p-interest__label {
    margin-top: 20px;
    font-size: 22px;
  }
  .p-interest__amount {
    margin-top: 6px;
  }
  .p-interest__num {
    font-size: 80px;
  }
  .p-interest__unit {
    font-size: 50px;
    bottom: 4px;
  }
  .p-interest__amount::before {
    bottom: 14px;
    height: 40px;
  }
  .p-interest__tax {
    top: 11px;
    right: 3px;
  }
  .p-interest__note {
    margin-top: 20px;
    font-size: 16px;
  }
  .p-interest__fig {
    margin-top: 20px;
  }
  .p-interest__fig img {
    width: 350px;
  }

  /* --- 追従CTA --- */
  .p-cta {
    padding: 10px 0;
  }
  .p-cta__inner {
    gap: 10px;
  }
  .c-btn--red,
  .c-btn--blue {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 48px;
    padding: 0 22px 0 8px;
    font-size: 15px;
    letter-spacing: 0.04em;
  }
  .c-btn--red::after,
  .c-btn--blue::after {
    right: 10px;
    width: 7px;
    height: 7px;
    border-width: 2px;
  }

  /* --- 共通見出し --- */
  .c-sectionTitle {
    height: auto;
    min-height: 60px;
    padding: 10px 20px;
    font-size: 26px;
  }
  .c-heading {
    padding: 0 20px;
    font-size: 26px;
  }

  /* --- お申込みの流れ --- */
  .p-flow__inner {
    padding-bottom: 50px;
  }
  .p-flow__lead {
    padding-top: 30px;
    font-size: 20px;
  }
  .p-flow__sub {
    margin-top: 30px;
    font-size: 16px;
  }

  .p-flow__steps {
    flex-direction: column;
    gap: 52px;
    margin-top: 30px;
  }
  /* Figma SP: カード350×210 / テキスト左・アイコン右上・ボタンは枠いっぱい */
  .p-flow__step {
    display: block;
    min-height: 210px;
    padding: 39px 17px 20px;
    border-color: var(--c-pink-bd-sp);
    text-align: left;
  }
  .p-flow__stepNum {
    font-size: 16px;
  }
  .p-flow__stepTitle {
    font-size: 18px;
  }
  /* アイコンは絶対配置にしてテキスト行の高さに影響させない */
  .p-flow__stepFig {
    position: absolute;
    top: 14px;
    right: 17px;
    width: 100px;
    margin-top: 0;
    min-height: 0;
  }
  .p-flow__stepFig img {
    max-height: 110px;
  }
  .p-flow__stepFig--wide {
    right: 8px;
    width: 130px;
  }
  .p-flow__stepFig--wide img {
    max-height: 120px;
  }
  .p-flow__step .c-btn--step {
    width: 100%;
    max-width: none;
    height: 40px;
    margin-top: 44px;
    font-size: 16px;
  }
  /* STEP3 はボタンがない分カードが低い */
  .p-flow__step:last-child {
    min-height: 170px;
    padding-top: 52px;
  }

  /* 縦向きの三角に */
  .p-flow__step + .p-flow__step::before {
    top: -44px;
    left: 50%;
    width: 93px;
    height: 32px;
    margin: 0 0 0 -46.5px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }

  /* --- 商品概要 --- */
  .p-outline {
    padding: 50px 0;
  }
  .p-outline .c-accordion__title {
    font-size: 26px;
  }
  .p-outline__row {
    display: block;
    padding: 20px;
    font-size: 16px;
  }
  .p-outline__row dt {
    margin-bottom: 8px;
  }
  .p-outline__more {
    margin-top: 24px;
  }
  .c-btn--dark {
    min-width: 255px;
    font-size: 18px;
  }

  /* --- FAQ --- */
  .p-faq {
    padding: 50px 0;
  }
  .c-heading + .p-faq__list {
    margin-top: 30px;
  }
  .c-accordion__btn {
    min-height: 70px;
    padding: 14px 56px 14px 14px;
  }
  .c-accordion__title {
    font-size: 16px;
  }
  .c-accordion__icon {
    right: 10px;
  }
  .c-accordion__text {
    padding: 20px;
    font-size: 16px;
  }

  /* --- Web口座開設 --- */
  .p-web__inner {
    padding-bottom: 50px;
  }
  .p-web__lead {
    padding-top: 30px;
    font-size: 20px;
  }

  .p-web__prepare {
    gap: 21px;
    margin-top: 30px;
  }
  .p-web__prepareItem {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
  .p-web__prepareFig {
    height: 170px;
  }
  .p-web__prepareFig img {
    max-height: 128px;
  }
  .p-web__prepareNote {
    font-size: 14px;
  }

  /* STEPカード4枚は Figma SP どおり横スクロール（scroll-hint 対象） */
  .p-web__scroller {
    margin: 40px calc(var(--gutter) * -1) 0;
    padding-bottom: 6px;
  }
  .p-web__steps {
    gap: 20px;
    width: max-content;
    padding: 0 var(--gutter);
  }
  .p-web__step {
    flex: 0 0 245px;
    width: 245px;
  }
  .p-web__step + .p-web__step::before {
    display: none;
  }
  .p-web__stepTitle {
    font-size: 16px;
  }
  .p-web__stepText {
    font-size: 16px;
  }

  .p-web__cta {
    margin-top: 40px;
  }
  .c-btn--redLarge {
    min-width: 0;
    width: min(307px, 100%);
    font-size: 21px;
  }
  .p-web__guide {
    margin-top: 28px;
  }
  .p-web__guide a {
    font-size: 16px;
  }

  /* --- 会社概要 --- */
  .p-company__inner {
    padding: 30px 0 60px;
  }
  .p-company__row {
    display: block;
    padding: 20px 0;
    font-size: 16px;
  }
  .p-company__row dt {
    margin-bottom: 7px;
  }
  .p-company__date {
    margin-top: 20px;
    font-size: 15px;
  }

  /* --- Footer --- */
  .l-footer__copy {
    font-size: 12px;
  }
}

/* 374px 以下の微調整 */
@media screen and (max-width: 374px) {
  .p-interest__num {
    font-size: 62px;
  }
  .p-interest__unit {
    font-size: 36px;
    bottom: 3px;
  }
  .p-interest__amount::before {
    bottom: 11px;
    height: 30px;
  }
  .p-interest__tax {
    top: 8px;
    right: 2px;
  }
  .p-interest__lead {
    font-size: 22px;
  }
  .p-interest__label {
    font-size: 19px;
  }
  .c-sectionTitle,
  .c-heading {
    font-size: 22px;
  }
  .c-btn--redLarge {
    font-size: 19px;
  }
}
