/* ==========================================================================
   ワコー化成株式会社 コーポレートサイト 共通スタイル
   ========================================================================== */

:root {
  --color-primary: #0068b7;
  --color-primary-dark: #004a83;
  --color-primary-deep: #0a2a4a;
  --color-accent: #3fa9d8;
  --color-ink: #1c2530;
  --color-ink-soft: #5a6472;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f7fa;
  --color-bg-deep: #eef2f6;
  --color-border: #e1e7ed;
  --color-white: #ffffff;

  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --container-w: 1120px;
  --radius: 10px;
  --shadow-card: 0 8px 24px rgba(10, 42, 74, 0.08);
  --shadow-hover: 0 14px 32px rgba(10, 42, 74, 0.14);
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
  word-break: normal;
  overflow-wrap: normal;
}

p, li, td, th, h1, h2, h3, h4 {
  text-wrap: pretty;
}

.nowrap { white-space: nowrap; }

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: 0.02em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- 共通ラベル・見出し ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-primary);
}

.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin: 10px 0 16px;
  color: var(--color-primary-deep);
}

.section-lead {
  color: var(--color-ink-soft);
  max-width: 62ch;
}

.section-head {
  margin-bottom: 44px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img {
  height: 48px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text .ja {
  font-size: 1.08rem;
  color: var(--color-primary-deep);
  letter-spacing: 0.04em;
}

.brand-text .en {
  font-size: 0.62rem;
  color: var(--color-ink-soft);
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-primary-deep);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.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); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-ink);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.main-nav a.is-active { color: var(--color-primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ---------- ヒーロー（トップページ） ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -170px 0;
  height: calc(100% + 340px);
  will-change: transform;
}

.hero-bg-image {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  animation: heroReveal 2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroReveal {
  from { transform: scale(1.15); }
  to { transform: scale(1); }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(4, 28, 51, 0.66) 0%, rgba(6, 42, 74, 0.4) 45%, rgba(6, 42, 74, 0.14) 100%);
}

.hero-watermark {
  position: absolute;
  z-index: 1;
  right: 20%;
  bottom: 5%;
  width: clamp(280px, 32vw, 560px);
  height: auto;
  overflow: visible;
  pointer-events: none;
  user-select: none;
}

.hero-watermark text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 175px;
  letter-spacing: -4px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 2.5px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 100px;
}

.hero-content .eyebrow,
.hero-title,
.hero-lead,
.hero-cta {
  opacity: 0;
  animation: heroFadeUp 0.9s ease-out both;
}

.hero-content .eyebrow { animation-delay: 0.15s; }
.hero-title { animation-delay: 0.3s; }
.hero-lead { animation-delay: 0.48s; }
.hero-cta { animation-delay: 0.64s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content .eyebrow { color: #bfe3fb; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4); }
.hero-content .eyebrow::before { background: #bfe3fb; }

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.4;
  margin: 18px 0 26px;
  font-weight: 800;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  font-size: 1.02rem;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--color-white);
}

.hero .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary-deep);
}

/* ---------- ページヘッダー（下層ページ） ---------- */

.page-header {
  position: relative;
  padding: 96px 0 56px;
  color: var(--color-white);
  background: linear-gradient(120deg, var(--color-primary-deep), var(--color-primary));
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.page-header .breadcrumb {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  gap: 8px;
}

.page-header .breadcrumb a:hover { color: var(--color-white); }

.page-header h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.page-header .eyebrow { position: relative; z-index: 1; color: #bfe3fb; }
.page-header .eyebrow::before { background: #bfe3fb; }

/* ---------- セクション共通 ---------- */

section { padding: 96px 0; }

.section-alt { background: var(--color-bg-soft); }

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.two-col.reverse .col-media { order: 2; }

.col-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 事業について（トップ） ---------- */

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.works-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.works-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.works-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.works-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.works-card:hover .works-thumb img { transform: scale(1.06); }

.works-card h3,
.works-card p { padding-left: 32px; padding-right: 32px; }

.works-card h3 {
  font-size: 1.25rem;
  margin: 26px 0 14px;
  color: var(--color-primary-deep);
}

.works-card p:last-child { padding-bottom: 32px; }

.works-card p { color: var(--color-ink-soft); font-size: 0.95rem; }

/* ---------- 製品カードグリッド（トップ・概要用） ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  display: block;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .thumb img { transform: scale(1.06); }

.product-card .card-body { padding: 18px 20px 22px; }

.product-card h3 {
  font-size: 1.02rem;
  margin: 0;
  color: var(--color-primary-deep);
}

.product-card.is-new { position: relative; }

.product-card .badge-new {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: #e8562f;
  color: var(--color-white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.section-foot {
  text-align: center;
  margin-top: 44px;
}

/* ---------- CTA帯 ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--color-primary-deep), var(--color-primary));
  color: var(--color-white);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 30px; }

/* ---------- フッター ---------- */

.site-footer {
  background: var(--color-primary-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand .brand-text .ja { color: var(--color-white); }
.footer-brand .brand-text .en { color: rgba(255, 255, 255, 0.6); }
.footer-brand p { margin-top: 18px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); max-width: 32ch; }

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; }
.footer-col a:hover { color: var(--color-white); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- スクロールリビール ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 製品ページ ---------- */

.product-toc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.toc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.toc-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
}

.toc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.toc-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.4;
}

.toc-badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: #e8562f;
  color: var(--color-white);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.toc-card:hover,
.toc-card.is-current {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.toc-card:hover .toc-thumb img { transform: scale(1.08); }

.toc-card.is-current .toc-label { color: var(--color-primary); }

.product-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 96px;
}

.product-section:last-of-type { border-bottom: none; }

.product-section h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--color-primary-deep);
  margin: 10px 0 22px;
}

