@charset "UTF-8";
/* =========================================================
   嘉久治商事株式会社 — Corporate site
   Navy base / white / vermilion accent
   Serif display: Shippori Mincho (subset, self-hosted)
   Body/UI: system sans  |  Labels: system mono
   外部CSS・軽量・design-d 忠実再現
   ========================================================= */

/* ---- Self-hosted subset serif (only web font on the site) ---- */
@font-face {
  /* 見出し(LCP)用の極小字体。preload して即時描画 */
  font-family: 'Shippori Mincho Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/shippori-mincho-display.woff2') format('woff2');
  size-adjust: 100%;
  ascent-override: 88%;
  descent-override: 12%;
}
@font-face {
  font-family: 'Shippori Mincho';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/shippori-mincho-subset.woff2') format('woff2');
  /* fallback メトリクス近似で CLS を抑制 */
  size-adjust: 100%;
  ascent-override: 88%;
  descent-override: 12%;
}

:root {
  --bg: #fafaf7;
  --fg: #0a1226;
  --fg-soft: #40486a;
  --ink: #050913;
  --navy: #0b1530;
  --navy-deep: #05081a;
  --accent: #c8382d;       /* vermilion */
  --accent-dark: #991f19;
  --line-soft: rgba(10, 18, 38, 0.12);
  --line-faint: rgba(10, 18, 38, 0.07);
  --serif: 'Shippori Mincho Display', 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
  --sans: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'YuGothic', 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Consolas', monospace;
  --maxw: 1600px;
  --maxw-narrow: 1100px;
  --pad: 40px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.85;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* 本文テキスト中のリンクは下線で識別可能に（色のみに依存しない / WCAG） */
main p a:not(.btn):not(.biz-more) { text-decoration: underline; text-underline-offset: 3px; }
.contact-meta .val a { text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }

/* ---- A11y utilities ---- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: 4px; font-size: 13px; transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.mono { font-family: var(--mono); font-weight: 500; }
.accent-text { color: var(--accent); }
.serif-em { font-family: var(--serif); font-style: italic; color: var(--accent); }

/* ================ HEADER ================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad);
  background: rgba(250, 250, 247, 0.96);
  color: var(--fg);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: saturate(180%) blur(8px);
  transition: background .35s ease, color .35s ease, border-color .35s ease, padding .35s ease;
}
.logo { display: inline-flex; align-items: center; }
.logo-img { display: block; height: 30px; width: auto; transition: filter .35s ease; }

.gnav { display: flex; align-items: center; gap: 30px; }
.gnav-list { display: flex; gap: 26px; }
.gnav-list a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; position: relative; padding: 4px 0; font-weight: 500;
}
.gnav-list a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--accent); transition: width .3s;
}
.gnav-list a:hover::after, .gnav-list a[aria-current="page"]::after { width: 100%; }
.gnav-list a[aria-current="page"] { color: var(--accent); }
.hdr-tel {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; font-weight: 600;
}
.hdr-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border: 1px solid currentColor; border-radius: 100px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.hdr-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Home: 透過ヘッダ（ヒーロー上は白文字）→ スクロールでソリッド */
.page-home .site-header {
  background: transparent; color: #fff; border-color: transparent; backdrop-filter: none;
}
/* ヒーロー（紺）上では黒ロゴを白へ反転 */
.page-home .site-header .logo-img { filter: brightness(0) invert(1); }
.page-home .site-header.is-scrolled {
  background: rgba(250, 250, 247, 0.96); color: var(--fg);
  border-color: var(--line-soft); backdrop-filter: saturate(180%) blur(8px);
}
.page-home .site-header.is-scrolled .logo-img { filter: none; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; width: 30px; height: 22px;
  background: none; border: 0; padding: 0; cursor: pointer; justify-content: center;
}
.hamburger span { display: block; height: 1.5px; width: 100%; background: currentColor; transition: transform .3s, opacity .3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.mnav {
  position: fixed; inset: 0; z-index: 99; background: var(--navy-deep); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 80px var(--pad) 40px;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.19,1,.22,1);
  visibility: hidden;
}
.mnav.is-open { transform: translateX(0); visibility: visible; }
.mnav-list { display: flex; flex-direction: column; gap: 4px; }
.mnav-list a {
  display: flex; align-items: baseline; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1); font-family: var(--serif); font-size: 26px;
}
.mnav-list a .en { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: #ef7468; text-transform: uppercase; }
.mnav-foot { margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.mnav-foot a { color: #fff; }

/* ================ BUTTONS ================ */
.btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 40px; border-radius: 100px; border: 1px solid var(--fg);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: background .35s, color .35s, border-color .35s, transform .2s;
}
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--light { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy-deep); border-color: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 22px 48px; }

/* ================ HERO (home) ================ */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh; width: 100%;
  overflow: hidden; color: #fff; background: var(--navy-deep);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 120px var(--pad) 90px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 28% 18%, #2a3550 0%, transparent 55%),
    radial-gradient(ellipse 70% 70% at 80% 80%, #1a2440 0%, transparent 50%),
    linear-gradient(180deg, #0a0f1e 0%, #05070f 100%);
}
.hero-bg::before {
  /* 建築的な細線オーバーレイ（軽量・CSSのみ） */
  content: ''; position: absolute; inset: 0; opacity: 0.5;
  background:
    linear-gradient(115deg, transparent 49.9%, rgba(255,255,255,0.06) 50%, transparent 50.1%),
    linear-gradient(255deg, transparent 49.9%, rgba(255,255,255,0.05) 50%, transparent 50.1%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 4px);
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5,9,25,0.45) 0%, rgba(5,9,25,0.2) 40%, rgba(5,9,25,0.78) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 1200px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); margin-bottom: 34px;
}
.line-short { width: 40px; height: 1px; background: var(--accent); display: inline-block; }
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(48px, 9.5vw, 165px); line-height: 0.98; letter-spacing: 0.02em; margin: 0;
}
.hero-title .ln { display: block; white-space: nowrap; }
.hero-title .ln.accent { color: var(--accent); }
.hero-sub {
  margin: 38px auto 0; max-width: 560px;
  font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.95;
  color: rgba(255,255,255,0.78);
}
.hero-ticker {
  position: absolute; left: 0; right: 0; bottom: 58px; z-index: 3;
  border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 12px 0; overflow: hidden;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.15em; color: rgba(255,255,255,0.42);
}
.marquee { display: inline-block; white-space: nowrap; animation: marquee 48s linear infinite; }
.marquee > span { padding-right: 2em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-scroll {
  position: absolute; left: var(--pad); bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: rgba(255,255,255,0.6);
}
.hero-scroll .cue { width: 40px; height: 1px; background: rgba(255,255,255,0.5); transform-origin: left; animation: cue 2s infinite; }
@keyframes cue { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(0.3); } }
.hero-coords {
  position: absolute; right: 18px; top: 50%; z-index: 3;
  transform: translateY(-50%) rotate(90deg); transform-origin: right center;
  display: flex; gap: 22px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.25em; color: rgba(255,255,255,0.5);
}

