/* =========================================================
   Fampass LP（宿泊施設向け） v2
   ブランドデザインシステム v3 準拠
   - 和文: Zen Kaku Gothic New / 欧文・数字: Google Sans
   - フラット（影・斜体・グラデーションなし）
   - 温かみ：やわらかい形（角丸・不定形の背景）とサブカラー
   - 図解：線画アイコン＋数字の可視化
   ========================================================= */

:root {
  /* Brand colors */
  --ink: #332e2d;
  --white: #ffffff;
  --cream: #f6ebde;
  --gray: #cdcdcd;
  --orange: #f15942;
  --blue: #1761cc;
  --green: #018f5d;
  --yellow: #f0c555;
  --pink: #f492bc;

  /* ブランド色の淡色（背景・面に使用） */
  --cream-deep: #efdcc6;
  --yellow-soft: #fbedc6;
  --pink-soft: #fcdcea;
  --green-soft: #d3ebe1;
  --blue-soft: #d6e3f6;
  --orange-soft: #fde0da;

  --ink-70: rgba(51, 46, 45, .72);
  --ink-20: rgba(51, 46, 45, .2);
  --ink-10: rgba(51, 46, 45, .1);

  --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-en: "Google Sans", "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(80px, 10vw, 136px);
  --header-h: 72px;
  --r-lg: 28px;
  --r-md: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 8px 14px; background: var(--ink); color: var(--white); text-decoration: none;
}
.skip:focus { top: 12px; }

.nw { display: inline-block; white-space: nowrap; }
.wrap { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; }
.section { position: relative; overflow: hidden; padding: var(--section-y) var(--gutter); }
.center { text-align: center; }

h1, h2, h3, .hero-lead, .definition { word-break: auto-phrase; }

h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
  font-feature-settings: "palt" 1;
}
h3 { font-size: 18px; font-weight: 700; line-height: 1.6; }
.muted { color: var(--ink-70); }
.src { margin-top: 10px; color: var(--ink-70); font-size: 11px; line-height: 1.6; }

/* ---------- 線画アイコン共通 ---------- */
svg use, .ico { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
symbol .acc-pink { fill: var(--pink); }
symbol .acc-yellow { fill: var(--yellow); }
symbol .acc-orange { fill: var(--orange); }
symbol .acc-stroke { stroke: var(--orange); }
symbol .dot { fill: var(--ink); stroke: none; }
symbol .dot-acc { fill: var(--orange); stroke: none; }

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream);
}
.icon-badge svg { width: 44px; height: 44px; overflow: visible; }
.icon-badge.pink { background: var(--pink-soft); }
.icon-badge.yellow { background: var(--yellow-soft); }
.icon-badge.green { background: var(--green-soft); }
.icon-badge.white { background: var(--white); }

