/* ============================================================
   株式会社アイ・エス・ピー コーポレートサイト
   岡本経営デザインシステム（ds-okamoto）準拠
   紺 #16335A ＋ 真鍮金 #C0A05C ／ 見出し明朝・本文ゴシック
   ============================================================ */
/* Webフォントは各HTMLの<link>で読み込み（@importはレンダリングを遅くするため廃止） */

:root {
  /* ---- Brand core (ds-okamoto tokens) ---- */
  --navy-900: #0D284D;
  --navy-800: #16335A;
  --navy-700: #1F3F66;
  --navy-600: #2E5A8C;
  --navy-400: #5B7FA6;
  --navy-200: #B9C6D6;

  --gold-700: #997A40;
  --gold-600: #AD884F;
  --gold-500: #C0A05C;
  --gold-400: #CDB477;
  --gold-200: #E7D9B6;
  --gold-050: #F6F0E1;

  --ink-900: #1A2230;
  --ink-700: #3C4654;
  --ink-500: #677686;

  --paper: #FFFFFF;
  --mist:  #F5F6F9;
  --cloud: #EEF1F5;
  --line:  #E2E6EC;
  --line-strong: #CDD4DD;

  --pos: #2E7D54;
  --neg: #B23B3B;

  --serif-jp: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --sans-jp: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --serif-latin: 'Cormorant Garamond', 'Times New Roman', serif;

  --sh-card: 0 1px 2px rgba(13,40,77,.06), 0 4px 14px rgba(13,40,77,.06);
  --sh-raise: 0 6px 22px rgba(13,40,77,.12);

  --max-w: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--sans-jp);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-600); transition: opacity .15s ease; }
a:hover { opacity: .8; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー（白96%＋blur・固定） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 18px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  background: var(--navy-800); color: #fff;
  font-family: var(--serif-latin);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 16px; letter-spacing: .08em;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(192,160,92,.45);
}
.brand-name {
  font-family: var(--serif-jp);
  color: var(--navy-800); font-weight: 700; font-size: 17px; line-height: 1.35;
  letter-spacing: 0.04em;
}
.brand-name small {
  display: block;
  font-family: var(--sans-jp);
  font-weight: 400; font-size: 10.5px;
  color: var(--ink-500);
  letter-spacing: 0.05em;
}

.header-tel { margin-left: auto; text-align: right; line-height: 1.35; }
.header-tel .tel-num {
  color: var(--navy-800); font-family: var(--serif-jp);
  font-size: 21px; font-weight: 700; text-decoration: none;
  letter-spacing: .02em; white-space: nowrap;
}
.header-tel .tel-note { font-size: 11px; color: var(--ink-500); display: block; }

.menu-btn {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 5px;
  width: 44px; height: 44px; cursor: pointer; flex: none;
}
.menu-btn span {
  display: block; width: 20px; height: 2px; background: var(--navy-800);
  margin: 4px auto; transition: .15s ease;
}

.global-nav ul { list-style: none; display: flex; gap: 2px; }
.global-nav a {
  display: block; padding: 8px 12px;
  color: var(--ink-700); text-decoration: none;
  font-size: 14.5px; font-weight: 500;
  border-bottom: 2px solid transparent;
  white-space: nowrap; transition: color .15s ease, border-color .15s ease;
}
.global-nav a:hover { color: var(--navy-800); opacity: 1; border-bottom-color: var(--gold-400); }
.global-nav a.current { color: var(--navy-800); border-bottom-color: var(--gold-500); }

