/* 株式会社RYUTECH */

:root {
  --ink: #16191c;
  --ink-2: #21262a;
  --ink-3: #2f363b;
  --steel: #56606a;
  --steel-2: #8b959c;
  --rule: #d3d8db;
  --rule-2: #e4e8ea;
  --concrete: #eceff0;
  --paper: #ffffff;
  --signal: #f5b400;
  --signal-2: #ffc933;
  --signal-deep: #8f6500;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: 24px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(22, 25, 28, .06), 0 10px 28px rgba(22, 25, 28, .09);
  --header-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  font-feature-settings: "palt" 0;
  word-break: auto-phrase;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-feature-settings: "palt" 1; letter-spacing: .04em; word-break: auto-phrase; }
p, li, dd { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--signal); color: var(--ink); padding: 8px 14px; font-weight: 700; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--signal); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.en { font-family: var(--font-en); letter-spacing: .12em; }
.nowrap { white-space: nowrap; }
br.sp { display: none; }
@media (max-width: 640px) { br.pc { display: none; } br.sp { display: inline; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-top: 4px solid var(--signal);
  border-bottom: 1px solid var(--rule-2);
  backdrop-filter: saturate(1.4) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-kabu { font-size: 11px; font-weight: 700; letter-spacing: .32em; color: var(--steel); margin-bottom: 4px; }
.brand-name { font-family: var(--font-en); font-weight: 800; font-size: 27px; letter-spacing: .07em; }

.gnav { display: flex; align-items: center; gap: 6px; }
.gnav a {
  position: relative; display: block; padding: 10px 14px;
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink);
}
.gnav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.gnav a:not(.btn):hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav .btn { margin-left: 10px; }

.nav-toggle {
  white-space: nowrap; flex-shrink: 0;
  display: none; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 14px; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-left: 2px; }
.btn--plain::after { display: none; }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: var(--signal-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: rgba(255, 255, 255, .08); }
.btn--line-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line-ink:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* ---------- hero (top) ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero-terrain { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .95; pointer-events: none; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(22, 25, 28, .94) 0%, rgba(22, 25, 28, .78) 42%, rgba(22, 25, 28, .2) 100%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 40px; padding-top: 88px; padding-bottom: 96px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; font-size: 14px; font-weight: 700; letter-spacing: .18em; color: var(--signal); }
.hero-eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--signal); }
.hero-title { font-size: clamp(36px, 5.4vw, 64px); font-weight: 900; line-height: 1.28; letter-spacing: .06em; margin-bottom: 28px; }
.hero-lead { max-width: 30em; font-size: 16.5px; line-height: 2; color: #d9dee1; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; max-width: 640px; margin-left: auto; }
.hero-figure figcaption { margin-top: 10px; text-align: right; font-size: 12px; color: var(--steel-2); letter-spacing: .08em; }

/* ---------- facts strip ---------- */
.facts { background: var(--ink-2); color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 24px 22px 26px; border-left: 1px solid rgba(255, 255, 255, .1); }
.fact:last-child { border-right: 1px solid rgba(255, 255, 255, .1); }
.fact dt { font-family: var(--font-en); font-size: 12.5px; font-weight: 600; letter-spacing: .2em; color: var(--signal); text-transform: uppercase; }
.fact dt span { font-family: var(--font-ja); letter-spacing: .1em; color: var(--steel-2); margin-left: 8px; font-weight: 500; }
.fact dd { margin-top: 6px; font-size: 15px; font-weight: 500; line-height: 1.7; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section--concrete { background: var(--concrete); }
.section--ink { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.section--tight { padding: 80px 0; }

.sec-head { margin-bottom: 52px; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-label { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-family: var(--font-en); font-size: 14px; font-weight: 700; letter-spacing: .24em; color: var(--steel); }
.sec-label .no { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 6px; background: var(--signal); color: var(--ink); letter-spacing: .04em; font-size: 15px; }
.section--ink .sec-label { color: var(--steel-2); }
.sec-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: .08em; }
.sec-lead { max-width: 46em; margin-top: 22px; color: var(--steel); font-size: 16px; }
.section--ink .sec-lead { color: #c9d0d4; }

/* ---------- work cards ---------- */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.work::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--signal); transform: scaleX(.18); transform-origin: left; transition: transform .35s ease; }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c4cacd; }
.work:hover::before { transform: scaleX(1); }
.work-fig { margin: 0; padding: 26px 22px 18px; background: var(--concrete); border-bottom: 1px solid var(--rule-2); }
.section--concrete .work-fig { background: #f6f7f7; }
.work-fig img { width: 100%; aspect-ratio: 8 / 5; object-fit: contain; }
.work-body { padding: 22px 24px 26px; }
.work-no { font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--signal-deep); }
.work-title { font-size: 20px; font-weight: 700; margin: 4px 0 10px; }
.work-text { font-size: 15px; color: var(--steel); line-height: 1.85; }
.works-more { margin-top: 44px; display: flex; justify-content: center; }

/* ---------- strengths ---------- */
.section--ink .terrain-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; pointer-events: none; }
.section--ink .wrap { position: relative; z-index: 1; }
.strengths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); }
.strength { background: rgba(22, 25, 28, .92); padding: 38px 36px 40px; transition: background-color .25s; }
.strength:hover { background: rgba(33, 38, 42, .96); }
.strength-no { font-family: var(--font-en); font-weight: 800; font-size: 46px; line-height: 1; color: var(--signal); letter-spacing: .04em; }
.strength-title { font-size: 21px; font-weight: 700; margin: 16px 0 12px; }
.strength-text { color: #c4cbd0; font-size: 15px; }

/* ---------- area ---------- */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--signal); font-weight: 700; font-size: 15px; }
.chip--main { background: var(--ink); color: #fff; border-color: var(--ink); border-left-color: var(--signal); }
.chip small { font-weight: 500; font-size: 12px; color: var(--steel-2); }
.area-map { margin: 0; position: relative; background: var(--paper); border: 1px solid var(--rule); padding: 18px; }
.area-map img { width: 100%; }
.area-map figcaption { font-size: 12px; color: var(--steel); margin-top: 10px; line-height: 1.6; text-wrap: pretty; }

/* ---------- flow ---------- */
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.flow-step { position: relative; padding: 0 14px; text-align: center; }
.flow-step::before { content: ""; position: absolute; top: 31px; left: 50%; right: -50%; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); z-index: 0; }
.flow-step:last-child::before { display: none; }
.flow-num { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; background: var(--signal); color: var(--ink); font-family: var(--font-en); font-weight: 800; font-size: 24px; letter-spacing: .02em; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.flow-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.flow-text { font-size: 14px; color: var(--steel); line-height: 1.8; text-align: left; }

/* ---------- news ---------- */
.news { border-top: 2px solid var(--ink); }
.news li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--rule); }
.news time { font-family: var(--font-en); font-weight: 700; font-size: 16px; letter-spacing: .1em; color: var(--steel); }

