/* =============================================
   こどもNISA LP - style.css
   ============================================= */

/* ----- Design Tokens ----- */
:root {
  --color-primary: #e60000;
  --color-primary-dark: #b80000;
  --color-text: #333;
  --color-beige: #eae5d1;          /* h2帯・下向き三角 */
  --color-beige-soft: rgba(234, 229, 209, 0.5); /* h3ピル */
  --color-cream: #fffff1;          /* セクション交互背景 */
  --color-pink: #fdf6f7;           /* STEPセクション背景 */
  --color-gray-card: #f8f8f8;      /* sim・FAQボックス */
  --color-anchor-border: #edc800;  /* アンカーボタン枠 */
  --shadow-card: 0 4px 4px rgba(0, 0, 0, 0.1);
  --shadow-cta: 0 4px 8px rgba(0, 0, 0, 0.25);
  --shadow-account-card: 0 4px 4px 7px rgba(230, 0, 0, 0.05);
  --color-link-orange: #dc6021;    /* kabu.com リンクオレンジ（フッター） */

  --font-rounded: "M PLUS Rounded 1c", "Hiragino Kaku Gothic Pro",
                  "ヒラギノ角ゴ Pro", "Helvetica Neue", Arial, sans-serif;
  --font-bold: "Hiragino Kaku Gothic Pro W6", "Hiragino Kaku Gothic Pro",
               "ヒラギノ角ゴ Pro W6", "ヒラギノ角ゴ Pro", "Helvetica Neue", Arial, sans-serif;
  --font-regular: "Hiragino Kaku Gothic Pro W3", "Hiragino Kaku Gothic Pro",
                  "ヒラギノ角ゴ Pro W3", "ヒラギノ角ゴ Pro", "Helvetica Neue", Arial, sans-serif;

  --content-width: 920px;
  --band-width: 1200px;
  --section-gap: 40px;

  --radius-card: 16px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "palt";
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-rounded);
  font-weight: 400;
  color: var(--color-text);
  background-color: #fff;
  line-height: 1.6;
  font-size: 16px;
}

/* SP のみ表示する改行（PCでは無視される） */
.br-sp { display: none; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, picture {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, picture { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }

/* 赤字強調 */
.text-emphasis {
  color: var(--color-primary);
  font-weight: 700;
}

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

/* ----- Site Header（追従） ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
}

.site-header__bar {
  border-bottom: 3px solid #d52e16;
}

.site-header__inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  height: 80px;
  padding: 0 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ実寸（Figma準拠：MUFG 高さ30px / コーポレート 高さ40px） */
.site-header__logo--mufg img { height: 30px; width: auto; }
.site-header__logo:not(.site-header__logo--mufg) img { height: 40px; width: auto; }

/* PCグローバルナビ */
.global-nav {
  background: #fff;
  border-bottom: 1px solid #e2e2e2;
}

.global-nav__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 50px;
}

.global-nav__item {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  border-left: 1px solid #e2e2e2;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  transition: color 0.15s ease;
}

.global-nav__list li:last-child .global-nav__item {
  border-right: 1px solid #e2e2e2;
}

/* kabu.com の他LP準拠：ホバーで文字色を薄く */
.global-nav__item:hover {
  color: #666;
  opacity: 0.6;
}

/* ハンバーガー（SPのみ表示） */
.hamburger {
  display: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 16px;
  background: transparent;
  border: none;
  padding: 0;
}

.hamburger__bar {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transition: all 0.3s;
}

.hamburger__bar:nth-child(1) { top: 0; }
.hamburger__bar:nth-child(2) { top: 7px; }
.hamburger__bar:nth-child(3) { top: 14px; }

.is-menu-open .hamburger__bar:nth-child(1) {
  top: 4px;
  transform: translateY(4px) rotate(-45deg);
}
.is-menu-open .hamburger__bar:nth-child(2) { opacity: 0; }
.is-menu-open .hamburger__bar:nth-child(3) {
  top: 14px;
  transform: translateY(-6px) rotate(45deg);
}

.site-header__logo {
  display: block;
  transition: opacity 0.15s ease;
}

.site-header__logo:hover {
  opacity: 0.75;
}

.site-header__logo img {
  display: block;
  width: auto;
  height: auto;
}

/* ----- Site Footer（ご注意事項・会社情報） ----- */
.site-footer {
  /* 下部の追従CTAに隠れないよう余白を確保 */
  padding: 60px 20px 140px;
  font-family: var(--font-regular);
}

.site-footer__inner {
  max-width: 1038px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.9;
}

.notice__heading {
  font-weight: 700;
}

.notice__list li {
  display: flex;
  align-items: baseline;
}

.notice__list li::before {
  content: "●";
  color: var(--color-link-orange);
  font-size: 11px;
  margin-right: 4px;
  flex-shrink: 0;
}

.notice__link {
  color: var(--color-link-orange);
  text-decoration: underline;
}

.notice__link:hover {
  text-decoration: none;
}

.company-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  align-items: start;
}

