@charset "UTF-8";

/* フォント読み込み (Noto Sans JP: 第一水準漢字 + かな + 記号 + 英数字のサブセット) */
@font-face {
  font-display: swap;
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/noto-sans-jp-400.woff2) format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  src: url(/assets/fonts/noto-sans-jp-500.woff2) format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  src: url(/assets/fonts/noto-sans-jp-700.woff2) format('woff2');
}

/* デザイントークン */
:root {
  --color-bg-light: #e6f0fb;
  --color-blue: #315bc3;
  --color-blue-dark: #1c3571;
  --color-green: #17915c;
  --color-orange: #ff7b00;
  --color-text: #343434;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--color-text);
  /* 欧文も Noto Sans JP で描画する (ローカルの Inter / Helvetica に
     奪われないよう Noto Sans JP を先頭に置く) */
  font-family:
    'Noto Sans JP',
    'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
    'Yu Gothic', 'YuGothic',
    sans-serif;
  /* 金融サイト向け: 等幅数字・スラッシュ付きゼロ・l の形状変更 (Inter 用) */
  font-feature-settings:
    'tnum' 1,
    'zero' 1,
    'cv05' 1;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* Bootstrap のデフォルトマージン (h3: 20px 0 10px、p: 0 0 10px など) は
   ユニバーサルセレクタのリセットでは詳細度で打ち消せないため、
   要素セレクタで明示的に打ち消す */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure {
  margin: 0;
}

/* font-family: Bootstrap が見出しに Helvetica を直接指定しているため打ち消す */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* 表示切替 (SP 基準、1120px 以上を PC とする) */
.u-pc {
  display: none;
}

/* ストアバッジ共通 */
.store-badge {
  display: inline-block;
}

.store-badge img {
  height: 100%;
  width: auto;
}

/* セクション下部の波形
   translateY(1px) で次セクションに描画レベルで重ね、境目の線を防ぐ */
.section-wave {
  bottom: -1px;
  height: 40px;
  left: 0;
  position: absolute;
  transform: translateY(1px);
  width: 100%;
}

/* ヒーロー下端の青い波形は .problems::before が描画する (課題セクションが
   z-index: 2 でヒーローの上に重なるため、ヒーロー側に置くとカーブの浅い
   中央部が覆われて平らに見えてしまう)。この div は使用しない */
.hero .section-wave {
  display: none;
}

/* ブラウザの拡大率や Retina でセクション境界が小数ピクセルになると
   下地の白が 1px 未満の線として覗くため、各セクションを 1px 重ねる。
   右端も同様に 1px はみ出させて、右辺に下地の縦線が出ないようにする */
body {
  overflow-x: clip;
}

.hero,
.problems,
.features,
.others,
.faq,
.cta,
.footer {
  margin-right: -1px;
}

.problems,
.features,
.others,
.faq,
.cta,
.footer {
  margin-top: -1px;
}

/* ヘッダー (PC のみ表示) */
.site-header {
  display: none;
}

/* ヒーロー */
/* 写真は下の課題セクションへ 75px はみ出して重なる (Figma 指定) ため、
   縦方向のはみ出しは許可し、横方向だけクリップする */
/* z-index を持たせない (stacking context を作らない) こと。
   KV 画像 (.hero-visual) を .problems の青いアーチより前面に出すため、
   子要素の z-index をルート文脈で解決させる */
.hero {
  background: #fff;
  overflow-x: clip;
  padding: 38px 16px 5px;
  position: relative;
}

/* 市街地の背景。サイズ・位置は Figma の配置に合わせた固定値
   (中央基準 + px オフセット)。画面幅が変わっても拡縮せず、
   広い画面では画像の見切れていた部分が見えてくる */
.hero::before {
  background: url(/assets/images/bg-city.webp) repeat-x left calc(50% + 27px) bottom -73px / 959px 385px;
  content: '';
  inset: 0;
  position: absolute;
}

.hero::after {
  background: linear-gradient(180deg, #fff 59%, rgba(255, 255, 255, 0) 75%);
  content: '';
  inset: 0;
  position: absolute;
}

.hero-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.hero-lead {
  letter-spacing: 0.24em;
  text-align: center;
}

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

.hero-sub {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

/* ※ は上付きにする (line-height 1 で行の高さに影響させない) */
.hero-sub-note {
  font-size: 9px;
  line-height: 1;
  vertical-align: super;
}

.hero-logo {
  width: 310px;
}

.hero-points {
  display: flex;
  gap: 16px;
}

.hero-point {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 円形の背景込みでスライスした 32x32 のアイコン */
.hero-point-icon {
  height: 32px;
  width: 32px;
}

.hero-point-text {
  color: #4b5563;
  line-height: 1.2;
  text-align: center;
}

.hero-stores {
  align-items: center;
  display: flex;
  gap: 8px;
}

.hero-store {
  align-items: center;
  display: flex;
  gap: 16px;
}

.hero-store .store-badge {
  height: 55px;
}

/* 写真の座標は 375px キャンバス基準のため、ヒーローの左右パディングに
   関係なく幅 375px を確保して中央に置く (狭い側ではネガティブマージン)。
   SP でははみ出したスマホの下端を .problems (z-index: 2) の青いアーチの
   裏に隠す (z-index: 1)。PC はアーチの手前に出す (メディアクエリ側で 3) */
.hero-visual {
  height: 335px;
  margin: 10px calc((100% - min(375px, 100vw)) / 2) 0;
  position: relative;
  width: min(375px, 100vw);
  z-index: 1;
}

/* Figma の切り抜き窓 (画像幅の 13〜75%、上へ 14px シフト) に合わせたオフセット */
.hero-photo {
  height: 420px;
  left: 74px;
  object-fit: cover;
  object-position: 34.3% -14px;
  position: absolute;
  top: 0;
  width: 297px;
}

.hero-free-badge {
  align-items: center;
  background: linear-gradient(90deg, #75c9ff, #009aff);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  height: 96px;
  justify-content: center;
  left: 16px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  position: absolute;
  text-align: center;
  top: 25px;
  width: 96px;
  z-index: 2;
}

.hero-note {
  bottom: 46px;
  font-size: 12px;
  left: 16px;
  position: absolute;
  z-index: 1;
}

/* 課題セクション */
/* SP ではヒーローの写真のはみ出しより手前に描画し、写真を青エリアの裏に隠す
   (PC は .hero-visual が z-index: 3 でアーチの前面に重なる)。
   背景色 (background-color) は端数倍率で要素の端の行にグラデーション層より
   優先して露出し線に見えるため使わない。グラデーション層は上へ 2px はみ出させ、
   下端 2px は未塗装のまま前面の波形と次セクションに覆わせる */
.problems {
  background: linear-gradient(180deg, var(--color-blue), var(--color-blue-dark)) 0 -2px / 100% calc(100% - 2px) no-repeat;
  overflow-x: clip;
  /* 下パディング 0 だとマスコットの下マージンがセクション外へ相殺で抜けて
     次セクションとの間に白い隙間を作るため、下は 6px 確保する */
  padding: 46px 16px 6px;
  position: relative;
  z-index: 2;
}

/* セクション上端の青い波形。同一要素の装飾なので何にも覆われず、
   本体の青と 1px 重ねて継ぎ目も出ない。
   mask-size 100.5% は端数倍率での左右端の丸め誤差対策 */
.problems::before {
  background: var(--color-blue);
  content: '';
  height: 40px;
  left: 0;
  -webkit-mask: url(/assets/images/wave-hero.svg) center / 100.5% 100% no-repeat;
  mask: url(/assets/images/wave-hero.svg) center / 100.5% 100% no-repeat;
  position: absolute;
  right: 0;
  top: -39px;
}

/* 下端に明色の帯を敷き、境目の描画誤差 (白い隙間・線) を吸収する。
   前面の明色の波形と次セクションに挟まれた領域なので見た目は変わらない */
.problems::after {
  background: var(--color-bg-light);
  bottom: -1px;
  content: '';
  height: 8px;
  left: 0;
  position: absolute;
  right: 0;
}

.problems-inner {
  margin: 0 auto;
  max-width: 480px;
}

.problems-title {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.12em;
  margin: 0 0 0 11px;
}

.problems-title-strong {
  font-weight: 700;
}

.problems-title-large {
  font-size: 22.4px;
}

.problems-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 27px;
}

.problem-bubble {
  background: #fff;
  font-size: 15px;
  letter-spacing: 0.12em;
  padding: 16px 24px;
}

.problem-bubble strong {
  font-weight: 700;
}

.problem-bubble-left {
  align-self: flex-start;
  border-radius: 24px 24px 0 24px;
}

.problem-bubble-right {
  align-self: flex-end;
  border-radius: 24px 24px 24px 0;
  max-width: 306px;
}

/* 波形 (z-index: 0) より背面に置き、足元がアーチの奥に隠れるようにする */
.problems-mascot {
  display: block;
  margin: 24px auto 0;
  width: 160px;
}

.problems .section-wave {
  background: var(--color-bg-light);
  -webkit-mask: url(/assets/images/wave-problems.svg) center / 100.5% 100% no-repeat;
  mask: url(/assets/images/wave-problems.svg) center / 100.5% 100% no-repeat;
  z-index: 0;
}

/* 特徴セクション */
.features {
  align-items: center;
  background: var(--color-bg-light);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 80px 16px;
}

.features-heading {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 480px;
}

.features-title {
  font-size: 22.4px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  margin: 0 11px;
}

.features-title-strong {
  color: var(--color-blue);
  font-weight: 700;
}

/* 「業界初※の」も青太字にする */
.features-title-em {
  color: var(--color-blue);
  font-weight: 700;
}

/* ※ は上付き・通常ウェイトにする (line-height 1 で行の高さに影響させない) */
.features-title-note {
  font-size: 14.4px;
  font-weight: 400;
  line-height: 1;
  vertical-align: super;
}

.features-note,
.features-dev-note {
  font-size: 14px;
}

.feature {
  max-width: 480px;
  width: 100%;
}

/* カード間は 16px (セクションの gap 40px を打ち消して詰める) */
.feature + .feature {
  margin-top: -24px;
}

/* カード群→注記は 24px */
.features-dev-note {
  margin-top: -16px;
}

.feature-card {
  align-items: center;
  background: #fff;
  border-radius: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 24px 0;
  position: relative;
}

.feature-3 .feature-card {
  padding-bottom: 32px;
}

.feature-label {
  align-items: flex-end;
  color: var(--color-blue);
  display: flex;
  justify-content: center;
  line-height: 1.6;
}

.feature-label-num {
  font-size: 60.2px;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.feature-label-text {
  font-size: 22.4px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

/* ラベル (特徴 N) の直下に隙間なく付ける (カードの gap 24px を打ち消す) */
.feature-badge {
  background: var(--color-orange);
  border-radius: 300px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 2;
  margin-top: -24px;
  text-align: center;
  width: 80px;
}

/* SP: タイトル→本文 24px、本文→注記 8px、直前の要素との間隔は 16px */
.feature-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: -8px;
  width: 100%;
}

.feature-text .feature-note {
  margin-top: -16px;
}

/* 注記が連続する場合の行間 (Figma 指定は 4px) */
.feature-note + .feature-note {
  margin-top: -20px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-align: center;
}

.feature-body {
  line-height: 1.6;
  text-align: justify;
}

.feature-note {
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
  width: 100%;
}

.feature-illust {
  display: none;
}

.feature-phone {
  height: 418px;
  overflow: hidden;
  position: relative;
  width: 240px;
}

.feature-phone img {
  width: 100%;
}

/* Figma 指定: 画像基準 74〜84% のフェード = 枠基準では 90〜102% */
.feature-phone::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 90%, #fff 102%);
  content: '';
  inset: 0;
  position: absolute;
}

.feature-langs {
  display: grid;
  gap: 7px 6px;
  grid-template-columns: repeat(2, 106px);
  justify-content: center;
}

/* 言語バルーン: 書き出し SVG の形状をマスクに使い、中身は実テキストで描画 */
.feature-langs li {
  align-items: center;
  background: linear-gradient(129deg, #addfff, #75c9ff);
  color: #fff;
  display: flex;
  font-size: 21px;
  font-weight: 700;
  height: 117px;
  justify-content: center;
  line-height: 1.2;
  -webkit-mask: url(/assets/images/balloon.svg) center / 100% 100% no-repeat;
  mask: url(/assets/images/balloon.svg) center / 100% 100% no-repeat;
  padding-bottom: 12px;
  text-align: center;
}

/* その他の特徴セクション */
.others {
  align-items: center;
  background: var(--color-blue);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 80px 16px;
}

.others-title {
  color: #fff;
  font-size: 22.4px;
  letter-spacing: 0.12em;
  text-align: center;
}

.others-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  width: 100%;
}

.other-card {
  align-items: center;
  background: #fff;
  border-radius: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 40px;
}

.other-card-icon {
  align-items: center;
  display: flex;
  height: 72px;
  justify-content: center;
  width: 72px;
}

.other-card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
}

.other-card-text {
  text-align: center;
}

.other-card-note {
  font-size: 14px;
}

/* よくある質問セクション */
.faq {
  align-items: center;
  background: var(--color-bg-light);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 80px 16px;
}

.faq-title {
  font-size: 22.4px;
  letter-spacing: 0.12em;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  width: 100%;
}

.faq-q {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 16px;
  padding: 16px;
  text-align: left;
  /* 閉じるときは回答の収納アニメーション (0.2s) が終わってから角丸と隙間を戻す */
  transition: border-radius 0s 0.2s, margin-bottom 0s 0.2s;
  width: 100%;
}

.faq-q-mark {
  flex-shrink: 0;
  width: 18px;
}

.faq-q-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
}

/* +/- アイコン: Figma の指定 (#315bc3・幅 1px・長さ 18px の直線 2 本) を
   CSS の矩形で描画する。1px 幅の SVG を伸縮させると環境によって欠けたり
   太さが不安定になるため画像は使わない。
   展開時は縦棒を 90° 回転させて - に変化させる */
.faq-q-icon {
  flex-shrink: 0;
  height: 24px;
  position: relative;
  width: 24px;
}

.faq-q-icon::before,
.faq-q-icon::after {
  background: var(--color-blue);
  content: '';
  inset: 0;
  margin: auto;
  position: absolute;
}

/* 横棒 */
.faq-q-icon::before {
  height: 1px;
  width: 18px;
}

/* 縦棒 (開くと回転して横棒に重なり - になる) */
.faq-q-icon::after {
  height: 18px;
  transition: transform 0.2s;
  width: 1px;
}

/* 開くときは即座に切り替える */
.faq-item.is-open .faq-q {
  border-radius: 24px 24px 0 0;
  margin-bottom: 2px;
  transition: none;
}

.faq-item.is-open .faq-q-icon::after {
  transform: rotate(90deg);
}

/* 開閉は .is-open の付け外しだけで行い、高さのアニメーションは
   grid-template-rows (0fr ↔ 1fr) のトランジションが担う */
.faq-a {
  background: #fff;
  border-radius: 0 0 24px 24px;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  align-items: center;
  display: flex;
  gap: 16px;
  min-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: padding 0.2s;
}

.faq-item.is-open .faq-a-inner {
  padding: 16px;
}

/* A は Q のグリフ (SP 27px / PC 32px) と同じ高さに拡大する。
   幅はテキスト開始位置を Q と揃えるため枠を維持し中央配置 */
.faq-a-mark {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  /* Q マークの枠 (SP 45px / PC 52px) と同じ高さにして行の高さを揃える */
  height: 45px;
  justify-content: center;
  width: 18px;
}

.faq-a-mark img {
  height: 27px;
  max-width: none;
  width: auto;
}

.faq-a-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
}

/* CTA セクション */
.cta {
  overflow: hidden;
  padding: 80px 16px 0;
  position: relative;
}

.cta-canvas {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* Figma 指定: 画像高さ 484px、下 90px をセクション外に切り落とす */
.cta::before {
  background: var(--color-bg-light) url(/assets/images/bg-city.webp) repeat-x left calc(50% + 90px) bottom -90px / auto 484px;
  content: '';
  inset: 0;
  position: absolute;
}

.cta::after {
  background: linear-gradient(180deg, var(--color-bg-light) 27%, rgba(230, 240, 251, 0) 64%);
  content: '';
  inset: 0;
  position: absolute;
}

.cta-title {
  font-size: 22.4px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
}

.cta-stores {
  align-items: center;
  display: flex;
  gap: 8px;
}

.cta-store {
  align-items: center;
  display: flex;
  gap: 16px;
}

.cta-store .store-badge {
  height: 55px;
}

/* フッターとの間に描画上の隙間が出ないよう 5px 重ねる */
.cta-mascot {
  transform: translateY(5px);
  width: 263px;
}

/* フッター */
.footer {
  align-items: center;
  background: linear-gradient(90deg, var(--color-blue), #172b5d);
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 56px 16px 24px;
}

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

.footer-logo {
  width: 240px;
}

.footer-links {
  align-items: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.footer-link {
  text-decoration: none;
}

.footer-copyright {
  color: #fff;
  font-size: 12px;
  text-align: center;
}

/* ホバー可能なデバイスのみに適用 (ゴーストホバー対策) */
@media (hover: hover) {
  .store-badge {
    transition: opacity 0.2s;
  }

  .store-badge:hover {
    opacity: 0.8;
  }

  .faq-q:hover .faq-q-text {
    opacity: 0.7;
  }

  .footer-link:hover {
    text-decoration: underline;
  }
}

/* PC レイアウト */
@media (min-width: 1120px) {
  .u-pc {
    display: revert;
  }

  .u-sp {
    display: none;
  }

  .section-wave {
    height: 63px;
  }

  /* ヘッダー */
  .site-header {
    align-items: center;
    background: #fff;
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    height: 80px;
    justify-content: space-between;
    padding: 16px 32px;
    position: relative;
    z-index: 10;
  }

  .site-header-logo {
    width: 235px;
  }

  .site-header-stores {
    align-items: center;
    display: flex;
    gap: 13px;
  }

  .site-header-stores .store-badge {
    height: 48px;
  }

  /* ヒーロー
     Figma では画像がセクション下端からはみ出して波形に重なる。
     z-index を持たせない (stacking context を作らない) こと。
     KV (.hero-visual, z-index: 3) だけが .problems (z-index: 2) の
     アーチより手前に出て、ヒーロー背景はアーチの奥に残る */
  .hero {
    height: 728px;
    overflow: visible;
    padding: 0;
  }

  .hero::before {
    background-position: left calc(50% + 613px) bottom -176px;
    background-size: 2040px 920px;
  }

  .hero::after {
    background: linear-gradient(90deg, #fff 40%, rgba(255, 255, 255, 0) 71%);
  }

  .hero-canvas {
    height: 100%;
    margin: 0 auto;
    max-width: 1440px;
    position: relative;
  }

  .hero-inner {
    align-items: center;
    left: 7.2%;
    max-width: none;
    position: absolute;
    top: 138px;
  }

  .hero-lead {
    color: #1c2330;
    font-size: 20px;
    line-height: 1.3em;
  }

  .hero-title {
    gap: 8px;
  }

  .hero-sub {
    color: #1c2330;
    font-size: 20px;
    transform: translateX(-15px);
  }

  .hero-sub-note {
    font-size: 13px;
  }

  .hero-logo {
    width: 564px;
  }

  .hero-points {
    gap: 24px;
  }

  .hero-point {
    flex-direction: row;
  }

  .hero-point-text {
    text-align: left;
  }

  .hero-stores {
    gap: 32px;
  }

  .hero-store .store-badge {
    height: 60px;
  }

  /* QRコードを再表示する場合は、以下のコメントを解除する
  .hero-store-qr {
    background: #fff;
    border-radius: 12px;
    display: flex !important;
    height: 86px;
    padding: 8px;
    width: 86px;
  }
  */

  /* 幅 1440px 未満ではテキストと重ならないよう、縦横とも中央を軸に画像を縮小する */
  .hero-visual {
    aspect-ratio: 496 / 700;
    height: auto;
    left: 75.9%;
    margin: 0;
    max-width: none;
    overflow: hidden;
    position: absolute;
    top: 51.9%;
    transform: translate(-50%, -50%);
    width: clamp(300px, calc(151.8vw - 1380px), 496px);
    /* .problems (z-index: 2) の青いアーチより前面に出し、
       スマホの下端がアーチに重なる Figma の見え方を再現する */
    z-index: 3;
  }

  /* Figma と同じ切り抜き (枠に対して 171% に拡大し左へオフセット) */
  .hero-photo {
    height: 106.1%;
    left: -26.9%;
    max-width: none;
    object-fit: fill;
    /* SP 用の縦オフセット (-14px) を打ち消す。長さ指定は fill でも適用されるため */
    object-position: 0 0;
    top: -3.5%;
    width: 171.2%;
  }

  .hero-free-badge {
    font-size: 25px;
    height: 118px;
    left: 24px;
    top: 24px;
    width: 118px;
  }

  .hero-note {
    bottom: 78px;
    font-size: 14px;
    left: auto;
    right: 24px;
  }

  /* 課題セクション
     1440px 基準のキャンバスを em 単位で組み、フォントサイズをセクション実幅 (cqw)
     に連動させて全体をひとまとまりのまま比例縮小する (1em = 10px 相当が基準)。
     スクロールバーを含む vw と実幅のズレによる境目の線を防ぐため cqw を使う */
  .problems {
    /* Figma 指定: 58.333% までベタの青 → 濃紺。波形 (ベタ青) との境目で
       変化率が不連続になると線状に見えるため、開始位置を必ず維持する。
       下地は明色にして、下端のサブピクセル隙間に暗色が覗かないようにする */
    /* グラデーション層は上へ 2px はみ出させ、端数倍率でも上端に下地が覗かないようにする */
    background: linear-gradient(180deg, var(--color-blue) 58.333%, var(--color-blue-dark)) 0 -2px / 100% calc(100% - 2px) no-repeat;
    container-type: inline-size;
    height: auto;
    padding: 0;
  }

  .problems-inner {
    font-size: min(10px, 0.6944vw);
    font-size: min(10px, 0.6944cqw);
    height: 54em;
    margin: 0 auto;
    max-width: none;
    position: relative;
    width: 144em;
    z-index: 1;
  }

  .problems .section-wave {
    height: min(86px, 5.97vw);
    height: min(86px, 5.97cqw);
  }

  .problems::before {
    height: 63px;
    top: -62px;
  }

  .problems-title {
    font-size: 2.8em;
    left: 8.5%;
    margin: 0;
    position: absolute;
    /* Figma 指定 y=192.5px (192.5 / 28 = 6.875em) */
    top: 6.875em;
  }

  .problems-title-large {
    font-size: 1.143em;
  }

  .problems-list {
    gap: 0;
    height: 32em;
    margin: 0;
    position: absolute;
    right: 2.4%;
    top: 7.7em;
    width: 53em;
  }

  .problem-bubble {
    font-size: 1.8em;
    padding: 1.111em 1.333em;
    position: absolute;
  }

  .problem-bubble-left {
    border-radius: 1.778em 1.778em 0 1.778em;
  }

  .problem-bubble-right {
    border-radius: 1.778em 1.778em 1.778em 0;
    max-width: none;
  }

  .problems-list .problem-bubble:nth-child(1) {
    left: 0;
    top: 0;
  }

  .problems-list .problem-bubble:nth-child(2) {
    left: 4.722em;
    top: 7em;
  }

  .problems-list .problem-bubble:nth-child(3) {
    left: 0;
    top: 13.944em;
  }

  .problems-mascot {
    bottom: 1.9em;
    left: 50%;
    margin: 0;
    position: absolute;
    transform: translateX(-50%);
    width: 26.3em;
  }

  /* 特徴セクション */
  .features {
    gap: 80px;
    padding: 86px max(16px, calc((100% - 1120px) / 2));
  }

  .features-heading {
    max-width: none;
  }

  .features-title {
    font-size: 32px;
    line-height: 2;
    margin: 0;
    text-align: center;
  }

  .features-title-em {
    color: var(--color-blue);
    font-weight: 700;
  }

  .features-title-note {
    font-size: 20px;
  }

  .features-note {
    font-size: 16px;
  }

  .features-dev-note {
    font-size: 16px;
  }

  .feature {
    height: 568px;
    max-width: 1120px;
    position: relative;
  }

  .feature + .feature {
    margin-top: 0;
  }

  .features-dev-note {
    margin-top: 0;
  }

  .feature-card {
    background: none;
    border-radius: 0;
    display: block;
    height: 100%;
    padding: 0;
  }

  .feature-card::before {
    background: #fff;
    content: '';
    height: 428px;
    left: 0;
    position: absolute;
    top: 140px;
    width: 100%;
  }

  .feature-1 .feature-card::before,
  .feature-3 .feature-card::before {
    border-radius: 56px 56px 0 56px;
  }

  .feature-2 .feature-card::before {
    border-radius: 56px 56px 56px 0;
  }

  .feature-label {
    justify-content: flex-start;
    position: absolute;
  }

  .feature-label-num {
    font-size: 86px;
  }

  .feature-label-text {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .feature-badge {
    font-size: 16px;
    margin: 0;
    position: absolute;
    width: 84px;
  }

  .feature-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    position: absolute;
    width: 647px;
  }

  .feature-text .feature-note {
    margin-top: 0;
  }

  /* 注記が連続する場合の行間 (Figma 指定は 4px) */
  .feature-note + .feature-note {
    margin-top: -12px;
  }

  .feature-title {
    font-size: 32px;
    text-align: left;
  }

  .feature-body {
    font-size: 18px;
  }

  .feature-note {
    font-size: 14px;
  }

  .feature-illust {
    display: block;
    position: absolute;
  }

  .feature-phone {
    height: 568px;
    position: absolute;
    top: 0;
    width: 326px;
  }

  /* 特徴 1: テキスト左・スマホ右 */
  .feature-1 .feature-label {
    left: 67px;
    top: 155px;
  }

  .feature-1 .feature-badge {
    left: 207px;
    top: 221px;
  }

  .feature-1 .feature-text {
    left: 67px;
    top: 279px;
  }

  .feature-illust-1 {
    left: 461px;
    top: 63px;
    width: 239px;
  }

  .feature-1 .feature-phone {
    right: 30px;
  }

  /* 特徴 2: スマホ左・テキスト右 */
  .feature-2 .feature-label {
    left: 406px;
    top: 155px;
  }

  .feature-2 .feature-text {
    left: 406px;
    top: 279px;
  }

  .feature-illust-2 {
    left: 749px;
    top: 126px;
    width: 325px;
  }

  .feature-2 .feature-phone {
    left: 30px;
  }

  /* 特徴 3: 高さ固定なし・フラグ右 */
  .feature-3 {
    height: 313px;
  }

  .feature-3 .feature-card {
    padding: 0;
  }

  .feature-3 .feature-card::before {
    height: 100%;
    top: 0;
  }

  .feature-3 .feature-label {
    left: 91px;
    top: 14px;
  }

  .feature-3 .feature-text {
    left: 91px;
    top: 138px;
  }

  .feature-langs {
    gap: 8px;
    grid-template-columns: repeat(4, 132px);
    left: 532px;
    padding: 0;
    position: absolute;
    top: 83px;
  }

  .feature-langs li {
    font-size: 26px;
    height: 146px;
    padding-bottom: 14px;
  }

  /* その他の特徴セクション */
  .others {
    gap: 80px;
    padding: 86px max(16px, calc((100% - 1120px) / 2));
  }

  .others-title {
    font-size: 32px;
    line-height: 2;
  }

  .others-list {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1120px;
  }

  .other-card {
    border-radius: 56px;
    justify-content: flex-start;
    padding: 32px 40px;
  }

  .other-card-text {
    font-size: 18px;
  }

  /* よくある質問セクション */
  .faq {
    gap: 80px;
    padding: 86px max(16px, calc((100% - 1120px) / 2));
  }

  .faq-title {
    font-size: 32px;
    line-height: 2;
  }

  .faq-list {
    max-width: 1120px;
  }

  .faq-q {
    border-radius: 28px;
    gap: 24px;
    padding: 16px 24px;
  }

  .faq-q-mark {
    width: 21px;
  }

  .faq-item.is-open .faq-q {
    border-radius: 28px 28px 0 0;
  }

  .faq-a {
    border-radius: 0 0 28px 28px;
  }

  .faq-a-inner {
    gap: 24px;
    padding: 0 24px;
  }

  .faq-item.is-open .faq-a-inner {
    padding: 16px 24px;
  }

  .faq-a-mark {
    height: 52px;
    width: 21px;
  }

  .faq-a-mark img {
    height: 32px;
  }

  /* CTA セクション */
  .cta {
    height: 371px;
    padding: 0;
  }

  .cta-canvas {
    display: block;
  }

  /* Figma 指定: 画像幅 103.5%、上へ 62px オフセット */
  .cta::before {
    background: var(--color-bg-light) url(/assets/images/bg-city.webp) repeat-x left calc(50% + 25px) top -62px / 1491px auto;
  }

  .cta::after {
    display: none;
  }

  .cta-canvas {
    height: 100%;
    margin: 0 auto;
    max-width: 1440px;
    position: relative;
  }

  .cta-title {
    font-size: 22px;
    left: 11%;
    position: absolute;
    text-align: left;
    top: 50%;
    transform: translateY(-50%);
  }

  .cta-stores {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    position: absolute;
    right: 9.2%;
    top: 99px;
  }

  .cta-store {
    justify-content: space-between;
    width: 280px;
  }

  .cta-store .store-badge {
    height: 50px;
  }

  /* QRコードを再表示する場合は、以下のコメントを解除する
  .cta-store-qr {
    background: #fff;
    border-radius: 12px;
    display: flex !important;
    height: 86px;
    padding: 8px;
    width: 86px;
  }
  */

  /* 画像の切り口がセクション内に見えないよう、下端から 5px はみ出させる */
  .cta-mascot {
    bottom: -5px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 263px;
  }

  /* フッター */
  .footer {
    background: linear-gradient(90deg, #172b5d, #07173f);
    gap: 16px;
    padding: 32px 160px 8px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1120px;
    width: 100%;
  }

  .footer-logo {
    width: 189px;
  }

  /* Figma では全角スペース区切り相当 (約 12px) */
  .footer-links {
    flex-direction: row;
    font-size: 12px;
    gap: 12px;
  }
}
