/* Asteroid Technology — 明るい配色のみ。強調色はブランドの青（ロゴの青 #0A5ABB）の1色だけ。
   大きな動き（演出）は「アプリの導入部分（.intro）」の1か所だけ。
   押せる場所の反応（マウスを乗せた時の色の変化、キーボードで選んだ時の枠）は残す。 */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-sub: #6e6e73;
  --text-faint: #86868b;
  --line: #d2d2d7;
  --accent: #0a5abb;
  --accent-hover: #084a9b;
  --gutter: 22px;
  --content: 980px;
  --wide: 1200px;
  --header: 52px;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}
@media (min-width: 735px) { :root { --gutter: 40px; } }
@media (max-width: 734px) { :root { --header: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  font-kerning: normal;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; letter-spacing: inherit; }

.wrap { width: min(var(--content), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap-wide { width: min(var(--wide), 100% - var(--gutter) * 2); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - var(--gutter) * 2); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 文字 ---------- */
.eyebrow, .display, .headline, .title, .lead, .tile-title { text-wrap: balance; }
/* 見出しは文節の途中で折り返さない（<wbr> と句読点の後でだけ改行）。Chrome は文節を自動で判定する */
.display, .headline, .title, .tile-title, .group-title, .row-title, .case-title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@supports (word-break: auto-phrase) {
  .display, .headline, .title, .tile-title, .lead, .group-title, .row-title, .case-title { word-break: auto-phrase; }
}
@media (max-width: 734px) { .lead br { display: none; } }

.eyebrow {
  margin: 0 0 0.7em;
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.25rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--text);
}
.eyebrow--sub { color: var(--text-sub); }
.eyebrow--accent { color: var(--accent); }
/* トップの一番大きな見出し：パソコン幅で 92px。字間をわずかに詰める */
.display {
  margin: 0;
  font-size: clamp(2.75rem, 1.1rem + 5.6vw, 5.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-feature-settings: "palt";
}
.headline {
  margin: 0;
  font-size: clamp(2.5rem, 1.25rem + 4.6vw, 5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-feature-settings: "palt";
}
.title {
  margin: 0;
  font-size: clamp(2.125rem, 1.15rem + 3.4vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-feature-settings: "palt";
}
.lead {
  margin: 0.8em auto 0;
  max-width: 34em;
  font-size: clamp(1.1875rem, 1.02rem + 0.6vw, 1.5rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text);
}
.note { margin: 1em 0 0; font-size: 0.875rem; color: var(--text-sub); line-height: 1.7; }

/* ---------- ボタン・リンク（色の切り替えだけで、動きは付けない） ---------- */
.actions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 12px 28px; margin-top: 28px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 24px; border-radius: 980px;
  background: var(--accent); color: #fff;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: 0.04em;
}
.btn:hover { background: var(--accent-hover); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }
.more {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 1.0625rem; letter-spacing: 0.04em;
}
.more::after { content: "›"; margin-left: 0.3em; font-size: 1.25em; line-height: 1; transform: translateY(-0.04em); }
.badge {
  display: inline-block; padding: 2px 12px; border-radius: 980px;
  border: 1px solid var(--line); color: var(--text-sub);
  font-size: 0.8125rem; font-weight: 500; line-height: 1.8; letter-spacing: 0.06em;
  vertical-align: middle;
}
.appstore-badge { display: inline-flex; align-items: center; min-height: 44px; }
.appstore-badge img { width: auto; height: 44px; }

/* 押せる場所の反応（マウスを乗せた時の色の変化、キーボードで選んだ時の枠） */
.btn, .btn--ghost { transition: background-color 0.2s, color 0.2s; }
.more, .gnav-links a { transition: color 0.2s, opacity 0.2s; }
.more:hover { color: var(--accent-hover); }
.stage .more:hover { color: #fff; }
.appstore-badge, .site-case > a { transition: opacity 0.2s, background-color 0.2s; }
.appstore-badge:hover, .site-case > a:hover { opacity: 0.82; }
.gnav-toggle:hover { color: var(--accent); }
.stage :focus-visible { outline-color: #fff; }
.site-case > a:focus-visible { outline-width: 3px; outline-offset: 4px; border-radius: 22px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn--ghost, .more, .gnav-links a, .appstore-badge, .site-case > a { transition: none; }
}

/* ---------- ヘッダー（ガラス表現） ---------- */
.gnav {
  position: sticky; top: 0; z-index: 20;
  /* ぼかしに対応しないブラウザでは、文字が必ず読めるよう不透明に近い白にする */
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .gnav {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
}
.gnav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: min(1024px, 100% - var(--gutter) * 2); margin-inline: auto; height: var(--header);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 30px; width: auto; }
.brand:hover { text-decoration: none; }
.gnav-links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.gnav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--text); font-size: 0.8125rem; letter-spacing: 0.04em; opacity: 0.86;
}
.gnav-links a:hover { opacity: 1; text-decoration: none; color: var(--accent); }
.gnav-links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.gnav-toggle { display: none; }

@media (max-width: 734px) {
  .brand img { height: 24px; }
  .gnav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px; padding: 0;
    background: none; border: 0; color: var(--text); cursor: pointer;
  }
  .gnav-toggle span { position: relative; width: 18px; height: 12px; }
  .gnav-toggle span::before, .gnav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor;
    transition: transform 0.25s, top 0.25s;
  }
  .gnav-toggle span::before { top: 2px; }
  .gnav-toggle span::after { top: 8.5px; }
  .gnav[data-open] .gnav-toggle span::before { top: 5.25px; transform: rotate(45deg); }
  .gnav[data-open] .gnav-toggle span::after { top: 5.25px; transform: rotate(-45deg); }
  .gnav-links {
    display: none; position: absolute; top: var(--header); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .gnav[data-open] { background: #fff; }
  .gnav[data-open] .gnav-links { display: flex; }
  .gnav-links a { width: 100%; min-height: 52px; padding: 0; font-size: 1.25rem; font-weight: 600; opacity: 1; border-bottom: 1px solid #e8e8ed; }
}

/* ---------- セクション ---------- */
.section { padding-block: clamp(80px, 9vw, 140px); text-align: center; }
.section--alt { background: var(--bg-alt); }
.page-hero { padding-block: clamp(72px, 9vw, 128px) clamp(40px, 5vw, 72px); text-align: center; }
.page-hero + .section { padding-top: clamp(24px, 3vw, 48px); }
.section-head { text-align: center; }
.section-head .lead { margin-top: 0.6em; }

.app-head { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.app-icon { width: 48px; height: 48px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
.app-name { font-size: 1.1875rem; font-weight: 600; letter-spacing: 0.02em; }

/* ---------- iPhone（Apple 公式の端末画像にはめ込んだ画像） ---------- */
.devices {
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(16px, 3vw, 40px); margin-top: clamp(48px, 6vw, 80px);
}
.phone { width: var(--pw, 300px); flex: none; }
.phone img { width: 100%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.14)); }
.phone--sm { --pw: 250px; }
/* 画面の画像が無いもの（仮）：端末の枠は描かず、角丸の面だけ */
.placeholder {
  display: grid; place-content: center; gap: 0.4em;
  width: var(--pw, 300px); aspect-ratio: 1470 / 3000; padding: 12%;
  border-radius: 16% / 7.8%; background: #e8e8ed; color: var(--text-sub);
  text-align: center; font-size: 0.875rem; line-height: 1.6; letter-spacing: 0.04em;
}
.placeholder strong { color: var(--text); font-weight: 600; }
.phone-caption { margin-top: 18px; font-size: 0.9375rem; font-weight: 600; text-align: center; }
.phone-caption small { display: block; word-break: keep-all; font-weight: 400; color: var(--text-sub); font-size: 0.8125rem; }

@media (max-width: 734px) {
  .phone { --pw: 230px; }
  .phone--sm { --pw: 180px; }
  .devices--pair .phone { --pw: min(170px, 44vw); }
  .devices--trio .phone:not(.phone--main) { display: none; }
  .devices--trio .phone--main { --pw: 250px; }

  /* アプリの画面は1台を大きく、残りは横スワイプ（2台目の端を少し見せる） */
  .devices--swipe {
    justify-content: flex-start; align-items: flex-start; gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px calc(50% - 125px) 24px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: calc(50% - 125px);
    scrollbar-width: none;
  }
  .devices--swipe::-webkit-scrollbar { display: none; }
  .devices--swipe .phone,
  .devices--swipe .phone:not(.phone--main) { display: block; --pw: 250px; scroll-snap-align: center; }
  .devices--swipe .phone--main { order: -1; }
}
@media (min-width: 735px) and (max-width: 1068px) {
  .phone { --pw: 260px; }
  .phone--sm { --pw: 210px; }
}

/* ---------- トップの最初の画面 ---------- */
.hero { padding-top: clamp(36px, 4.2vw, 64px); text-align: center; overflow: hidden; }
.hero .actions { margin-top: 22px; }
.hero .lead { white-space: nowrap; }
.hero-stage {
  position: relative; display: flex; justify-content: center; align-items: flex-start;
  margin-top: clamp(28px, 3vw, 44px);
  height: clamp(440px, 58vw, 800px); overflow: hidden;
}
.hero-stage .phone { position: relative; --pw: clamp(220px, 32vw, 460px); }
.hero-stage .phone img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.18)); }
/* 左右の2台は少し小さく、中央の後ろに重ねて奥行きを出す */
.hero-stage .phone--side { --pw: clamp(180px, 26.5vw, 380px); margin-top: clamp(40px, 5vw, 70px); z-index: 0; }
.hero-stage .phone--left { margin-right: calc(var(--pw) * -0.22); }
.hero-stage .phone--right { margin-left: calc(var(--pw) * -0.22); }
.hero-stage .phone--center { z-index: 1; }
@media (max-width: 734px) {
  .hero .lead { white-space: normal; }
  .hero-stage { height: 470px; }
  .hero-stage .phone--center { --pw: 230px; }
  .hero-stage .phone--side { --pw: 180px; margin-top: 48px; }
  .hero-stage .phone--left { margin-right: -110px; }
  .hero-stage .phone--right { margin-left: -110px; }
}

/* ---------- アプリの導入（スクロールに合わせて画面が切り替わる。動きはここだけ） ---------- */
.intro { background: var(--bg-alt); }
.intro-track { height: 300vh; }
.intro-sticky {
  position: sticky; top: var(--header);
  height: calc(100vh - var(--header)); height: calc(100svh - var(--header));
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px;
  width: min(var(--content), 100% - var(--gutter) * 2); margin-inline: auto;
}
.intro-copy { text-align: left; }
.intro-steps { list-style: none; margin: 36px 0 20px; padding: 0; border-top: 1px solid var(--line); }
.intro-steps li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text-faint); transition: color 0.4s; }
.intro-steps b { display: block; font-size: 1.375rem; font-weight: 700; letter-spacing: 0.01em; }
.intro-steps span { display: block; font-size: 1rem; }
.intro-steps li.is-active { color: var(--text); }
.intro-steps li.is-active span { color: var(--text-sub); }
.intro-device { display: flex; justify-content: center; }
.screen-stack { position: relative; width: min(330px, 100%); }
.screen-stack .frame { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.16)); }
/* 端末画像（1470x3000）の中の画面の位置：左 75px・上 66px・幅 1320px */
.screen-stack .screen {
  position: absolute; z-index: 1; left: 5.102%; top: 2.2%; width: 89.796%;
  opacity: 0; transition: opacity 0.5s ease;
}
.screen-stack .screen.is-active { opacity: 1; }
@media (max-width: 734px) {
  .intro-sticky { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 16px; padding-block: 24px 16px; }
  .intro-copy { text-align: center; }
  .intro-copy .title { font-size: 1.875rem; }
  .intro-steps { display: flex; justify-content: center; gap: 8px; margin: 16px 0 0; border: 0; }
  .intro-steps li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 980px; }
  .intro-steps li.is-active { border-color: var(--text); }
  .intro-steps b { font-size: 0.8125rem; }
  .intro-steps span, .intro-copy .more { display: none; }
  .intro-device { height: 100%; min-height: 0; align-items: flex-start; }
  .screen-stack { width: auto; height: 100%; aspect-ratio: 1470 / 3000; max-width: 70vw; }
  .intro-active-text { display: block; }
}
.intro-active-text { display: none; margin: 10px 0 0; font-size: 1rem; color: var(--text-sub); }
.intro-more-sp { display: none; }
@media (max-width: 734px) { .intro-more-sp { display: inline-flex; } }
/* OS で動きを減らす設定のときは、切り替えをやめて3つを静かに並べる */
@media (prefers-reduced-motion: reduce) {
  .intro-track { height: auto; }
  .intro-sticky { position: static; height: auto; padding-block: clamp(80px, 9vw, 140px); }
  .intro-steps li { color: var(--text); transition: none; }
  .intro-steps li span { color: var(--text-sub); }
  .screen-stack .screen { transition: none; }
}

