:root {
  --yellow: #f6c400;
  --yellow-2: #ffd72d;
  --red: #b41f27;
  --red-dark: #92171d;
  --green: #008f4c;
  --ink: #261c19;
  --cream: #fff9e9;
  --line: #e7d5a1;
  --text-xs: .8rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-title: clamp(2rem, 4.5vw, 2.75rem);
  --font-gothic: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-gothic);
  font-size: var(--text-base);
  line-height: 1.7;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sp-only { display: none; }

.site-frame {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.content-wrap {
  width: min(800px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--yellow) url("assets/hero-background.webp") center / cover no-repeat;
}

.hero__inner {
  width: 100%;
  margin: 0 auto;
  padding: clamp(10px, 2vw, 28px) 14px;
}

.hero__art {
  width: min(1120px, 96vw);
  height: auto;
  margin: 0 auto;
	max-width: 800px;
}

.prize-summary {
  padding: clamp(44px, 7vw, 92px) 24px;
  background: #fff;
}

.prize-summary img {
  width: min(900px, 100%);
  margin: 0 auto;
}

.section-pad {
  position: relative;
  padding: clamp(74px, 9vw, 118px) 0;
}

.eyebrow,
.section-heading__en {
  display: block;
  margin: 0 0 10px;
  color: var(--red);
  font-size: var(--text-xs);
  font-weight: 900;
  letter-spacing: .22em;
}

.section-heading {
  margin-bottom: 38px;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: var(--red);
  font-family: var(--font-gothic);
  font-size: var(--text-title);
  line-height: 1.25;
}

.section-heading h2 span {
  padding: 0 3px;
  color: var(--green);
  font-size: 1.2em;
}

.section-heading p {
  margin: 12px 0 0;
  color: #65514c;
  line-height: 1.8;
}

.details-section { background: var(--cream); }

.detail-list {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.detail-list > div {
  display: grid;
  grid-template-columns: 132px 1fr;
}

.detail-list > div + div { border-top: 1px solid var(--line); }

.detail-list dt {
  display: grid;
  place-items: center;
  padding: 18px 16px;
  color: #fff;
  background: var(--red);
  font-weight: 900;
  text-align: center;
}

.detail-list dd {
  margin: 0;
  padding: 18px 22px;
  font-size: var(--text-base);
  line-height: 1.85;
}

.notes {
  margin-top: 24px;
  padding: 26px 28px;
  border-radius: 18px;
  background: #f1e8d2;
}

.notes h2 {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 1.05rem;
}

.notes ul {
  margin: 0;
  padding-left: 1.4em;
  font-size: var(--text-sm);
  line-height: 1.9;
}

.how-section { background: #fff; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  min-width: 0;
  padding: 24px 18px 22px;
  border: 2px solid #efddb0;
  border-radius: 20px;
  background: #fffaf0;
  text-align: center;
}

.step-card__number {
  position: absolute;
  top: 11px;
  left: 13px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 900;
}

.step-card__icon {
  width: 82px;
  height: 82px;
  margin: 4px auto 12px;
  display: grid;
  place-items: center;
  color: var(--green);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 143, 76, .09);
}

.step-card__icon svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card h3 {
  margin: 0 0 9px;
  color: var(--green);
  font-size: var(--text-lg);
}

.step-card p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.75;
}

.step-card strong { color: var(--red); }

.combine-note {
  margin: 22px 0 0;
  padding: 15px 18px;
  border: 2px dashed #efb000;
  border-radius: 13px;
  background: #fff8d2;
  font-size: .95rem;
  line-height: 1.7;
}

.combine-note span {
  display: inline-block;
  margin-right: 8px;
  color: var(--red);
  font-weight: 900;
}

