/* =========================================================
 * SITY トップページ（front-page.php 専用）
 * ビルド：home-2026-11-09-content-motion
 * - ヒーローの街イラスト（city.svg）を基準にした配色・線画トーン
 * - 事業内容・選ばれる理由・会社概要は「タップで詳細を開く」構成
 * - 動き：ハンバーガーのモーフ／ナビの追従ピル／数字のオドメーター／
 *         開閉パネル（grid-template-rows）／ボタンの光沢・押し込み／
 *         スクロールで現れる要素（透明度＋ぼかし）
 * ========================================================= */
:root {
  color-scheme: only light;
  --bg: #fbf8f1;
  --surface: #ffffff;
  --cream: #f6efe0;
  --mint: #e4f2ea;
  --mint-2: #cfe8de;
  --sky: #e7f1f7;
  --lemon: #fff4cc;
  --peach: #fde6dc;
  --ink: #24343a;
  --line: #2c3e44;
  --muted: #56676c;
  --border: rgba(36, 52, 58, .16);
  --teal: #1f8a81;
  --teal-dark: #176c65;
  --accent: #d24f2a;
  --accent-dark: #b23f1e;
  --illust-bg: #faf6ec; /* 挿入イラストの背景色（city.svg と同系のクリーム） */

  --font-jp: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --font-en: 'Outfit', 'Zen Kaku Gothic New', sans-serif;

  --text-xs: clamp(.75rem, .72rem + .15vw, .8125rem);
  --text-sm: clamp(.875rem, .85rem + .15vw, .9375rem);
  --text-base: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --text-2xl: clamp(1.75rem, 1.3rem + 1.9vw, 2.875rem);
  --text-hero: clamp(2.25rem, 1rem + 3.2vw, 4rem);

  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1180px;
  --hd-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: .22s;
  --dur: .45s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 12px); }
body { font-family: var(--font-body); font-size: var(--text-base); line-height: 1.9; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--font-jp); font-weight: 900; line-height: 1.45; letter-spacing: .02em; text-wrap: balance; }
p { text-wrap: pretty; word-break: auto-phrase; }
h3 { word-break: auto-phrase; }
.nw { display: inline-block; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 200; background: var(--surface); padding: 8px 16px; border-radius: 999px; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
.sp { display: none; }

.wrap { width: min(calc(100% - 48px), var(--wrap)); margin-inline: auto; }
.sec { padding-block: clamp(64px, 8vw, 112px); position: relative; }

.eyebrow { font-family: var(--font-en); font-weight: 700; font-size: var(--text-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-title { font-size: var(--text-2xl); margin-top: 14px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-lead { max-width: 30em; color: var(--muted); font-size: var(--text-sm); }
.tap-hint { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: var(--text-xs); font-weight: 700; color: var(--teal-dark); }
.tap-hint::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; background: radial-gradient(circle, currentColor 2px, transparent 2.5px); flex-shrink: 0; animation: tapPulse 2.4s ease-in-out infinite; }
@keyframes tapPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 138, 129, .35); } 60% { box-shadow: 0 0 0 6px rgba(31, 138, 129, 0); } }

/* ===== Buttons ===== */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 12px 26px; border-radius: 999px; font-family: var(--font-jp); font-weight: 700; font-size: var(--text-sm); letter-spacing: .04em; border: 1.5px solid var(--line); overflow: hidden; isolation: isolate; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--spring), box-shadow .25s var(--ease); box-shadow: 0 4px 0 var(--line); }
.btn::after { content: ''; position: absolute; inset: -2px; z-index: -1; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%); transform: translateX(-120%); pointer-events: none; }
/* 2026-11-09：ホバー時の光沢の帯は装飾の重複を減らすため停止（押し込みの動きは維持） */
@keyframes shine { to { transform: translateX(120%); } }
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--line); }
.btn:active { transform: translateY(4px) scale(.97); box-shadow: 0 0 0 var(--line); transition-duration: .08s; }
.btn .arrow { width: 18px; height: 18px; transition: transform .3s var(--ease); flex-shrink: 0; }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { background: var(--surface); color: var(--ink); }
.btn--ghost:hover { background: var(--lemon); }
.btn--block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-jp); font-weight: 700; font-size: var(--text-sm); color: var(--teal-dark); padding-block: 6px; min-height: 44px; position: relative; }
.text-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: currentColor; transform-origin: left; transition: transform .4s var(--ease); }
.text-link:hover::after { transform: scaleX(.6); }
.text-link .arrow { width: 18px; height: 18px; transition: transform .3s var(--ease); }

/* ===== Header ===== */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hd-h); transition: background .3s, box-shadow .3s; cursor: pointer; }
.hd.is-scrolled { background: rgba(251, 248, 241, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--border); }
.admin-bar .hd { top: 32px; }
@media (max-width: 782px) { .admin-bar .hd { top: 46px; } }
.hd-inner { height: 100%; width: min(calc(100% - 40px), 1320px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.hd-logo { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.hd-logo img { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); object-fit: cover; }
.hd-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.hd-logo-text strong { font-family: var(--font-en); font-weight: 800; font-size: 1.375rem; letter-spacing: .08em; }
.hd-logo-text small { font-size: .6875rem; color: var(--muted); font-weight: 500; margin-top: 3px; }
.hd-nav { margin-left: auto; position: relative; }
.hd-nav ul { display: flex; gap: 6px; position: relative; z-index: 1; }
.hd-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-family: var(--font-jp); font-weight: 700; font-size: var(--text-sm); transition: background .2s, color .2s; cursor: pointer; }
.hd-nav a:hover { background: var(--mint); }
.hd-nav a.is-active { color: var(--teal-dark); }
/* 追従ピル：現在のセクションのリンク位置へスライドする */
.hd-pill { position: absolute; top: 50%; left: 0; height: 44px; width: 0; transform: translateY(-50%); border-radius: 999px; background: var(--mint-2); opacity: 0; transition: left .5s var(--ease), width .5s var(--ease), opacity .3s; pointer-events: none; }
.hd-pill.is-on { opacity: 1; }
.hd-nav-contact { display: none; }
.hd-cta { min-height: 46px; padding: 10px 22px; box-shadow: 0 3px 0 var(--line); }
.hd-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); opacity: 0; transition: opacity .3s; }
.hd.is-scrolled .hd-progress { opacity: 1; }

