/* =====================================================================
   GMO店舗AIO LP (PC Ver3 / Simpleトーン) — 実装用スタイルシート
   トーン: 見出し=Noto Serif JP / 本文=Noto Sans JP / 角丸3px / フラット
   レイアウト基準幅: 1280px（コンテンツ最大1180px）
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors */
  --teal:        #12A9BC; /* ブランドティール（アイブロウ/アクセント） */
  --teal-deep:   #0E8C9C; /* 深ティール（数値・hover・強調文字） */
  --teal-check:  #41BFBD; /* チェックアイコン */
  --mint:        #D0F8F4; /* ミント（S12 CTA帯） */
  --coral:       #FB6A44; /* コーラル（第一CTAのみ） */
  --coral-deep:  #E8552F; /* コーラル hover */

  /* Text */
  --navy:        #0E2A47; /* 見出し */
  --ink:         #2D3136; /* 本文 */
  --muted:       #595757; /* 補助本文 */
  --muted-2:     #9DB2C6; /* 注記・薄い文字 */
  --note:        #7E93A8; /* マイクロコピー */

  /* Surfaces */
  --line:        #DBE3EA; /* 罫線 */
  --line-2:      #EDF2F7; /* 薄い罫線 */
  --tint:        #F4F8FC; /* 淡青の面（交互セクション） */
  --gray:        #F5F6F9; /* グレー面（S5カード） */
  --teal-tint:   #E6F6F8; /* ティール淡面（タグ・注記） */
  --blue-tint:   #EAF1FA; /* 青淡面（サポート②タグ） */
  --coral-tint:  #FDECE6; /* コーラル淡面（サポート③タグ） */
  --white:       #FFFFFF;

  /* Footer (GMOコマース公式) */
  --gmo-blue:    #005BAC;
  --gmo-blue-d:  #00499B;
  --gmo-gray:    #3B4A5A;
  --green-1:     #0B6E58;
  --green-2:     #149E78;
  --green-3:     #22B98F;

  /* Type */
  --serif: 'Noto Serif JP', serif;
  --sans:  'Noto Sans JP', sans-serif;

  /* Radius */
  --r-card: 3px;     /* カード（Simpleはシャープ） */
  --r-pill: 110px;   /* CTA・ピル */
  --r-tile: 14px;    /* アイコンタイル */

  /* Layout */
  --container: min(1180px, 100% - 40px);
  --container-narrow: min(820px, 100% - 40px);
  --section-pad: clamp(88px, 9vw, 124px);

  /* CTA遷移先 */
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: .04em;
  line-height: 1.9;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container { width: var(--container); margin-inline: auto; }
.container--narrow { width: var(--container-narrow); margin-inline: auto; }

.section { padding-block: var(--section-pad); }
.section--white { background: var(--white); }
.section--tint  { background: var(--tint); }

/* ---------- 共通: 見出し帯 ---------- */
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--teal);
  line-height: 1;
}
.heading {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 36px);
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--navy);
  margin: 27px 0 0;
}
.heading--logo { display: block; font-size: 38px; margin-top: 12px; line-height: 1.2; }
.heading__logo-img { height: 38px; width: auto; display: inline; vertical-align: -4px; margin: 0 6px 0 0; }
.section-head { text-align: center; }
.section-head .lead {
  font-size: 16px; line-height: 1.9; color: var(--muted);
  margin: 10px auto 0; max-width: 56em; text-align: center !important;
}
#s6 .section-head { text-align: center; }
#s7 .section-head { text-align: center; }
#s9 .support-card { box-shadow: none; }