/* ---------- フッター（最暗紺） ---------- */
.site-footer {
  background: var(--navy-900); color: #DCE4EE;
  border-top: 1px solid rgba(192,160,92,.4);
  padding: 48px 0 24px;
  font-size: 14px; line-height: 1.9;
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between;
}
.footer-company strong {
  font-family: var(--serif-jp); font-size: 17px; letter-spacing: .04em;
  display: block; margin-bottom: 10px; color: #fff;
  padding-bottom: 8px; border-bottom: 1px solid var(--gold-600);
}
.footer-company a { color: #fff; }
.footer-nav ul { list-style: none; columns: 2; column-gap: 36px; }
.footer-nav a { color: #DCE4EE; text-decoration: none; display: block; padding: 2px 0; }
.footer-nav a:hover { color: var(--gold-400); opacity: 1; }
.footer-note {
  max-width: var(--max-w); margin: 28px auto 0; padding: 16px 20px 0;
  border-top: 1px solid rgba(255,255,255,.16);
  font-family: var(--serif-latin);
  font-size: 12px; letter-spacing: .12em; color: var(--navy-400); text-align: center;
}

/* ---------- ページタイトル帯（章扉風・金のシーム） ---------- */
.page-title {
  background: radial-gradient(120% 160% at 20% 0%, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #fff; padding: 46px 0 42px;
  position: relative; overflow: hidden;
}
.page-title::after {
  content: ""; position: absolute; right: 8%; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--gold-500) 35%, var(--gold-500) 65%, transparent);
  opacity: .8;
}
.page-title h1 {
  font-family: var(--serif-jp);
  font-size: 30px; font-weight: 700; line-height: 1.4; letter-spacing: .08em;
}
.page-title .en {
  display: block;
  font-family: var(--serif-latin); font-style: italic; font-weight: 500;
  font-size: 15px; color: var(--gold-400);
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 6px;
}
.page-title .lead { margin-top: 12px; font-size: 15px; color: var(--navy-200); max-width: 760px; }

section { padding: 60px 0; }
section.alt { background: var(--mist); }

/* ---------- セクション見出し（中央＋eyebrow＋金の下線） ---------- */
.sec-head { margin-bottom: 34px; text-align: center; }
.sec-head .eyebrow {
  display: block;
  font-family: var(--serif-latin); font-weight: 500;
  font-size: 14px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 4px;
}
.sec-head h2 {
  font-family: var(--serif-jp);
  font-size: 26px; font-weight: 700; color: var(--navy-800);
  line-height: 1.4; letter-spacing: .05em;
}
.sec-head h2::after {
  content: ""; display: block; width: 52px; height: 3px;
  background: var(--gold-500); margin: 14px auto 0;
}
.sec-head .sub { margin-top: 12px; font-size: 14px; color: var(--ink-500); }

/* 本文カラム内の見出しは左寄せ */
.media-txt .sec-head { text-align: left; margin-bottom: 18px; }
.media-txt .sec-head h2::after { margin-left: 0; }

h3 {
  font-family: var(--sans-jp);
  font-size: 18px; font-weight: 700; color: var(--navy-700);
  margin: 28px 0 12px; line-height: 1.45;
}

p + p { margin-top: 1em; }

.note { font-size: 13px; color: var(--ink-500); }

/* ---------- テーブル（横罫のみ・ヘッダー紺ベタ） ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: var(--paper); box-shadow: var(--sh-card); border-radius: 8px; overflow: hidden; }
.spec-table th, .spec-table td {
  border: none; border-bottom: 1px solid var(--line);
  padding: 13px 18px;
  text-align: left; vertical-align: top; font-size: 15px;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th {
  background: var(--cloud); color: var(--navy-700);
  width: 30%; font-weight: 700; white-space: nowrap;
}
.spec-table td { font-variant-numeric: tabular-nums; }
.spec-table.center td, .spec-table.center th { text-align: center; }
.spec-table thead th {
  background: var(--navy-800); color: #fff; width: auto; text-align: center;
  letter-spacing: .06em;
}
.table-scroll { overflow-x: auto; max-width: 100%; }
.table-scroll .spec-table { min-width: 560px; }

/* ---------- カード ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-left: auto; margin-right: auto; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--sh-card);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.card:hover { box-shadow: var(--sh-raise); border-color: var(--gold-200); }
.card .card-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card .card-img--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cloud) 0%, var(--mist) 100%);
  border-bottom: 1px solid var(--line);
}
.card .card-img--placeholder span {
  font-family: var(--serif-jp); font-size: 22px; font-weight: 700;
  color: var(--navy-400); letter-spacing: .12em;
}
.card .card-body { padding: 20px 22px 24px; flex: 1; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { font-size: 14.5px; color: var(--ink-700); }

/* ---------- 数値バー（明朝・金の統計数字） ---------- */
.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden; box-shadow: var(--sh-card);
}
.stat { background: var(--paper); text-align: center; padding: 26px 10px 22px; }
.stat .label { font-size: 12.5px; color: var(--ink-500); display: block; }
.stat .value {
  font-family: var(--serif-jp);
  font-size: 30px; font-weight: 900; color: var(--gold-600);
  line-height: 1.25; display: block; margin-top: 4px;
  letter-spacing: .01em;
}
.stat .value small { font-size: 15px; font-weight: 700; }
.stat .asterisk { font-size: 11px; color: var(--ink-500); display: block; margin-top: 2px; }

