@charset "UTF-8";
/* ==========================================================
   耐候性試験 受託サービス LP  /  株式会社傳來工房
   ========================================================== */

:root {
  --bg: #F2F3F1;
  --surface: #FFFFFF;
  --surface-sub: #F6F7F5;
  --ink: #16181D;
  --ink-sub: #4A4F59;
  --line: #D5D8DC;
  --line-soft: #E3E5E8;
  --input-line: #B7BBC3;

  --accent: #2F6AA3;        /* 落ち着いたマットなブルー */
  --accent-hover: #24527F;
  --accent-soft: #E8EFF6;
  --accent-ink: #1D4266;
  --accent-on-dark: #E3EDF7;

  /* ヒーロー・料金カード・お問い合わせ・フッターの背景 */
  --dark: #3D6F9E;        /* マットなブルー（彩度控えめ） */
  --dark-deep: #2F5A82;   /* フッター */
  --dark-line: rgba(255, 255, 255, .26);
  --dark-text: #FFFFFF;
  --dark-sub: #EEF3F8;
  --dark-muted: #E3EDF7;

  --dew: #CFE3F5;
  --dew-ink: #12385C;

  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  /* 数字用：游ゴシック（0に斜線・点のない字形） */
  --font-mono: "Yu Gothic", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;

  --radius: 12px;
  --radius-lg: 16px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; }
.mono { font-family: var(--font-mono); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.muted { color: var(--ink-sub); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--dark-text); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .12); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 243, 241, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(47, 90, 130, .10); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: 14px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 22px; letter-spacing: .08em; }
.brand-sub { font-size: 13px; color: var(--ink-sub); letter-spacing: .06em; }
.global-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.global-nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.global-nav a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; }

/* ---------- Eyebrow / Titles ---------- */
.eyebrow { font-family: var(--font-mono); font-size: 13px; letter-spacing: .18em; color: var(--accent); margin-bottom: 8px; }
.eyebrow-light { color: var(--accent-on-dark); }
.section-title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.4; margin-bottom: 40px; }
.section-title-sm { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 24px; }
.section-lead { max-width: 46em; color: var(--ink-sub); margin: -24px 0 40px; }
.sub-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; }