/* ================ PAGE HERO (inner) ================ */
.page-hero {
  position: relative; padding: 160px var(--pad) 70px; background: var(--navy-deep); color: #fff; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 75% 10%, #1c2748 0%, transparent 55%), linear-gradient(180deg, #0a1024 0%, #05081a 100%);
}
.page-hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 22px;
}
.page-hero h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 6vw, 84px); line-height: 1.1; letter-spacing: 0.02em;
}
.page-hero .lead {
  margin-top: 24px; max-width: 62ch; font-family: var(--serif); font-size: 17px; line-height: 1.95; color: rgba(255,255,255,0.78);
}

/* ================ BREADCRUMB ================ */
.breadcrumb { background: var(--bg); border-bottom: 1px solid var(--line-faint); }
.breadcrumb ol {
  max-width: var(--maxw); margin: 0 auto; padding: 14px var(--pad);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-soft);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--line-soft); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--fg); }

/* ================ SECTION GENERIC ================ */
.section { position: relative; padding: 130px var(--pad); max-width: var(--maxw); margin: 0 auto; }
.section--tight { padding: 90px var(--pad); }
.section-head { margin-bottom: 70px; }
.section-head.center { text-align: center; }
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--fg-soft); margin-bottom: 26px;
}
.section-label.light { color: rgba(255,255,255,0.72); }
.bar { width: 36px; height: 1px; background: var(--accent); display: inline-block; }
.section-title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 80px);
  line-height: 1.2; letter-spacing: 0.01em; max-width: 24ch;
}
.section-title.light { color: #fff; }
.section-lede {
  font-family: var(--serif); font-size: 17px; line-height: 1.95; color: var(--fg-soft);
  margin-top: 30px; max-width: 60ch;
}
.section-lede.light { color: rgba(255,255,255,0.78); }

/* ================ CONCEPT (home) ================ */
.concept { background: var(--bg); }
.concept-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.concept-pin { position: sticky; top: 14vh; height: 68vh; display: flex; align-items: flex-start; justify-content: center; }
.concept-kanji-stack { display: flex; flex-direction: column; align-items: flex-start; }
.concept-kanji {
  font-family: var(--serif); font-weight: 500; line-height: 0.8; color: var(--ink);
  font-size: clamp(100px, 15vw, 240px);
}
.concept-kanji.accent { color: var(--accent); margin-left: 38%; margin-top: -0.28em; }
.concept-body { display: flex; flex-direction: column; gap: 46px; padding: 4vh 0 14vh; }
.concept-line { border-left: 1px solid var(--accent); padding-left: 24px; }
.concept-line .jp {
  font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 44px); line-height: 1.35; margin-bottom: 12px;
  white-space: nowrap; /* 2カラム時に最長行を1行へ */
}
.concept-line .en { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; font-style: italic; color: var(--fg-soft); }

