/* 見本｜株式会社 坂下精工（町工場・精密切削）
   色: ベース #F3F3F1（部品を撮るグレー）／メイン #1B1E21（黒アルマイト）／アクセント #B08A4E（真鍮）
   真鍮は「暗い地の上の数字」と「細い罫線」だけ。明るい地では大きい数字に限り #8E6B32。 */

:root {
  --base: #F3F3F1;
  --main: #1B1E21;
  --brass: #B08A4E;
  --brass-ink: #8E6B32;
  --text: #282828;
  --muted: #5E6165;
  --rule: rgba(27, 30, 33, 0.22);
  --rule-strong: #1B1E21;
  --on-dark: #E9E9E6;
  --on-dark-muted: #A3A6A9;
  --rule-dark: rgba(233, 233, 230, 0.18);
  --wrap: 1120px;
  --gut: 40px;
  --ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "Helvetica Neue", Helvetica, "Hiragino Sans", sans-serif;
  --mono: "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: var(--ja);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.05em;
  font-weight: 400;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  font-feature-settings: "palt";
  word-break: keep-all;
  overflow-wrap: anywhere;
}
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: 0.02em; }
.small { font-size: 13px; color: var(--muted); }
.pc { display: inline; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

.wrap { max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- ヘッダー ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 243, 241, 0.96);
  border-bottom: 1px solid var(--rule);
}
.head-in {
  max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut);
  height: 72px; display: flex; align-items: center; gap: 28px;
}
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; flex-shrink: 0; }
.logo-name { font-size: 22px; font-weight: 600; letter-spacing: 0.16em; color: var(--main); }
.logo-en { font-size: 10px; letter-spacing: 0.24em; color: var(--muted); margin-top: 5px; }
.gnav { margin-left: auto; }
.gnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.gnav a {
  text-decoration: none; font-size: 14px; color: var(--main); white-space: nowrap;
  background: linear-gradient(var(--main), var(--main)) left bottom / 0 1px no-repeat;
  transition: background-size .25s;
  padding-bottom: 3px;
}
.gnav ul a:hover { background-size: 100% 1px; }
.gnav-tel { display: none; }
.head-tel { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; flex-shrink: 0; }
.head-tel-label { font-size: 11px; color: var(--muted); }
.head-tel-no { font-size: 18px; font-weight: 500; color: var(--main); }
.head-cta {
  flex-shrink: 0; text-decoration: none; background: var(--main); color: #fff;
  font-size: 14px; font-weight: 600; padding: 11px 18px; letter-spacing: 0.08em;
}
.head-cta:hover { background: #33373b; }
.menu-btn { display: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 10px 26px; text-decoration: none; font-weight: 600;
  font-size: 16px; letter-spacing: 0.08em; border: 1px solid var(--main); cursor: pointer;
  font-family: var(--ja);
}
.btn-dark { background: var(--main); color: #fff; }
.btn-dark:hover { background: #33373b; }
.btn-line { background: transparent; color: var(--main); flex-direction: column; gap: 0; line-height: 1.25; align-items: flex-start; }
.btn-line .mono { font-size: 18px; font-weight: 500; }
.btn-line:hover { background: rgba(27, 30, 33, 0.06); }
.btn-sub { font-size: 12px; font-weight: 400; }
.arw { font-family: var(--mono); transition: transform .2s; }
a:hover .arw, button:hover .arw { transform: translateX(4px); }

/* ---------- ヒーロー ---------- */
.hero { padding: 64px 0 56px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 56px; align-items: center; }
.hero-who { font-size: 14px; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }
.hero-who .sep { margin: 0 .4em; color: var(--rule); }
.hero-h1 { margin: 22px 0 26px; letter-spacing: 0.04em; line-height: 1.12; font-weight: 600; color: var(--main); }
.hero-h1 > span { display: block; }
.h1-num .mono { font-size: clamp(56px, 6.4vw, 92px); font-weight: 500; letter-spacing: -0.01em; color: var(--brass-ink); }
.h1-num .unit { font-size: clamp(22px, 2.2vw, 30px); color: var(--brass-ink); margin-left: 6px; letter-spacing: 0.04em; }
.h1-ja { font-size: clamp(30px, 3.2vw, 44px); margin-left: 8px; }
.h1-line2 { font-size: clamp(44px, 4.8vw, 68px); margin-top: 8px; letter-spacing: 0.06em; }
.h1-line2 .mono { font-weight: 500; letter-spacing: 0; margin-right: 2px; }
.hero-lead { font-size: 17px; line-height: 2; word-break: keep-all; overflow-wrap: anywhere; max-width: 30em; }
.hero-lead b { font-weight: 600; color: var(--main); border-bottom: 1px solid var(--brass); }
.hero-act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-files { margin-top: 16px; font-size: 13px; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }
.hero-fig { margin: 0; }
.hero-fig img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.hero-fig figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.hero-fig .mono { color: var(--main); }
.hero-fig .note { flex-basis: 100%; }

/* ---------- 加工範囲の帯 ---------- */
.spec-band { background: var(--main); color: var(--on-dark); padding: 34px 0 28px; }
.spec-row { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--brass); border-bottom: 1px solid var(--rule-dark); }
.spec-row > div { padding: 16px 22px 18px; border-left: 1px solid var(--rule-dark); }
.spec-row > div:first-child { border-left: 0; padding-left: 0; }
.spec-row dt { font-size: 13px; color: var(--on-dark-muted); letter-spacing: 0.12em; }
.spec-row dd { margin: 4px 0 0; font-size: clamp(30px, 3.2vw, 42px); font-weight: 500; color: var(--brass); line-height: 1.1; white-space: nowrap; }
.spec-row .pre { font-size: .72em; margin-right: 1px; }
.spec-row .dash { margin: 0 2px; }
.spec-row .u { font-family: var(--ja); font-size: 15px; margin-left: 4px; color: var(--on-dark-muted); font-weight: 400; }
.spec-note { margin-top: 12px; font-size: 13px; color: var(--on-dark-muted); }

/* ---------- 区画の共通 ---------- */
.sec { padding: 104px 0; border-top: 1px solid var(--rule); }
.spec-band + .sec { border-top: 0; }
.sec-head { margin-bottom: 44px; }
.sec-no { font-size: 13px; color: var(--muted); letter-spacing: 0.1em; display: flex; align-items: center; gap: 12px; }
.sec-no::after { content: ""; width: 40px; height: 1px; background: var(--brass); }
.sec-head h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 10px; color: var(--main); }
.sec-lead { margin-top: 14px; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; max-width: 40em; }
h3 { font-size: 20px; color: var(--main); }

/* ---------- 01 受けられる仕事 ---------- */
.range-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
.range-qty .sub { margin-top: 6px; color: var(--muted); word-break: keep-all; }
.scale { margin-top: 32px; padding: 0 18px 0 10px; }
.scale-rows { position: relative; border-left: 1px solid var(--main); border-right: 1px dashed var(--rule); }
.scale-row { position: relative; height: 54px; }
.scale-row .lab { position: absolute; top: 2px; left: calc(var(--at) * 1%); padding-left: 10px; font-size: 13px; white-space: nowrap; color: var(--main); }
.scale-row .lab .mono { font-size: 13px; }
.scale-row .lab-end { left: auto; right: 0; padding-right: 6px; color: var(--muted); }
.bar, .dim, .dash-line { position: absolute; left: calc(var(--from) * 1%); width: calc((var(--to) - var(--from)) * 1%); bottom: 12px; }
.bar { height: 12px; background: var(--main); }
.dim { height: 1px; background: var(--main); bottom: 17px; }
.dim::before, .dim::after { content: ""; position: absolute; top: -6px; width: 1px; height: 13px; background: var(--main); }
.dim::before { left: 0; } .dim::after { right: 0; }
.dash-line { height: 0; border-top: 1px dashed var(--muted); bottom: 17px; }
.scale-axis { position: relative; height: 34px; border-top: 1px solid var(--main); }
.scale-axis span { position: absolute; left: calc(var(--at) * 1%); top: 0; transform: translateX(-50%); padding-top: 10px; font-family: var(--mono); font-size: 13px; }
.scale-axis span::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 7px; background: var(--main); }
.scale-unit { text-align: right; font-size: 12px; color: var(--muted); margin-top: 4px; }
.scale-text { margin-top: 26px; word-break: keep-all; overflow-wrap: anywhere; }

