
:root {
  /* =========================
     WINTER COLOR
  ========================= */

  --primary: #3975A5;
  --primary-light: #6F9BB9;
  --accent: #E8C995;
  --text: #292929;
  --soft-bg: #FFF7EA;
}

/* =========================
   RESET
========================= */

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

* {
  box-sizing: border-box;
}

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

/* =========================
   HERO
   WINTER APRICOT GRADATION
========================= */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background: linear-gradient(
    180deg,
    #F4D5B8 0%,
    #EDBF99 55%,
    #DB986B 100%
  );

  color: var(--text);
  text-align: center;
  padding: 100px 20px;
  border-bottom: 6px solid var(--accent);
}

/* =========================
   SNOWFLAKE DECORATION
========================= */

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cdefs%3E%3Cg id='f' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 0L0 -42 M0 -27L-8 -35 M0 -27L8 -35'/%3E%3Cpath d='M0 0L0 -42 M0 -27L-8 -35 M0 -27L8 -35' transform='rotate(60)'/%3E%3Cpath d='M0 0L0 -42 M0 -27L-8 -35 M0 -27L8 -35' transform='rotate(120)'/%3E%3Cpath d='M0 0L0 -42 M0 -27L-8 -35 M0 -27L8 -35' transform='rotate(180)'/%3E%3Cpath d='M0 0L0 -42 M0 -27L-8 -35 M0 -27L8 -35' transform='rotate(240)'/%3E%3Cpath d='M0 0L0 -42 M0 -27L-8 -35 M0 -27L8 -35' transform='rotate(300)'/%3E%3Ccircle r='3'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23f' transform='translate(35 35) scale(.48)'/%3E%3Cuse href='%23f' transform='translate(130 65) scale(.65)'/%3E%3Cuse href='%23f' transform='translate(75 145) scale(.32)'/%3E%3Cuse href='%23f' transform='translate(165 155) scale(.4)'/%3E%3C/svg%3E");

  background-size: 180px 180px;
  background-repeat: repeat;
  background-position: 0 0;
  opacity: 0.55;

  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 45%,
    transparent 85%
  );

  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 45%,
    transparent 85%
  );
}

/* HERO CONTENT */

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 0px;
}

.hero h1 img {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: translateX(-4px);
}

