:root {
  --ink: #17212b;
  --navy: #132c45;
  --blue: #176aa2;
  --red: #ed1c2d;
  --pale: #f3f7f9;
  --line: #dce5e9;
  --muted: #62717d;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  background: #fff;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
section[id] { scroll-margin-top: 100px; }
a:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  padding: .5rem 1rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}

.header {
  height: 84px;
  padding: 0 clamp(24px, 5vw, 78px);
  display: flex;
  align-items: center;
  gap: 32px;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.97);
  box-shadow: 0 3px 18px rgba(19,44,69,.07);
  z-index: 20;
  backdrop-filter: blur(8px);
}
.brand { display: flex; flex-direction: column; margin-right: auto; }
.brand img { width: 200px; height: auto; }
.brand small { font-size: 8px; letter-spacing: .16em; color: var(--muted); margin-left: 50px; }
.desktop-nav { display: flex; gap: 22px; font-size: 12px; font-weight: 700; }
.desktop-nav a { position: relative; padding: 30px 0; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 22px;
  height: 2px;
  background: var(--red);
  transition: right .2s ease;
}
.desktop-nav a:hover::after { right: 0; }
.header-cta {
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.mobile-menu { display: none; }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  background: linear-gradient(125deg, #fff 0%, #fff 51%, #f1f6f8 51%);
}
.hero-copy { padding: clamp(72px, 7.5vw, 112px) clamp(25px, 6.5vw, 100px); }
.eyebrow,
.kicker {
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 900;
  color: var(--red);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.25;
  letter-spacing: -.045em;
  margin: 0 0 18px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero-message { margin: 0 0 10px; font-size: clamp(18px, 1.8vw, 24px); font-weight: 800; color: var(--navy); }
.lead { font-size: 16px; color: #425666; max-width: 700px; }
.actions { display: flex; gap: 12px; margin: 32px 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 15px 25px;
  border: 1px solid var(--navy);
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(19,44,69,.12); }
.primary { background: var(--red); border-color: var(--red); color: #fff; }
.secondary { background: #fff; }
.hero-facts { list-style: none; padding: 0; margin: 38px 0 0; display: flex; gap: 24px; flex-wrap: wrap; }
.hero-facts li { border-left: 2px solid var(--red); padding-left: 12px; }
.hero-facts strong,
.hero-facts span { display: block; }
.hero-facts strong { font-size: 17px; }
.hero-facts span { font-size: 11px; color: var(--muted); }
.hero-image { margin: 0; overflow: hidden; position: relative; min-height: 420px; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.16), transparent 25%); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: var(--navy);
  color: #fff;
  padding: 0 clamp(20px, 5vw, 70px);
  overflow-x: auto;
}
.trust-bar span {
  min-width: 170px;
  padding: 16px 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  border-left: 1px solid rgba(255,255,255,.15);
}
.trust-bar span:last-child { border-right: 1px solid rgba(255,255,255,.15); }

.section { padding: 100px clamp(24px, 7vw, 110px); max-width: 1440px; margin: auto; }
.problem { text-align: center; }
.problem h2,
.section-head h2,
.strengths h2,
.hybrid h2,
.partner h2,
.faq h2,
.estimate h2,
.security h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.45;
  margin: 0 0 30px;
  letter-spacing: -.03em;
}
.intro { max-width: 850px; margin: 0 auto 48px; color: var(--muted); font-size: 16px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem-grid article { background: var(--pale); padding: 32px; text-align: left; }
.problem-grid h3 { font-size: 19px; margin: 0 0 8px; }
.problem-grid p { color: var(--muted); font-size: 14px; margin: 0; }

.service { background: var(--navy); color: #fff; }
.light { color: #ff6976; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 50px; }
.section-head h2 { margin: 0; }
.section-head > p { max-width: 520px; color: #b7c7d3; margin: 0; }
.section-head.dark > p { color: var(--muted); }
.flow { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; padding: 0; margin: 55px 0 35px; }
.flow li { background: #fff; color: var(--ink); padding: 28px 18px; position: relative; margin-right: 5px; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 80px; color: var(--red); z-index: 2; font-weight: 900; }
.flow b,
.flow small { display: block; }
.flow b { font-size: 16px; }
.flow small { font-size: 12px; color: var(--muted); }
.text-link { display: block; text-align: right; color: #fff; font-weight: 800; font-size: 13px; }
.text-link span { color: #ff6976; }

.strengths { text-align: center; }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: 48px; text-align: left; }
.strength-grid article { background: #fff; padding: 35px; }
.strength-grid h3 { font-size: 19px; margin: 0 0 8px; }
.strength-grid p { font-size: 14px; color: var(--muted); margin: 0; }

.results { background: #f7fafb; }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.result-grid article { background: #fff; border: 1px solid var(--line); padding: 30px; }
.result-grid h3 { margin: 0 0 10px; font-size: 18px; color: var(--navy); }
.result-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.result-note { margin: 24px 0 8px; font-size: 12px; color: var(--muted); }
.inline-link { display: inline-block; margin-top: 12px; color: var(--navy); font-size: 13px; font-weight: 800; border-bottom: 1px solid currentColor; }
.inline-link span { color: var(--red); }

.hybrid { background: #f0f5f7; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.two-col figure { margin: 0; aspect-ratio: 7 / 5; overflow: hidden; }
.two-col figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.two-col > div > p:not(.kicker) { color: #526675; }
.merge { display: flex; align-items: center; gap: 10px; margin: 28px 0; padding: 20px; background: #fff; }
.merge span,
.merge strong { padding: 10px 14px; background: var(--pale); font-size: 13px; }
.merge strong { background: var(--red); color: #fff; }
.merge i { font-style: normal; color: var(--red); font-weight: 900; }

.use-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.use-grid article { background: var(--pale); padding: 30px; }
.use-grid h3 { font-size: 18px; margin: 0 0 6px; }
.use-grid p { font-size: 13px; color: var(--muted); margin: 0; }

.estimate { background: var(--navy); color: #fff; }
.estimate-grid > div > p:not(.kicker) { color: #c1d0da; }
.estimate-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.estimate-list li { background: #fff; color: var(--ink); padding: 18px 20px; display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; }
.estimate-list strong { color: var(--navy); }
.estimate-list span { color: var(--muted); font-size: 13px; }

.security-box { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; padding: clamp(30px, 5vw, 60px); border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 50px rgba(19,44,69,.06); }
.security-box h2 { font-size: clamp(28px, 3.4vw, 44px); }
.security-box > div > p:not(.kicker) { color: var(--muted); }
.security-box ul { list-style: none; padding: 0; margin: 0; display: grid; align-content: center; gap: 10px; }
.security-box li { padding: 14px 16px 14px 42px; background: var(--pale); position: relative; font-size: 13px; font-weight: 700; }
.security-box li::before { content: "✓"; position: absolute; left: 16px; color: var(--red); font-weight: 900; }

.partner { background: var(--navy); color: #fff; max-width: none; padding-left: max(24px, calc((100vw - 1220px)/2)); padding-right: max(24px, calc((100vw - 1220px)/2)); text-align: center; }
.partner > p:not(.kicker) { max-width: 800px; margin: auto; color: #bac9d4; }
.partner ul { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 35px 0 0; }
.partner li { border: 1px solid rgba(255,255,255,.3); padding: 10px 18px; font-size: 13px; }

.faq { max-width: 1000px; }
.faq details { padding: 21px; border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 800; cursor: pointer; padding-right: 28px; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--red); font-size: 22px; line-height: 1.3; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-bottom: 0; }

.cta { padding: 80px clamp(24px, 7vw, 110px); background: linear-gradient(115deg, #183c5b, #0d253a); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { font-size: clamp(31px, 4vw, 49px); line-height: 1.4; margin: 0; }
.cta p { color: #c2d0da; }
.white { background: #fff; border-color: #fff; color: var(--navy); }
.cta-actions { display: grid; gap: 8px; min-width: 260px; }
.cta-actions .button { width: 100%; }
.phone-link { color: #fff; font-size: 18px; font-weight: 800; text-align: center; }
.cta-actions small { color: #c2d0da; text-align: center; }

footer { padding: 42px clamp(24px, 7vw, 110px); display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 30px; font-size: 11px; color: var(--muted); }
footer img { width: 160px; height: auto; display: block; }
.footer-info p { margin: 0; }
.footer-links { display: grid; gap: 4px; }
.footer-links a:hover { color: var(--navy); }
footer > small { white-space: nowrap; }
.mobile-cta { display: none; }

@media (hover: hover) {
  .strength-grid article,
  .problem-grid article,
  .use-grid article,
  .result-grid article { transition: transform .2s ease, box-shadow .2s ease; }
  .strength-grid article:hover,
  .problem-grid article:hover,
  .use-grid article:hover,
  .result-grid article:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(19,44,69,.09); position: relative; z-index: 1; }
}

@media (max-width: 1100px) {
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: 11px; }
}

@media (max-width: 950px) {
  .header { height: 72px; }
  .desktop-nav,
  .header-cta { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { cursor: pointer; font-size: 12px; font-weight: 900; color: var(--navy); padding: 8px 0; }
  .mobile-menu nav { position: absolute; right: 0; top: 44px; width: min(320px, calc(100vw - 32px)); background: #fff; box-shadow: 0 16px 40px rgba(19,44,69,.15); border: 1px solid var(--line); padding: 8px; }
  .mobile-menu nav a { display: block; padding: 12px 14px; font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line); }
  .mobile-menu nav a:last-child { border-bottom: 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .hero-image { height: 420px; min-height: 0; }
  .problem-grid,
  .strength-grid,
  .use-grid,
  .result-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow li { margin: 0 0 5px; display: grid; grid-template-columns: auto 60px 1fr; column-gap: 16px; align-items: center; }
  .flow li:not(:last-child)::after { content: "↓"; right: 25px; top: auto; bottom: -18px; }
  .flow .flow-icon { grid-row: 1 / span 2; }
  .flow .large-num { grid-row: 1 / span 2; margin: 0; }
  .flow b { align-self: end; }
  .flow small { align-self: start; }
  .two-col { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head > p { margin-top: 18px; }
  .security-box { grid-template-columns: 1fr; }
  .cta { display: block; }
  .cta-actions { margin-top: 28px; max-width: 420px; }
  footer { grid-template-columns: 1fr 1fr; padding-bottom: 90px; }
  footer > small { justify-self: end; }
  .mobile-cta { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; }
  .mobile-cta a { display: block; text-align: center; background: var(--red); color: #fff; padding: 14px; font-weight: 900; box-shadow: 0 -6px 22px rgba(0,0,0,.12); }
}

@media (max-width: 600px) {
  .brand img { width: 145px; }
  .brand small { display: none; }
  .hero-image { height: 290px; }
  .hero-copy { padding: 52px 22px; }
  .hero h1 { font-size: 34px; }
  .hero-message { font-size: 18px; }
  .hero-facts { gap: 12px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .trust-bar { justify-content: flex-start; }
  .section { padding: 70px 22px; }
  .problem-grid,
  .strength-grid,
  .use-grid,
  .result-grid { grid-template-columns: 1fr; }
  .merge { flex-wrap: wrap; }
  .estimate-list li { grid-template-columns: 1fr; gap: 2px; }
  .security-box { padding: 26px 22px; }
  .cta { padding: 58px 22px; }
  footer { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  footer > small { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
