/* ==========================================================================
   INCH — inch.bio
   Design system v3 · Corporate biotech (日本語)
   Deep corporate blue, bio-teal accent, square edges, editorial grid.
   ========================================================================== */

:root {
  --brand: #0b3b7a;
  --brand-dark: #08254d;
  --navy: #071a36;
  --accent: #00a39a;
  --accent-light: #e3f5f3;
  --text: #1a1f2b;
  --muted: #5e6673;
  --subtle: #8a93a0;
  --bg: #ffffff;
  --bg-gray: #f3f5f7;
  --bg-blue: #eef3f9;
  --line: #dde2e8;
  --line-dark: rgba(255, 255, 255, .16);

  --f-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --f-en: "Jost", "Noto Sans JP", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--f-jp); font-size: 15.5px; line-height: 2; letter-spacing: .05em; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "palt" 1; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 700; line-height: 1.55; letter-spacing: .06em; }
p { margin: 0; }
::selection { background: var(--brand); color: #fff; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 960px; }

/* ---------- Section heading (EN label + JP title) ---------- */
.sec-title { margin-bottom: clamp(36px, 5vw, 56px); }
.sec-title .en { display: block; font-family: var(--f-en); font-weight: 500; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; letter-spacing: .04em; color: var(--brand); text-transform: uppercase; }
.sec-title .jp { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-family: var(--f-head); font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: .1em; }
.sec-title .jp::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.sec-title.center { text-align: center; }
.sec-title.center .jp { justify-content: center; }
.on-dark .sec-title .en, .sec-title.light .en { color: #fff; }
.on-dark .sec-title .jp, .sec-title.light .jp { color: rgba(255,255,255,.85); }
.sec-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head-row .sec-title { margin-bottom: 0; }

.catch { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.7; letter-spacing: .08em; color: var(--text); }
.catch em { font-style: normal; color: var(--brand); }
.body-text { color: var(--muted); }
.body-text + .body-text { margin-top: 1.2em; }
.on-dark .body-text { color: rgba(255,255,255,.75); }
.label-en { font-family: var(--f-en); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 240px; height: 60px; padding: 0 24px 0 28px; border: 1px solid var(--brand); background: var(--bg); color: var(--brand); font-size: 15px; font-weight: 700; letter-spacing: .08em; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover { color: #fff; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .arr { width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; flex: none; }
.btn .arr svg { width: 13px; height: 13px; }
.btn-fill { background: var(--brand); color: #fff; }
.btn-fill::before { background: var(--brand-dark); }
.btn-white { border-color: #fff; background: transparent; color: #fff; }
.btn-white::before { background: #fff; }
.btn-white:hover { color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.more { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: 14.5px; color: var(--text); }
.more .arr { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; transition: transform .35s var(--ease); }
.more .arr svg { width: 13px; height: 13px; }
.more:hover .arr { transform: translateX(4px); }
.on-dark .more { color: #fff; }
.on-dark .more .arr { background: #fff; color: var(--brand); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(7, 26, 54, .06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-left: var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 38px; height: 38px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-family: var(--f-en); font-weight: 600; font-size: 24px; letter-spacing: .02em; color: var(--brand); }
.logo-text small { font-size: 10.5px; color: var(--muted); letter-spacing: .12em; margin-top: 2px; }
.gnav { display: flex; align-items: stretch; height: 100%; }
.gnav ul { display: flex; list-style: none; margin: 0; padding: 0; height: 100%; }
.gnav li a { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; padding: 0 clamp(12px, 1.4vw, 22px); font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.gnav li a small { font-family: var(--f-en); font-weight: 500; font-size: 10px; letter-spacing: .16em; color: var(--subtle); text-transform: uppercase; margin-top: 3px; }
.gnav li a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform .35s var(--ease); }
.gnav li a:hover::after, .gnav li a[aria-current="page"]::after { transform: scaleX(1); }
.gnav li a[aria-current="page"] { color: var(--brand); }
.header-contact { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 8px; padding: 0 28px; height: 100%; background: var(--brand); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; transition: background .25s; flex: none; }
.header-contact svg { width: 20px; height: 20px; }
.header-contact:hover { background: var(--brand-dark); }

.menu-btn { display: none; width: var(--header-h); height: 100%; border: 0; background: var(--brand); color: #fff; cursor: pointer; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 28px; right: 28px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { top: calc(50% - 8px); } .menu-btn span:nth-child(2) { top: calc(50% - 1px); } .menu-btn span:nth-child(3) { top: calc(50% + 6px); }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: var(--navy); color: #fff; overflow-y: auto; padding: 24px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; font-weight: 700; }
.mobile-menu li a small { font-family: var(--f-en); font-size: 11px; letter-spacing: .16em; color: rgba(255,255,255,.5); }
.mobile-menu .btn { margin-top: 32px; width: 100%; }
@media (max-width: 1100px) {
  .gnav, .header-contact { display: none; }
  .menu-btn { display: block; }
  :root { --header-h: 60px; }
  .menu-btn span { left: 20px; right: 20px; }
}
main { padding-top: var(--header-h); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.bg-gray { background: var(--bg-gray); }
.bg-blue { background: var(--bg-blue); }
.on-dark { background: var(--navy); color: #fff; }

/* ---------- Key visual (home) ---------- */
.kv { position: relative; height: calc(100svh - var(--header-h)); min-height: 600px; max-height: 860px; overflow: hidden; color: #fff; }
.kv-img { position: absolute; inset: 0; background: url("../img/photos/kv-pipette.jpg") center 40% / cover no-repeat; transform: scale(1.06); animation: kvZoom 14s ease-out forwards; }
@keyframes kvZoom { to { transform: scale(1); } }
.kv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,54,.92) 0%, rgba(7,26,54,.78) 38%, rgba(7,26,54,.25) 70%, rgba(7,26,54,.1) 100%); }
.kv-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 80px; }
.kv-en { font-family: var(--f-en); font-weight: 500; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: #7fe0d6; display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.kv-en::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.kv h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.5; letter-spacing: .1em; margin-bottom: 28px; }
.kv p { max-width: 560px; color: rgba(255,255,255,.85); font-size: clamp(14.5px, 1.2vw, 16px); margin-bottom: 40px; }
.kv-scroll { position: absolute; z-index: 1; right: var(--gutter); bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--f-en); font-size: 11px; letter-spacing: .25em; writing-mode: vertical-rl; color: rgba(255,255,255,.8); }
.kv-scroll::after { content: ""; width: 1px; height: 80px; background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,0)); animation: scrollLine 2s ease-in-out infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Pillars overlapping KV */
.pillars { position: relative; z-index: 2; margin-top: -72px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: 0 20px 50px -20px rgba(7,26,54,.25); }
.pillar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 30px 32px; border-right: 1px solid var(--line); transition: background .3s; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--bg-blue); }
.pillar .num { font-family: var(--f-en); font-size: 34px; font-weight: 400; color: var(--brand); line-height: 1; }
.pillar h3 { font-size: 16.5px; line-height: 1.5; }
.pillar h3 small { display: block; font-family: var(--f-en); font-weight: 500; font-size: 11px; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.pillar .arr { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); transition: background .3s, color .3s, border-color .3s; }
.pillar .arr svg { width: 12px; height: 12px; }
.pillar:hover .arr { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width: 900px) { .pillars { margin-top: 0; } .pillars-grid { grid-template-columns: 1fr; box-shadow: none; border-bottom: 1px solid var(--line); } .pillar { border-right: 0; border-top: 1px solid var(--line); padding: 22px 0; } }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: center; }
.split-img { grid-column: 1 / span 6; position: relative; }
.split-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-img::after { content: ""; position: absolute; z-index: -1; left: -24px; bottom: -24px; width: 60%; height: 60%; background: var(--bg-blue); }
.split-body { grid-column: 8 / span 5; }
.split.rev .split-img { grid-column: 7 / span 6; order: 2; }
.split.rev .split-img::after { left: auto; right: -24px; }
.split.rev .split-body { grid-column: 1 / span 5; }
.split-body .catch { margin-bottom: 28px; }
.split-body .more, .split-body .btn { margin-top: 36px; }
@media (max-width: 900px) {
  .split-img, .split-body, .split.rev .split-img, .split.rev .split-body { grid-column: 1 / -1; }
  .split.rev .split-img { order: 0; }
  .split-body { margin-top: 48px; }
  .split-img::after { left: -12px; bottom: -12px; }
}

/* ---------- Approach (numbered, photo cards) ---------- */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: ap; }
.ap-card { background: #fff; display: flex; flex-direction: column; }
.ap-card .ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.ap-card .ph img, .ap-card .ph svg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ap-card:hover .ph img { transform: scale(1.05); }
.ap-card .ph .no { position: absolute; left: 0; bottom: 0; background: var(--brand); color: #fff; font-family: var(--f-en); font-size: 13px; letter-spacing: .14em; padding: 8px 16px; }
.ap-card .bd { padding: 28px 28px 32px; flex: 1; }
.ap-card .bd .label-en { display: block; margin-bottom: 6px; }
.ap-card h3 { font-size: 20px; margin-bottom: 12px; }
.ap-card p { color: var(--muted); font-size: 14.5px; line-height: 1.95; }
.bg-gray .ap-card, .on-dark .ap-card { border: 0; }
@media (max-width: 900px) { .approach { grid-template-columns: 1fr; } }

/* ---------- Key figures ---------- */
.figures { position: relative; overflow: hidden; }
.figures::before { content: ""; position: absolute; inset: 0; background: url("../img/photos/microscopy.jpg") center / cover; opacity: .18; }
.figures > .wrap { position: relative; }
.fig-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.fig { padding: 36px 28px 32px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: rgba(7,26,54,.35); }
.fig .lbl { font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: .08em; }
.fig .val { font-family: var(--f-en); font-weight: 400; font-size: clamp(48px, 5.4vw, 72px); line-height: 1.1; margin-top: 18px; letter-spacing: .01em; }
.fig .val small { font-family: var(--f-jp); font-size: 15px; font-weight: 700; margin-left: 6px; letter-spacing: .05em; }
.fig .val sup { font-size: .4em; color: #7fe0d6; vertical-align: top; position: relative; top: .5em; margin-left: 4px; }
.fig p { margin-top: 12px; font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.6); }
.fig-note { margin-top: 20px; font-size: 12px; color: rgba(255,255,255,.5); }
@media (max-width: 900px) { .fig-grid { grid-template-columns: repeat(2, 1fr); } .fig { padding: 24px 18px; } }

/* ---------- Focus areas ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.area { padding: 40px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .3s; }
.area:hover { background: var(--bg-blue); }
.area .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-blue); display: grid; place-items: center; color: var(--brand); margin-bottom: 24px; transition: background .3s, color .3s; }
.area:hover .ic { background: var(--brand); color: #fff; }
.area .ic svg { width: 30px; height: 30px; }
.area .label-en { display: block; margin-bottom: 4px; }
.area h3 { font-size: 20px; margin-bottom: 12px; }
.area p { color: var(--muted); font-size: 14px; line-height: 1.9; }
@media (max-width: 1000px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }

/* ---------- Products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.prod-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.prod-card:hover { border-color: var(--brand); box-shadow: 0 16px 40px -20px rgba(7,26,54,.3); }
.prod-card .pv { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--bg-gray); }
.prod-card .pv svg { width: 46%; height: auto; transition: transform .8s var(--ease); }
.prod-card:hover .pv svg { transform: translateY(-6px); }
.prod-card .pb { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-card h3 { font-size: 19px; }
.prod-card p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.prod-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.tag { font-size: 12px; font-weight: 700; padding: 1px 10px; background: var(--bg-blue); color: var(--brand); line-height: 1.9; }
@media (max-width: 900px) { .prod-grid { grid-template-columns: 1fr; } }

.product { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.product:first-child { padding-top: 0; }
.product-visual { grid-column: 1 / span 5; aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--bg-gray); }
.product-visual svg { width: 62%; height: auto; }
.product-body { grid-column: 7 / span 6; }
.product.flip .product-visual { grid-column: 8 / span 5; order: 2; }
.product.flip .product-body { grid-column: 1 / span 6; }
.product-body h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 6px 0 16px; }
.product-body > p { color: var(--muted); margin-bottom: 28px; }
@media (max-width: 900px) { .product-visual, .product-body, .product.flip .product-visual, .product.flip .product-body { grid-column: 1 / -1; } .product.flip .product-visual { order: 0; } .product-body { margin-top: 28px; } }

/* ---------- Tables (spec / company profile) ---------- */
.dl-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--brand); }
.dl-table th, .dl-table td { padding: 20px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; line-height: 1.9; }
.dl-table th { width: 26%; background: var(--bg-gray); font-weight: 700; color: var(--text); }
.dl-table td { color: var(--text); }
.dl-table td small { display: block; color: var(--muted); font-size: 13.5px; }
.dl-table.compact th, .dl-table.compact td { padding: 12px 16px; font-size: 14px; }
@media (max-width: 640px) { .dl-table th, .dl-table td { display: block; width: 100%; } .dl-table th { padding-bottom: 8px; border-bottom: 0; } .dl-table td { padding-top: 10px; } }

/* ---------- Message (CEO) ---------- */
.message { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: start; }
.message-photo { grid-column: 1 / span 5; position: relative; }
.message-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; background: #eceef1; }
.message-photo figcaption { position: absolute; right: -24px; bottom: -24px; background: var(--brand); color: #fff; padding: 20px 28px; line-height: 1.6; }
.message-photo figcaption small { display: block; font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.8); }
.message-photo figcaption b { font-family: var(--f-en); font-weight: 500; font-size: 22px; letter-spacing: .06em; }
.message-body { grid-column: 7 / span 6; padding-top: 12px; }
.message-body .catch { margin-bottom: 32px; }
.message-sign { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 20px; }
.message-sign small { color: var(--muted); font-size: 13.5px; }
.message-sign b { font-family: var(--f-en); font-weight: 500; font-size: 24px; letter-spacing: .06em; }
@media (max-width: 900px) { .message-photo, .message-body { grid-column: 1 / -1; } .message-photo { max-width: 460px; } .message-photo figcaption { right: 0; bottom: 0; } .message-body { margin-top: 48px; } }

/* ---------- Link banners ---------- */
.banners { display: grid; grid-template-columns: 1fr 1fr; }
.banner { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 340px; padding: 48px clamp(28px, 5vw, 72px); color: #fff; overflow: hidden; isolation: isolate; }
.banner .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform 1s var(--ease); }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,26,54,.72); transition: background .4s; }
.banner.teal::after { background: rgba(0,94,89,.78); }
.banner:hover .bg { transform: scale(1.06); }
.banner:hover::after { background: rgba(11,59,122,.78); }
.banner .en { font-family: var(--f-en); font-weight: 500; font-size: clamp(32px, 3.6vw, 46px); letter-spacing: .04em; line-height: 1.1; text-transform: uppercase; }
.banner .jp { font-size: 15px; font-weight: 700; margin-top: 8px; letter-spacing: .1em; }
.banner p { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.82); max-width: 420px; }
.banner .arr { position: absolute; right: clamp(28px, 5vw, 72px); top: 50%; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); display: grid; place-items: center; transform: translateY(-50%); transition: background .3s, color .3s; }
.banner .arr svg { width: 16px; height: 16px; }
.banner:hover .arr { background: #fff; color: var(--brand); }
@media (max-width: 900px) { .banners { grid-template-columns: 1fr; } .banner { min-height: 260px; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { position: relative; height: clamp(260px, 32vw, 380px); color: #fff; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.page-head .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,26,54,.9) 0%, rgba(7,26,54,.65) 50%, rgba(7,26,54,.3) 100%); }
.page-head .en { display: block; font-family: var(--f-en); font-weight: 500; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.05; letter-spacing: .04em; text-transform: uppercase; }
.page-head h1 { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: clamp(16px, 1.5vw, 19px); letter-spacing: .14em; }
.page-head h1::before { content: ""; width: 28px; height: 2px; background: #7fe0d6; }
.breadcrumb { border-bottom: 1px solid var(--line); }
.breadcrumb ol { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 12px; color: var(--subtle); }
.breadcrumb a { color: var(--brand); }
.breadcrumb a:hover { text-decoration: underline; }

/* In-page anchor nav */
.anchor-nav { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 0; border: 1px solid var(--line); margin-bottom: clamp(64px, 8vw, 100px); }
.anchor-nav a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; font-weight: 700; font-size: 14.5px; border-right: 1px solid var(--line); transition: background .25s, color .25s; }
.anchor-nav a:last-child { border-right: 0; }
.anchor-nav a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg) translateY(-3px); flex: none; }
.anchor-nav a:hover { background: var(--bg-blue); color: var(--brand); }
@media (max-width: 800px) { .anchor-nav { grid-template-columns: 1fr 1fr; } .anchor-nav a:nth-child(2n) { border-right: 0; } .anchor-nav a { border-bottom: 1px solid var(--line); } }

.block + .block { margin-top: clamp(80px, 10vw, 130px); }
.block-title { display: flex; align-items: baseline; gap: 18px; padding-bottom: 18px; margin-bottom: 40px; border-bottom: 1px solid var(--line); position: relative; }
.block-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 80px; height: 3px; background: var(--brand); }
.block-title h2 { font-size: clamp(22px, 2.3vw, 28px); }
.block-title .label-en { color: var(--subtle); }
.lead-text { font-size: clamp(15.5px, 1.3vw, 17px); line-height: 2.1; color: var(--text); max-width: 860px; }

/* ---------- Funnel ---------- */
.funnel { display: grid; gap: 14px; }
.funnel-row { display: grid; grid-template-columns: 240px 1fr 120px; gap: 24px; align-items: center; }
.funnel-row .nm { font-weight: 700; font-size: 14.5px; }
.funnel-bar { height: 44px; background: var(--bg-gray); position: relative; overflow: hidden; }
.funnel-bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width 1.6s var(--ease); }
.js .funnel:not(.in) .funnel-bar i { width: 0; }
.funnel-row .count { font-family: var(--f-en); font-size: 30px; text-align: right; color: var(--brand); letter-spacing: .02em; }
.funnel-note { margin-top: 18px; font-size: 12.5px; color: var(--subtle); }
@media (max-width: 700px) { .funnel-row { grid-template-columns: 1fr 90px; gap: 6px 16px; } .funnel-row .nm { grid-column: 1 / -1; } .funnel-row .count { font-size: 22px; } }

/* ---------- Feature grid (bordered) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat { padding: 36px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.feat .hd { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.feat .no { font-family: var(--f-en); font-size: 14px; color: var(--accent); letter-spacing: .1em; }
.feat .ic { width: 48px; height: 48px; display: grid; place-items: center; background: var(--bg-blue); color: var(--brand); flex: none; }
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 18px; line-height: 1.5; }
.feat p { color: var(--muted); font-size: 14.5px; line-height: 1.95; }
.feat-grid.two { grid-template-columns: repeat(2, 1fr); }
.feat-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .feat-grid, .feat-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feat-grid, .feat-grid.two, .feat-grid.four { grid-template-columns: 1fr; } }

/* ---------- Pipeline table ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter button { height: 40px; padding: 0 18px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .2s; }
.filter button:hover { border-color: var(--brand); color: var(--brand); }
.filter button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pl-table-wrap { overflow-x: auto; border-top: 2px solid var(--brand); }
.pl-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.pl-table th { background: var(--bg-gray); text-align: left; font-weight: 700; font-size: 13px; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pl-table td { padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pl-table .sp { font-style: italic; font-weight: 700; letter-spacing: .02em; }
.pl-table .id { font-family: var(--f-en); font-size: 12.5px; color: var(--subtle); letter-spacing: .06em; }
.stage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; min-width: 260px; }
.stage span { height: 28px; background: var(--bg-gray); color: var(--subtle); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; letter-spacing: .04em; }
.stage span.on { background: var(--brand); color: #fff; }
.stage span.on:last-child { background: var(--accent); }
.pl-note { margin-top: 14px; font-size: 12.5px; color: var(--subtle); }

/* ---------- Process (gates) ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.proc { position: relative; padding: 32px 24px 28px; background: #fff; border: 1px solid var(--line); margin-right: -1px; }
.proc .st { font-family: var(--f-en); font-size: 12px; letter-spacing: .2em; color: var(--accent); }
.proc .n { font-family: var(--f-en); font-size: 44px; line-height: 1; color: var(--brand); margin: 6px 0 14px; }
.proc h4 { font-size: 17px; margin-bottom: 8px; }
.proc p { font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.proc:not(:last-child)::after { content: ""; position: absolute; z-index: 2; right: -14px; top: 50%; width: 26px; height: 26px; background: var(--brand); clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateY(-50%) scale(.6); }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr; } .proc { margin-right: 0; margin-bottom: -1px; } .proc::after { display: none; } }

/* ---------- Capability list with image ---------- */
.cap-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cap-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cap-list .n { font-family: var(--f-en); font-size: 22px; color: var(--brand); line-height: 1.4; }
.cap-list h4 { font-size: 16.5px; margin-bottom: 4px; }
.cap-list p { color: var(--muted); font-size: 14px; line-height: 1.9; }

/* ---------- Vision / values ---------- */
.vision { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.vis { padding: 40px 32px; background: #fff; border-top: 3px solid var(--brand); }
.vis .label-en { display: block; margin-bottom: 8px; }
.vis h3 { font-size: 21px; line-height: 1.6; margin-bottom: 14px; }
.vis p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .vision { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 24px; gap: 12px; align-items: center; padding: 24px 0; font-weight: 700; font-size: 16px; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q, .faq .a .q { font-family: var(--f-en); font-size: 24px; color: var(--brand); font-weight: 500; }
.faq summary .tg { width: 16px; height: 16px; position: relative; }
.faq summary .tg::before, .faq summary .tg::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--brand); transition: transform .3s var(--ease); }
.faq summary .tg::after { transform: rotate(90deg); }
.faq details[open] summary .tg::after { transform: rotate(0); }
.faq .a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 0 0 26px; }
.faq .a .q { color: var(--accent); }
.faq .a p { color: var(--muted); padding-top: 4px; }

/* ---------- Contact ---------- */
.contact-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 72px; }
.c-box { padding: 32px 28px; background: var(--bg-gray); }
.c-box .label-en { display: block; margin-bottom: 4px; }
.c-box h3 { font-size: 17px; margin-bottom: 10px; }
.c-box p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.c-box a { color: var(--brand); font-weight: 700; word-break: break-all; }
@media (max-width: 900px) { .contact-intro { grid-template-columns: 1fr; } }
.form-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--brand); }
.form-table th, .form-table td { padding: 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.form-table th { width: 30%; background: var(--bg-gray); font-size: 15px; font-weight: 700; padding-top: 34px; }
.req, .opt { display: inline-block; margin-left: 10px; padding: 0 8px; font-size: 11.5px; line-height: 1.9; color: #fff; background: #c8102e; vertical-align: 2px; letter-spacing: .06em; }
.opt { background: var(--subtle); }
.form-table input[type=text], .form-table input[type=email], .form-table input[type=tel], .form-table select, .form-table textarea { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); background: #fff; outline: none; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.form-table textarea { height: 200px; padding: 14px 16px; resize: vertical; line-height: 1.8; }
.form-table input:focus, .form-table select:focus, .form-table textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,59,122,.12); }
.radios { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; }
.radios input { width: 18px; height: 18px; accent-color: var(--brand); }
.form-foot { text-align: center; margin-top: 40px; }
.form-foot .consent { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; margin-bottom: 32px; cursor: pointer; }
.form-foot .consent input { width: 18px; height: 18px; accent-color: var(--brand); }
.form-foot .btn { min-width: 320px; }
@media (max-width: 640px) { .form-table th, .form-table td { display: block; width: 100%; } .form-table th { padding: 16px 16px 12px; } .form-table td { padding: 16px; } .form-foot .btn { min-width: 0; width: 100%; } }
.form-success { display: none; text-align: center; padding: 72px 24px; border: 1px solid var(--line); }
.form-wrap.sent form { display: none; }
.form-wrap.sent .form-success { display: block; }
.form-success .ok { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: grid; place-items: center; }
.form-success .ok svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 22px; margin-bottom: 12px; }
.form-success p { color: var(--muted); }

