@charset "UTF-8";

/* ============================================================
   きらやか銀行 毎月10日限定 高金利定期預金 LP
   - 基準幅: PC 1440px / SP 390px
   - Breakpoint: 768px
   ============================================================ */

/* ------------------------------------------------------------
   1. Design Tokens
   ------------------------------------------------------------ */
:root {
  /* color */
  --c-gold: #be9f00; /* セクション見出し帯・アクセント */
  --c-gold-border: #cfb40a; /* カード枠 */
  --c-yellow: #f8ac09; /* 黄ボタン */
  --c-yellow-sd: #cd8c00; /* 黄ボタン影 */
  --c-yellow-lt: #ffea6d; /* ハイライト帯・KV下端 */
  --c-red: #d10700; /* 強調赤 */
  --c-red-btn: #c40019; /* CTA赤 */
  --c-red-btn-sd: #800000; /* CTA赤影 */
  --c-red-btn2: #de0f0a; /* CTA赤（大） */
  --c-red-btn2-sd: #a50000; /* CTA赤（大）影 */
  --c-blue: #2a4293; /* CTA青 */
  --c-blue-sd: #091a54; /* CTA青影 */
  --c-text: #333;
  --c-link: #06c;
  --c-white: #fff;
  --c-bg-cream: #fffaef;
  --c-bg-lemon: #fff6e2;
  --c-bg-beige: #f7f2e8;
  --c-bg-pink: #fff6f6;
  --c-line: #ccc;
  --c-tri-flow: #ffb3b3; /* お申込みの流れ ステップ間の三角 */
  --c-tri-web: #75a0eb; /* Web口座開設 ステップ間の三角 */

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

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

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

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

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

body {
  margin: 0;
  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;
  }
}

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

/* 全幅の見出し帯（#be9f00） */
.c-sectionTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 66px;
  background: var(--c-gold);
  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--yellow:active,
.c-btn--redLarge:active {
  transform: translateY(4px);
  box-shadow: none !important;
}

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

/* お申込みの流れ内の黄ボタン */
.c-btn--yellow {
  width: 100%;
  max-width: 210px;
  height: 35px;
  padding: 0 10px;
  border-radius: 5px;
  background: var(--c-yellow);
  box-shadow: 0 5px 0 var(--c-yellow-sd);
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0.06em;
}
/* Figma では黄ボタンにアイコンなし */
.c-btn--yellow::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;
}

/* 右向き三角（PC：ステップ間） */
.c-arrow {
  flex: 0 0 27px;
  width: 27px;
  height: 46px;
  background: var(--c-gold);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* アコーディオン */
.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-gold);
  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-gold);
  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;
}

.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: 10;
  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: 29px 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: #e60027;
  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
   ------------------------------------------------------------ */
.p-kv {
  position: relative;
  z-index: 1; /* 下の吹き出し三角を次セクションより前面に */
  padding: 3.3333% 0; /* 48 / 1440 */
  background: var(--c-yellow-lt) url("../img/kv-bg-pc.png") center top / cover
    no-repeat;
}

.p-kv__inner {
  width: 100%;
  text-align: center;
}

.p-kv__visual img {
  width: 63.0556%; /* 908 / 1440 */
  height: auto;
}

/* KV下の吹き出し三角 */
.p-kv__arrow {
  position: absolute;
  top: -40px;
  left: 50%;
  width: 200px;
  height: 100px;
  margin-left: -100px;
  background: var(--c-yellow-lt);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* ------------------------------------------------------------
   6. 受取利息
   ------------------------------------------------------------ */
.p-interest {
  position: relative;
  overflow: hidden;
  padding: 82px 0 50px;
  background: var(--c-bg-lemon);
}

.p-interest__inner {
  position: relative;
  z-index: 1;
  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;
}

.p-interest__label {
  margin-top: 20px;
  color: var(--c-red);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}

/* Figma では「受取利息」の下端と金額ブロックがわずかに重なるため負のマージンで再現 */
/* また [女性] [金額] [男性] の間隔が左右で異なる（92.7px / 74px）ため grid で厳密に配置 */
.p-interest__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  margin-top: -59px;
}

.p-interest__person {
  flex: 0 0 auto;
}
.p-interest__person--woman {
  justify-self: end;
  width: 105px;
  margin-right: 92.7px;
}
.p-interest__person--man {
  justify-self: start;
  width: 140px;
  margin-left: 74px;
}

.p-interest__amount {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  margin-bottom: 14px;
  line-height: 1.3;
  white-space: nowrap;
}
/* 黄色のハイライト帯（Figma: ブロック高117pxのうち 65.44〜105.44px） */
.p-interest__amount::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 11.5px;
  left: 0;
  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;
}

/* Figma: 「円」の行ボックス下端はブロック下端から 21.5px 上 */
.p-interest__unit {
  position: relative; /* 黄色帯より前面に */
  padding-bottom: 21.5px;
  color: var(--c-red);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0; /* 1文字なので字送り分の余白を作らない */
}

/* Figma: ブロック上端から 17px、右端から 3px */
.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 {
  grid-column: 1 / -1;
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.6;
}