/* ハンバーガー → ✕ のモーフ（3本が中央に集まってから回転） */
.hd-menu { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); position: relative; margin-left: auto; transition: transform .3s var(--spring), background .3s; }
.hd-menu:active { transform: scale(.92); }
.hd-menu-bars { position: absolute; inset: 0; }
.hd-menu-bars i { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--line); border-radius: 2px; transition: transform .32s var(--ease), opacity .2s ease .12s, top .3s var(--ease); }
.hd-menu-bars i:nth-child(1) { top: 16px; }
.hd-menu-bars i:nth-child(2) { top: 22px; }
.hd-menu-bars i:nth-child(3) { top: 28px; }
.hd-menu[aria-expanded="true"] { background: var(--lemon); }
.hd-menu[aria-expanded="true"] .hd-menu-bars i { top: 22px; transition: top .22s var(--ease), transform .4s var(--spring) .18s, opacity .15s; }
.hd-menu[aria-expanded="true"] .hd-menu-bars i:nth-child(1) { transform: rotate(45deg); }
.hd-menu[aria-expanded="true"] .hd-menu-bars i:nth-child(2) { opacity: 0; transition-delay: 0s; }
.hd-menu[aria-expanded="true"] .hd-menu-bars i:nth-child(3) { transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100svh; padding-top: var(--hd-h); overflow: hidden; isolation: isolate; }
.hero-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(1200px 500px at 70% 10%, var(--sky) 0, transparent 60%),
  radial-gradient(800px 400px at 10% 90%, var(--mint) 0, transparent 60%),
  var(--bg); }
