/* =========================================================================
   st011.com LAYOUT CLONE — 骨組み専用スタイル
   ・数値（余白／ズレ／重なり／比率）はオリジナルの計算結果をそのまま移植
   ・元サイトに散らばっていた重複指定は、最終的な見え方を変えずに1本化
   ・テキスト／画像はすべてダミー
   ========================================================================= */

/* =========================================================
   1. デザイントークン
   ========================================================= */
:root {
  /* Color */
  --green: var(--c-main, #3a844f);
  --deep: var(--c-accent, #387f4b);
  --paper: var(--c-base, #f2efe6);      /* ページ全体の生成り背景 */
  --surface: #fdfdfc;    /* カード・パネルの白 */
  --ink: var(--c-text, #252525);
  --muted: #6d716d;
  --line: rgba(58, 132, 79, .72);

  /* Layout */
  --max: 1088px;                            /* コンテンツ最大幅 */
  --content-width: calc(100% - 48px);       /* 狭い画面での左右余白 24px×2 */

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-card: 0 8px 21px rgba(0, 0, 0, .12);

  /* Space（8pxベース。ただし実際の配置は等間隔にしない） */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 72px;
  --space-8: 96px;
  --space-9: 112px;

  /* Type scale */
  --font-caption: 12px;
  --fs-body: 14px;
  --font-body-large: 16px;
  --font-label: 16px;
  --font-subheading: 18px;
  --font-card-title: 22px;
  --font-section-heading: clamp(24px, 2.5vw, 32px);

  font-family: var(--font-body, "Noto Sans JP", "Yu Gothic", sans-serif);
  color: var(--ink);
  background: var(--paper);
}

/* =========================================================
   2. ベース
   ========================================================= */
* { box-sizing: border-box }

html { scroll-behavior: smooth }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: .02em;
}

a { color: inherit; text-decoration: none }
img { display: block; max-width: 100% }
button { font: inherit; border: 0; background: none; color: inherit }
h1, h2, h3, h4, p, ul { margin: 0 }
ul { padding: 0; list-style: none }

/* アイコン共通（Lucide / stroke 1.75px で統一） */
svg { display: block }
.icon { width: 13px; height: 13px; flex: none }
.brand-mark svg { width: 100%; height: 100% }

/* =========================================================
   3. ヘッダー
   PC：右上に固定されたガラス調ピル
   ========================================================= */
.header {
  position: fixed;
  z-index: 100;
  top: 34px;
  left: 50%;
  display: flex;
  width: min(1600px, calc(100% - 64px));
  align-items: center;
  justify-content: flex-end;   /* ← ロゴはヒーロー側にあるので右寄せのみ */
  transform: translateX(-50%);
}

.header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 6px 8px 6px 22px;   /* 左右非対称：CTAが右端に寄るぶん右を詰める */
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .28);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .09);
  font-size: 12px;
  backdrop-filter: blur(14px);
}

.header nav i { font-style: normal; opacity: .45 }

.nav-cta,
.app-button {
  display: inline-flex;
  min-width: 170px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: .2s;
}

.nav-cta:hover,
.app-button:hover { background: #2e6d40; transform: translateY(-1px) }

.mobile-brand,
.mobile-menu-button { display: none }

/* =========================================================
   4. ヒーロー
   ========================================================= */
.hero-transition { position: relative }

.hero {
  position: sticky;                 /* 次セクションが上に乗り上げる */
  top: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: 44% 56%;   /* ← 50/50ではない。左を狭く、写真を広く */
  min-height: 700px;
  isolation: isolate;
  --hero-scroll-blur: 0px;
  --hero-scroll-opacity: 1;
}

.hero-copy,
.hero-visual {
  filter: blur(var(--hero-scroll-blur));
  opacity: var(--hero-scroll-opacity);
  transition: filter .08s linear, opacity .08s linear;
  will-change: filter, opacity;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 32px 60px clamp(40px, 6vw, 120px);
  /* ★意図的なズレ：縦中央から32px上へ、さらに右へ28〜48px押し出す */
  transform: translate(clamp(28px, 3vw, 48px), -32px);
}

.hero-logo {
  align-self: flex-start;
  gap: 11px;
  margin-bottom: 48px;
  color: var(--green);
  font-size: 31px;
  font-weight: 700;
}

.logo { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 22px; font-weight: 700 }
.logo .brand-mark { width: 30px; height: 30px; flex: none }
.hero-logo .brand-mark { width: 42px; height: 42px }
.logo small { font-size: 12px; font-weight: 600 }
.hero-logo small { font-size: 17px }

.hero h1 {
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: .05em;
}

.hero h1 span.hero-line { display: block; white-space: nowrap; color: var(--ink) }
.hero h1 .hero-line strong { color: var(--green); font-weight: inherit }

.hero-copy > p {
  margin: 30px 0;
  color: #343834;
  font-weight: 500;
  line-height: 1.9;
}

.download { display: flex; align-items: center; gap: 18px }
.download-qr { display: inline-flex; flex: none; border-radius: 4px }
.download-qr img { width: 48px; height: 48px }
.download-qr:focus-visible { outline: 3px solid var(--green); outline-offset: 4px }

.download-note {
  margin: 10px 0 0;
  color: #526057;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .04em;
}

/* 3点の特徴：縦罫で区切る */
.benefits { display: flex; gap: 28px; margin: 42px 0 0 }
.benefits li { display: grid; min-width: 90px; place-items: center; text-align: center }
.benefits li + li { padding-left: 28px; border-left: 1px solid rgba(58, 132, 79, .25) }
.benefits .icon { width: 34px; height: 34px; margin-bottom: 8px; color: var(--green) }
.benefits span { font-size: 10px; font-weight: 600; line-height: 1.55 }

.hero-scroll-cue { display: none }
.hero-mobile-download { display: none }

/* ---------- 4-2. 写真の無限縦スクロール ---------- */
.hero-visual {
  position: relative;
  z-index: 0;
  min-width: 0;
  height: 700px;
  overflow: hidden;
  background: var(--paper);
}

.hero-scroll-track {
  display: flex;
  position: absolute;
  z-index: 0;
  inset: 0 auto auto 0;
  width: 100%;
  flex-direction: column;
  animation: hero-scroll 68s linear infinite;
  will-change: transform;
}

@keyframes hero-scroll {
  from { transform: translateY(-50%) }
  to   { transform: translateY(0) }
}

.hero-scroll-set {
  display: flex;
  width: 100%;
  flex: none;
  flex-direction: column;
  gap: 24px;
  padding: 0 0 24px 24px;   /* ★左だけ24pxのインデント。右は画面外へ突き抜ける */
}

.hero-slide {
  position: relative;
  overflow: hidden;
  flex: none;
  width: 100%;
  margin-left: auto;
  aspect-ratio: 1.59;
  background: #ddd;
  box-shadow: 0 0 38.44px rgba(0, 0, 0, .08);
}

.hero-slide > img { width: 100%; height: 100%; object-fit: cover }

/* 写真の上に重ねる提案カード（右下固定・写真からはみ出さない） */
.suggestion {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: block;
  width: 390px;
  height: 142px;
  padding: 17px 214px 13px 18px;   /* ★右に214pxの“空き”を作り、そこへ画像を絶対配置 */
  overflow: hidden;
  border-radius: 17px;
  background: var(--paper);
  box-shadow: 0 0 34px rgba(0, 0, 0, .1);
  line-height: 1.55;
}

.suggestion::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 198px;
  height: 126px;
  border-radius: 15px;
  background: url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=400&q=60") center / cover no-repeat;
}