.company-info__title {
  color: var(--color-link-orange);
  font-weight: 700;
}

.company-info__assoc {
  display: flex;
}

.company-info__assoc-label {
  flex-shrink: 0;
}

.company-info__reception {
  margin-top: 1.9em;
}

/* ----- Hero (ファーストビュー) ----- */
.hero {
  max-width: var(--band-width);
  margin: 30px auto 0;
  background: url("../images/common/header-bg-pattern-pc.png") top left / 170px 170px repeat;
  border-radius: 40px;
  padding: 80px 110px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.hero__image {
  width: 100%;
  max-width: 980px;
}

.hero__image img {
  width: 100%;
}

/* ----- 小型CTA（吹き出し + 2ボタン + 注記） ----- */
.cta-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-small__pop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
  white-space: nowrap;
}

.cta-small__pop-icon {
  width: 16px;
  height: 14px;
  flex-shrink: 0;
}

.cta-small__pop-icon--right {
  transform: scaleX(-1);
}

.cta-small__btns {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.cta-small__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cta-small__label {
  font-size: 14px;
  color: var(--color-text);
  line-height: 18px;
  text-align: center;
}

.cta-small__note {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.6;
  text-align: center;
}

/* ピル型ボタン（小型CTA・フッター共通） */
.pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 226px;
  padding: 16px 20px;
  border-radius: 56px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
}

.pill-btn--primary {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff;
}

.pill-btn--primary:hover {
  background: var(--color-primary-dark);
}

.pill-btn--outline {
  background: #fff;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.pill-btn--outline:hover {
  background: #fdf2f2;
}

.pill-btn__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* ----- Anchor Nav ----- */
.anchor-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 116px auto 44px;
  padding: 0 20px;
}

.btn-anchor {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 288px;
  padding: 26px 16px;
  background: #fff;
  border: 2px solid var(--color-anchor-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-anchor::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 9px;
  background-image: url("../images/common/chevron-red-down.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

.btn-anchor:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.12);
}

.btn-anchor__illust {
  position: absolute;
  top: -56px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 70px;
}

/* ----- Section ----- */
.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
  padding: 60px 20px;
  scroll-margin-top: 24px;
}

.section { scroll-margin-top: 140px; } /* 追従ヘッダー分（ロゴ80px + ナビ50px） */

.section--cream { background: var(--color-cream); }
.section--step { background: var(--color-pink); }