/* Access */
.access { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: center; }
.access-img { grid-column: 1 / span 5; }
.access-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.access-body { grid-column: 7 / span 6; }
.access-body h3 { font-size: 20px; margin-bottom: 20px; }
.station { list-style: none; margin: 20px 0 0; padding: 0; }
.station li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.station li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--accent); }
@media (max-width: 900px) { .access-img, .access-body { grid-column: 1 / -1; } .access-body { margin-top: 36px; } }

/* ---------- Footer ---------- */
.page-top { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 52px; height: 52px; background: var(--brand); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .2s; border: 0; cursor: pointer; }
.page-top.show { opacity: 1; visibility: visible; }
.page-top:hover { background: var(--brand-dark); }
.page-top svg { width: 16px; height: 16px; transform: rotate(-90deg); }
.footer-cta { background: var(--brand); color: #fff; }
.footer-cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.footer-cta .en { font-family: var(--f-en); font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: .04em; line-height: 1.1; }
.footer-cta .jp { font-size: 14.5px; margin-top: 8px; color: rgba(255,255,255,.85); }
.site-footer { background: var(--navy); color: #fff; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; padding-bottom: 56px; }
.footer-info { grid-column: 1 / span 4; }
.footer-info .logo-text b { color: #fff; }
.footer-info .logo-text small { color: rgba(255,255,255,.6); }
.footer-info address { font-style: normal; margin-top: 24px; font-size: 13.5px; line-height: 1.9; color: rgba(255,255,255,.75); }
.footer-info address a { color: #fff; }
.footer-nav { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h4 { font-size: 14px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li a { display: block; padding: 4px 0; font-size: 13.5px; color: rgba(255,255,255,.72); transition: color .2s; }
.footer-nav li a::before { content: "- "; color: rgba(255,255,255,.4); }
.footer-nav li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; padding-bottom: 22px; font-size: 12px; color: rgba(255,255,255,.55); }
.footer-bottom small { font-family: var(--f-en); letter-spacing: .08em; font-size: 12px; }
@media (max-width: 900px) { .footer-info, .footer-nav { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-nav { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-s { margin-top: 24px; } .mt-m { margin-top: 48px; } .mt-l { margin-top: 80px; }
.center { text-align: center; }
.note { font-size: 12.5px; color: var(--subtle); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--brand); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