.suggestion small,
.suggestion b,
.suggestion span {
  display: block;
  max-width: 158px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion small { color: var(--green); font-size: 16px; font-weight: 500; line-height: 1.4 }
.suggestion b     { margin-top: 3px; font-size: 16px; font-weight: 600; line-height: 1.45 }
.suggestion span  { margin-top: 3px; font-size: 12px; line-height: 1.35 }

.suggestion-image { display: none }

/* スライドごとにサムネイルを差し替え */
.hero-slide:nth-child(2) .suggestion::after { background-image: url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=400&q=60") }
.hero-slide:nth-child(3) .suggestion::after { background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=400&q=60") }
.hero-slide:nth-child(4) .suggestion::after { background-image: url("https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=400&q=60") }
.hero-slide:nth-child(5) .suggestion::after { background-image: url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=400&q=60") }

/* 写真列の左端／下端を生成り背景へ溶かすグラデーション */
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 28.5%;
  background: linear-gradient(90deg,
    var(--paper) 0%, var(--paper) 16%,
    rgba(242, 239, 230, .94) 28%,
    rgba(242, 239, 230, .72) 48%,
    rgba(242, 239, 230, .38) 70%,
    rgba(242, 239, 230, 0) 100%);
  pointer-events: none;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0; bottom: 0; left: 0;
  height: 25.5%;
  background: linear-gradient(180deg,
    rgba(242, 239, 230, 0) 0%,
    rgba(242, 239, 230, .18) 26%,
    rgba(242, 239, 230, .58) 62%,
    var(--paper) 100%);
  pointer-events: none;
}

/* =========================================================
   5. IDEAS（タブ＋フルブリード横流れカルーセル）
   ========================================================= */
.ideas {
  position: relative;
  z-index: 1;                        /* ヒーローの上に乗り上げる */
  max-width: none;
  margin: 0 auto;
  padding: var(--space-8) 0 var(--space-9);  /* 上96 / 下112 ← 非対称 */
  background: var(--paper);
  text-align: center;
}

/* 乗り上げの継ぎ目を隠す180pxのグラデーション */
.ideas::before {
  content: "";
  position: absolute;
  right: 0; bottom: 100%; left: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(242, 239, 230, 0), #f2efe6);
  pointer-events: none;
}

.eyebrow { margin: 0 0 10px; color: var(--green); font-size: var(--font-label); font-weight: 600 }

.ideas h2 {
  display: inline-flex;
  position: relative;
  width: min(470px, calc(100vw - 40px));
  min-height: 65px;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  border-radius: 133px;
  background: #3a834e;
  color: #fff;
  font-size: var(--font-section-heading);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

/* 見出しピルの下に生えるツノ（三角）※インラインSVGではなくclip-path */
.ideas h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 22px;
  height: 14px;
  background: #3a834e;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transform: translateX(-50%);
}

.heading-comma { display: inline-block; margin-right: -.24em }  /* 読点のアキ調整 */

.tabs {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 40px auto 34px;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none }

.tab {
  margin-bottom: -2px;
  padding: 0 10px 14px;
  border-bottom: 2px solid #b9bbb8;
  color: #92938f;
  font-size: 16px;
  cursor: pointer;
}
.tab.is-active { border-bottom-color: var(--ink); color: var(--ink) }

/* ★フルブリード：親（1088px）を無視して画面幅いっぱいへ */
.idea-cards {
  --idea-card-width: 350px;
  width: 100vw;
  margin: 40px 0 0 calc(50% - 50vw);
  padding: 6px 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
}
.idea-cards::-webkit-scrollbar { display: none }
.idea-cards:active { cursor: grabbing }
.idea-cards:active .idea-track { animation-play-state: paused }

.idea-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 24px;
  animation: idea-carousel 64s linear infinite;
  will-change: transform;
}

@keyframes idea-carousel {
  from { transform: translateX(0) }
  to   { transform: translateX(calc((var(--idea-card-width) + 24px) * -5)) }
}

/* カード本体は15px下から始まり、上15pxはラベルの“はみ出し領域” */
.idea-cards article {
  position: relative;
  flex: 0 0 var(--idea-card-width);
  width: var(--idea-card-width);
  height: 114px;
  padding-top: 15px;
}

.idea-cards article::before {
  content: "";
  position: absolute;
  right: 0; bottom: 0; left: 0;
  height: 99px;
  border: 1px solid #3a844f;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, .1);
}

/* ★ラベルはカード上辺を17px跨いで重なる吹き出し */
.idea-cards em {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  display: inline-flex;
  min-width: 182px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 3px 18px 4px;
  border: 1px solid #3a844f;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--green);
  font-size: var(--fs-body);
  font-style: normal;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}

.idea-cards em::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border-right: 1px solid #3a844f;
  border-bottom: 1px solid #3a844f;
  background: var(--surface);
  transform: translateX(-50%) rotate(45deg);
}

/* タイトル／価格も“中央揃え”ではなく座標指定（左54px・左98px）で置く */
.idea-cards b {
  position: absolute;
  top: 48px; left: 54px;
  z-index: 1;
  width: 242px;
  color: #2a2a2a;
  font-size: var(--font-body-large);
  font-weight: 400;
  line-height: 22px;
  text-align: center;
}
.idea-cards .idea-title-two-line { top: 40px }

.idea-cards small {
  position: absolute;
  top: 84px; left: 98px;
  z-index: 1;
  width: 155px;
  color: #2a2a2a;
  font-size: var(--font-caption);
  line-height: 18px;
  text-align: center;
}

/* =========================================================
   6. FEATURE（PC：1枚パネル）
   ========================================================= */
.feature {
  display: block;
  width: min(var(--max), var(--content-width));
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-8) 0 var(--space-9);  /* 96 / 112 */
  text-align: center;
}

.feature-eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: var(--font-label);
  font-weight: 600;
  line-height: 1.5;
}

.feature-heading,
.reason-heading {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  margin: 0 auto 34px;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: #fff;
  font-size: var(--font-section-heading);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
}

.feature-heading::after,
.reason-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 29px;
  height: 18px;
  background: var(--green);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transform: translateX(-50%);
}