/* ---------- Sections ---------- */
.section { padding: 104px 0 40px; }
.section-tight { padding: 72px 0 40px; }
.section-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 64px; padding-bottom: 96px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.two-col-start { align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Hero ---------- */
.hero { background: var(--dark); color: var(--dark-text); }
.hero-inner { padding-top: 96px; padding-bottom: 88px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-title { font-family: var(--font-serif); font-weight: 700; font-size: clamp(23px, 3.7vw, 49px); line-height: 1.35; letter-spacing: .02em; }
.hero-lead { font-size: 17px; color: var(--dark-sub); max-width: 34em; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li { padding: 6px 14px; border: 1px solid #fff; background: rgba(255, 255, 255, .08); border-radius: 0; font-size: 14px; font-weight: 700; }
.hero-chips b { color: #fff; }
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; font-size: 15px; color: var(--dark-sub); }
.hero-price strong { font-size: 44px; font-weight: 600; color: #fff; line-height: 1; }
.hero-visual { display: flex; flex-direction: column; gap: 14px; }
.hero-photo { margin: 0; }
/* 青背景の上のメインボタンは白に */
.hero .btn-primary { background: #fff; color: var(--accent-ink); }
.hero .btn-primary:hover { background: var(--accent-soft); color: var(--accent-ink); }
/* 青背景の上のメインボタンは白に */
.hero-photo img { width: 100%; height: auto; }
.fade-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.fade-strip span { height: 36px; border-radius: 4px; }
.fade-strip span:nth-child(1) { background: #C8352E; }
.fade-strip span:nth-child(2) { background: #C9524A; }
.fade-strip span:nth-child(3) { background: #CB6F66; }
.fade-strip span:nth-child(4) { background: #CC8C84; }
.fade-strip span:nth-child(5) { background: #CDA9A2; }
.fade-strip span:nth-child(6) { background: #CFC2BD; }
.fade-note { font-size: 12px; color: var(--dark-muted); }

/* ---------- Merit ---------- */
.merit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.merit { padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.merit-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.merit-icon { width: 56px; height: 56px; flex-shrink: 0; padding: 8px; background: var(--accent-soft); border-radius: 14px; }
.merit-num { font-size: 16px; font-weight: 600; color: var(--accent); }
.merit-head { font-size: 22px; font-weight: 700; line-height: 1.4; }
.merit-big { font-size: 40px; font-weight: 600; line-height: 1; margin: 0 4px; }
.merit p { font-size: 15px; color: var(--ink-sub); }

/* ---------- Lists ---------- */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative; padding: 18px 20px 18px 54px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.check-list li::before {
  content: ""; position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%);
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F6AA3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tag-list li { padding: 10px 20px; background: var(--accent-soft); color: var(--accent-ink); border-radius: 999px; font-weight: 500; }

/* 対象となる製品・素材 */
.target-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.target {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 6px;
}
.target-name {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--accent-ink);
}
.target-name::before {
  content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 2px; background: var(--accent);
}
.target-desc { font-size: 14px; line-height: 1.7; color: var(--ink-sub); padding-left: 18px; }

/* ---------- Spec ---------- */
.spec { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec > div { display: grid; grid-template-columns: 9.5em 1fr; border-bottom: 1px solid var(--line-soft); }
.spec > div:last-child { border-bottom: 0; }
.spec dt { padding: 14px 18px; background: var(--surface-sub); font-size: 14px; font-weight: 700; }
.spec dd { padding: 14px 18px; font-size: 15px; }
.spec small { font-size: 13px; color: var(--ink-sub); }
.machine-side { display: flex; flex-direction: column; gap: 44px; }

/* 試験機ギャラリー（4枚横並び） */
.machine-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.machine-gallery figure { display: flex; flex-direction: column; gap: 10px; }
.machine-gallery img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-sub);
}
.machine-gallery figcaption { font-size: 14px; line-height: 1.6; color: var(--ink-sub); }

.modes { display: flex; flex-direction: column; gap: 10px; counter-reset: mode; }
.modes li { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; counter-increment: mode; }
.modes li::before { content: counter(mode); width: 24px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-sub); }
.modes i { font-style: normal; color: #8A8F99; }
.step { padding: 4px 14px; border-radius: 6px; font-size: 14px; font-weight: 700; }
.s-light { background: var(--accent); color: #fff; }
.s-rest { background: var(--line-soft); color: var(--ink); }
.s-dew { background: var(--dew); color: var(--dew-ink); }
.mode-note { font-size: 14px; color: var(--ink-sub); }

.bars { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 16px; }
.bar-row { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; align-items: center; font-size: 14px; }
.bar-row.is-main span, .bar-row.is-main b { font-weight: 700; }
.bar-track { display: flex; align-items: center; gap: 10px; }
.bar { height: 22px; width: 0; min-width: 6px; background: #B7BBC3; border-radius: 3px; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.bar-mid { background: #8A8F99; }
.bar-accent { background: var(--accent); }
.bar-track b { font-weight: 600; white-space: nowrap; }

/* ---------- Use case：比較・確認 ---------- */
.compare {
  border-radius: var(--radius-lg); padding: 40px 44px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
}
.compare-col { display: flex; flex-direction: column; gap: 20px; }
.compare-col:first-child { padding-right: 44px; border-right: 1px solid var(--line); }
.compare-col:last-child { padding-left: 44px; }
.compare-label { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; }
.compare-tag {
  flex-shrink: 0; padding: 2px 12px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.compare-list { display: flex; flex-direction: column; gap: 12px; }
.compare-list li {
  display: flex; align-items: center; gap: 16px; min-height: 64px;
  padding: 14px 18px; background: var(--surface-sub); border-radius: 10px;
}
.compare-text { font-size: 16px; font-weight: 700; line-height: 1.5; }

/* 左：変化の見本（小さな3コマ） */
.compare-swatch { display: grid; grid-template-columns: repeat(3, 14px); gap: 3px; flex-shrink: 0; }
.compare-swatch i { height: 28px; border-radius: 3px; }
.swatch-fade i:nth-child(1) { background: #3E7BC4; }
.swatch-fade i:nth-child(2) { background: #7FA5D3; }
.swatch-fade i:nth-child(3) { background: #C3D3E4; }
.swatch-surface i { background: #9AA0A8; }
.swatch-surface i:nth-child(2) { background: repeating-linear-gradient(0deg, #9AA0A8 0 3px, #B9BEC4 3px 5px); }
.swatch-surface i:nth-child(3) { background: repeating-linear-gradient(0deg, #9AA0A8 0 2px, #D3D6DA 2px 5px); }
.swatch-crack i { background: #C9B79C; position: relative; overflow: hidden; }
.swatch-crack i:nth-child(2)::after,
.swatch-crack i:nth-child(3)::after,
.swatch-crack i:nth-child(3)::before {
  content: ""; position: absolute; left: 50%; top: -2px; width: 1.5px; height: 34px;
  background: #5B4A36; transform: rotate(18deg);
}
.swatch-crack i:nth-child(3)::before { left: 25%; transform: rotate(-22deg); }

/* 右：比較のしかた */
.compare-item-wide { flex-wrap: wrap; justify-content: space-between; }
.compare-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.compare-chips b {
  padding: 4px 12px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--accent-ink);
}
.compare-chips em { font-style: normal; font-size: 13px; color: var(--ink-sub); }

/* ---------- Price ---------- */
.price-card { background: var(--dark); color: var(--dark-text); border-radius: var(--radius-lg); padding: 40px 36px; display: flex; flex-direction: column; gap: 24px; }
.price-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: 15px; color: var(--dark-sub); }
.price-main strong { font-size: 56px; font-weight: 600; color: #fff; line-height: 1; }
.price-list { border-top: 1px solid var(--dark-line); }
.price-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--dark-line); }
.price-list dd { font-weight: 700; color: #fff; }
.price-note { font-size: 13px; color: var(--dark-muted); }

.sim { border-radius: var(--radius-lg); padding: 40px 36px; display: flex; flex-direction: column; gap: 20px; }
.sim .sub-title { margin-bottom: 0; }
.sim-options { display: flex; flex-wrap: wrap; gap: 10px; }
.sim-btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--input-line);
  font-size: 15px; font-weight: 700; cursor: pointer; transition: all .15s;
}
.sim-btn:hover { border-color: var(--accent); color: var(--accent); }
.sim-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.sim-custom { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.sim-custom span { color: var(--ink-sub); }
.sim-custom input { width: 7em; min-height: 44px; padding: 0 12px; border: 1px solid var(--input-line); border-radius: 8px; font-family: var(--font-mono); }
.sim-result { background: var(--surface-sub); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.sim-result p { font-size: 15px; }
.sim-result strong { font-size: 40px; font-weight: 600; line-height: 1.1; }

/* ---------- Flow ---------- */
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.flow li { padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.flow-num { font-size: 28px; font-weight: 600; color: var(--accent); line-height: 1; }
.flow p { font-size: 14px; color: var(--ink-sub); }

/* ---------- Voice ---------- */
.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.voice { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.voice blockquote { font-size: 15px; color: var(--ink-sub); }
.voice figcaption { font-size: 13px; font-weight: 700; }
.voice-person { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.voice-avatar {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; object-fit: cover;
  background: var(--accent-soft); border: 1px solid var(--line);
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 24px; }
.faq summary {
  position: relative; display: flex; gap: 12px; padding: 20px 32px 20px 0;
  font-weight: 700; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-sub); border-bottom: 2px solid var(--ink-sub);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .q { color: var(--accent); }
.faq details p { padding: 0 0 20px 26px; color: var(--ink-sub); }

/* ---------- Other ---------- */
.other { border-radius: var(--radius-lg); padding: 40px 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; }
.other-label { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.other-title { font-family: var(--font-serif); font-weight: 700; font-size: 26px; line-height: 1.4; margin-bottom: 12px; }
.other .muted { font-size: 15px; }
.chamber-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 13px; }
.chamber-grid > div { background: var(--surface-sub); border-radius: 10px; padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.chamber-grid span { color: var(--ink-sub); }
.chamber-link { grid-column: 1 / -1; font-size: 14px; font-weight: 700; }

/* ---------- Contact ---------- */
.contact { background: var(--dark); color: var(--dark-text); margin-top: 72px; padding: 96px 0; }
.contact .section-title { margin-bottom: 0; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-lead { color: var(--dark-sub); }
.contact-box { display: flex; flex-direction: column; gap: 4px; padding: 24px; border: 1px solid var(--dark-line); border-radius: var(--radius); }
.contact-box .label { font-size: 13px; color: var(--dark-muted); }
.contact-box .mt { margin-top: 12px; }
.contact-box .tel { font-size: 30px; font-weight: 600; color: #fff; text-decoration: none; }
.contact-box .mail { color: #fff; font-size: 17px; }

.contact-form { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-form em { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.radio-group { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.radio-group legend { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.radio-group label { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.contact-form input[type="radio"], .contact-form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: block; font-size: 14px; font-weight: 700; }
.field input, .field textarea { display: block; width: 100%; margin-top: 6px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--input-line); border-radius: 8px; font-weight: 400; font-size: 16px; background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .is-invalid, .field input.is-invalid { border-color: #B42318; }
.agree { display: flex; align-items: center; gap: 10px; font-size: 14px; min-height: 44px; }
.form-error { color: #B42318; font-size: 14px; font-weight: 700; }

/* スパム対策の隠し項目 */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 確認・完了画面（send.php） ---------- */
.form-page { padding: 80px 0 104px; min-height: 60vh; }
.form-panel { border-radius: var(--radius-lg); padding: 36px 32px; display: flex; flex-direction: column; gap: 20px; }
.confirm-list dd { white-space: normal; word-break: break-word; }
.confirm-actions { justify-content: center; margin-top: 8px; }
.btn-outline { background: var(--surface); border-color: var(--input-line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.form-error-list { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; background: #FDECEA; border-radius: 10px; color: #B42318; font-weight: 700; list-style: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-deep); color: var(--dark-muted); font-size: 13px; padding-bottom: env(safe-area-inset-bottom); }
.footer-inner { padding-top: 40px; padding-bottom: 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-company { display: flex; flex-direction: column; gap: 6px; }
.footer-company .brand-name { font-size: 18px; color: var(--dark-text); }
.footer-links { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px; }
.footer-links a { color: var(--dark-sub); }

/* ---------- Sticky CTA (SP) ---------- */
.sticky-cta { display: none; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .bar { transition: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .merit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .machine-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border: 0; background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px; font-size: 16px;
    display: none;
  }
  .global-nav.is-open { display: flex; }
  .global-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .global-nav .btn { margin-top: 16px; min-height: 52px; }

  .hero-inner, .two-col, .other { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; padding: 32px 28px; }
  .compare-col:first-child { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .compare-col:last-child { padding: 28px 0 0; }
  .hero-inner { padding-top: 64px; padding-bottom: 64px; gap: 40px; }
  .voice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .brand-sub { display: none; }
  .section { padding-top: 72px; }
  .section-tight { padding-top: 56px; }
  .section-band { padding-bottom: 72px; }
  .section-lead { margin-top: -20px; }
  .merit-grid, .flow { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .target-grid { grid-template-columns: 1fr; gap: 10px; }
  .compare { padding: 24px 18px; }
  .machine-gallery { gap: 10px; margin-top: 40px; }
  .machine-gallery figcaption { font-size: 13px; }
  .compare-label { font-size: 16px; }
  .spec > div { grid-template-columns: 1fr; }
  .spec dt { padding-bottom: 6px; }
  .spec dd { padding-top: 6px; }
  .bar-row { grid-template-columns: 1fr; gap: 4px; }
  .price-card, .sim, .other, .contact-form { padding: 28px 20px; }
  .price-main strong { font-size: 46px; }
  .hero-price strong { font-size: 38px; }
  .btn-row .btn { width: 100%; }
  .chamber-grid { grid-template-columns: 1fr; }
  .contact { padding: 72px 0; }
  .form-page { padding: 48px 0 72px; }
  .form-panel { padding: 24px 18px; }
  .confirm-actions .btn { width: 100%; }

  .sticky-cta {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
    min-height: 54px; border-radius: 999px;
    background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
    box-shadow: 0 8px 24px rgba(47, 106, 163, .30);
    transform: translateY(140%); transition: transform .3s;
  }
  .sticky-cta:hover { color: #fff; }
  .sticky-cta.is-visible { transform: none; }
  .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}