:root {
  --primary: #0052a5;
  --primary-light: #3ec6ff;
  --accent: #fff002;
  --text: #222;
  --soft-bg: #f7fbff;
}

/* =========================
   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
========================= */

.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  border-bottom: 6px solid var(--accent);
}

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

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

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

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

/* =========================
   HERO：エントリー期間
========================= */

.campaign-period {
  font-size: 1.6rem;   /* ←文字サイズUP */
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px; /* ←PNGとの余白 */
  line-height: 1.4;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, #fff45c, var(--accent));
  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;
}

.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 2枚レイアウト
   PC：横並び / SP：縦並び
========================= */

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

/* 画像共通 */
.step .prize-wide-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* 1枚目（メイン） */
.step .prize-wide-image img:first-child {
  max-width: 360px;
}

/* 2枚目（少し小さく） */
.step .prize-wide-image img:last-child {
  max-width: 260px;
  opacity: 0.95;
}
/* ★PC：下揃えにする */
.step .prize-wide-image {
  align-items: flex-end;
}

/* =========================
   SP：縦並び
========================= */

@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;
}

/* =========================
   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%, #fff45c 60%);
  font-weight: 600;
}

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

/* =========================
   FAQ（FIXED STABLE VERSION）
========================= */

.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内の外部リンク */
.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
========================= */

/* FAQ専用：PC/SP両方で改行 */
br.faq-break {
  display: block;
}

/* その他用：PCでは改行しない */
br.sp-only {
  display: none;
}

/* その他用：SPだけ改行 */
@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
========================= */

.footer {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  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.12);
  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: 240px;
  }

  .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: 520px;
  }

  .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;
  }
}