.feature-heading span { display: block; line-height: 1; transform: translateY(-1px) }

/* ★パネル：左右カラム幅が違う／内側パディングも4辺すべて違う */
.feature-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  align-items: center;
  gap: 24px;
  min-height: 420px;
  padding: 72px 64px 50px 56px;   /* 上72 右64 下50 左56 ← 全部バラバラ */
  overflow: visible;              /* 端末やキャラを外へはみ出させるため */
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  text-align: left;
}

/* 装飾の大円。パネルの角丸でクリップし、外へはみ出した部分だけを見せる */
.feature-bg-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.feature-bg {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(156, 191, 55, .2), rgba(56, 191, 20, .2));
  pointer-events: none;
}

.feature-bg-one   { top: -35px;  left: -38px;    width: 112px; height: 112px }
.feature-bg-two   { top: -99px;  left: 38.62%;   width: 392px; height: 392px }
.feature-bg-three { right: -31px; bottom: -66px; width: 387px; height: 387px }
.feature-bg-four  { left: 25.28%; bottom: -40px; width: 167px; height: 167px }
.feature-bg-five  {                              /* リングだけの円 */
  left: 33.77%; bottom: -71px; width: 384px; height: 384px;
  border: 3px solid transparent;
  background: linear-gradient(135deg, rgba(156, 191, 55, .2), rgba(56, 191, 20, .2)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.feature-copy,
.feature-visual { position: relative; z-index: 1; transition: opacity .18s ease }
.feature-panel.is-changing .feature-copy,
.feature-panel.is-changing .feature-visual { opacity: .42 }

.feature-copy { max-width: 560px; padding: 0 }

.feature-title-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px }
.feature-title-row h3 {
  color: var(--green);
  font-size: clamp(24px, 2.7vw, 32px);
  font-weight: 700;
  line-height: 1.5;
}
.feature-title-icon { display: block; width: 34px; height: 34px; flex: none; color: var(--green) }
.feature-title-icon svg { width: 100%; height: 100% }

.feature-text-block { max-width: 540px }
.feature-text-block + .feature-text-block { margin-top: 18px }
.feature-text-block h4 { margin: 0 0 5px; color: #000; font-size: var(--font-subheading); font-weight: 600; line-height: 1.55 }
.feature-text-block p  { color: #000; font-size: var(--fs-body); line-height: 1.75 }

.feature-nav {
  display: grid;
  grid-template-columns: 55px auto 55px;
  justify-content: start;      /* ← 中央揃えにしない */
  gap: 8px;
  margin-top: 30px;
}
.feature-nav > button {
  display: grid;
  width: 55px; height: 55px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.feature-nav > button svg { width: 26px; height: 26px }
.feature-nav > button:hover  { opacity: .78; transform: translateY(-2px) }
.feature-nav > button:active { transform: translateY(0) scale(.96) }
.feature-nav > button:focus-visible,
.feature-dot:focus-visible { outline: 3px solid rgba(58, 132, 79, .28); outline-offset: 2px }

.feature-dots {
  display: inline-flex;
  min-width: 56px; height: 55px;
  align-items: center; justify-content: center;
  gap: 8px;
}
.feature-dot {
  display: block;
  flex: 0 0 8px;
  width: 8px; height: 8px;
  padding: 0;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color .2s ease;
}
.feature-dot.is-active { background: var(--green) }
.feature-dot:disabled { cursor: default }

/* ---------- 6-2. 右カラム：箱より大きいものを詰め込む ---------- */
.feature-visual { height: 362px; min-width: 0 }   /* ← 箱は362pxしかない */

/* 端末：600px。上に118pxはみ出し、下にも大きくはみ出す */
.feature-phone {
  position: absolute;
  z-index: 1;
  right: 18px;
  top: -118px;
  width: 318px;
  height: 600px;
}

/* 端末フレーム（元サイトは端末ごと描かれた画像。ここでは同じ318×600をCSSで再現） */
.feature-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 10px solid #2b2f2c;
  border-radius: 40px;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .22));
  pointer-events: none;
}

.feature-screen {
  position: absolute;
  inset: 10px;
  width: auto; height: auto;
  border-radius: 30px;
  object-fit: cover;
}

/* 提案カード2枚：右端から段違いに配置し、端末に重ねる */
.feature-idea-card {
  position: absolute;
  z-index: 3;
  width: 320px;
  height: 104px;
  padding-top: 14px;
  text-align: center;
}
.feature-idea-card-one { top: 8px;   right: 0 }     /* ★1枚目：右端ぴったり */
.feature-idea-card-two { top: 135px; right: 42px }  /* ★2枚目：127px下・42px内側 */

.feature-idea-card::before {
  content: "";
  position: absolute;
  right: 0; bottom: 0; left: 0;
  height: 90px;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, .1);
}

.feature-idea-card em {
  position: absolute;
  top: 0; left: 50%;
  z-index: 1;
  display: inline-flex;
  min-width: 170px; min-height: 30px;
  align-items: center; justify-content: center;
  padding: 3px 16px 4px;
  border: 1px solid var(--green);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--green);
  font-size: 14px;
  font-style: normal;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}
.feature-idea-card em::before {
  content: "";
  position: absolute;
  bottom: -5px; left: 50%;
  width: 9px; height: 9px;
  border-right: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
  background: var(--surface);
  transform: translateX(-50%) rotate(45deg);
}
.feature-idea-card b {
  position: absolute;
  top: 44px; left: 40px;
  z-index: 1;
  width: 240px;
  color: #2a2a2a;
  font-size: 16px; font-weight: 400; line-height: 22px;
  text-align: center;
}
.feature-idea-card small {
  position: absolute;
  top: 76px; left: 83px;
  z-index: 1;
  width: 155px;
  color: #2a2a2a;
  font-size: 12px; line-height: 18px;
  text-align: center;
}

/* キャラクター：パネル下端から120pxはみ出す */
.feature-character {
  position: absolute;
  z-index: 5;
  right: 190px;
  bottom: -120px;
  width: 252px;
  max-width: none;
  transform: scaleX(-1);
  transition: opacity .2s ease, transform .2s ease;
}

.feature-mobile-slider { display: none }

/* =========================================================
   7. REASONS（波打つ2列グリッド）
   ========================================================= */
.reasons {
  width: min(var(--max), var(--content-width));
  max-width: var(--max);
  margin: auto;
  padding: var(--space-8) 0 216px;   /* ★下216px＝偶数列の134px落ちを吸収する余白 */
  text-align: center;
}

.reason-eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: var(--font-label);
  font-weight: 500;
  line-height: 1.5;
}

.reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 140px;   /* ★列間140px。行間46pxよりはるかに広い＝横に間延びさせる */
  row-gap: 46px;
  margin-top: 72px;
  text-align: left;
}

.reason-grid article { min-width: 0 }

