:root {
  --ink: #171412;
  --muted: #6f6963;
  --line: #ded7d0;
  --paper: #fffdf9;
  --wash: #f5f0ea;
  --gold: #b79272;
  --gold-dark: #9d7758;
  --page-gutter: clamp(22px, 6vw, 88px);
  --sans: "Helvetica Neue", Arial, "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  letter-spacing: 0;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 42px var(--page-gutter) 24px;
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 249, .92);
  box-shadow: 0 10px 35px rgba(35, 30, 25, .08);
  padding-top: 18px;
  backdrop-filter: blur(12px);
}

.brand {
  justify-self: start;
  display: block;
  width: clamp(88px, 8.5vw, 118px);
}

.brand img {
  width: 100%;
  height: auto;
}

.header-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .08em;
}

.header-nav a {
  transition: opacity .2s ease;
}

.header-nav a:hover {
  opacity: .62;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(320px, 500px) minmax(420px, 1fr);
  align-items: stretch;
  gap: clamp(34px, 5vw, 76px);
  padding: 150px var(--page-gutter) 72px;
  background:
    radial-gradient(circle at 52% 72%, rgba(214, 203, 191, 0.35), transparent 32%),
    linear-gradient(100deg, #fffdf9 0%, #fbf6ef 47%, #e8ddd4 100%);
  overflow: hidden;
}

.hero-copy {
  grid-column: 1;
  align-self: start;
  padding: 0;
}

.hero h1 {
  margin: 0;
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.62;
  letter-spacing: .05em;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  max-width: 490px;
  margin: 22px 0 30px;
  color: #3e3833;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 2.15;
}

.hero-image {
  grid-column: 2;
  min-height: 0;
  background-image: url("./assets/models.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 208px;
  min-height: 48px;
  padding: 13px 26px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.button-dark {
  color: #fff;
  background: #0f0d0c;
}

.button-gold {
  width: 100%;
  max-width: 460px;
  color: #fff;
  background: linear-gradient(90deg, #ba9677, #a67f60);
}

.button-light {
  color: var(--ink);
  background: #fff;
}

.section,
.reward-flow {
  padding: 80px 0 78px;
}

.section-inner {
  width: 100%;
  margin: 0;
  padding: 0 var(--page-gutter);
}

.eyebrow {
  margin: 0 0 24px;
  color: #5b5550;
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5em;
}

h2 {
  margin: 0;
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: .05em;
}

.overview h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.9;
}

.lead {
  max-width: 900px;
  margin: 26px 0 52px;
  color: #4d4742;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 2.1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: none;
}

.feature-grid article {
  min-height: 132px;
  display: grid;
  grid-template-columns: 58px 1fr;
  grid-template-areas:
    "number title"
    "number body";
  column-gap: 16px;
  align-items: start;
  padding: 24px 24px 24px 18px;
  border: 1px solid rgba(222, 215, 208, 0.86);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.68);
  box-shadow: 0 8px 24px rgba(48, 39, 31, 0.04);
}

.feature-grid span {
  grid-area: number;
  display: block;
  color: #cbb5a3;
  font-size: 38px;
  line-height: 1;
}

.feature-grid h3 {
  grid-area: title;
  margin-bottom: 12px;
  font-size: 16px;
}

.feature-grid p {
  grid-area: body;
}

h3 {
  margin: 0 0 18px;
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: .05em;
}

.feature-grid p,
.reward-item p,
.flow li,
.note {
  margin: 0;
  color: #554f49;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 2;
}

.reward-flow {
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.8), rgba(255, 253, 249, 0.25)),
    radial-gradient(circle at 2% 3%, rgba(196, 175, 157, 0.32), transparent 42%),
    var(--wash);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.reward {
  padding-right: 70px;
}

.flow {
  padding-left: 70px;
  border-left: 1px solid var(--line);
}

.reward-item {
  display: grid;
  grid-template-columns: 116px 1fr;
  grid-template-areas: "percent copy";
  column-gap: 34px;
  row-gap: 18px;
  align-items: center;
  min-height: 138px;
  margin-top: 18px;
  padding: 24px 28px 24px 24px;
  border: 1px solid rgba(222, 215, 208, 0.86);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.62);
  box-shadow: 0 8px 24px rgba(48, 39, 31, 0.04);
}

.reward-item:last-child {
  border-bottom: 1px solid rgba(222, 215, 208, 0.86);
}

.reward-item strong {
  grid-area: percent;
  display: block;
  justify-self: start;
  width: 100%;
  text-align: center;
  color: var(--gold);
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 58px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .02em;
}

.reward-item strong span {
  font-size: 0.68em;
}

.reward-item > div {
  grid-area: copy;
  text-align: left;
}

.reward-item h3 {
  margin: 0 0 10px;
  font-weight: 400;
}

.flow ol {
  display: grid;
  gap: 17px;
  margin: 30px 0 28px;
  padding: 0;
  list-style: none;
}

.flow li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink);
  font-weight: 400;
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 20px;
  width: 1px;
  height: 17px;
  background-image: linear-gradient(to bottom, rgba(21, 19, 17, 0.42) 45%, transparent 45%);
  background-size: 1px 4px;
  background-repeat: repeat-y;
}

