:root {
  --ink: #0d0a08;
  --paper: #f6f0e7;
  --paper-2: #fffaf2;
  --red: #d91618;
  --gold: #d8a33f;
  --muted: #756c63;
  --line: rgba(13, 10, 8, 0.14);
  --sans: "Noto Sans JP", sans-serif;
  --serif: "Shippori Mincho B1", serif;
  --grot: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.9;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.detail-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  color: #fff;
  background: rgba(13, 10, 8, 0.94);
  backdrop-filter: blur(12px);
}
.detail-brand {
  font: 700 16px/1 var(--grot);
  letter-spacing: 0.13em;
  border-top: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
  padding: 7px 2px;
}
.detail-nav { display: flex; gap: 24px; font-size: 13px; }
.detail-nav a:hover, .detail-nav a:focus-visible { color: var(--gold); }

.detail-hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
  color: #fff;
  background: var(--ink);
}
.detail-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(76px, 10vw, 150px) 8vw;
}
.detail-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font: 600 11px/1.4 var(--grot);
  letter-spacing: 0.28em;
}
.detail-hero h1 {
  margin: 0;
  font: 700 clamp(38px, 6vw, 78px)/1.25 var(--serif);
  letter-spacing: 0.02em;
}
.detail-lead { max-width: 680px; margin: 30px 0 0; color: #d9d0c5; font-size: 16px; }
.detail-hero-media { min-height: 440px; overflow: hidden; }
.detail-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumb {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 5vw;
  color: var(--muted);
  font-size: 12px;
}
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }

.detail-section { max-width: 1180px; margin: 0 auto; padding: 90px 5vw; }
.detail-section + .detail-section { border-top: 1px solid var(--line); }
.section-label { margin: 0 0 14px; color: var(--red); font: 700 11px/1 var(--grot); letter-spacing: 0.25em; }
.detail-section h2 { margin: 0 0 42px; font: 700 clamp(28px, 4vw, 48px)/1.4 var(--serif); }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail-card { padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-2); }
.detail-card b { display: block; margin-bottom: 12px; font-family: var(--serif); font-size: 20px; }
.detail-card p { margin: 0; color: var(--muted); }

.flow { counter-reset: flow; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.flow li { list-style: none; min-height: 190px; padding: 30px; background: var(--paper-2); }
.flow li::before { counter-increment: flow; content: "0" counter(flow); display: block; margin-bottom: 18px; color: var(--red); font: 700 12px/1 var(--grot); }
.flow b { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 18px; }

.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-link { display: grid; grid-template-columns: 150px 1fr; min-height: 180px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-2); transition: transform .25s ease, border-color .25s ease; }
.service-link:hover, .service-link:focus-visible { transform: translateY(-4px); border-color: var(--gold); }
.service-link img { width: 100%; height: 100%; object-fit: cover; }
.service-link-copy { padding: 26px; }
.service-link-copy small { color: var(--red); font: 700 10px/1 var(--grot); letter-spacing: .2em; }
.service-link-copy h2 { margin: 9px 0 8px; font: 700 22px/1.45 var(--serif); }
.service-link-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.video-wrap { overflow: hidden; border-radius: 20px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .28); }
.video-wrap video { width: 100%; max-height: 78vh; background: #000; }
.video-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }

.detail-cta { color: #fff; text-align: center; background: var(--ink); }
.detail-cta-inner { max-width: 820px; margin: 0 auto; padding: 100px 5vw; }
.detail-cta h2 { margin: 0 0 18px; font: 700 clamp(30px, 5vw, 54px)/1.4 var(--serif); }
.detail-cta p { margin: 0 0 32px; color: #d9d0c5; }
.detail-button { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 34px; border-radius: 999px; color: #fff; background: var(--red); font-weight: 700; }
.detail-button:hover, .detail-button:focus-visible { background: #f02729; }

.detail-footer { display: flex; justify-content: space-between; gap: 20px; padding: 34px 5vw; color: #b8aea3; background: #080605; font-size: 12px; }

@media (max-width: 860px) {
  .detail-nav { gap: 14px; font-size: 11px; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-hero-copy { padding: 90px 7vw 60px; }
  .detail-hero-media { min-height: 320px; }
  .detail-grid, .flow { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .detail-header { min-height: 64px; }
  .detail-nav a:nth-child(2) { display: none; }
  .detail-section { padding-top: 68px; padding-bottom: 68px; }
  .detail-grid, .flow { grid-template-columns: 1fr; }
  .service-link { grid-template-columns: 108px 1fr; }
  .service-link-copy { padding: 20px; }
  .detail-footer { flex-direction: column; }
}

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