/*
Theme Name: chizu
Theme URI: https://chizu-inc.co.jp/
Author: 株式会社chizu
Description: 株式会社chizu コーポレートサイト用オリジナルテーマ（地図モチーフ）
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: chizu
*/

:root {
  --ink: #14243B;
  --paper: #EEF0EB;
  --paper2: #F6F7F3;
  --muted: #4E5A68;
  --body: #3D4A5A;
  --body2: #2B3747;
  --ph: #E3E6E0;
  --on-dark: #C9CFD6;
  --accent: #C2531B;
  --req: #A8461A;
  --line: rgba(20, 36, 59, .16);
  --line2: rgba(20, 36, 59, .2);
  --line-dark: rgba(238, 240, 235, .3);
  --f-jp: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-jp); font-size: 15px; line-height: 1.8; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: #000; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
button { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mono { font-family: var(--f-mono); }
.icon { width: 14px; height: 14px; flex: none; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.coord-strip { border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.coord-strip .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.site-logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-logo img { max-height: 52px; width: auto; }
.wordmark { font-family: var(--f-serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--ink); }
.wordmark span { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav__links { display: flex; gap: 28px; list-style: none; padding: 0; margin: 0; font-size: 13px; letter-spacing: .14em; font-weight: 500; }
.site-nav__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); text-underline-offset: 8px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.site-nav__links a:hover, .site-nav__links a.is-current { text-decoration-line: underline; }
.btn-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-size: 13px; letter-spacing: .14em; font-weight: 500; }
.btn-pill:hover { color: #fff; background: #0c1828; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.menu-btn .icon { width: 18px; height: 18px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); color: var(--paper); padding: 24px 24px 40px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; min-height: 64px; border-bottom: 1px solid rgba(238,240,235,.2); color: var(--paper); text-decoration: none; font-size: 18px; letter-spacing: .14em; }
.mobile-menu li a span { font-size: 12px; color: var(--on-dark); letter-spacing: .08em; }
.mobile-menu__cta { margin-top: 28px; display: flex; justify-content: center; align-items: center; min-height: 56px; border-radius: 999px; background: var(--paper); color: var(--ink) !important; text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: .12em; }
@media (max-width: 960px) {
  .site-nav__links, .site-nav .btn-pill { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- common section parts ---------- */
.sec { padding-top: 128px; padding-bottom: 128px; border-bottom: 1px solid var(--line); }
.sec--alt { background: var(--paper2); }
.sec--dark { position: relative; background: var(--ink); color: var(--paper); border-bottom: 0; }
.sec--dark a { color: var(--paper); }
.sec__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.sec--dark > .container { position: relative; }
@media (max-width: 760px) { .sec { padding-top: 88px; padding-bottom: 88px; } }

.label { display: flex; gap: 14px; align-items: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; }
.label__num { color: var(--accent); font-weight: 500; }
.label__bar { width: 40px; height: 1px; background: currentColor; }
.label__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); flex: none; }
.label__dia { width: 11px; height: 11px; background: var(--ink); transform: rotate(45deg); flex: none; }
.label__sq { width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 2px; flex: none; }
.h-display { font-family: var(--f-serif); font-weight: 400; font-size: clamp(48px, 6vw, 88px); line-height: 1; }
.h-jp { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.5; letter-spacing: .04em; font-weight: 700; }
.h-sub { font-family: var(--f-serif); font-style: italic; font-size: 26px; color: var(--muted); line-height: 1.4; }
.lead { font-size: 15px; line-height: 2; color: var(--body); }
.prose { display: flex; flex-direction: column; gap: 24px; font-size: 16px; line-height: 2.1; color: var(--body2); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack--sm { gap: 20px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 56px 96px; }
.split--center { align-items: center; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-head .lead { max-width: 420px; }
.link-arrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; color: var(--ink); }
.btn-outline { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 32px; border-radius: 999px; border: 1px solid currentColor; text-decoration: none; font-size: 14px; letter-spacing: .12em; }
.ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ph); }
.ph::before { content: ""; position: absolute; inset: 0; background: url("assets/img/contour-hero.svg") center / cover no-repeat; opacity: .55; }
.ph span { position: absolute; left: 16px; bottom: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.ph img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.ph--43 { aspect-ratio: 4 / 3; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 760px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero__route { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__pin { position: absolute; left: 76%; top: 43%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero__pin-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; background: var(--ink); color: var(--paper); padding: 6px 10px; border-radius: 4px; white-space: nowrap; }
.hero__inner { position: relative; display: flex; flex-direction: column; gap: 32px; padding-top: 120px; padding-bottom: 96px; }
.hero__eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.hero__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(56px, 9vw, 132px); line-height: .95; letter-spacing: -.01em; max-width: 900px; }
.hero__copy { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.hero__catch { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: .06em; line-height: 1.6; }
.hero__scroll { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-decoration: none; }
.hero__scroll span { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); align-items: center; justify-content: center; }
.legend { position: absolute; right: 24px; bottom: 24px; background: rgba(238,240,235,.92); border: 1px solid rgba(20,36,59,.25); padding: 14px 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; display: flex; flex-direction: column; gap: 8px; min-width: 220px; }
.legend__title { color: var(--muted); }
.legend__item { display: flex; align-items: center; gap: 10px; }
.mk-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.mk-dia { width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); flex: none; }
.mk-sq { width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 2px; flex: none; }
@media (max-width: 760px) {
  .hero { min-height: 640px; }
  .hero__pin, .legend { display: none; }
  .hero__inner { padding-top: 88px; }
}

/* ---------- business cards (top) ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.biz-card { padding: 40px 32px 48px; display: flex; flex-direction: column; gap: 22px; border-bottom: 1px solid var(--line2); }
.biz-card + .biz-card { border-left: 1px solid var(--line2); }
.biz-card:first-child { padding-left: 0; }
.biz-card:last-child { padding-right: 0; }
.biz-card__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.biz-card__title { display: flex; flex-direction: column; gap: 6px; }
.biz-card__title span { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--muted); }
.biz-card__title h3 { font-size: 24px; letter-spacing: .06em; }
@media (max-width: 960px) {
  .biz-grid { grid-template-columns: minmax(0, 1fr); }
  .biz-card, .biz-card:first-child, .biz-card:last-child { padding-left: 0; padding-right: 0; }
  .biz-card + .biz-card { border-left: 0; }
}

/* ---------- brands / map ---------- */
.brands-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px 64px; align-items: end; }
.brand-link { text-decoration: none; border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.brand-link__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand-link__name { font-size: 32px; font-weight: 700; letter-spacing: .12em; }
.brand-link__meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; display: inline-flex; align-items: center; gap: 8px; }
.brand-link__desc { font-size: 14px; line-height: 1.9; color: var(--on-dark); }
.on-dark-lead { color: var(--on-dark); }
.center { align-self: center; }

.storemap { display: flex; flex-direction: column; gap: 20px; color: var(--paper); }
.storemap__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.storemap figure { display: flex; flex-direction: column; gap: 12px; }
.storemap figcaption { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--on-dark); }
.map-box { position: relative; width: 100%; aspect-ratio: 56 / 50; border: 1px solid rgba(238,240,235,.35); background: rgba(10,22,40,.5); overflow: hidden; }
.map-box svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-tag { position: absolute; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--on-dark); }
.pin { position: absolute; display: flex; align-items: center; gap: 8px; transform: translate(-6px, -6px); font-size: 13px; letter-spacing: .08em; white-space: nowrap; }
.pin--left { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -6px); }
.pin--up { flex-direction: column-reverse; align-items: flex-start; gap: 4px; transform: translate(-6px, calc(-100% + 6px)); }
.pin__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(238,240,235,.15); flex: none; }
.pin__dot--alt { background: var(--paper); }
.pin__hq { width: 14px; height: 14px; background: var(--paper); transform: rotate(45deg); flex: none; margin-right: 2px; }
.pin-cluster { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(238,240,235,.2); transform: translate(-50%, -50%); }
.pin-callout { position: absolute; transform: translate(-50%, -100%); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; background: var(--paper); color: var(--ink); padding: 4px 8px; border-radius: 3px; white-space: nowrap; }
.storemap__legend { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--on-dark); }
.storemap__legend div { display: flex; gap: 24px; flex-wrap: wrap; }
.storemap__legend span { display: inline-flex; align-items: center; gap: 8px; }
.mk-dot--alt { background: var(--paper); }
.mk-dia--alt { background: var(--paper); }
@media (max-width: 480px) { .pin { font-size: 11px; gap: 6px; } }
@media (max-width: 760px) { .prose br { display: none; } }