/* ---------- 工程フロー ---------- */
.flow { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 24px; }
.flow li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  position: relative; box-shadow: var(--sh-card);
}
.flow li .step-img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.flow li .step-body { padding: 16px 18px 20px; }
.flow li .step-no {
  position: absolute; top: 10px; left: 10px;
  background: var(--navy-800); color: var(--gold-400);
  font-family: var(--serif-latin); font-size: 17px; font-weight: 600;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-500);
}
.flow li h3 { margin: 0 0 6px; font-size: 16.5px; font-family: var(--serif-jp); color: var(--navy-800); }
.flow li p { font-size: 13.5px; color: var(--ink-700); }

/* 番号のみの簡易フロー（相談〜納品など） */
.steps { list-style: none; counter-reset: n; max-width: 820px; margin: 0 auto; }
.steps li { position: relative; padding: 0 0 22px 58px; counter-increment: n; }
.steps li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-800); color: var(--gold-400);
  font-family: var(--serif-latin); font-size: 16px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-500);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 19.5px; top: 44px; bottom: 2px;
  width: 1px; background: var(--line-strong);
}
.steps li strong { display: block; font-family: var(--serif-jp); color: var(--navy-800); font-size: 17px; letter-spacing: .03em; }
.steps li p { font-size: 14.5px; color: var(--ink-700); }

/* ---------- 2カラム（写真＋文章） ---------- */
.media { display: flex; gap: 40px; align-items: flex-start; }
.media > .media-img { flex: 0 0 44%; }
.media > .media-img img { border-radius: 8px; box-shadow: var(--sh-card); }
.media > .media-txt { flex: 1; min-width: 0; }
.media.rev { flex-direction: row-reverse; }

/* ---------- CTA（最暗紺＋金） ---------- */
.cta {
  background: radial-gradient(140% 180% at 50% -20%, var(--navy-800) 0%, var(--navy-900) 70%);
  color: #fff; text-align: center; padding: 56px 20px;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 52px; height: 3px; background: var(--gold-500);
}
.cta h2 {
  font-family: var(--serif-jp); font-size: 24px; font-weight: 700;
  letter-spacing: .06em; margin-bottom: 10px;
}
.cta p { color: var(--navy-200); font-size: 14.5px; }
.cta .cta-tel {
  font-family: var(--serif-jp);
  font-size: 36px; font-weight: 700; color: #fff; text-decoration: none;
  letter-spacing: .03em; display: inline-block; margin: 12px 0 2px;
}
.cta .cta-sub { font-size: 13px; color: var(--navy-400); }
.cta .btn { margin-top: 20px; }

/* ---------- ボタン（金CTA・0.15s・1px浮き） ---------- */
.btn {
  display: inline-block; padding: 13px 36px;
  background: var(--gold-500); color: #fff; text-decoration: none;
  border-radius: 6px; font-weight: 700; font-size: 15.5px;
  border: none; cursor: pointer; letter-spacing: .04em;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--gold-600); transform: translateY(-1px); box-shadow: var(--sh-raise); opacity: 1; }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn.navy { background: var(--navy-800); }
.btn.navy:hover { background: var(--navy-700); }
.btn.large { padding: 15px 48px; font-size: 17px; }

/* ---------- ヒーロー（全幅写真＋紺オーバーレイ・左コピー） ---------- */
.hero {
  position: relative; min-height: 560px;
  display: flex; align-items: center;
  background: var(--navy-900); color: #fff;
  overflow: hidden;
}
.hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 38%; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(13,40,77,.62) 0%, rgba(13,40,77,0) 36%),
    linear-gradient(95deg,
    rgba(13,40,77,.96) 0%,
    rgba(13,40,77,.90) 30%,
    rgba(19,45,82,.62) 58%,
    rgba(22,51,90,.28) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  padding: 92px 20px;
}
.hero-rule { display: block; width: 48px; height: 3px; background: var(--gold-500); margin-bottom: 24px; }
.hero h1 {
  font-family: var(--serif-jp);
  font-size: 40px; font-weight: 700; line-height: 1.55; letter-spacing: .05em;
  text-shadow: 0 1px 10px rgba(13,40,77,.45);
}
.hero .hero-lead {
  margin-top: 18px; font-size: 15.5px; color: #DCE4EE; max-width: 600px;
  text-shadow: 0 1px 6px rgba(13,40,77,.5);
}
.hero .hero-btns { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 強み（柱カード：上辺4px紺帯） ---------- */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.strength {
  background: var(--paper);
  border: 1px solid var(--line); border-top: 4px solid var(--navy-800);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--sh-card);
  padding: 24px 24px 26px;
}
.strength .num {
  font-family: var(--serif-latin); font-size: 22px; font-weight: 600;
  color: var(--gold-500); letter-spacing: .08em; line-height: 1;
}
.strength h3 { margin: 8px 0 8px; font-size: 17.5px; font-family: var(--serif-jp); color: var(--navy-800); }
.strength p { font-size: 14.5px; color: var(--ink-700); }