/* ★偶数番目だけ134px下へ落とす＝波打つリズム */
.reason-grid article:nth-child(even) { transform: translateY(134px) }

/* 画像と番号を article 直下の兄弟として流す（ラッパーは存在ごと透過） */
.reason-visual-row { display: contents }

/* ★写真は右寄せ・左に84pxの余白を残す（左下に番号を置くための切り欠き） */
.reason-media {
  width: min(365px, calc(100% - 84px));
  margin-left: auto;
  aspect-ratio: 365 / 250;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.reason-media img { width: 100%; height: 100%; object-fit: cover }

/* ★番号は-69px引き上げて、写真の左下の“切り欠き”へ食い込ませる */
.reason-number {
  display: block;
  margin-top: -69px;
  color: var(--green);
  font-family: var(--font-head, "Montserrat", "Noto Sans JP", sans-serif);
  font-size: 60px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .08em;
}

.reason-grid h3 { margin: 7px 0 10px; font-size: var(--font-card-title); line-height: 1.5 }
.reason-grid p  { font-size: var(--font-body-large); line-height: 1.5 }
.reason-grid .reason-note { margin-top: 2px; font-size: var(--font-caption); line-height: 1.5; letter-spacing: .08em }

/* スクロール表示（オフセットを保ったままフェードイン） */
@media (min-width: 901px) {
  .reasons.has-scroll-reveal .reason-grid article {
    --reason-layout-offset: 0px;
    opacity: 0;
    transform: translateY(calc(var(--reason-layout-offset) + 24px));
    transition: opacity .72s ease, transform .72s cubic-bezier(.22, 1, .36, 1);
  }
  .reasons.has-scroll-reveal .reason-grid article:nth-child(even) { --reason-layout-offset: 134px }
  .reasons.has-scroll-reveal .reason-grid article.is-revealed { opacity: 1; transform: translateY(var(--reason-layout-offset)) }
  .reasons.has-scroll-reveal .reason-grid article:nth-child(1) { transition-delay: 0ms }
  .reasons.has-scroll-reveal .reason-grid article:nth-child(2) { transition-delay: 100ms }
  .reasons.has-scroll-reveal .reason-grid article:nth-child(3) { transition-delay: 200ms }
  .reasons.has-scroll-reveal .reason-grid article:nth-child(4) { transition-delay: 300ms }
}

/* =========================================================
   8. FAQ
   ========================================================= */
.faq {
  max-width: var(--max);
  margin: auto;
  padding: 80px 0 60px;   /* ← 96/112ではない。ここだけ80/60 */
  text-align: center;
}

.faq h2 { color: var(--green); font-size: 28px }   /* 緑ピルではなく素の文字 */

.faq-list { margin-top: 26px; text-align: left }

.faq-item {
  margin-bottom: 8px;
  border: 1.4px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq-item button {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: var(--green);
  cursor: pointer;
}
.faq-item button b { display: block; width: 18px; height: 18px; transition: transform .2s ease }
.faq-item button b svg { width: 100%; height: 100% }
.faq-item.is-open button b { transform: rotate(45deg) }

.faq-item p {
  display: none;
  margin: 0 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(58, 132, 79, .4);
  color: var(--green);
}
.faq-item.is-open p { display: block }

.contact {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 28px;
  border: 1.4px solid var(--green);
  border-radius: var(--radius-sm);
  color: var(--green);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.5;
}
.contact .icon { width: 16px; height: 16px }

/* =========================================================
   9. SHARE BANNER
   ========================================================= */
.x-share {
  width: min(905px, var(--content-width));   /* ← 1088pxではなく905pxの独自幅 */
  margin: 0 auto;
  padding: var(--space-8) 0;
}

.x-share-heading { display: flex; margin: 0 auto 42px }

.x-share-banner {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(37, 37, 37, .16);
  color: #219442;
  transition: box-shadow .2s ease, transform .2s ease;
}
.x-share-banner:hover { box-shadow: 0 14px 38px rgba(37, 37, 37, .2); transform: translateY(-3px) }
.x-share-banner:focus-visible { outline: 3px solid var(--green); outline-offset: 5px }
.x-share-banner img { width: 100%; height: auto }

.x-share-banner span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: clamp(48px, 7vw, 66px);
  padding: 8px 20px;
  font-size: clamp(15px, 2.5vw, 24px);
  font-weight: 500;
  line-height: 1.5;
}
.x-share-banner span b { display: block; width: 1em; height: 1em; font-weight: inherit }
.x-share-banner span b svg { width: 100%; height: 100% }

.x-share-note { margin: 18px 0 0; color: #000; font-size: var(--fs-body); line-height: 1.5; text-align: center }

/* =========================================================
   10. SNS
   ========================================================= */
.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 60px 0 110px;   /* ← 上60 / 下110。フッター直前だけ大きく空ける */
  color: var(--green);
  font-size: 18px;
}

.social a {
  display: grid;
  width: 42px; height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .48);
}
.social a svg { width: 20px; height: 20px }

/* =========================================================
   11. FOOTER
   ========================================================= */
footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 70px max(48px, calc((100vw - 1088px) / 2)) 28px;
  background: #fff;
}

.footer-logo { margin-bottom: 20px }
.footer-logo span { font-size: 22px }

.footer-description {
  max-width: 360px;
  margin: -8px 0 20px;
  color: #526057;
  font-size: var(--font-caption);
  line-height: 1.8;
}

footer nav {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;   /* ← 全リンクを1列に縦積み */
  justify-items: start;
  gap: 10px;
  font-size: var(--font-caption);
  font-weight: 600;
}

footer small {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid #e7e7e4;
  font-size: var(--font-caption);
}

/* =========================================================
   12. RESPONSIVE
   ========================================================= */

/* ---------- 12-1. 〜1200px：ヒーロー比率を微調整 ---------- */
@media (max-width: 1200px) {
  .hero { grid-template-columns: 44% 56% }
  .hero-copy { padding-left: 40px }
  .hero h1 { font-size: clamp(36px, 4vw, 48px) }
  .header { width: calc(100% - 48px) }
}

/* ---------- 12-2. 1600px〜：ヒーローだけ1920pxで頭打ち ---------- */
@media (min-width: 1600px) {
  .hero { max-width: 1920px; margin-inline: auto }
  .hero-copy { padding-left: clamp(80px, 7vw, 140px) }
}

