/* =========================================================
   山田空調テクノサービス株式会社
   COMECTサイトと同じ骨組み。色を「空・風」に変更
   紺（ink）× 白磁（paper）× 空色（sora）× 氷色（hyo）
   ========================================================= */
:root {
  --ink: #0b1a2b;
  --ink-2: #102539;
  --paper: #f4f6f7;
  --paper-2: #e7edf1;
  --white: #ffffff;
  --sora: #1570b3;          /* メインの色 */
  --sora-hover: #1a80c9;
  --sora-deep: #0b3a62;
  --sora-soft: #e3eff8;
  --hyo: #3fc1df;           /* 差し色（暗い背景・チェック） */
  --hyo-soft: #a6e2f1;
  --text: #182330;
  --muted: #56636f;
  --muted-on-ink: #a6b5c4;
  --rule: rgba(11, 26, 43, .14);
  --rule-on-ink: rgba(255, 255, 255, .16);

  --f-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-en: "Cormorant Garamond", "Times New Roman", serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec-pad: clamp(88px, 12vw, 168px);
  --radius: 4px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans); color: var(--text); background: var(--paper);
  line-height: 1.9; font-size: 16px; letter-spacing: .03em;
  font-feature-settings: "palt" 1; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
strong { font-weight: 700; color: var(--ink); }
h1, h2, h3, .more-title, .hero-lead, .sec-lead { word-break: auto-phrase; text-wrap: balance; }
p, li, dd, td, th { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--hyo); outline-offset: 3px; border-radius: 2px; }
svg use { fill: none; }

.nw { display: inline-block; }   /* 言葉の途中で改行させない */
.container { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---------- 共通パーツ ---------- */
.eyebrow { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-en); font-size: 22px; line-height: 1; color: var(--sora); margin-bottom: 18px; }
.eyebrow em { font-style: italic; font-weight: 500; letter-spacing: .02em; }
.eyebrow .idx { font-family: var(--f-sans); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow .idx::after { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }

.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head h2 { font-family: var(--f-mincho); font-weight: 700; color: var(--ink); font-size: clamp(28px, 4.2vw, 48px); line-height: 1.35; letter-spacing: .06em; }
.sec-lead { color: var(--muted); margin-top: 18px; max-width: 34em; }
.sec-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; }
.sec-head--split .sec-lead { margin-top: 0; justify-self: end; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .06em; text-decoration: none;
  transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sora); color: #fff; font-size: 19px; letter-spacing: .04em; box-shadow: 0 10px 30px -10px rgba(21, 112, 179, .8); }
.btn-primary:hover { background: var(--sora-hover); }
.btn-label { font-size: 11px; font-weight: 500; letter-spacing: .14em; opacity: .8; padding-right: 12px; border-right: 1px solid rgba(255,255,255,.35); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: #fff; color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 28px;
  font-weight: 700; font-size: 15px; letter-spacing: .08em; text-decoration: none; color: var(--sora);
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

.check-list { margin: 24px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.7; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--hyo); border-bottom: 2px solid var(--hyo); transform: rotate(-45deg); }