/* ---------- 円形厚紙ハイライト（紺地＋金の左罫コールアウト） ---------- */
.round-highlight {
  display: flex; gap: 36px; align-items: center;
  background: var(--navy-800);
  border-left: 4px solid var(--gold-500);
  border-radius: 8px;
  color: #DCE4EE;
  padding: 34px; overflow: hidden;
  box-shadow: var(--sh-card);
}
.round-highlight .rh-img { flex: 0 0 42%; }
.round-highlight .rh-img img { border-radius: 6px; }
.round-highlight > div { min-width: 0; }
.round-highlight h2, .round-highlight h3 {
  font-family: var(--serif-jp); color: #fff;
  font-size: 22px; font-weight: 700; letter-spacing: .04em; margin: 0 0 10px;
}
.round-highlight .tag {
  display: inline-block; border: 1px solid var(--gold-500); color: var(--gold-400);
  font-size: 12px; font-weight: 500; letter-spacing: .14em;
  padding: 3px 14px; border-radius: 999px; margin-bottom: 12px;
}
.round-highlight .spec-table { box-shadow: none; }
.round-highlight .spec-table td { color: var(--ink-900); }

/* ---------- 会社概要 ---------- */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; justify-content: center; }
.anchor-nav a {
  display: block; padding: 8px 20px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; text-decoration: none; color: var(--navy-700); font-weight: 500;
  transition: border-color .15s ease, color .15s ease;
}
.anchor-nav a:hover { border-color: var(--gold-500); color: var(--navy-800); opacity: 1; }

.history { list-style: none; max-width: 900px; margin: 0 auto; }
.history li { display: flex; gap: 24px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.history .year {
  flex: 0 0 190px;
  font-family: var(--serif-jp); font-weight: 700; color: var(--navy-800);
  font-variant-numeric: tabular-nums;
}

.president { display: flex; gap: 36px; align-items: flex-start; }
.president .p-img { flex: 0 0 260px; }
.president .p-img img { border-radius: 8px; box-shadow: var(--sh-card); }
.president .p-name { margin-top: 14px; font-size: 14px; color: var(--ink-500); }
.president .p-name strong { font-family: var(--serif-jp); font-size: 19px; color: var(--navy-800); letter-spacing: .06em; }

/* ---------- お問い合わせ ---------- */
.contact-tel-box {
  background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--navy-800);
  border-radius: 8px; box-shadow: var(--sh-card);
  text-align: center; padding: 32px 20px 28px;
}
.contact-tel-box .tel-big {
  font-family: var(--serif-jp);
  font-size: 40px; font-weight: 700; color: var(--navy-800); text-decoration: none;
  letter-spacing: .02em;
}
.contact-tel-box p { font-size: 14px; color: var(--ink-700); }

.contact-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.route {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--sh-card);
  padding: 22px 20px; text-align: center;
}
.route h3 { margin: 0 0 8px; font-size: 16.5px; font-family: var(--serif-jp); color: var(--navy-800); }
.route h3::after { content: ""; display: block; width: 28px; height: 2px; background: var(--gold-500); margin: 8px auto 0; }
.route p { font-size: 13.5px; color: var(--ink-700); }

.form-table { width: 100%; border-collapse: collapse; background: var(--paper); box-shadow: var(--sh-card); border-radius: 8px; overflow: hidden; }
.form-table th, .form-table td { border: none; border-bottom: 1px solid var(--line); padding: 15px 18px; text-align: left; font-size: 15px; }
.form-table tr:last-child th, .form-table tr:last-child td { border-bottom: none; }
.form-table th { background: var(--cloud); width: 30%; color: var(--navy-700); font-weight: 700; }
.req { color: var(--neg); font-size: 12px; margin-left: 6px; font-weight: 700; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 10px 12px; font-size: 16px;
  border: 1px solid var(--line-strong); border-radius: 5px;
  font-family: inherit; background: #fff; color: var(--ink-900);
}
textarea { min-height: 170px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-500); outline-offset: 0; }
.form-submit { text-align: center; margin-top: 26px; }
.consent { text-align: center; margin-top: 20px; font-size: 14.5px; }
.consent input { width: 16px; height: 16px; vertical-align: -2px; margin-right: 6px; }