/* ================ BUSINESS ================ */
.business { background: var(--bg); }
.biz-grid { display: grid; gap: 40px; grid-template-columns: repeat(4, 1fr); }
.biz-grid--2 { grid-template-columns: repeat(2, 1fr); }
.biz-grid--3 { grid-template-columns: repeat(3, 1fr); }
.biz-card { display: flex; flex-direction: column; gap: 18px; }
a.biz-card { color: inherit; }
.biz-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px;
  transition: filter .5s;
}
.biz-photo.g-a { background: radial-gradient(ellipse at 30% 20%, #2a3550 0%, #0a0f1e 60%, #05070f 100%); }
.biz-photo.g-b { background: radial-gradient(ellipse at 70% 80%, #3a1f14 0%, #14090a 60%, #07030a 100%); }
.biz-photo.g-c { background: radial-gradient(ellipse at 50% 30%, #3b4a5e 0%, #141b26 50%, #080a10 100%); }
.biz-photo.g-d { background: radial-gradient(ellipse at 40% 60%, #7a1a1a 0%, #2a0b0d 60%, #0a0305 100%); }
.biz-photo.g-e { background: linear-gradient(135deg, #1a1f2b 0%, #050810 60%, #0a0d18 100%); }
.biz-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz-photo::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.5) 100%);
}
.biz-photo .ph-label {
  position: absolute; top: 12px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; color: rgba(255,255,255,0.55); text-transform: uppercase;
}
.biz-photo .biz-illust { position: absolute; bottom: 18px; right: 18px; z-index: 2; color: rgba(255,255,255,0.85); transition: transform .5s; }
.biz-card:hover .biz-photo { filter: brightness(1.12); }
.biz-card:hover .biz-illust { transform: scale(1.08) rotate(-6deg); }
.biz-meta { display: flex; flex-direction: column; gap: 5px; }
.biz-num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--fg-soft); }
.biz-jp { font-family: var(--serif); font-weight: 500; font-size: 30px; margin-top: 4px; }
.biz-en { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 8px; }
.biz-desc { font-size: 14px; line-height: 1.85; color: var(--fg-soft); }
.biz-specs {
  display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line-soft); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--fg-soft);
}
.biz-specs li { display: flex; align-items: center; gap: 10px; }
.spec-tick { width: 8px; height: 1px; background: var(--accent); flex-shrink: 0; }
.biz-more { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; color: var(--accent); margin-top: 6px; display: inline-flex; gap: 8px; }

/* ================ PHILOSOPHY (dark) ================ */
.philosophy { position: relative; padding: 160px var(--pad); color: #fff; overflow: hidden; background: var(--navy-deep); }
.philosophy::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, #16203c 0%, transparent 60%), linear-gradient(180deg, #070b1c 0%, #05081a 100%);
}
.philo-inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.philo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 80px; }
.philo-card {
  position: relative; padding: 38px 30px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1);
  transition: transform .5s, background .5s, border-color .5s;
}
.philo-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.045); border-color: var(--accent); }
.philo-num { font-family: var(--serif); font-weight: 500; font-size: 84px; line-height: 1; color: var(--accent); margin-bottom: 26px; }
.philo-illust { color: rgba(255,255,255,0.9); margin-bottom: 26px; }
.philo-jp { font-family: var(--serif); font-weight: 500; font-size: 30px; }
.philo-en { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: rgba(255,255,255,0.72); margin-top: 4px; }
.philo-rule { width: 40px; height: 1px; background: var(--accent); margin: 18px 0; }
.philo-desc { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.72); }

