/* =========================================================
   遮熱シート施工サイト 共通スタイル
   ========================================================= */
:root {
  --navy: #0f2a44;
  --navy-2: #173a5c;
  --ink: #1d2733;
  --muted: #5b6b7c;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --sun: #f08a24;
  --sun-dark: #d4710f;
  --sun-soft: #fff3e6;
  --silver: #c9d2dc;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(15, 42, 68, .08);
  --max: 1120px;
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; letter-spacing: .04em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #fff; }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head .en {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--sun);
  margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.section-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.section--navy .section-head p { color: #c3d0dd; }

.sample-note {
  display: inline-block;
  font-size: .75rem;
  background: #fff7d6;
  color: #8a6400;
  border: 1px solid #f0dc94;
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, color .2s, transform .2s;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--sun); color: #fff; }
.btn--primary:hover { background: var(--sun-dark); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.logo-mark { width: 42px; height: 42px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 1.25rem; letter-spacing: .12em; }
.logo-text small { font-size: .68rem; color: var(--muted); letter-spacing: .08em; }

.global-nav ul { display: flex; align-items: center; gap: 4px; }
.global-nav a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  border-radius: 6px;
}
.global-nav a:hover { color: var(--sun-dark); }
.global-nav a[aria-current="page"] { color: var(--sun-dark); font-weight: 700; }
.global-nav .nav-cta a {
  background: var(--sun);
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  margin-left: 8px;
}
.global-nav .nav-cta a:hover { background: var(--sun-dark); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--navy);
  content: "";
  transition: transform .25s, opacity .25s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -8px; }
.nav-toggle span::after { left: 0; top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Page hero (下層ページ) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 70%, #2d5378 100%);
  color: #fff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 138, 36, .45), transparent 70%);
}
.page-hero .en { color: var(--sun); font-weight: 700; letter-spacing: .25em; font-size: .8rem; }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 4px 0 8px; }
.page-hero p { color: #c3d0dd; margin: 0; }
.breadcrumb { font-size: .8rem; color: #9fb2c6; margin-bottom: 18px; }
.breadcrumb a { color: #c3d0dd; }

/* ---------- Top hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0b2036 0%, var(--navy) 45%, #1f4a72 100%);
  color: #fff;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 96px;
}
.hero-label {
  display: inline-block;
  background: rgba(240, 138, 36, .18);
  color: #ffb36b;
  border: 1px solid rgba(240, 138, 36, .5);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--sun); }
.nw { display: inline-block; }
.hero-lead { color: #d3dde8; font-size: 1.05rem; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-size: .9rem; color: #c3d0dd; }
.hero-points li::before { content: "✓"; color: var(--sun); font-weight: 700; margin-right: 6px; }
.hero-visual svg { width: 100%; height: auto; }

/* ---------- Problem cards ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.problem-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--sun-soft);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}
.problem-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.problem-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.problem-answer {
  text-align: center;
  margin-top: 44px;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 700;
  color: var(--navy);
}
.problem-answer em { font-style: normal; color: var(--sun-dark); border-bottom: 3px solid var(--sun); }

/* ---------- Mechanism ---------- */
.mechanism {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.mechanism-figure {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.heat-types li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.heat-types li:last-child { border-bottom: 0; }
.heat-types .pct {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sun-dark);
  line-height: 1.2;
}
.heat-types .pct small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }
.heat-types h3 { font-size: 1.05rem; margin-bottom: 4px; }
.heat-types p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Merit ---------- */
.merit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.merit-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.merit-card .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--sun);
  line-height: 1;
  font-family: Georgia, serif;
}
.merit-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.merit-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Flow ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}
.flow li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 16px 20px;
  text-align: center;
}
.flow li::before {
  counter-increment: step;
  content: "STEP " counter(step);
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--sun-dark);
  letter-spacing: .15em;
  margin-bottom: 6px;
}
.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 50%;
  border: 7px solid transparent;
  border-left-color: var(--silver);
  transform: translateY(-50%);
}
.flow h3 { font-size: 1rem; margin-bottom: 6px; }
.flow p { font-size: .85rem; color: var(--muted); margin: 0; }

