/* StakeBank LP-B — present4形式（クリーム×紺×金×赤・明朝・キャンペーン型） */

:root {
  --navy: #08244c;
  --navy2: #001735;
  --gold: #d8a72e;
  --gold2: #f6d76d;
  --gold3: #9b6b12;
  --red: #d71920;
  --orange: #f28a13;
  --cream: #fffdf7;
  --paper: #ffffff;
  --ink: #0b1d3c;
  --muted: #4d5870;
  --line: rgba(216, 167, 46, 0.32);
  --shadow: 0 16px 36px rgba(8, 36, 76, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Hiragino Sans", Meiryo,
    serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 0%, rgba(246, 215, 109, 0.26), transparent 28%),
    radial-gradient(circle at 95% 8%, rgba(246, 215, 109, 0.2), transparent 30%),
    linear-gradient(180deg, #fffef9 0%, #fff8e8 48%, #fffdf8 100%);
  line-height: 1.72;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    linear-gradient(
      135deg,
      transparent 0 7%,
      rgba(216, 167, 46, 0.35) 7.2% 7.45%,
      transparent 7.7%
    ),
    linear-gradient(
      315deg,
      transparent 0 6%,
      rgba(216, 167, 46, 0.28) 6.2% 6.45%,
      transparent 6.7%
    );
}

body::after {
  background-image:
    radial-gradient(
      circle at 14% 15%,
      rgba(216, 167, 46, 0.55) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(216, 167, 46, 0.38) 0 1px,
      transparent 2px
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(216, 167, 46, 0.32) 0 1px,
      transparent 2px
    );
  opacity: 0.7;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(1080px, 94vw);
  margin-inline: auto;
}

.narrow {
  width: min(780px, 94vw);
  margin-inline: auto;
}

.section {
  padding: 58px 0;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 64px;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(246, 215, 109, 0.45),
      transparent 55%
    ),
    radial-gradient(
      circle at 12% 30%,
      rgba(190, 218, 245, 0.5),
      transparent 45%
    ),
    radial-gradient(
      circle at 88% 34%,
      rgba(190, 218, 245, 0.42),
      transparent 45%
    ),
    linear-gradient(180deg, #ffffff 0%, #f3f8fd 58%, #fff9ec 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle at 18% 22%,
      rgba(216, 167, 46, 0.5) 0 1.4px,
      transparent 2.6px
    ),
    radial-gradient(
      circle at 84% 16%,
      rgba(216, 167, 46, 0.42) 0 1.2px,
      transparent 2.4px
    ),
    radial-gradient(
      circle at 68% 78%,
      rgba(216, 167, 46, 0.36) 0 1.2px,
      transparent 2.4px
    ),
    radial-gradient(
      circle at 30% 84%,
      rgba(216, 167, 46, 0.3) 0 1px,
      transparent 2px
    );
}

.hero > .container {
  position: relative;
  z-index: 1;
}

/* ヒーロー背景写真（codex imagegen製）+ 可読性ベール */
.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.58) 34%,
    rgba(255, 253, 247, 0.28) 60%,
    rgba(255, 253, 247, 0.5) 82%,
    rgba(255, 251, 240, 0.9) 100%
  );
}

.hero-question,
.hero-sub {
  text-shadow:
    0 1px 10px rgba(255, 255, 255, 0.9),
    0 0 22px rgba(255, 255, 255, 0.7);
}

/* バナー画像 */
.banner {
  margin: 0 auto 30px;
  width: min(780px, 94vw);
}

.banner img {
  width: 100%;
  height: clamp(190px, 30vw, 320px);
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid #efe6cd;
  box-shadow: var(--shadow);
}

.hero-topband {
  display: inline-block;
  background: linear-gradient(100deg, var(--navy2), var(--navy) 50%, var(--navy2));
  color: #fff;
  font-size: clamp(15px, 2.4vw, 21px);
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 10px 34px;
  clip-path: polygon(
    18px 0,
    calc(100% - 18px) 0,
    100% 50%,
    calc(100% - 18px) 100%,
    18px 100%,
    0 50%
  );
}