/* ---------- news ---------- */
.news-wrap { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.news-wrap__head { flex: 1 1 280px; display: flex; flex-direction: column; gap: 20px; align-self: flex-start; }
.news-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.news-row { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line2); text-decoration: none; color: var(--ink); }
.news-row:hover { background: rgba(20,36,59,.04); color: var(--ink); }
.news-row__date { width: 100px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.news-row__cat { font-size: 11px; letter-spacing: .08em; border: 1px solid rgba(20,36,59,.4); border-radius: 999px; padding: 4px 12px; white-space: nowrap; line-height: 1.6; }
.news-row__title { flex: 1 1 300px; min-width: 0; font-size: 15px; line-height: 1.7; font-weight: 500; }
.news-empty { padding: 48px 8px; color: var(--muted); border-bottom: 1px solid var(--line2); }
.cat-filter { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; }
.cat-filter a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--ink); text-decoration: none; font-size: 13px; letter-spacing: .08em; }
.cat-filter a.is-current { background: var(--ink); color: var(--paper); }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; font-family: var(--f-mono); font-size: 13px; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; padding: 0 12px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(20,36,59,.3); text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.narrow { max-width: 1080px; }

/* ---------- profile ---------- */
.profile { display: flex; flex-direction: column; border-top: 1px solid var(--ink); font-size: 15px; line-height: 1.8; }
.profile > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line2); }
.profile dt { color: var(--muted); }
@media (max-width: 480px) { .profile > div { grid-template-columns: 100px minmax(0, 1fr); } }