.alert-ok, .alert-err { padding: 16px 20px; border-radius: 8px; margin-bottom: 24px; font-size: 15px; }
.alert-ok { background: #EDF5EF; border: 1px solid var(--pos); color: #245C3E; }
.alert-err { background: #F9EEEC; border: 1px solid var(--neg); color: #8E2F2F; }

/* ---------- 品質フロー ---------- */
.qflow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: q; }
.qflow li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--sh-card);
  padding: 20px 18px; counter-increment: q;
}
.qflow li::before {
  content: "STEP " counter(q, decimal-leading-zero);
  display: block;
  font-family: var(--serif-latin); font-size: 14px; font-weight: 600; color: var(--gold-500);
  letter-spacing: .18em; margin-bottom: 8px;
}
.qflow li strong { display: block; font-family: var(--serif-jp); color: var(--navy-800); margin-bottom: 4px; font-size: 15.5px; }
.qflow li p { font-size: 13.5px; color: var(--ink-700); }

/* ---------- ギャラリー ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 8px; box-shadow: var(--sh-card); }
.gallery figcaption { font-size: 13px; color: var(--ink-500); margin-top: 8px; }

/* ---------- ユーティリティ ---------- */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }
.center { text-align: center; }
.lead-p { font-size: 16.5px; }
.nb { white-space: nowrap; }
.prose { max-width: 46em; margin-left: auto; margin-right: auto; }
.photo-crop { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 38%; width: 100%; }

/* 2列のスリム表（円形厚紙の仕様など。横スクロール不要） */
.spec-table.slim { max-width: 560px; margin-left: auto; margin-right: auto; }
.spec-table.slim td:first-child { white-space: nowrap; }

/* カード型リンク（お問い合わせの用件選択） */
a.route { text-decoration: none; color: inherit; display: block; transition: border-color .15s ease, box-shadow .15s ease; }
a.route:hover { border-color: var(--gold-500); box-shadow: var(--sh-raise); opacity: 1; }
.route .route-go { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--navy-600); }

/* ============================================================
   モバイル（768px以下・1カラム）
   ============================================================ */
@media (max-width: 768px) {
  html { scroll-padding-top: 66px; }

  .header-inner { min-height: 60px; padding: 0 12px; gap: 10px; }
  .brand-name { font-size: 14px; }
  .brand-name small { font-size: 9.5px; }
  .brand-mark { width: 36px; height: 36px; font-size: 14px; }
  .header-tel .tel-num { font-size: 17px; }
  .header-tel .tel-note { font-size: 10px; }
  .menu-btn { display: block; }

  .global-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(13,40,77,.08);
  }
  .global-nav.open { display: block; }
  .global-nav ul { flex-direction: column; padding: 8px 12px 14px; }
  .global-nav a { padding: 12px 10px; font-size: 15.5px; border-bottom: 1px solid var(--cloud); }
  .global-nav a.current { border-bottom-color: var(--gold-500); }

  section { padding: 44px 0; }
  .page-title { padding: 32px 0 28px; }
  .page-title h1 { font-size: 23px; }
  .page-title::after { right: 5%; }

  .hero { min-height: 480px; }
  .hero::after {
    background: linear-gradient(160deg, rgba(13,40,77,.94) 0%, rgba(13,40,77,.82) 55%, rgba(22,51,90,.55) 100%);
  }
  .hero-inner { padding: 64px 20px 56px; }
  .hero h1 { font-size: 26px; }
  .hero .hero-lead { font-size: 14.5px; }

  .sec-head h2 { font-size: 22px; }

  .stat-bar { grid-template-columns: 1fr 1fr; }
  .stat .value { font-size: 26px; }
  .cards, .strengths, .contact-routes, .gallery { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .qflow { grid-template-columns: 1fr; }

  .footer-nav a { padding: 8px 0; }

  .media, .media.rev { flex-direction: column; }
  .media > .media-img { flex: none; width: 100%; }

  .round-highlight { flex-direction: column; align-items: stretch; padding: 22px; }
  .round-highlight .rh-img { flex: none; width: 100%; }

  .president { flex-direction: column; }
  .president .p-img { flex: none; max-width: 300px; }

  .history li { flex-direction: column; gap: 2px; }
  .history .year { flex: none; }

  .spec-table th { width: 36%; white-space: normal; }
  .form-table, .form-table tbody, .form-table tr, .form-table th, .form-table td { display: block; width: 100%; }
  .form-table th { border-bottom: none; }
  .form-table tr + tr th { border-top: none; }

  .footer-nav ul { columns: 1; }
  .cta .cta-tel { font-size: 29px; }
}

/* ---------- 小さいスマホ（480px以下） ---------- */
@media (max-width: 480px) {
  .brand-name small { display: none; }
  .header-tel .tel-note { display: none; }
  .brand-name { font-size: 14px; }
  .btn { padding: 13px 22px; }
  .btn.large { padding: 15px 30px; }
}
