:root {
  --ink: #080808;
  --ink-soft: #111113;
  --paper: #f4f0e8;
  --muted: #aaa39a;
  --line: rgba(255, 255, 255, 0.14);
  --pink: #ff2d8a;
  --pink-dark: #c91366;
  --lime: #c9ff38;
  --yellow: #ffd54a;
  --cyan: #67e8f9;
  --sans: 'Noto Sans JP', sans-serif;
  --latin: 'Montserrat', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--ink);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.025) 50%, transparent 50.2%),
    var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

.coupon-grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

.coupon-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.94);
}

.coupon-brand {
  width: 164px;
}

.coupon-header-action {
  min-width: 86px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
}

.coupon-intro {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 62px 20px 44px;
}

.coupon-intro::before {
  content: '';
  position: absolute;
  top: 22px;
  right: -60px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 45, 138, 0.4);
  border-radius: 50%;
}

.coupon-kicker,
.coupon-list-heading p,
.coupon-rule-heading > span {
  color: var(--pink);
  font-family: var(--latin);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.coupon-intro h1 {
  margin-top: 10px;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.22;
}

.coupon-intro > p:last-child {
  margin-top: 18px;
  color: #cfc9c1;
  font-size: 0.92rem;
  line-height: 1.9;
}

.coupon-rule {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 20px 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.coupon-rule-heading h2,
.coupon-list-heading h2,
.coupon-aftercare h2 {
  margin-top: 7px;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.45;
}

.coupon-rule ol {
  display: grid;
  gap: 1px;
  margin-top: 25px;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.coupon-rule li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 14px 16px;
  background: #101012;
}

.coupon-rule li b {
  color: var(--yellow);
  font-family: var(--latin);
  font-size: 1.35rem;
  font-weight: 900;
}

.coupon-rule li span {
  font-size: 0.86rem;
  line-height: 1.65;
}

.coupon-rule-note {
  margin-top: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--pink);
  color: #c5beb5;
  font-size: 0.78rem;
  line-height: 1.8;
}

.coupon-rule-note strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
}

.coupon-list {
  display: grid;
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 58px 16px 74px;
}

.coupon-list-heading {
  margin: 0 4px 6px;
}

.coupon-ticket {
  --accent: var(--pink);
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: #111113;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.coupon-ticket::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
}

.coupon-ticket-midnight { --accent: var(--pink); }
.coupon-ticket-health { --accent: var(--lime); }
.coupon-ticket-men { --accent: var(--cyan); }
.coupon-ticket-women { --accent: var(--yellow); }
.coupon-ticket-day { --accent: var(--lime); }

.coupon-ticket-main {
  min-width: 0;
  padding: 24px 22px 26px;
}

.coupon-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 12px;
  color: #928c85;
  font-family: var(--latin);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.coupon-status {
  padding: 4px 8px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--accent);
}