/* ---------- TalkLens の見せ場（トップのこのセクションだけ写真とガラス） ---------- */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(96px, 11vw, 168px) clamp(72px, 9vw, 128px);
  background: #0e3a3f; color: #fff; text-align: center;
}
.stage-bg { position: absolute; inset: 0; z-index: -1; }
.stage-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.glass {
  position: relative; max-width: 640px; margin-inline: auto;
  padding: clamp(32px, 4.4vw, 52px) clamp(24px, 4.4vw, 56px);
  border-radius: 36px;
  background: rgba(8, 26, 30, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass {
    /* 後ろが真っ白でも白い文字が 4.5:1 を超える濃さ（白 255 × 0.38 ＋ この色 × 0.62 → 約 5.2:1） */
    background: rgba(8, 26, 30, 0.62);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    backdrop-filter: blur(28px) saturate(140%);
  }
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 60% at 20% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 60%);
}
.glass > * { position: relative; }
.stage .app-icon { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }
.stage .app-name, .stage .title { color: #fff; }
.stage .lead { color: rgba(255, 255, 255, 0.92); }
.stage .more { color: #a8d4ff; }
.stage .actions { gap: 16px 28px; }
.stage .phone img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35)); }
@media (max-width: 734px) {
  .glass { border-radius: 28px; }
  .stage-bg img { object-position: 50% 22%; }
}

