/* Base */
:root{
  --w: 600px;
  --text: #1d1d23;
  --brown: #4f0706;
  --yellow-1: #ffeeb5;
  --yellow-2: #ffbd2c;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: #4f0706;
}
img{ max-width: 100%; height: auto; display:block; }
a{ color: inherit; }

/* Scroll fade-in */
.js-fade{
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
  transition-delay: var(--fade-delay, 0ms);
  will-change: opacity, transform;
}
.js-fade.is-inview{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .js-fade{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.page{
  width: min(100%, var(--w));
  margin-inline: auto;
  background: #fff;
}

/* Hero */
.hero{
  background: #f2d676;
  display: flex;
  flex-direction: column;
}
.hero__title{
  width: 100%;
}
.hero__navBar{
  background: #f2d676;
  padding: clamp(10px, 3vw, 16px) clamp(10px, 3vw, 16px) clamp(8px, 2.6vw, 14px);
  display: flex;
  justify-content: center;
}
.hero__nav{
  width: 100%;
  max-width: 560px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 2.4vw, 12px);
}
.navbtn{
  display:block;
  text-decoration: none;
}
.navbtn img{ width: 100%; height: auto; }

/* Sections */
.section{
  padding-block: 32px;
  padding-inline: clamp(14px, 4vw, 24px);
}
.section__inner{ display:flex; flex-direction: column; gap: clamp(16px, 2.5vw, 16px); }
.section__title{ width: min(360px, 85%); margin: 0 auto; }

.section--nav{
  background: linear-gradient(180deg,var(--yellow-1),var(--yellow-2));
}
.section--nav .section__title{
  width: 100%;
}
.section--charge{
  background: linear-gradient(180deg,#fff3cb,#ffe08a);
}
.section--detail{
  background: #4f0706;
  color: #fff3cb;
}

.lead{
  margin: 0;
  text-align: center;
  line-height: 1.45;
  font-weight: 800;
}
.lead--red{ color: #db0101; font-size: clamp(18px, 4.2vw, 24px); }
.lead--white{
  color: #fff;
  font-size: clamp(14px, 3.4vw, 16px);
  font-weight: 700;
  /* テキスト自体の縁取り（外側ボーダー） */
  text-shadow:
    1px 0 #4f0706,
    -1px 0 #4f0706,
    0 1px #4f0706,
    0 -1px #4f0706,
    1px 1px #4f0706,
    -1px -1px #4f0706,
    1px -1px #4f0706,
    -1px 1px #4f0706;
}
.lead__highlight{ color: #feffab; }
.note{
  margin: 0;
  text-align:center;
  font-size: clamp(12px, 3.2vw, 14px);
  line-height: 1.6;
  color: var(--brown);
}
.note--dark{ color: var(--brown); text-align:left; }

.section__subnote{
  margin: -6px 0 0;
  text-align: center;
  font-size: clamp(12px, 3.2vw, 14px);
  color: var(--brown);
  font-weight: 700;
}

.figure{ margin: 0; }
.figure__img{
  width: 100%;
  border-radius: 10px;
}

.body{
  margin: 0;
  font-size: clamp(14px, 3.4vw, 16px);
  line-height: 1.6;
  color: var(--brown);
}
.body--dark{ color: var(--brown); }

.callout{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 12px;
  border: 3px solid #db0101;
  background: #fff;
  color: #db0101;
  font-weight: 900;
}
.callout__icon{
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}
.callout__text{
  margin: 0;
  line-height: 1.35;
  font-size: clamp(13px, 3.4vw, 16px);
}

.link{
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}
.link--light{ color: #fff3cb; }

/* Comic sections */
.section--comic{
  color: var(--brown);
}
.section--comic1{ background: linear-gradient(180deg,#fce18b,#e3bc3a); }
.section--comic2{ background: linear-gradient(180deg,#ffcadb,#ff6998); }
.section--comic3{ background: linear-gradient(180deg,#accaff,#588fee); }

.comicgrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 3vw, 18px) clamp(8px, 2.4vw, 12px);
  margin-top: 6px;
}
.comic{
  display:block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(0,0,0,.08);
}
.comic img{ width:100%; aspect-ratio: 111 / 160; object-fit: cover; }

.ctaRow{ margin-top: 8px; display:flex; justify-content:center; }
.cta{
  display:block;
  width: 100%;
  max-width: min(520px, 100%);
  text-decoration: none;
}
.cta img{ width: 100%; height: auto; }


/* Detail */
.dl{ margin: 0; display:flex; flex-direction: column; gap: 14px; }
.dl__row{ display:flex; flex-direction: column; gap: 6px; }
.dl__dt{ font-weight: 900; color: #fff3cb; }
.dl__dt--underline{ text-decoration: underline; text-underline-offset: 3px; }
.dl__dd{ margin: 0; font-size: 14px; line-height: 1.7; color: #fff3cb; }

