/* ナサルスデジタルラボ 共通スタイル */

:root {
  --key: #2e6da4;        /* 旧サイト（Lightning）のキーカラー。白地で 5.4:1 */
  --key-dark: #1f4e78;
  --key-pale: #eef4fa;
  --text: #2b2b2b;
  --text-sub: #555;
  --line: #d9e2ea;
  --bg: #fff;
  --bg-tint: #f5f8fb;
  --footer-bg: #1d3347;
  --radius: 6px;
  --container: 1080px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Noto Sans JP", Meiryo, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: .04em;
  font-feature-settings: "palt" 0;
  overflow-wrap: anywhere;
  line-break: strict;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--key); text-underline-offset: .2em; }
a:hover { color: var(--key-dark); }
:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.5; margin: 0; font-weight: 700; letter-spacing: .06em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* 本文へ移動 */
.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--key-dark); color: #fff; padding: 8px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 8px; color: #fff; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 28px;
  border: 2px solid var(--key); border-radius: 999px;
  font-weight: 700; text-decoration: none; line-height: 1.4;
  transition: background-color .2s, color .2s;
}
.btn-primary { background: var(--key); color: #fff; }
.btn-primary:hover { background: var(--key-dark); border-color: var(--key-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--key); }
.btn-outline:hover { background: var(--key-pale); }
.btn-light { background: #fff; color: var(--key-dark); border-color: #fff; }
.btn-light:hover { background: var(--key-pale); color: var(--key-dark); }
.btn-small { min-height: 40px; padding: 6px 18px; font-size: .875rem; }

.text-link { font-weight: 700; }
.text-link::after { content: " →"; }

/* ヘッダー */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-logo img { width: 260px; }
.header-contact { display: flex; align-items: center; gap: 10px; }
.header-tel { font-weight: 700; font-size: 1.125rem; color: var(--text); text-decoration: none; margin-right: 8px; letter-spacing: .02em; }
.header-tel .label { font-size: .75rem; color: var(--text-sub); margin-right: 6px; font-weight: 400; }

.global-nav { border-top: 1px solid var(--line); }
.global-nav ul { max-width: 1200px; margin: 0 auto; padding: 0 12px; display: flex; flex-wrap: wrap; justify-content: center; }
.global-nav a {
  display: block; padding: 12px 14px; color: var(--text); text-decoration: none; font-size: .9375rem;
  border-bottom: 3px solid transparent;
}
.global-nav a:hover { color: var(--key); border-bottom-color: var(--key); }
.nav-sp-only { display: none; }

.nav-toggle {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 6px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); font: inherit; font-size: .8125rem; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* メインビジュアル */
.hero { position: relative; background: #12263a; color: #fff; }
.hero-img { width: 100%; aspect-ratio: 2000 / 783; object-fit: cover; }
.hero-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 56px 20px 32px;
  background: linear-gradient(to top, rgba(10, 26, 42, .88) 0%, rgba(10, 26, 42, .72) 55%, rgba(10, 26, 42, 0) 100%);
}
.hero-text > * { max-width: var(--container); margin-left: auto; margin-right: auto; padding: 0 20px; }
.hero-catch { font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1.5; margin-bottom: .4em; letter-spacing: .08em; }
.hero h1 { font-size: 1rem; font-weight: 400; letter-spacing: .1em; }
.hero h1 span { display: inline-block; margin-left: .8em; font-weight: 700; }

/* お知らせ */
.notice { background: var(--key-pale); border-bottom: 1px solid var(--line); }
.notice-inner { display: flex; align-items: baseline; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.notice-label {
  flex: none; font-size: .8125rem; background: var(--key); color: #fff; padding: 2px 12px; border-radius: 999px; letter-spacing: .1em;
}
.notice p { margin: 0; font-size: .9375rem; }

/* セクション共通 */
.section { padding: 88px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-en { margin: 0 0 4px; color: var(--key); font-size: .8125rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section-sub { margin: 12px 0 0; font-weight: 700; color: var(--key-dark); }
.section-sub::before, .section-sub::after { content: "—"; margin: 0 .6em; color: var(--key); font-weight: 400; }

.prose { max-width: 760px; margin: 0 auto; }
.prose.center { text-align: center; margin-top: 32px; }
.wide-figure { margin: 40px 0; }
.wide-figure img { width: 100%; border-radius: var(--radius); }

/* 導入 */
.intro-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.intro-emblem img { width: 100%; max-width: 300px; margin: 0 auto; }
.intro-title { font-size: clamp(1.25rem, 2.2vw, 1.625rem); color: var(--key-dark); margin-bottom: 24px; }
.intro-link { margin: 24px 0 0; }

/* 写真 */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-grid img { width: 100%; aspect-ratio: 524 / 347; object-fit: cover; border-radius: var(--radius); }

/* 関連ページへのカード */
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.link-cards a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%;
  padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
.link-cards a::after { content: "→"; color: var(--key); font-weight: 700; }
.link-cards a:hover { border-color: var(--key); box-shadow: 0 4px 14px rgba(31, 78, 120, .12); }
.link-card-title { font-weight: 700; }

/* 採用 */
.recruit { position: relative; color: #fff; text-align: center; overflow: hidden; background: #12263a; }
.recruit-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.recruit-inner { position: relative; padding-top: 80px; padding-bottom: 80px; }
.recruit .section-en { color: #b9d4ee; }
.recruit h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); margin-bottom: 12px; }
.recruit p:last-child { margin: 28px 0 0; }

/* お問い合わせへの誘導 */
.cta { text-align: center; }
.cta h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); margin-bottom: 8px; }
.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 28px 0 20px; }
.cta-buttons .btn { min-width: 220px; }
.cta-tel { font-size: 1.125rem; font-weight: 700; margin: 0; }
.cta-tel a { color: var(--text); text-decoration: none; font-size: 1.5rem; letter-spacing: .04em; }

/* フッター */
.site-footer { background: var(--footer-bg); color: #e6edf3; font-size: .9375rem; }
.site-footer a { color: #e6edf3; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-name { font-size: 1.125rem; font-weight: 700; margin-bottom: .2em; color: #fff; }
.footer-info p { margin-bottom: .3em; }
.footer-info address { margin-top: 12px; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 24px; }
.footer-nav a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-nav a:hover { text-decoration: underline; }
.copyright { margin: 0; padding: 16px 20px; border-top: 1px solid rgba(255, 255, 255, .15); text-align: center; color: #b8c6d3; }

/* タブレット以下 */
@media (max-width: 900px) {
  .header-contact { display: none; }
  .site-logo img { width: 220px; }
  .nav-sp-only { display: list-item; }
  .js .nav-toggle { display: inline-flex; }
  .js .global-nav { display: none; }
  .js .global-nav.is-open { display: block; }
  .global-nav ul { display: block; padding: 0; }
  .global-nav li + li { border-top: 1px solid var(--line); }
  .global-nav a { padding: 14px 20px; border-bottom: 0; }
  .global-nav a::after { content: "›"; float: right; color: var(--key); }

  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .intro-emblem img { max-width: 200px; }
  .link-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* スマホ */
@media (max-width: 600px) {
  body { font-size: .9375rem; line-height: 1.85; }
  .header-inner { padding: 10px 16px; }
  .site-logo img { width: 190px; }
  .container { padding: 0 16px; }

  .hero-img { aspect-ratio: 4 / 3; }
  .hero-text { padding: 48px 0 20px; }
  .hero-text > * { padding: 0 16px; }
  .hero h1 span { display: block; margin-left: 0; }

  /* .container の padding: 0 16px（上の行）が上下の余白を消すので、ここで付け直す */
  .notice-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 16px; padding-bottom: 18px; }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .section-sub::before, .section-sub::after { content: none; }
  .wide-figure { margin: 28px 0; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .photo-grid li:first-child { grid-column: 1 / -1; }
  .prose.center { text-align: left; }
  .prose.center .btn { width: 100%; }

  .recruit-inner { padding-top: 56px; padding-bottom: 56px; }
  .cta-buttons .btn { width: 100%; }
  .footer-nav ul { grid-template-columns: 1fr 1fr; }
}

/* ===== 下層ページ共通 ===== */
.page-head { background: var(--key-pale); border-bottom: 1px solid var(--line); padding: 20px 0 32px; }
.page-head h1 { font-size: clamp(1.5rem, 3vw, 2.125rem); color: var(--key-dark); }
.breadcrumb ol { display: flex; flex-wrap: wrap; margin: 0 0 12px; padding: 0; list-style: none; font-size: .8125rem; color: var(--text-sub); }
.breadcrumb li + li::before { content: "›"; margin: 0 .6em; }
.global-nav a[aria-current="page"] { color: var(--key); border-bottom-color: var(--key); font-weight: 700; }

/* ===== 料金表 ===== */
.price-page { padding-top: 40px; }
.page-toc ul { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.page-toc a {
  display: inline-block; padding: 8px 18px; border: 1px solid var(--key); border-radius: 999px;
  text-decoration: none; font-size: .875rem; font-weight: 700;
}
.page-toc a:hover { background: var(--key-pale); }
.price-section { margin-bottom: 64px; scroll-margin-top: 16px; }
.price-section > h2 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem); padding-left: 14px; margin-bottom: 24px;
  border-left: 6px solid var(--key-dark);
}
.price-table-wrap { margin-bottom: 36px; }
.price-table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.6; }
.price-table caption {
  text-align: left; font-weight: 700; color: #fff; background: #3e5068;
  padding: 6px 14px; width: max-content; max-width: 100%; border-radius: var(--radius) var(--radius) 0 0;
}
.price-table thead th {
  text-align: left; font-size: .8125rem; font-weight: 700; color: var(--text-sub);
  padding: 8px 14px; border-bottom: 2px solid #3e5068;
}
.price-table thead th:last-child { text-align: right; }
.price-table tbody th, .price-table tbody td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table tbody th { text-align: left; font-weight: 400; }
.price-table tbody + tbody tr:first-child > * { border-top: 10px solid #fff; }
.price-table tbody tr:nth-child(odd) { background: #edf3fa; }
.price-table .price { text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-table .campaign { font-size: .8125rem; font-weight: 400; color: var(--text-sub); }
.price-table .note { font-size: .8125rem; color: var(--text-sub); white-space: nowrap; }
.price-table .group-row th { background: #8295ad; color: #fff; font-weight: 700; padding: 6px 14px; }
.table-note { margin: 10px 0 0; font-size: .875rem; color: var(--text-sub); }
.days-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.price-notes { margin: 0 0 16px; font-weight: 700; color: var(--key-dark); }
.price-notes li { margin-bottom: 4px; }
.cta-box { text-align: center; background: var(--bg-tint); border-radius: var(--radius); padding: 40px 20px; }

@media (max-width: 900px) {
  .days-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-head { padding: 14px 0 22px; }
  .price-table { font-size: .875rem; }
  .price-table tbody th, .price-table tbody td { padding: 9px 10px; }
  .price-table .note { white-space: normal; }
  .page-toc ul { margin-bottom: 32px; }
}
.price-tax { margin: -32px 0 40px; font-weight: 700; }
@media (max-width: 600px) { .price-tax { margin: -20px 0 28px; } }

/* ===== 下層ページの本文 ===== */
.page-body { padding-top: 48px; }
.page-body .container > section, .content-block { margin-bottom: 72px; }
.content-h2 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem); color: var(--key-dark);
  padding-bottom: 10px; margin-bottom: 24px; border-bottom: 2px solid var(--line); position: relative;
}
.content-h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 80px; height: 2px; background: var(--key); }
.content-h3 { font-size: 1.125rem; margin: 32px 0 12px; color: var(--text); }
.lead { font-size: 1.125rem; font-weight: 700; color: var(--key-dark); }
.motto {
  margin: 0 0 16px; padding: 28px 24px; background: var(--key-pale); border-radius: var(--radius);
  text-align: center; font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 700; color: var(--key-dark); line-height: 1.7;
}
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.media-row.reverse > :first-child { order: 2; }
.media-row img, .content-img { width: 100%; border-radius: var(--radius); }
.content-img { margin: 24px 0; }
.small-note { font-size: .875rem; color: var(--text-sub); }
.small-note p { margin-bottom: .3em; }

.photo-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.photo-grid-2 img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

.equip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin: 24px 0; }
.equip-grid figure {
  margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center;
}
.equip-grid img { height: 200px; width: auto; max-width: 100%; margin: 0 auto 10px; object-fit: contain; }
.equip-grid figcaption { font-weight: 700; font-size: .9375rem; }

.staff-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 32px;
}
.staff-card.no-photo { grid-template-columns: 1fr; }
.staff-card img { width: 100%; border-radius: var(--radius); }
.staff-name { font-size: 1.375rem; margin-bottom: 4px; }
.staff-name .role { font-size: .875rem; font-weight: 400; color: var(--text-sub); margin-left: .8em; }
.staff-reg { color: var(--text-sub); font-size: .875rem; margin-bottom: 16px; }
.career dt { font-weight: 700; margin-top: 10px; color: var(--key-dark); }
.career dd { margin: 0 0 0 1em; }
.career ul { list-style: disc; padding-left: 1.2em; }

.info-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.info-table th, .info-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 8em; background: var(--bg-tint); font-weight: 700; }
.map-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-tint); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 900px) {
  .media-row { grid-template-columns: 1fr; gap: 20px; }
  .media-row.reverse > :first-child { order: 0; }
  .staff-card { grid-template-columns: 1fr; padding: 20px; }
  .staff-card img { max-width: 360px; }
}
@media (max-width: 600px) {
  .page-body { padding-top: 32px; }
  .page-body .container > section, .content-block { margin-bottom: 48px; }
  .photo-grid-2 { gap: 8px; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .equip-grid figure { padding: 10px; }
  .equip-grid img { height: 140px; }
  .equip-grid figcaption { font-size: .8125rem; }
  .info-table th { width: 5.5em; padding: 12px 10px; }
  .info-table td { padding: 12px 10px; }
  .map-embed { aspect-ratio: 4 / 3; }
}

/* ===== 技工物の紹介・受発注・採用 ===== */
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 24px 0; }
.works-grid figure { margin: 0; }
.works-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.works-grid figcaption { margin-top: 8px; font-weight: 700; font-size: .9375rem; }
.works-grid figcaption small { display: block; font-weight: 400; color: var(--text-sub); font-size: .8125rem; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.6em; margin-bottom: .6em; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--key); font-weight: 700; }
.flow { list-style: none; padding: 0; margin: 24px 0; counter-reset: flow; display: grid; gap: 12px; }
.flow li {
  counter-increment: flow; position: relative; padding: 16px 16px 16px 64px;
  background: var(--bg-tint); border-radius: var(--radius);
}
.flow li::before {
  content: counter(flow); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--key); color: #fff; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.flow strong { display: block; color: var(--key-dark); }
