@charset "UTF-8";
/* =========================================================
   株式会社ニューデータ  — site stylesheet
   依存ライブラリなし / 静的HTML用
   ========================================================= */

:root {
  --navy-950: #070f24;
  --navy-900: #0b1736;
  --navy-800: #13244f;
  --brand: #3d5a99;          /* ロゴの青 */
  --brand-600: #2f4a85;
  --accent: #2fa4d6;         /* 経営理念図のシアン */
  --accent-soft: #e6f4fb;
  --orange: #ee7d31;         /* 組織図のオレンジ */
  --green: #4f7f35;
  --ink: #1b2233;
  --ink-2: #4a5468;
  --ink-3: #7b8498;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-2: #f5f7fb;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --shadow-lg: 0 20px 48px rgba(11, 23, 54, .14);
  --max: 1160px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-en: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
  letter-spacing: .02em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; letter-spacing: .04em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 15px; font-weight: 700; letter-spacing: .06em; }
.brand-text span { font-family: var(--font-en); font-size: 11px; color: var(--ink-3); letter-spacing: .18em; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.nav a:hover { color: var(--brand); background: var(--bg-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); }
.nav .nav-cta a { background: var(--brand); color: #fff; padding: 8px 18px; margin-left: 8px; }
.nav .nav-cta a:hover { background: var(--brand-600); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  border-radius: 10px; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 27px; }
.nav-open .nav-toggle::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span { opacity: 0; }
.nav-open .nav-toggle::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
  .nav a { border-radius: 10px; padding: 12px 14px; font-size: 15px; }
  .nav .nav-cta a { margin: 8px 0 0; text-align: center; }
  /* JS無効時はメニューを常時表示 */
  .no-js .nav { display: block; position: static; box-shadow: none; }
  .no-js .nav-toggle { display: none; }
  .no-js .site-header .container { height: auto; flex-wrap: wrap; padding-top: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(47, 164, 214, .35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(61, 90, 153, .55), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
}
.hero-pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; pointer-events: none; }
.hero .container { position: relative; padding-top: 120px; padding-bottom: 128px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
  color: #9fd8f1;
}
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.hero h1 {
  margin-top: 20px;
  font-family: var(--font-en); font-weight: 300; letter-spacing: .01em;
  font-size: clamp(48px, 9vw, 104px); line-height: 1.02;
}
.hero h1 b { font-weight: 700; background: linear-gradient(90deg, #fff, #8fd3f2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin-top: 28px; max-width: 640px; font-size: clamp(16px, 2vw, 19px); color: #d3dcf0; line-height: 2; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--navy-900); }
.btn-primary:hover { background: #e9f6fc; }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-600); }
.btn-outline { border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(47, 164, 214, .35), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.page-hero .container { position: relative; padding-top: 72px; padding-bottom: 72px; }
.page-hero .en { font-family: var(--font-en); font-size: 13px; letter-spacing: .3em; color: #9fd8f1; text-transform: uppercase; }
.page-hero h1 { margin-top: 8px; font-size: clamp(28px, 4vw, 40px); }
.page-hero p { margin-top: 14px; color: #c9d3ea; max-width: 720px; }

.breadcrumb { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 13px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b5bccb; }
.breadcrumb a { color: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin-left: auto; margin-right: auto; }
.section-label {
  font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .28em;
  color: var(--accent); text-transform: uppercase;
}
.section-title { margin-top: 10px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.section-desc { margin-top: 18px; max-width: 680px; color: var(--ink-2); }

@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card { display: block; color: inherit; }
a.card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfd8ea; }
.card h3 { font-size: 19px; margin-top: 20px; }
.card p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.card .more { margin-top: 20px; display: inline-flex; gap: 6px; font-size: 14px; font-weight: 700; color: var(--brand); }

.icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-soft), #eef1fa);
  color: var(--brand);
}
.icon svg { width: 26px; height: 26px; }

/* about feature (home) */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 40px; } }
.feature-visual {
  position: relative; aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-lg);
}
.feature-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 4px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fa4d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 28px 24px; }
.stat .num { font-family: var(--font-en); font-size: 30px; font-weight: 700; color: var(--navy-900); letter-spacing: 0; }
.stat .num small { font-family: var(--font); font-size: 14px; margin-left: 4px; color: var(--ink-2); font-weight: 600; }
.stat .lbl { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Philosophy ---------- */
.philosophy { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .philosophy { grid-template-columns: 1fr; } }
.triad { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / .92; margin: 0 auto; isolation: isolate; }
.triad svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.triad .node {
  position: absolute; width: 40%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: #fff; font-weight: 800; font-size: clamp(15px, 2.2vw, 20px); color: var(--navy-900);
  box-shadow: 0 0 0 6px rgba(47, 164, 214, .12), var(--shadow);
  border: 3px solid var(--accent);
}
/* 水面のような輪：形が揺らぎ、ずれながらゆっくり回る（旧サイトの理念図を踏襲） */
.triad .wave {
  position: absolute; z-index: -1; pointer-events: none;
  border: 2px solid rgba(47, 164, 214, .5);
  border-radius: 48% 52% 45% 55% / 53% 47% 55% 45%;
  animation: wave-morph 7s ease-in-out infinite, wave-spin 14s linear infinite;
}
.triad .w1 { inset: -9px -6px -7px -10px; border-width: 3px; border-color: rgba(47, 164, 214, .55); }
.triad .w2 { inset: -5px -11px -10px -6px; border-color: rgba(47, 164, 214, .35); animation-duration: 9s, 19s; animation-direction: alternate, reverse; }
.triad .w3 { inset: -14px -12px -15px -13px; border-width: 1.5px; border-color: rgba(47, 164, 214, .2); animation-duration: 11s, 25s; }
.triad .n2 .wave { animation-delay: -2.3s, -6s; }
.triad .n3 .wave { animation-delay: -4.7s, -11s; }

.triad svg.lines path { animation: dash-flow 1.8s linear infinite; }
@keyframes wave-morph {
  0%, 100% { border-radius: 48% 52% 45% 55% / 53% 47% 55% 45%; }
  33% { border-radius: 55% 45% 52% 48% / 45% 55% 47% 53%; }
  66% { border-radius: 44% 56% 57% 43% / 52% 46% 54% 48%; }
}
@keyframes wave-spin { to { transform: rotate(360deg); } }
@keyframes dash-flow { to { stroke-dashoffset: -8; } }
.triad .node small { display: block; font-family: var(--font-en); font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: .14em; margin-top: 2px; }
.triad .n1 { left: 30%; top: 0; }
.triad .n2 { left: 0; bottom: 0; }
.triad .n3 { right: 0; bottom: 0; }

.ph-list { display: grid; gap: 16px; }
.ph-item { display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 24px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-left: 4px solid var(--accent); }
.ph-item h3 { font-size: 17px; color: var(--brand); }
.ph-item h3 span { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: var(--ink-3); font-weight: 600; }
.ph-item p { color: var(--ink); }
@media (max-width: 560px) { .ph-item { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Tables ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 20px 28px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 30%; background: var(--bg-2); font-weight: 700; font-size: 15px; color: var(--navy-800); }
.info-table td { font-size: 15px; }
.info-table .sub { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); margin-top: 2px; }
.info-table .val { font-family: var(--font-en); font-size: 20px; font-weight: 700; color: var(--navy-900); }
.info-table .unit { font-weight: 600; margin-left: 2px; }
/* 見出し列は最長の見出しに合わせ、値の開始位置を揃える */
.dl-rows { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; }
.dl-rows div { display: contents; }
.dl-rows dt { color: var(--ink-3); font-size: 14px; }
.dl-rows dd { margin: 0; }
@media (max-width: 640px) {
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { padding: 14px 20px 10px; border-bottom: 0; }
  .info-table td { padding: 12px 20px 18px; }
}

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table thead th { background: var(--bg-2); font-size: 13px; color: var(--ink-2); font-weight: 700; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Org chart ---------- */
.org { --c-line: #9fb2d8; --gap: 22px; display: flex; flex-direction: column; align-items: center; padding: 8px 0; }
.org-box {
  position: relative; display: inline-block; min-width: 192px; padding: 12px 28px; border-radius: 10px;
  text-align: center; font-weight: 700; font-size: 15px; color: #fff; background: var(--brand);
  box-shadow: 0 4px 12px rgba(61, 90, 153, .2);
}
.org-box.dept { min-width: 152px; background: var(--orange); box-shadow: 0 4px 12px rgba(238, 125, 49, .22); }
.org-box.sub { min-width: 0; background: var(--green); box-shadow: 0 4px 12px rgba(79, 127, 53, .2); }
.org-v { width: 2px; height: var(--gap); background: var(--c-line); }
.org-v-top { height: calc(var(--gap) * 2); }

/* 監査役：株主総会〜取締役会の線から右へ分岐。段の間隔は全段 gap×2 で統一 */
.org-v-audit { position: relative; }
.org-v-audit::after { content: ""; position: absolute; left: 2px; top: 50%; width: 132px; height: 2px; background: var(--c-line); }
.org-v-audit .audit {
  position: absolute; left: 134px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: #fff; color: var(--brand); border: 2px solid var(--brand); box-shadow: none; min-width: 136px; padding: 10px 24px;
}

/* 分岐線：各子要素が自分の上に横線の左右半分と縦線を描く（子の幅が違っても中心に揃う） */
.org-branch { display: flex; justify-content: center; align-items: flex-start; }
.org-col { position: relative; display: flex; flex-direction: column; align-items: center; padding: var(--gap) 14px 0; }
.org-col::before, .org-col::after { content: ""; position: absolute; top: 0; width: 50%; height: 2px; background: var(--c-line); }
.org-col::before { left: 0; }
.org-col::after { right: 0; }
.org-col:first-child::before, .org-col:last-child::after { display: none; }
.org-col > .org-box:first-child::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: var(--gap); margin-left: -1px; background: var(--c-line); }
.org-branch.small > .org-col { padding-left: 7px; padding-right: 7px; }
.org-branch.small .org-box { padding-left: 24px; padding-right: 24px; }

@media (max-width: 720px) {
  .org { --gap: 18px; }
  .org-box { min-width: 0; padding: 10px 16px; font-size: 14px; }
  .org > .org-box { min-width: 128px; }
  .org-box.dept { min-width: 0; padding: 10px 16px; }
  .org-col { padding-left: 5px; padding-right: 5px; }
  .org-branch.small > .org-col { padding-left: 3px; padding-right: 3px; }
  /* 開発部配下は元の組織図と同じ縦書き */
  .org-branch.small .org-box { writing-mode: vertical-rl; -webkit-writing-mode: vertical-rl; padding: 12px 9px; font-size: 13px; letter-spacing: .15em; }
  .org-v-audit::after { width: 84px; }
  .org-v-audit .audit { left: 86px; min-width: 0; padding: 8px 16px; }
}

/* ---------- Partners ---------- */
.partner { display: flex; align-items: center; gap: 24px; }
.partner-logo { flex: 0 0 140px; height: 72px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; background: #fff; padding: 10px; }
.partner-logo img { max-height: 48px; width: auto; }
.partner h3 { margin-top: 0; font-size: 17px; }
.partner p { margin-top: 4px; font-size: 14px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: #1b7aa6; margin-right: 6px; }

/* ---------- Map ---------- */
.map { margin-top: 20px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
@supports not (aspect-ratio: 1) { .map { position: relative; height: 0; padding-top: 75%; } .map iframe { position: absolute; inset: 0; } }

/* ---------- マージン率等の情報公開 ---------- */
.info-table td.td-split { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.btn-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border: 1px solid var(--brand); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--brand); background: #fff; vertical-align: middle; transition: background .2s, color .2s; }
.btn-chip:hover { background: var(--brand); color: #fff; text-decoration: none; }
.m-company { font-weight: 700; font-size: 18px; margin-bottom: 48px; }
.m-company span { display: block; margin-top: 2px; font-weight: 400; font-size: 14px; color: var(--ink-3); }
.m-stats + .note { margin-top: 16px; }
.m-train th, .m-train td { white-space: nowrap; }
.m-lead { color: var(--ink-2); margin: -8px 0 20px; }
.m-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.m-stat { grid-column: span 2; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.m-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfd8ea; }
.m-stat:nth-child(n+4) { grid-column: span 3; }
.m-lbl { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.m-val { margin-top: 8px; font-family: var(--font-en); font-size: 36px; font-weight: 700; line-height: 1.2; color: var(--navy-900); letter-spacing: 0; }
.m-val small { margin-left: 4px; font-family: var(--font); font-size: 15px; font-weight: 700; }
.m-per { margin-top: 6px; font-size: 12px; color: var(--ink-3); }
@media (max-width: 860px) { .m-stats { grid-template-columns: 1fr 1fr; } .m-stat, .m-stat:nth-child(n+4) { grid-column: span 1; } .m-stat:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .m-stats { grid-template-columns: 1fr; } .m-val { font-size: 30px; } }

/* ---------- Access page ---------- */
.ac-grid { display: grid; grid-template-columns: 1fr 1.25fr; grid-template-areas: "head ." "card map"; column-gap: 48px; }
.ac-info { display: contents; }
.ac-head { grid-area: head; }
.ac-info .ac-card { grid-area: card; }
.ac-map { grid-area: map; display: flex; }
.ac-grid + .ac-grid { margin-top: 88px; padding-top: 88px; border-top: 1px solid var(--line); }
.eyebrow-code { font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.ac-title { margin: 8px 0 28px; font-size: clamp(22px, 2.6vw, 28px); }
.ac-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.ac-row { padding: 20px 24px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.75; }
.ac-row:last-child { border-bottom: 0; }
.ac-lbl { margin-bottom: 6px; font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--ink-3); }
.ac-strong { font-weight: 700; font-size: 16px; }
.ac-mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 12px; color: var(--ink-3); }
.ac-muted { color: var(--ink-2); }
.ac-phone { font-family: var(--font-en); font-size: 22px; font-weight: 700; letter-spacing: .02em; }
.ac-trains { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ac-trains li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ac-grid .map { flex: 1; margin-top: 0; aspect-ratio: auto; min-height: 360px; border-radius: 18px; box-shadow: var(--shadow); }
@media (max-width: 900px) { .ac-grid { grid-template-columns: 1fr; grid-template-areas: "head" "card" "map"; } .ac-map { margin-top: 28px; } .ac-grid .map { aspect-ratio: 4 / 3; min-height: 0; } .ac-grid + .ac-grid { margin-top: 56px; padding-top: 56px; } }

/* 路線カラー（各事業者の公式ラインカラー） */
.line-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; color: #fff; }
.l-jr-sobu { background: #FFD400; color: #000; }      /* JR東日本 中央・総武線各駅停車 カナリアイエロー */
.l-toei-asakusa { background: #FF535F; }              /* 都営浅草線 「明るい赤」（旅客案内標識設置基準のDICカラー。公式色名はローズ） */
.l-midosuji { background: #E5171F; }                  /* Osaka Metro 御堂筋線 臙脂 */
.l-hankyu-kyoto { background: #23AC38; }              /* 阪急 京都線 */
.l-jr-kyoto { background: #0072BC; }                  /* JR西日本 JR京都線 */

/* ---------- Service detail ---------- */
.svc { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc-head .num { font-family: var(--font-en); font-size: 48px; font-weight: 200; color: var(--accent); line-height: 1; }
.svc-head h3 { margin-top: 14px; font-size: 22px; }
.svc-head .en { display: block; font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: var(--ink-3); margin-top: 6px; text-transform: uppercase; }
.svc-body p { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.chips li { font-size: 13px; padding: 6px 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); }
.chips li.chips-etc { padding: 6px 0; background: none; border: 0; border-radius: 0; }
@media (max-width: 820px) { .svc { grid-template-columns: 1fr; gap: 18px; } }

.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink-2); background: #fff; }
.toc a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

.subsection + .subsection { margin-top: 72px; }
.subsection > h2 { font-size: 22px; padding-left: 16px; border-left: 4px solid var(--brand); margin-bottom: 24px; }

/* ---------- CTA / Contact ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff; border-radius: 24px; padding: 64px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(47, 164, 214, .45), transparent 60%),
    linear-gradient(135deg, var(--brand), var(--navy-900));
}
.cta h2 { font-size: clamp(24px, 3vw, 32px); }
.cta p { color: #d6def0; margin-top: 12px; }
.contact-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
a.contact-item:hover { background: rgba(255, 255, 255, .14); text-decoration: none; }
.contact-item svg { flex: 0 0 24px; width: 24px; height: 24px; color: #9fd8f1; }
.contact-item .k { display: block; font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: #9fb4da; }
.contact-item .v { display: block; font-family: var(--font-en); font-size: 18px; font-weight: 700; letter-spacing: .02em; word-break: break-all; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .cta { padding: 40px 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #aab4cc; font-size: 14px; }
.site-footer a { color: #d5dcec; }
.footer-top { display: grid; grid-template-columns: 1.3fr .9fr .9fr 1.3fr; gap: 40px; padding: 72px 0 48px; }
.footer-brand .logo { display: inline-flex; background: #fff; border-radius: 10px; padding: 8px 12px; }
.footer-brand .logo img { height: 26px; }
.footer-brand p { margin-top: 18px; line-height: 1.9; font-size: 13px; }
.footer-brand .footer-tel { margin-top: 14px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .2em; font-family: var(--font-en); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: #7f8aa6; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .triad svg.lines path { animation: none; }
  .triad .wave { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .hero-pattern, .cta, .site-footer .footer-top { display: none; }
  .page-hero { background: none; color: #000; }
  .page-hero p, .page-hero .en { color: #000; }
  .section { padding: 24px 0; }
}

/* ---------- Utilities ---------- */
@media (max-width: 640px) { br.pc { display: none; } }
@media (max-width: 640px) {
  .dl-rows { grid-template-columns: 1fr; gap: 0; }
  .dl-rows div + div dt { margin-top: 12px; }
  .partner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .partner-logo { flex: 0 0 auto; width: 140px; }
}