/* ---------- Works ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.work-thumb { aspect-ratio: 16 / 10; background: var(--bg-soft); }
.work-thumb svg, .work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-body { padding: 20px 22px 24px; flex: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag {
  font-size: .72rem;
  background: var(--bg-soft);
  color: var(--navy-2);
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 500;
}
.tag--sun { background: var(--sun-soft); color: var(--sun-dark); }
.work-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.work-body p { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.work-result {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  font-size: .85rem;
  color: var(--muted);
}
.work-result strong { font-size: 1.5rem; color: var(--sun-dark); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .95rem;
}
.data-table th, .data-table td {
  border: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
}
.data-table thead th { background: var(--navy); color: #fff; text-align: center; }
.data-table tbody th { background: var(--bg-soft); width: 26%; font-weight: 700; }
.data-table .hl { background: var(--sun-soft); }

/* ---------- Service detail ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.method-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.method-card .method-fig { background: var(--bg-soft); padding: 16px; }
.method-card .method-body { padding: 22px 24px 26px; }
.method-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.method-card p { font-size: .92rem; color: var(--muted); margin-bottom: 10px; }
.check-list li { position: relative; padding-left: 24px; font-size: .92rem; margin-bottom: 4px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sun); font-weight: 700; }

.target-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.target-list li {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 10px;
  text-align: center;
  font-weight: 700;
  font-size: .92rem;
  box-shadow: var(--shadow);
}
.target-list .ico { font-size: 1.8rem; display: block; margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 60px;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  position: absolute;
  left: 22px;
  top: 18px;
  color: var(--sun);
  font-size: 1.2rem;
  font-family: Georgia, serif;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 16px;
  font-size: 1.4rem;
  color: var(--muted);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 22px 60px; color: var(--muted); position: relative; }
.faq .answer::before {
  content: "A";
  position: absolute;
  left: 22px;
  top: -2px;
  color: var(--navy-2);
  font-size: 1.2rem;
  font-family: Georgia, serif;
  font-weight: 700;
}

/* ---------- Company ---------- */
.message {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.message-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--silver), #eef2f6);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .85rem;
}
.message-sign { text-align: right; font-weight: 700; margin-top: 24px; }
.map-box {
  margin-top: 32px;
  aspect-ratio: 16 / 6;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px dashed var(--silver);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
  padding: 16px;
}

/* ---------- Contact ---------- */
.contact-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.contact-way {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
}
.contact-way h3 { font-size: 1rem; color: var(--muted); margin-bottom: 4px; }
.contact-way .big { font-size: 1.9rem; font-weight: 700; color: var(--navy); letter-spacing: .05em; }
.contact-way p { margin: 0; font-size: .88rem; color: var(--muted); }