.flow li span {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #151311;
  font-size: 11px;
  line-height: 1;
}

.prize {
  padding-top: 72px;
}

.prize-heading {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-bottom: 34px;
  text-align: center;
}

.prize-heading p {
  margin: 0;
  color: var(--gold);
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: .05em;
}

.sp-break {
  display: none;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.prize-grid article {
  position: relative;
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 28px 54px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  overflow: hidden;
  box-shadow: none;
}

.prize-grid article::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 34px;
  height: 96px;
  background: url("./assets/gekkeiju_left.png") center / contain no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.prize-grid article::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 34px;
  height: 96px;
  background: url("./assets/gekkeiju_right.png") center / contain no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.prize-grid span {
  position: relative;
  color: var(--gold-dark);
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .05em;
}

.prize-grid small {
  margin-left: 4px;
  color: var(--ink);
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: .05em;
}

.prize-grid p {
  position: relative;
  margin: 10px 0 0;
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: .05em;
}

.note {
  margin-top: 24px;
  text-align: center;
}

.closing-cta {
  padding: 58px 0 56px;
  color: #fff;
  background:
    linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.6)),
    radial-gradient(ellipse at 82% 24%, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(135deg, #1d1b19, #070706 58%, #1b1917);
  text-align: center;
}

.closing-cta .section-inner {
  display: grid;
  justify-items: center;
}

.closing-cta h2 {
  text-align: center;
}

.closing-cta p {
  max-width: 720px;
  margin: 20px auto 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 2;
  text-align: center;
}

.site-footer {
  padding: 36px var(--page-gutter) 116px;
  background: var(--paper);
}

.footer-info {
  padding-top: 20px;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.9;
}

.footer-info p {
  margin: 0 0 14px;
}

.footer-info p:last-child {
  margin-bottom: 0;
}

.chat-button {
  position: fixed;
  right: 42px;
  bottom: 36px;
  z-index: 20;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #34322f;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}

.chat-button img {
  width: 26px;
  height: auto;
}

@media (max-width: 900px) {
  :root {
    --page-gutter: 20px;
  }

  .site-header {
    padding: 18px var(--page-gutter);
    background: rgba(255, 253, 249, .9);
  }

  .brand {
    width: 92px;
  }

  .menu-toggle {
    display: block;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    right: var(--page-gutter);
    display: grid;
    min-width: 160px;
    gap: 0;
    padding: 10px 0;
    background: rgba(255, 253, 249, .94);
    box-shadow: 0 16px 30px rgba(35, 30, 25, .1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .header-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-nav a {
    padding: 14px 20px;
    text-align: right;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 112px var(--page-gutter) 0;
  }

  .hero-copy {
    grid-column: auto;
    padding: 52px 0 44px;
  }

  .hero-image {
    grid-column: auto;
    min-height: 0;
    aspect-ratio: 1476 / 1066;
    order: -1;
    background-image: url("./assets/models.jpg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .section,
  .reward-flow {
    padding: 58px 0;
  }

  .feature-grid,
  .split,
  .prize-grid {
    grid-template-columns: 1fr;
  }

  .prize-grid {
    justify-content: center;
  }

  .prize-grid article {
    min-height: 176px;
    padding: 30px 92px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
      linear-gradient(90deg, transparent 10%, rgba(183, 146, 114, 0.08), transparent 90%),
      #fffdf9;
    box-shadow: 0 8px 24px rgba(48, 39, 31, 0.04);
  }

  .prize-grid article::before {
    left: 24px;
    width: 38px;
    height: 104px;
  }

  .prize-grid article::after {
    right: 24px;
    width: 38px;
    height: 104px;
  }

  .feature-grid article {
    grid-template-columns: 58px 1fr;
    column-gap: 14px;
    padding: 22px 18px;
  }

  .feature-grid span {
    font-size: 42px;
  }

  .feature-grid h3 {
    font-size: 18px;
  }

  .reward,
  .flow {
    padding: 0;
  }

  .flow {
    margin-top: 46px;
    padding-top: 46px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .reward-item {
    grid-template-columns: 86px 1fr;
    gap: 20px;
  }

  .reward-item strong {
    font-size: 48px;
  }

  .prize-heading {
    display: block;
  }

  .prize-heading p {
    margin-top: 18px;
  }

  .sp-break {
    display: block;
  }

  .site-footer {
    padding-bottom: 92px;
  }

  .chat-button {
    right: 20px;
    bottom: 22px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 560px) {
  .hero-image {
    min-height: 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .reward-item {
    grid-template-columns: 76px 1fr;
    column-gap: 24px;
    row-gap: 16px;
  }

  .prize-grid article {
    padding: 30px 76px;
  }

  .prize-grid article::before {
    left: 48px;
    width: 34px;
    height: 98px;
  }

  .prize-grid article::after {
    right: 48px;
    width: 34px;
    height: 98px;
  }

  .flow li {
    align-items: flex-start;
  }
}