/* ================ PROCESS ================ */
.process { background: var(--bg); }
.process-list { display: flex; flex-direction: column; }
.process-row {
  display: grid; grid-template-columns: 160px 1fr 120px; gap: 50px; align-items: center;
  padding: 46px 0; border-top: 1px solid var(--line-soft);
}
.process-row:last-child { border-bottom: 1px solid var(--line-soft); }
.process-num { font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 9vw, 116px); line-height: 1; color: var(--ink); transition: color .35s; }
.process-row:hover .process-num { color: var(--accent); }
.process-jp { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 38px); }
.process-en { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--accent); margin-top: 6px; }
.process-desc { font-size: 15px; line-height: 1.9; color: var(--fg-soft); margin-top: 10px; max-width: 52ch; }
.process-deco { color: var(--fg-soft); opacity: 0.4; justify-self: end; }

/* ================ HOME CTA band ================ */
.cta-band { position: relative; background: var(--accent); color: #fff; padding: 100px var(--pad); text-align: center; overflow: hidden; }
.cta-band h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 5vw, 64px); line-height: 1.2; }
.cta-band p { margin: 22px auto 40px; max-width: 56ch; color: rgba(255,255,255,0.95); font-size: 15px; }
.cta-band .btn--light { border-color: rgba(255,255,255,0.6); }

/* ================ COMPANY ================ */
.company { background: var(--bg); }
.company-grid { display: grid; grid-template-columns: 1.05fr 1.2fr; gap: 90px; align-items: start; }
.company-visual {
  aspect-ratio: 4 / 3; border-radius: 2px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1a1f2b 0%, #050810 60%, #0a0d18 100%); margin-top: 40px;
}
.company-visual-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.company-visual::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 32%), radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.22) 100%); }
.company-visual .ph-label { position: absolute; top: 14px; left: 16px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; color: rgba(255,255,255,0.8); }
.def-table { width: 100%; }
.def-row { display: grid; grid-template-columns: 150px 1fr; gap: 40px; padding: 22px 0; border-top: 1px solid var(--line-soft); }
.def-row:last-child { border-bottom: 1px solid var(--line-soft); }
.def-row dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-soft); }
.def-row dd { font-family: var(--serif); font-size: 17px; line-height: 1.7; margin: 0; }
.def-row dd a:hover { color: var(--accent); }