/* ---------- CTA + footer ---------- */
.cta { background: var(--accent); color: #fff; }
.cta .container { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; padding-top: 112px; padding-bottom: 112px; }
.cta__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(44px, 5.4vw, 80px); line-height: 1; }
.cta__btn { display: inline-flex; align-items: center; gap: 18px; min-height: 72px; padding: 0 40px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 700; letter-spacing: .1em; }
.cta__btn:hover { color: var(--ink); background: var(--paper); }
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer .container { display: flex; flex-direction: column; gap: 56px; padding-top: 72px; padding-bottom: 32px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; font-size: 13px; line-height: 1.9; color: var(--on-dark); }
.site-footer__brand .wordmark { font-size: 48px; color: var(--paper); }
.site-footer__brand img { max-height: 56px; width: auto; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 56px; list-style: none; padding: 0; margin: 0; font-size: 13px; letter-spacing: .14em; }
.site-footer__nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(238,240,235,.2); padding-top: 24px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--on-dark); }
.site-footer__bottom a { color: var(--on-dark); text-decoration: underline; }

/* ---------- page hero ---------- */
.page-hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 30%; opacity: .8; }
.page-hero .container { position: relative; display: flex; flex-direction: column; gap: 24px; padding-top: 88px; padding-bottom: 96px; }
.breadcrumb { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.page-hero h1 { display: flex; flex-direction: column; gap: 18px; }
.page-hero__en { font-family: var(--f-serif); font-weight: 400; font-size: clamp(56px, 8vw, 120px); line-height: .95; }
.page-hero__ja { font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; letter-spacing: .2em; display: flex; align-items: center; gap: 14px; }
.page-hero__ja::before { content: ""; width: 32px; height: 2px; background: var(--accent); }
.page-hero .lead { max-width: 600px; }
.page-hero--post .page-hero__en { font-family: var(--f-jp); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.6; letter-spacing: .04em; }

/* ---------- business page ---------- */
.biz-index { border-bottom: 1px solid var(--line); }
.biz-index ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); list-style: none; margin: 0 auto; }
.biz-index a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 96px; padding: 0 24px; text-decoration: none; border-bottom: 1px solid var(--line); }
.biz-index li + li a { border-left: 1px solid var(--line); }
.biz-index li:first-child a { padding-left: 0; }
.biz-index__num { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.biz-index__name { display: block; font-size: 16px; font-weight: 700; letter-spacing: .06em; }
@media (max-width: 760px) { .biz-index li + li a { border-left: 0; } .biz-index a { padding: 0; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line2); }
.facts > div { padding: 32px 24px; display: flex; flex-direction: column; gap: 10px; }
.facts > div:first-child { padding-left: 0; }
.facts > div + div { border-left: 1px solid var(--line2); }
.facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.facts__num { font-family: var(--f-serif); font-size: 64px; line-height: 1; }
.facts__txt { font-size: 22px; font-weight: 700; line-height: 1.6; letter-spacing: .06em; }
@media (max-width: 760px) { .facts > div { padding-left: 0; } .facts > div + div { border-left: 0; border-top: 1px solid var(--line2); } }
.brand-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.brand-card { text-decoration: none; background: var(--paper2); border: 1px solid var(--line2); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.brand-card__row { display: flex; justify-content: space-between; align-items: center; }
.brand-card__name { font-size: 36px; font-weight: 700; letter-spacing: .14em; }
.brand-card__sub { font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.brand-card__url { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 480px) { .brand-card { padding: 28px; } }
.store-area { display: flex; flex-direction: column; gap: 20px; }
.store-area h3 { display: flex; align-items: center; gap: 16px; font-size: 18px; letter-spacing: .14em; }
.store-area h3 small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--on-dark); }
.store-area h3::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; list-style: none; padding: 0; }
.store-card { text-decoration: none; border: 1px solid rgba(238,240,235,.25); background: rgba(10,22,40,.45); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 150px; height: 100%; }
a.store-card:hover { border-color: rgba(238,240,235,.6); }
.store-card__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--on-dark); }
.store-card__name { font-size: 20px; font-weight: 700; letter-spacing: .08em; }
.store-card__addr { font-size: 13px; line-height: 1.8; color: var(--on-dark); }
.num-list { list-style: none; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--ink); align-self: center; }
.num-list li { padding: 32px 0; border-bottom: 1px solid var(--line2); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
.num-list__n { font-family: var(--f-serif); font-size: 36px; line-height: 1; color: var(--accent); }
.num-list__t { display: block; font-size: 18px; font-weight: 700; letter-spacing: .06em; margin-bottom: 8px; }
.num-list__d { display: block; font-size: 14px; line-height: 1.9; color: var(--body); }

/* ---------- company page ---------- */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); list-style: none; padding: 0; }
.points li { padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--line2); }
.points li:first-child { padding-left: 0; }
.points li:last-child { padding-right: 0; }
.points li + li { border-left: 1px solid var(--line2); }
.points__en { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.points__t { font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.points__d { font-size: 15px; line-height: 2; color: var(--body); }
@media (max-width: 960px) { .points { grid-template-columns: minmax(0, 1fr); } .points li, .points li:first-child, .points li:last-child { padding-left: 0; padding-right: 0; } .points li + li { border-left: 0; } }
.stations { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--body); }
.stations li { display: flex; gap: 12px; align-items: center; }
.map-embed { position: relative; aspect-ratio: 4 / 3; border: 1px solid rgba(20,36,59,.25); background: var(--ph); overflow: hidden; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4); }
.map-embed__fallback { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; text-align: center; }
.map-embed__fallback::before { content: ""; position: absolute; inset: 0; background: url("assets/img/contour-hero.svg") center / cover no-repeat; opacity: .6; }
.map-embed__fallback > * { position: relative; }