/* ---------- ヘッダー ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 84px; padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto; transition: height .4s var(--ease); }
.site-header.is-scrolled { background: rgba(244, 246, 247, .92); color: var(--ink); box-shadow: 0 1px 0 var(--rule); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header.is-scrolled .header-inner { height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-mark { width: 40px; height: 40px; flex: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s var(--ease); }
.site-header.is-scrolled .brand-mark { stroke: var(--sora); }
.menu-open .site-header .brand-mark { stroke: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-group { font-size: 10px; letter-spacing: .18em; opacity: .75; }
.brand-name { font-family: var(--f-mincho); font-size: 19px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.global-nav ul { display: flex; gap: clamp(18px, 2vw, 32px); }
.global-nav a { text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .1em; position: relative; padding: 6px 0; }
.global-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.global-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-sp-contact { display: none; }
.header-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid currentColor; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .1em; white-space: nowrap; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.header-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }
.site-header.is-scrolled .header-cta { background: var(--sora); border-color: var(--sora); color: #fff; }
.site-header.is-scrolled .header-cta:hover { background: var(--sora-hover); }
.menu-btn { display: none; width: 44px; height: 44px; flex: none; background: none; border: 0; cursor: pointer; position: relative; color: inherit; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- メインビジュアル ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.hero-media {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 78% 22%, rgba(63, 193, 223, .35) 0%, transparent 60%),
    radial-gradient(60% 50% at 10% 90%, rgba(21, 112, 179, .45) 0%, transparent 70%),
    linear-gradient(160deg, #0a1f35 0%, #0d3456 45%, #155c8f 100%);
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,26,43,.55) 0%, rgba(11,26,43,.1) 30%, rgba(11,26,43,.3) 60%, rgba(11,26,43,.92) 100%),
    linear-gradient(90deg, rgba(10,31,53,.82) 0%, rgba(13,52,86,.35) 55%, rgba(13,52,86,.6) 100%);
}
.airflow { position: absolute; inset: 0; width: 100%; height: 100%; }
.airflow path { fill: none; stroke: rgba(166, 226, 241, .28); stroke-width: 1.4; stroke-dasharray: 220 900; animation: flow 9s linear infinite; }
.airflow path:nth-child(2) { animation-delay: -1.5s; stroke: rgba(255,255,255,.18); }
.airflow path:nth-child(3) { animation-delay: -3s; }
.airflow path:nth-child(4) { animation-delay: -4.5s; stroke: rgba(255,255,255,.14); }
.airflow path:nth-child(5) { animation-delay: -6s; }
.airflow path:nth-child(6) { animation-delay: -7.5s; stroke: rgba(255,255,255,.12); }
@keyframes flow { from { stroke-dashoffset: 1120; } to { stroke-dashoffset: 0; } }
.hero-inner { width: 100%; max-width: 1600px; margin: 0 auto; padding: 120px var(--gutter) clamp(56px, 7vh, 96px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
.hero-catch {
  grid-column: 2; grid-row: 1; justify-self: end; align-self: center;
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--f-mincho); font-weight: 800;
  font-size: clamp(44px, min(7vw, 9.5vh), 112px); line-height: 1.3; letter-spacing: .14em;
  text-shadow: 0 2px 40px rgba(11, 26, 43, .35);
}
.hero-catch span { display: block; white-space: nowrap; }
.hero-catch .l2 { padding-top: 1.4em; }
.js .hero-catch span { clip-path: inset(0 0 100% 0); animation: inkDown 1.4s var(--ease) forwards; }
.js .hero-catch .l1 { animation-delay: .3s; }
.js .hero-catch .l2 { animation-delay: .75s; }
@keyframes inkDown { to { clip-path: inset(0 0 0 0); } }
.hero-side { grid-column: 1; grid-row: 1; max-width: 540px; }
.js .hero-side { opacity: 0; transform: translateY(16px); animation: fadeUp 1.2s var(--ease) 1.3s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-en { font-family: var(--f-en); font-size: 22px; color: var(--hyo-soft); margin-bottom: 18px; letter-spacing: .02em; }
.hero-en em { font-weight: 600; }
.hero-lead { font-size: clamp(15px, 1.3vw, 17px); line-height: 2; color: rgba(255,255,255,.88); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { font-size: 12px; letter-spacing: .1em; color: var(--muted-on-ink); margin-top: 16px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--f-en); font-style: italic; font-size: 14px; color: rgba(255,255,255,.7); text-decoration: none; }
.scroll-cue::after { content: ""; width: 1px; height: 48px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- 流れる帯 ---------- */
.marquee { background: var(--sora-deep); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--f-mincho); font-size: 17px; font-weight: 500; letter-spacing: .16em; white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hyo); margin-left: 56px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 導入・数字 ---------- */
.intro { padding: var(--sec-pad) 0; }
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.intro-title { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.45; letter-spacing: .08em; color: var(--ink); margin-bottom: 32px; }
.intro-text > p:last-child { color: var(--muted); max-width: 30em; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.stat { padding: 32px 0; border-bottom: 1px solid var(--rule); }
.stat:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--rule); }
.stat:nth-child(even) { padding-left: 32px; }
.stat dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--ink); }
.stat dd { font-family: var(--f-en); color: var(--sora); line-height: 1; margin: 14px 0 12px; display: flex; align-items: baseline; gap: 6px; }
.stat .n { font-size: clamp(64px, 7vw, 96px); font-weight: 500; font-style: italic; letter-spacing: -.02em; }
.stat .u { font-family: var(--f-mincho); font-size: 20px; color: var(--ink); font-weight: 700; }
.stat p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- サービス ---------- */
.service-sec { padding: var(--sec-pad) 0; background: var(--white); }
.svc-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: -24px 0 clamp(40px, 5vw, 64px); }
.svc-cats li span { display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--sora-soft); color: var(--sora-deep); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.service { display: flex; flex-direction: column; position: relative; }
.service figure.ph {
  border-radius: var(--radius); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(90% 90% at 70% 20%, #ffffff 0%, var(--sora-soft) 55%, #d3e6f3 100%);
  color: var(--sora);
}
.service figure.ph svg { width: 34%; height: 34%; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.service:hover figure.ph svg { transform: translateY(-4px) scale(1.06); }
.service figure.photo { position: relative; border-radius: var(--radius); aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.service figure.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover figure.photo img { transform: scale(1.05); }
.service figure.photo .svc-badge { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: rgba(255,255,255,.94); stroke: var(--sora); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 4px 14px -6px rgba(11,26,43,.5); }
.service.feature figure.photo { aspect-ratio: 16 / 9; }
.service.feature figure.photo .svc-badge { width: 56px; height: 56px; padding: 12px; right: 16px; bottom: 16px; }
.service .body { padding: 24px 4px 0; }
.service h3 { font-family: var(--f-mincho); font-weight: 700; font-size: 19px; line-height: 1.5; letter-spacing: .04em; color: var(--ink); margin-bottom: 10px; }
.service p { font-size: 14px; color: var(--muted); line-height: 1.85; }
.service .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--sora); border: 1px solid currentColor; padding: 2px 10px; border-radius: 999px; margin-bottom: 12px; }
.service.feature { grid-column: span 2; }
.service.feature figure.ph { aspect-ratio: 16 / 9; background: radial-gradient(80% 100% at 75% 10%, #2a8fd1 0%, var(--sora) 40%, var(--sora-deep) 100%); color: #fff; }
.service.feature figure.ph svg { width: 22%; height: 22%; stroke-width: 1.3; }
.service.feature h3 { font-size: clamp(22px, 2.2vw, 28px); }
.service.feature p { font-size: 15px; }
.service-more { grid-column: span 2; background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(28px, 3vw, 44px); justify-content: center; }
.service-more .eyebrow { color: var(--hyo-soft); }
.service-more .more-title { font-family: var(--f-mincho); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.8; letter-spacing: .06em; font-weight: 500; color: #fff; }
.service-more .link-arrow { color: #fff; align-self: flex-start; }

/* ---------- 点検義務 ---------- */
.insp-sec { padding: var(--sec-pad) 0; background: var(--paper-2); }
.insp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: start; }
.insp-media { position: sticky; top: 100px; }
.cal { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.cal-title { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--hyo-soft); margin-bottom: 24px; }
.cal-months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cal-months li {
  aspect-ratio: 1 / .78; display: grid; place-items: center; border-radius: var(--radius);
  border: 1px solid var(--rule-on-ink); font-family: var(--f-mincho); font-weight: 700; font-size: clamp(16px, 1.8vw, 22px); color: var(--muted-on-ink);
}
.cal-months li.on { background: var(--sora); border-color: var(--sora); color: #fff; position: relative; }
.cal-months li.on::after { content: "点検"; position: absolute; top: 8px; right: 10px; font-family: var(--f-sans); font-size: 10px; letter-spacing: .1em; color: var(--hyo-soft); }
.cal-note { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; color: var(--muted-on-ink); letter-spacing: .06em; }
.cal-note .dot { width: 12px; height: 12px; border-radius: 3px; background: var(--sora); }
.insp-text h2 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.45; letter-spacing: .06em; color: var(--ink); margin-bottom: 32px; }
.insp-text > p { margin-bottom: 16px; }
.freq { margin-top: 36px; }
.freq caption { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--muted); padding-bottom: 12px; }
.freq th, .freq td { padding: 16px 0; border-top: 1px solid var(--rule); font-size: 15px; text-align: left; font-weight: 700; vertical-align: baseline; color: var(--ink); }
.freq th small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: .04em; }
.freq tr:last-child th, .freq tr:last-child td { border-bottom: 1px solid var(--rule); }
.freq td { text-align: right; font-family: var(--f-mincho); color: var(--sora); white-space: nowrap; padding-left: 16px; font-size: 17px; }

/* ---------- 選ばれる理由（紺の背景） ---------- */
.reason-sec { padding: var(--sec-pad) 0; background: var(--ink); color: #fff; }
.reason-sec .sec-head h2 { color: #fff; }
.reason-sec .eyebrow { color: var(--hyo-soft); }
.reason-sec .eyebrow .idx { color: var(--muted-on-ink); }
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(32px, 4vw, 64px); row-gap: 72px; }
.reason { border-top: 1px solid var(--rule-on-ink); padding-top: 28px; }
.reason .no { font-family: var(--f-en); font-style: italic; font-size: 44px; font-weight: 500; color: var(--hyo); line-height: 1; display: block; margin-bottom: 24px; }
.reason h3 { font-family: var(--f-mincho); font-weight: 700; font-size: 22px; line-height: 1.5; letter-spacing: .06em; margin-bottom: 14px; }
.reason p { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.95; }

/* ---------- 流れ ---------- */
.flow-sec { padding: var(--sec-pad) 0; background: var(--white); }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--rule); }
.flow li { position: relative; padding-right: 8px; }
.flow .step { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1px solid var(--ink); position: relative; font-family: var(--f-en); font-style: italic; font-size: 20px; color: var(--ink); margin-bottom: 28px; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.flow li:hover .step { background: var(--sora); color: #fff; border-color: var(--sora); }
.flow h3 { font-family: var(--f-mincho); font-weight: 700; font-size: 19px; letter-spacing: .06em; color: var(--ink); margin-bottom: 10px; }
.flow p { font-size: 14px; color: var(--muted); line-height: 1.85; }

/* ---------- グループ ---------- */
.group-sec { padding: var(--sec-pad) 0; background: var(--paper-2); }
.group-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.group-card { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; }
.group-card:first-child { background: var(--white); box-shadow: inset 0 3px 0 var(--sora); }
.group-card .label { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--sora); }
.group-card h3 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(21px, 2vw, 26px); letter-spacing: .04em; color: var(--ink); margin: 12px 0 16px; }
.group-card p { color: var(--muted); font-size: 15px; }
.group-card .link-arrow { margin-top: auto; padding-top: 28px; border-bottom: 0; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

/* ---------- 会社概要 ---------- */
.company-sec { padding: var(--sec-pad) 0; }
.company { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.company .sec-head { position: sticky; top: 120px; }
.company-list { border-top: 1px solid var(--ink); }
.company-list div { display: grid; grid-template-columns: 9em 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.company-list dt { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--ink); }
.company-list dd { font-size: 15px; }
.company-list a { color: var(--sora); text-underline-offset: 4px; }
.tbd { color: var(--muted); font-size: 13px; letter-spacing: .1em; }

/* ---------- お問い合わせ ---------- */
.contact-sec { padding: var(--sec-pad) 0; color: #fff; text-align: center; position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 50% 0%, #1a6aa6 0%, var(--sora-deep) 55%, #061c30 100%); }
.contact-sec::before { content: "風"; position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--f-mincho); font-weight: 800; font-size: min(70vw, 720px); line-height: 1; color: rgba(255,255,255,.04); }
.contact .eyebrow { justify-content: center; color: var(--hyo-soft); }
.contact h2 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.5; letter-spacing: .08em; }
.tel-big { display: inline-flex; align-items: baseline; gap: 18px; margin-top: 48px; font-family: var(--f-en); font-weight: 500; font-style: italic; font-size: clamp(48px, 9vw, 112px); line-height: 1; letter-spacing: .01em; color: #fff; text-decoration: none; transition: color .35s var(--ease); }
.tel-big span { font-family: var(--f-sans); font-style: normal; font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--hyo-soft); }
.tel-big:hover { color: var(--hyo-soft); }
.contact-hours { font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.72); margin-top: 20px; }
.contact-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ---------- 下層ページ ---------- */
.page-head { background: var(--ink); color: #fff; padding: 180px 0 80px; }
.page-head .en { display: block; font-family: var(--f-en); font-style: italic; font-size: 22px; color: var(--hyo-soft); margin-bottom: 12px; }
.page-head h1 { font-family: var(--f-mincho); font-weight: 700; font-size: clamp(28px, 4vw, 44px); letter-spacing: .08em; }
.page-body { padding: clamp(64px, 8vw, 120px) 0; }
.policy { max-width: 820px; }
.policy h2 { font-family: var(--f-mincho); color: var(--ink); font-size: 20px; letter-spacing: .06em; margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--rule); }
.policy ul { margin: 10px 0 0 1.4em; list-style: disc; }
.policy-contact { margin-top: 16px; background: var(--paper-2); border-radius: var(--radius); padding: 22px 26px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-ink); padding: clamp(72px, 9vw, 120px) 0 24px; font-size: 14px; overflow: hidden; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.footer-info { display: flex; gap: 20px; align-items: flex-start; }
.footer-mark-icon { width: 56px; height: 56px; flex: none; stroke: var(--hyo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-info p + p { margin-top: 6px; }
.site-footer .fname { color: #fff; font-family: var(--f-mincho); font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.site-footer a { color: var(--muted-on-ink); text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: #fff; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
.footer-mark { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(64px, 19vw, 300px); line-height: .8; letter-spacing: .06em; text-align: center; margin-top: clamp(56px, 8vw, 104px); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); }
.copy { text-align: center; margin-top: 28px; font-size: 11px; letter-spacing: .14em; color: #6f7f92; }

/* ---------- スマホ用 固定ボタン ---------- */
.sp-fixed { display: none; }

/* ---------- スクロールで現れる ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .hero-side { opacity: 1; transform: none; }
  .js .hero-catch span { clip-path: none; }
  .marquee-track, .airflow path { animation: none; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
  .global-nav { position: fixed; inset: 0; z-index: -1; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 48px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
  .menu-open .global-nav { opacity: 1; visibility: visible; }
  .menu-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav li { border-bottom: 1px solid var(--rule-on-ink); }
  .global-nav a { display: block; padding: 18px 0; font-family: var(--f-mincho); font-size: 22px; font-weight: 700; }
  .global-nav a::after { display: none; }
  .nav-sp-contact { display: block; margin-top: 40px; }
  .nav-tel { font-family: var(--f-en); font-style: italic; font-size: 40px; text-decoration: none; }
  .nav-sp-contact p { font-size: 12px; color: var(--muted-on-ink); margin-top: 4px; }
  .menu-btn { display: block; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .group-box { grid-template-columns: 1fr 1fr; }
  .group-card:first-child { grid-column: span 2; }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow li { display: grid; grid-template-columns: 56px 1fr; column-gap: 28px; padding: 0 0 40px; }
  .flow .step { grid-row: span 2; margin: 0; }
  .flow h3 { align-self: center; margin: 0; }
  .flow p { grid-column: 2; margin-top: 6px; }
}
@media (max-width: 760px) {
  body { font-size: 15px; padding-bottom: 64px; }
  .header-inner { height: 68px; gap: 12px; }
  .header-cta { display: none; }
  .brand { gap: 10px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-group { font-size: 9px; letter-spacing: .1em; }
  .brand-name { font-size: 15px; letter-spacing: .04em; }
  .hero { align-items: stretch; }
  .hero-inner { grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: 32px; padding-top: 96px; padding-bottom: 40px; }
  .hero-catch { grid-column: 1; grid-row: 1; justify-self: end; align-self: start; font-size: clamp(40px, min(12vw, 6.4vh), 60px); }
  .hero-side { grid-row: 2; }
  .hero-cta { display: none; }   /* スマホは画面下の固定ボタンで足りる */
  .scroll-cue { display: none; }
  .sec-head--split { grid-template-columns: 1fr; }
  .sec-head--split .sec-lead { justify-self: start; }
  .intro-grid, .insp, .group-box, .company { grid-template-columns: 1fr; }
  .group-card:first-child { grid-column: auto; }
  .insp-media, .company .sec-head { position: static; }
  .reasons { grid-template-columns: 1fr; row-gap: 48px; }
  .reason { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; }
  .reason .no { grid-row: span 2; font-size: 34px; margin: 0; }
  .services { grid-template-columns: 1fr; gap: 0; }
  .service.feature, .service-more { grid-column: auto; }
  .service.feature { margin-bottom: 48px; }
  .service.feature figure.ph { aspect-ratio: 16 / 8; }
  /* 通常のサービスはアイコンを小さくした一覧にする */
  .service:not(.feature):not(.service-more) { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; align-items: start; padding: 22px 0; border-top: 1px solid var(--rule); }
  .service:not(.feature):not(.service-more) figure.ph { aspect-ratio: 1 / 1; }
  .service:not(.feature):not(.service-more) figure.ph svg { width: 54%; height: 54%; }
  .service:not(.feature):not(.service-more) figure.photo { aspect-ratio: 1 / 1; }
  .service:not(.feature):not(.service-more) figure.photo .svc-badge { display: none; }
  .service.feature figure.photo { aspect-ratio: 16 / 9; }
  .service:not(.feature):not(.service-more) .body { padding: 0; }
  .service:not(.feature):not(.service-more) h3 { font-size: 17px; margin-bottom: 6px; }
  .service:not(.feature):not(.service-more) p { font-size: 13px; line-height: 1.8; }
  .service-more { margin-top: 24px; }
  .stat:nth-child(even) { padding-left: 20px; }
  .stat:nth-child(odd) { padding-right: 16px; }
  .stat .u { font-size: 16px; }
  .company-list div { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .sp-fixed { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); }
  .sp-fixed a { padding: 16px 8px; text-align: center; color: #fff; font-weight: 700; letter-spacing: .1em; text-decoration: none; font-size: 15px; }
  .sp-fixed .t { background: var(--sora); }
  .sp-fixed .m { background: var(--sora-deep); }
}