/* ================ PROSE (privacy 等) ================ */
.prose { max-width: 800px; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 50px 0 18px; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin: 32px 0 12px; }
.prose p { margin: 14px 0; font-size: 15px; line-height: 1.95; }
.prose ul.disc { list-style: disc; padding-left: 1.4em; margin: 14px 0; }
.prose ul.disc li { margin: 6px 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ================ FAQ ================ */
.faq-group { max-width: 900px; margin: 0 auto; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group-title {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 0 0 4px; padding-left: 44px; position: relative;
}
.faq-group-title::before {
  content: ''; position: absolute; left: 0; top: 0.55em; width: 28px; height: 1px; background: var(--accent);
}
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 44px; position: relative;
  font-family: var(--serif); font-size: clamp(17px, 2.2vw, 21px); line-height: 1.6; font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: 'Q'; position: absolute; left: 0; top: 26px; color: var(--accent);
  font-family: var(--mono); font-weight: 600; font-size: 16px;
}
.faq-item summary::after {
  content: ''; position: absolute; right: 8px; top: 34px; width: 12px; height: 12px;
  border-right: 1.5px solid var(--fg-soft); border-bottom: 1.5px solid var(--fg-soft);
  transform: rotate(45deg); transition: transform .3s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-answer { padding: 0 48px 28px 44px; position: relative; }
.faq-answer::before { content: 'A'; position: absolute; left: 0; top: 0; color: var(--fg-soft); font-family: var(--mono); font-weight: 600; font-size: 16px; }
.faq-answer p { font-size: 15px; line-height: 1.95; color: var(--fg-soft); }

/* ================ NEWS ================ */
.news-list { max-width: 940px; margin: 0 auto; border-top: 1px solid var(--line-soft); }
.news-item {
  display: grid; grid-template-columns: 130px 110px 1fr; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line-soft);
}
.news-date { font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; color: var(--fg-soft); }
.news-cat { justify-self: start; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; padding: 4px 12px; border: 1px solid var(--line-soft); border-radius: 100px; color: var(--accent); }
.news-title { font-size: 15px; line-height: 1.7; }

/* ================ COLUMN (コラム一覧) ================ */
.col-list { max-width: 940px; margin: 0 auto; border-top: 1px solid var(--line-soft); }
.col-card { border-bottom: 1px solid var(--line-soft); }
.col-card-link { display: block; padding: 34px 0; transition: opacity .25s; }
.col-card-link:hover { opacity: 0.78; }
.col-card-link:hover .col-card-title { color: var(--accent); }
.col-card-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.col-date { font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; color: var(--fg-soft); }
.col-cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; padding: 4px 12px; border: 1px solid var(--line-soft); border-radius: 100px; color: var(--accent); }
.col-card-title { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.5; margin: 0 0 10px; transition: color .25s; }
.col-card-desc { font-size: 14px; line-height: 1.9; color: var(--fg-soft); }
.col-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent); }
.col-more .arrow { transition: transform .25s; }
.col-card-link:hover .col-more .arrow { transform: translateX(4px); }
.col-glossary-link { max-width: 940px; margin: 44px auto 0; font-size: 14px; color: var(--fg-soft); }
.col-glossary-link a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ================ ARTICLE (コラム・用語 詳細の本文枠) ================ */
.article-body { margin: 0 auto; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-soft); }
.article-byline .article-cat { padding: 3px 10px; border: 1px solid var(--line-soft); border-radius: 100px; color: var(--accent); letter-spacing: 0.12em; }
.gloss-reading { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-soft); margin: 0 0 6px; }
.article-foot { max-width: 800px; margin: 56px auto 0; padding-top: 36px; border-top: 1px solid var(--line-soft); }
.article-foot-title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 14px; }
.rel-terms { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 32px; }
.rel-terms a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line-soft); border-radius: 100px; font-size: 13px; transition: border-color .25s, color .25s; }
.rel-terms a:hover { border-color: var(--accent); color: var(--accent); }
.article-cta { margin: 0 0 28px; }
.article-back { font-size: 14px; }
.article-back a { color: var(--fg-soft); transition: color .25s; }
.article-back a:hover { color: var(--accent); }