.form { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.form-row { margin-bottom: 24px; }
.form-row label, .form-row legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.req, .opt {
  display: inline-block;
  font-size: .7rem;
  padding: 1px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: 2px;
  color: #fff;
}
.req { background: #d9534f; }
.opt { background: var(--silver); color: var(--ink); }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #c4ced8;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  background: #fbfcfd;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--sun);
  box-shadow: 0 0 0 3px rgba(240, 138, 36, .2);
  background: #fff;
}
.form textarea { min-height: 160px; resize: vertical; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.choice-group { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choice-group label { font-weight: 400; display: inline-flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; }
.form-agree { text-align: center; font-size: .9rem; margin: 8px 0 24px; }
.form-submit { text-align: center; }
.form-submit .btn { min-width: 260px; }
.form-message {
  display: none;
  margin-top: 20px;
  padding: 16px;
  border-radius: 6px;
  background: var(--sun-soft);
  color: var(--sun-dark);
  text-align: center;
  font-weight: 700;
}
.form-message.is-show { display: block; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--sun) 0%, #f4a24d 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); margin-bottom: 10px; }
.cta p { margin-bottom: 28px; opacity: .95; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; align-items: center; }
.cta .btn--white { background: #fff; color: var(--sun-dark); }
.cta .btn--white:hover { background: var(--navy); color: #fff; }
.cta-tel { font-size: 1.7rem; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: .05em; line-height: 1.2; }
.cta-tel small { display: block; font-size: .78rem; font-weight: 500; letter-spacing: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1d30; color: #a9b8c8; font-size: .88rem; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo-text small { color: #a9b8c8; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
.footer-nav a { color: #d3dde8; text-decoration: none; }
.footer-nav a:hover { color: var(--sun); }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; text-align: center; font-size: .78rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container, .mechanism, .split { grid-template-columns: 1fr; }
  .hero .container { padding-top: 56px; padding-bottom: 72px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow li { display: grid; grid-template-columns: 70px 1fr; text-align: left; align-items: center; column-gap: 12px; padding: 18px 20px; }
  .flow li::before { grid-row: span 2; margin: 0; }
  .flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -15px; border-left-color: transparent; border-top-color: var(--silver); transform: translateX(-50%); }
  .target-list { grid-template-columns: repeat(3, 1fr); }
  .message { grid-template-columns: 1fr; }
  .message-photo { max-width: 240px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-open .global-nav { max-height: 480px; }
  .global-nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 20px; gap: 0; }
  .global-nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .global-nav .nav-cta a { margin: 16px 0 0; text-align: center; border-bottom: 0; border-radius: 999px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .problem-grid, .merit-grid, .works-grid, .method-grid, .contact-ways, .footer-grid { grid-template-columns: 1fr; }
  .target-list { grid-template-columns: repeat(2, 1fr); }
  .merit-card { grid-template-columns: 44px 1fr; padding: 22px; }
  .form { padding: 24px 18px; }
  .data-table th, .data-table td { padding: 12px; }
  .data-table tbody th { width: 34%; }
  .hero-actions .btn { width: 100%; }
}

/* =========================================================
   写真・実データ対応（v2）
   ========================================================= */
.hero--photo {
  background:
    linear-gradient(100deg, rgba(8, 24, 40, .94) 0%, rgba(15, 42, 68, .86) 48%, rgba(15, 42, 68, .35) 100%),
    url("../images/hero.jpg?v=1.0.40") center / cover no-repeat;
}
.hero--photo .container { grid-template-columns: 1fr; padding-top: 96px; padding-bottom: 104px; }
.hero--photo .hero-copy { max-width: 640px; }
.hero h1 .big { font-size: 1.25em; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: -56px;
  position: relative;
  z-index: 2;
}
.stat { padding: 26px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .label { display: block; font-size: .82rem; color: var(--muted); font-weight: 500; }
.stat .value { display: block; font-size: 2rem; font-weight: 700; color: var(--sun-dark); line-height: 1.3; }
.stat .value small { font-size: .5em; margin-left: 2px; }

.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { font-size: .8rem; color: var(--muted); padding: 8px 12px; background: #fff; }

.problem-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.problem-list li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px 14px 48px;
  margin-bottom: 10px;
  font-weight: 500;
}
.problem-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sun);
  color: #fff;
  font-size: .8rem;
  display: grid;
  place-items: center;
}

/* 商品 */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid transparent;
}
.product-card--rec { border-color: var(--sun); }
.product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--sun);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.product-card .thumb { aspect-ratio: 16 / 10; background: var(--bg-soft); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card .catch { font-size: .82rem; color: var(--sun-dark); font-weight: 700; margin-bottom: 2px; }
.product-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.product-card p { font-size: .9rem; color: var(--muted); }
.product-card .life {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  font-size: .85rem;
  color: var(--muted);
}
.product-card .life strong { color: var(--navy); }

/* 効果データ */
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.data-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.data-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.data-card .meta { font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; font-size: .82rem; }
.bar-pair { display: grid; gap: 4px; }
.bar { height: 16px; border-radius: 4px; position: relative; }
.bar span { position: absolute; right: 6px; top: -1px; font-size: .72rem; font-weight: 700; color: #fff; }
.bar--off { background: #9aa8b6; }
.bar--on { background: var(--sun); }
.bar-legend { display: flex; gap: 16px; font-size: .78rem; color: var(--muted); margin-top: 14px; }
.bar-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.big-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.big-figure { background: var(--sun-soft); border-radius: 8px; padding: 18px; text-align: center; }
.big-figure .v { font-size: 2.2rem; font-weight: 700; color: var(--sun-dark); line-height: 1.2; }
.big-figure .v small { font-size: .5em; }
.big-figure .k { font-size: .82rem; color: var(--ink); font-weight: 500; }
.data-note { font-size: .75rem; color: var(--muted); margin: 14px 0 0; }

/* 馬舎 */
.stable { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.stable .photo { aspect-ratio: 4 / 5; max-height: 520px; }
.section--navy .check-list li { color: #e1e8ef; }

/* ビフォーアフター */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba figure { margin: 0; position: relative; }
.ba .photo { aspect-ratio: 16 / 10; }
.ba .ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  color: #fff;
  background: rgba(15, 42, 68, .85);
}
.ba .ba-label--after { background: var(--sun); }
.case { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; margin-bottom: 32px; }
.case-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 18px; }
.case-head h3 { font-size: 1.3rem; margin: 0; }
.case-spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.case-spec div { background: var(--bg-soft); border-radius: 8px; padding: 12px 14px; font-size: .88rem; }
.case-spec dt { font-size: .75rem; color: var(--muted); }
.case-spec dd { margin: 0; font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery .photo { aspect-ratio: 4 / 3; }

.base-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.base-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.base-card .en { font-size: .75rem; letter-spacing: .15em; color: var(--sun-dark); font-weight: 700; }
.base-card h3 { font-size: 1.15rem; margin: 2px 0 10px; }
.base-card p { margin: 0; font-size: .92rem; }

@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .problem-layout, .stable, .data-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stable .photo { max-width: 360px; }
}
@media (max-width: 640px) {
  .hero--photo .container { padding-top: 64px; padding-bottom: 96px; }
  .stat .value { font-size: 1.6rem; }
  .ba, .base-grid, .case-spec { grid-template-columns: 1fr; }
  .case { padding: 20px; }
  .data-card { padding: 20px; }
}
@media (min-width: 961px) {
  .flow--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 961px) {
  .big-figures--4 { grid-template-columns: repeat(4, 1fr); }
}

/* 代理店ストーリー動画 */
.story-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.story-card { margin: 0; }
.story-card video { width: 100%; aspect-ratio: 9 / 16; display: block; border-radius: 10px; background: #000; object-fit: contain; }
.story-card video:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: contain; }
.story-card video:-webkit-full-screen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: contain; }
.story-card figcaption { margin-top: 8px; font-size: .9rem; font-weight: 700; text-align: center; }
.story-card figcaption span { color: var(--sun-dark); margin-right: 6px; }
@media (max-width: 900px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }

/* 公式LINEボタン */
.btn--line { background: #06c755; color: #fff; border-color: #06c755; }
.btn--line:hover { background: #05a647; border-color: #05a647; color: #fff; }
.contact-way .btn--line { margin: 6px 0 10px; }

/* 施工事例ページの採用業種（7項目） */
.target-list--7 { grid-template-columns: repeat(7, 1fr); }
@media (max-width: 960px) { .target-list--7 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .target-list--7 { grid-template-columns: repeat(2, 1fr); } }

/* 代理店様専用ページ：パスワード入力欄 */
.partner-pw form { margin: 20px 0; }
.partner-pw p { margin: 0 0 10px; }
.partner-pw label { display: block; font-weight: 700; }
.partner-pw input[type="password"] { display: block; width: 100%; max-width: 360px; margin-top: 6px; padding: 12px 14px; border: 1px solid #c9d2dc; border-radius: 8px; font-size: 1rem; }
.partner-pw input[type="submit"] { margin-top: 12px; background: var(--sun); color: #fff; border: 0; border-radius: 999px; padding: 12px 32px; font-weight: 700; font-size: 1rem; cursor: pointer; }
.partner-pw input[type="submit"]:hover { background: var(--sun-dark); }

/* トップの商品カード（2種） */
.product-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
@media (max-width: 640px) { .product-grid--2 { grid-template-columns: 1fr; } }
