:root {
  --outer:#3c3b39;
  --outer-deep:#282826;
  --panel:#f1f0ed;
  --panel-2:#e8e7e3;
  --ink:#171716;
  --muted:#5b5954;
  --line:#c6c4be;
  --red:#c8452a;
  --red-text:#a3341f; /* 小さい文字用。--red は 11px 前後だと明地でコントラスト4.5に届かないため */
  --yellow:#e4a02b;
  --focus:#9b321d;
  --radius:30px;
  --font-sans:"IBM Plex Sans JP","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  --font-heading:"Zen Kaku Gothic New","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { margin:0; min-width:320px; padding:0; color:var(--ink); background:var(--panel); font-family:var(--font-sans); line-height:1.65; }
/* 以前は暗い地に角丸のカードを浮かせていたが、ブラウザの中にもう一枚画面がある
   ように見えるため、2026-08-20 に全幅表示へ変更した。地色はパネルと同色にする。 */
body::before { content:""; position:fixed; inset:0; z-index:-2; background:var(--panel); }
.ambient { display:none; }
a { color:inherit; }
img { display:block; max-width:100%; }
h1,h2,h3,p { margin-top:0; }
h1,h2,h3 { font-family:var(--font-heading); letter-spacing:-.02em; }
:focus-visible { outline:3px solid var(--focus); outline-offset:4px; }
.skip-link { position:fixed; top:10px; left:10px; z-index:100; padding:10px 14px; color:#fff; background:#111; border-radius:8px; transform:translateY(-160%); }
.skip-link:focus { transform:translateY(0); }

.site-shell { width:100%; margin:0; min-height:100vh; overflow:hidden; border:0; border-radius:0; background:var(--panel); box-shadow:none; }
.topbar { position:relative; z-index:10; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; min-height:72px; padding:0 clamp(34px,4vw,72px); background:var(--panel); box-shadow:0 10px 24px rgba(23,23,22,.1); }
.brand { display:flex; align-items:center; justify-self:start; text-decoration:none; }
.brand img { width:68px; height:auto; }
.topbar nav { display:flex; align-items:center; gap:36px; }
.topbar nav a,.nav-contact { position:relative; min-height:44px; display:inline-flex; align-items:center; color:var(--muted); font-size:.75rem; font-weight:600; text-decoration:none; }
.topbar nav a:hover,.nav-contact:hover { color:var(--ink); }
.topbar nav a[aria-current="page"] { color:var(--ink); }
.topbar nav a::after { content:""; position:absolute; right:0; bottom:7px; left:0; height:1px; background:var(--yellow); transform:scaleX(0); transform-origin:left; transition:transform .16s ease; }
.topbar nav a:hover::after { transform:scaleX(1); }
.nav-contact { justify-self:end; color:var(--ink); }
.menu-toggle,.topbar .mobile-menu { display:none; }

.hero { display:grid; grid-template-columns:1.05fr .95fr; }
.hero-copy,.hero-summary { min-height:300px; padding:70px 46px 46px; }
.hero-copy,.hero-summary { min-width:0; }
.hero-copy { position:relative; display:flex; flex-direction:column; justify-content:space-between; }
.hero-copy::after { content:""; position:absolute; top:0; right:-1px; bottom:0; width:2px; background:linear-gradient(90deg,rgba(92,88,80,.2),rgba(255,255,255,.88)); pointer-events:none; }
.index { color:var(--muted); font-size:.72rem; letter-spacing:.12em; }
.hero h1 { margin:0; max-width:560px; font-size:clamp(2.6rem,4.8vw,5.2rem); line-height:1.6; }
.hero-summary { display:flex; flex-direction:column; justify-content:flex-end; }
.hero-summary>p { max-width:390px; color:var(--muted); font-size:1rem; }
.hero-actions { display:flex; gap:14px; margin-top:24px; }
.button { display:inline-grid; min-height:48px; padding:0 22px; place-items:center; border-radius:999px; font-size:.77rem; font-weight:700; text-decoration:none; transition:transform .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease; }
.button:hover { transform:translateY(-2px); }
.button:active { transform:translateY(0); }
.button-dark { color:#fff; background:#111; border:1px solid #111; box-shadow:0 0 0 1px rgba(228,160,43,.45); }
.button-dark:hover { background:#2a2926; }
.button-gradient { color:#fff; background:#171716; border:0; box-shadow:-5px -5px 11px rgba(255,255,255,.88),6px 6px 13px rgba(92,88,80,.28); }
.button-gradient:hover { color:#fff; background:linear-gradient(100deg,#bd3d25 0%,#9b6414 100%); box-shadow:-4px -4px 9px rgba(255,255,255,.94),5px 5px 11px rgba(92,88,80,.32); }
.button-gradient:active { transform:translateY(1px); color:#fff; background:linear-gradient(100deg,#a93420 0%,#845511 100%); box-shadow:inset -3px -3px 7px rgba(255,255,255,.18),inset 4px 4px 8px rgba(41,25,10,.38); }
.button-line { color:var(--ink); background:var(--panel); border:0; box-shadow:-5px -5px 11px rgba(255,255,255,.9),6px 6px 13px rgba(92,88,80,.22); }
.button-line:hover { background:#f7f6f2; box-shadow:-4px -4px 9px rgba(255,255,255,.96),5px 5px 11px rgba(92,88,80,.27); }
.button-line:active { transform:translateY(1px); background:#eceae5; box-shadow:inset -3px -3px 7px rgba(255,255,255,.82),inset 4px 4px 8px rgba(92,88,80,.2); }
.hero-visual { position:relative; grid-column:1/-1; height:clamp(330px,45vw,570px); margin:0; overflow:hidden; border-top:0; background:var(--panel-2); }
.hero-visual img { width:100%; height:100%; object-fit:cover; object-position:center; filter:saturate(.86) contrast(.96); }
/* 画像の右下が明るいため「Human × AI」が読めなかった。左からの陰に加えて下端にも陰を敷く */
.hero-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(23,23,22,.52),transparent 38%),linear-gradient(0deg,rgba(23,23,22,.58) 0,rgba(23,23,22,.3) 92px,transparent 180px); pointer-events:none; }
/* 画像の明るい部分に重なっても読めるよう、キャプション自体に暗い面を敷く（visual-label と同じ処理） */
.hero-visual figcaption { position:absolute; z-index:1; left:46px; bottom:42px; max-width:300px; padding:10px 14px; color:#fff; background:rgba(23,23,22,.5); border-radius:14px; font-size:.86rem; line-height:1.6; }
.visual-label { position:absolute; z-index:1; right:34px; bottom:32px; padding:6px 12px; color:#fff; background:rgba(23,23,22,.55); border:1px solid rgba(255,255,255,.85); border-radius:999px; font-size:.7rem; letter-spacing:.08em; }

.content-section { display:grid; grid-template-columns:180px 1fr; border-top:1px solid var(--line); }
.section-meta { position:relative; padding:70px clamp(34px,3vw,56px); }
.section-meta::after { content:""; position:absolute; top:0; right:-1px; bottom:0; width:2px; background:linear-gradient(90deg,rgba(92,88,80,.2),rgba(255,255,255,.88)); pointer-events:none; }
.section-meta span { color:var(--red-text); font-size:.72rem; font-weight:700; }
.section-meta p { margin-top:8px; color:var(--muted); font-size:.74rem; letter-spacing:.08em; }
.section-copy { padding:70px clamp(46px,5vw,96px) 78px; }
.section-copy h2,.contact h2 { font-size:clamp(2rem,3.7vw,3.8rem); line-height:1.2; }
.about .section-copy { display:grid; grid-template-columns:1fr .78fr; gap:70px; }
.body-copy { max-width:60ch; color:var(--muted); }
.title-row { display:flex; align-items:flex-start; flex-direction:column; gap:12px; margin-bottom:42px; }
.title-row h2 { margin:0; }
.title-row>p { max-width:560px; margin:0; color:var(--muted); font-size:.83rem; }
#services-title { font-size:clamp(1.7rem,3.7vw,3.8rem); white-space:nowrap; }
.services-list { position:relative; margin:0; padding:0; list-style:none; }
.services-list::before,.services-list li::after { content:""; position:absolute; right:0; left:0; height:2px; background:linear-gradient(180deg,rgba(92,88,80,.2),rgba(255,255,255,.88)); pointer-events:none; }
.services-list::before { top:0; }
.services-list li { position:relative; display:grid; grid-template-columns:54px minmax(230px,1fr) 1fr; gap:20px; align-items:center; min-height:92px; }
.services-list li::after { bottom:0; }
.services-list li>span { color:var(--red-text); font-size:.71rem; font-weight:700; }
.services-list h3 { margin:0; font-size:1rem; }
.services-list p { margin:0; color:var(--muted); font-size:.82rem; }
.company-layout { display:grid; grid-template-columns:.8fr 1.2fr; gap:80px; }
.company-layout dl { margin:0; }
.company-layout dl>div { display:grid; grid-template-columns:120px 1fr; gap:16px; padding:19px 0; border-bottom:1px solid var(--line); }
.company-layout dt { color:var(--muted); font-size:.73rem; }
.company-layout dd { margin:0; }
.company-layout a { text-underline-offset:4px; overflow-wrap:anywhere; }
.company-layout a:hover { color:var(--red-text); }

.page-hero { display:grid; grid-template-columns:180px 1fr; min-height:300px; }
.page-hero .section-meta { border-bottom:1px solid var(--line); }
.page-hero-copy { display:flex; flex-direction:column; justify-content:flex-end; padding:70px clamp(46px,5vw,96px); border-bottom:1px solid var(--line); }
.page-hero-copy h1 { margin:0; font-size:clamp(2.8rem,5vw,5.2rem); line-height:1.08; }
.page-hero-copy p { max-width:560px; margin:24px 0 0; color:var(--muted); }
.company-page-section { min-height:430px; }
.company-back { margin-top:36px; }

/* Company page: keep the shared shell, header and footer while presenting
   corporate facts without the top-page scene treatment. */
.company-page-shell { display:flex; flex-direction:column; min-height:100vh; }
.company-simple-content { display:grid; flex:1; grid-template-columns:minmax(220px,.8fr) minmax(420px,1.2fr); gap:clamp(70px,10vw,160px); padding:clamp(76px,10vh,120px) clamp(46px,7vw,96px) 90px; }
.company-simple-title .en { margin:0 0 8px; font-family:var(--font-sans); font-size:clamp(1.5rem,2.5vw,2rem); font-weight:500; letter-spacing:.2em; line-height:1.2; }
.company-simple-title h1 { margin:0; font-family:var(--font-sans); font-size:.82rem; font-weight:600; letter-spacing:.12em; }
.company-simple-list { margin:0; }
.company-simple-list>div { display:grid; grid-template-columns:140px 1fr; gap:28px; padding:0 0 42px; }
.company-simple-list dt { color:#5e6871; font-size:.78rem; }
.company-simple-list dd { margin:0; font-size:.88rem; font-weight:400; overflow-wrap:anywhere; }
.company-simple-list a { text-underline-offset:4px; }

.contact { display:grid; grid-template-columns:180px 1fr; border-top:1px solid var(--line); background:#dddbd5; }
.contact-copy { padding:76px clamp(46px,5vw,96px) 84px; }
.contact-copy>p { max-width:580px; margin-bottom:30px; color:var(--muted); }
.footer { display:flex; justify-content:flex-end; align-items:center; min-height:84px; padding:0 clamp(34px,4vw,72px); border-top:1px solid var(--line); }
.footer small { color:var(--muted); font-size:.76rem; }
.stage-status { display:none; }

@media (min-width:821px) {
  .scene-mode .experience { height:calc(var(--scene-count) * 100vh); padding:0; }
  .scene-mode .site-shell { position:sticky; top:0; height:100vh; margin:0; isolation:isolate; }
  .scene-mode .site-shell::before { content:""; position:absolute; z-index:0; inset:72px 0 54px; background:url("../assets/corporate/hero-weave.webp?v=20260820") center/cover no-repeat; filter:saturate(.86) contrast(.96) blur(calc(var(--background-blur,0) * 1px)); transform:scale(1.06); transform-origin:center; will-change:filter; }
  .scene-mode .topbar { position:absolute; z-index:40; top:0; right:0; left:0; min-height:72px; background:var(--panel); }
  .scene-mode .topbar nav a.is-active::after { transform:scaleX(1); }
  .scene-mode [data-scene] { position:absolute; z-index:1; inset:72px 0 54px; margin:0; overflow:hidden; border-top:0; visibility:hidden; background:rgba(241,240,237,.92); transform:translate3d(0,100%,0); backface-visibility:hidden; will-change:transform; transition:transform .82s cubic-bezier(.22,.61,.36,1),visibility 0s linear .82s; }
  .scene-mode [data-scene].is-before { transform:translate3d(0,-100%,0); }
  .scene-mode [data-scene].is-active { z-index:2; visibility:visible; transform:translate3d(0,0,0); transition-delay:0s; }
  .scene-mode .hero { grid-template-rows:minmax(220px,46%) 1fr; background:linear-gradient(to bottom,var(--panel) 0 46%,transparent 46%); }
  .scene-mode .hero-copy,.scene-mode .hero-summary { min-height:0; justify-content:flex-start; padding:clamp(110px,15vh,165px) 46px 34px; }
  .scene-mode .hero-summary { padding-top:calc(clamp(110px,15vh,165px) + 6px); }
  .scene-mode .hero-copy .index { position:absolute; top:clamp(30px,5vh,58px); left:46px; }
  .scene-mode .hero h1 { font-size:clamp(2.6rem,4vw,3.8rem); }
  .scene-mode .hero-actions { margin-top:18px; }
  .scene-mode .hero-visual { height:auto; min-height:0; background:transparent; }
  .scene-mode .hero-visual img { visibility:hidden; }
  .scene-mode .content-section,.scene-mode .contact { --muted:#3f3d38; grid-template-columns:180px 1fr; }
  .scene-mode #about { background:rgba(233,231,224,.95); }
  .scene-mode #services { background:rgba(218,215,206,.75); }
  .scene-mode #company { background:rgba(241,239,234,.55); }
  .scene-mode .contact { background:rgba(252,251,248,.35); }
  .scene-mode .section-meta { padding:clamp(30px,5vh,62px) 34px; }
  .scene-mode .section-copy,.scene-mode .contact-copy { padding:clamp(30px,5vh,62px) 46px; }
  .scene-mode .about .section-copy { align-items:center; }
  .scene-mode .title-row { margin-bottom:clamp(20px,3.5vh,38px); }
  .scene-mode .services-list li { min-height:clamp(60px,8vh,84px); }
  .scene-mode .company-layout { align-items:center; }
  .scene-mode .footer { position:absolute; z-index:40; right:0; bottom:0; left:0; min-height:54px; padding:0 clamp(34px,4vw,72px); border-top:0; background:var(--panel); }
  .scene-mode .stage-status { position:absolute; left:50%; display:flex; align-items:center; gap:18px; color:var(--muted); font-size:.72rem; letter-spacing:.09em; transform:translateX(-50%); }
  .scene-mode .scroll-mark { display:flex; align-items:center; gap:8px; }
  .scene-mode .scroll-mark::before { content:""; width:22px; height:1px; background:currentColor; animation:scroll-pulse 1.8s ease-in-out infinite; }
}

@keyframes scroll-pulse { 0%,100% { transform:scaleX(.45); transform-origin:left; } 50% { transform:scaleX(1); transform-origin:left; } }

@media (min-width:821px) and (max-height:760px) {
  .scene-mode .hero-copy,.scene-mode .hero-summary { padding-top:48px; padding-bottom:24px; }
  .scene-mode .hero-summary { padding-top:54px; }
  .scene-mode .hero-copy .index { top:26px; }
  .scene-mode .hero h1 { font-size:clamp(2.2rem,4vw,3.7rem); }
  .scene-mode .section-meta { padding-top:28px; }
  .scene-mode .section-copy,.scene-mode .contact-copy { padding-top:28px; padding-bottom:28px; }
  .scene-mode .section-copy h2,.scene-mode .contact h2 { font-size:clamp(1.8rem,3.2vw,3rem); }
  .scene-mode .services-list li { min-height:58px; }
}

@media (min-width:821px) and (max-height:700px) {
  /* 縦の短い画面。サービスが6項目あるため、シーン内に収まるよう更に詰める */
  .scene-mode .section-copy,.scene-mode .contact-copy { padding-top:20px; padding-bottom:20px; }
  .scene-mode .section-meta { padding-top:20px; }
  .scene-mode .title-row { margin-bottom:14px; }
  .scene-mode #services-title { font-size:clamp(1.4rem,2.6vw,2.1rem); }
  .scene-mode .services-list li { min-height:44px; }
  .scene-mode .services-list h3 { font-size:.92rem; }
  .scene-mode .services-list p { font-size:.78rem; }
}

@media (max-width:960px) {
  .topbar { display:flex; justify-content:space-between; padding:0 20px; }
  .topbar nav { display:none; }
  .nav-contact { display:none; }
  .menu-toggle { position:relative; display:grid; width:48px; height:48px; padding:13px; place-content:center; gap:5px; border:0; border-radius:50%; color:var(--ink); background:var(--panel); box-shadow:-5px -5px 11px rgba(255,255,255,.9),6px 6px 13px rgba(92,88,80,.22); cursor:pointer; }
  .menu-toggle span { display:block; width:20px; height:2px; border-radius:2px; background:currentColor; transition:transform .16s ease,opacity .16s ease; }
  .menu-toggle[aria-expanded="true"] { box-shadow:inset -3px -3px 7px rgba(255,255,255,.82),inset 4px 4px 8px rgba(92,88,80,.2); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
  .topbar .mobile-menu:not([hidden]) { position:absolute; top:calc(100% + 10px); right:20px; left:20px; z-index:50; display:flex; align-items:stretch; flex-direction:column; gap:4px; padding:12px; border-radius:20px; background:var(--panel); box-shadow:-8px -8px 18px rgba(255,255,255,.88),10px 12px 24px rgba(49,47,43,.28); }
  .mobile-menu a { display:flex; align-items:center; min-height:48px; padding:0 16px; border-radius:12px; color:var(--ink); font-size:.88rem; font-weight:600; text-decoration:none; }
  .topbar .mobile-menu a::after { display:none; }
  .mobile-menu a:hover,.mobile-menu a:focus-visible { background:transparent; text-decoration:underline; text-decoration-color:var(--yellow); text-decoration-thickness:1px; text-underline-offset:7px; }
  .hero { grid-template-columns:1fr; }
  .hero-copy,.hero-summary { min-height:auto; padding:48px 24px; }
  .hero-copy::after { display:none; }
  .hero-copy { gap:56px; }
  .hero-summary { padding-top:0; }
  .hero-actions { flex-wrap:wrap; }
  .hero-visual { height:400px; }
  .hero-visual img { object-position:62% center; }
  .hero-visual figcaption { left:20px; right:20px; bottom:24px; max-width:none; padding:9px 12px; }
  .content-section,.contact { grid-template-columns:1fr; }
  .page-hero { grid-template-columns:1fr; }
  .page-hero .section-meta { border-bottom:0; }
  .page-hero-copy { padding:28px 24px 58px; }
  .section-meta { padding:44px 24px 0; }
  .section-meta::after { display:none; }
  .section-copy,.contact-copy { padding:28px 24px 58px; }
  .about .section-copy,.company-layout { grid-template-columns:1fr; gap:30px; }
  .title-row { align-items:start; flex-direction:column; gap:18px; }
  .services-list li { grid-template-columns:36px 1fr; gap:8px 12px; padding:20px 0; }
  .services-list p { grid-column:2; }
  .company-layout dl>div { grid-template-columns:1fr; gap:4px; }
  .company-page-shell { min-height:100vh; }
  .company-simple-content { grid-template-columns:1fr; gap:52px; padding:70px 24px 80px; }
  .company-simple-list>div { grid-template-columns:100px 1fr; gap:18px; padding-bottom:30px; }
}

@media (max-width:420px) {
  .brand span { font-size:.85rem; }
  .hero h1 { font-size:2.25rem; overflow-wrap:anywhere; }
  .hero-actions { align-items:stretch; flex-direction:column; }
  .button { width:100%; }
  .hero-visual { height:330px; }
  .visual-label { right:18px; bottom:18px; }
  .footer { align-items:flex-start; flex-direction:column; gap:8px; padding:24px; }
  .company-simple-content { padding:58px 24px 68px; }
  .company-simple-list>div { grid-template-columns:1fr; gap:6px; }
}

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

@media (forced-colors:active) {
  body::before,.ambient { display:none; }
  .topbar { border-bottom:1px solid CanvasText; box-shadow:none; }
  .section-meta { border-right:1px solid CanvasText; }
  .section-meta::after { display:none; }
  .services-list { border-top:1px solid CanvasText; }
  .services-list li { border-bottom:1px solid CanvasText; }
  .services-list::before,.services-list li::after { display:none; }
  .site-shell,.hero-visual,.contact { color:CanvasText; background:Canvas; border:1px solid CanvasText; box-shadow:none; }
  .button { border:1px solid ButtonText; box-shadow:none; }
  .button-dark,.button-gradient { color:ButtonText; background:ButtonFace; box-shadow:none; }
  .hero-visual::after { display:none; }
  .hero-visual figcaption,.visual-label { color:CanvasText; background:Canvas; border:1px solid CanvasText; }
}

/* ============================================================
   Content pages (about / services / faq / privacy / koukoku)
   トップページのシーン演出を持たない、読ませるためのページ。
   共通シェル・ヘッダー・フッターはそのまま使う。
   ============================================================ */
.doc-shell { display:flex; flex-direction:column; }
.doc-body { flex:1; }
.doc-section { display:grid; grid-template-columns:180px 1fr; border-top:1px solid var(--line); }
.doc-section:first-of-type { border-top:0; }
.doc-copy { padding:64px clamp(46px,5vw,96px) 72px; min-width:0; }
.doc-copy h2 { margin:0 0 24px; font-size:clamp(1.5rem,2.6vw,2.4rem); line-height:1.3; }
.doc-copy h3 { margin:40px 0 10px; font-size:1.02rem; }
.doc-copy h3:first-child { margin-top:0; }
.doc-copy p { max-width:64ch; color:var(--muted); font-size:.92rem; }
.doc-copy p.lede { max-width:60ch; color:var(--ink); font-size:1.02rem; }
.doc-copy>:last-child { margin-bottom:0; }
.doc-list { max-width:64ch; margin:0 0 20px; padding-left:1.15em; color:var(--muted); font-size:.92rem; }
.doc-list li { margin-bottom:8px; }
.doc-copy a { color:var(--ink); text-underline-offset:4px; overflow-wrap:anywhere; }
.doc-copy a:hover { color:var(--red-text); }

/* 事実の一覧（会社概要・決算公告） */
.fact-table { width:100%; max-width:760px; border-collapse:collapse; }
.fact-table th,.fact-table td { padding:16px 14px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); font-size:.9rem; font-weight:400; }
.fact-table th { width:9em; color:var(--muted); font-size:.78rem; white-space:nowrap; }
.fact-table td.num { text-align:right; font-variant-numeric:tabular-nums; }
.fact-table ul { margin:0; padding-left:1.15em; }
.fact-table ul li { margin-bottom:4px; }
.table-wrap { overflow-x:auto; }
.table-note { margin-top:12px; color:var(--muted); font-size:.8rem; }
.note-inline { display:inline-block; margin-top:4px; color:var(--muted); font-size:.8rem; }

/* サービス詳細 */
.service-block { padding:34px 0; border-top:2px solid; border-image:linear-gradient(180deg,rgba(92,88,80,.2),rgba(255,255,255,.88)) 1; }
.service-block:first-of-type { border-top:0; padding-top:0; }
.service-block>.svc-no { display:block; margin-bottom:6px; color:var(--red-text); font-size:.71rem; font-weight:700; letter-spacing:.08em; }
.service-block h3 { margin:0 0 12px; font-family:var(--font-heading); font-size:1.22rem; }

/* FAQ */
.faq-list { margin:0; }
.faq-item { padding:26px 0; border-bottom:1px solid var(--line); }
.faq-item:first-child { padding-top:0; }
.faq-item h3 { display:flex; gap:12px; margin:0 0 10px; font-family:var(--font-sans); font-size:.98rem; font-weight:600; }
.faq-item h3::before { content:"Q."; color:var(--red-text); font-weight:700; }
.faq-item p { display:flex; gap:12px; max-width:64ch; margin:0; color:var(--muted); font-size:.9rem; }
.faq-item p::before { content:"A."; flex:none; color:var(--ink); font-weight:700; }

/* フッターのサイト内リンク（クロール導線）
   .footer 自体は変更しない（トップのシーン演出が 54px の帯を前提にしているため）。
   nav に margin-right:auto を持たせて左寄せし、コピーライトは右のまま。 */
.footer-nav { display:flex; flex-wrap:wrap; gap:2px 22px; margin-right:auto; padding:14px 0; }
.footer-nav a { min-height:32px; display:inline-flex; align-items:center; padding:0 3px; color:var(--muted); font-size:.76rem; text-decoration:none; }
.footer-nav a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.footer-nav a[aria-current="page"] { color:var(--ink); }

/* 404 */
.notfound-copy { padding:96px 46px 110px; }
.notfound-copy h1 { margin:0 0 18px; font-size:clamp(2rem,4vw,3.4rem); }

@media (min-width:821px) {
  /* シーン演出中のフッターは 54px の帯なので、リンク列は出さない（HTML には残す） */
  .scene-mode .footer-nav { display:none; }
}

@media (max-width:820px) {
  .doc-section { grid-template-columns:1fr; }
  .footer { flex-wrap:wrap; justify-content:flex-start; gap:4px 18px; padding:18px 24px; }
  .footer-nav { padding:4px 0; }
  .doc-copy { padding:28px 24px 56px; }
  .fact-table th,.fact-table td { display:block; width:auto; }
  .fact-table th { padding-bottom:0; border-bottom:0; }
  .fact-table td { padding-top:4px; }
  .notfound-copy { padding:64px 24px 80px; }
}

@media (forced-colors:active) {
  .fact-table th,.fact-table td,.faq-item { border-color:CanvasText; }
  .service-block { border-image:none; border-top:1px solid CanvasText; }
}

/* 創業者の手紙。読み物なので行間と字送りをゆるめる */
.letter-body p { max-width:62ch; margin-bottom:22px; line-height:2.05; }
.letter-body .letter-emph { margin:30px 0; color:var(--ink); font-family:var(--font-heading); font-size:1.14rem; }
.letter-body .letter-sign { margin-top:48px; color:var(--ink); font-size:.9rem; letter-spacing:.04em; }

/* 発信と知見（noteの記事一覧） */
.note-list { max-width:70ch; margin:0 0 8px; padding:0; list-style:none; }
.note-list li { display:grid; grid-template-columns:6.5em 1fr; gap:4px 14px; padding:13px 0; border-bottom:1px solid var(--line); }
.note-list li:first-child { border-top:1px solid var(--line); }
.note-date { color:var(--muted); font-size:.76rem; font-variant-numeric:tabular-nums; }
.note-list a { color:var(--ink); font-size:.9rem; line-height:1.7; text-underline-offset:4px; }
.note-list a:hover { color:var(--red-text); }
@media (max-width:520px) {
  .note-list li { grid-template-columns:1fr; }
}

/* 会社概要のメンバー */
.member-list { margin:34px 0 0; padding:0; list-style:none; }
.member-list>li { display:grid; grid-template-columns:88px minmax(0,1fr); grid-template-areas:"visual heading" "visual bio" "visual focus" "visual link"; gap:9px 30px; align-items:start; scroll-margin-top:120px; padding:34px 0 38px; border-bottom:1px solid var(--line); }
.member-list>li:first-child { border-top:1px solid var(--line); }
.member-visual { grid-area:visual; display:grid; width:88px; height:108px; overflow:hidden; place-items:center; background:#e9e4d9; }
.member-visual-index { color:var(--red-text); font-family:var(--font-heading); font-size:1.35rem; font-weight:500; letter-spacing:-.04em; }
.member-visual-photo { position:relative; }
.member-visual-photo img { width:100%; height:100%; object-fit:cover; object-position:center; }
.member-photo-index { position:absolute; right:6px; bottom:5px; padding:2px 5px; color:#fff; background:rgba(23,21,17,.78); font-family:var(--font-heading); font-size:.66rem; line-height:1.2; letter-spacing:.05em; }
.member-heading { grid-area:heading; display:flex; flex-wrap:wrap; gap:8px 18px; align-items:baseline; }
.member-name,
.doc-shell .doc-copy h3.member-name { margin:0; color:var(--ink); font-family:var(--font-heading); font-size:1.22rem; font-weight:600; letter-spacing:.025em; }
.member-role { color:var(--red-text); font-size:.73rem; font-weight:600; letter-spacing:.08em; }
.member-bio { grid-area:bio; max-width:64ch; margin:2px 0 0; color:var(--muted); font-size:.9rem; line-height:1.9; }
.member-focus { grid-area:focus; display:flex; flex-wrap:wrap; gap:7px; margin:8px 0 0; padding:0; list-style:none; }
.member-focus li { padding:5px 10px; border:1px solid var(--line); color:var(--muted); font-size:.68rem; line-height:1.2; letter-spacing:.035em; }
.member-profile-link { grid-area:link; justify-self:start; display:inline-flex; gap:12px; align-items:center; margin-top:7px; padding-bottom:5px; border-bottom:1px solid var(--ink); color:var(--ink); font-size:.72rem; font-weight:600; letter-spacing:.035em; text-decoration:none; }
.member-profile-link span { color:var(--red-text); transition:transform .2s; }
.member-profile-link:hover span,
.member-profile-link:focus-visible span { transform:translate(2px,-2px); }

/* 経営チーム・個別プロフィール */
.profile-hero { display:grid; grid-template-columns:220px minmax(0,1fr) minmax(240px,30vw); min-height:520px; border-bottom:1px solid var(--line); }
.profile-hero>.section-meta { border-right:1px solid var(--line); }
.profile-hero-copy { display:flex; flex-direction:column; justify-content:center; padding:72px clamp(42px,6vw,100px); }
.profile-kicker { margin:0 0 20px; color:var(--red-text); font-family:Arial,sans-serif; font-size:.68rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.profile-hero-copy h1 { margin:0; font-size:clamp(3rem,6vw,6.2rem); font-weight:500; line-height:1.05; letter-spacing:-.055em; }
.profile-reading { margin:12px 0 0; color:var(--muted); font-family:Arial,sans-serif; font-size:.72rem; letter-spacing:.16em; }
.profile-lead { max-width:650px; margin:30px 0 0; color:var(--muted); font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:1rem; line-height:2; }
.profile-visual { position:relative; display:grid; min-height:100%; overflow:hidden; place-items:center; border-left:1px solid var(--line); background:#e9e4d9; }
.profile-visual-index strong { color:var(--red-text); font-family:var(--font-heading); font-size:clamp(4.5rem,10vw,9rem); font-weight:500; letter-spacing:-.08em; }
.profile-visual-photo img { width:100%; height:100%; object-fit:cover; object-position:center; }
.profile-visual-label { position:absolute; right:18px; bottom:16px; padding:5px 8px; color:#fff; background:rgba(23,21,17,.8); font-family:Arial,sans-serif; font-size:.65rem; letter-spacing:.12em; }
.profile-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; max-width:900px; margin:34px 0 0; border-top:1px solid var(--line); border-left:1px solid var(--line); }
.profile-fact { min-height:150px; padding:24px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.profile-fact span { display:block; margin-bottom:18px; color:var(--red-text); font-family:Arial,sans-serif; font-size:.66rem; font-weight:700; letter-spacing:.12em; }
.profile-fact h3,
.doc-shell .doc-copy .profile-fact h3 { margin:0 0 10px; font-size:1.08rem; line-height:1.5; }
.profile-fact p { margin:0; font-size:.84rem; line-height:1.8; }
.career-list { max-width:900px; margin:34px 0 0; padding:0; list-style:none; counter-reset:career; }
.career-list li { position:relative; padding:25px 0 25px 62px; border-top:1px solid var(--line); counter-increment:career; }
.career-list li:last-child { border-bottom:1px solid var(--line); }
.career-list li::before { content:counter(career,decimal-leading-zero); position:absolute; top:27px; left:0; color:var(--red-text); font-family:Arial,sans-serif; font-size:.7rem; letter-spacing:.1em; }
.career-list strong { display:block; margin-bottom:8px; font-family:var(--font-heading); font-size:1.03rem; }
.career-list p { margin:0; }
.profile-faq { max-width:900px; margin-top:30px; }
.profile-faq .faq-item { border-top:1px solid var(--line); }
.profile-faq .faq-item:last-child { border-bottom:1px solid var(--line); }
.profile-back { display:inline-flex; gap:14px; align-items:center; margin-top:34px; padding-bottom:6px; border-bottom:1px solid var(--ink); font-size:.76rem; font-weight:700; }
.official-photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); max-width:1180px; margin-top:40px; border-top:1px solid var(--line); border-left:1px solid var(--line); }
.official-photo { margin:0; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:rgba(255,255,255,.32); }
.official-photo>a:first-child { display:block; overflow:hidden; aspect-ratio:3/2; background:#e9e4d9; }
.official-photo img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.official-photo>a:first-child:hover img,
.official-photo>a:first-child:focus-visible img { transform:scale(1.025); }
.official-photo figcaption { display:grid; gap:8px; padding:20px; }
.official-photo figcaption strong { font-family:var(--font-heading); font-size:1rem; font-weight:600; }
.official-photo figcaption span { color:var(--red-text); font-family:Arial,sans-serif; font-size:.64rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.doc-shell .doc-copy .official-photo figcaption a { justify-self:start; font-size:.72rem; font-weight:700; }

/* ページ同士を内容でつなぐ関連リンク */
.related-link-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); max-width:960px; margin-top:38px; border-top:1px solid var(--line); border-left:1px solid var(--line); }
.related-link-card { position:relative; display:grid; min-height:170px; grid-template-rows:auto auto 1fr; gap:7px; padding:25px 56px 25px 25px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none; transition:background .2s,color .2s; }
.related-link-kicker { color:var(--red-text); font-family:Arial,sans-serif; font-size:.64rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.related-link-card strong { font-family:var(--font-heading); font-size:1.08rem; font-weight:600; line-height:1.55; }
.related-link-card small { align-self:end; color:var(--muted); font-size:.76rem; line-height:1.7; }
.related-link-arrow { position:absolute; top:25px; right:24px; color:var(--red-text); font-size:1rem; transition:transform .2s; }
.related-link-card:hover,
.related-link-card:focus-visible { color:#fff; background:var(--ink); }
.related-link-card:hover .related-link-kicker,
.related-link-card:focus-visible .related-link-kicker,
.related-link-card:hover .related-link-arrow,
.related-link-card:focus-visible .related-link-arrow { color:var(--yellow); }
.related-link-card:hover small,
.related-link-card:focus-visible small { color:rgba(255,255,255,.72); }
.related-link-card:hover .related-link-arrow,
.related-link-card:focus-visible .related-link-arrow { transform:translate(3px,-3px); }
@media (max-width:620px) {
  .related-link-grid { grid-template-columns:1fr; }
  .related-link-card { min-height:150px; }
}
.members-index .member-list { max-width:1000px; }
@media (max-width:640px) {
  .member-list>li { grid-template-columns:64px minmax(0,1fr); grid-template-areas:"visual heading" "bio bio" "focus focus" "link link"; gap:18px 16px; padding:28px 0 32px; }
  .member-visual { width:64px; height:76px; }
  .member-heading { align-self:center; display:grid; gap:5px; }
  .member-name { font-size:1.08rem; }
  .member-bio { margin:0; }
  .member-focus { margin:0; }
}

@media (max-width:960px) {
  .profile-hero { grid-template-columns:1fr; min-height:auto; }
  .profile-hero>.section-meta { display:none; }
  .profile-hero-copy { padding:54px 24px 46px; }
  .profile-hero-copy h1 { font-size:clamp(2.7rem,14vw,4.7rem); }
  .profile-visual { min-height:320px; border-top:1px solid var(--line); border-left:0; }
  .profile-visual-photo { height:min(92vw,540px); }
  .profile-facts { grid-template-columns:1fr; }
  .profile-fact { min-height:auto; }
  .official-photo-grid { grid-template-columns:1fr; }
}

/* 下層ページのキービジュアル。左のラインを跨いで全幅に敷く帯。角丸なしで断ち切る */
.page-kv { margin:0; background:#f1f0ed; border-bottom:1px solid var(--line); }
.page-kv img { display:block; width:100%; height:clamp(120px,17vw,220px); object-fit:cover; }
@media (max-width:520px) { .page-kv img { height:104px; } }

/* 2026-08-20 redesign bridge: lower pages share the new top-page visual language. */
:root {
  --panel:#f5f2eb;
  --panel-2:#ece7dc;
  --ink:#171511;
  --muted:#625d55;
  --line:rgba(23,21,17,.18);
  --red:#d84b2a;
  --red-text:#ad351d;
  --yellow:#e9a326;
  --focus:#9f2f1b;
}

body { background:var(--panel); color:var(--ink); }
.doc-shell.site-shell { overflow:visible; background:var(--panel); }
.doc-shell .topbar {
  position:sticky;
  top:0;
  z-index:30;
  min-height:92px;
  padding:0 3.2vw;
  border-bottom:1px solid var(--line);
  background:rgba(245,242,235,.93);
  box-shadow:none;
  backdrop-filter:blur(16px);
  grid-template-columns:auto minmax(0,1fr) auto auto;
  gap:clamp(16px,1.6vw,28px);
}
.doc-shell .brand img { width:102px; }
.doc-shell .topbar>nav:not(.mobile-menu) { justify-self:center; gap:clamp(16px,1.65vw,30px); }
.doc-shell .topbar nav a,
.doc-shell .nav-contact { color:var(--ink); font-size:.75rem; font-weight:700; letter-spacing:.06em; }
.doc-shell .topbar nav a::after { background:var(--red); }
.doc-shell .topbar nav a[aria-current="page"]::after { transform:scaleX(1); }
.doc-shell .nav-contact {
  min-height:46px;
  padding:0 20px;
  border:1px solid var(--ink);
  border-radius:999px;
  transition:background .2s,color .2s;
}
.doc-shell .nav-contact span { margin-left:16px; }
.doc-shell .nav-contact:hover { color:#fff; background:var(--ink); }
.doc-shell .header-utility { position:relative; justify-self:end; font-size:.6875rem; font-weight:700; letter-spacing:.05em; }
.doc-shell .header-utility summary { display:flex; min-height:44px; align-items:center; gap:9px; padding:0 2px; cursor:pointer; list-style:none; white-space:nowrap; }
.doc-shell .header-utility summary::-webkit-details-marker { display:none; }
.doc-shell .header-utility summary span { color:var(--red); font-size:15px; font-weight:400; transition:transform .2s; }
.doc-shell .header-utility[open] summary span { transform:rotate(45deg); }
.doc-shell .header-utility-panel { position:absolute; top:calc(100% + 12px); right:0; width:210px; display:grid; padding:10px 18px; border:1px solid var(--line); background:rgba(251,249,244,.98); box-shadow:0 18px 36px rgba(23,21,17,.16); backdrop-filter:blur(16px); }
.doc-shell .header-utility-panel a { min-height:47px; display:flex; align-items:center; border-bottom:1px solid var(--line); color:var(--ink); font-family:var(--font-body); font-size:.75rem; font-weight:700; letter-spacing:.04em; text-decoration:none; }
.doc-shell .header-utility-panel a:last-child { border-bottom:0; }
.doc-shell .header-utility-panel a:hover,
.doc-shell .header-utility-panel a:focus-visible,
.doc-shell .header-utility-panel a[aria-current="page"] { color:var(--red); }
.doc-shell .page-hero { grid-template-columns:220px 1fr; min-height:390px; }
.doc-shell .page-hero .section-meta,
.doc-shell .doc-section>.section-meta { border-right:1px solid var(--line); }
.doc-shell .section-meta { padding:82px 34px; }
.doc-shell .section-meta::after { display:none; }
.doc-shell .section-meta span { color:var(--red-text); font-family:Arial,sans-serif; letter-spacing:.12em; }
.doc-shell .section-meta p { color:var(--muted); font-family:Arial,sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.doc-shell .page-hero-copy {
  padding:82px clamp(46px,7vw,130px);
  border-bottom:1px solid var(--line);
  background:var(--panel);
}
.doc-shell .page-hero-copy h1 { font-size:clamp(3.2rem,6.5vw,7.2rem); font-weight:500; letter-spacing:-.06em; }
.doc-shell .page-hero-copy p { max-width:680px; margin-top:30px; font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:1.05rem; line-height:2; }
.doc-shell .page-kv { border-bottom:1px solid var(--line); background:var(--panel); }
.doc-shell .page-kv img { height:clamp(190px,24vw,370px); filter:saturate(.88) contrast(1.02); }
.doc-shell .doc-section { grid-template-columns:220px 1fr; border-top:1px solid var(--line); }
.doc-shell .doc-section:nth-of-type(odd) { background:#fbf9f4; }
.doc-shell .doc-copy { padding:82px clamp(46px,7vw,130px) 96px; }
.doc-shell .doc-copy h2 { max-width:900px; margin-bottom:34px; font-size:clamp(2rem,3.8vw,4.1rem); font-weight:500; line-height:1.28; letter-spacing:-.045em; }
.doc-shell .doc-copy h3 { margin-top:48px; font-size:1.16rem; }
.doc-shell .doc-copy p,
.doc-shell .doc-list { max-width:70ch; color:var(--muted); font-size:.94rem; line-height:2; }
.doc-shell .doc-copy p.lede { max-width:64ch; color:var(--ink); font-family:"Yu Mincho","Hiragino Mincho ProN",serif; font-size:1.18rem; line-height:1.95; }
.doc-shell .service-block { padding:42px 0; border-top:1px solid var(--line); border-image:none; }
.doc-shell .service-block h3 { font-size:clamp(1.25rem,2vw,1.7rem); }
.doc-shell .fact-table { max-width:960px; }
.doc-shell .fact-table th,
.doc-shell .fact-table td { padding:20px 16px; border-color:var(--line); }
.doc-shell .faq-item { padding:32px 0; }
.doc-shell .faq-item h3 { font-size:1.06rem; }
.doc-shell .member-list { max-width:920px; }
.doc-shell .member-list>li { border-color:var(--line); }
.doc-shell .note-list { max-width:78ch; }
.doc-shell .note-list li { padding:17px 0; border-color:var(--line); }
.doc-shell .contact {
  grid-template-columns:220px 1fr;
  min-height:500px;
  border-top:0;
  background:var(--ink);
  color:#fff;
}
.doc-shell .contact .section-meta { border-right:1px solid rgba(255,255,255,.16); }
.doc-shell .contact .section-meta span,
.doc-shell .contact .section-meta p { color:var(--yellow); }
.doc-shell .contact-copy { display:flex; flex-direction:column; justify-content:center; padding:88px clamp(46px,7vw,130px); }
.doc-shell .contact-copy h2 { max-width:900px; font-size:clamp(2.5rem,5vw,5rem); font-weight:500; letter-spacing:-.055em; }
.doc-shell .contact-copy>p { max-width:620px; color:rgba(255,255,255,.66); line-height:2; }
.doc-shell .contact .button-dark { align-self:flex-start; color:var(--ink); background:#fff; box-shadow:none; }
.doc-shell .contact .button-dark:hover { color:#fff; background:var(--red); }
.doc-shell .footer { min-height:120px; padding:26px 3.2vw; border-top:1px solid var(--line); background:var(--panel); }
.doc-shell .footer-nav { gap:4px 26px; }

@media (max-width:960px) {
  .doc-shell .topbar { min-height:74px; padding:0 20px; }
  .doc-shell .brand img { width:84px; }
  .doc-shell .header-utility { display:none; }
  .doc-shell .menu-toggle {
    width:44px;
    height:44px;
    border:1px solid var(--ink);
    border-radius:50%;
    background:transparent;
    box-shadow:none;
  }
  .doc-shell .menu-toggle[aria-expanded="true"] { color:#fff; background:var(--ink); box-shadow:none; }
  .doc-shell .topbar .mobile-menu:not([hidden]) {
    top:100%;
    right:0;
    left:0;
    gap:0;
    padding:14px 20px 20px;
    border-top:1px solid var(--line);
    border-radius:0;
    background:var(--panel);
    box-shadow:0 18px 32px rgba(23,21,17,.16);
    max-height:calc(100svh - 74px);
    overflow-y:auto;
  }
  .doc-shell .mobile-menu a { min-height:52px; padding:0; border-bottom:1px solid var(--line); border-radius:0; }
  .doc-shell .page-hero { grid-template-columns:1fr; min-height:auto; }
  .doc-shell .page-hero .section-meta { display:none; }
  .doc-shell .page-hero-copy { padding:64px 24px 70px; }
  .doc-shell .page-hero-copy h1 { font-size:clamp(3.1rem,15vw,5.5rem); }
  .doc-shell .page-hero-copy p { font-size:.95rem; }
  .doc-shell .page-kv img { height:170px; }
  .doc-shell .doc-section { grid-template-columns:1fr; }
  .doc-shell .doc-section>.section-meta { padding:56px 24px 0; border-right:0; }
  .doc-shell .doc-copy { padding:30px 24px 74px; }
  .doc-shell .doc-copy h2 { font-size:clamp(2rem,10vw,3.3rem); }
  .doc-shell .contact { grid-template-columns:1fr; min-height:auto; }
  .doc-shell .contact .section-meta { padding:70px 24px 0; border-right:0; }
  .doc-shell .contact-copy { padding:34px 24px 84px; }
  .doc-shell .contact-copy h2 { font-size:clamp(2.35rem,11vw,4rem); }
  .doc-shell .footer { padding:28px 24px; }
}