.spec-block {
  margin-top: 26px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.spec-block h4 {
  font-size: 0.86rem;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.spec-block ul { display: flex; flex-direction: column; gap: 10px; }

.spec-block li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
}

.spec-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-accent);
}

.new-badge {
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
  background: #e8562f;
  color: var(--color-white);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* ---------- 会社概要テーブル ---------- */

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.info-table th {
  width: 200px;
  color: var(--color-primary-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 6;
  border-top: 1px solid var(--color-border);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.info-table td {
  color: var(--color-ink-soft);
  font-size: 0.94rem;
}

/* ---------- 沿革タイムライン ---------- */

.timeline { position: relative; padding-left: 26px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 34px;
  padding-left: 30px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 104, 183, 0.16);
}

.timeline-item .year {
  font-weight: 800;
  color: var(--color-primary);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.timeline-item p { color: var(--color-ink-soft); font-size: 0.94rem; }

/* ---------- 社長メッセージ ---------- */

.message-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}

.message-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.message-signature {
  margin-top: 26px;
  font-weight: 700;
  color: var(--color-primary-deep);
  text-align: right;
}

.message-signature span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  margin-bottom: 4px;
}

/* ---------- お知らせ ---------- */

.news-empty {
  text-align: center;
  padding: 90px 24px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  color: var(--color-ink-soft);
  background: var(--color-bg-soft);
}

.news-empty .glyph {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 800;
}

/* ---------- お問い合わせフォーム ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 32px 30px;
}

.contact-info-card h3 {
  font-size: 1.05rem;
  color: var(--color-primary-deep);
  margin-bottom: 16px;
}

.contact-info-card ul { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }

.contact-info-card li { font-size: 0.9rem; color: var(--color-ink-soft); }
.contact-info-card li strong { display: block; color: var(--color-primary-deep); font-size: 0.82rem; margin-bottom: 3px; }

.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-row { margin-bottom: 24px; }

.form-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-deep);
  margin-bottom: 10px;
}

.req,
.opt {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.req { background: #fdeceb; color: #c94a3a; }
.opt { background: var(--color-bg-deep); color: var(--color-ink-soft); }

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--color-ink);
  background: var(--color-bg-soft);
  transition: border-color var(--transition), background var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}

.form-row textarea { resize: vertical; min-height: 140px; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--color-ink-soft);
  margin-bottom: 28px;
}

.form-consent input { margin-top: 4px; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }

.form-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--color-ink-soft);
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-success.is-visible { display: block; }
.form-success .glyph {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #e9f5ee;
  color: #2f9e5b;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success h3 { color: var(--color-primary-deep); margin-bottom: 10px; }
.form-success p { color: var(--color-ink-soft); }

.form-card.is-submitted .contact-form { display: none; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 980px) {
  .two-col,
  .two-col.reverse .col-media { grid-template-columns: 1fr; }
  .two-col.reverse .col-media { order: 0; }
  .works-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-toc { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .message-block { grid-template-columns: 1fr; }
  .message-block img { width: 100%; max-width: 260px; justify-self: start; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    display: flex;
    position: fixed;
    z-index: 90;
    inset: 76px 0 0 0;
    width: 100%;
    height: calc(100vh - 76px);
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    padding: 30px 24px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  .main-nav.is-open { transform: translateX(0); }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .main-nav ul li { width: 100%; }

  .main-nav a {
    display: block;
    width: 100%;
    font-size: 1.05rem;
  }

  .nav-toggle { display: flex; }

  .hero-content { padding-top: 120px; padding-bottom: 80px; }
  .hero-lead,
  .section-lead,
  .footer-brand p { max-width: 100%; }
  section { padding: 68px 0; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-toc { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .toc-label { font-size: 0.8rem; }
  .info-table th { width: 130px; font-size: 0.84rem; }
  .footer-top { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}
