:root {
  --paper: #f3f0e8;
  --paper-2: #e8e3d8;
  --ink: #171b1a;
  --muted: #656965;
  --line: #c9c4b8;
  --dark: #1b201f;
  --dark-2: #262c2a;
  --accent: #d6c54f;
  --danger: #e35a42;
  --white: #fffef9;
  --shadow: 0 24px 70px rgba(25, 29, 28, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 clamp(22px, 5vw, 78px);
  border-bottom: 1px solid rgba(23, 27, 26, .15);
  background: rgba(243, 240, 232, .92);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: "Arial Narrow", "Roboto Condensed", sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .035em;
  text-decoration: none;
}
.brand > span:last-child > span { color: #9c8d18; }
.brand-mark {
  display: inline-block;
  width: 31px;
  height: 13px;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  transform: skewX(-24deg);
}
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.desktop-nav a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
}
.desktop-nav a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta {
  padding: 13px 21px;
  color: var(--paper);
  background: var(--ink);
  transition: transform .2s ease, background .2s ease;
}
.nav-cta:hover { background: #373c3a; transform: translateY(-2px); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(520px, 1.13fr);
  min-height: calc(100vh - 78px);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 8vw, 120px) clamp(30px, 5.2vw, 86px);
  border-right: 1px solid var(--line);
}
.eyebrow, .section-number {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 28px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow span { color: var(--ink); }
.eyebrow::before, .section-number::before {
  content: "";
  width: 31px;
  height: 2px;
  background: var(--accent);
}
.hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(56px, 6.2vw, 104px);
  font-weight: 600;
  letter-spacing: -.075em;
  line-height: 1.08;
}
.hero h1 em { color: #a3941f; font-style: normal; }
.hero-lead {
  max-width: 600px;
  margin: 34px 0 0;
  color: #444946;
  font-size: clamp(15px, 1.22vw, 19px);
  line-height: 2;
}
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 39px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 55px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 25px rgba(23, 27, 26, .14); }
.button-primary { color: var(--paper); background: var(--ink); }
.button-accent { color: var(--ink); background: var(--accent); }
.button-ghost { color: var(--paper); border-color: #69706d; background: transparent; }
.button-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.text-link { font-size: 13px; font-weight: 800; text-underline-offset: 5px; }
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 58px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero-points li {
  padding: 18px 15px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.55;
}
.hero-points strong { display: block; margin-bottom: 8px; color: #a3941f; font-family: Arial, sans-serif; }

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(35px, 5vw, 75px);
  color: var(--paper);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, #414744 0, #252a28 48%, #171b1a 100%);
  background-size: 38px 38px, 38px 38px, auto;
}
.hero-visual::after {
  content: "HYDRAULIC";
  position: absolute;
  right: -35px;
  bottom: -42px;
  color: rgba(255,255,255,.035);
  font-family: Arial, sans-serif;
  font-size: clamp(80px, 11vw, 180px);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;
}
.visual-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: #aaaFAc;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.live-dot { display: flex; align-items: center; gap: 8px; color: var(--paper); }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(214,197,79,.15); }
.assembly-svg { position: relative; z-index: 1; width: 100%; overflow: visible; }
.assembly-svg .diagram-label { color: var(--accent); font-family: "Yu Gothic", sans-serif; font-size: 17px; font-weight: 800; }
.assembly-svg .label-small { fill: #aeb4b1; font-size: 11px; font-weight: 500; }
.visual-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: 12px;
}
.visual-note span { color: #aeb4b1; }
.visual-note strong { color: var(--accent); letter-spacing: .08em; }

.safety-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 24px clamp(26px, 5vw, 80px);
  color: var(--paper);
  background: #b84332;
}
.safety-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid currentColor; border-radius: 50%; font-family: Arial; font-size: 23px; font-weight: 900; }
.safety-strip div:nth-child(2) { display: flex; align-items: baseline; gap: 15px; }
.safety-strip strong { font-size: 15px; white-space: nowrap; }
.safety-strip span { font-size: 12px; opacity: .82; }
.safety-strip a { font-size: 12px; font-weight: 800; white-space: nowrap; text-underline-offset: 4px; }