/* ---------- contact page ---------- */
.contact-layout { display: flex; flex-wrap: wrap; gap: 56px 96px; padding-top: 96px; padding-bottom: 128px; }
.contact-aside { flex: 1 1 260px; display: flex; flex-direction: column; gap: 28px; align-self: flex-start; }
.contact-main { flex: 999 1 560px; min-width: 0; border-top: 1px solid var(--ink); padding-top: 40px; }
.steps { list-style: none; padding: 0; border-left: 2px dashed var(--accent); }
.steps li { position: relative; padding: 0 0 28px 24px; display: flex; flex-direction: column; gap: 4px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.steps li:first-child::before { background: var(--accent); }
.steps small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.steps strong { font-size: 15px; }
.note { font-size: 13px; line-height: 2; color: var(--muted); }

/* Contact Form 7 */
.contact-main p { margin: 0 0 24px; }
.contact-main label { display: block; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.contact-main .wpcf7-form-control-wrap { display: block; margin-top: 10px; }
.contact-main input[type="text"], .contact-main input[type="email"], .contact-main input[type="tel"], .contact-main input[type="url"], .contact-main input[type="number"], .contact-main select, .contact-main textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid rgba(20,36,59,.35); border-radius: 4px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); font-weight: 400; letter-spacing: 0;
}
.contact-main textarea { min-height: 200px; line-height: 1.8; resize: vertical; }
.contact-main input:focus, .contact-main select:focus, .contact-main textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.contact-main .wpcf7-list-item { margin: 0 10px 10px 0; display: inline-flex; }
.contact-main .wpcf7-radio .wpcf7-list-item label, .contact-main .wpcf7-checkbox .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(20,36,59,.35); border-radius: 999px; background: #fff; font-weight: 400; cursor: pointer; }
.contact-main .wpcf7-acceptance .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 400; }
.contact-main input[type="submit"], .contact-main button[type="submit"] { display: inline-flex; align-items: center; min-height: 64px; padding: 0 56px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font: inherit; font-size: 16px; font-weight: 700; letter-spacing: .12em; cursor: pointer; }
.contact-main input[type="submit"]:hover { background: #0c1828; }
.contact-main .wpcf7-not-valid-tip { color: var(--req); font-size: 13px; margin-top: 6px; font-weight: 400; }
.contact-main .wpcf7-response-output { margin: 24px 0 0 !important; padding: 16px 20px !important; border-radius: 4px; font-size: 14px; }
.contact-main .wpcf7-spinner { vertical-align: middle; }

/* ---------- entry (posts, generic pages) ---------- */
.entry { max-width: 820px; margin: 0 auto; padding-top: 96px; padding-bottom: 128px; }
.entry__meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 40px; }
.entry__thumb { margin-bottom: 48px; }
.entry-content { font-size: 16px; line-height: 2.1; color: var(--body2); }
.entry-content > * + * { margin-top: 1.6em; }
.entry-content h2 { font-size: 26px; line-height: 1.6; letter-spacing: .04em; color: var(--ink); padding-top: 24px; border-top: 1px solid var(--ink); margin-top: 2.4em; }
.entry-content h3 { font-size: 20px; line-height: 1.6; color: var(--ink); margin-top: 2em; }
.entry-content a { color: var(--ink); text-underline-offset: 4px; }
.entry-content img { margin: 0 auto; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 14px 12px; border-bottom: 1px solid var(--line2); text-align: left; vertical-align: top; }
.entry-content blockquote { margin-left: 0; padding-left: 24px; border-left: 2px solid var(--accent); color: var(--muted); }
.entry__back { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.alignwide { max-width: 1080px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