.coupon-ticket-time {
  margin-top: 25px;
  color: var(--accent);
  font-family: var(--latin);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.coupon-ticket h3 {
  margin-top: 18px;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.4;
}

.coupon-ticket-benefit {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 15px;
  margin-top: 16px;
}

.coupon-ticket-benefit > span,
.coupon-ticket-benefit del {
  color: #aba49b;
  font-size: 0.86rem;
}

.coupon-ticket-benefit strong {
  color: var(--accent);
  font-family: var(--latin);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.coupon-ticket-benefit small {
  margin-left: 4px;
  font-family: var(--sans);
  font-size: 0.86rem;
}

.coupon-ticket-description {
  margin-top: 18px;
  color: #d3cdc5;
  font-size: 0.86rem;
  line-height: 1.9;
}

.coupon-conditions {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #99928a;
  font-size: 0.72rem;
  list-style: none;
}

.coupon-conditions li::before {
  content: '・';
  color: var(--accent);
}

.coupon-ticket-stub {
  position: relative;
  display: grid;
  place-items: center;
  padding: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.32);
  background: color-mix(in srgb, var(--accent) 8%, #0d0d0e);
  text-align: center;
}

.coupon-ticket-stub::before,
.coupon-ticket-stub::after {
  content: '';
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
}

.coupon-ticket-stub::before { left: -10px; }
.coupon-ticket-stub::after { right: -10px; }

.coupon-ticket-stub > span {
  color: #aaa39a;
  font-family: var(--latin);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.coupon-ticket-stub > strong {
  margin: 5px 0 15px;
  color: #fff;
  font-family: var(--latin);
  font-size: 2.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
}

.coupon-present {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: #080808;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
}

.coupon-present:disabled {
  background: #444;
  color: #999;
  cursor: not-allowed;
}

.coupon-ticket-image {
  width: 112px;
  aspect-ratio: 1;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.coupon-ticket-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coupon-ticket-image-wide img {
  object-position: 50% 34%;
}

.coupon-day-benefits {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.coupon-day-benefits p {
  padding: 12px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.04);
  color: #d3cdc5;
  font-size: 0.79rem;
}

.coupon-day-benefits b {
  display: block;
  color: var(--accent);
}

.coupon-ticket.is-expired {
  filter: grayscale(1);
  opacity: 0.48;
}

.coupon-expired-heading {
  margin-top: 30px;
  padding: 30px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.coupon-expired-heading p {
  color: #7f7972;
  font-family: var(--latin);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.coupon-expired-heading h2 {
  margin-top: 5px;
  color: #aaa39a;
  font-size: 1.35rem;
  font-weight: 800;
}

.coupon-aftercare {
  padding: 64px 20px 72px;
  background: var(--paper);
  color: var(--ink);
}

.coupon-aftercare > p,
.coupon-aftercare > h2,
.coupon-aftercare > div {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.coupon-aftercare > p {
  color: var(--pink-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.coupon-aftercare h2 {
  margin-top: 8px;
  font-size: 1.65rem;
}

.coupon-aftercare > div {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.coupon-primary-link,
.coupon-secondary-link {
  display: grid;
  place-items: center;
  min-height: 56px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 900;
}

.coupon-primary-link {
  background: var(--pink);
  color: #fff;
}

.coupon-secondary-link {
  border: 1px solid #1c1c1c;
}

.coupon-footer {
  padding: 54px 20px 100px;
  text-align: center;
}

.coupon-footer > img {
  width: 220px;
  margin: 0 auto 18px;
}

.coupon-footer > p {
  color: #878078;
  font-size: 0.73rem;
}

.coupon-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 22px;
  color: #c8c2ba;
  font-size: 0.76rem;
}

.coupon-footer small {
  display: block;
  margin-top: 28px;
  color: #5f5a54;
  font-family: var(--latin);
  font-size: 0.59rem;
}

.coupon-dialog {
  width: calc(100% - 28px);
  max-width: 470px;
  max-height: calc(100dvh - 28px);
  margin: auto;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  background: #0c0c0d;
  color: #fff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.7);
}

.coupon-dialog::backdrop {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.coupon-dialog-inner {
  position: relative;
  min-height: 520px;
  padding: 55px 22px 28px;
  text-align: center;
}

.coupon-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

.coupon-dialog-label {
  color: var(--pink);
  font-family: var(--latin);
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.coupon-dialog h2 {
  margin-top: 18px;
  font-size: 1.38rem;
  font-weight: 900;
}

.coupon-dialog-benefit {
  margin-top: 8px;
  color: #c8c2ba;
  font-size: 0.84rem;
}

.coupon-dialog-code {
  margin-top: 30px;
  padding: 28px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(90deg, rgba(255, 45, 138, 0.04), rgba(255, 213, 74, 0.1), rgba(255, 45, 138, 0.04));
}

.coupon-dialog-code span {
  color: #aaa39a;
  font-family: var(--latin);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.coupon-dialog-code strong {
  display: block;
  margin-top: 8px;
  font-family: var(--latin);
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
}

.coupon-dialog-valid {
  margin-top: 14px;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 800;
}

.coupon-dialog-instruction {
  margin-top: 28px;
  font-size: 0.9rem;
  line-height: 1.9;
}

.coupon-dialog-warning {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  color: #958e86;
  font-size: 0.68rem;
}

@media (min-width: 680px) {
  .coupon-header {
    min-height: 88px;
    padding: 15px 34px;
  }

  .coupon-brand { width: 205px; }

  .coupon-intro {
    padding: 84px 32px 60px;
  }

  .coupon-intro h1 { font-size: 3.4rem; }

  .coupon-rule {
    padding: 46px 32px 52px;
  }

  .coupon-rule ol {
    grid-template-columns: repeat(3, 1fr);
  }

  .coupon-rule li {
    grid-template-columns: 38px 1fr;
    min-height: 112px;
  }

  .coupon-list {
    gap: 28px;
    padding: 76px 32px 100px;
  }

  .coupon-ticket {
    grid-template-columns: minmax(0, 1fr) 230px;
  }

  .coupon-ticket-main {
    padding: 34px 38px 38px;
  }

  .coupon-ticket-stub {
    border-top: 0;
    border-left: 1px dashed rgba(255, 255, 255, 0.32);
  }

  .coupon-ticket-stub::before,
  .coupon-ticket-stub::after {
    top: auto;
    left: -10px;
  }

  .coupon-ticket-stub::before { top: -10px; }
  .coupon-ticket-stub::after { right: auto; bottom: -10px; }

  .coupon-ticket-image {
    float: right;
    width: 150px;
    margin: 20px 0 12px 22px;
  }

  .coupon-aftercare {
    padding: 82px 32px 90px;
  }

  .coupon-aftercare > div {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

@media (min-width: 1024px) {
  .coupon-intro h1 { font-size: 4.2rem; }
  .coupon-rule-heading h2,
  .coupon-list-heading h2,
  .coupon-aftercare h2 { font-size: 2rem; }
  .coupon-ticket h3 { font-size: 1.85rem; }
  .coupon-ticket-benefit strong { font-size: 3.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