.entry-section, .parts-section, .check-section { padding: clamp(85px, 10vw, 155px) clamp(25px, 6vw, 100px); }
.section-heading { max-width: 760px; margin-bottom: 55px; }
.section-heading h2, .result-heading h2, .photos-heading h2, .safety-title-wrap h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(43px, 5vw, 76px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1.18;
}
.section-heading > p:last-child, .photos-heading > p:last-child, .result-heading > p:last-child { color: var(--muted); font-size: 15px; }
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.entry-card {
  position: relative;
  min-height: 445px;
  padding: 30px;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  transition: background .3s ease, color .3s ease;
}
.entry-card:hover, .entry-card:focus-visible { color: var(--paper); background: var(--dark); outline: none; }
.entry-index { position: absolute; top: 23px; right: 25px; color: var(--muted); font-family: Arial; font-size: 12px; font-weight: 900; }
.entry-card:hover .entry-index { color: var(--accent); }
.entry-illustration { display: grid; place-items: center; height: 175px; margin: 20px 0 10px; color: currentColor; }
.entry-illustration svg { width: 100%; height: 100%; }
.entry-card strong { display: block; font-family: "Yu Mincho", serif; font-size: clamp(25px, 2.2vw, 34px); letter-spacing: -.035em; line-height: 1.45; }
.entry-card small { display: block; margin-top: 11px; color: var(--muted); font-size: 12px; }
.entry-card:hover small { color: #adb3b0; }
.card-link { position: absolute; right: 30px; bottom: 27px; left: 30px; display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.entry-card:hover .card-link { border-color: #5c625f; }
.card-link b { color: #a3941f; font-size: 18px; }

.diagnosis-section {
  display: grid;
  grid-template-columns: minmax(280px, .68fr) minmax(600px, 1.32fr);
  gap: clamp(45px, 8vw, 130px);
  padding: clamp(85px, 10vw, 150px) clamp(25px, 6vw, 100px);
  color: var(--paper);
  background: var(--dark);
}
.section-number.light { color: #aab0ad; }
.diagnosis-intro h2 { margin: 0; font-family: "Yu Mincho", serif; font-size: clamp(43px, 4vw, 68px); font-weight: 600; letter-spacing: -.06em; line-height: 1.2; }
.diagnosis-intro > p:not(.section-number) { margin-top: 28px; color: #aeb4b1; font-size: 14px; }
.diagnosis-rule { margin-top: 48px; padding-top: 21px; border-top: 1px solid #484e4b; }
.diagnosis-rule > span { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.diagnosis-rule ol { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; counter-reset: none; list-style: none; }
.diagnosis-rule li { color: #c7cbc8; font-size: 12px; }
.diagnosis-rule li::before { content: "✓"; margin-right: 5px; color: var(--accent); }

.wizard { min-width: 0; padding: clamp(25px, 4vw, 52px); color: var(--ink); background: var(--white); box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.wizard-top { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 35px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.wizard-top > div:first-child { display: flex; flex-direction: column; }
#step-label { color: #9a8b17; font-family: Arial; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
#step-title { margin-top: 4px; font-size: 14px; }
.progress-track { height: 4px; margin-bottom: 7px; background: var(--paper-2); }
.progress-track span { display: block; width: 25%; height: 100%; background: var(--accent); transition: width .3s ease; }
.wizard-step { padding-top: 38px; }
.wizard fieldset { margin: 0; padding: 0; border: 0; }
.wizard legend { padding: 0; font-family: "Yu Mincho", serif; font-size: clamp(28px, 3vw, 42px); font-weight: 600; letter-spacing: -.05em; }
.field-help { margin: 8px 0 30px; color: var(--muted); font-size: 13px; }
.choice-grid { display: grid; gap: 10px; }
.choice-grid-3 { grid-template-columns: repeat(3, 1fr); }
.choice-card { position: relative; min-height: 150px; padding: 20px; border: 1px solid var(--line); cursor: pointer; transition: border .2s, background .2s, transform .2s; }
.choice-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.choice-card:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 -4px var(--accent); }
.choice-card input { position: absolute; opacity: 0; }
.choice-letter { display: grid; place-items: center; width: 27px; height: 27px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-family: Arial; font-size: 10px; font-weight: 900; }
.choice-card:has(input:checked) .choice-letter { color: var(--ink); border-color: var(--accent); background: var(--accent); }
.choice-card strong, .choice-card small { display: block; }
.choice-card strong { font-size: 14px; }
.choice-card small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span:first-child { font-size: 12px; font-weight: 800; }
.field input, .field select {
  width: 100%;
  height: 51px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  outline: none;
}
.field input:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 2px rgba(214,197,79,.4); }
.field input::placeholder { color: #9a9e9b; }
.field small { color: var(--muted); font-size: 11px; }
.field-wide { margin-top: 22px; }
.input-unit { position: relative; display: block; }
.input-unit input { padding-right: 50px; }
.input-unit b { position: absolute; right: 14px; top: 50%; color: var(--muted); font-size: 11px; transform: translateY(-50%); }
.chip-options { display: flex; flex-wrap: wrap; gap: 7px; }
.chip-options label { cursor: pointer; }
.chip-options input { position: absolute; opacity: 0; }
.chip-options label span { display: block; padding: 8px 12px; border: 1px solid var(--line); font-size: 11px; }
.chip-options input:checked + span { border-color: var(--ink); background: var(--accent); }
.measure-guide { display: grid; grid-template-columns: minmax(260px, 1.2fr) 1fr; align-items: center; gap: 26px; margin-top: 28px; padding: 18px 20px; color: var(--paper); background: var(--dark-2); }
.measure-guide svg { width: 100%; max-height: 115px; }
.measure-guide svg text { fill: var(--paper); font-size: 12px; }
.measure-guide p { margin: 0; }
.measure-guide p strong, .measure-guide p span { display: block; }
.measure-guide p strong { color: var(--accent); font-size: 12px; }
.measure-guide p span { margin-top: 6px; color: #bdc2bf; font-size: 11px; line-height: 1.8; }
.ends-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.end-panel { display: flex; flex-direction: column; gap: 13px; padding: 22px; border: 1px solid var(--line); }
.end-label { display: block; margin-bottom: 3px; color: #9a8b17; font-family: Arial; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.warning-note { margin-top: 18px; padding: 16px 18px; border-left: 4px solid var(--danger); background: #f6e8e4; }
.warning-note strong { color: #993928; font-size: 12px; }
.warning-note p { margin: 4px 0 0; color: #695c59; font-size: 11px; }
.wizard-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 33px; }
.wizard .button-ghost { color: var(--ink); border-color: var(--line); }
.wizard-error { min-height: 23px; margin-top: 14px; color: #ad3424; font-size: 12px; font-weight: 800; }

.result-section {
  display: grid;
  grid-template-columns: minmax(270px, .65fr) minmax(500px, 1.1fr) minmax(220px, .55fr);
  gap: clamp(25px, 4vw, 65px);
  align-items: start;
  padding: clamp(85px, 10vw, 145px) clamp(25px, 6vw, 100px);
  background: #e4dfd3;
}
.result-card { padding: clamp(24px, 4vw, 45px); background: var(--white); box-shadow: var(--shadow); }
.result-status { margin-bottom: 20px; padding: 11px 14px; border-left: 4px solid var(--accent); background: #f0ecd7; color: #5b5317; font-size: 12px; font-weight: 800; }
.result-status.has-missing { border-color: var(--danger); background: #f7e8e4; color: #8b3527; }
.result-card pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 500 13px/1.9 "Yu Gothic", sans-serif; }
.result-actions { display: flex; gap: 9px; margin-top: 28px; }
.copy-status { min-height: 24px; margin: 10px 0 0; color: #5f6819; font-size: 11px; }
.bring-list { padding: 24px 0; border-top: 3px solid var(--ink); }
.bring-list > strong { font-size: 14px; }
.bring-list ul { margin: 18px 0 0; padding: 0; list-style: none; }
.bring-list li { display: flex; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 12px; }
.bring-list li span { color: #9a8b17; font-family: Arial; font-size: 10px; font-weight: 900; }

.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 180px); align-items: end; max-width: none; }
.split-heading > p { margin-bottom: 4px; }
.part-story { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 540px; margin-top: 1px; border: 1px solid var(--line); }
.part-story.reverse { grid-template-columns: .88fr 1.12fr; }
.part-story.reverse .part-visual { order: 2; }
.part-visual { position: relative; display: grid; place-items: center; min-height: 500px; overflow: hidden; color: var(--paper); background: var(--dark); }
.part-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(35px, 5vw, 80px); background: var(--white); }
.part-tag { color: #9a8b17; font-family: Arial; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.part-copy h3 { margin: 13px 0 6px; font-family: "Yu Mincho", serif; font-size: clamp(44px, 5vw, 75px); font-weight: 600; letter-spacing: -.06em; line-height: 1.1; }
.part-lead { margin: 0 0 25px; color: var(--muted); font-size: 15px; }
.part-copy dl { margin: 0; }
.part-copy dl div { display: grid; grid-template-columns: 77px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.part-copy dt { font-size: 12px; font-weight: 900; }
.part-copy dd { margin: 0; color: var(--muted); font-size: 12px; }
.part-tip { margin: 25px 0 0; padding: 15px; background: var(--paper); color: var(--muted); font-size: 11px; }
.part-tip b { margin-right: 9px; color: var(--ink); }
.hose-cutaway { background: radial-gradient(circle at 50% 50%, #444a47 0, #1b201f 58%); }
.cutaway-ring, .cutaway-core { position: absolute; display: grid; place-items: start center; border-radius: 50%; }
.cutaway-ring span, .cutaway-core span { position: absolute; top: 50%; left: calc(50% + 110px); width: 90px; color: var(--paper); font-size: 11px; transform: translateY(-50%); }
.cutaway-ring span::before, .cutaway-core span::before { content: ""; position: absolute; right: calc(100% + 8px); top: 50%; width: 50px; border-top: 1px solid var(--accent); }
.ring-cover { width: 330px; height: 330px; border: 49px solid #101413; box-shadow: 0 0 0 1px #707572; }
.ring-wire { width: 237px; height: 237px; background: repeating-linear-gradient(45deg, #a8adaa 0 5px, #313735 5px 10px); }
.ring-tube { width: 155px; height: 155px; border: 36px solid #242a28; }
.cutaway-core { width: 85px; height: 85px; background: var(--accent); box-shadow: inset 0 0 25px rgba(0,0,0,.25); }
.cutaway-core span { left: calc(50% + 68px); }
.fittings-board { display: flex; flex-direction: column; gap: 27px; padding: 55px; }
.fitting-sample { position: relative; width: min(100%, 420px); height: 86px; border: 1px solid #454b48; }
.fitting-sample span { position: absolute; left: -40px; top: 50%; color: var(--accent); font: 900 11px Arial; transform: translateY(-50%); }
.fitting-sample i { position: absolute; left: 46px; top: 31px; width: 255px; height: 25px; background: linear-gradient(#d9dbd4, #727975 48%, #e8e6dd 52%, #686f6c); box-shadow: -20px 0 0 #a3a8a5, 20px 0 0 #9ea3a0; transform-origin: 20px 12px; }
.fitting-sample i::after { content: ""; position: absolute; right: -55px; top: -8px; width: 55px; height: 40px; background: repeating-linear-gradient(90deg, #6d7470 0 5px, #d7d8d1 5px 8px); }
.fitting-sample.angle45 i { transform: rotate(-18deg); }
.fitting-sample.angle90 i { width: 190px; transform: rotate(-32deg); }
.fittings-board small, .adapter-board small { color: #aeb4b1; font-size: 11px; }
.adapter-board { grid-template-columns: 1fr auto 1fr; grid-template-rows: 1fr auto; gap: 20px; padding: 70px; }
.adapter-board svg { position: absolute; width: 82%; }
.port, .adapter-center { position: relative; z-index: 2; display: grid; place-items: center; font-family: Arial; font-weight: 900; }
.port { width: 110px; height: 110px; border-radius: 50%; background: repeating-linear-gradient(90deg, #808683 0 7px, #d3d4cd 7px 12px); box-shadow: inset 0 0 0 23px #131716; }
.port span { color: var(--accent); }
.adapter-center { width: 135px; height: 75px; color: var(--ink); background: linear-gradient(135deg, #d7d8d2, #757c78 50%, #f0eee6); clip-path: polygon(18% 0, 82% 0, 100% 50%, 82% 100%, 18% 100%, 0 50%); }
.adapter-board small { grid-column: 1 / -1; position: relative; z-index: 2; }

.photos-section { padding: clamp(85px, 10vw, 150px) clamp(25px, 6vw, 100px); color: var(--paper); background: var(--dark); }
.photos-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 55px; }
.photos-heading .section-number { grid-column: 1 / -1; margin-bottom: 0; }
.photos-heading > p:last-child { color: #aeb4b1; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; background: #4b514e; list-style: none; }
.photo-grid li { position: relative; padding: 18px 18px 24px; background: var(--dark); }
.photo-number { display: block; margin-bottom: 13px; color: var(--accent); font: 900 10px Arial; letter-spacing: .1em; }
.photo-frame { display: grid; place-items: center; aspect-ratio: 4/3; margin-bottom: 22px; background: #303633; }
.photo-frame svg { width: 90%; height: 90%; }
.photo-grid strong { display: block; font-family: "Yu Mincho", serif; font-size: 20px; }
.photo-grid p { margin: 6px 0 0; color: #aeb4b1; font-size: 11px; }

.damage-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.damage-card { min-height: 245px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.damage-icon { position: relative; display: block; width: 100%; height: 92px; margin-bottom: 19px; }
.damage-icon::before { content: ""; position: absolute; left: 8%; right: 8%; top: 35px; height: 28px; border-radius: 20px; background: var(--dark); }
.damage-icon.crack::after { content: ""; position: absolute; left: 43%; top: 29px; width: 35px; height: 42px; background: linear-gradient(135deg, transparent 0 40%, var(--paper) 41% 49%, transparent 50% 60%, var(--paper) 61% 69%, transparent 70%); }
.damage-icon.wire::after { content: ""; position: absolute; left: 38%; top: 29px; width: 70px; height: 40px; background: repeating-linear-gradient(45deg, transparent 0 5px, var(--accent) 5px 8px); }
.damage-icon.bulge::before { left: 7%; right: 7%; top: 38px; height: 23px; }
.damage-icon.bulge::after { content: ""; position: absolute; left: 38%; top: 24px; width: 75px; height: 53px; border-radius: 50%; background: var(--dark); }
.damage-icon.leak::after { content: ""; position: absolute; left: 50%; top: 66px; width: 15px; height: 23px; border-radius: 50% 50% 55% 55%; background: var(--danger); clip-path: polygon(50% 0, 100% 70%, 90% 100%, 10% 100%, 0 70%); }
.damage-icon.bend::before { left: 20%; right: 20%; top: 16px; height: 75px; border-radius: 60px 60px 0 0; background: transparent; border: 26px solid var(--dark); border-bottom: 0; }
.damage-icon.rust::after { content: ""; position: absolute; left: 48%; top: 26px; width: 17px; height: 55px; border: 4px dotted var(--danger); transform: rotate(22deg); }
.damage-card strong { font-size: 15px; }
.damage-card p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }

.safety-section { padding: clamp(85px, 10vw, 150px) clamp(25px, 6vw, 100px); color: var(--paper); background: #b84332; }
.safety-title-wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 5vw, 75px); align-items: center; }
.safety-big { display: grid; place-items: center; width: clamp(100px, 13vw, 190px); height: clamp(100px, 13vw, 190px); border: clamp(5px, .7vw, 10px) solid currentColor; border-radius: 50%; font-family: Arial; font-size: clamp(65px, 9vw, 125px); font-weight: 900; line-height: 1; }
.safety-content { display: grid; grid-template-columns: 1.5fr .5fr; gap: clamp(40px, 8vw, 125px); margin-top: 65px; }
.safety-content ol { margin: 0; padding: 0; list-style: none; }
.safety-content li { display: grid; grid-template-columns: 45px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.33); }
.safety-content li > span { color: #ffd9d1; font: 900 11px Arial; }
.safety-content li strong { font-size: 17px; }
.safety-content li p { margin: 4px 0 0; color: #f2c4bb; font-size: 12px; }
.safety-content aside { padding: 27px; color: var(--ink); background: var(--paper); }
.safety-content aside strong { display: block; padding-top: 15px; border-top: 2px solid var(--ink); font-size: 13px; }
.safety-content aside strong:first-child { padding-top: 0; border-top: 0; }
.safety-content aside p { margin: 6px 0 24px; color: var(--muted); font-size: 11px; }

.sources-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px, 8vw, 120px); padding: 65px clamp(25px, 6vw, 100px); border-bottom: 1px solid var(--line); }
.sources-section h2 { margin: 0; font-family: "Yu Mincho", serif; font-size: 25px; }
.sources-section ul { margin: 0; padding: 0; list-style: none; }
.sources-section li { border-top: 1px solid var(--line); }
.sources-section a { display: flex; justify-content: space-between; padding: 15px 0; font-size: 12px; font-weight: 700; text-decoration: none; }
.sources-section a:hover { color: #827514; }
.sources-section > p { grid-column: 2; margin: -70px 0 0; padding-top: 20px; color: var(--muted); font-size: 10px; }

.site-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 46px clamp(25px, 6vw, 100px) 25px; }
.site-footer p { color: var(--muted); font-size: 12px; }
.site-footer > a:not(.brand) { font-size: 11px; font-weight: 800; }
.site-footer small { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid var(--line); color: var(--muted); font: 10px Arial; }

@media (max-width: 1080px) {
  .desktop-nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 720px; border-right: 0; }
  .hero-visual { min-height: 620px; }
  .diagnosis-section { grid-template-columns: 1fr; }
  .diagnosis-intro { max-width: 650px; }
  .result-section { grid-template-columns: .7fr 1.3fr; }
  .bring-list { grid-column: 2; }
  .part-story, .part-story.reverse { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; padding: 0 18px; }
  .nav-cta { padding: 10px 14px; }
  .brand { font-size: 15px; }
  .brand-mark { width: 25px; }
  .hero-copy { min-height: auto; padding: 75px 24px 60px; }
  .hero h1 { font-size: clamp(52px, 17vw, 78px); }
  .hero-lead { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-points { margin-top: 45px; }
  .hero-visual { min-height: 500px; padding: 25px 12px; }
  .visual-note { align-items: flex-start; flex-direction: column; margin: 0 14px; }
  .assembly-svg .diagram-label { font-size: 14px; }
  .safety-strip { grid-template-columns: auto 1fr; padding: 20px; }
  .safety-strip div:nth-child(2) { align-items: flex-start; flex-direction: column; gap: 2px; }
  .safety-strip strong { white-space: normal; }
  .safety-strip a { grid-column: 2; }
  .entry-section, .parts-section, .check-section { padding: 80px 20px; }
  .entry-grid { grid-template-columns: 1fr; }
  .entry-card { min-height: 390px; }
  .diagnosis-section { padding: 80px 18px; }
  .wizard { margin: 0 -2px; padding: 25px 18px; }
  .wizard-top { grid-template-columns: 1fr; gap: 14px; }
  .choice-grid-3, .form-grid, .ends-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 112px; }
  .choice-letter { margin-bottom: 12px; }
  .measure-guide { grid-template-columns: 1fr; }
  .wizard-actions { flex-wrap: wrap; }
  .wizard-actions .button { flex: 1; min-width: 135px; }
  .result-section { grid-template-columns: 1fr; padding: 80px 20px; }
  .bring-list { grid-column: auto; }
  .result-actions { flex-direction: column; }
  .split-heading, .photos-heading { grid-template-columns: 1fr; gap: 20px; }
  .photos-heading .section-number { grid-column: auto; }
  .part-story, .part-story.reverse { grid-template-columns: 1fr; }
  .part-story.reverse .part-visual { order: 0; }
  .part-visual { min-height: 430px; }
  .part-copy { padding: 42px 25px; }
  .ring-cover { width: 265px; height: 265px; border-width: 39px; }
  .ring-wire { width: 190px; height: 190px; border-width: 34px; }
  .ring-tube { width: 124px; height: 124px; border-width: 29px; }
  .cutaway-core { width: 68px; height: 68px; }
  .cutaway-ring span, .cutaway-core span { left: calc(50% + 83px); width: 65px; font-size: 9px; }
  .cutaway-core span { left: calc(50% + 56px); }
  .cutaway-ring span::before, .cutaway-core span::before { width: 28px; }
  .fittings-board { padding: 45px 28px 45px 53px; }
  .fitting-sample i { left: 35px; width: 190px; }
  .fitting-sample.angle90 i { width: 145px; }
  .adapter-board { padding: 40px 20px; }
  .port { width: 76px; height: 76px; box-shadow: inset 0 0 0 16px #131716; }
  .adapter-center { width: 95px; height: 57px; font-size: 12px; }
  .photos-section { padding: 80px 20px; }
  .photo-grid { grid-template-columns: 1fr; }
  .damage-grid { grid-template-columns: 1fr 1fr; }
  .damage-card { min-height: 225px; padding: 20px; }
  .safety-section { padding: 80px 20px; }
  .safety-title-wrap { grid-template-columns: 1fr; }
  .safety-content { grid-template-columns: 1fr; }
  .sources-section { grid-template-columns: 1fr; padding: 60px 20px; }
  .sources-section > p { grid-column: auto; margin: 0; }
  .site-footer { grid-template-columns: 1fr auto; padding: 40px 20px 22px; }
  .site-footer p { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .desktop-nav .nav-cta { display: none; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-points li { display: grid; grid-template-columns: 35px 1fr; gap: 5px; padding-top: 11px; }
  .hero-points strong { margin: 0; }
  .damage-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