/* ================ GLOSSARY (用語集一覧) ================ */
.gloss-wrap { max-width: 980px; margin: 0 auto; }
.gloss-group + .gloss-group { margin-top: 56px; }
.gloss-group-title { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 18px; padding-left: 44px; position: relative; }
.gloss-group-title::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 28px; height: 1px; background: var(--accent); }
.gloss-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 32px; border-top: 1px solid var(--line-soft); }
.gloss-item { display: block; padding: 22px 0; border-bottom: 1px solid var(--line-soft); transition: opacity .25s; }
.gloss-item:hover { opacity: 0.78; }
.gloss-term { display: block; font-family: var(--serif); font-weight: 500; font-size: 18px; margin-bottom: 6px; transition: color .25s; }
.gloss-item:hover .gloss-term { color: var(--accent); }
.gloss-short { display: block; font-size: 13px; line-height: 1.8; color: var(--fg-soft); }

/* ================ CONTACT FORM ================ */
.form-wrap { max-width: 820px; margin: 0 auto; }
.form-note { font-size: 14px; line-height: 1.9; color: var(--fg-soft); margin-bottom: 40px; }
.form-field { margin-bottom: 30px; }
.form-field > label, .form-legend {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.03em;
}
.req, .opt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 3px; }
.req { background: var(--accent); color: #fff; }
.opt { background: var(--line-soft); color: var(--fg-soft); }
.form-control {
  width: 100%; padding: 14px 16px; font-size: 16px; font-family: inherit; color: var(--fg);
  background: #fff; border: 1px solid var(--line-soft); border-radius: 4px; transition: border-color .25s, box-shadow .25s;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,56,45,0.12); }
textarea.form-control { min-height: 170px; resize: vertical; line-height: 1.8; }
select.form-control { appearance: none; background-image: 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' stroke='%2340486a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-error { display: block; margin-top: 8px; color: var(--accent); font-size: 13px; }
.form-field.has-error .form-control { border-color: var(--accent); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line-soft); border-radius: 4px; padding: 18px; }
.form-consent input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent); }
.form-consent label { font-size: 14px; line-height: 1.8; }
.form-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form-actions { margin-top: 40px; text-align: center; }
.form-alert { background: #fdeceb; border: 1px solid var(--accent); color: var(--accent-dark); padding: 16px 20px; border-radius: 4px; margin-bottom: 32px; font-size: 14px; }

/* Confirm */
.confirm-table { width: 100%; border-top: 1px solid var(--line-soft); margin-bottom: 36px; }
.confirm-row { display: grid; grid-template-columns: 200px 1fr; gap: 30px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.confirm-row dt { font-size: 13px; font-weight: 700; color: var(--fg-soft); }
.confirm-row dd { margin: 0; font-size: 15px; line-height: 1.8; white-space: pre-wrap; }
.confirm-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Complete */
.complete-box { max-width: 720px; margin: 0 auto; text-align: center; }
.complete-icon { width: 76px; height: 76px; margin: 0 auto 30px; border-radius: 50%; border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.complete-box h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 44px); margin-bottom: 22px; }
.complete-box p { color: var(--fg-soft); font-size: 15px; line-height: 1.95; margin-bottom: 16px; }

/* ================ CONTACT (home / footer dark) ================ */
.contact-cta { position: relative; background: var(--navy-deep); color: #fff; padding: 150px var(--pad) 0; overflow: hidden; }
.contact-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 0%, #16203c 0%, transparent 55%); }
.contact-cta-inner { position: relative; max-width: 1400px; margin: 0 auto; padding-bottom: 110px; }
.contact-cta-title { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5.8vw, 100px); line-height: 1.1; margin: 28px 0 50px; }
.contact-cta-lede { font-family: var(--serif); font-size: 17px; line-height: 1.95; color: rgba(255,255,255,0.78); max-width: 60ch; margin-bottom: 40px; }
.contact-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.contact-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 90px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-meta .tiny { font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em; color: rgba(255,255,255,0.74); margin-bottom: 12px; text-transform: uppercase; }
.contact-meta .val { font-family: var(--serif); font-size: 16px; line-height: 1.7; }
.contact-meta .val a:hover { color: var(--accent); }

/* ================ SITEMAP page ================ */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.sitemap-col h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin-bottom: 16px; }
.sitemap-col a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line-faint); font-size: 14px; }
.sitemap-col a:hover { color: var(--accent); }