.box { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 24px 0; }
.box > :last-child { margin-bottom: 0; }

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.recruit-catch { text-align: center; font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 700; color: var(--key-dark); margin: 32px 0 0; }
.merit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.merit-list section { padding: 24px; border-radius: var(--radius); background: var(--bg-tint); }
.merit-list h3 { font-size: 1.125rem; color: var(--key-dark); margin-bottom: 10px; }
.timeline { list-style: none; padding: 0; margin: 24px 0; border-left: 3px solid var(--key-pale); }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; padding: 0 0 24px 20px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--key); }
.timeline img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.timeline .time { font-weight: 700; color: var(--key); font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 1.0625rem; margin: 0 0 4px; }
.timeline p { margin: 0; }
.career-year { margin: 32px 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.career-year h3 { font-size: 1.25rem; color: #fff; background: var(--key-dark); display: inline-block; padding: 2px 16px; border-radius: 999px; margin-bottom: 12px; }
.career-year .goal { font-weight: 700; }
.career-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; margin-top: 16px; }
.career-cols h4 { margin: 0 0 6px; font-size: .9375rem; color: var(--key-dark); }
.career-cols ul { list-style: disc; padding-left: 1.2em; font-size: .9375rem; }
.spec-table th { width: 9em; }
.spec-table ul { list-style: none; padding: 0; margin: 0; }

@media (max-width: 900px) {
  .merit-list { grid-template-columns: 1fr; }
  .career-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .works-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .works-grid figcaption { font-size: .8125rem; }
  .photo-strip { gap: 6px; }
  .timeline li { grid-template-columns: 64px 1fr; gap: 12px; padding-left: 14px; }
  .timeline img { width: 64px; height: 64px; }
  .career-year, .box { padding: 18px; }
  .spec-table th { width: 5.5em; }
}

/* ===== お問い合わせ・資料請求（Google フォームの埋め込み） ===== */
.form-embed { margin: 24px 0 8px; }
.form-embed iframe { display: block; width: 100%; max-width: 760px; height: 1250px; margin: 0 auto; border: 0; }
@media (max-width: 600px) { .form-embed iframe { height: 1500px; } }
.form-placeholder {
  max-width: 760px; margin: 0 auto; padding: 40px 24px; text-align: center;
  background: var(--bg-tint); border: 1px dashed var(--line); border-radius: var(--radius);
}
.form-placeholder p { margin: 0; }

/* ===== 症例集（ビフォー・アフター） ===== */
.case { margin-bottom: 56px; }
.ba-figure { margin: 0 auto 32px; max-width: 480px; }
.ba-figure figcaption { margin-top: 8px; font-weight: 700; text-align: center; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-pair figure { margin: 0; }
.ba-pair img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.ba-pair figcaption { font-size: .875rem; text-align: center; font-weight: 400; }
/* JS が動くときだけ、重ねて比べる表示にする */
.ba-slider { margin: 0 auto; position: relative; overflow: hidden; border-radius: var(--radius); user-select: none; touch-action: pan-y; }
.ba-slider img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ba-slider .ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-slider .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1px; background: #fff; box-shadow: 0 0 4px rgba(0, 0, 0, .5); pointer-events: none; }
.ba-slider .ba-line::after {
  content: "◀ ▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  padding: 4px 8px; border-radius: 999px; background: #fff; color: var(--key-dark); font-size: .75rem; letter-spacing: 0; white-space: nowrap;
}
.ba-slider .ba-label { position: absolute; top: 8px; padding: 0 8px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .75rem; border-radius: 4px; pointer-events: none; }
.ba-slider .ba-label-before { left: 8px; }
.ba-slider .ba-label-after { right: 8px; }
.ba-slider input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-slider:has(input:focus-visible) { outline: 3px solid #f0a500; outline-offset: 2px; }