/* 背景の不定形（装飾） */
.deco { position: absolute; z-index: 0; pointer-events: none; }
.deco use { stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 32px;
  border: 2px solid var(--orange); border-radius: 999px;
  background: var(--orange); color: var(--white);
  font-size: 18px; font-weight: 700; letter-spacing: .04em; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: #d9432d; border-color: #d9432d; }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-large { min-height: 64px; padding: 0 44px; font-size: 19px; }
.btn-outline { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.text-link {
  font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 6px; text-decoration-color: var(--orange);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  height: var(--header-h); padding: 0 var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { background: var(--white); border-bottom-color: var(--ink-10); }
.brand img { width: auto; height: 46px; }
.brand { transition: opacity .2s, visibility .2s; }
/* ファーストビューではヒーローの大きなロゴを見せ、スクロール後にヘッダーへロゴを出す */
.js .site-header:not(.is-scrolled) .brand { opacity: 0; visibility: hidden; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(16px, 3vh, 40px);
  background: var(--cream);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero-logo { width: auto; height: clamp(96px, 10vw, 148px); margin-bottom: 28px; }
.hero-to {
  display: inline-block;
  margin-bottom: 24px;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(34px, 3.7vw, 54px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.01em;
  font-feature-settings: "palt" 1;
}
.hero-vision { margin-top: 28px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; line-height: 1.6; word-break: auto-phrase; }
.hero-lead { max-width: 30em; margin-top: 10px; font-size: clamp(15px, 1.3vw, 17px); line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px; }

.hero-art svg { width: 100%; height: auto; overflow: visible; }
.hero-art .blob { stroke: none; }
.hero-art .blob.pink { fill: var(--pink-soft); }
.hero-art .blob.yellow { fill: var(--yellow-soft); }
.hero-art .node { fill: var(--white); stroke: var(--ink); stroke-width: 2.5; }
.hero-art .node-label { fill: var(--ink); }
.hero-art .label { fill: var(--white); font-family: var(--font-ja); font-size: 17px; font-weight: 700; }
.hero-art .link-line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; }
.hero-art .measure rect { fill: var(--orange); }
.hero-art .measure-t { fill: var(--white); font-family: var(--font-ja); font-size: 21px; font-weight: 700; }
.hero-art .measure .ticks { fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; }
.hero-art .chip rect { fill: var(--white); stroke: var(--ink); stroke-width: 2; }
.hero-art .chip text { fill: var(--ink); font-family: var(--font-ja); font-size: 16px; font-weight: 700; }
.hero-art .chip { animation: float 6s ease-in-out infinite; }
.hero-art .chip:nth-of-type(2n) { animation-delay: -3s; }
@keyframes float { 50% { translate: 0 -6px; } }

/* ものさし（ヒーロー下端の目盛り） */
.ruler { margin-top: clamp(40px, 6vh, 72px); background: var(--white); border-top: 2px solid var(--ink); }
.ruler-track { display: flex; width: max-content; animation: measure 1.1s cubic-bezier(.2, .7, .2, 1) .25s both; }
.ruler-track li {
  position: relative; flex: 0 0 auto; width: 176px;
  padding: 32px 0 22px 14px;
  font-size: 14px; font-weight: 700; line-height: 1.4; white-space: nowrap;
  background-image: repeating-linear-gradient(to right, var(--ink) 0 1px, transparent 1px 22px);
  background-size: 100% 10px; background-repeat: no-repeat;
}
.ruler-track li::before { content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 24px; background: var(--orange); }
@keyframes measure { from { transform: translateX(12%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.card {
  padding: 36px 32px 36px;
  border-radius: var(--r-lg);
  background: var(--cream);
}
.card .icon-badge { background: var(--white); margin-bottom: 20px; }
.card p { margin-top: 10px; color: var(--ink-70); font-size: 15px; }

/* ---------- Facts（図解） ---------- */
.facts { padding-top: 0; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.fact {
  display: flex; flex-direction: column;
  padding: 32px 28px 28px;
  border: 2px solid var(--cream);
  border-radius: var(--r-lg);
  background: var(--white);
}
.viz { width: 100%; height: 120px; }
.viz-note { margin-top: 8px; color: var(--ink-70); font-size: 12px; font-weight: 700; text-align: center; }
.trips rect { fill: var(--cream); stroke: none; }
.trips rect.on { fill: var(--orange); }
.trips path { fill: none; stroke: var(--cream-deep); stroke-width: 4; stroke-linejoin: round; }
.viz .ico-on { stroke: var(--white); }
.viz .ico-on .acc-pink { fill: var(--white); }
.donut-bg { fill: none; stroke: var(--cream); stroke-width: 16; }
.donut { fill: none; stroke: var(--orange); stroke-width: 16; stroke-linecap: round; }
.fact figcaption { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--ink-20); }
/* 図なしのカード（0.1〜0.2%）：数字だけで見せる */
.fact-key { justify-content: center; border-color: var(--orange-soft); background: var(--orange-soft); }
.fact-key figcaption { margin-top: 0; padding-top: 0; border-top: 0; }
.fact-num {
  color: var(--orange); font-family: var(--font-en); font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; white-space: nowrap;
}
.fact-num span { margin-right: 2px; font-size: clamp(42px, 4.4vw, 60px); letter-spacing: -.02em; }
.fact-num + p { margin-top: 12px; font-size: 15px; font-weight: 500; }

.ai-shift {
  display: grid; grid-template-columns: minmax(240px, 340px) 1fr; align-items: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 24px; padding: 36px clamp(24px, 4vw, 48px);
  border-radius: var(--r-lg); background: var(--cream);
}
.ai-shift h3 { font-size: 20px; }
.ai-shift p { margin-top: 10px; font-size: 15px; }
.ai-shift .src { font-size: 11px; }
.slope { width: 100%; height: auto; }
.slope .axis { stroke: var(--ink-20); stroke-width: 1.5; }
.slope .ax { fill: var(--ink-70); font-family: var(--font-ja); font-size: 12px; }
.slope .line-gray { stroke: #a9a3a0; stroke-width: 4; stroke-linecap: round; }
.slope .line-orange { stroke: var(--orange); stroke-width: 5; stroke-linecap: round; }
.slope .pt-gray { fill: #a9a3a0; }
.slope .pt-orange { fill: var(--orange); }
.slope .v { fill: var(--ink); font-family: var(--font-en); font-size: 15px; font-weight: 700; }
.slope .v.o { fill: var(--orange); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--ink-70); font-size: 12px !important; }
.sw { display: inline-block; width: 16px; height: 4px; border-radius: 2px; vertical-align: middle; }
.sw.gray { background: #a9a3a0; }
.sw.orange { background: var(--orange); }

/* ---------- Concept（ものさし図解） ---------- */
.concept { background: var(--cream); }
.deco-concept { width: 520px; right: -160px; top: -120px; }
.deco-concept use { fill: var(--yellow-soft); }
.concept .definition {
  max-width: 40em; margin: 28px auto 0;
  font-size: clamp(16px, 1.5vw, 18px); font-weight: 500; text-align: center;
}
.bridge {
  display: grid; grid-template-columns: 1fr minmax(220px, 280px) 1fr; align-items: center;
  gap: 0; margin-top: 56px;
}
.bridge-side {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: var(--white);
  text-align: center;
}
.bridge-side h3 { margin-top: 14px; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.tags li { padding: 4px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.family .tags li { background: var(--pink-soft); }
.inn .tags li { background: var(--yellow-soft); }
/* 両側から中央へ伸びる点線 */
.bridge-side::after {
  content: ""; position: absolute; top: 50%; width: 40px;
  border-top: 3px dotted var(--ink);
}
.bridge-side.family::after { right: -40px; }
.bridge-side.inn::after { left: -40px; }
.bridge-center {
  position: relative; z-index: 1;
  margin: 0 40px;
  padding: 24px 20px 20px;
  border-radius: var(--r-lg);
  background: var(--orange);
  color: var(--white);
}
.bridge-title { font-size: 18px; font-weight: 700; text-align: center; }
.ruler-v { margin-top: 14px; border-radius: 14px; background: var(--white); color: var(--ink); overflow: hidden; }
.ruler-v li {
  position: relative; padding: 9px 12px 9px 30px; font-size: 15px; font-weight: 700;
  border-top: 1px solid var(--ink-10);
}
.ruler-v li:first-child { border-top: 0; }
.ruler-v li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 3px; background: var(--orange); }
.ruler-v li::after { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 2px; background: var(--ink-20); }

.disclose { margin-top: 48px; text-align: center; }
.disclose-lead { font-size: 15px; font-weight: 500; }
.disclose-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; text-align: left; }
.disclose-list li { padding: 18px 22px; border-radius: var(--r-md); background: var(--white); font-size: 14px; }
.disclose-list b {
  display: inline-block; margin-bottom: 6px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; line-height: 1.9; color: var(--white);
}
.disclose-list span { display: block; }
.disclose-list b { background: var(--orange); }

/* ---------- Service 共通 ---------- */
.service-tag { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 15px; font-weight: 700; }
.service-tag span {
  padding: 2px 14px; border-radius: 999px; background: var(--orange); color: var(--white);
  font-size: 13px;
}

/* ---------- Service 1: Listing ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.flow::before {
  content: ""; position: absolute; left: 16%; right: 16%; top: 48px; z-index: 0;
  border-top: 3px dotted var(--ink);
}
.flow li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.flow-node {
  display: grid; place-items: center;
  width: 96px; height: 96px; border-radius: 50%;
  border: 2.5px solid var(--ink);
}
.flow-node svg { width: 56px; height: 56px; overflow: visible; }
.flow-node.yellow { background: var(--yellow-soft); }
.flow-node.pink { background: var(--pink-soft); }
.flow-node.brand { background: var(--white); border-color: var(--orange); border-width: 3px; }
.flow-node.brand img { width: 60px; }
.flow-who { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--ink-70); }
.flow b { margin-top: 2px; font-size: 21px; }
.flow-txt { max-width: 18em; margin-top: 6px; font-size: 14px; }

.features {
  display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 40px;
  margin-top: 80px; padding: clamp(24px, 3vw, 40px);
  border-radius: 36px; background: var(--cream); align-items: start;
}
.feature-list { display: flex; flex-direction: column; gap: 6px; }
.feature-list button {
  position: relative; display: block; width: 100%;
  padding: 14px 16px 14px 20px;
  border: 0; border-radius: 16px;
  background: transparent; color: var(--ink);
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.5; text-align: left;
  cursor: pointer; transition: background-color .15s;
}
.feature-list button small { display: block; margin-top: 2px; color: var(--ink-70); font-size: 13px; font-weight: 400; }
.feature-list button:hover { background: rgba(255, 255, 255, .55); }
.feature-list button[aria-selected="true"] { background: var(--white); }
.feature-list button[aria-selected="true"]::before {
  content: ""; position: absolute; left: 8px; top: 16px; bottom: 16px; width: 4px; border-radius: 2px; background: var(--orange);
}
.status {
  display: inline-block; margin-left: 8px; padding: 0 10px; border-radius: 999px;
  background: var(--ink); color: var(--white);
  font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.8; vertical-align: 2px;
}
.device { overflow: hidden; border: 2.5px solid var(--ink); border-radius: 20px; background: var(--white); }
.device-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 2px solid var(--ink); }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--cream-deep); }
.device-bar i:first-child { background: var(--orange); }
.device figure { aspect-ratio: 1400 / 778; }
.device figure img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.device figure:not([hidden]) { animation: swap .25s ease-out; }
@keyframes swap { from { opacity: 0; } to { opacity: 1; } }
.feature-placeholder {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
  height: 100%; padding: clamp(20px, 5vw, 56px);
  font-size: clamp(15px, 1.5vw, 18px); font-weight: 500;
}
.feature-placeholder .muted { font-size: 14px; }
.feature-desc { display: none; }
.caption { margin-top: 12px; color: var(--ink-70); font-size: 12px; }

.promise-box { margin-top: 40px; text-align: center; }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promise li {
  display: flex; flex-direction: column; align-items: center;
  padding: 22px 16px; border: 2.5px solid var(--orange); border-radius: var(--r-md);
}
.promise b { font-size: 14px; }
.promise span { color: var(--orange); font-size: 22px; font-weight: 900; line-height: 1.5; }
.offer { display: inline-block; margin-top: 20px; padding: 10px 22px; border-radius: 999px; background: var(--orange-soft); font-size: 15px; font-weight: 700; }

/* ---------- Service 2: Support ---------- */
.support { background: var(--cream); }
.deco-support { width: 560px; left: -220px; bottom: -200px; }
.deco-support use { fill: var(--pink-soft); }
.support-lead { max-width: 44em; margin-top: 24px; }

.stairs {
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 0 16px;
  margin-top: 64px;
}
.stairs li { display: flex; flex-direction: column; align-items: flex-start; }
.stair-icon {
  display: grid; place-items: center; width: 72px; height: 72px; margin: 0 0 -8px 24px;
  border-radius: 50%; background: var(--white); border: 2.5px solid var(--ink); position: relative; z-index: 1;
}
.stair-icon svg { width: 42px; height: 42px; overflow: visible; }
.stair-block {
  width: 100%; padding: 32px 28px 28px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--white);
}
.stairs li:nth-child(1) .stair-block { min-height: 200px; }
.stairs li:nth-child(2) .stair-block { min-height: 250px; background: var(--yellow-soft); }
.stairs li:nth-child(3) .stair-block { min-height: 300px; background: var(--orange); color: var(--white); }
.stair-step { font-family: var(--font-en); font-size: 14px; font-weight: 700; color: var(--orange); }
.stairs li:nth-child(3) .stair-step { color: var(--white); }
.stair-block b { display: block; margin-top: 4px; font-size: 24px; line-height: 1.4; }
.stair-block p { margin-top: 8px; font-size: 15px; }
.stair-tools { display: inline-block; margin-top: 14px; padding: 2px 12px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 12px; font-weight: 500; }
.stairs li:nth-child(2) .stair-tools { background: var(--white); }
.stairs li:nth-child(3) .stair-tools { background: rgba(255, 255, 255, .92); }
.stairs::after { content: ""; grid-column: 1 / -1; height: 3px; margin-top: 0; background: var(--ink); border-radius: 2px; }

.roles { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 56px; }
.role { display: flex; align-items: flex-start; gap: 18px; height: 100%; padding: 28px; border-radius: var(--r-lg); background: var(--white); }
.role .icon-badge { flex: 0 0 auto; width: 64px; height: 64px; background: var(--cream); }
.role p { margin-top: 6px; font-size: 15px; }
.roles-plus { font-family: var(--font-en); font-size: 28px; font-weight: 700; color: var(--orange); }
.support-note { max-width: 46em; margin: 28px 0 36px; color: var(--ink-70); font-size: 14px; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.founder-photo { position: relative; }
.founder-blob { position: absolute; width: 118%; height: auto; aspect-ratio: 1; left: -16%; top: -14%; z-index: 0; }
.founder-blob use { fill: var(--yellow-soft); stroke: none; }
.founder-photo img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 49% 50%;
  border-radius: 200px 200px var(--r-lg) var(--r-lg);
}
.founder-body h2 { margin-bottom: 32px; }
.founder-body p + p { margin-top: 18px; }
.founder-body p { max-width: 38em; }
.founder-name { margin-top: 32px !important; font-size: 20px; font-weight: 700; }
.founder-name span { margin-left: 16px; color: var(--ink-70); font-size: 13px; font-weight: 500; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; padding: var(--section-y) var(--gutter); background: var(--ink); color: var(--white); }
.deco-contact-a { width: 460px; right: -140px; top: -160px; }
.deco-contact-a use { fill: var(--orange); }
.deco-contact-b { width: 300px; left: -120px; bottom: -140px; }
.deco-contact-b use { fill: var(--yellow); }
.contact-inner { text-align: center; }
.contact h2 { font-size: clamp(28px, 4vw, 50px); }
.contact p { max-width: 40em; margin: 20px auto 0; color: rgba(255, 255, 255, .85); }
.contact .btn { margin-top: 40px; }
.contact .contact-sub { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .7); }

.site-footer {
  display: flex; justify-content: space-between;
  padding: 24px var(--gutter);
  background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .7); font-family: var(--font-en); font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .site-header .btn-small { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 8px auto 0; }
  .features { grid-template-columns: 1fr; gap: 24px; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 340px; margin: 0 auto 16px; }
  .bridge { grid-template-columns: 1fr; gap: 0; }
  .bridge-center { margin: 32px 0; }
  .bridge-side::after { top: auto; width: 0; height: 32px; border-top: 0; border-left: 3px dotted var(--ink); left: 50% !important; right: auto !important; }
  .bridge-side.family::after { bottom: -32px; }
  .bridge-side.inn::after { top: -32px; }
  .ruler-v { display: grid; grid-template-columns: 1fr 1fr; }
  .ruler-v li:nth-child(2) { border-top: 0; }
  .ai-shift { grid-template-columns: 1fr; }
  .slope { max-width: 340px; }
}

@media (max-width: 760px) {
  :root { --header-h: 60px; --r-lg: 22px; }
  .brand img { height: 38px; }
  .hero-logo { height: 92px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 42px); }
  .hero-actions .btn { width: 100%; }
  .ruler-track li { width: 140px; font-size: 13px; }
  .problem-grid, .fact-grid, .disclose-list, .promise { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .card .icon-badge { width: 56px; height: 56px; margin: 0; }
  .card .icon-badge svg { width: 36px; height: 36px; }
  .card p { grid-column: 1 / -1; }
  .promise { gap: 10px; }
  .promise li { flex-direction: row; justify-content: space-between; padding: 14px 20px; }
  .offer { border-radius: 16px; }
  .flow { grid-template-columns: 1fr; gap: 32px; }
  .flow::before { left: 48px; right: auto; top: 48px; bottom: 48px; border-top: 0; border-left: 3px dotted var(--ink); }
  .flow li { display: grid; grid-template-columns: 96px 1fr; column-gap: 20px; align-items: center; text-align: left; }
  .flow-node { grid-row: 1 / 4; }
  .flow-who { margin-top: 0; }
  .flow-txt { max-width: none; }
  .features { margin-top: 56px; padding: 20px; border-radius: 24px; }
  .stairs { grid-template-columns: 1fr; gap: 28px; }
  .stairs::after { display: none; }
  .stairs li .stair-block { min-height: 0 !important; border-radius: var(--r-lg); }
  .roles { grid-template-columns: 1fr; }
  .roles-plus { text-align: center; line-height: 1; }
  .support .btn-outline { width: 100%; }
  .contact .btn { width: 100%; padding: 0 20px; }
  .founder-name span { display: block; margin: 4px 0 0; }
  .deco-concept { width: 340px; right: -180px; }
  .deco-contact-a { width: 240px; right: -150px; top: -110px; }
  .deco-contact-b { width: 200px; left: -110px; bottom: -110px; }
}

/* 機能タブ：スマホでは横スクロールのチップに */
@media (max-width: 760px) {
  .feature-list {
    flex-direction: row; gap: 8px;
    margin: 0 -20px; padding: 0 20px 4px;
    overflow-x: auto; scrollbar-width: none;
  }
  .feature-list::-webkit-scrollbar { display: none; }
  .feature-list button { flex: 0 0 auto; width: auto; padding: 8px 16px; border-radius: 999px; background: var(--white); font-size: 14px; white-space: nowrap; }
  .feature-list button small { display: none; }
  .feature-list button[aria-selected="true"]::before { display: none; }
  .feature-list button[aria-selected="true"] { background: var(--orange); color: var(--white); }
  .feature-list button[aria-selected="true"] .status { background: var(--white); color: var(--ink); }
  .feature-desc { display: block; margin-top: 14px; font-size: 15px; font-weight: 500; }
  .device { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
