:root {
  --ink: #111827;
  --muted: #64748b;
  --line: #dbe4ee;
  --paper: #f8fafc;
  --white: #ffffff;
  --green: #12b981;
  --green-dark: #047857;
  --amber: #f59e0b;
  --blue: #2563eb;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(219, 228, 238, 0.8);
  backdrop-filter: blur(18px);
}

.admin-bar .site-header {
  top: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 12px 30px rgba(4, 120, 87, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 66px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 590px);
  align-items: center;
  overflow: hidden;
  background: #07111f;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(0deg, rgba(7, 17, 31, 0.86), transparent);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(7, 17, 31, 0.82), rgba(7, 17, 31, 0.36) 48%, rgba(7, 17, 31, 0.9));
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 3000ms ease;
}

.hero-image.active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(58px, 8vw, 112px) clamp(20px, 6vw, 76px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-strip span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1120px;
  margin: -52px auto 0;
  padding: 0 clamp(20px, 4vw, 0px);
  position: relative;
  z-index: 3;
}

.stats-band div {
  padding: 28px;
  background: var(--white);
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stats-band div:first-child {
  border-radius: 8px 0 0 8px;
}

.stats-band div:last-child {
  border-right: 0;
  border-radius: 0 8px 8px 0;
}

.stats-band strong {
  display: block;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
}

.stats-band strong::before {
  content: "￥";
  font-size: 0.5em;
}

.stats-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(18px, 2.7vw, 35px) clamp(20px, 5vw, 32px);
}

.intro,
.flow,
.aftercare {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.section-copy p:not(.eyebrow),
.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.benefit-grid article,
.price-card,
.case-row article,
.area-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.benefit-grid article {
  min-height: 210px;
  padding: 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.benefit-grid article:hover,
.benefit-grid article:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16), 0 16px 34px rgba(37, 99, 235, 0.18);
  transform: translateY(-2px);
}

.benefit-grid p,
.price-card p,
.case-row p,
.case-row ul,
.area-grid p,
.aftercare p {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #dcfce7;
  font-size: 13px;
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  padding: 24px;
}

.price-card.featured {
  color: var(--white);
  background: linear-gradient(145deg, #065f46, #0f766e);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.price-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(18, 185, 129, 0.12);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.featured .tag {
  color: #064e3b;
  background: #a7f3d0;
}

.price {
  margin: 14px 0;
  color: var(--ink);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.featured .price {
  color: var(--white);
}

.price span {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 800;
}

.case-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.case-row article {
  padding: 20px;
}

.case-row ul {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  padding-left: 1.1em;
}

.case-row li {
  padding-left: 2px;
}

.case-row strong {
  display: block;
  color: var(--green-dark);
  font-size: 22px;
}

.timeline {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
  overflow: hidden;
}

.timeline details {
  padding: 0;
}

.timeline summary {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.timeline summary::-webkit-details-marker {
  display: none;
}

.timeline summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--blue);
  background: #eff6ff;
  font-size: 20px;
  line-height: 1;
}

.timeline details[open] summary::after {
  content: "-";
}

.timeline summary:hover {
  background: #f8fbff;
}

.timeline p {
  margin: 0;
  padding: 0 16px 16px 72px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.75;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
}

.area {
  padding-top: clamp(18px, 2.7vw, 35px);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.area-grid article {
  padding: 24px;
}

.aftercare {
  align-items: center;
}

.after-list {
  display: grid;
  gap: 10px;
}

.after-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: baseline;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: #0f172a;
}

.after-list span {
  font-weight: 800;
}

.after-list strong {
  font-size: 26px;
}

.after-list small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.62);
}

.final-cta {
  margin: 0 clamp(20px, 5vw, 64px) clamp(32px, 6vw, 64px);
  padding: clamp(44px, 7vw, 76px) 22px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 95, 70, 0.94), rgba(15, 23, 42, 0.75)),
    url("../images/re-camera-2.png") center / cover;
  text-align: center;
}

.final-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  padding: 28px 20px 86px;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: var(--ink);
  font-weight: 900;
}

.mobile-bar {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  display: flex;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.24);
}

.mobile-bar a {
  min-width: 110px;
  padding: 14px 16px;
  color: var(--white);
  background: var(--green-dark);
  font-weight: 900;
  text-align: center;
}

.mobile-bar a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 760px;
    grid-template-columns: 1fr;
  }

  .hero-media::before {
    background: linear-gradient(0deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.44));
  }

  .hero-content {
    align-self: end;
  }

  .stats-band,
  .intro,
  .flow,
  .aftercare,
  .price-grid,
  .case-row,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .stats-band {
    margin-top: 0;
    padding: 0;
  }

  .stats-band div,
  .stats-band div:first-child,
  .stats-band div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand span {
    max-width: 128px;
    line-height: 1.2;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .after-list div {
    grid-template-columns: 1fr;
  }

  .mobile-bar {
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 0;
  }

  .mobile-bar a {
    flex: 1;
  }
}