/* ---------- 12-3. 〜900px：構造そのものが切り替わる ---------- */
@media (max-width: 900px) {
  :root { --content-width: calc(100% - 40px) }

  /* ヘッダー：ブランド＋ハンバーガー */
  .header {
    position: fixed;
    top: 18px; right: 20px; left: 20px;
    width: auto;
    justify-content: space-between;
    transform: none;
    pointer-events: none;
  }

  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    font-weight: 700;
    line-height: 1;
    pointer-events: auto;
  }
  .mobile-brand .brand-mark { width: 28px; height: 28px; flex: none }
  .mobile-brand span { font-size: 20px; letter-spacing: .06em }
  .mobile-brand small { margin-left: 2px; font-size: 14px; font-weight: 600 }

  .mobile-menu-button {
    display: grid;
    width: 46px; height: 46px;
    gap: 5px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    backdrop-filter: blur(12px);
    pointer-events: auto;
  }
  .mobile-menu-button span {
    display: block;
    width: 18px; height: 1px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
    transition: opacity .2s ease, transform .2s ease;
  }
  .header.is-menu-open .mobile-menu-button span:nth-child(1) { transform: translateY(6px) rotate(45deg) }
  .header.is-menu-open .mobile-menu-button span:nth-child(2) { opacity: 0 }
  .header.is-menu-open .mobile-menu-button span:nth-child(3) { transform: translateY(-6px) rotate(-45deg) }

  /* ナビはドロップダウンパネルへ */
  .header nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: flex;
    width: min(300px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 16px;
    border-radius: 24px;
    background: rgba(31, 45, 36, .3);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .42);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    backdrop-filter: blur(18px) saturate(135%);
    pointer-events: none;
  }
  .header.is-menu-open nav { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto }
  .header nav > a:not(.nav-cta) {
    display: block;
    padding: 13px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .42);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .32);
  }
  .header nav i { display: none }
  .header nav .nav-cta { display: inline-flex; width: 100%; min-height: 48px; margin-top: 14px; font-size: 14px }

  /* ヒーローは画面に固定し、後続セクションが上を通過していく */
  .hero-transition::before { content: ""; display: block; width: 100%; aspect-ratio: 1572 / 3532 }

  .hero {
    position: fixed;
    top: 0; right: 0; left: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1572 / 3532;   /* ★縦長のフルスクリーン写真 */
    overflow: hidden;
    background: var(--paper);
  }
  .hero-transition.is-hero-past .hero { visibility: hidden }

  .hero-visual,
  .hero-scroll-track,
  .hero-scroll-set:first-child,
  .hero-scroll-set:first-child .hero-slide { height: 100% }

  .hero-visual { position: relative; width: 100%; min-height: 0 }
  .hero-visual::after { display: none }
  .hero-visual::before {
    z-index: 2;
    bottom: -2px;
    height: 40%;
    background: linear-gradient(180deg, rgba(242, 239, 230, 0) 0%, rgba(242, 239, 230, .12) 24%, rgba(242, 239, 230, .72) 52%, var(--paper) 66%, var(--paper) 100%);
  }

  /* 縦マーキーをやめ、5枚のクロスフェードに切り替え */
  .hero-scroll-track { position: relative; width: 100%; animation: none; transform: none }
  .hero-scroll-set { display: block; width: 100%; padding: 0 }
  .hero-scroll-set[aria-hidden="true"] { display: none }
  .hero-scroll-set:first-child { position: relative }
  .hero-scroll-set:first-child .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    aspect-ratio: auto;
    box-shadow: none;
    opacity: 0;
    animation: hero-mobile-fade 40s linear infinite;
  }
  .hero-scroll-set:first-child .hero-slide:first-child   { position: relative }
  .hero-scroll-set:first-child .hero-slide:nth-child(2)  { animation-delay: -8s }
  .hero-scroll-set:first-child .hero-slide:nth-child(3)  { animation-delay: -16s }
  .hero-scroll-set:first-child .hero-slide:nth-child(4)  { animation-delay: -24s }
  .hero-scroll-set:first-child .hero-slide:nth-child(5)  { animation-delay: -32s }
  .hero-scroll-set:first-child .hero-slide > img { object-position: center top }
  .hero-scroll-set:first-child .hero-slide::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .02) 34%, rgba(0, 0, 0, .08) 58%, rgba(0, 0, 0, .35) 100%);
    pointer-events: none;
  }

  /* コピーは写真の上に白抜きで重ねる。ロゴ／CTA／特徴3点は消す */
  .hero-copy {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: block;
    padding: 0 32px;
    transform: none;
    pointer-events: none;
  }
  .hero-logo,
  .hero-copy .download,
  .hero-copy .benefits,
  .hero-download-note { display: none }

  .hero-copy::before {     /* 文字の可読性のための影 */
    content: "";
    position: absolute;
    z-index: 0;
    right: 0; left: 0;
    bottom: clamp(118px, 28vw, 205px);
    height: clamp(250px, 66vw, 410px);
    background:
      radial-gradient(ellipse at 33% 64%, rgba(0, 0, 0, .20) 0%, rgba(0, 0, 0, .11) 42%, rgba(0, 0, 0, 0) 74%),
      linear-gradient(180deg, rgba(0, 0, 0, 0) 6%, rgba(0, 0, 0, .04) 48%, rgba(0, 0, 0, .11) 78%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }

  .hero-copy h1 {
    position: absolute;
    z-index: 1;
    right: 32px; left: 32px;
    bottom: clamp(226px, 53vw, 350px);   /* ★下端からの距離で置く＝画面高に追随 */
    color: #fff;
    font-size: clamp(34px, 8.7vw, 58px);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: .06em;
    text-shadow: 0 2px 7px rgba(0, 0, 0, .28);
  }
  .hero .hero-copy h1 .hero-line,
  .hero .hero-copy h1 .hero-line strong { color: #fff; font-weight: inherit }

  .hero-copy > p {
    position: absolute;
    z-index: 1;
    right: 32px; left: 32px;
    bottom: clamp(172px, 41vw, 274px);
    margin: 0;
    color: #fff;
    font-size: clamp(15px, 3.6vw, 22px);
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: .04em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .34), 0 3px 9px rgba(0, 0, 0, .24);
  }

  /* 提案カードは写真の“40%の高さ”の位置に浮かせる */
  .hero-scroll-set:first-child .hero-slide .suggestion {
    display: grid;
    position: absolute;
    z-index: 3;
    right: clamp(22px, 8vw, 64px);
    bottom: 40%;
    left: auto;
    width: clamp(248px, 62vw, 386px);
    height: clamp(102px, 25vw, 152px);
    padding: clamp(13px, 3.2vw, 19px) 8px 11px clamp(15px, 3.7vw, 21px);
    grid-template-columns: minmax(0, 54%);
    grid-template-rows: auto auto auto;
    column-gap: clamp(10px, 2.5vw, 18px);
    align-content: center;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: clamp(12px, 3.2vw, 18px);
    background: rgba(250, 249, 243, .92);
    box-shadow: 0 8px 24px rgba(44, 51, 44, .12);
    backdrop-filter: blur(8px);
  }
  .hero-scroll-set:first-child .hero-slide .suggestion::after { display: none }
  .hero-scroll-set:first-child .hero-slide .suggestion small,
  .hero-scroll-set:first-child .hero-slide .suggestion b,
  .hero-scroll-set:first-child .hero-slide .suggestion span {
    grid-column: 1;
    width: 100%;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
  }
  .hero-scroll-set:first-child .hero-slide .suggestion small { color: var(--green); font-size: clamp(11px, 2.5vw, 16px); font-weight: 600; letter-spacing: .04em }
  .hero-scroll-set:first-child .hero-slide .suggestion b     { margin-top: 3px; color: #303430; font-size: clamp(12px, 2.7vw, 17px); font-weight: 600 }
  .hero-scroll-set:first-child .hero-slide .suggestion span  { margin-top: 2px; color: #5d625d; font-size: clamp(9px, 2vw, 12px); font-weight: 500 }

  /* サムネイルは擬似要素ではなく <i> で置く（グリッドの外へ絶対配置） */
  .hero-scroll-set:first-child .hero-slide .suggestion-image {
    position: absolute;
    top: 8px; right: 8px; bottom: 8px; left: 52%;
    display: block;
    width: auto; height: auto;
    border-radius: clamp(9px, 2.4vw, 14px);
    background: url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=400&q=60") center / cover no-repeat;
  }
  .suggestion-image-2 { background-image: url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=400&q=60") !important }
  .suggestion-image-3 { background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=400&q=60") !important }
  .suggestion-image-4 { background-image: url("https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=400&q=60") !important }
  .suggestion-image-5 { background-image: url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=400&q=60") !important }

  /* スクロール誘導 */
  .hero-scroll-cue {
    position: absolute;
    z-index: 5;
    right: clamp(18px, 4.8vw, 38px);
    bottom: clamp(190px, 46vw, 305px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #fff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .28));
    pointer-events: none;
  }
  .hero-scroll-cue span {
    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 1;
    letter-spacing: .04em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
  .hero-scroll-cue i { position: relative; width: 1px; height: 29px; background: currentColor }
  .hero-scroll-cue i::after {
    content: "";
    position: absolute;
    right: -3px; bottom: 0;
    width: 7px; height: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
  }

  /* ★SP専用CTA：ヒーローの上に130〜240px食い込ませる */
  .hero-mobile-download {
    position: relative;
    z-index: 7;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: clamp(-240px, -34vw, -130px);
    padding: 0 24px;
  }
  .hero-mobile-download .app-button {
    flex: 0 0 auto;
    width: min(290px, 100%);
    min-height: 52px;
    padding: 12px 24px;
    box-shadow: 0 8px 22px rgba(46, 109, 64, .18);
    font-size: 15px;
    font-weight: 600;
  }
  .hero-mobile-download .app-button .icon { width: 17px; height: 17px }
  .hero-mobile-download .download-note { margin-top: 9px; color: #526057; font-size: 11px; text-align: center }

  /* 後続セクションは固定ヒーローの上に乗せる */
  .ideas {
    position: relative;
    z-index: 6;
    width: 100%;
    max-width: none;
    margin-top: 0;
    padding: 64px 24px;
    background: var(--paper);
  }
  .tabs { gap: 0 }

  .feature { position: relative; z-index: 6; width: 100%; padding: 72px 0 90px; background: #f2efe6 }
  .feature-eyebrow, .feature-heading { margin-right: 20px; margin-left: 20px }
  .feature-heading { width: calc(100% - 40px); max-width: 470px; margin-bottom: 12px; white-space: nowrap }

  /* PCパネルは丸ごと非表示 → 別構造のスライダーへ */
  .feature-panel { display: none }
  .feature-mobile-slider { display: block; position: relative; width: 100%; margin-top: 0 }

  .feature-swipe-hint {
    position: absolute;
    z-index: 5;
    top: 4px; right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    background: rgba(242, 239, 230, .82);
    color: #637068;
    font-size: 10px;
    backdrop-filter: blur(5px);
    transition: opacity .4s ease, visibility .4s ease;
    pointer-events: none;
  }
  .feature-swipe-hint span { color: var(--green); font-size: 13px }
  .feature-swipe-hint.is-hidden { visibility: hidden; opacity: 0 }

  .feature-mobile-track { position: relative; width: 100%; height: 476px; padding: 6px 0 0; overflow: hidden; touch-action: pan-y }

  /* ★カバーフロー：前後のカードを左右に押し出して半分見せる */
  .feature-mobile-slide {
    position: absolute;
    top: 6px; left: 50%;
    display: flex;
    width: min(270px, 72vw);
    height: 470px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-50%) scale(.88);
    transition: left .48s ease, opacity .35s ease, transform .48s ease;
    pointer-events: none;
  }
  .feature-mobile-slide.is-current  { left: 50%;  z-index: 3; opacity: 1;   transform: translateX(-50%) scale(1) }
  .feature-mobile-slide.is-previous { left: 0;    z-index: 2; opacity: .82; transform: translateX(calc(-100% + 64px)) scale(.9); transform-origin: right center }
  .feature-mobile-slide.is-next     { left: 100%; z-index: 2; opacity: .82; transform: translateX(-64px) scale(.9);              transform-origin: left center }

  .mock-phone-sp {
    display: block;
    width: min(270px, 72vw);
    height: min(510px, 135vw);
    padding: 8px;
    border-radius: 34px;
    background: #2b2f2c;
    filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .14));
  }
  .mock-phone-sp img { width: 100%; height: 100%; border-radius: 26px; object-fit: cover }

  .feature-mobile-dots { display: flex; justify-content: center; gap: 9px; margin-top: 8px }
  .feature-mobile-dots button {
    width: 8px; height: 8px;
    padding: 0;
    border: 1px solid var(--green);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }
  .feature-mobile-dots button.is-active { background: var(--green) }

  /* 説明文は画像から切り離し、下でクロスフェード */
  .feature-mobile-descriptions {
    position: relative;
    width: min(520px, calc(100% - 56px));
    min-height: 172px;
    margin: 16px auto 0;
    text-align: left;
  }
  .feature-mobile-description { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease-in-out; pointer-events: none }
  .feature-mobile-description.is-active { opacity: 1; pointer-events: auto }
  .feature-mobile-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px }
  .feature-mobile-title h3 { color: var(--green); font-size: clamp(22px, 5.5vw, 28px); font-weight: 700; line-height: 1.4 }
  .feature-mobile-title .icon { width: 28px; height: 28px; color: var(--green) }
  .feature-mobile-description h4 { margin: 0 0 6px; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.55 }
  .feature-mobile-description p  { color: var(--ink); font-size: 14px; line-height: 1.85; overflow-wrap: anywhere }

  /* REASONS：1列。波打ちオフセットは解除し、番号を左右交互に置く */
  .reasons { position: relative; z-index: 6; background: var(--paper) }
  .reason-heading { max-width: 100% }
  .reason-grid {
    max-width: 560px;
    grid-template-columns: 1fr;
    row-gap: 64px;
    margin-right: auto;
    margin-left: auto;
  }
  .reason-grid article:nth-child(even) { transform: none }

  .reason-visual-row {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;   /* 偶数：写真→番号 */
    align-items: flex-end;
    column-gap: 24px;
  }
  .reason-visual-row .reason-media { width: auto; min-width: 0; margin: 0 }
  .reason-visual-row .reason-number { margin: 0; line-height: .82 }

  /* ★奇数だけ番号を左へ＝ジグザグの“縦版” */
  .reason-grid article:nth-child(odd) .reason-visual-row { grid-template-columns: auto minmax(0, 1fr) }
  .reason-grid article:nth-child(odd) .reason-number { grid-column: 1; grid-row: 1 }
  .reason-grid article:nth-child(odd) .reason-media  { grid-column: 2; grid-row: 1 }

  .reason-grid h3 { margin-top: 18px }

  .faq, .x-share, .social { position: relative; z-index: 6; background: var(--paper) }
  .x-share { width: var(--content-width); padding: 80px 0 }
  footer { position: relative; z-index: 6 }
}

/* ---------- 12-4. 681〜900px（タブレット）：PCの2カラムに戻す ---------- */
@media (min-width: 681px) and (max-width: 900px) {
  .hero-transition::before { height: max(760px, 100svh); aspect-ratio: auto }

  .hero {
    display: grid;
    grid-template-columns: 46% 54%;   /* ★PCの44/56ともSPとも違う第3の比率 */
    height: max(760px, 100svh);
    min-height: 760px;
    aspect-ratio: auto;
    background: var(--paper);
  }

  .mobile-brand { display: none }
  .header { justify-content: flex-end }

  .hero-copy {
    position: relative;
    inset: auto;
    display: flex;
    justify-content: center;
    padding: 86px 14px 64px 28px;   /* ★左右が28px / 14px と非対称 */
    transform: none;
    pointer-events: auto;
  }
  .hero-copy::before { display: none }
  .hero-logo, .hero-copy .download, .hero-copy .benefits { display: flex }
  .hero-logo { gap: 8px; margin-bottom: 34px; font-size: clamp(22px, 3.1vw, 28px) }
  .hero-logo .brand-mark { width: 34px; height: 34px }
  .hero-logo small { font-size: clamp(11px, 1.65vw, 14px) }

  .hero-copy h1 {
    position: static;
    width: auto;
    margin: 0;
    color: var(--ink);
    font-size: clamp(29px, 4.1vw, 37px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .04em;
    text-shadow: none;
  }
  .hero .hero-copy h1 .hero-line { color: var(--ink) }
  .hero .hero-copy h1 .hero-line strong { color: var(--green) }

  .hero-copy > p {
    position: static;
    width: auto;
    margin: 22px 0;
    color: #343834;
    font-size: clamp(12px, 1.75vw, 15px);
    font-weight: 500;
    line-height: 1.9;
    letter-spacing: .02em;
    text-shadow: none;
  }

  .hero-copy .download { align-items: center; gap: 10px }
  .hero-copy .app-button { min-width: 0; min-height: 42px; padding: 10px 14px; font-size: clamp(11px, 1.45vw, 13px) }
  .hero-copy .download-qr img { width: 44px; height: 44px }
  .hero-copy .hero-download-note { display: block; margin: 10px 0 0; color: #526057; font-size: 10px; line-height: 1.5 }
  .hero-copy .benefits { width: 100%; gap: 0; margin-top: 32px }
  .hero-copy .benefits li { min-width: 0; flex: 1; padding-inline: 6px }
  .hero-copy .benefits li + li { padding-left: 6px }
  .hero-copy .benefits .icon { width: 28px; height: 28px; margin-bottom: 6px }
  .hero-copy .benefits span { font-size: clamp(8px, 1.15vw, 10px); line-height: 1.5 }

  .hero-visual { position: relative; width: 100%; height: 100%; min-height: 0; overflow: hidden }
  .hero-visual::after {
    display: block;
    width: 10%;
    background: linear-gradient(90deg, var(--paper) 0%, rgba(242, 239, 230, .82) 28%, rgba(242, 239, 230, .38) 62%, rgba(242, 239, 230, 0) 100%);
  }
  .hero-visual::before {
    display: block;
    z-index: 2; bottom: 0;
    height: 28%;
    background: linear-gradient(180deg, rgba(242, 239, 230, 0) 0%, rgba(242, 239, 230, .16) 28%, rgba(242, 239, 230, .62) 66%, var(--paper) 100%);
  }

  /* 縦マーキーを復活（PCの68sより速い42s） */
  .hero-scroll-track {
    display: flex;
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%; height: auto;
    flex-direction: column;
    animation: hero-scroll 42s linear infinite;
    transform: none;
  }
  .hero-scroll-set,
  .hero-scroll-set[aria-hidden="true"] {
    display: flex;
    width: 100%;
    flex: none;
    flex-direction: column;
    gap: 18px;
    padding: 0 0 18px 18px;
  }
  .hero-scroll-set:first-child { position: static }
  .hero-scroll-set .hero-slide,
  .hero-scroll-set:first-child .hero-slide {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1.42;          /* ★PCの1.59より縦長 */
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    opacity: 1;
    animation: none;
  }
  .hero-scroll-set:first-child .hero-slide::after { display: none }
  .hero-scroll-set .hero-slide > img { object-position: center }

  .hero-scroll-set .hero-slide .suggestion,
  .hero-scroll-set:first-child .hero-slide .suggestion {
    right: 10px; bottom: 10px; left: auto;
    width: min(220px, calc(100% - 20px));
    height: 80px;
    padding: 9px 6px 7px 11px;
    grid-template-columns: minmax(0, 54%);
    border-radius: 10px;
  }
  .hero-scroll-set .hero-slide .suggestion small,
  .hero-scroll-set:first-child .hero-slide .suggestion small { font-size: 8px }

  .hero-scroll-set .hero-slide .suggestion b,
  .hero-scroll-set:first-child .hero-slide .suggestion b { margin-top: 2px; font-size: 9px }

  .hero-scroll-set .hero-slide .suggestion span,
  .hero-scroll-set:first-child .hero-slide .suggestion span { font-size: 7px }

  .hero-scroll-set .hero-slide .suggestion-image,
  .hero-scroll-set:first-child .hero-slide .suggestion-image { top: 5px; right: 5px; bottom: 5px; left: 54%; border-radius: 7px }

  .hero-mobile-download, .hero-scroll-cue { display: none }
}

/* ---------- 12-5. 〜680px（スマホ） ---------- */
@media (max-width: 680px) {
  :root {
    --font-label: 13px;
    --font-section-heading: clamp(20px, 6vw, 24px);
  }

  .header { top: 14px; right: 16px; left: 16px }
  .mobile-brand {
    gap: 5px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    transform-origin: left center;
    transition: padding 240ms cubic-bezier(.22, 1, .36, 1), background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease, transform 240ms cubic-bezier(.22, 1, .36, 1);
  }
  /* スクロールするとブランドがガラスのピルに変化して縮む */
  .header.is-scrolled .mobile-brand {
    padding: 10px 14px;
    border-color: rgba(255, 255, 255, .62);
    background: rgba(242, 239, 230, .68);
    box-shadow: 0 6px 20px rgba(31, 45, 36, .12), inset 0 1px 0 rgba(255, 255, 255, .46);
    transform: scale(.92);
    backdrop-filter: blur(14px) saturate(120%);
  }

  .hero-visual::before { display: none }

  .hero-mobile-download {
    position: relative;
    isolation: isolate;
    overflow: visible;
    background: var(--paper);
  }
  .hero-mobile-download::before {   /* 写真→生成りへ継ぎ目なく落とす */
    content: "";
    position: absolute;
    z-index: 0;
    right: 0; left: 0;
    bottom: calc(100% - 1px);
    height: clamp(170px, 48vw, 230px);
    background: linear-gradient(180deg, rgba(242, 239, 230, 0) 0%, var(--paper) 100%);
    pointer-events: none;
  }
  .hero-mobile-download > * { position: relative; z-index: 1 }

  .ideas { padding: 68px 24px }
  .ideas h2 { width: min(470px, 100%); min-height: 56px; padding: 0 24px }
  .ideas h2::after { bottom: -11px; width: 19px; height: 12px }

  /* タブは全幅の横スクロール（左20pxだけインデント） */
  .tabs {
    width: 100vw;
    gap: 5px;
    justify-content: flex-start;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-left: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
  }
  .tab { position: relative; flex: 0 0 auto; margin-bottom: 0; border-bottom: 0; font-size: 16px }
  .tab::after { content: ""; position: absolute; right: 10px; bottom: 0; left: 10px; height: 2px; background: #b9bbb8 }
  .tab.is-active::after { background: var(--ink) }
  .tab:last-child { margin-right: 20px }

  .idea-cards { --idea-card-width: min(350px, calc(100vw - 48px)); margin-top: 34px }
  .idea-cards b { left: 44px; width: calc(var(--idea-card-width) - 108px); font-size: 14px }
  .idea-cards small { left: 50%; transform: translateX(-50%) }

  .feature { padding: 68px 0 76px }
  .feature-heading { width: max-content; max-width: calc(100% - 40px); padding: 15px 22px 16px; font-size: clamp(18px, 5.5vw, 22px) }

  .reasons { padding: 68px 0 }
  .reason-heading { padding: 15px 22px 16px }
  .reason-number { font-size: 48px }
  .reason-grid h3 { font-size: var(--font-subheading) }
  .reason-grid p  { font-size: var(--fs-body) }

  /* SPは順に浮き上がるだけ（オフセットなし） */
  .reasons.has-scroll-reveal .reason-grid article {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .72s ease, transform .72s cubic-bezier(.22, 1, .36, 1);
  }
  .reasons.has-scroll-reveal .reason-grid article.is-revealed { opacity: 1; transform: translateY(0) }

  .faq { padding: 68px 0 }
  .faq-item-desktop-only { display: none }   /* ★SPでは後半4件を出さない */

  .x-share { padding: 68px 0 }
  .x-share-heading { margin-bottom: 32px }
  .x-share-heading-prefix { display: none }  /* ★見出しの前置きだけ落とす */
  .x-share-banner { border-radius: 12px }
  .x-share-banner span { padding: 8px 14px }
  .x-share-note { margin-top: 14px; padding: 0 8px; font-size: 12px }

  .social { gap: 10px; padding-bottom: 70px }
  .social span { font-size: 15px }

  footer { grid-template-columns: 1fr; padding: 50px 20px 24px }
  footer nav { gap: 8px 20px }

  .nav-cta, .app-button { min-width: 158px; padding-inline: 12px }
}

/* ---------- 12-6. 〜480px：ヒーロー内の位置を再調整 ---------- */
@media (max-width: 480px) {
  .header { top: 14px; right: 16px; left: 16px }
  .mobile-brand .brand-mark { width: 24px; height: 24px }
  .mobile-brand span { font-size: 18px }
  .mobile-brand small { font-size: 12px }
  .mobile-menu-button { width: 42px; height: 42px }

  .hero-copy { padding-inline: 24px }
  .hero-copy::before { bottom: 170px; height: 300px }
  .hero-copy h1 { right: 24px; left: 24px; bottom: 286px; font-size: clamp(31px, 8.7vw, 40px) }
  .hero-copy > p { right: 24px; left: 24px; bottom: 230px; font-size: 14px }

  .hero-scroll-set:first-child .hero-slide .suggestion {
    top: auto;
    right: 18px; bottom: calc(39% + 60px); left: auto;
    width: min(280px, calc(100% - 36px));
    height: 104px;
    padding: 10px 8px 10px 16px;
    grid-template-columns: minmax(0, 52%);
    column-gap: 10px;
  }
  .hero-scroll-set:first-child .hero-slide .suggestion-image { left: 50% }
  .hero-scroll-set:first-child .hero-slide .suggestion small,
  .hero-scroll-set:first-child .hero-slide .suggestion b,
  .hero-scroll-set:first-child .hero-slide .suggestion span { white-space: nowrap }
  .hero-scroll-set:first-child .hero-slide .suggestion small { font-size: 11px; line-height: 1.35 }
  .hero-scroll-set:first-child .hero-slide .suggestion b     { font-size: 12px; line-height: 1.4 }
  .hero-scroll-set:first-child .hero-slide .suggestion span  { font-size: 9.5px; line-height: 1.3 }

  .hero-scroll-cue { top: auto; bottom: 242px }
  .hero-mobile-download { margin-top: 0; padding-top: 22px; background: var(--paper) }
}

@keyframes hero-mobile-fade {
  0%, 14%  { opacity: 1 }
  20%, 94% { opacity: 0 }
  100%     { opacity: 1 }
}

/* ---------- 12-7. アニメーション控えめ設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important }
  .idea-track,
  .hero-scroll-track { animation: none }
  .hero-scroll-set[aria-hidden="true"] { display: none }
  .reasons.has-scroll-reveal .reason-grid article { opacity: 1; transition: none }
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .reasons.has-scroll-reveal .reason-grid article { transform: translateY(var(--reason-layout-offset)) }
}
@media (max-width: 680px) and (prefers-reduced-motion: reduce) {
  .reasons.has-scroll-reveal .reason-grid article { transform: none }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .hero-scroll-set:first-child .hero-slide { animation: none; opacity: 0 }
  .hero-scroll-set:first-child .hero-slide:first-child { opacity: 1 }
}
