:root {
  --sumi: #14120f;
  --ink: #27231d;
  --paper: #f8f4eb;
  --white: #fffdfa;
  --matcha: #587846;
  --matcha-dark: #2d4d35;
  --vermilion: #bd4a32;
  --indigo: #283f5e;
  --line: rgba(20, 18, 15, 0.16);
  --shadow: 0 24px 60px rgba(20, 18, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 48px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(20, 18, 15, 0.72), rgba(20, 18, 15, 0.08));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 253, 250, 0.42);
  background: rgba(20, 18, 15, 0.3);
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  color: rgba(255, 253, 250, 0.78);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav-cta {
  border: 1px solid rgba(255, 253, 250, 0.5);
  padding: 9px 14px;
  background: rgba(255, 253, 250, 0.1);
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  overflow: hidden;
  color: var(--white);
  background: var(--sumi);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 18, 15, 0.86) 0%, rgba(20, 18, 15, 0.58) 42%, rgba(20, 18, 15, 0.14) 100%),
    linear-gradient(0deg, rgba(20, 18, 15, 0.66) 0%, rgba(20, 18, 15, 0.04) 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(760px, calc(100% - 32px));
  margin: 0 0 clamp(36px, 8vh, 88px) clamp(16px, 7vw, 96px);
  padding-top: 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f2c76b;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--vermilion);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 253, 250, 0.86);
  font-size: clamp(17px, 2.1vw, 22px);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--vermilion);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 253, 250, 0.55);
  background: rgba(255, 253, 250, 0.08);
}

.button.full {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin: 30px 0 0;
}

.hero-facts div {
  border-left: 2px solid rgba(242, 199, 107, 0.74);
  padding-left: 12px;
}

.hero-facts dt {
  color: rgba(255, 253, 250, 0.62);
  font-size: 12px;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-item {
  min-height: 92px;
  border-right: 1px solid var(--line);
  padding: 20px clamp(16px, 3vw, 34px);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  color: var(--matcha-dark);
  font-size: 18px;
}

.trust-item span {
  color: rgba(39, 35, 29, 0.68);
  font-size: 14px;
}

.section {
  padding: clamp(56px, 9vw, 112px) clamp(16px, 6vw, 88px);
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow) {
  color: rgba(39, 35, 29, 0.72);
  font-size: 17px;
}

.language-panel {
  background: linear-gradient(180deg, var(--paper), #eef2e5);
}

.language-tabs {
  display: flex;
  width: min(720px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.tab {
  flex: 1;
  min-height: 48px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab:last-child {
  border-right: 0;
}

.tab.active {
  color: var(--white);
  background: var(--matcha-dark);
}

.language-copy {
  width: min(720px, 100%);
  margin: 18px auto 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}

.language-copy p {
  color: rgba(39, 35, 29, 0.74);
}

.language-copy ul,
.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.language-copy li,
.check-list li {
  position: relative;
  padding: 7px 0 7px 22px;
}

.language-copy li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  background: var(--matcha);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  background: var(--white);
}

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

.timeline li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  background: #fbfaf6;
  padding: 20px;
}

.timeline span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--white);
  background: var(--indigo);
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: rgba(39, 35, 29, 0.7);
}

.details-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 16px;
  background: var(--sumi);
}

.detail-card {
  min-height: 280px;
  border: 1px solid rgba(255, 253, 250, 0.13);
  background: var(--white);
  padding: clamp(20px, 3vw, 28px);
}

.detail-card h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  overflow-wrap: normal;
}

.detail-card.highlight {
  color: var(--white);
  background: linear-gradient(160deg, var(--matcha-dark), #17251b);
}

.label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--vermilion);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.highlight .label {
  color: #f2c76b;
}

.price {
  margin: 16px 0;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  line-height: 1;
}

.price small {
  font-size: 16px;
}

.note {
  color: rgba(39, 35, 29, 0.64);
  font-size: 14px;
}

.faq {
  background: var(--paper);
}

.faq-list {
  width: min(860px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.54);
}

summary {
  cursor: pointer;
  padding: 22px 8px;
  color: var(--matcha-dark);
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 8px 24px;
  color: rgba(39, 35, 29, 0.74);
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: clamp(16px, 5vw, 64px);
  padding: clamp(28px, 5vw, 56px);
  color: var(--white);
  background: linear-gradient(135deg, var(--indigo), var(--sumi));
}

.final-cta h2 {
  max-width: 700px;
}

.final-cta p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 253, 250, 0.78);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 24px clamp(16px, 6vw, 88px);
  color: rgba(39, 35, 29, 0.66);
  background: var(--white);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .trust-band,
  .details-grid,
  .split,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(20, 18, 15, 0.88) 0%, rgba(20, 18, 15, 0.62) 100%),
      linear-gradient(0deg, rgba(20, 18, 15, 0.7) 0%, rgba(20, 18, 15, 0.06) 42%);
  }

  .hero-content {
    width: calc(100% - 28px);
    margin: 0 14px 30px;
    padding-top: 82px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .language-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tab:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 48px 14px;
  }

  .timeline li {
    grid-template-columns: 44px 1fr;
    padding: 16px;
  }

  .timeline span {
    width: 44px;
    height: 44px;
  }

  .final-cta {
    margin: 14px;
  }
}