.t-mat { margin-top: 18px; font-size: 15px; }
.t-mat th, .t-mat td { word-break: keep-all; overflow-wrap: anywhere; text-align: left; vertical-align: top; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--rule); line-height: 1.6; }
.t-mat thead th { font-size: 12px; font-weight: 400; color: var(--muted); border-bottom: 1px solid var(--main); padding-top: 0; padding-bottom: 8px; }
.t-mat tbody th { font-weight: 600; white-space: nowrap; width: 6.5em; }
.t-mat td.mono { width: 7.5em; font-size: 14px; }
.finish { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--main); }
.finish h4 { font-size: 15px; color: var(--main); }
.finish p { margin-top: 6px; word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- 02 挽いてきた部品 ---------- */
.parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 56px; border-top: 1px solid var(--main); }
.part { position: relative; padding: 28px 0 30px; }
.part + .part::before { content: ""; position: absolute; left: -28px; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.part figure { margin: 0; }
.part img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.part-meta { margin-top: 18px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.part h3 { margin-top: 4px; font-size: 19px; }
.part-spec { margin: 14px 0 0; font-size: 14px; }
.part-spec > div { display: grid; grid-template-columns: 3.4em 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid var(--rule); }
.part-spec dt { color: var(--muted); }
.part-spec dd { margin: 0; }
.photo-note { margin-top: 6px; font-size: 12px; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }

.t-parts-title { margin-top: 48px; font-size: 15px; padding-bottom: 10px; }
.t-parts { font-size: 14px; }
.t-parts th, .t-parts td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); font-weight: 400; white-space: nowrap; }
.t-parts thead th { font-size: 12px; color: var(--muted); border-top: 1px solid var(--main); border-bottom: 1px solid var(--main); padding-top: 8px; padding-bottom: 8px; }
.t-parts tbody th { font-weight: 600; color: var(--main); }