/* 背景装飾（Figma 1440px 基準の座標を --x / --y / --w で受け取る） */
.p-interest__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.p-interest__decoItem {
  position: absolute;
  top: var(--y);
  left: calc(50% - 720px + var(--x));
  width: var(--w);
  height: auto;
}

/* ------------------------------------------------------------
   7. CTA
   ------------------------------------------------------------ */
.p-cta {
  padding: 30px 0;
  background: var(--c-white);
}

/* JS 有効時は画面下部に追従するバーになる（初期から表示） */
.js .p-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 14px 0;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0s 0.4s;
}
.js .p-cta.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0s;
}
@media (prefers-reduced-motion: reduce) {
  .js .p-cta {
    transition: none;
  }
  .c-accordion__body {
    transition: none;
  }
}
.p-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: min(var(--w-wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

/* ------------------------------------------------------------
   8. 3つの特徴
   ------------------------------------------------------------ */
.p-feature {
  padding: 40px 0 100px;
  background: #fff6e2;
}
.p-feature__inner {
  width: min(var(--w-wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.p-feature__scroller {
  margin-top: 50px;
}

.p-feature__list {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.p-feature__item {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 3px solid var(--c-red);
  border-radius: 10px;
  background: var(--c-white);
}

.p-feature__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 10px;
  background: var(--c-red);
  color: var(--c-white);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.p-feature__text {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 156px;
  padding: 20px 27px;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
}

/* ------------------------------------------------------------
   9. お申込みの流れ
   ------------------------------------------------------------ */
.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__alert {
  margin-top: 28px;
  padding: 27px 20px;
  border: 3px solid var(--c-red);
  border-radius: 10px;
  background: var(--c-bg-pink);
  text-align: center;
}
.p-flow__alertIcon {
  width: 67px;
}
.p-flow__alertTitle {
  margin-top: 21px;
  color: var(--c-red);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}
.p-flow__alertText {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.6;
}

.p-flow__sub {
  margin-top: 50px;
  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: 30px;
}

.p-flow__step {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 17px 20px 27px;
  border: 3px solid var(--c-gold-border);
  border-radius: 10px;
  background: var(--c-bg-cream);
  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-flow);
  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: 22px;
  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--yellow {
  margin-top: 20px;
}

/* ------------------------------------------------------------
   10. 商品概要
   ------------------------------------------------------------ */
.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: 30px;
  text-align: center;
}

/* ------------------------------------------------------------
   11. よくあるご質問
   ------------------------------------------------------------ */
.p-faq {
  padding: 100px 0;
  background: var(--c-bg-beige);
}
.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;
}

/* ------------------------------------------------------------
   12. おすすめ商品
   ------------------------------------------------------------ */
.p-recommend {
  background: var(--c-white);
}
.p-recommend__inner {
  width: min(var(--w-wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 50px 0 100px;
  text-align: center;
}
.p-recommend__link {
  display: inline-block;
}
.p-recommend__link img {
  width: 600px;
  max-width: 100%;
}

/* ------------------------------------------------------------
   13. 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: 72px;
}

.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-web);
  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-gold);
  border-radius: 10px;
  background: var(--c-white);
}
@media screen and (max-width: 768px) {
  .p-web__stepCard {
    background: #fefff0;
  }
}
.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;
  text-decoration: underline;
}

/* ------------------------------------------------------------
   14. 会社概要
   ------------------------------------------------------------ */
.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 dashed 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__date {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: normal;
  text-align: right;
}

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

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

/* ============================================================
   17. Tablet（1440px 未満の流動縮小補正）
   ============================================================ */
@media screen and (max-width: 1200px) {
  .p-interest__person--woman {
    margin-right: 60px;
  }
  .p-interest__person--man {
    margin-left: 48px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1000px) {
  .p-feature__title {
    font-size: 22px;
  }
  .p-feature__text {
    padding: 20px 16px;
    font-size: 18px;
  }
  .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;
    padding-bottom: 17px;
  }
  .p-interest__amount::before {
    bottom: 9px;
    height: 32px;
  }
  .p-interest__tax {
    top: 13px;
    right: -1px;
    font-size: 12px;
  }

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

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

  body {
    font-size: 15px;
  }

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

  /* --- Header --- */
  .l-header__inner {
    width: 100%;
    gap: 12px;
    padding: 8px 12px 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 --- */
  .p-kv {
    padding: 7.4359% 0; /* 29 / 390 */
    background-image: url("../img/kv-bg-sp.png");
  }
  .p-kv__visual img {
    width: 90.7692%;
  } /* 354 / 390 */
  .p-kv__arrow {
    top: -60px;
    width: 200px;
    height: 100px;
    margin-left: -100px;
  }

  /* --- 受取利息 --- */
  .p-interest {
    padding: 55px 0 40px;
  }
  .p-interest__deco {
    display: none;
  } /* SPデザインには装飾なし */
  .p-interest__lead {
    font-size: 26px;
  }
  .p-interest__label {
    margin-top: 14px;
    font-size: 26px;
  }

  /* 金額を上、男女イラストを下に横並び */
  .p-interest__body {
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    grid-template-areas:
      "amount amount amount amount"
      "note   note   note   note"
      ".      woman  man    .";
    align-items: end;
    column-gap: 13px;
    row-gap: 11px;
    margin-top: 0px;
  }
  .p-interest__note {
    grid-area: note;
  }
  /* Figma SP: 金額ブロックは内容幅（PCと同じ）。帯だけコンテンツ幅いっぱいに広げる */
  .p-interest__amount {
    grid-area: amount;
    justify-self: center;
    width: auto;
    margin-bottom: 0;
  }
  .p-interest__num {
    font-size: 80px;
  }
  .p-interest__unit {
    font-size: 50px;
    padding-bottom: 18px;
  }
  /* 帯はブロックからはみ出してコンテンツ幅いっぱいに（親の overflow:hidden で切れる） */
  .p-interest__amount::before {
    right: auto;
    bottom: 14px;
    left: 50%;
    width: calc(100vw - var(--gutter) * 2);
    height: 40px;
    transform: translateX(-50%);
  }
  /* PC と同じく「円」の右上に固定 */
  .p-interest__tax {
    top: 11px;
    right: 3px;
  }

  /* SP は2人を 13px 間隔で隣接させる（PC用の左右マージンを解除） */
  .p-interest__person--woman {
    grid-area: woman;
    justify-self: end;
    width: 105px;
    margin-right: 0;
  }
  .p-interest__person--man {
    grid-area: man;
    justify-self: start;
    width: 140px;
    margin-left: 0;
  }

  .p-interest__note {
    margin-top: 20px;
    font-size: 14px;
  }

  /* --- CTA --- */
  .js .p-cta {
    padding: 10px 0;
  }
  /* 横並びを維持したまま収まるサイズに */
  .p-cta__inner {
    flex-wrap: nowrap;
    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;
  }

  /* --- 3つの特徴 --- */
  .p-feature {
    padding: 32px 0 50px;
  }
  .p-feature__inner {
    width: 100%;
  }
  .p-feature__scroller {
    margin-top: 30px;
    padding-bottom: 6px;
  }
  /* スクロール領域は左右のパディングを子側に持たせて末尾の余白を確保する */
  .p-feature__list {
    gap: 20px;
    width: max-content;
    padding: 0 20px;
  }
  .p-feature__item {
    flex: 0 0 300px;
    width: 300px;
  }
  .p-feature__title {
    min-height: 95px;
    font-size: 22px;
  }
  .p-feature__text {
    min-height: 127px;
    padding: 16px 20px;
    font-size: 17px;
  }

  /* --- お申込みの流れ --- */
  .p-flow__inner {
    padding-bottom: 50px;
  }
  .p-flow__lead {
    padding-top: 30px;
    font-size: 20px;
  }
  .p-flow__alert {
    margin-top: 24px;
    padding: 24px 16px;
  }
  .p-flow__alertIcon {
    width: 56px;
  }
  .p-flow__alertTitle {
    margin-top: 16px;
    font-size: 22px;
  }
  .p-flow__alertText {
    margin-top: 14px;
    font-size: 14px;
  }
  .p-flow__sub {
    margin-top: 34px;
    font-size: 17px;
  }

  .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;
    text-align: left;
  }
  .p-flow__stepNum {
    font-size: 18px;
    letter-spacing: 0.1em;
  }
  .p-flow__stepTitle {
    font-size: 20px;
  }
  /* アイコンは絶対配置にしてテキスト行の高さに影響させない */
  .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--yellow {
    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__btn {
    min-height: 60px;
    padding: 12px 20px;
  }
  .p-outline .c-accordion__title {
    font-size: 24px;
  }

  .p-outline__row {
    display: block;
    padding: 20px;
    font-size: 15px;
  }
  .p-outline__row dt {
    margin-bottom: 8px;
  }
  .p-outline__more {
    margin-top: 24px;
  }
  .c-btn--dark {
    min-width: 255px;
    font-size: 16px;
  }

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

  /* --- おすすめ商品 --- */
  .p-recommend__inner {
    padding: 30px 0 50px;
  }

  /* --- 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: 13px;
  }

  .p-web__scroller {
    margin: 40px -20px 0;
    padding-bottom: 6px;
  }
  .p-web__steps {
    gap: 20px;
    width: max-content;
    padding: 0 20px;
  }
  .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: 15px;
  }

  .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: 15px;
  }

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

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

/* 360px 以下の微調整 */
@media screen and (max-width: 374px) {
  .p-interest__num {
    font-size: 60px;
  }
  .p-interest__unit {
    font-size: 34px;
    padding-bottom: 13px;
  }
  .p-interest__amount::before {
    bottom: 10px;
    height: 30px;
  }
  .p-interest__tax {
    top: 8px;
    right: 2px;
  }
  .p-interest__lead,
  .p-interest__label {
    font-size: 22px;
  }
  .c-sectionTitle,
  .c-heading {
    font-size: 22px;
  }
}

br.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  br.sp {
    display: block;
  }
}

.pc {
  display: block;
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
}