.hero-lead {
  margin: 26px 0 6px;
  font-size: clamp(15px, 3.2vw, 30px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.hero-title {
  margin: 4px 0 10px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-title .gold-3d {
  font-size: clamp(52px, 11vw, 118px);
}

.hero-title .navy-3d {
  display: inline-block;
  font-size: clamp(40px, 8.4vw, 92px);
  color: var(--navy);
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.95),
    0 8px 18px rgba(8, 36, 76, 0.28);
}

.hero-service {
  margin: 18px 0 30px;
}

.ribbon-navy {
  display: inline-block;
  position: relative;
  background: linear-gradient(100deg, #0a2a58, var(--navy) 55%, #0a2a58);
  border-top: 2px solid var(--gold2);
  border-bottom: 2px solid var(--gold2);
  color: #fff;
  font-size: clamp(17px, 3.6vw, 34px);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 12px clamp(16px, 4.4vw, 44px);
  box-shadow: 0 12px 26px rgba(8, 36, 76, 0.25);
  word-break: auto-phrase;
}

.ribbon-navy .gold {
  color: var(--gold2);
}

/* 月桂樹バッジ */
.badges {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 34px);
  flex-wrap: wrap;
  margin: 34px 0 8px;
}

.badge {
  width: clamp(140px, 24vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, #ffffff 62%, #fdf6e2 100%);
  border: 2px solid var(--gold);
  outline: 5px solid rgba(216, 167, 46, 0.25);
  outline-offset: 3px;
  box-shadow: 0 12px 28px rgba(8, 36, 76, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 18px;
  position: relative;
}

.badge .b-top {
  font-size: clamp(13px, 2vw, 16px);
  color: var(--muted);
  letter-spacing: 0.1em;
}

.badge .b-main {
  font-size: clamp(17px, 2.6vw, 23px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  position: relative;
}

.badge .b-top {
  position: relative;
}

.badge .b-main.gold {
  color: var(--gold3);
}

.badge .laurel {
  position: absolute;
  inset: 8px;
  color: var(--gold);
  opacity: 0.4;
}

.hero-question {
  margin-top: 36px;
  font-size: clamp(22px, 4.2vw, 40px);
  font-weight: 700;
  color: var(--navy);
}

.hero-question .red {
  color: var(--red);
}

.hero-sub {
  margin: 10px 0 0;
  font-size: clamp(15px, 2.4vw, 20px);
  color: var(--ink);
}

.hero-sub .tag {
  display: inline-block;
  background: var(--navy);
  color: var(--gold2);
  padding: 2px 14px;
  margin-right: 6px;
  font-weight: 700;
}

/* ---------- CTAボタン ---------- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(680px, 92vw);
  padding: 22px 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f9e18a 0%, var(--gold) 55%, #b8860b 100%);
  border: 2px solid #fff3c9;
  color: var(--navy2);
  font-size: clamp(18px, 3.2vw, 27px);
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow:
    0 4px 0 #8a6210,
    0 16px 30px rgba(8, 36, 76, 0.24);
  transition: transform 0.12s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 6px 0 #8a6210,
    0 20px 36px rgba(8, 36, 76, 0.28);
}

.cta-btn .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gold3);
  font-family: sans-serif;
  font-weight: 700;
  flex: none;
}

.cta-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* 追従CTA（ヒーローが見えている間は隠す） */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 12px 14px 16px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta .cta-btn {
  width: min(560px, 92vw);
  padding: 14px 22px;
  font-size: clamp(16px, 2.6vw, 21px);
}

/* ---------- セクション見出し ---------- */
.section-title {
  display: flex;
  justify-content: center;
  margin: 0 0 30px;
}

.section-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 48px;
  border: 3px solid var(--gold2);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #fffaea);
  box-shadow: var(--shadow);
  font-size: clamp(20px, 3.6vw, 32px);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.4;
}

.title-laurel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
}

.title-laurel h2 {
  margin: 0;
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.14em;
}

.title-laurel .laurel-side {
  width: clamp(34px, 6vw, 56px);
  color: var(--gold);
  flex: none;
}

.title-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 34px;
  width: min(720px, 88vw);
  color: var(--gold);
}

.title-rule::before,
.title-rule::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.title-rule::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.title-rule .diamond {
  width: 14px;
  height: 14px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- 本文・カード ---------- */
.copy {
  font-size: clamp(15px, 2.2vw, 18px);
  text-align: center;
  margin: 0 0 1.4em;
}

.copy.left {
  text-align: left;
}

.copy b,
.strong {
  color: var(--navy);
}

.copy .red {
  color: var(--red);
  font-weight: 700;
}

.copy .gold {
  color: var(--gold3);
  font-weight: 700;
}

.lead-line {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin: 1.6em 0 1em;
}

.card {
  background: var(--paper);
  border: 1px solid #efe6cd;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 34px);
}

.card + .card {
  margin-top: 18px;
}

.card-gold {
  border: 3px double var(--gold);
  background: linear-gradient(180deg, #fffef8, #fff8e4);
}

.grid-2 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 18px 0;
}

.chip {
  border: 1px solid var(--gold);
  background: #fffdf4;
  color: var(--navy);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: clamp(13px, 2vw, 16px);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  background: var(--paper);
  border: 1px solid #efe6cd;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(8, 36, 76, 0.08);
  padding: 14px 18px 14px 52px;
  font-size: clamp(14px, 2.1vw, 17px);
  text-align: left;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--gold) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="m5 13 4 4L19 7"/></svg>')
    center/70% no-repeat;
}

/* 対比カード（あなた/お金・二つの未来） */
.vs-label {
  font-family: "Hiragino Sans", Meiryo, sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold3);
  margin: 0 0 10px;
}

/* ---------- STEPカード（present4様式） ---------- */
.steps {
  display: grid;
  gap: 20px;
}

.step {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #efe6cd;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 26px 118px;
  min-height: 130px;
}

.step-no {
  position: absolute;
  left: 0;
  top: 0;
  width: 96px;
  height: 100%;
  background: linear-gradient(160deg, var(--navy) 55%, var(--navy2));
  clip-path: polygon(0 0, 100% 0, 32% 100%, 0 100%);
  color: #fff;
  padding: 14px 0 0 14px;
}

.step-no .s {
  font-family: "Hiragino Sans", Meiryo, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  display: block;
  color: var(--gold2);
}

.step-no .n {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
}

.step h3 {
  margin: 0 0 8px;
  font-size: clamp(19px, 3vw, 26px);
  color: var(--navy);
}

.step p {
  margin: 0;
  font-size: clamp(14px, 2.1vw, 17px);
}

.step .step-icon {
  position: absolute;
  right: 18px;
  bottom: 12px;
  width: 74px;
  color: rgba(216, 167, 46, 0.4);
}

@media (max-width: 560px) {
  .step {
    padding: 64px 20px 22px;
  }

  .step-no {
    width: 100%;
    height: 44px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    padding: 4px 0 0 16px;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .step-no .n {
    font-size: 24px;
  }

  .step .step-icon {
    width: 54px;
  }
}

/* ---------- 重要なお知らせ（urgency） ---------- */
.urgent {
  border: 4px double var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffef8, #fff6df);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4.6vw, 40px);
  text-align: center;
}

.urgent .u-band {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: clamp(15px, 2.6vw, 21px);
  letter-spacing: 0.12em;
  padding: 6px 26px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.urgent .u-big {
  font-size: clamp(19px, 3.4vw, 28px);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}

.urgent .u-big .red {
  color: var(--red);
}

/* ---------- FAQ ---------- */
.faq details {
  background: var(--paper);
  border: 1px solid #efe6cd;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(8, 36, 76, 0.08);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 48px 18px 22px;
  position: relative;
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(15px, 2.3vw, 19px);
}

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

.faq summary .q {
  color: var(--gold3);
  font-family: "Hiragino Sans", Meiryo, sans-serif;
  flex: none;
}

.faq summary::after {
  content: "＋";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold3);
}

.faq details[open] summary::after {
  content: "−";
}

.faq .a {
  border-top: 1px dashed var(--line);
  padding: 16px 22px 20px;
  font-size: clamp(14px, 2.1vw, 17px);
  text-align: left;
}

.faq .a .red {
  color: var(--red);
  font-weight: 700;
}

.coin-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.coin-pills span {
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: #fffdf4;
  padding: 4px 14px;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}

/* ---------- 結び・フッター ---------- */
.thanks {
  text-align: center;
}

.thanks .t-big {
  font-size: clamp(20px, 3.6vw, 30px);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
}

.footer {
  margin-top: 70px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy2) 100%);
  color: rgba(255, 255, 255, 0.82);
  padding: 44px 0 34px;
  text-align: center;
}