/* ---------- CTA ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; border: none; border-radius: var(--r-pill);
  white-space: nowrap; transition: background-color .2s ease;
}
.btn--primary {
  font-weight: 700; font-size: 18px; color: #fff;
  background: var(--coral); padding: 7px 34px;
  box-shadow: 0 10px 24px rgba(251,106,68,.4);
}
.btn--primary:hover { background: var(--coral-deep); }
.btn--secondary {
  font-weight: 600; font-size: 18px; color: var(--teal);
  background: #fff; border: 1.5px solid var(--teal); padding: 7px 32px; box-shadow: none;
  box-shadow: none;
}
.btn--secondary:hover { background: #F0FBFC; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: flex-start; margin-top: 40px; }
.cta-note { text-align: center; font-size: 13px; font-weight: 400; color: var(--ink); margin-top: 8px; }
.cta-note .check { color: var(--teal-check); }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  width: var(--container); margin-inline: auto; height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo__img { height: 28px; width: auto; display: block; padding-right: 14px; }
.header-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.header-ctas .btn { padding: 7px 22px; font-size: 14px; box-shadow: none; }
.header-ctas .btn--secondary { padding: 6px 20px; box-shadow: none; }
.header-ctas .btn--primary { box-shadow: 0 6px 16px rgba(251,106,68,.32); }

/* ---------- S1 ファーストビュー ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FAFC 100%);
}
.hero__inner {
  width: var(--container); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
  padding-block: clamp(76px, 8vw, 112px);
}
.hero__copy { flex: 1 1 440px; min-width: 300px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--teal-deep);
  background: var(--teal-tint); border: 1px solid #B7E4EA; border-radius: var(--r-pill);
  padding: 4px 16px;
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5vw, 68px); line-height: 1.32; letter-spacing: .02em;
  color: var(--navy); margin: 24px 0 0;
  text-shadow: 0 0 24px rgba(255,255,255,.85), 0 2px 8px rgba(14,42,71,.10);
}
.hero__lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.95; color: var(--ink); margin: 24px 0 0; max-width: 30em; }
.hero__lead .accent { color: var(--teal-deep); font-weight: 700; }
.hero__sub { font-size: 15px; line-height: 1.9; color: var(--muted); margin: 18px 0 0; max-width: 24em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; margin: 34px 0 0; }
.hero__action-primary { display: flex; flex-direction: column; align-items: center; gap: 0; }
.hero__free { font-size: 13px; font-weight: 400; color: var(--ink); margin: 8px 0 0; text-align: center; }
.hero__title-accent { color: var(--teal); font-weight: 700; text-shadow: 0 2px 8px rgba(18,169,188,.18); }
.hero__lead-em { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.95; font-weight: 900; color: var(--ink); margin: 6px 0 0; max-width: 30em; }
.hero__annotation { font-size: 12px; color: var(--muted-2); margin: 24px 0 0; }
.hero__visual { flex: 0 0 auto; margin-inline: auto; }

/* 電話モック枠（画像アセット差し込み） */
.phone-mock { width: 288px; }
.phone-mock__frame {
  border-radius: 46px; overflow: hidden; background: #0A0A0C;
  box-shadow: 0 40px 80px rgba(0,0,0,.18);
}
/* iPhone実機比 ≒ 0.462。S1=288×614 / S3=284×602 */
.phone-mock__img { width: 100%; height: auto; display: block; }
.phone-mock__caption { text-align: center; font-size: 13px; color: var(--ink); margin: 14px 0 0; }
/* 画像未配置時のプレースホルダー */
.phone-mock__img--placeholder {
  aspect-ratio: 288 / 642; background: #F4F8FC;
  display: grid; place-items: center; color: var(--muted-2); font-size: 13px;
}

/* ---------- 数値カード（S2） ---------- */
.cards-3 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 56px; margin-bottom: 16px;
}
.stat-card {
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px;
  padding: 30px 26px; box-shadow: 0 8px 28px rgba(14,42,71,.10);
}
.icon-tile {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: var(--r-tile); background: var(--teal-tint);
}
.stat-card__label { font-size: 17px; font-weight: 700; color: var(--teal); margin: 18px 0 6px; }
.stat-num {
  font-family: var(--serif); display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px;
}
.stat-num__big {
  font-weight: 700; font-size: clamp(42px, 5.5vw, 56px); line-height: .9;
  color: var(--coral); letter-spacing: -.01em;
}
.stat-num__big .unit { font-size: 26px; font-weight: 600; }
.stat-num__prev {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 400; color: var(--muted-2); font-family: var(--sans);
}
.stat-num__prev .v { font-size: 24px; line-height: 1; font-weight: 400; }
.stat-num__prev .v .unit { font-size: 15px; }
.stat-card__desc { font-size: 15px; line-height: 1.85; color: var(--muted); margin: 12px 0 0; }
.stat-card__src { font-size: 11.5px; color: var(--muted-2); margin: 14px 0 0; border-top: 1px solid var(--line-2); padding-top: 10px; }
.section-closing { text-align: center; font-size: clamp(16px,1.6vw,20px); font-weight: 500; line-height: 1.6; white-space: nowrap; color: var(--navy); margin: 20px auto 0; max-width: 100%; }
.section-closing .accent { color: var(--teal); font-weight: 700; }