.hero-subtext {
  margin-top: -10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.hero-subtext img {
  width: 520px;
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-subtext img:first-child {
  transform: translateX(-4px);
}

/* =========================
   CAMPAIGN PERIOD
========================= */

.campaign-period {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.4;
}

/* =========================
   BUTTON
========================= */

.cta-wrap {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: #f9f0a0;
  color: #000;
  font-weight: bold;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

.btn:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}

.hero .btn {
  margin-top: 24px;
}

/* =========================
   SECTION
========================= */

.section {
  padding: 72px max(24px, 5vw);
  max-width: 960px;
  margin: 0 auto;
}

.section.gray {
  background: var(--soft-bg);
}

/* =========================
   HEADINGS
========================= */

h2 {
  text-align: center;
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
}

/* =========================
   STEPS
========================= */

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  align-items: flex-start;
  transition: transform .2s ease;
}

.step:hover {
  transform: translateX(4px);
}

.step-num {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.step-body {
  flex: 1;
}

.step-title {
  font-weight: 700;
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.step-desc {
  margin: 0;
}

/* 注釈のインデント */
.step-desc .indent-note {
  display: inline-block;
  margin-left: 1em;
}

.step-desc .indent-text {
  display: inline-block;
  margin-left: 1em;
}

.gift-icon {
  background: none !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  font-size: 1.8rem;
}

/* =========================
   IMAGE
========================= */

.prize-wide-image {
  margin-top: 12px;
}

.prize-wide-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* =========================
   STEP PNG LAYOUT
========================= */

.step .prize-wide-image {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: center;
  margin-top: 12px;
}

.step .prize-wide-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.step .prize-wide-image img:first-child {
  max-width: 360px;
}

.step .prize-wide-image img:last-child {
  max-width: 260px;
  opacity: 0.95;
}

/* =========================
   MOBILE IMAGE LAYOUT
========================= */

@media (max-width: 768px) {
  .step .prize-wide-image {
    flex-direction: column;
    align-items: center;
  }

  .step .prize-wide-image img:first-child,
  .step .prize-wide-image img:last-child {
    max-width: 100%;
  }

  .step .prize-wide-image img:last-child {
    max-width: 85%;
  }
}

/* =========================
   STEP NOTE
========================= */

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

/* =========================
   STEP PDF LINK
========================= */

.step-body .inline-text-external-link {
  color: #3975A5 !important;
  text-decoration: underline !important;
  cursor: pointer;
}

.step-body .inline-text-external-link:hover {
  opacity: 0.8;
}

/* =========================
   PDF
========================= */

.pdf-wrap {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.pdf-item {
  flex: 1;
  max-width: 280px;
}

.pdf-thumb {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,.08);
  background: #fff;
}

.pdf-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* =========================
   HIGHLIGHT
========================= */

.highlight-yellow {
  background: linear-gradient(transparent 60%, #F2D69B 60%);
  font-weight: 600;
}

.text-alert {
  color: #d60000;
  font-weight: bold;
}

/* =========================
   FAQ
========================= */

.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 3px 14px rgba(0,0,0,.05);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--primary);
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform .25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(90deg);
}

.faq-q-label,
.faq-a-label {
  width: 2em;
  min-width: 2em;
  flex-shrink: 0;
  font-weight: 700;
}

.faq-question,
.faq-answer-text {
  flex: 1;
  line-height: 1.8;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer-row {
  display: flex;
  align-items: flex-start;
}

.faq-a-label {
  color: var(--primary);
}

.faq-answer p {
  margin: 0;
}

.faq-answer img,
.faq-answer iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.faq-answer a.inline-text-external-link {
  color: var(--primary);
  text-decoration: underline;
}

.faq-answer a.inline-text-external-link:hover {
  opacity: 0.8;
}

/* =========================
   SP / PC BREAK CONTROL
========================= */

br.faq-break {
  display: block;
}

br.sp-only {
  display: none;
}

@media (max-width: 768px) {
  br.sp-only {
    display: block;
  }
}

/* =========================
   TERMS
========================= */

.campaign-terms {
  text-align: center;
  margin-top: 40px;
}

.campaign-terms a {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: underline;
  display: inline-block;
}

/* =========================
   FOOTER
   SOFT BLUE GRADATION
========================= */

.footer {
  background: linear-gradient(
    180deg,
    #E8B98F 0%,
    #DFA77D 100%
  );
  color: #fff;
  text-align: center;
  padding: 72px 20px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.footer-contact {
  font-size: 1rem;
  line-height: 1.8;
  background: rgba(255,255,255,0.16);
  padding: 16px 20px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  word-break: keep-all;
}

.footer-contact a {
  display: inline-block;
  margin-top: 6px;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 80px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .hero {
    padding: 72px 16px;
  }

  .hero h1 img {
    width: 370px;
  }

  .hero-subtext img {
    width: 280px;
  }

  h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
  }

  .section {
    padding: 48px 20px;
  }

  .pdf-item {
    max-width: 100%;
  }

  .pdf-thumb img {
    height: 150px;
  }

  .campaign-terms a {
    font-size: 1.4rem;
  }
}

/* =========================
   PC
========================= */

@media (min-width: 769px) {

  .hero {
    padding: 120px 20px;
  }

  .hero h1 img {
    width: 750px;
  }

  .hero-subtext img {
    width: 520px;
  }

  h2 {
    font-size: 2.2rem;
  }

  .section {
    padding: 90px max(32px, 6vw);
  }

  .step-title {
    font-size: 1.2rem;
  }

  .step {
    padding: 20px 22px;
  }

  .pdf-item {
    max-width: 320px;
  }

  .pdf-thumb img {
    height: 200px;
  }

  .campaign-terms a {
    font-size: 2.2rem;
  }

  .footer {
    padding: 90px 20px;
  }
}