.footer .f-logo {
  font-family: "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer .f-logo .gold {
  color: var(--gold2);
  font-size: 11px;
  letter-spacing: 0.22em;
  margin-left: 10px;
}

.footer .disclaimer {
  width: min(820px, 92vw);
  margin: 18px auto 0;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
}

.footer .copyright {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 金の立体見出し ---------- */
.gold-3d {
  display: inline-block;
  background: linear-gradient(
    180deg,
    #fff9d9 0%,
    #f6df94 11%,
    #d5a441 25%,
    #f9e69f 39%,
    #bd8423 58%,
    #d9ad43 73%,
    #75460b 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.55px rgba(108, 66, 8, 0.78);
  text-shadow:
    0 1px 0 #e8c366,
    0 2px 0 #ce982f,
    0 3px 0 #ae7419,
    0 4px 0 #8c560f,
    0 5px 0 #6e410b,
    0 9px 12px rgba(58, 36, 7, 0.25),
    0 20px 30px rgba(58, 36, 7, 0.13);
}

@media (max-width: 640px) {
  .gold-3d {
    -webkit-text-stroke: 0.35px rgba(108, 66, 8, 0.72);
    text-shadow:
      0 1px 0 #dcae46,
      0 2px 0 #b77b1d,
      0 3px 0 #80500e,
      0 8px 14px rgba(58, 36, 7, 0.2);
  }
}

/* ---------- リビール ---------- */
.rise {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.rise.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .rise {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cta-btn,
  .sticky-cta {
    transition: none;
  }
}