.receipt-section {
  color: #fff;
  background: linear-gradient(145deg, #009553, #00723e);
}

.section-heading--dark .section-heading__en { color: var(--yellow-2); }
.section-heading--dark h2,
.section-heading--dark p { color: #fff; }

.receipt-guide {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 22px;
  background: rgba(255,255,255,.12);
}

.receipt-visual {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.receipt-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.receipt-check {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--green);
  border-radius: 50%;
  background: var(--yellow-2);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  font-size: 2.2rem;
  font-weight: 900;
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: var(--text-base);
  line-height: 1.65;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--green);
  border-radius: 50%;
  background: var(--yellow-2);
  font-weight: 900;
}

.ng-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.ng-card {
  margin: 0;
  overflow: hidden;
  border-radius: 13px;
  background: rgba(0,0,0,.14);
  text-align: center;
}

.ng-card__image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.ng-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ng-card__image span {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #d92828;
  box-shadow: 0 3px 8px rgba(0,0,0,.22);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.ng-card figcaption {
  min-height: 64px;
  padding: 10px 6px 12px;
  font-size: var(--text-sm);
  line-height: 1.55;
}

.contact-section {
  background: #fff;
  text-align: center;
}

.contact-section h2 {
  margin: 0 0 28px;
  font-size: 1.75rem;
}

.contact-name {
  margin: 0 0 12px;
  font-size: var(--text-base);
  font-weight: 800;
}

.tel-link {
  display: inline-block;
  color: var(--red);
  font-size: 1.9rem;
  font-weight: 900;
  text-decoration: none;
}

.contact-hours {
  margin: 12px 0 0;
  color: #66544d;
  font-size: var(--text-sm);
  line-height: 1.8;
}

.apply-section {
  color: #fff;
  background: linear-gradient(145deg, var(--red), #d62d34);
  text-align: center;
}

.apply-section__lead {
  margin: 0 0 5px;
  font-weight: 700;
}

.apply-section h2 {
  margin: 0 0 22px;
  font-size: 2.25rem;
}

.apply-button {
  width: min(420px, 100%);
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  color: var(--red);
  border: 4px solid #fff;
  border-radius: 99px;
  background: var(--yellow-2);
  box-shadow: 0 9px 0 rgba(71,0,0,.32);
  font-size: var(--text-lg);
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.apply-button:hover {
  transform: translateY(3px);
  box-shadow: 0 6px 0 rgba(71,0,0,.32);
}

.apply-section__note {
  margin: 18px 0 0;
  font-size: var(--text-xs);
  line-height: 1.7;
  opacity: .88;
}

.site-footer {
  padding: 24px 20px 94px;
  color: #7d6d65;
  background: #fff;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: var(--text-xs);
}

.floating-apply {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 18px;
  min-width: 270px;
  padding: 15px 30px;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 99px;
  background: var(--red);
  box-shadow: 0 10px 28px rgba(90,0,0,.3);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transform: translateX(-50%);
  transition: opacity .2s ease, transform .2s ease;
}

.floating-apply:hover { transform: translateX(-50%) translateY(-2px); }
.floating-apply.is-hidden { opacity: 0; pointer-events: none; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .content-wrap { width: min(100% - 38px, 800px); }
  .hero__inner { padding: 8px 6px; }
  .hero__art { width: 100%; }
  .prize-summary { padding: 40px 18px 50px; }
  .section-pad { padding: 68px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h1,
  .section-heading h2 { font-size: 2rem; }
  .detail-list > div { grid-template-columns: 1fr; }
  .detail-list dt { display: block; padding: 9px 14px; }
  .detail-list dd { padding: 15px 17px 18px; }
  .notes { padding: 21px 18px; }
  .steps { grid-template-columns: 1fr; }
  .step-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    grid-template-areas: "icon title" "icon text";
    align-items: center;
    padding: 18px 16px;
    text-align: left;
  }
  .step-card__number { top: 8px; left: 9px; }
  .step-card__icon {
    grid-area: icon;
    width: 72px;
    height: 72px;
    margin: 0;
  }
  .step-card__icon svg { width: 54px; height: 54px; }
  .step-card h3 { grid-area: title; margin: 0 0 4px; }
  .step-card p { grid-area: text; font-size: var(--text-sm); }
  .receipt-guide { grid-template-columns: 1fr; gap: 12px; padding: 21px; }
  .receipt-visual { min-height: 220px; }
  .ng-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-section h2 { font-size: 1.45rem; }
  .tel-link { font-size: 1.65rem; }
  .sp-only { display: initial; }
  .floating-apply {
    bottom: 12px;
    min-width: 238px;
    padding: 13px 22px;
    font-size: .9rem;
  }
}

@media (max-width: 420px) {
  .content-wrap { width: calc(100% - 30px); }
  .prize-summary { padding: 34px 12px 42px; }
  .section-heading h1,
  .section-heading h2 { font-size: 1.78rem; }
  .ng-card figcaption { font-size: var(--text-xs); }
  .apply-section h2 { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