/* ---------- 03 機械と測定器（暗い地） ---------- */
.sec-dark { background: var(--main); color: var(--on-dark); border-top: 0; }
.sec-dark .sec-head h2, .sec-dark h3 { color: #fff; }
.sec-dark .sec-no { color: var(--on-dark-muted); }
.sec-dark .sec-lead { color: var(--on-dark-muted); }
.mc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.mc-col h3 { display: flex; align-items: baseline; gap: 12px; font-size: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--brass); }
.mc-col h3 .mono { color: var(--brass); font-size: 14px; font-weight: 500; }
.t-mc { font-size: 14px; }
.t-mc th, .t-mc td { text-align: left; vertical-align: top; padding: 13px 12px 13px 0; border-bottom: 1px solid var(--rule-dark); line-height: 1.5; }
.t-mc thead th { font-size: 12px; color: var(--on-dark-muted); font-weight: 400; padding-top: 10px; padding-bottom: 8px; }
.t-mc tbody th { font-weight: 600; color: #fff; }
.t-mc small { display: block; font-size: 11px; color: var(--on-dark-muted); font-family: var(--ja); font-weight: 400; letter-spacing: 0.05em; }
.t-mc .qty, .t-all .qty { color: var(--brass); font-size: 20px; font-weight: 500; text-align: right; padding-right: 18px; line-height: 1.2; }
.t-mc thead th:nth-child(3) { text-align: right; padding-right: 18px; }

.mc-room { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; margin-top: 72px; align-items: start; }
.mc-fig { margin: 0; }
.mc-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mc-fig figcaption { font-size: 12px; color: var(--on-dark-muted); margin-top: 8px; }
.room-label { font-size: 13px; color: var(--on-dark-muted); letter-spacing: 0.12em; }
.room-num { font-size: clamp(48px, 5vw, 64px); color: var(--brass); font-weight: 500; line-height: 1.1; margin: 4px 0 18px; }
.room-num .pm { margin: 0 2px; }
.room-num .u { font-family: var(--ja); font-size: 22px; margin-left: 4px; }
.mc-room-text > p:not(.room-label):not(.room-num):not(.mc-pdf) { word-break: keep-all; overflow-wrap: anywhere; }
.mc-all { margin-top: 30px; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.mc-all summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 10px; }
.mc-all summary::-webkit-details-marker { display: none; }
.mc-all summary::before { content: "+"; font-family: var(--mono); color: var(--brass); font-size: 20px; width: 16px; }
.mc-all[open] summary::before { content: "−"; }
.mc-all summary .mono { font-weight: 400; color: var(--on-dark-muted); font-size: 13px; }
.t-all { font-size: 13px; margin-bottom: 12px; }
.t-all th, .t-all td { text-align: left; padding: 9px 10px 9px 0; border-top: 1px solid var(--rule-dark); font-weight: 400; vertical-align: top; }
.t-all thead th { color: var(--on-dark-muted); font-size: 11px; border-top: 0; }
.t-all tbody th { color: #fff; }
.t-all td:first-child { color: var(--on-dark-muted); white-space: nowrap; }
.t-all .qty { font-size: 15px; }
.sec-dark .small { color: var(--on-dark-muted); padding-bottom: 16px; }
.mc-pdf { margin-top: 22px; }
.mc-pdf a { text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 3px; color: #fff; word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- 04 見積り ---------- */
.est-catch { font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; color: var(--main); letter-spacing: 0.08em; margin-top: -18px; font-feature-settings: "palt"; word-break: keep-all; }
.est-catch .mono { color: var(--brass-ink); font-weight: 500; letter-spacing: 0; margin: 0 2px; }
.flow { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--main); }
.flow li { position: relative; padding: 22px 32px 6px 0; }
.flow li + li { padding-left: 32px; border-left: 1px solid var(--rule); }
.flow li:not(:last-child)::after {
  content: ""; position: absolute; top: -5px; right: -5px; width: 9px; height: 9px;
  border-top: 1px solid var(--main); border-right: 1px solid var(--main); transform: rotate(45deg); background: var(--base);
}
.flow-no { font-size: 12px; color: var(--muted); letter-spacing: 0.12em; }
.flow h3 { margin-top: 4px; font-size: 21px; }
.flow h3 .mono { font-weight: 500; }
.flow p:not(.flow-no) { margin-top: 10px; font-size: 15px; word-break: keep-all; overflow-wrap: anywhere; }

.est-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; margin-top: 72px; }
.est-info h3 { font-size: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--main); }
.est-info h3 + * { margin-top: 0; }
.est-info h3:not(:first-child) { margin-top: 36px; }
.est-info h3 .mono { font-weight: 400; font-size: 13px; color: var(--muted); }
.files { list-style: none; margin: 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.files li { border: 1px solid var(--main); padding: 3px 12px; font-size: 14px; color: var(--main); }
.files li.ja { font-family: var(--ja); font-weight: 600; }
.need { list-style: none; margin: 0; padding: 0; }
.need li { display: grid; grid-template-columns: 2.6em 1fr; column-gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-weight: 600; color: var(--main); }
.need li .mono { font-weight: 400; color: var(--muted); font-size: 13px; padding-top: 2px; grid-row: span 2; }
.need small { font-size: 13px; font-weight: 400; color: var(--muted); }
.est-notes { list-style: none; margin: 26px 0 0; padding: 0; font-size: 14px; }
.est-notes li { padding: 4px 0 4px 16px; position: relative; overflow-wrap: anywhere; }
.est-notes li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 7px; height: 1px; background: var(--main); }