/* ---------- S3 MEO×AIO ---------- */
.meo { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; margin-top: 12px; }
.meo__visual { flex: 0 0 auto; margin-inline: auto; margin-top: 0; }
.meo__body { flex: 1 1 380px; min-width: 300px; display: flex; flex-direction: column; align-items: center; margin-top: 32px; }
.stat-58 { display: flex; align-items: center; gap: 20px; background: #EEF2F8; border-radius: 10px; padding: 24px 26px; width: 100%; box-shadow: 0 2px 8px rgba(14,42,71,.07); }
.stat-58__num { font-family: var(--serif); font-weight: 700; font-size: clamp(44px,6vw,62px); line-height: 1; color: var(--coral); white-space: nowrap; }
.stat-58__num .unit { font-size: .45em; font-weight: 600; }
.stat-58__desc { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0; }
.stat-58__desc small { font-size: 11.5px; color: var(--muted-2); }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 12px; margin: 8px 0 0; width: 100%; }
.compare__cell { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; box-shadow: 0 2px 8px rgba(14,42,71,.06); }
.compare__cell--aio { border: 1.5px solid var(--teal); box-shadow: 0 2px 8px rgba(18,169,188,.10); }
.compare__sep { font-size: 18px; font-weight: 700; color: var(--teal); text-align: center; display: flex; align-items: center; }
.compare__title { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.compare__title--meo { color: #2D6FB8; }
.compare__title--aio { color: var(--teal); }
.compare__desc { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 10px 0 0; }
.meo__note { font-size: 20px; color: var(--muted); background: #E6F5F8; border-radius: 8px; padding: 13px 16px; margin: 12px 0 0; line-height: 1.7; width: 100%; box-shadow: 0 2px 8px rgba(14,42,71,.07); }
.meo__note .accent { color: var(--teal-deep); font-weight: 700; }

/* ---------- S4 いま取り組む理由 ---------- */
.firstmover { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 44px; row-gap: 0; align-items: start; }
.firstmover__copy { grid-column: 1; grid-row: 1; min-width: 300px; }
.firstmover__copy p { font-size: 15px; line-height: 1.95; color: var(--muted); margin: 22px 0 0; max-width: 34em; }
.firstmover__copy p.lead { margin: 10px 0 0; max-width: none; white-space: nowrap; font-size: 20px; }
.firstmover__copy p.hero__free { font-size: 13px; color: var(--ink); margin: 8px 0 0; max-width: none; }
.firstmover__copy p .accent { color: var(--navy); font-weight: 700; }
.firstmover__copy .src { font-size: 13px; line-height: 1.75; color: var(--muted); max-width: 44em; }
.firstmover__copy .s4-note { margin: 8px 0 0; text-align: left; }
.firstmover > .s4-cta { grid-column: 1; grid-row: 2; margin: 28px 0 0; justify-content: flex-start; align-items: flex-start; }
.bignum { grid-column: 2; grid-row: 1 / span 2; align-self: start; padding-top: 250px; margin-inline: 0; margin-right: 60px; text-align: center; }
.bignum__row { display: flex; align-items: baseline; justify-content: center; gap: 8px; font-family: var(--serif); color: var(--coral); }
.bignum__label { font-size: 56px; font-weight: 700; color: var(--coral); margin: 0; letter-spacing: .02em; text-shadow: 2px 4px 16px rgba(251,106,68,.25); }
.bignum__9 { font-weight: 700; font-size: clamp(160px,20vw,220px); line-height: .82; letter-spacing: -.04em; text-shadow: 4px 8px 24px rgba(251,106,68,.30); }
.bignum__wari { font-weight: 700; font-size: 36px; line-height: 1; text-shadow: 2px 4px 16px rgba(251,106,68,.25); }

/* ---------- S5 できること / S9 始め方（面カード） ---------- */
.feature-card { background: var(--gray); border-radius: 16px; padding: 36px 32px; box-shadow: 0 4px 20px rgba(14,42,71,.08); }
.feature-card .icon-tile { width: 64px; height: 64px; background: #fff; box-shadow: 0 4px 12px rgba(18,169,188,.12); }
.feature-card h3 { font-family: var(--sans); font-weight: 600; font-size: 24px; color: var(--navy); margin: 20px 0 0; }
.feature-card p { font-size: 14px; line-height: 1.9; color: var(--muted); margin: 12px 0 0; }
.note-bar {
  display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.8;
  color: var(--muted); background: var(--teal-tint); border-radius: 5px; padding: 16px 20px;
  margin: 28px auto 0; max-width: 54em;
}
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 44px; }

/* ---------- S6 サポート体制 ---------- */
.support-card { background: #fff; border-radius: 16px; padding: 30px 26px; box-shadow: 0 4px 20px rgba(14,42,71,.08); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; border-radius: var(--r-pill); padding: 5px 14px; }
.tag--teal  { color: var(--teal);   background: var(--teal-tint); }
.tag--blue  { color: #2D6FB8;        background: var(--blue-tint); }
.tag--coral { color: var(--coral);   background: var(--coral-tint); }
.support-card h3 { font-family: var(--sans); font-weight: 600; font-size: 24px; color: var(--navy); margin: 16px 0 0; }
.support-card p { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin: 10px 0 0; }

/* ---------- S7 選ばれる理由 ---------- */
.reason-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px 48px; box-shadow: 0 4px 20px rgba(14,42,71,.08); }
.reason-card h3 { font-family: var(--sans); font-weight: 600; font-size: 24px; line-height: 1.5; color: var(--navy); margin: 18px 0 0; }
.reason-card p { font-size: 13.5px; line-height: 1.9; color: var(--muted); margin: 12px 0 0; }
.reason-card .src { font-size: 11px; color: var(--muted-2); margin: 12px 0 0; }

/* ---------- S8 想定効果（棒グラフ） ---------- */
.effect-pill { display: inline-block; font-size: 12.5px; font-weight: 400; color: var(--teal-deep); background: var(--mint); border-radius: var(--r-pill); padding: 4px 16px; margin: 18px 0 0; }
.chart-panel { background: #fff; border-radius: var(--r-card); padding: clamp(28px,4vw,44px); margin: 36px 0 0; box-shadow: 0 1px 2px rgba(14,42,71,.05); }
.chart-legend { display: flex; justify-content: center; gap: 20px; font-size: 12px; color: var(--muted); margin: 0 0 28px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 13px; height: 13px; border-radius: 3px; display: inline-block; }
.chart-legend .before { background: #C3CDD8; }
.chart-legend .after  { background: var(--teal); }
.chart { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,4vw,56px); align-items: end; max-width: 760px; margin-inline: auto; }
.chart-col { display: flex; flex-direction: column; align-items: center; }
.chart-bars { display: flex; align-items: end; gap: 14px; height: 240px; }
.chart-bar-wrap { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.chart-bar-wrap .x1 { font-size: 12px; font-weight: 600; color: var(--muted-2); margin: 0 0 6px; }
.bar-before { width: 40px; background: #C3CDD8; border-radius: 10px 10px 0 0; }
.bar-after  { width: 46px; background: linear-gradient(180deg, var(--teal), var(--teal-deep)); border-radius: 10px 10px 0 0; }
.chart-mult { font-family: var(--serif); color: var(--coral); margin: 0 0 6px; line-height: 1; }
.chart-mult .s { font-size: 14px; font-weight: 600; }
.chart-mult .n { font-size: 34px; font-weight: 700; }
.chart-label { display: flex; align-items: center; gap: 7px; margin: 16px 0 0; font-size: 14px; font-weight: 700; color: var(--navy); }
.chart-foot { font-size: 13px; line-height: 1.85; color: var(--muted); background: var(--gray); border-radius: 8px; padding: 14px 20px; margin: 32px auto 0; max-width: 100%; }
.chart-foot .accent { font-weight: 700; color: #E05C2A; }
.chart-disclaimer { font-size: 11.5px; color: var(--muted-2); margin: 12px 0 0; text-align: center; }

/* ---------- S10 導入の流れ ---------- */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 48px; }
.flow-step { background: #fff; border-radius: 16px; padding: 24px 18px; text-align: center; box-shadow: 0 4px 20px rgba(14,42,71,.08); }
.flow-step__no { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: 18px; margin: 0 auto; }
.flow-step__label { font-size: 13.5px; font-weight: 600; color: var(--navy); margin: 14px 0 0; line-height: 1.6; }
.flow-step__desc { font-size: 12.5px; line-height: 1.75; color: var(--muted); margin: 8px 0 0; }
.flow-note { text-align: center; font-size: 14px; font-weight: 600; color: var(--ink); margin: 36px 0 0; }

/* ---------- S11 FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin: 40px 0 0; }
.faq-item { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #fff; }
.faq-q { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; background: none; border: none; padding: 18px 20px; }
.faq-q__badge { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); font-weight: 700; font-size: 13px; }
.faq-q__text { flex: 1; font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.6; }
.faq-q__sign { flex: 0 0 auto; width: 24px; text-align: center; color: var(--teal); font-size: 20px; line-height: 1; }
.faq-a { padding: 0 20px 20px 60px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.faq-item[open] .faq-q__sign,
.faq-item.is-open .faq-q__sign { content: "−"; }

/* <details>/<summary> を使う場合 */
details.faq-item > summary { list-style: none; }
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary .faq-q__sign::before { content: "+"; }
details.faq-item[open] > summary .faq-q__sign::before { content: "−"; }

/* ---------- S12 クロージング ---------- */
.closing { position: relative; overflow: hidden; background: var(--mint); color: var(--navy); padding-block: clamp(64px, 8vw, 104px); }
.closing__inner { position: relative; width: min(900px, 100% - 40px); margin-inline: auto; text-align: center; }
.closing__title { font-family: var(--serif); font-weight: 600; font-size: clamp(26px,3.6vw,40px); line-height: 1.5; letter-spacing: .02em; color: var(--navy); margin: 0; }
.closing .cta-note { color: var(--ink); }
.closing__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(14,140,156,.22); font-size: 12.5px; color: var(--navy); }
.closing__meta span { display: inline-flex; align-items: center; gap: 8px; text-align: left; }

/* ---------- 免責 ---------- */
.disclaimer { background: #fff; border-top: 1px solid var(--line); padding: 24px 0; }
.disclaimer p { font-size: 11.5px; line-height: 1.85; color: var(--muted-2); margin: 0 auto; text-align: center; max-width: 62em; }

/* ---------- Footer ---------- */
.site-footer { font-family: var(--sans); }
.footer-share { background: var(--gmo-blue); padding: 48px 0; }
.footer-share .share { display: flex; align-items: center; justify-content: center; gap: 12px; }
.share__label { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #fff; }
.share__btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: none; cursor: pointer; text-decoration: none; color: var(--gmo-blue); }
.share__btn:hover { background: rgba(255,255,255,0.85); }
.footer-policy { background: #fff; padding: 16px 0; }
.footer-policy__inner { width: min(1180px, 100% - 48px); margin-inline: auto; text-align: right; }
.footer-policy__links { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.footer-policy__links a { font-size: 13px; color: var(--gmo-blue); text-decoration: none; }
.footer-policy__links a:hover { text-decoration: underline; }
.footer-copy { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
.footer-copy b { color: var(--gmo-blue); }

/* セキュリティフッター */
.security_footer { padding: 1rem; max-width: 1040px; margin: 0 auto; }
.security_footer ul { letter-spacing: 0em !important; }
.security_footer .logo { max-height: 20px; margin: 20px 0; text-align: left; }
.g-banner { text-align: center; margin: 40px 0; }

/* ---------- モバイル下部固定CTAバー（SP用） ---------- */
.sp-br { display: none; }
.sp-cta-bar { display: none; }

/* =====================================================================
   レスポンシブ（モバイル: 〜767px / Mobile375 Ver3 準拠）
   ===================================================================== */
@media (max-width: 767px) {
  :root {
    --section-pad: clamp(56px, 12vw, 72px);
    --container: min(1180px, 100% - 40px);
    --container-narrow: min(820px, 100% - 40px);
  }
  body { line-height: 1.85; }

  .header-ctas .btn--secondary { display: none; }
  .header-ctas .btn { padding: 6px 16px; font-size: 13px; }

  /* 1カラム化 */
  .hero__inner { flex-direction: column; align-items: stretch; gap: 32px; padding-block: 24px; }
  .hero__copy { width: 100%; min-width: 0; flex: none; }
  .hero__visual { order: 2; width: 100%; padding-inline: 40px; padding-top: 8px; padding-bottom: 40px; box-sizing: border-box; }
  .meo { flex-direction: column; gap: 32px; }
  .meo__visual { width: 100%; padding-inline: 40px; padding-top: 40px; padding-bottom: 32px; box-sizing: border-box; }
  .firstmover { display: flex; flex-direction: column; gap: 28px; }
  .firstmover__copy { width: 100%; min-width: 0; order: 1; }
  .firstmover__copy p { max-width: 100%; }
  .firstmover__copy .src { max-width: 100%; }
  .bignum { order: 2; margin-right: 0; padding-top: 0; width: 100%; text-align: center; }
  .bignum__label { font-size: 40px; }
  .bignum__wari { font-size: 30px; }
  .firstmover > .s4-cta { order: 3; margin-top: 0; justify-content: center; align-items: flex-start; width: 100%; }
  .firstmover > .s4-cta .hero__action-primary { align-items: center; }
  .compare { grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: stretch; }
  .compare__sep { display: flex; font-size: 14px; align-items: center; }
  .compare__cell { height: 100%; box-sizing: border-box; }
  .chart-bars { height: 180px; gap: 8px; }
  .chart { gap: 16px; }
  .bar-before { width: 28px; }
  .bar-after  { width: 32px; }
  .chart-mult .n { font-size: 26px; }
  .chart-mult .s { font-size: 12px; }
  .chart-panel { padding: 20px 16px; overflow: hidden; margin-top: 16px; border-radius: 12px; }

  /* 本文系の文字を底上げ（SP可読性） */
  .hero__lead { font-size: 18px; max-width: 100%; }
  .hero__lead-em { font-size: 18px; max-width: 100%; }
  .hero__sub { font-size: 15.5px; max-width: 100%; }
  .hero__annotation { font-size: 14px; }
  .stat-card__desc, .support-card p, .feature-card p, .reason-card p { font-size: 15px; }
  .feature-card h3, .support-card h3, .reason-card h3 { font-size: 18px; }
  .section-head .lead { font-size: 16px; }
  #s7 .section-head .lead, #s8 .section-head .lead { text-align: left; }
  .firstmover__copy p.lead { white-space: normal; font-size: 16px; }
  .flow-step__desc { font-size: 13px; }
  .section-closing { font-size: 18px; white-space: normal; line-height: 1.8; }
  .closing__title { font-size: 22px; }
  .closing__meta { flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px 0 0; }
  .closing__meta span { align-items: flex-start; text-align: left; }
  .disclaimer { padding: 40px 0; }
  .disclaimer p { font-size: 13px; text-align: left; }
  .footer-share { padding: 24px 0; }
  .share__btn { width: 48px; height: 48px; }
  .meo__note { font-size: 18px; }
  .compare__desc, .chart-foot { font-size: 14px; }
  .chart-foot { white-space: normal; }

  .stat-58__num { font-size: 62px; white-space: nowrap; }

  /* CTA行を縦並び・全幅 */
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; width: 100%; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; width: 100%; }
  .hero__action-primary { width: 100%; }

  /* 本文がバーに隠れないよう下部に余白 */
  body { padding-bottom: 140px; }

  .sp-br { display: inline; }
  .heading { margin-top: 11px; }
  .heading--logo { font-size: 22px; line-height: 1.5; }
  .heading__logo-img { display: inline; vertical-align: -2px; margin: 0 4px 0 0; height: 22px; }

  /* 下部固定CTAバー */
  .sp-cta-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999;
    background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
    padding: 10px 14px; box-shadow: 0 -4px 16px rgba(14,42,71,.08);
  }
  .sp-cta-bar .btn { flex: 1; justify-content: center; padding: 13px 12px; font-size: 14px; box-shadow: none; }

  /* フッターのリンク区切り線をSPで解除 */
  .footer-links a { border-left: none; padding: 0 10px 0 0; }
  .footer-policy__inner { text-align: center; }
  .footer-policy__links { justify-content: center; }
}

/* タブレット中間（768–1024）: コンテナはそのまま可変幅で対応 */
@media (min-width: 768px) and (max-width: 1024px) {
  .chart { gap: 28px; }
}

/* ============================================================
   背景画像（S1〜S8 / S10 / S12）— 半透明・柔らかめ
   ::before レイヤーに背景を敷き、opacity で柔らかく。本文は上層で影響なし。
   画像は子テーマ /img/aio/bg/ 配下（bg-s{n}-pc.png / bg-s{n}-sp.png）。
   PCは既定、767px以下でSP画像に切替（デザイン準拠のブレークポイント）。
   ※柔らかさ＝下の --bg-opacity を調整（0=不可視〜1=濃い）
   ============================================================ */
:root{ --bg-opacity:0.3; }

/* 対象セクションを配置基準にし、元の背景色は活かしたまま画像を重ねる */
#top, #s2, #s3, #s4, #s5, #s6, #s7, #s8, #s10, .closing{
  position: relative;
  overflow: hidden;
}
#top::before, #s2::before, #s3::before, #s4::before, #s5::before,
#s6::before, #s7::before, #s8::before, #s10::before, .closing::before{
  content:"";
  position:absolute;
  inset:0;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center top;
  opacity:var(--bg-opacity);
  z-index:0;
  pointer-events:none;
}
/* セクション内の中身を背景より前面へ */
#top > *, #s2 > *, #s3 > *, #s4 > *, #s5 > *,
#s6 > *, #s7 > *, #s8 > *, #s10 > *, .closing > *{
  position:relative;
  z-index:1;
}

/* PC（既定）: 各セクションの背景画像 */
#top::before   { background-image:url("../img/aio/bg/bg-s1-pc.png"); }
#s2::before    { background-image:url("../img/aio/bg/bg-s2-pc.png"); }
#s3::before    { background-image:url("../img/aio/bg/bg-s3-pc.png"); }
#s4::before    { background-image:url("../img/aio/bg/bg-s4-pc.png"); }
#s5::before    { background-image:url("../img/aio/bg/bg-s5-pc.png"); }
#s6::before    { background-image:url("../img/aio/bg/bg-s6-pc.png"); }
#s7::before    { background-image:url("../img/aio/bg/bg-s7-pc.png"); }
#s8::before    { background-image:url("../img/aio/bg/bg-s8-pc.png"); }
#s10::before   { background-image:url("../img/aio/bg/bg-s10-pc.png"); background-position:center bottom; }
.closing::before{ background-image:url("../img/aio/bg/bg-s12-pc.png"); }

/* SP（767px以下）: SP画像へ切替 */
@media (max-width:767px){
  #top::before, #s2::before, #s3::before, #s4::before, #s5::before,
  #s6::before, #s7::before, #s8::before, #s10::before, .closing::before {
    background-size: 100% auto;
  }
  #top::before   { background-image:url("../img/aio/bg/bg-s1-sp.png"); }
  #s2::before    { background-image:url("../img/aio/bg/bg-s2-sp.png"); }
  #s3::before    { background-image:url("../img/aio/bg/bg-s3-sp.png"); }
  #s4::before    { background-image:url("../img/aio/bg/bg-s4-sp.png"); }
  #s5::before    { background-image:url("../img/aio/bg/bg-s5-sp.png"); background-size: cover; }
  #s6::before    { background-image:url("../img/aio/bg/bg-s6-sp.png"); }
  #s7::before    { background-image:url("../img/aio/bg/bg-s7-sp.png"); }
  #s8::before    { background-image:url("../img/aio/bg/bg-s8-sp.png"); }
  #s10::before   { background-image:url("../img/aio/bg/bg-s10-sp.png"); }
  .closing::before{ background-image:url("../img/aio/bg/bg-s12-sp.png"); }
}