/* ---------- company summary / spec table ---------- */
.spec { border-top: 2px solid var(--ink); }
.spec-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-bottom: 1px solid var(--rule); }
.spec-row dt { position: relative; padding: 20px 22px 20px 26px; background: var(--concrete); font-weight: 700; font-size: 15px; }
.spec-row dt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--signal); }
.spec-row dd { padding: 20px 26px; font-size: 15.5px; background: var(--paper); }
.spec-row dd ol { list-style: none; counter-reset: obj; }
.spec-row dd ol li { counter-increment: obj; position: relative; padding-left: 2.2em; }
.spec-row dd ol li::before { content: "(" counter(obj) ")"; position: absolute; left: 0; color: var(--steel); }
.spec-row .note { display: block; font-size: 13px; color: var(--steel); margin-top: 4px; line-height: 1.7; }
.spec-row dd a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.consent a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--signal); color: var(--ink); }
.cta::before { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 280px; background: repeating-linear-gradient(-45deg, var(--ink) 0 22px, transparent 22px 44px); opacity: .9; clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
.cta .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
.cta-body { flex: 1 1 auto; min-width: 0; }
.cta-title { font-size: clamp(24px, 2.8vw, 32px); font-weight: 900; letter-spacing: .06em; }
.cta-text { margin-top: 10px; font-size: 15.5px; font-weight: 500; }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; flex-shrink: 0; margin-right: 210px; }
.cta-mail { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 20px; background: var(--paper); color: var(--ink); font-weight: 700; font-size: 15px; letter-spacing: .04em; border-radius: var(--radius); text-decoration: none; transition: background-color .2s; }
.cta-mail:hover { background: #fff7dc; }
.cta-mail-label { font-size: 12px; font-weight: 700; padding: 2px 8px; background: var(--ink); color: var(--signal); letter-spacing: .1em; }

/* ---------- page hero (sub pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.page-hero .terrain-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; pointer-events: none; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 25, 28, .92), rgba(22, 25, 28, .45)); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 68px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--steel-2); margin-bottom: 26px; }
.crumbs a { display: inline-block; padding: 12px 4px; margin: -12px -4px; color: #d9dee1; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--steel); }
.page-label { font-family: var(--font-en); font-weight: 700; font-size: 15px; letter-spacing: .28em; color: var(--signal); margin: 0 0 8px; }
.page-title { font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: .08em; }
.page-lead { margin-top: 18px; max-width: 44em; color: #d0d6d9; }

/* ---------- business page ---------- */
.biz { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--rule); }
.biz:first-of-type { padding-top: 0; }
.biz:last-of-type { border-bottom: 0; padding-bottom: 0; }
.biz:nth-of-type(even) .biz-fig { order: 2; }
.biz-fig { margin: 0; background: var(--concrete); border: 1px solid var(--rule-2); padding: 34px 30px; position: relative; }
.biz-fig::before { content: ""; position: absolute; left: -1px; top: -1px; width: 56px; height: 4px; background: var(--signal); }
.biz-fig img { width: 100%; aspect-ratio: 8 / 5; object-fit: contain; }
.biz-no { font-family: var(--font-en); font-weight: 800; font-size: 15px; letter-spacing: .2em; color: var(--signal-deep); }
.biz-title { font-size: 28px; font-weight: 900; margin: 6px 0 16px; letter-spacing: .06em; }
.biz-text { color: var(--ink); }
.biz-list { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.biz-list li { padding: 6px 14px; background: var(--paper); border: 1px solid var(--rule); font-size: 14px; font-weight: 500; }

.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 30px 30px 32px; transition: transform .25s, box-shadow .25s; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--signal); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card-text { font-size: 15px; color: var(--steel); }
.card-icon { width: 64px; height: 64px; margin-bottom: 14px; }

.clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.client { background: var(--ink); color: #fff; padding: 36px 34px 38px; position: relative; overflow: hidden; }
.client::after { content: ""; position: absolute; right: 0; top: 0; width: 120px; height: 6px; background: var(--signal); }
.client-label { font-family: var(--font-en); font-weight: 700; letter-spacing: .22em; font-size: 13px; color: var(--signal); }
.client-title { font-size: 21px; font-weight: 700; margin: 8px 0 14px; }
.client-text { color: #c9d0d4; font-size: 15px; }
.client ul { margin-top: 16px; display: grid; gap: 6px; }
.client li { position: relative; padding-left: 18px; font-size: 15px; color: #e6eaec; }
.client li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 3px; background: var(--signal); }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.checks li { position: relative; padding: 18px 20px 18px 56px; background: var(--paper); border: 1px solid var(--rule); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 20px; height: 20px; background: var(--signal); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.checks strong { display: block; font-size: 16px; margin-bottom: 2px; }
.checks span { color: var(--steel); }

/* ---------- message ---------- */
.message { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; align-items: start; }
.message-side { position: sticky; top: calc(var(--header-h) + 24px); }
.message-quote { font-size: 24px; font-weight: 900; line-height: 1.7; letter-spacing: .06em; padding-left: 22px; border-left: 4px solid var(--signal); }
.message-body p { margin-bottom: 1.4em; font-size: 16px; line-height: 2.05; }
.message-sign { margin-top: 30px; text-align: right; font-size: 15px; }
.message-sign strong { display: inline-block; margin-left: 14px; font-size: 22px; letter-spacing: .16em; }

.access { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.access-card { background: var(--paper); border: 1px solid var(--rule); padding: 30px; }
.access-card h3 { font-size: 18px; margin-bottom: 12px; }
.access-card p { color: var(--steel); }

/* ---------- prose pages (privacy / koukoku) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 46px 0 14px; padding-left: 16px; border-left: 4px solid var(--signal); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15.5px; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose .meta { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--steel); font-size: 14px; }

.notice-box { border: 1px solid var(--rule); background: var(--paper); }
.notice-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; background: var(--ink); color: #fff; font-weight: 700; }
.notice-head .en { color: var(--signal); font-size: 13px; }
.notice-empty { padding: 34px 24px; color: var(--steel); text-align: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.form { background: var(--paper); border: 1px solid var(--rule); padding: 40px 40px 44px; position: relative; }
.form::before { content: ""; position: absolute; left: -1px; top: -1px; right: -1px; height: 4px; background: var(--signal); }
.field { margin-bottom: 24px; }
.field label, .field .label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.req, .opt { display: inline-block; padding: 1px 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; line-height: 1.7; }
.req { background: var(--ink); color: var(--signal); }
.opt { background: var(--concrete); color: var(--steel); }
.input, .select, .textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #bfc6ca; border-radius: var(--radius); background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); letter-spacing: .02em; transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 200px; resize: vertical; line-height: 1.8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245, 180, 0, .45); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.help { font-size: 13px; color: var(--steel); margin-top: 6px; }
.consent { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; background: var(--concrete); margin: 6px 0 28px; font-size: 15px; }
.consent input { width: 20px; height: 20px; margin-top: 5px; accent-color: var(--ink); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; justify-content: center; }
.form-actions .btn { min-width: 260px; min-height: 56px; font-size: 16px; }
.form-error { display: none; margin-bottom: 20px; padding: 14px 18px; border-left: 4px solid #c0392b; background: #fbeeec; color: #8e2a1f; font-size: 14.5px; }
.form-error.is-shown { display: block; }
.aside-card { background: var(--ink); color: #fff; padding: 30px 28px; margin-bottom: 20px; }
.aside-card h2, .aside-card h3 { font-size: 17px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.aside-card h2::before, .aside-card h3::before { content: ""; width: 18px; height: 3px; background: var(--signal); }
.aside-card p { color: #c9d0d4; font-size: 14.5px; }
.aside-mail { display: block; padding: 8px 0; margin-top: 2px; font-family: var(--font-en); font-weight: 700; font-size: 19px; letter-spacing: .06em; color: #fff; word-break: break-all; text-decoration: none; }
.aside-mail:hover { color: var(--signal); }
.aside-list { display: grid; gap: 8px; margin-top: 6px; }
.aside-list li { position: relative; padding-left: 16px; font-size: 14.5px; color: #dfe4e6; }
.aside-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 7px; height: 3px; background: var(--signal); }

.result { max-width: 720px; margin: 0 auto; text-align: center; }
.result-mark { width: 72px; height: 72px; margin: 0 auto 26px; background: var(--signal); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: grid; place-items: center; }
.result-title { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin-bottom: 18px; }
.result p { color: var(--steel); }
.result ul { display: inline-block; text-align: left; margin: 10px 0 20px; }
.result li { list-style: disc; margin-left: 1.2em; }
.result .btns { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- footer ---------- */
.site-footer { background: #0f1214; color: #c3cace; font-size: 14px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; margin-bottom: 22px; }
.footer-brand .brand-kabu { color: var(--steel-2); }
.footer-address { font-style: normal; line-height: 2; }
.footer-address .mail { font-family: var(--font-en); letter-spacing: .06em; color: #fff; font-size: 15px; text-decoration: none; font-weight: 600; }
.footer-address .mail:hover { color: var(--signal); }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; align-content: start; }
.footer-nav a { display: inline-block; padding: 10px 0; color: #e3e7e9; text-decoration: none; }
.footer-nav a:hover { color: var(--signal); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 24px; font-size: 12.5px; color: var(--steel-2); }
.footer-bottom small { font-size: inherit; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .flow-step:nth-child(3)::before { display: none; }
  .cta-actions { margin-right: 120px; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: inline-flex; }
  .gnav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 18px 30px rgba(22, 25, 28, .12); padding: 8px var(--gutter) 20px;
  }
  .gnav.is-open { display: flex; }
  .gnav { max-height: calc(100vh - var(--header-h) - 5px); max-height: calc(100dvh - var(--header-h) - 5px); overflow-y: auto; }
  .gnav .btn { display: flex; justify-content: center; padding: 0 24px; min-height: 48px; }
  .gnav a { padding: 15px 4px; border-bottom: 1px solid var(--rule-2); font-size: 16px; }
  .gnav a:not(.btn)::after { left: 4px; right: auto; width: 40px; bottom: 8px; }
  .gnav .btn { margin: 16px 0 0; border-bottom: 0; }
  .brand-name { font-size: 24px; }
  .brand-mark { width: 40px; height: 40px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; gap: 44px; }
  .hero::after { background: linear-gradient(180deg, rgba(22, 25, 28, .9) 0%, rgba(22, 25, 28, .8) 55%, rgba(22, 25, 28, .55) 100%); }
  .hero-figure img { margin: 0 auto; }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 1px solid rgba(255, 255, 255, .1); }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area, .split, .message, .contact-grid, .access, .clients { grid-template-columns: 1fr; }
  .message-side { position: static; }
  .biz { grid-template-columns: 1fr; gap: 28px; }
  .biz:nth-of-type(even) .biz-fig { order: 0; }
  .cta .wrap { flex-direction: column; align-items: flex-start; }
  .cta-actions { margin-right: 0; }
  .cta::before { width: 160px; opacity: .14; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 15.5px; }
  .section { padding: 72px 0; }
  .section--tight { padding: 60px 0; }
  .sec-head { margin-bottom: 36px; }
  .hero-title { font-size: 34px; }
  .hero-lead { font-size: 15.5px; }
  .hero-actions .btn { width: 100%; }
  .facts .wrap { grid-template-columns: 1fr; padding: 0; }
  .fact { border-left: 0; border-right: 0 !important; border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px var(--gutter); }
  .fact:first-child { border-top: 0; }
  .works, .cards2, .strengths, .checks { grid-template-columns: 1fr; }
  .strength { padding: 30px 24px; }
  .flow { grid-template-columns: 1fr; row-gap: 0; }
  .flow-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 18px; text-align: left; padding: 0 0 28px; }
  .flow-step::before { top: 64px; bottom: 0; left: 31px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 14px); display: block !important; }
  .flow-step:last-child::before { display: none !important; }
  .flow-num { grid-row: span 2; margin: 0; width: 64px; height: 64px; }
  .flow-title { margin: 8px 0 2px; }
  .news li { grid-template-columns: 1fr; gap: 4px; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-row dt { padding: 12px 18px 12px 22px; }
  .spec-row dd { padding: 14px 18px 18px; }
  .form { padding: 28px 20px 32px; }
  .form-actions .btn { width: 100%; min-width: 0; }
  .biz-fig { padding: 22px 16px; }
  .biz-title { font-size: 24px; }
  .client, .card { padding: 28px 22px; }
  .message-quote { font-size: 22px; }
  .cta-actions, .cta-actions .btn, .cta-mail { width: 100%; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}

@media print {
  .site-header { position: static; }
  .nav-toggle, .cta::before { display: none; }
}

/* ---------- area map ---------- */
.area-map .map { position: relative; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.area-map .map img { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pins { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.pin { position: absolute; width: 0; height: 0; }
.pin::before { content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px #fff; }
.pin span { position: absolute; white-space: nowrap; font-size: 13px; font-weight: 700; line-height: 1; color: var(--ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; letter-spacing: .04em; }
.pin--r span { left: 10px; top: -7px; }
.pin--l span { right: 10px; top: -7px; }
.pin--b span { left: 50%; top: 10px; transform: translateX(-50%); }
.pin--t span { left: 50%; bottom: 10px; transform: translateX(-50%); }
.pin--town::before { left: -4px; top: -4px; width: 8px; height: 8px; background: var(--steel); }
.pin--town span { font-size: 11.5px; font-weight: 500; color: var(--steel); }
.pin--mt::before { left: -7px; top: -9px; width: 14px; height: 12px; border-radius: 0; background: var(--ink); box-shadow: none; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.pin--mt span { left: 12px; top: -8px; font-size: 13px; }
.pin--home::before { left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 0; background: var(--signal); box-shadow: 0 0 0 3px var(--ink); clip-path: none; }
.pin--home::after { content: ""; position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%; border: 2px dashed rgba(22, 25, 28, .55); }
.pin--home span { top: 18px; font-size: 15px; font-weight: 900; padding: 3px 8px; background: var(--ink); color: #fff; text-shadow: none; }
@media (max-width: 640px) {
  .pin--town { display: none; }
  .pin span { font-size: 11.5px; }
  .pin--home::before { left: -8px; top: -8px; width: 16px; height: 16px; box-shadow: 0 0 0 2px var(--ink); }
  .pin--home::after { left: -20px; top: -20px; width: 40px; height: 40px; }
  .pin--home span { top: auto; bottom: 14px; font-size: 12.5px; padding: 2px 6px; }
}

/* ---------- 細かな調整（最終確認の指摘） ---------- */
.spec-row .note a { display: inline-block; padding: 8px 0; }
@media (min-width: 961px) and (max-width: 1080px) { .cta::before { width: 160px; } }
@media (max-width: 340px) {
  .brand-name { font-size: 21px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand { gap: 8px; }
  .site-header .wrap { gap: 12px; }
  .cta-mail { flex-wrap: wrap; justify-content: center; padding: 10px 14px; gap: 6px 12px; }
  .cta-mail-label { white-space: nowrap; }
}