/* ================ 404 ================ */
.err-box { text-align: center; max-width: 640px; margin: 0 auto; }
.err-code { font-family: var(--serif); font-weight: 500; font-size: clamp(90px, 16vw, 200px); line-height: 1; color: var(--accent); }

/* ================ FOOTER ================ */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); }
.footer-main { max-width: var(--maxw); margin: 0 auto; padding: 80px var(--pad) 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.footer-brand .footer-logo { display: block; height: 34px; width: auto; filter: brightness(0) invert(1); margin-bottom: 4px; }
.footer-brand .fb-name { font-family: var(--serif); font-size: 20px; color: #fff; margin: 18px 0 6px; }
.footer-brand .fb-addr { font-size: 13px; line-height: 1.9; font-style: normal; }
.footer-brand .fb-addr a { color: #fff; }
.footer-col .fc-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.74); margin: 0 0 18px; font-weight: 500; }
.footer-col a { display: block; padding: 7px 0; font-size: 14px; color: rgba(255,255,255,0.8); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--pad); border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.74); }
.footer-bottom a:hover { color: #fff; }

/* ================ REVEAL (IntersectionObserver) ================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s cubic-bezier(.19,1,.22,1), transform 1.1s cubic-bezier(.19,1,.22,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee, .hero-scroll .cue { animation: none; }
}

/* JS 無効時は reveal 要素を常時表示（コンテンツが隠れないように） */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================ RESPONSIVE ================ */
@media (max-width: 1100px) {
  :root { --pad: 28px; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .philo-grid { grid-template-columns: repeat(2, 1fr); }
  .concept-stage { grid-template-columns: 1fr; gap: 40px; }
  .concept-pin { position: static; height: auto; }
  .concept-kanji-stack { flex-direction: row; gap: 30px; }
  .concept-kanji { font-size: clamp(90px, 22vw, 200px); }
  .concept-kanji.accent { margin-left: 0; }
  .concept-line .jp { white-space: normal; font-size: clamp(26px, 5.2vw, 42px); } /* 1カラムでは折返し許可 */
  .company-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .gnav-list, .hdr-tel, .hdr-cta { display: none; }
  .hamburger { display: flex; }
  .section { padding: 80px var(--pad); }
  .page-hero { padding: 120px var(--pad) 56px; }
  .process-row { grid-template-columns: 70px 1fr; gap: 22px; }
  .process-deco { display: none; }
  .contact-meta { grid-template-columns: 1fr; gap: 28px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .confirm-row { grid-template-columns: 1fr; gap: 6px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .hero-coords { display: none; }
}
@media (max-width: 520px) {
  .biz-grid, .philo-grid { grid-template-columns: 1fr; }
  .def-row { grid-template-columns: 1fr; gap: 6px; }
  .hero-ticker { bottom: 40px; }
}