.section__inner {
  width: var(--content-width);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.section__inner--step {
  align-items: center;
  gap: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  .section.is-revealable {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
  }
  .section.is-revealable.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ----- h2（ベージュ帯 + 下向き三角） ----- */
.heading-2 {
  width: var(--band-width);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heading-2__band {
  width: 100%;
  background: var(--color-beige);
  border-radius: 20px;
  padding: 24px 20px;
  font-weight: 700;
  font-size: 28px;
  color: var(--color-text);
  text-align: center;
  line-height: 1.4;
}

.heading-2__arrow {
  width: 28px;
  height: 16px;
  background: var(--color-beige);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* ----- h3（ピル型見出し） ----- */
.heading-3 {
  width: 100%;
  background: var(--color-beige-soft);
  border-radius: 40px;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 24px;
  color: var(--color-text);
  text-align: center;
  line-height: 1.5;
  scroll-margin-top: 24px;
}

/* ----- Text ----- */
.section-text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 2;
}

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

.section-note {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.8;
}

/* 図版 + 注釈 */
.figure-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ----- Section image ----- */
.section-image {
  display: block;
  width: 100%;
}

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

/* ----- Ordered List / Item ----- */
.ordered-list {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.ordered-item {
  display: grid;
  grid-template-columns: auto 1fr 240px;
  gap: 24px;
  align-items: start;
}

.ordered-item--icon-left {
  grid-template-columns: 151px 1fr;
  align-items: center;
  width: 790px;
  max-width: 100%;
  margin: 0 auto;
}

.ordered-item--wide {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ordered-item__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}

.ordered-item__number {
  font-weight: 700;
  font-size: 36px;
  color: var(--color-primary);
  line-height: 1.33;
  white-space: nowrap;
}

.ordered-item__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.ordered-item__body--full {
  gap: 16px;
}

.ordered-item__title {
  font-weight: 700;
  font-size: 24px;
  color: var(--color-text);
  line-height: 1.4;
  margin-top: 6px;
}

.ordered-item__head .ordered-item__title {
  margin-top: 6px;
}

.ordered-item__text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
}

.ordered-item__text--sm {
  font-size: 14px;
  line-height: 1.8;
}

.ordered-item__note {
  font-size: 11px;
  color: #555;
  line-height: 1.7;
}

.ordered-item__image {
  width: 240px;
  height: 180px;
  border-radius: var(--radius-card);
  object-fit: cover;
  flex-shrink: 0;
}

.ordered-item__image--icon {
  width: 151px;
  height: 140px;
  border-radius: 0;
  object-fit: contain;
}

.ordered-item__wide-image {
  display: block;
}

.ordered-item__wide-image img {
  width: 100%;
  height: auto;
}

/* ----- Simulator CTA Card ----- */
.sim-card {
  background: var(--color-gray-card);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.sim-card__title {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text);
  line-height: 1.3;
}

.sim-card__icon {
  width: 16px;
  height: 14px;
  flex-shrink: 0;
}

.sim-card__icon--right {
  transform: scaleX(-1);
}

.sim-card__text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.8;
}

.sim-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-width: 440px;
  background: #fff;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-card);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  box-shadow: 0 4px 4px rgba(230, 0, 0, 0.1);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.sim-card__cta:hover {
  background: rgba(230, 0, 0, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(230, 0, 0, 0.15);
}

/* ----- スローガン帯 ----- */
.slogan {
  display: block;
  width: var(--band-width);
  max-width: 100%;
}

.slogan img {
  width: 100%;
}

/* ----- STEP section ----- */
.step-lead {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text);
  text-align: center;
  line-height: 1.3;
}

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

.step-item {
  display: grid;
  grid-template-columns: 420px 420px;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.step-item__image {
  width: 100%;
  height: auto;
}

.step-item__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item__text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.8;
}

.step-item__note {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.7;
}

/* ----- 口座開設カード（btn-group） ----- */
.account-card {
  width: 870px;
  max-width: 100%;
  margin-top: 24px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-account-card);
  padding: 30px 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.account-card__pop {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
  white-space: nowrap;
}

.account-card__title {
  font-weight: 700;
  font-size: 26px;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.5;
}

.account-card__grid {
  display: grid;
  grid-template-columns: repeat(2, 284px);
  justify-content: center;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.account-card__note {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
  text-align: center;
}

.cta-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-col__desc {
  font-size: 14px;
  color: var(--color-text);
  text-align: center;
  line-height: 18px;
}

/* 吹き出しの底辺（kabu.com deco 準拠） */
.cta-col__arrow {
  display: block;
  position: relative;
  width: 200px;
  max-width: 100%;
  height: 10px;
  margin: 8px auto 14px;
  background-image: url("../images/common/icon_header_arrow_gr.svg");
  background-repeat: no-repeat;
  background-position: center;
}

.cta-col__arrow::before,
.cta-col__arrow::after {
  content: "";
  position: absolute;
  top: 0;
  width: calc(50% - 10px);
  height: 2px;
  border-radius: 1px;
  background-color: #838383;
}

.cta-col__arrow::before { left: 0; }
.cta-col__arrow::after { right: 0; }

.account-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  flex-grow: 1;
  min-height: 88px;
  padding: 14px 20px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 19px;
  text-align: center;
  line-height: 28px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.account-btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.account-btn--primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 0 2px rgba(184, 0, 0, 0.1), 0 4px 8px rgba(184, 0, 0, 0.25);
}

.account-btn--outline {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.account-btn--outline:hover {
  background: #fdf2f2;
  border-color: var(--color-primary-dark);
  box-shadow: 0 0 2px rgba(184, 0, 0, 0.1), 0 4px 8px rgba(184, 0, 0, 0.25);
}

.account-btn span {
  white-space: nowrap;
}

.account-btn__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.account-card__link-text {
  font-size: 16px;
  color: var(--color-text);
  text-align: center;
}

.account-card__link-text a {
  text-decoration: underline;
}

/* ----- FAQ ----- */
.faq-box {
  width: 100%;
  background: var(--color-gray-card);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-box__title {
  font-weight: 700;
  font-size: 24px;
  color: var(--color-text);
  text-align: center;
  margin: 8px 0;
}

.qa {
  background: #fff;
  border: 1px solid var(--color-gray-card);
  border-radius: var(--radius-card);
  padding: 16px;
  transition: box-shadow 0.2s;
}

.qa[open] {
  box-shadow: var(--shadow-card);
}

.qa__summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
}

.qa__summary::-webkit-details-marker { display: none; }
.qa__summary::marker { display: none; }

.qa__summary::before {
  content: "Q";
  font-weight: 700;
  font-size: 24px;
  color: var(--color-primary);
  line-height: 1.2;
}

/* +/− アイコン（開くと − に変化） */
.qa__summary::after {
  content: "";
  width: 20px;
  height: 20px;
  background:
    linear-gradient(var(--color-primary), var(--color-primary)) center / 16px 2px no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) center / 2px 16px no-repeat;
}

.qa[open] .qa__summary::after {
  background:
    linear-gradient(var(--color-primary), var(--color-primary)) center / 16px 2px no-repeat;
}

.qa__answer {
  margin: 16px 0 0;
  padding-left: 36px;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.8;
}

/* ----- フッター追従CTA ----- */
.footer-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 0 16px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.footer-cta.is-shown {
  transform: translateY(0);
}

.footer-cta__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer-cta__label {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  line-height: 18px;
  text-align: center;
}

.footer-cta__btn {
  width: auto;
  min-width: 256px;
  padding: 12px 20px;
  white-space: nowrap;
}

/* ----- ページトップへ戻る（フッターバー右側） ----- */
.btn-top {
  position: fixed;
  right: 20px;
  bottom: 16px;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.15s ease;
  z-index: 21;
}

.btn-top.is-shown {
  opacity: 1;
  pointer-events: auto;
}

.btn-top:hover {
  background: rgba(255, 255, 255, 0.45);
}

.btn-top__arrow {
  display: block;
  width: 16px;
  height: 16px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(-45deg);
  margin-top: 6px;
}

/* =============================================
   Responsive (SP)
   ============================================= */
@media (max-width: 768px) {
  .br-sp { display: initial; }

  /* フッター（ご注意事項・会社情報） */
  .site-footer { padding: 40px 20px 60px; }
  .site-footer__inner { font-size: 12px; gap: 28px; }
  .company-info { grid-template-columns: 1fr; }
  .company-info__reception { margin-top: 0.5em; }

  /* Header（kabu.com 他LP準拠：内部54px + 赤ライン3px = 57px） */
  .site-header__bar { border-bottom-width: 3px; }
  .site-header__inner {
    height: 54px;
    padding: 0 52px 0 16px;
  }
  .site-header__logo--mufg img { width: 86px; height: auto; }
  .site-header__logo:not(.site-header__logo--mufg) img { width: 166px; height: auto; }

  .hamburger { display: block; }

  /* SPナビ：ハンバーガー開閉に合わせて高さをアニメーション */
  .global-nav {
    display: grid;
    grid-template-rows: 0fr;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-bottom: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: grid-template-rows 0.35s ease, visibility 0.35s;
    visibility: hidden;
  }

  .is-menu-open .global-nav {
    grid-template-rows: 1fr;
    visibility: visible;
  }

  .global-nav__list {
    flex-direction: column;
    height: auto;
    overflow: hidden;
    padding: 0 21px;
  }

  .is-menu-open .global-nav__list { padding: 8px 21px 24px; }

  .global-nav__item {
    position: relative;
    justify-content: flex-start;
    padding: 13px 30px 13px 0;
    border-left: none;
    border-bottom: 1px solid #d0d0d0;
    font-size: 17px;
    line-height: 1.3;
  }

  .global-nav__item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url("../images/common/icon-menu-arrow.svg") center / contain no-repeat;
  }

  .global-nav__list li:last-child .global-nav__item {
    border-right: none;
  }

  .section { scroll-margin-top: 66px; }

  /* Hero */
  .hero {
    margin: 20px 10px 0;
    background-size: 78px 78px;
    border-radius: 40px;
    padding: 40px 0 30px;
    gap: 30px;
  }

  .hero__image { max-width: 370px; }

  /* 小型CTA */
  .cta-small { gap: 10px; }
  .cta-small__pop { font-size: 14px; gap: 12px; }
  .cta-small__pop-icon { width: 14px; height: 12px; }
  .cta-small__btns {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .cta-small__label { font-size: 12px; }
  .cta-small__note {
    max-width: 350px;
    padding: 0 10px;
  }
  .cta-small .pill-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  .cta-small--pc-only { display: none; }

  /* Anchor nav */
  .anchor-nav {
    flex-direction: column;
    gap: 16px;
    margin: 20px auto 8px;
  }

  .btn-anchor {
    width: 100%;
    justify-content: flex-start;
    padding: 26px 26px 26px 160px;
  }

  .btn-anchor__illust {
    top: -11px;
    left: -2px;
    transform: none;
  }

  /* Section */
  .section {
    padding: 40px 20px;
    gap: 24px;
  }

  .section__inner { gap: 24px; }

  /* h2帯はSPでは左右いっぱい */
  .heading-2 {
    width: calc(100% + 40px);
    margin: 0 -20px;
  }

  .heading-2__band {
    border-radius: 20px;
    font-size: 26px;
    padding: 24px 16px;
  }

  .heading-3 {
    font-size: 19px;
    padding: 12px 8px;
  }

  .section-text { line-height: 1.5; }

  .section-note { line-height: 1.5; }

  /* Ordered items */
  .ordered-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ordered-item__body { gap: 24px; }

  .ordered-item--icon-left {
    grid-template-columns: 100px 1fr;
    gap: 16px;
    width: 100%;
    align-items: center;
  }

  .ordered-item__head {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .ordered-item__number { font-size: 32px; }

  .ordered-item__image {
    order: 3;
    width: 100%;
    height: auto;
    aspect-ratio: 240 / 180;
  }

  .ordered-item__image--icon {
    order: 0;
    width: 100px;
    height: 93px;
    aspect-ratio: auto;
  }

  .ordered-item__title { font-size: 20px; margin-top: 0; }
  .ordered-item__text { line-height: 1.5; }

  /* sim card */
  .sim-card {
    padding: 32px 20px;
  }
  .sim-card__title { font-size: 18px; gap: 12px; }
  .sim-card__icon { width: 14px; height: 12px; }
  .sim-card__text { line-height: 1.6; }
  .sim-card__cta {
    min-width: 0;
    width: 248px;
    max-width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 20px;
  }

  /* スローガン帯はSPでは左右いっぱい */
  .slogan {
    width: calc(100% + 40px);
    margin: 0 -20px;
    max-width: none;
  }

  /* STEP */
  .step-lead { font-size: 20px; }

  .step-item__text { line-height: 1.6; }

  .step-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-list { gap: 24px; }

  /* 口座開設カード（Figma準拠：SPでは左右いっぱいに広げる） */
  .account-card {
    width: calc(100% + 30px);
    margin: 0 -15px;
    padding: 30px 8px;
    gap: 20px;
  }

  .account-card__pop { font-size: 16px; gap: 12px; white-space: nowrap; }
  .account-card__title { font-size: 26px; line-height: 30px; }

  .account-card__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
  }

  .cta-col { width: 100%; max-width: 226px; }

  .cta-col__desc { font-size: 12px; }
  .cta-col__arrow { margin: 8px auto 6px; }

  .account-btn {
    min-height: 80px;
    padding: 16px 24px;
    font-size: 18px;
    line-height: 24px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.25);
  }

  .account-card__note { font-size: 12px; }
  .account-card__link-text { font-size: 16px; }

  /* FAQ */
  .faq-box { padding: 20px 12px; border-radius: 20px; }
  .faq-box__title { font-size: 18px; }
  .qa__answer { line-height: 1.6; padding-left: 32px; }

  /* フッター追従CTA */
  .footer-cta {
    padding: 8px 8px 12px;
    gap: 10px;
  }

  .footer-cta__col {
    flex: 1 1 0;
    min-width: 0;
  }

  .footer-cta__label { font-size: 12px; }

  .footer-cta__btn {
    width: 100%;
    min-width: 0;
    padding: 8px 6px;
    font-size: 12px;
    gap: 4px;
  }

  /* ページトップへ戻る（追従CTAの上に配置） */
  .btn-top {
    right: 12px;
    bottom: 88px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.4);
  }

  .btn-top:hover { background: rgba(0, 0, 0, 0.55); }

  .btn-top__arrow {
    width: 12px;
    height: 12px;
    border-width: 2px;
    margin-top: 4px;
  }

  /* フッター下余白（追従CTA分） */
  .site-footer { padding-bottom: 120px; }
}