/* ---------- 左に文字、右に画面（Kaitori Base） ---------- */
.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center;
  gap: clamp(32px, 5vw, 80px); text-align: left;
}
.split .lead { margin-left: 0; }
.split .actions { justify-content: flex-start; }
.split-devices { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.split-devices .phone { --pw: clamp(220px, 24vw, 330px); }
.split-devices .phone--back { margin-top: 60px; margin-right: calc(var(--pw) * -0.3); --pw: clamp(190px, 20vw, 280px); }
.split-devices .phone--front { position: relative; z-index: 1; }
.facts-inline { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts-inline li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts-inline b { display: block; font-size: 1.0625rem; font-weight: 600; }
.facts-inline span { display: block; color: var(--text-sub); font-size: 0.9375rem; }
@media (max-width: 1068px) {
  .split { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .split .lead { margin-inline: auto; }
  .split .actions { justify-content: center; }
  .facts-inline { text-align: left; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 734px) {
  .split-devices .phone--front { --pw: 210px; }
  .split-devices .phone--back { --pw: 170px; margin-top: 40px; margin-right: -64px; }
}

/* ---------- ビフォーアフターの比較（Shade Preview） ---------- */
.compare {
  position: relative; width: min(400px, 80vw); margin: clamp(40px, 5vw, 64px) auto 0;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
  --pos: 50%;
}
.compare .frame { position: relative; z-index: 3; width: 100%; pointer-events: none; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.16)); }
.compare-screens { position: absolute; z-index: 1; left: 5.102%; top: 2.2%; width: 89.796%; aspect-ratio: 1320 / 2868; border-radius: 12% / 5.6%; overflow: hidden; }
.compare-screens img { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare-after { clip-path: inset(0 0 0 var(--pos)); }
.compare-line {
  position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.compare-knob {
  position: absolute; z-index: 2; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  display: grid; place-items: center; color: var(--text); font-size: 18px; letter-spacing: 0;
}
.compare input[type="range"] { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare input[type="range"]:focus-visible ~ .compare-screens .compare-knob { outline: 3px solid var(--accent); outline-offset: 2px; }
/* 写真だけを左右で比べる形（端末の枠もアプリの表示も入れない） */
.compare--photo { width: min(400px, 80vw); }
.compare--photo .compare-screens {
  position: relative; left: auto; top: auto; width: 100%; aspect-ratio: 562 / 749;
  border-radius: 24px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 24px 48px rgba(0, 0, 0, 0.14);
}
/* つまみは口元（写真の中ほど）を隠さないよう、下の方に置く */
.compare--photo .compare-knob { top: 86%; }
.compare-labels { display: flex; justify-content: space-between; width: min(400px, 80vw); margin: 16px auto 0; font-size: 0.875rem; color: var(--text-sub); }
.compare-labels b { color: var(--text); font-weight: 600; }

/* ---------- ベントーグリッド（サービス紹介のみ） ---------- */
.bento {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px; margin-top: clamp(48px, 5vw, 72px); text-align: left;
}
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 300px; padding: clamp(28px, 3.4vw, 44px);
  border-radius: 28px; background: var(--bg-alt);
}
.section--alt .tile { background: #fff; }
.tile-kicker { margin: 0 0 10px; font-size: 0.9375rem; font-weight: 600; color: var(--text-sub); letter-spacing: 0.04em; }
.tile-title {
  margin: 0; font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.5rem); font-weight: 700;
  line-height: 1.25; letter-spacing: -0.005em; font-feature-settings: "palt";
}
.t-side { padding-inline: clamp(24px, 2.6vw, 34px); }
.t-side .tile-title { font-size: clamp(1.5rem, 1.25rem + 0.6vw, 1.75rem); }
.t-full { min-height: 0; }
.tile-text { margin: 14px 0 0; font-size: 1.0625rem; line-height: 1.75; color: var(--text-sub); }
.tile-text strong { color: var(--text); font-weight: 600; }
.tile .more { font-size: 1rem; }
.t-wide { grid-column: span 4; grid-row: span 2; }
.t-side { grid-column: span 2; }
.t-half { grid-column: span 3; }
.t-full { grid-column: 1 / -1; }

.media-list { list-style: none; margin: 28px 0 0; padding: 0; }
.media-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--line);
}
.media-list li:last-child { border-bottom: 1px solid var(--line); }
.media-list b { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; letter-spacing: 0.01em; font-feature-settings: "palt"; white-space: nowrap; }
.media-list span { font-size: 0.875rem; color: var(--text-sub); text-align: right; }

.tile--peek { padding-bottom: 0; }
.tile--peek .peek {
  display: flex; justify-content: center; align-items: flex-start; gap: 12px;
  margin-top: auto; padding-top: 32px; height: 320px; overflow: hidden;
}
.tile--peek .phone { --pw: min(220px, calc(50% - 6px)); }
.tile--peek .phone img { filter: none; }
.tile-figure {
  margin-top: auto; padding-top: 24px;
  font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
  font-feature-settings: "palt"; color: var(--text); word-break: keep-all;
}
.tile-figure small { display: block; margin-top: 12px; font-size: 0.9375rem; font-weight: 400; color: var(--text-sub); letter-spacing: 0.04em; }

@media (min-width: 735px) and (max-width: 1068px) {
  .bento { gap: 16px; }
  .t-wide { grid-column: 1 / -1; grid-row: auto; }
  .t-side { grid-column: span 3; }
}
@media (max-width: 734px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .t-wide, .t-side, .t-half, .t-full { grid-column: auto; grid-row: auto; }
  .tile { min-height: 0; border-radius: 22px; }
  .tile--peek .peek { height: 270px; }
  .tile--peek .phone { --pw: 190px; }
  .tile--peek .phone + .phone { display: none; }
  .media-list li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .media-list span { text-align: left; font-size: 0.8125rem; line-height: 1.6; }
}

/* ---------- 制作・広告の事例（端末の枠は付けず、角丸と薄い影で浮かせる） ---------- */
.shot {
  display: block; width: 100%; border-radius: 22px; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 18px 40px rgba(0, 0, 0, 0.10);
}
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); max-width: 920px; margin: clamp(48px, 5vw, 72px) auto 0; text-align: left; }
.case { margin: 0; }
.case-title { margin: 18px 0 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.02em; font-feature-settings: "palt"; }
.case-text { margin: 6px 0 0; font-size: 0.875rem; line-height: 1.7; color: var(--text-sub); }
.case-tag { display: inline-block; margin-top: 8px; font-size: 0.8125rem; color: var(--text-faint); }
.case .more { font-size: 0.9375rem; }
@media (max-width: 1068px) and (min-width: 735px) {
  .cases { gap: 24px; }
}
@media (max-width: 734px) {
  .cases {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%;
    gap: 16px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .cases::-webkit-scrollbar { display: none; }
  .case { scroll-snap-align: start; }
}
.site-case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); align-items: center; gap: clamp(24px, 4vw, 56px); margin-top: clamp(64px, 7vw, 104px); text-align: left; }
.site-case .shot { border-radius: 18px; }
@media (max-width: 1068px) { .site-case { grid-template-columns: minmax(0, 1fr); } }