.est-form { border: 1px solid var(--main); padding: 34px 34px 28px; background: #FAFAF8; }
.form-title { font-weight: 600; font-size: 18px; color: var(--main); letter-spacing: 0.08em; margin-bottom: 18px; }
.f-row { margin-bottom: 16px; }
.f-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.est-form label { display: block; font-size: 13px; font-weight: 600; color: var(--main); }
.req, .opt { font-size: 11px; font-weight: 400; margin-left: 8px; }
.req { color: var(--main); border-bottom: 1px solid var(--main); }
.opt { color: var(--muted); }
.est-form input[type="text"], .est-form input[type="email"], .est-form input[type="tel"], .est-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; font-weight: 400; font-size: 16px;
  border: 1px solid var(--rule); background: #fff; color: var(--text); border-radius: 0; letter-spacing: 0.03em;
}
.est-form input::placeholder, .est-form textarea::placeholder { color: #9A9C9F; }
.est-form input:focus, .est-form textarea:focus { outline: 2px solid var(--main); outline-offset: -1px; }
.f-label { font-size: 13px; font-weight: 600; color: var(--main); }
.f-file { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 10px; border: 1px dashed var(--muted); background: #fff; }
.f-file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.f-file-btn { flex-shrink: 0; cursor: pointer; background: var(--main); color: #fff !important; padding: 9px 16px; font-size: 14px !important; letter-spacing: 0.08em; }
.f-file input:focus-visible + .f-file-btn { outline: 2px solid var(--brass); outline-offset: 2px; }
.f-file-name { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; min-width: 0; }
.f-hint { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }
.btn-wide { width: 100%; margin-top: 8px; }
.form-msg { margin-top: 12px; font-size: 14px; color: var(--main); font-weight: 600; min-height: 1em; }
.est-form .small { margin-top: 4px; word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- 05 会社概要（図面の表題欄） ---------- */
.co-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.co-catch { font-size: clamp(26px, 2.8vw, 34px); font-weight: 600; color: var(--main); letter-spacing: 0.08em; font-feature-settings: "palt"; line-height: 1.5; margin-bottom: 22px; word-break: keep-all; overflow-wrap: anywhere; }
.co-text p:not(.co-catch) { word-break: keep-all; overflow-wrap: anywhere; }
.co-text p + p { margin-top: 16px; }
.title-block { border: 2px solid var(--main); display: grid; grid-template-columns: 1fr 1fr; background: #FAFAF8; }
.tb-row { grid-column: 1 / -1; display: grid; grid-template-columns: 7em 1fr; border-bottom: 1px solid var(--main); }
.tb-half { grid-column: auto; grid-template-columns: 7em 1fr; }
.tb-half + .tb-half { border-left: 1px solid var(--main); }
.tb-half + .tb-half .tb-k { width: auto; }
.tb-k { padding: 12px 14px; font-size: 12px; color: var(--muted); border-right: 1px solid var(--rule); letter-spacing: 0.12em; }
.tb-v { padding: 11px 16px; font-size: 15px; color: var(--main); word-break: keep-all; overflow-wrap: anywhere; }
.tb-v a { text-decoration: none; }
.tb-foot { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tb-foot span { padding: 8px 12px; border-left: 1px solid var(--main); display: flex; flex-direction: column; line-height: 1.3; }
.tb-foot span:first-child { border-left: 0; }
.tb-foot i { font-style: normal; font-size: 10px; color: var(--muted); letter-spacing: 0.12em; }
.tb-foot b { font-weight: 500; font-size: 14px; color: var(--main); }

/* ---------- 06 採用 ---------- */
.rc-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.rc-fig { margin: 0; }
.rc-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.rc-fig figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }
.rc-body .sec-head { margin-bottom: 24px; }
.rc-catch { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; color: var(--main); letter-spacing: 0.08em; font-feature-settings: "palt"; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.rc-catch .mono { font-weight: 500; letter-spacing: 0; }
.rc-list { margin: 30px 0 32px; border-top: 1px solid var(--main); }
.rc-list > div { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.rc-list dt { color: var(--muted); font-size: 14px; padding-top: 1px; }
.rc-list dd { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.rc-list .small { margin-left: 6px; }

/* ---------- 07 お知らせ ---------- */
.sec-news { padding-top: 88px; padding-bottom: 96px; }
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--main); }
.news li { display: grid; grid-template-columns: 8em 4.5em 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.news time { font-size: 14px; color: var(--muted); }
.news .tag { font-size: 12px; border: 1px solid var(--main); text-align: center; padding: 0 6px; color: var(--main); }
.news p { word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- フッター ---------- */
.site-foot { background: var(--main); color: var(--on-dark); padding: 56px 0 28px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 28px; }
.foot-name { font-size: 18px; font-weight: 600; letter-spacing: 0.14em; margin-bottom: 8px; }
.foot-co p:not(.foot-name) { font-size: 14px; color: var(--on-dark-muted); }
.foot-co a { color: var(--on-dark); text-decoration: none; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; align-content: flex-start; max-width: 520px; }
.foot-nav a { text-decoration: none; color: var(--on-dark); }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.made-by { padding-top: 20px; border-top: 1px solid var(--rule-dark); font-size: 12px; color: var(--on-dark-muted); line-height: 1.7; }
.made-by a { color: var(--on-dark); }

.sp-bar { display: none; }

/* ---------- ふわっと出す（控えめ） ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .gnav a, .arw { transition: none; }
}

/* ---------- 1080px 以下（タブレット） ---------- */
@media (max-width: 1080px) {
  :root { --gut: 32px; }
  .head-in { gap: 18px; }
  .menu-btn {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: none; border: 0; padding: 6px 0 6px 6px; cursor: pointer; color: var(--main); font-family: var(--ja);
  }
  .menu-bars { display: flex; flex-direction: column; gap: 5px; width: 24px; }
  .menu-bars i { display: block; height: 2px; background: var(--main); transition: transform .2s, opacity .2s; }
  .menu-txt { font-size: 10px; letter-spacing: 0.08em; }
  body.nav-open .menu-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .menu-bars i:nth-child(2) { opacity: 0; }
  body.nav-open .menu-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gnav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; margin: 0;
    background: var(--base); border-bottom: 1px solid var(--main); padding: 8px var(--gut) 24px;
  }
  body.nav-open .gnav { display: block; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; background: none; }
  .gnav-tel { display: flex; justify-content: space-between; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--main); text-decoration: none; font-weight: 600; background: none !important; }
  .gnav-tel .mono { font-size: 18px; }
  .head-tel { margin-left: auto; }

  .hero { padding: 48px 0 48px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-fig { order: 2; }
  .h1-num .mono { font-size: clamp(56px, 11vw, 92px); }
  .h1-num .unit { font-size: clamp(22px, 4vw, 30px); }
  .h1-ja { font-size: clamp(30px, 5.4vw, 44px); }
  .h1-line2 { font-size: clamp(42px, 8vw, 66px); }
  .hero-fig img { aspect-ratio: 3 / 2; }
  .spec-row dd { font-size: clamp(26px, 3.7vw, 40px); }
  .spec-row > div { padding-left: 16px; padding-right: 12px; }
  .parts { column-gap: 40px; }
  .part + .part::before { left: -20px; }

  .sec { padding: 84px 0; }
  .range-grid, .mc-grid, .est-grid, .co-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .mc-room { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .rc-grid { gap: 48px; }
}

/* ---------- 760px 以下（スマホ） ---------- */
@media (max-width: 760px) {
  :root { --gut: 16px; }
  body { font-size: 15px; line-height: 1.8; padding-bottom: 64px; }
  .pc { display: none; }
  .head-in { height: 60px; gap: 10px; }
  .gnav { top: 60px; }
  html { scroll-padding-top: 68px; }
  .logo-name { font-size: 19px; }
  .logo-en { font-size: 9px; }
  .head-tel, .head-cta { display: none; }
  .menu-btn { margin-left: auto; }

  .hero { padding: 32px 0 36px; }
  .hero-who { font-size: 13px; }
  .hero-h1 { margin: 16px 0 20px; }
  .h1-num .mono { font-size: 54px; }
  .h1-num .unit { font-size: 20px; margin-left: 3px; }
  .h1-ja { font-size: 28px; margin-left: 4px; }
  .h1-line2 { font-size: 40px; }
  .hero-lead { font-size: 15px; }
  .hero-act { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .hero-act .btn-line { align-items: center; }
  .hero-fig img { aspect-ratio: 4 / 3; }

  .spec-band { padding: 24px 0 20px; }
  .spec-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-row > div { padding: 14px 0 14px 16px; }
  .spec-row > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .spec-row > div:nth-child(n+3) { border-top: 1px solid var(--rule-dark); }
  .spec-row dd { font-size: 28px; }
  .spec-row .u { font-size: 13px; }

  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-head h2 { font-size: 26px; }
  h3 { font-size: 18px; }
  .scale { padding: 0 14px 0 4px; }
  .scale-axis span { font-size: 12px; }
  .scale-row .lab, .scale-row .lab .mono { font-size: 12px; }
  .t-mat { font-size: 14px; }
  .t-mat tbody th { width: 5.5em; }
  .t-mat td.mono { width: 6.4em; font-size: 13px; }

  .parts { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .part { padding: 22px 0 26px; border-top: 1px solid var(--main); }
  .part + .part::before { display: none; }

  .t-parts thead { display: none; }
  .t-parts, .t-parts tbody, .t-parts tr, .t-parts th, .t-parts td { display: block; }
  .t-parts tr { border-top: 1px solid var(--rule); padding: 12px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .t-parts tbody tr:first-child { border-top: 1px solid var(--main); }
  .t-parts th, .t-parts td { border: 0; padding: 3px 0; white-space: normal; }
  .t-parts td::before, .t-parts th::before { content: attr(data-l); display: inline-block; min-width: 3.2em; color: var(--muted); font-family: var(--ja); font-size: 12px; font-weight: 400; margin-right: 6px; }
  .t-parts tbody th { grid-column: 1 / -1; font-size: 16px; order: -1; }
  .t-parts tbody th::before { display: none; }
  .t-parts td:first-child { grid-column: 1 / -1; order: -2; font-size: 12px; color: var(--muted); }
  .t-parts td:first-child::before { min-width: 0; }

  .t-mc { font-size: 13px; }
  .t-mc th, .t-mc td { padding: 11px 8px 11px 0; }
  .t-mc .qty { font-size: 17px; padding-right: 10px; }
  .t-mc thead th:nth-child(3) { padding-right: 10px; }
  .mc-room { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 48px; }
  .t-all { font-size: 12px; }
  .t-all td:nth-child(3) { word-break: break-all; }

  .est-catch { margin-top: -10px; font-size: 30px; }
  .flow { grid-template-columns: minmax(0, 1fr); border-top: 0; margin-top: 28px; }
  .flow li, .flow li + li { padding: 18px 0 18px 0; border-left: 0; border-top: 1px solid var(--main); }
  .flow li:not(:last-child)::after { top: auto; bottom: -5px; right: auto; left: 18px; transform: rotate(135deg); }
  .est-grid { margin-top: 48px; gap: 44px; }
  .est-form { padding: 24px 16px 20px; }
  .f-2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }

  .title-block { grid-template-columns: 1fr 1fr; }
  .tb-row { grid-template-columns: 5.4em 1fr; }
  .tb-half { grid-template-columns: 5.4em 1fr; }
  .tb-k { padding: 11px 8px 11px 10px; font-size: 11px; letter-spacing: 0.06em; }
  .tb-v { padding: 10px 10px; font-size: 14px; }
  .tb-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb-foot span:nth-child(3) { border-left: 0; }
  .tb-foot span:nth-child(n+3) { border-top: 1px solid var(--main); }

  .rc-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .rc-fig { max-width: 300px; }
  .rc-body { order: -1; }
  .rc-fig { order: 2; }
  .rc-catch { font-size: 30px; }
  .rc-body .btn-line { width: 100%; align-items: center; }

  .news li { grid-template-columns: auto 1fr; gap: 4px 12px; }
  .news li p { grid-column: 1 / -1; }
  .news .tag { justify-self: start; }

  .site-foot { padding: 40px 0 24px; }
  .foot-in { flex-direction: column; gap: 22px; }

  .sp-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: 60px; border-top: 1px solid var(--main); background: var(--base);
  }
  .sp-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; line-height: 1.2; }
  .sp-tel { color: var(--main); }
  .sp-tel span:first-child { font-size: 11px; font-weight: 400; }
  .sp-tel .mono { font-size: 16px; font-weight: 500; }
  .sp-cta { background: var(--main); color: #fff; font-size: 16px; letter-spacing: 0.1em; }
}