.hero-sky i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.hero-sky i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: -20%; background: var(--sky); animation: blob 26s ease-in-out infinite alternate; }
.hero-sky i:nth-child(2) { width: 36vw; height: 36vw; left: -12%; bottom: -16%; background: var(--mint); animation: blob 32s ease-in-out -8s infinite alternate-reverse; }
.hero-sky i:nth-child(3) { width: 24vw; height: 24vw; right: -6%; bottom: 10%; background: var(--lemon); animation: blob 38s ease-in-out -16s infinite alternate; opacity: .45; }
@keyframes blob { from { transform: translate(0, 0) scale(1); } to { transform: translate(6vw, 4vh) scale(1.12); } }
.hero-inner { width: min(calc(100% - 48px), 1320px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: 24px; min-height: calc(100svh - var(--hd-h) - 40px); }
.hero-copy { position: relative; z-index: 2; padding-block: 40px; }
.hero-eyebrow { font-family: var(--font-en); font-weight: 700; font-size: var(--text-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }
.hero-eyebrow span { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); }
.hero-eyebrow span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-title { font-size: var(--text-hero); line-height: 1.3; letter-spacing: .01em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero-title .line > span { display: inline-block; }
.hero-title .line:nth-child(2) > span { background: linear-gradient(transparent 68%, var(--lemon) 68%); }
.hero-lead { margin-top: 24px; font-size: var(--text-lg); font-weight: 500; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; }
.hero-city { width: 118%; margin-left: -4%; will-change: transform; }
.hero-city .city { width: 100%; height: auto; overflow: visible; }
.hero-badge { position: absolute; left: 4%; bottom: 10%; background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; padding: 14px 20px; box-shadow: 0 5px 0 var(--line); display: flex; flex-direction: column; line-height: 1.4; z-index: 3; }
.hero-badge-num { font-family: var(--font-jp); font-weight: 700; font-size: var(--text-sm); display: inline-flex; align-items: baseline; }
.hero-badge-num strong { font-family: var(--font-en); font-size: 2rem; font-weight: 800; color: var(--accent); margin: 0 4px; line-height: 1; }
.hero-badge-sub { font-size: var(--text-xs); color: var(--muted); }
/* オドメーター：桁ごとに数字の帯が下から回転して止まる */
.odo { display: inline-flex; height: 1em; overflow: hidden; vertical-align: baseline; }
.odo-d { display: inline-flex; flex-direction: column; height: 1em; line-height: 1; transform: translateY(0); transition: transform 1.6s var(--ease); }
.odo-d i { display: block; height: 1em; font-style: normal; }
.odo-d:nth-child(2) { transition-duration: 1.9s; }
.odo-d:nth-child(3) { transition-duration: 2.2s; }
.odo.is-run .odo-d { transform: translateY(calc(var(--n, 0) * -1em)); }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-en); font-size: .6875rem; font-weight: 700; letter-spacing: .24em; color: var(--muted); }
.scroll-cue-line { width: 1.5px; height: 40px; background: linear-gradient(var(--line) 50%, transparent 50%); background-size: 100% 200%; animation: cue 1.8s linear infinite; }
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* 街のイラスト：部品が順番に現れる */
.city .ground { transform-box: fill-box; transform-origin: 50% 60%; }
.city .pop { transform-box: fill-box; transform-origin: 50% 100%; }
.city .flag path { transform-box: fill-box; transform-origin: 0 50%; animation: flag 2.4s ease-in-out infinite; }
.city .beacon { animation: beacon 1.6s ease-in-out infinite; }
.city .link { stroke-dashoffset: 0; animation: dash 1.8s linear infinite; }
.city .node { transform-box: fill-box; transform-origin: center; animation: node 2.4s ease-in-out infinite; }
.city .car-x { animation: carX 14s linear infinite; }
.city .car-x2 { animation: carX 19s linear -8s infinite; }
.city .cloud { animation: drift 26s ease-in-out infinite alternate; }
.city .cloud.c2 { animation-duration: 32s; animation-delay: -6s; }
.city .cloud.c3 { animation-duration: 22s; animation-delay: -12s; }
.city .blimp { animation: bob 4s ease-in-out infinite; }
@keyframes flag { 0%, 100% { transform: skewY(0); } 50% { transform: skewY(-8deg) scaleX(.9); } }
@keyframes beacon { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes node { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes carX { 0% { transform: translate(0, 0); opacity: 0; } 5% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translate(589px, 340px); opacity: 0; } }
@keyframes drift { from { transform: translateX(-24px); } to { transform: translateX(28px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.js .city .ground { opacity: 0; transform: scale(.94) translateY(20px); }
.js .city .pop { opacity: 0; transform: translateY(-36px); }
.js .city .links { opacity: 0; }
.js .city .cloud, .js .city .blimp-wrap { opacity: 0; }
.js .hero-title .line > span { transform: translateY(105%); }
.js .hero-eyebrow, .js .hero-lead, .js .hero-actions, .js .hero-badge { opacity: 0; transform: translateY(16px); }

.city-go .city .ground { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform 1s var(--ease); }
.city-go .city .pop { animation: drop .9s var(--ease) var(--d, 0s) both; }
.city-go .city .links { opacity: 1; transition: opacity 1s ease 2.1s; }
.city-go .city .cloud { opacity: 1; transition: opacity 1.2s ease 1.6s; }
.city-go .city .blimp-wrap { opacity: 1; transition: opacity 1s ease 1.9s; }
.is-ready .hero-title .line > span { transform: none; transition: transform 1s var(--ease); }
.is-ready .hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.is-ready .hero-title .line:nth-child(3) > span { transition-delay: .2s; }
.is-ready .hero-eyebrow, .is-ready .hero-lead, .is-ready .hero-actions, .city-go .hero-badge { opacity: 1; transform: none; transition: opacity .8s ease, transform .9s var(--ease); }
.is-ready .hero-lead { transition-delay: .35s; }
.is-ready .hero-actions { transition-delay: .5s; }
.city-go .hero-badge { transition-delay: 2.2s; }
@keyframes drop {
  0% { opacity: 0; transform: translateY(-36px); }
  60% { opacity: 1; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== Ticker ===== */
/* 2026-11-09：英語スローガンが流れ続ける帯 → 取り扱い分野を日本語で並べた静止帯 */
.ticker { background: var(--line); color: #fff; overflow: hidden; padding-block: 14px; border-block: 1.5px solid var(--line); }
.ticker-track { display: flex; justify-content: center; width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.ticker span { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 4px; font-family: var(--font-jp); font-weight: 700; font-size: var(--text-sm); letter-spacing: .06em; line-height: 1.7; }
.ticker i { width: 8px; height: 8px; margin-inline: 18px; border-radius: 50%; background: var(--accent); display: inline-block; }
.ticker i:nth-of-type(3n+2) { background: #5cc3b6; }
.ticker i:nth-of-type(3n) { background: #f1c94a; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ===== Reveal（透明度＋ぼかし＋わずかな上昇） ===== */
.js .reveal { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .8s ease, transform .9s var(--ease), filter .8s ease; transition-delay: calc(var(--i, 0) * .1s); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
/* イラスト枠：線画イラスト（背景 #faf6ec）を枠いっぱいに表示 */
.clip { overflow: hidden; border-radius: var(--radius-lg); border: 1.5px solid var(--line); background: var(--illust-bg); }
.clip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.js .clip.reveal { opacity: 1; transform: none; filter: none; }
.js .clip.reveal img { clip-path: inset(100% 0 0 0); transform: scale(1.08); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); }
.js .clip.reveal.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ===== 開閉パネル（共通） ===== */
.disc-btn { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; cursor: pointer; }
.disc-icon { position: relative; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); transition: background .3s var(--ease), transform .4s var(--spring); }
.disc-icon i { position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--line); border-radius: 2px; transition: transform .4s var(--spring), opacity .3s; }
.disc-icon i:nth-child(2) { transform: rotate(90deg); }
.disc-btn:hover .disc-icon { background: var(--lemon); }
.disc-btn[aria-expanded="true"] .disc-icon { background: var(--line); transform: rotate(180deg); }
.disc-btn[aria-expanded="true"] .disc-icon i { background: #fff; }
.disc-btn[aria-expanded="true"] .disc-icon i:nth-child(2) { transform: rotate(180deg); opacity: 0; }
.disc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.disc-panel > .disc-inner { min-height: 0; overflow: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .4s var(--ease), padding .55s var(--ease); }
.disc-panel.is-open { grid-template-rows: 1fr; }
.disc-panel.is-open > .disc-inner { opacity: 1; transform: none; transition-delay: .12s; }

/* ===== Concept ===== */
.concept { background: var(--surface); }
.concept-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.concept-text p:not(.eyebrow) { margin-top: 20px; font-size: var(--text-base); }
.concept-text .sec-title { margin-bottom: 8px; }
.concept-photo { aspect-ratio: 3 / 2; box-shadow: 10px 10px 0 var(--mint-2); }
.keywords { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(44px, 6vw, 80px); border-top: 1.5px solid var(--line); }
.keyword { background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px 24px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; transition: transform .35s var(--spring), box-shadow .35s var(--ease); box-shadow: 0 5px 0 var(--line); }
/* 2026-11-09：同じ形の箱を3つ並べる表示 → 罫線で区切った3列の読み物（日本語見出しを主に、英語は小さく） */
.keyword, .keyword:hover { background: none; border: 0; border-radius: 0; box-shadow: none; transform: none; padding: 26px 28px 8px 0; }
.keyword + .keyword { border-left: 1px solid var(--border); padding-left: 28px; }
.keyword-icon { grid-row: 1 / 3; width: 60px; height: 60px; border-radius: 50%; background: var(--mint); color: var(--teal-dark); display: grid; place-items: center; border: 1.5px solid var(--line); transition: transform .5s var(--spring); }
.keyword-icon svg { width: 36px; height: 36px; }
.keyword:nth-child(2) .keyword-icon { background: var(--lemon); color: #8a6a10; }
.keyword:nth-child(3) .keyword-icon { background: var(--peach); color: var(--accent-dark); }
.keyword-en { font-family: var(--font-en); font-weight: 700; font-size: var(--text-xs); letter-spacing: .14em; line-height: 1.4; color: var(--teal-dark); align-self: end; }
.keyword-jp { font-family: var(--font-jp); font-weight: 900; font-size: var(--text-lg); line-height: 1.5; color: var(--ink); align-self: start; }
.keyword-desc { grid-column: 1 / -1; margin-top: 14px; padding-top: 0; font-size: var(--text-sm); color: var(--ink); line-height: 1.8; }

/* ===== Services（タップで開く） ===== */
.services { background: linear-gradient(180deg, var(--bg), var(--mint) 120%); }
.svc-list { display: grid; gap: 16px; }
.svc { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 6px 0 var(--line); transition: box-shadow .35s var(--ease), transform .35s var(--spring); }
.svc:has(.disc-btn[aria-expanded="true"]) { box-shadow: 0 8px 0 var(--teal); }
.svc-head { font-size: inherit; font-weight: inherit; line-height: inherit; }
.svc .disc-btn { padding: 16px 20px 16px 16px; border-radius: var(--radius-lg); min-height: 96px; }
.svc-thumb { flex-shrink: 0; width: 112px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 1.5px solid var(--line); background: var(--illust-bg); transition: transform .5s var(--spring); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc .disc-btn:hover .svc-thumb { transform: scale(1.04) rotate(-1.5deg); }
.svc-title { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.svc-meta { display: flex; align-items: center; gap: 10px; }
.num { font-family: var(--font-en); font-weight: 800; font-size: 1.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.tag { display: inline-block; font-family: var(--font-en); font-weight: 800; font-size: .625rem; letter-spacing: .16em; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; }
.svc-name { font-family: var(--font-jp); font-weight: 900; font-size: var(--text-lg); line-height: 1.45; }
.svc-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: 0 24px; transition: padding .55s var(--ease); }
.disc-panel.is-open > .svc-body { padding: 4px 24px 28px; }
.svc-photo { aspect-ratio: 3 / 2; border-radius: var(--radius); box-shadow: -8px 8px 0 var(--lemon); }
.svc:nth-child(1) .svc-photo { aspect-ratio: 4 / 3; }
.svc-text p { font-size: var(--text-base); }
.svc-text p + p { margin-top: 12px; }
.svc-text .sub { margin-top: 20px; font-family: var(--font-jp); font-weight: 700; font-size: var(--text-sm); color: var(--teal-dark); display: flex; align-items: center; gap: 8px; }
.svc-text .sub::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--teal); transform: rotate(45deg); }
.check { margin-top: 8px; display: grid; gap: 6px; }
.check li { position: relative; padding-left: 26px; font-size: var(--text-sm); line-height: 1.7; }
.check li::before { content: ''; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--mint); }
.check li::after { content: ''; position: absolute; left: 5px; top: .32em; width: 6px; height: 9px; margin-top: 2px; border: solid var(--teal-dark); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.check--q li::before { background: var(--lemon); }
.check--q li::after { border: 0; width: auto; height: auto; left: 0; top: .32em; margin: 0; transform: none; content: '?'; width: 16px; text-align: center; font-family: var(--font-en); font-weight: 800; font-size: .6875rem; line-height: 16px; color: #8a6a10; }
.svc-text .text-link { margin-top: 22px; }
/* ご依頼から運営までの流れ */
.flow { margin-top: 28px; background: var(--surface); border: 1.5px dashed var(--teal); border-radius: var(--radius-lg); }
.flow-btn { padding: 18px 22px; border-radius: var(--radius-lg); min-height: 72px; }
.flow-btn-text { flex: 1 1 auto; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.flow-btn-en { font-family: var(--font-en); font-weight: 800; font-size: var(--text-xs); letter-spacing: .18em; color: var(--teal); }
.flow-btn-jp { font-family: var(--font-jp); font-weight: 900; font-size: var(--text-lg); }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 4px 22px 0; counter-reset: none; }
.flow-steps li { position: relative; background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px 18px 20px; }
.flow-steps li:not(:last-child)::after { content: ''; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border: solid var(--line); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.flow-num { display: inline-block; font-family: var(--font-en); font-weight: 800; font-size: 1.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.flow-steps h4 { margin-top: 10px; font-family: var(--font-jp); font-weight: 900; font-size: var(--text-base); }
.flow-steps p { margin-top: 8px; font-size: var(--text-sm); color: var(--muted); line-height: 1.75; }
.flow-note { padding: 16px 22px 22px; font-size: var(--text-xs); color: var(--muted); }
/* 開いたパネルの中の画像は、下からめくれるように表示 */
.disc-panel .svc-photo img { clip-path: inset(100% 0 0 0); transform: scale(1.06); transition: clip-path .9s var(--ease) .15s, transform 1.2s var(--ease) .15s; }
.disc-panel.is-open .svc-photo img { clip-path: inset(0 0 0 0); transform: none; }

/* ===== System ===== */
.system { background: var(--sky); overflow: hidden; }
.system::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(44, 62, 68, .14) 1.2px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.system-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.system-text > p:not(.eyebrow) { margin-top: 20px; }
.points { margin-top: 28px; display: grid; gap: 12px; }
.points li { display: flex; align-items: flex-start; gap: 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 18px; font-size: var(--text-sm); line-height: 1.7; transition: transform .35s var(--spring); }
.point-text { display: grid; gap: 4px; }
.point-text strong { font-family: var(--font-jp); font-weight: 700; }
.point-text span { font-size: var(--text-xs); color: var(--muted); line-height: 1.75; }
.points li:hover { transform: translateX(4px); }
.point-icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--teal-dark); }
.point-icon svg { width: 20px; height: 20px; }
.system-photo { aspect-ratio: 4 / 3; box-shadow: 10px 10px 0 var(--surface); }

/* ===== Values（タップで開く） ===== */
.values { background: var(--bg); }
.values-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.values-photo { aspect-ratio: 3 / 2; box-shadow: 0 10px 0 var(--mint-2); }
.reasons { display: grid; gap: 14px; }
.reason { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: 0 5px 0 var(--line); transition: box-shadow .35s var(--ease); }
.reason:has(.disc-btn[aria-expanded="true"]) { box-shadow: 0 7px 0 var(--teal); }
.reason-head { font-size: inherit; font-weight: inherit; line-height: inherit; }
.reason .disc-btn { padding: 16px 18px; border-radius: var(--radius); min-height: 76px; }
.reason-num { flex-shrink: 0; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--font-en); font-weight: 800; font-size: 1rem; border: 1.5px solid var(--line); }
.reason:nth-child(2) .reason-num { background: var(--accent); }
.reason:nth-child(3) .reason-num { background: #e5b62e; color: var(--ink); }
.reason-name { flex: 1 1 auto; min-width: 0; font-family: var(--font-jp); font-weight: 900; font-size: var(--text-lg); line-height: 1.45; }
.reason-body { padding: 0 18px 22px 80px; }
.reason-body p { font-size: var(--text-sm); color: var(--muted); }
.reason-body p + p { margin-top: 10px; color: var(--ink); }
.disc-panel.is-open > .reason-body { padding-bottom: 22px; }
.disc-panel > .reason-body { padding-bottom: 0; }

/* ===== Company ===== */
.company { background: var(--surface); }
.company-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.group { background: var(--bg); border: 1.5px dashed var(--teal); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); }
.group-logo { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px) clamp(20px, 4vw, 40px); box-shadow: 0 5px 0 var(--line); }
.group-logo img { width: 100%; max-width: 520px; margin-inline: auto; }
.group-title { font-size: var(--text-lg); margin-top: 28px; }
.group p { margin-top: 12px; font-size: var(--text-sm); }
.group strong { background: linear-gradient(transparent 62%, var(--lemon) 62%); }
.group-roles { margin-top: 20px; display: grid; gap: 10px; }
.group-roles li { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; font-size: var(--text-sm); line-height: 1.7; }
.group-role-name { font-family: var(--font-jp); font-weight: 700; position: relative; padding-left: 16px; }
.group-role-name::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.group-roles li:nth-child(2) .group-role-name::before { background: #2f6fb3; }
.group-role-desc { color: var(--muted); }
.group .text-link { margin-top: 18px; }
.group .disc-btn--more { margin-top: 14px; }
.compare { display: grid; gap: 10px; padding-top: 16px; }
.compare > div { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.compare dt { font-family: var(--font-jp); font-weight: 700; font-size: var(--text-sm); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.compare dt small { font-family: var(--font-en); font-weight: 700; font-size: .625rem; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; background: var(--mint); color: var(--teal-dark); border: 1px solid var(--mint-2); }
.compare > div:nth-child(n+2) dt small { background: #e6eef8; color: #2f6fb3; border-color: #cfdcef; }
.compare dd { margin-top: 6px; font-size: var(--text-xs); color: var(--muted); line-height: 1.8; }
/* よくあるご質問 */
.faq { margin-top: clamp(48px, 6vw, 80px); }
.faq-title { font-size: var(--text-xl); display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.faq-en { font-family: var(--font-en); font-weight: 800; font-size: var(--text-xs); letter-spacing: .18em; color: var(--teal); }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius); transition: box-shadow .35s var(--ease); }
.faq-item:has(.disc-btn[aria-expanded="true"]) { box-shadow: 0 5px 0 var(--teal); background: var(--surface); }
.faq-item .disc-btn { padding: 14px 18px; min-height: 64px; border-radius: var(--radius); }
.faq-q { flex-shrink: 0; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--line); color: #fff; font-family: var(--font-en); font-weight: 800; font-size: .9375rem; }
.faq-text { flex: 1 1 auto; min-width: 0; font-family: var(--font-jp); font-weight: 700; font-size: var(--text-base); line-height: 1.6; }
.faq-item .disc-inner p { padding: 0 18px 20px 70px; font-size: var(--text-sm); color: var(--muted); position: relative; }
.faq-item .disc-inner p::before { content: 'A'; position: absolute; left: 18px; top: -2px; width: 36px; text-align: center; font-family: var(--font-en); font-weight: 800; font-size: .9375rem; color: var(--accent); }
.company-box { border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 8px clamp(16px, 2.5vw, 28px) 16px; background: var(--surface); box-shadow: 0 6px 0 var(--line); }
.company-list > div { display: grid; grid-template-columns: 9em 1fr; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--border); }
.company-list dt { font-family: var(--font-jp); font-weight: 700; font-size: var(--text-sm); }
.company-list dd { font-size: var(--text-sm); line-height: 1.9; }
.company-list dd li { position: relative; padding-left: 1.1em; }
.company-list dd li::before { content: ''; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.company-list a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.company-list--more > div:first-child { border-top: 0; }
.disc-btn--more { justify-content: center; gap: 12px; margin-top: 10px; min-height: 52px; font-family: var(--font-jp); font-weight: 700; font-size: var(--text-sm); color: var(--teal-dark); border-radius: 999px; }
.disc-btn--more .disc-icon { width: 34px; height: 34px; }
.disc-btn--more .disc-icon i { width: 12px; margin-left: -6px; }

/* ===== Contact ===== */
.contact { background: var(--mint); overflow: hidden; }
.contact-deco { position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1.5px dashed var(--teal); opacity: .5; pointer-events: none; } /* 2026-11-09：常時回転を停止 */
@keyframes spinSlow { to { transform: rotate(360deg); } }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-text p:not(.eyebrow) { margin-top: 20px; }
.contact-steps { margin: 24px 0 28px; display: grid; gap: 10px; }
.contact-steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; font-size: var(--text-xs); color: var(--muted); line-height: 1.7; }
.contact-steps strong { font-family: var(--font-jp); font-weight: 700; font-size: var(--text-sm); color: var(--ink); }
.contact-step-num { flex-shrink: 0; display: inline-grid; place-items: center; width: 28px; height: 28px; margin-top: 2px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--font-en); font-weight: 800; font-size: .875rem; }
.contact-direct { display: flex; flex-direction: column; font-size: var(--text-xs); color: var(--muted); font-weight: 700; }
.contact-direct a { font-family: var(--font-en); font-weight: 800; font-size: var(--text-xl); color: var(--ink); letter-spacing: .04em; line-height: 1.3; }
.form-card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 8px 0 var(--line); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-family: var(--font-jp); font-weight: 700; font-size: var(--text-sm); transition: color .2s; }
.field:focus-within label { color: var(--teal-dark); }
.req { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .6875rem; vertical-align: 2px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid rgba(36, 52, 58, .35); border-radius: 12px; background: var(--bg); font-size: 1rem; transition: border-color .25s, box-shadow .25s var(--ease), background .2s, transform .25s var(--spring); }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324343a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(31, 138, 129, .18), 0 3px 0 var(--teal); transform: translateY(-1px); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--accent); background: #fff8f5; animation: shake .4s var(--ease); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 55% { transform: translateX(4px); } 80% { transform: translateX(-2px); } }
.form-note { font-size: var(--text-xs); color: var(--muted); }
.form-note a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.form-error { font-size: var(--text-sm); font-weight: 700; color: var(--accent-dark); }
.form-alert { margin-bottom: 20px; padding: 14px 18px; border-radius: 12px; background: var(--peach); border: 1.5px solid var(--accent); color: var(--accent-dark); font-size: var(--text-sm); font-weight: 700; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-sending .spinner { display: inline-block; }
.is-sending .arrow { display: none; }
.is-sending { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Footer ===== */
.ft { background: var(--bg); }
.ft-town { color: var(--line); height: 120px; overflow: hidden; }
.ft-town svg { width: 100%; height: 120px; }
.ft-body { background: var(--line); color: #e8eef0; padding-block: 56px 28px; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.ft-brand .hd-logo-text small { color: #b9c6ca; }
.ft-brand .hd-logo img { border-color: #e8eef0; }
.ft-brand p { margin-top: 16px; font-size: var(--text-sm); color: #c9d4d7; }
.ft-group { font-size: var(--text-xs) !important; }
.ft-group a { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.ft-heading { font-family: var(--font-en); font-weight: 800; font-size: var(--text-xs); letter-spacing: .16em; color: #8fd3c9; margin-bottom: 12px; }
.ft-grid ul a { display: inline-flex; min-height: 36px; align-items: center; font-size: var(--text-sm); color: #e8eef0; transition: color .2s, transform .3s var(--ease); }
.ft-grid ul a:hover { color: #fff3c4; transform: translateX(4px); }
.ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: var(--text-xs); color: #b9c6ca; }
.ft-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Toast（送信完了：チェックマークが描かれる） ===== */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 150; transform: translate(-50%, 20px); opacity: 0; max-width: min(92vw, 560px); display: flex; align-items: center; gap: 14px; background: var(--line); color: #fff; padding: 14px 22px 14px 16px; border-radius: 18px; font-size: var(--text-sm); box-shadow: 0 10px 30px rgba(0, 0, 0, .2); transition: opacity .4s, transform .5s var(--spring); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast-check { flex-shrink: 0; width: 36px; height: 36px; }
.toast-check svg { width: 36px; height: 36px; fill: none; stroke: #8fd3c9; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.toast-check circle { stroke-dasharray: 90; stroke-dashoffset: 90; }
.toast-check path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.toast.is-visible .toast-check circle { animation: draw .7s var(--ease) .2s forwards; }
.toast.is-visible .toast-check path { animation: draw .5s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hd-nav a { padding: 0 10px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
@media (max-width: 960px) {
  :root { --hd-h: 68px; }
  .hd-cta { display: none; }
  .hd-menu { display: block; }
  .hd-pill { display: none; }
  .hd-nav { position: fixed; inset: var(--hd-h) 0 auto; margin: 0; background: var(--bg); border-bottom: 1.5px solid var(--line); padding: 12px 20px 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; box-shadow: 0 24px 40px -24px rgba(36, 52, 58, .35); }
  .admin-bar .hd-nav { top: calc(var(--hd-h) + 46px); }
  .hd-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .hd-nav ul { flex-direction: column; gap: 0; }
  .hd-nav li { opacity: 0; transform: translateY(-10px); transition: opacity .35s ease, transform .45s var(--ease); }
  .hd-nav.is-open li { opacity: 1; transform: none; }
  .hd-nav.is-open li:nth-child(1) { transition-delay: .05s; }
  .hd-nav.is-open li:nth-child(2) { transition-delay: .1s; }
  .hd-nav.is-open li:nth-child(3) { transition-delay: .15s; }
  .hd-nav.is-open li:nth-child(4) { transition-delay: .2s; }
  .hd-nav.is-open li:nth-child(5) { transition-delay: .25s; }
  .hd-nav.is-open li:nth-child(6) { transition-delay: .3s; }
  .hd-nav a { display: flex; min-height: 52px; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1rem; }
  .hd-nav a.is-active { color: var(--teal-dark); }
  .hd-nav-contact { display: block; padding-top: 16px; }
  .hd-nav-contact a { justify-content: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--accent); color: #fff; box-shadow: 0 3px 0 var(--line); }
  .hd-nav-contact a:hover { background: var(--accent-dark); }
  .hd-nav-contact .arrow { width: 18px; height: 18px; margin-left: 10px; }
  .hd { background: rgba(251, 248, 241, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--border); }
  .hd.is-scrolled .hd-progress, .hd-progress { opacity: 1; }

  .hero { min-height: 0; padding-bottom: 72px; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding-block: 32px 8px; }
  .hero-city { width: 112%; margin-left: -6%; }
  .hero-badge { left: auto; right: 2%; bottom: 2%; }
  .concept-grid, .system-grid, .values-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; }
  .concept-grid .concept-photo { order: -1; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .keywords { grid-template-columns: 1fr; gap: 0; }
  .keyword, .keyword:hover { padding: 20px 0 18px; }
  .keyword + .keyword { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); }
  .keyword-icon { width: 52px; height: 52px; }
  .keyword-icon svg { width: 30px; height: 30px; }
  .svc-body { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-steps li:nth-child(2)::after { display: none; }
  .svc-photo { box-shadow: -6px 6px 0 var(--lemon); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap, .hero-inner { width: calc(100% - 40px); }
  .sp { display: inline; }
  .hero-title { font-size: clamp(2.125rem, 9.6vw, 3rem); }
  .hero-lead { font-size: 1.0625rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-city { width: 128%; margin-left: -14%; }
  .hero-badge { padding: 10px 14px; border-radius: 16px; }
  .hero-badge-num strong { font-size: 1.5rem; }
  .scroll-cue { display: none; }
  .sec-title { font-size: clamp(1.625rem, 7vw, 2rem); }
  .svc .disc-btn { padding: 12px 14px 12px 12px; gap: 12px; min-height: 84px; }
  .svc-thumb { width: 84px; border-radius: 12px; }
  .svc-name { font-size: 1rem; }
  .num { font-size: 1.25rem; }
  .svc-body { padding: 0 14px; gap: 16px; }
  .disc-panel.is-open > .svc-body { padding: 0 14px 20px; }
  .reason .disc-btn { padding: 14px 14px; gap: 12px; min-height: 68px; }
  .reason-num { width: 38px; height: 38px; font-size: .9375rem; }
  .reason-name { font-size: 1rem; }
  .reason-body { padding-inline: 14px; }
  .disc-panel.is-open > .reason-body { padding-bottom: 18px; }
  .flow-btn { padding: 14px 16px; }
  .flow-steps { grid-template-columns: 1fr; padding: 4px 14px 0; }
  .flow-steps li:not(:last-child)::after { right: auto; top: auto; left: 50%; bottom: -13px; margin: 0 0 0 -5px; transform: rotate(135deg); }
  .flow-note { padding: 14px 14px 18px; }
  .faq-item .disc-btn { padding: 12px 14px; }
  .faq-text { font-size: var(--text-sm); }
  .faq-item .disc-inner p { padding: 0 14px 18px 14px; }
  .faq-item .disc-inner p::before { display: none; }
  .disc-icon { width: 36px; height: 36px; }
  .group-roles li { grid-template-columns: 1fr; gap: 4px; }
  .company-box { padding: 4px 14px 12px; }
  .company-list > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 2px; }
  .field-grid { grid-template-columns: 1fr; }
  .concept-photo, .system-photo { box-shadow: 6px 6px 0 var(--mint-2); }
  .values-photo { box-shadow: 0 6px 0 var(--mint-2); }
  .ft-grid { grid-template-columns: 1fr; gap: 24px; }
  .ticker i { margin-inline: 12px; }
  .toast { bottom: 16px; }
}

/* 「視差効果を減らす」等の設定がオンの端末：既存の個別規則（下記）に加え、ファイル末尾の共通規則でフェードを含む動きをすべて停止する（2026-11-09） */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; filter: none; transition: opacity .9s ease; transition-delay: calc(var(--i, 0) * .1s); }
  .js .hero-title .line > span { transform: none; opacity: 0; }
  .is-ready .hero-title .line > span { opacity: 1; transition: opacity .9s ease; }
  .js .hero-eyebrow, .js .hero-lead, .js .hero-actions, .js .hero-badge { transform: none; }
  .js .city .ground, .js .city .pop { transform: none; }
  .city-go .city .pop { animation-name: fadeOnly; animation-duration: .8s; }
  .js .clip.reveal img { clip-path: none; transform: none; opacity: 0; transition: opacity 1s ease; }
  .js .clip.reveal.is-in img { opacity: 1; }
  .disc-panel .svc-photo img { clip-path: none; transform: none; }
  .odo-d { transition: none; }
  .hero-sky i, .contact-deco, .tap-hint::before { animation: none; }
  .btn::after { display: none; }
  .disc-panel { transition: none; }
  .disc-panel > .disc-inner { transition: none; }
  .hd-nav li { transition: opacity .3s; transform: none; }
  .city .car-x, .city .car-x2 { animation: none; opacity: 1; }
  .city .flag path, .city .beacon, .city .link, .city .node, .city .cloud, .city .blimp, .ticker-track, .scroll-cue-line { animation: none; }
}
@keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
 * 2026-11-09 追加（ビルド home-2026-11-09-content-motion）
 * - 追加2事業の行表示、表示演出の整理、選択モーションのうち該当部品があるものだけ
 * - 時間は 150 / 240 / 400ms の3段階、配色は既存の変数のみ使用
 * ========================================================= */
:root { --t-fast: 150ms; --t-base: 240ms; --t-slow: 400ms; --ease-in: cubic-bezier(.4, 0, 1, 1); }

/* 表示演出の整理：見出し・イラスト・事業3項目だけを表示演出の対象にし、本文・小見出し・一覧は最初から表示 */
.js .reveal:not(.sec-title):not(.clip):not(.svc) { opacity: 1; transform: none; filter: none; transition: none; }
/* Stagger In：事業3項目は 60ms ずつずらして表示 */
.js .svc.reveal { transition-delay: calc(var(--i, 0) * 60ms); }

/* 催事コンテンツと法人携帯（罫線で区切った短い行。開閉しなくても読める） */
.svc-extra { margin-top: 32px; padding-top: 22px; border-top: 1.5px solid var(--line); }
.svc-extra-title { font-size: var(--text-lg); }
.svc-extra-list { margin-top: 6px; }
.svc-extra-row { display: grid; grid-template-columns: minmax(0, 19em) minmax(0, 1fr); gap: 6px 32px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.svc-extra-row dt { font-family: var(--font-jp); font-weight: 700; font-size: var(--text-base); line-height: 1.6; }
.svc-extra-row dd { font-size: var(--text-sm); line-height: 1.85; }
.svc-extra .text-link { margin-top: 10px; }
.svc-extra + .flow { margin-top: 32px; }
@media (max-width: 760px) { .svc-extra-row { grid-template-columns: 1fr; padding: 14px 0; } }

/* Press：開閉ボタンを押した瞬間にアイコンが沈む（rotate と干渉しないよう scale プロパティで） */
.disc-icon { transition: background .3s var(--ease), transform .4s var(--spring), scale var(--t-fast) var(--ease); }
.disc-btn:active .disc-icon { scale: .9; }

/* Numbered Steps（既存の説明用 4 段）：FLOW を開いたときに番号付きの段が順に入る。進捗・完了の表示はしない */
.flow-steps li { transition: opacity var(--t-base) var(--ease), transform var(--t-slow) var(--ease); }
.disc-panel:not(.is-open) .flow-steps li { opacity: 0; transform: translateY(8px); }
.disc-panel.is-open .flow-steps li:nth-child(1) { transition-delay: 120ms; }
.disc-panel.is-open .flow-steps li:nth-child(2) { transition-delay: 180ms; }
.disc-panel.is-open .flow-steps li:nth-child(3) { transition-delay: 240ms; }
.disc-panel.is-open .flow-steps li:nth-child(4) { transition-delay: 300ms; }

/* Skeleton：画像の読み込みが終わるまでイラスト枠に淡い帯を流す（読み込み完了・失敗で外す） */
.is-img-loading { position: relative; }
.is-img-loading::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #f1ead9 25%, #faf6ec 50%, #f1ead9 75%); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Floating Label：空欄のときは見出しを入力欄の中に置き、入力・フォーカスで元の位置（欄の上）へ戻す。文字は縮小しない */
.field.fl > label { position: relative; z-index: 2; justify-self: start; transform-origin: left top; transition: transform var(--t-base) var(--ease), color .2s; pointer-events: none; }
.field.fl.fl-rest > label { transform: translate(17px, var(--fl-dy, 45px)); color: var(--muted); }
.field.fl.fl-rest > input::placeholder, .field.fl.fl-rest > textarea::placeholder { color: transparent; }
.field.fl > input::placeholder, .field.fl > textarea::placeholder { transition: color var(--t-fast); }

/* Live Validation：送信前の入力中に、既存の検証と同じ条件（必須・メール形式）で結果を表示 */
/* 背景の補間は色だけに限定（✓印の位置・大きさが横滑りしないように） */
.field input, .field select, .field textarea { transition: border-color .25s, box-shadow .25s var(--ease), background-color .2s, transform .25s var(--spring); }
.field .live-ng { border-color: var(--accent); background-color: #fff8f5; }
.field .live-ok { border-color: var(--teal); }
.field input.live-ok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23176c65' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.live-msg { display: grid; grid-template-rows: 0fr; margin-top: -8px; opacity: 0; font-size: var(--text-xs); font-weight: 700; color: var(--accent-dark); line-height: 1.6; transition: grid-template-rows var(--t-base) var(--ease), opacity var(--t-fast), margin-top var(--t-base) var(--ease); }
.live-msg > span { min-height: 0; overflow: hidden; }
.live-msg.show { grid-template-rows: 1fr; margin-top: -2px; opacity: 1; }

/* Auto Grow：お問い合わせ内容の欄が入力量に合わせて伸びる（文字数の上限は設けていないため件数表示はしない） */
.field textarea.grow { overflow: hidden; resize: none; transition: border-color .25s, box-shadow .25s var(--ease), background-color .2s, transform .25s var(--spring), height var(--t-fast) var(--ease); }

/* Load & Fail（送信ボタン）
   - 送信中：ボタンが丸く縮んでスピナーを表示。カード内を薄く覆い「送信しています」を表示（入力欄は inert で操作停止）
   - 入力不足：ボタンが丸く縮んで × と揺れ → 約 0.9 秒で元に戻る
   - ボタンの文字は画面上は隠すが、読み上げ用に残す（高さは変えないため、上下の位置はずれない） */
.form-card { position: relative; }
.form-overlay { position: absolute; inset: 0; z-index: 4; border-radius: inherit; background: rgba(255, 255, 255, .66); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity var(--t-base) var(--ease); }
.form-overlay.is-on { opacity: 1; pointer-events: auto; }
.form-overlay-text { font-family: var(--font-jp); font-weight: 700; font-size: var(--text-base); color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 20px; }
.form-card [data-submit] { z-index: 5; width: 100%; justify-self: center; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--spring), box-shadow .25s var(--ease), width var(--t-base) var(--ease), padding var(--t-base) var(--ease), gap var(--t-base) var(--ease); }
.form-card [data-submit].is-sending, .form-card [data-submit].is-fail { width: 52px; padding: 0; gap: 0; }
.form-card [data-submit].is-sending .btn-label, .form-card [data-submit].is-fail .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-card [data-submit].is-sending { opacity: 1; }
.btn-x { display: none; width: 20px; height: 20px; }
.btn.is-fail { background: var(--line); animation: shake .4s var(--ease); }
.btn.is-fail .btn-x { display: block; }
.btn.is-fail .arrow, .btn.is-fail .spinner { display: none; }
.btn[data-submit]:disabled { cursor: default; }

/* Toast：残り時間を小さな輪で表示（既存の完了トーストの中に追加） */
.toast-life { flex-shrink: 0; width: 22px; height: 22px; margin-left: 4px; }
.toast-life circle { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 2.5; }
.toast-life circle.p { stroke: #8fd3c9; stroke-dasharray: 56.5; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: center; }
.toast.is-visible .toast-life circle.p { animation: toastLife var(--life, 7s) linear forwards; }
@keyframes toastLife { to { stroke-dashoffset: 56.5; } }

/* 「視差効果を減らす」設定：今回の追加分も含め、動き（アニメーション・移動・スムーズスクロール）をすべて止める */
@media (prefers-reduced-motion: reduce) {
  body.sity-home *, body.sity-home *::before, body.sity-home *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .is-img-loading::before { animation: none; }
  .toast-life { display: none; }
}

/* ---------- 2026-11-09 判読性と狭い画面の調整 ----------
   小さな文字にだけ既存パレットの濃色（--teal-dark / --accent-dark）を使う。ロゴ・イラストの色は変えない。 */
.eyebrow, .hero-eyebrow, .flow-btn-en, .faq-en { color: var(--teal-dark); }
.btn--accent, .tag, .req, .hd-nav-contact a, .reason:nth-child(2) .reason-num { background: var(--accent-dark); }
.btn--accent:hover, .hd-nav-contact a:hover { background: #a03619; }
.faq-item .disc-inner p::before { color: var(--accent-dark); }

/* 320px 前後で事業見出しの最小幅が画面幅を超えないように */
.svc-list > .svc, .svc-head, .svc .disc-btn { min-width: 0; }
.svc-meta { flex-wrap: wrap; row-gap: 4px; }
.svc-name { overflow-wrap: anywhere; }
@media (max-width: 360px) {
  .svc .disc-btn { gap: 10px; padding-inline: 10px 12px; }
  .svc-thumb { width: 64px; }
  .tag { letter-spacing: .08em; padding: 3px 9px; }
}