.old-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: 24px; text-align: left; }
.old-cases .shot { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 10px 24px rgba(0, 0, 0, 0.08); }
.old-cases .case-title { margin-top: 12px; font-size: 0.9375rem; }
.old-cases .case-text { font-size: 0.8125rem; }
.subhead { margin: clamp(64px, 7vw, 104px) 0 0; text-align: left; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 700; letter-spacing: 0.02em; }
.subhead small { display: block; margin-top: 4px; font-size: 0.875rem; font-weight: 400; color: var(--text-sub); }
@media (max-width: 734px) {
  .old-cases {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%;
    gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .old-cases::-webkit-scrollbar { display: none; }
  .old-cases .case { scroll-snap-align: start; }
}

/* 画像を載せない古い事例：画像の事例と同じ大きさの面に、文字だけを置いて並びをそろえる */
.case-textcard {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  aspect-ratio: 4 / 3; padding: clamp(18px, 2vw, 24px); border-radius: 16px;
  background: linear-gradient(160deg, #ffffff 0%, #e8f0fb 100%);
  box-shadow: inset 0 0 0 1px rgba(10, 90, 187, 0.12);
}
.section--alt .case-textcard { background: linear-gradient(160deg, #ffffff 0%, #e6eefa 100%); }
.case-textcard span { font-size: 0.8125rem; color: var(--text-sub); letter-spacing: 0.04em; }
.case-textcard b { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 700; line-height: 1.35; color: var(--text); word-break: keep-all; overflow-wrap: anywhere; font-feature-settings: "palt"; }

/* ---------- 一覧（実績・サービス詳細） ---------- */
.rows { margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; text-align: left; border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 4px 32px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.row-label { margin: 0; font-size: 0.875rem; color: var(--text-sub); letter-spacing: 0.04em; line-height: 1.9; }
.row-title { margin: 0; font-size: 1.25rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.02em; font-feature-settings: "palt"; }
.row-text { margin: 6px 0 0; color: var(--text-sub); font-size: 1rem; line-height: 1.8; }
.row-text a { white-space: nowrap; }
@media (max-width: 734px) {
  .row { grid-template-columns: minmax(0, 1fr); padding: 22px 0; }
  .row-title { font-size: 1.125rem; }
}
.group-title { margin: clamp(64px, 7vw, 96px) 0 0; text-align: left; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 700; letter-spacing: 0.02em; font-feature-settings: "palt"; }
.group-title:first-child { margin-top: 0; }
.group-title + .rows { margin-top: 20px; }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: clamp(48px, 6vw, 72px) auto 0; padding: 0; list-style: none; max-width: 860px; text-align: left; }
.points b { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.02em; }
.points span { display: block; margin-top: 4px; font-size: 0.9375rem; color: var(--text-sub); line-height: 1.75; }
@media (max-width: 734px) { .points { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

.showcase { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 56px clamp(24px, 4vw, 48px); }
.showcase > div { --pw: 190px; width: var(--pw); }
.showcase .phone, .showcase .placeholder { --pw: inherit; }
@media (min-width: 735px) and (max-width: 1068px) { .showcase > div { --pw: 160px; } .showcase { gap: 40px 20px; } }
@media (max-width: 734px) { .showcase { gap: 40px 16px; } .showcase > div { --pw: min(150px, 42vw); } }

/* ---------- Shade Preview の紹介ページ ---------- */
.sp-hero .note { margin-top: 18px; }
.badge--soon { padding: 6px 18px; border-color: var(--accent); color: var(--accent); font-size: 0.9375rem; font-weight: 600; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 1068px) { .split--reverse > :first-child { order: 0; } }
.price { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 820px; margin: clamp(40px, 5vw, 64px) auto 0; text-align: left; }
.price-card { padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--bg-alt); }
.price-name { margin: 0; font-size: 1.375rem; font-weight: 700; letter-spacing: 0.02em; }
.price-name small { display: block; margin-top: 2px; font-size: 0.875rem; font-weight: 400; color: var(--text-sub); }
.price-text { margin: 12px 0 0; font-size: 1rem; color: var(--text-sub); line-height: 1.8; }
@media (max-width: 734px) { .price { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.notice-list { margin: 24px 0 0; padding-left: 1.2em; text-align: left; color: var(--text-sub); font-size: 0.9375rem; line-height: 1.85; }
.notice-list li + li { margin-top: 8px; }

/* ライブ表示（画像が無いので、文字の面で見せる） */
.live-panel {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 32px);
  max-width: 980px; margin: clamp(40px, 5vw, 64px) auto 0; padding: clamp(24px, 4vw, 48px);
  border-radius: 32px; text-align: left;
  background: linear-gradient(150deg, #f4f8ff 0%, #e3eefc 100%);
  box-shadow: inset 0 0 0 1px rgba(10, 90, 187, 0.10);
}
.live-steps { display: grid; gap: 22px; }
.live-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
.live-num {
  grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 1.125rem; font-weight: 700; letter-spacing: 0;
}
.live-step b { font-size: 1.125rem; font-weight: 600; line-height: 1.5; }
.live-step span:not(.live-num) { color: var(--text-sub); font-size: 0.9375rem; line-height: 1.75; }
.live-facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; align-content: start; }
.live-facts li { padding: 16px 20px; border-radius: 18px; background: #fff; }
.live-facts b { display: block; font-size: 1rem; font-weight: 600; }
.live-facts span { display: block; margin-top: 2px; font-size: 0.9375rem; color: var(--text-sub); line-height: 1.7; }
@media (max-width: 860px) { .live-panel { grid-template-columns: minmax(0, 1fr); border-radius: 24px; } }

/* ---------- お問い合わせフォーム ---------- */
.section--form { padding-top: clamp(16px, 2vw, 32px); text-align: left; }
.form { margin: 0; }
.field { margin: 0 0 26px; }
.field label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 1rem; font-weight: 600; }
.req, .opt { display: inline-block; padding: 0 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; line-height: 1.8; letter-spacing: 0.04em; }
.req { background: var(--accent); color: #fff; }
.opt { background: #e8e8ed; color: var(--text-sub); }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text);
  font: inherit; font-size: 1.0625rem; line-height: 1.6; letter-spacing: 0.02em;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 18px center; }
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10, 90, 187, 0.18); }
.field [aria-invalid="true"] { border-color: #c42b1c; background-color: #fff8f7; }
.field-error { margin: 8px 0 0; font-size: 0.9375rem; color: #c42b1c; line-height: 1.6; }
.form-errors { margin: 0 0 32px; padding: 20px 24px; border-radius: 16px; background: #fff3f1; box-shadow: inset 0 0 0 1px rgba(196, 43, 28, 0.28); color: var(--text); font-size: 0.9375rem; }
.form-errors:focus { outline: none; }
.form-errors p { margin: 0; }
.form-errors p + p, .form-errors p + ul { margin-top: 8px; }
.form-errors ul { margin: 8px 0 0; padding-left: 1.2em; }
.form-errors a { color: #c42b1c; text-decoration: underline; }
.form-note { margin: 8px 0 0; font-size: 0.875rem; color: var(--text-sub); }
.actions--form { justify-content: flex-start; }
.btn--submit { min-width: 200px; min-height: 52px; border: 0; cursor: pointer; }
.btn--submit:disabled { opacity: 0.6; cursor: progress; }
.form-done { font-size: 1.0625rem; }
.form-done .actions { justify-content: flex-start; }
.form-test { margin: 0 0 24px; padding: 12px 16px; border-radius: 12px; background: #fff7d6; font-size: 0.875rem; }
/* 人には見えない欄（機械による投稿の見分け用）。display: none だと無視する機械があるので、画面の外に出す */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 事業者情報 ---------- */
.facts { margin: 0; text-align: left; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 4px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.9375rem; color: var(--text-sub); letter-spacing: 0.04em; }
.facts dd { margin: 0; font-size: 1.0625rem; line-height: 1.8; }
.facts dd ul { margin: 0; padding-left: 1.2em; }
.facts dd a { display: inline-block; min-height: 32px; }
@media (max-width: 734px) { .facts > div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 法務ページ（本文は元のまま） ---------- */
.legal { padding-block: clamp(56px, 7vw, 96px) clamp(80px, 9vw, 128px); }
.legal-title { word-break: keep-all; overflow-wrap: anywhere; margin: 0 0 clamp(32px, 4vw, 48px); font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 700; line-height: 1.25; letter-spacing: 0.01em; font-feature-settings: "palt"; }
.legal-body { font-size: 1rem; line-height: 1.9; }
.legal-body > p:empty, .legal-body > h1:empty { display: none; }
.legal-body h2 { margin: 2.4em 0 0.8em; font-size: 1.5rem; line-height: 1.45; letter-spacing: 0.02em; font-feature-settings: "palt"; scroll-margin-top: 72px; }
.legal-body h3 { margin: 2em 0 0.6em; font-size: 1.1875rem; line-height: 1.5; scroll-margin-top: 72px; }
.legal-body h4 { margin: 1.6em 0 0.4em; font-size: 1.0625rem; }
.legal-body p, .legal-body ul, .legal-body ol { margin: 0 0 1.1em; }
.legal-body li { margin-bottom: 0.3em; }
.legal-body table { max-width: 100%; }
.legal-body .tl-table, .legal-body .wp-block-table { display: block; overflow-x: auto; }
.legal-body [id] { scroll-margin-top: 72px; }

/* ---------- フッター ---------- */
.footer { background: var(--bg-alt); color: var(--text-sub); font-size: 0.8125rem; line-height: 1.6; }
.footer .wrap { padding-block: 40px; }
.footer-brand { display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 12px; }
.footer-brand img { height: 28px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 0; padding: 0 0 16px; list-style: none; border-bottom: 1px solid var(--line); }
.footer-nav + .footer-nav { padding-top: 8px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.footer-nav--sub a { color: var(--text-sub); }
.footer-copy { margin: 20px 0 0; }

/* 動きを減らす設定のときは、メニューの印の切り替えも止める（上の .gnav-toggle の指定より後に置く） */
@media (prefers-reduced-motion: reduce) {
  .gnav-toggle span::before, .gnav-toggle span::after { transition: none; }
}

/* ---------- 404 ---------- */
.links-404 { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 32px; margin: 24px 0 0; padding: 0; list-style: none; }
.page-hero--404 + .section .group-title { margin-top: 0; text-align: center; }

/* ---------- サービスの詳しいページ（/astech-services/〜/） ---------- */
.svc-crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.4em; margin: 0 0 20px; padding: 0; list-style: none; font-size: 0.875rem; color: var(--text-sub); }
.svc-crumbs li + li::before { content: "›"; margin-right: 0.4em; }
.svc-crumbs a { display: inline-block; padding-block: 10px; }
.svc { text-align: left; }
.svc-sec + .svc-sec { margin-top: clamp(64px, 8vw, 104px); }
.svc-h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 700; line-height: 1.3; letter-spacing: 0.01em; font-feature-settings: "palt"; text-wrap: balance; }
.svc-text { margin: 14px 0 0; color: var(--text-sub); }
.svc-list { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.svc-list > li { position: relative; padding: 16px 0 16px 1.25em; border-bottom: 1px solid var(--line); }
.svc-list > li::before { content: ""; position: absolute; left: 0.2em; top: calc(16px + 0.75em); width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.svc-list b { display: block; font-weight: 600; }
.svc-list span { display: block; margin-top: 2px; color: var(--text-sub); font-size: 0.9375rem; }
.svc-list > li > a { display: inline-block; padding-block: 11px; }
.svc-steps { counter-reset: step; margin: 24px 0 0; padding: 0; list-style: none; }
.svc-steps > li { counter-increment: step; position: relative; padding: 16px 0 16px 3em; border-bottom: 1px solid var(--line); }
.svc-steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 16px; display: grid; place-items: center;
  width: 2em; height: 2em; border-radius: 50%; background: var(--text); color: #fff; font-size: 0.875rem; font-weight: 600; line-height: 1;
}
.svc-steps b { display: block; font-weight: 600; }
.svc-steps span { display: block; margin-top: 2px; color: var(--text-sub); font-size: 0.9375rem; }
.faq { margin: 24px 0 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; min-height: 44px; padding: 16px 2.2em 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2em; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--text-sub); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--text-sub); }
.svc-cta { margin-top: clamp(64px, 8vw, 104px); padding: clamp(32px, 4vw, 48px); border-radius: 18px; background: var(--bg-alt); text-align: center; }
.svc-cta .svc-text { margin-inline: auto; max-width: 34em; }
.svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: clamp(40px, 5vw, 64px) 0 0; text-align: left; }
.svc-card { display: block; padding: 24px; border-radius: 18px; background: #fff; color: var(--text); }
.svc-card b { display: block; font-size: 1.1875rem; font-weight: 700; line-height: 1.4; }
.svc-card span { display: block; margin-top: 6px; color: var(--text-sub); font-size: 0.9375rem; }
.svc-card em { display: inline-block; margin-top: 10px; font-style: normal; color: var(--accent); }
.svc-card:hover em { color: var(--accent-hover); }
.tile .more { margin-top: 8px; }
@media (max-width: 734px) { .svc-cards { grid-template-columns: minmax(0, 1fr); } }
/* 書き手の紹介（事業者情報のページ） */
.author-box { margin: clamp(48px, 6vw, 72px) auto 0; padding: 24px; border: 1px solid var(--line); border-radius: 18px; text-align: left; }
.author-box-label { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--text-sub); letter-spacing: 0.04em; }
.author-box-name { margin: 4px 0 0; font-size: 1.1875rem; font-weight: 700; }
.author-box-text { margin: 8px 0 0; color: var(--text-sub); font-size: 0.9375rem; line-height: 1.8; }
.author-box-name a { display: inline-block; padding-block: 11px; margin-block: -11px; }

/* サービスのページの、節ごとの図（2026-10-16） */
.svc-fig { margin: 22px 0 6px; }
.svc-fig img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; border-radius: 16px; border: 1px solid var(--line, #d2d2d7); background: #f5f5f7; }
