/* =========================================================
   アントレ LP
   色はカード実物から取得。装飾は「カードそのもの」で行い、
   抽象的な装飾（グラデーションの光・ぼかし・浮遊図形）は使わない。
   ========================================================= */

:root {
  --navy: #1d3f8f;
  --navy-deep: #142d6b;
  --paper: #f5f1e8;
  --paper-dark: #e9e3d4;
  --ink: #1c1c1c;
  --ink-sub: #555046;
  --line: #cfc7b4;
  --wine: #7a1f3d;

  /* カテゴリ色（カード実物） */
  --think: #4cc3e6;
  --create: #ef6431;
  --test: #7cc142;
  --share: #e94b95;
  --connect: #f8b931;
  --learn: #e63434;
  --star: #f2b43c;

  --f-display: "Dela Gothic One", "Zen Kaku Gothic New", sans-serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-label: "Arvo", Georgia, serif;

  --wrap: 1120px;
  --gutter: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* 日本語の文節で改行する（対応ブラウザのみ。非対応でも通常の改行になるだけ） */
  word-break: auto-phrase;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.pc {
  display: none;
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
  }
  .pc {
    display: inline;
  }
  .sp {
    display: none;
  }
}

/* ---------- 共通パーツ ---------- */

.section {
  padding: 88px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 128px 0;
  }
}

.section-no {
  font-family: var(--f-label);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin-bottom: 14px;
}

.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 6.4vw, 46px);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.h2 small {
  font-size: 0.5em;
  letter-spacing: 0.04em;
}

.section-lead {
  margin-top: 20px;
  max-width: 40em;
  color: var(--ink-sub);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 4px;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--buy {
  background: var(--connect);
  color: var(--ink);
}

.btn--buy:hover {
  background: #ffc94a;
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-deep);
}

.btn--outline {
  white-space: normal;
  text-align: center;
  padding: 10px 20px;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.text-link--light {
  color: #fff;
}

.price {
  font-family: var(--f-label);
  font-size: 40px;
  line-height: 1;
  color: #fff;
}

.price__unit {
  font-family: var(--f-body);
  font-weight: 900;
  font-size: 20px;
  margin-left: 2px;
}

.price__tax {
  font-family: var(--f-body);
  font-size: 14px;
  margin-left: 4px;
}

.price--dark {
  color: var(--ink);
}

/* ---------- カード（実物の紙のカードとして見せる） ----------
   影：接地影＋やわらかい落ち影の2層。
   ::before：下側のわずかな陰り。
   ::after ：光沢。--gx / --gy で光の位置が動く（PCでマウスを乗せたとき）。
   回転は --rot / --ty で指定し、傾き（--rx / --ry）と合成する。 */
.card {
  --rot: 0deg;
  --ty: 0px;
  --rx: 0deg;
  --ry: 0deg;
  --gx: 28%;
  --gy: 8%;
  --shade: 20, 24, 40;
  position: relative;
  display: block;
  /* 枠を画像と同じ比率に固定し、はみ出しを切り取る。
     画像・光沢・フチの3層が必ず同じ大きさになり、端にすき間ができない */
  aspect-ratio: 640 / 894;
  overflow: hidden;
  isolation: isolate;
  border-radius: 3.75% / 2.7%; /* 画像の角丸（640pxで半径24px）と一致させる */
  transform: translateY(var(--ty)) rotate(var(--rot));
  box-shadow:
    0 1px 1px rgba(var(--shade), 0.16),
    0 3px 6px rgba(var(--shade), 0.12),
    0 16px 30px -8px rgba(var(--shade), 0.34);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.card::before {
  /* 白いフチ線は入れない（表示倍率125%・150%などで右と下だけ太く出るため）。
     下側をわずかに暗くして、紙の厚みだけを出す */
  background: linear-gradient(170deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.08) 100%);
}

.card::after {
  background: radial-gradient(
    120% 90% at var(--gx) var(--gy),
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.08) 32%,
    rgba(255, 255, 255, 0) 55%
  );
  mix-blend-mode: screen;
  transition: opacity 0.35s ease;
}

/* 暗い背景の上では影を濃くする */
.hero .card,
.about .card,
.combo .card {
  --shade: 0, 6, 30;
}

.card.is-active {
  /* 傾けるときだけ3D変形を使う（常時3Dにすると端のにじみが出やすい） */
  transform: translateY(var(--ty)) rotate(var(--rot)) perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  box-shadow:
    0 2px 2px rgba(var(--shade), 0.14),
    0 8px 14px rgba(var(--shade), 0.14),
    0 30px 44px -12px rgba(var(--shade), 0.42);
  transition: transform 0.12s linear, box-shadow 0.35s ease;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
}

/* ---------- 箱（展開図から正面・背・上面を切り出し、CSSで組み立てる） ---------- */
.box {
  --bw: 150px;
  --bd: calc(var(--bw) * 0.219); /* 実寸比：幅529：奥行116 */
  position: relative;
  width: var(--bw);
  aspect-ratio: 529 / 726;
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(-13deg) rotateY(24deg);
}

.box__front,
.box__side,
.box__top {
  position: absolute;
  overflow: hidden;
}

.box__front {
  inset: 0;
}

.box__front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 正面：左上からの光と、下側のわずかな陰り */
.box__front::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.16) 100%);
}

/* 左側面（背）：ロゴ入り。光から外れるので少し暗くする */
.box__side {
  top: 0;
  right: 100%;
  width: var(--bd);
  height: 100%;
  transform-origin: right center;
  transform: rotateY(-90deg);
  background: #1b3c8c url("assets/img/box-spine.webp") center / 100% 100%;
}

.box__side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.2));
}

/* 上面：いちばん光が当たる面 */
.box__top {
  left: 0;
  bottom: 100%;
  width: 100%;
  height: var(--bd);
  transform-origin: center bottom;
  transform: rotateX(90deg);
  background: #24489f url("assets/img/box-top.webp") center / 100% 100%;
}

.box__top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
}

/* 箱の接地影 */
.box::before {
  content: "";
  position: absolute;
  left: -14%;
  right: 6%;
  bottom: -5%;
  height: 12%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  transform: translateZ(-40px) rotateY(-24deg);
  filter: blur(2px);
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 var(--gutter);
  background: var(--navy-deep);
  color: #fff;
}

.site-header__logo img {
  width: 104px;
}

.site-nav {
  display: none;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-header .btn {
  margin-left: auto;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }
  .site-header .btn {
    margin-left: 8px;
  }
}

/* ---------- ファーストビュー ---------- */

.hero {
  position: relative;
  color: #fff;
  background: var(--navy) url("assets/img/back-texture.webp") center / cover no-repeat;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 32px var(--gutter) 0;
  display: grid;
  gap: 8px;
}

.hero__logo {
  width: min(240px, 62vw);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 8.4vw, 60px);
  line-height: 1.3;
}

.hero__lead {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
}

.spec {
  display: flex;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.spec > div {
  flex: 1;
  padding: 8px 0;
  text-align: center;
}

.spec > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.spec dt {
  font-size: 11px;
  opacity: 0.8;
  line-height: 1.4;
}

.spec dd {
  font-weight: 900;
  font-size: 15px;
  line-height: 1.5;
}

.hero__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 22px;
}

.hero__buy .price {
  width: 100%;
}

.hero__buy .btn {
  flex: 1 1 100%;
}

.hero__visual {
  position: relative;
  height: 350px;
  margin-top: 8px;
}

.hero__hand {
  position: absolute;
  inset: 0 0 auto;
  height: 190px;
}

.hero__hand .card {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(23vw, 120px);
  transform-origin: 50% 120%;
  transform: translateX(var(--x)) translateY(var(--lift, 0px)) rotate(var(--r));
}

.hero__hand .card:hover {
  --lift: -14px;
}

.hero__visual > .box {
  --bw: min(40vw, 156px);
  position: absolute;
  left: 50%;
  bottom: 20px;
  margin-left: calc(var(--bw) / -2 + 12px);
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 72px;
    min-height: 640px;
  }
  .hero__lead {
    font-size: 17px;
  }
  .spec {
    max-width: 460px;
  }
  .spec dd {
    font-size: 17px;
  }
  .hero__buy .price {
    width: auto;
  }
  .hero__buy .btn {
    flex: 0 0 auto;
  }
  .hero__inner {
    column-gap: 48px;
  }
  .hero__visual {
    height: 600px;
    margin-top: 0;
  }
  .hero__hand {
    height: 330px;
  }
  .hero__visual {
    left: 20px;
  }
  .hero__hand .card {
    width: 124px;
  }
  .hero__visual > .box {
    --bw: 214px;
    bottom: 40px;
  }
}

/* ---------- 01 ABOUT ---------- */

.about {
  background: var(--navy);
  color: #fff;
}

.about .section-no {
  color: var(--connect);
}

.about__grid {
  display: grid;
  gap: 32px;
}

.about__text p + p {
  margin-top: 1em;
}

.about__cards {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.about__cards .card {
  width: 34%;
  max-width: 200px;
}

.about__cards .card:nth-child(1) {
  --rot: -6deg;
  --ty: 10px;
}
.about__cards .card:nth-child(2) {
  margin: 0 -6%;
  z-index: 1;
}
.about__cards .card:nth-child(3) {
  --rot: 5deg;
  --ty: 14px;
}

@media (min-width: 960px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "head cards"
      "text cards";
    column-gap: 64px;
  }
  .about__grid > div:first-child {
    grid-area: head;
  }
  .about__text {
    grid-area: text;
    font-size: 17px;
  }
  .about__cards {
    grid-area: cards;
    align-items: center;
  }
}

/* ---------- 02 CHARACTERS ---------- */

.characters {
  background: #fff;
}

.chara-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 16px;
  margin-top: 56px;
}

.chara {
  border-top: 8px solid var(--c);
  padding-top: 16px;
}

.chara img {
  height: 150px;
  width: auto;
  margin: 0 auto 12px;
  object-fit: contain;
}

.chara__role {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
}

.chara__role span {
  display: block;
  font-family: var(--f-label);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-sub);
}

.chara__copy {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.cycle {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-top: 56px;
  font-weight: 900;
  font-size: 15px;
}

.cycle span {
  display: inline-flex;
  align-items: center;
}

.cycle span::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 6px;
  background: var(--c);
}

.cycle span::after {
  content: "→";
  margin: 0 10px;
  font-weight: 400;
  color: var(--ink-sub);
}

.cycle .cycle__again::before,
.cycle .cycle__again::after {
  display: none;
}

@media (min-width: 768px) {
  .chara-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 40px;
  }
  .chara img {
    height: 200px;
  }
}

@media (min-width: 1100px) {
  .chara-list {
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
  }
  .chara img {
    height: 170px;
  }
  .cycle {
    font-size: 17px;
  }
}

/* ---------- 03 COMBO ---------- */

.combo {
  background: var(--navy);
  color: #fff;
}

.combo .section-no {
  color: var(--connect);
}

.combo .section-lead {
  color: rgba(255, 255, 255, 0.85);
}

.chain {
  display: flex;
  gap: 44px;
  margin-top: 56px;
  padding: 16px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

.chain li {
  position: relative;
  flex: 0 0 168px;
  scroll-snap-align: start;
  counter-increment: chain;
}

.chain li + li::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 118px;
  width: 24px;
  height: 24px;
  background: var(--connect);
  clip-path: polygon(0 30%, 55% 30%, 55% 0, 100% 50%, 55% 100%, 55% 70%, 0 70%);
}

.chain p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.chain p::before {
  content: counter(chain);
  display: block;
  font-family: var(--f-label);
  font-size: 12px;
  color: var(--connect);
}

.combo__note {
  font-family: var(--f-display);
  font-size: clamp(18px, 4.4vw, 26px);
  line-height: 1.5;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
  .chain li {
    flex-basis: 200px;
  }
  .chain li + li::before {
    top: 136px;
  }
}

/* ---------- 04 STRATEGY ---------- */

.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 48px;
}

.versus__side .card {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
}

.versus__side:first-child .card {
  --rot: -3deg;
}
.versus__side:last-child .card {
  --rot: 3deg;
}

.versus figcaption {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.7;
}

.versus figcaption strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 4px;
}

.versus__vs {
  align-self: center;
  font-family: var(--f-label);
  font-size: 22px;
  color: var(--ink-sub);
}

.dilemma {
  margin-top: 64px;
  border-top: 2px solid var(--navy);
}

.dilemma > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.dilemma dt {
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1.5;
}

.dilemma dd {
  margin-top: 6px;
}

@media (min-width: 768px) {
  .versus {
    gap: 40px;
    max-width: 820px;
  }
  .versus figcaption {
    font-size: 16px;
  }
  .versus figcaption strong {
    font-size: 22px;
  }
  .dilemma > div {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: baseline;
  }
  .dilemma dd {
    margin-top: 0;
  }
}

/* ---------- 05 HOW TO PLAY ---------- */

.howto {
  background: var(--connect);
}

.howto .section-no {
  color: var(--ink);
}

.howto .section-lead {
  color: var(--ink);
}

.steps {
  margin-top: 48px;
  border-top: 2px solid var(--navy);
}

.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 16px;
  padding: 20px 0;
  border-bottom: 2px solid var(--navy);
}

.steps__no {
  grid-row: span 2;
  font-family: var(--f-label);
  font-size: 56px;
  line-height: 1;
}

.steps h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
}

.steps p {
  margin-top: 4px;
}

@media (min-width: 900px) {
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 2px solid var(--navy);
  }
  .steps li {
    display: block;
    padding: 28px 32px 32px;
    border-bottom: 0;
  }
  .steps li + li {
    border-left: 2px solid var(--navy);
  }
  .steps li:first-child {
    padding-left: 0;
  }
  .steps__no {
    display: block;
    font-size: 72px;
    margin-bottom: 12px;
  }
}

.finale {
  margin-top: 80px;
  text-align: center;
}

.finale__pre {
  font-weight: 700;
}

.finale__call {
  font-family: var(--f-display);
  font-size: clamp(44px, 12vw, 104px);
  line-height: 1.15;
  margin: 8px 0 20px;
}

.photo-slot {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  max-width: 880px;
  margin: 56px auto 0;
  border: 2px dashed var(--ink);
  font-size: 14px;
  text-align: center;
  padding: 16px;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 56px;
}

/* ---------- 06 EVENT ---------- */

.event__grid {
  display: grid;
  gap: 48px;
}

.event__grid .h2 {
  margin-bottom: 24px;
}

.event__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 600px) and (max-width: 959px) {
  .event__cards {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
  }
}

.event__cards .card:nth-child(odd) {
  --rot: -3deg;
}
.event__cards .card:nth-child(even) {
  --rot: 2.5deg;
  --ty: 12px;
}

@media (min-width: 960px) {
  .event__grid {
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 64px;
  }
  .event__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 440px;
    margin-left: auto;
  }
}

/* ---------- 07 GROWTH ---------- */

.growth {
  padding-top: 0;
}

.growth__table {
  margin-top: 40px;
  border-top: 2px solid var(--navy);
}

.growth__table > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.growth__table dt {
  font-weight: 900;
  font-size: 15px;
  color: var(--navy);
}

.growth__statement {
  margin-top: 40px;
  font-family: var(--f-display);
  font-size: clamp(18px, 4.4vw, 26px);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .growth__table > div {
    display: grid;
    grid-template-columns: 200px 1fr;
  }
}

/* ---------- 08 SCHOOLS ---------- */

.schools {
  padding-top: 0;
}

.schools__box {
  display: grid;
  gap: 24px;
}

.schools__box > div:last-child {
  border: 2px solid var(--navy);
  padding: 28px 22px;
  background: #fff;
}

.schools__list {
  margin: 20px 0 28px;
}

.schools__list li {
  padding: 8px 0 8px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.schools__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 10px;
  height: 2px;
  background: var(--navy);
}

@media (min-width: 960px) {
  .schools__box {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
  }
  .schools__box > div:last-child {
    padding: 40px;
  }
}

/* ---------- 09 MESSAGE ---------- */

.message {
  background: var(--paper-dark);
}

.message__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(30px, 7.4vw, 60px);
  line-height: 1.35;
}

.message__body {
  max-width: 36em;
  margin-top: 40px;
  font-size: 17px;
}

.message__body p + p {
  margin-top: 1.4em;
}

.message__end {
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--navy);
}

/* ---------- 10 PRODUCT ---------- */

.product__grid {
  display: grid;
  gap: 48px;
}

.product__visual {
  position: relative;
  height: 360px;
}

.product__visual .card {
  position: absolute;
  width: 36%;
  max-width: 190px;
}

.product__visual .card:nth-child(1) {
  left: 40%;
  top: 2%;
  --rot: -7deg;
}
.product__visual .card:nth-child(2) {
  left: 52%;
  top: 6%;
  --rot: 3deg;
}
.product__visual .card:nth-child(3) {
  left: 63%;
  top: 14%;
  --rot: 12deg;
}

.product__visual .box {
  --bw: min(46vw, 240px);
  position: absolute;
  left: 12%;
  bottom: 6%;
  z-index: 3;
}

/* 箱の裏面：平置きの印刷物として、カードと同じ影を落とす */
.product__back {
  display: grid;
  grid-template-columns: minmax(0, 46%) 1fr;
  gap: 20px;
  align-items: end;
  margin-top: 32px;
}

.product__back img {
  transform: rotate(-2deg);
  box-shadow:
    0 1px 1px rgba(20, 24, 40, 0.16),
    0 3px 6px rgba(20, 24, 40, 0.12),
    0 16px 30px -8px rgba(20, 24, 40, 0.34);
}

.product__back figcaption {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-sub);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--navy);
}

.product__back strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
}

.info {
  margin: 28px 0 36px;
  border-top: 2px solid var(--navy);
}

.info > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
}

.info dt {
  font-weight: 700;
  color: var(--ink-sub);
}

.info dd small {
  display: block;
  font-size: 12px;
  color: var(--ink-sub);
}

@media (min-width: 960px) {
  .product__grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  .product__back {
    grid-template-columns: 200px 1fr;
    margin-top: 40px;
  }
  .product__visual {
    height: 520px;
  }
  .info > div {
    grid-template-columns: 120px 1fr;
  }
}

/* ---------- 11 FAQ ---------- */

.faq {
  background: #fff;
}

.faq__grid {
  display: grid;
  gap: 32px;
}

.faq__list {
  border-top: 2px solid var(--navy);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

/* 開閉の印：＋ と − */
.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--navy);
}

.faq__item summary::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: rotate(0deg);
}

.faq__item p {
  padding: 0 0 22px;
  color: var(--ink-sub);
}

.faq__item a {
  color: var(--navy);
  text-underline-offset: 4px;
}

@media (min-width: 960px) {
  .faq__grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
  }
  .faq__item summary {
    font-size: 17px;
  }
}

/* ---------- 12 SERIES ---------- */

.series {
  display: grid;
  color: #fff;
}

.series__half {
  padding: 72px var(--gutter);
}

.series__half--entre {
  background: var(--navy);
}

.series__half--entre .section-no {
  color: var(--connect);
}

.series__half--entre p:not(.section-no) {
  margin-top: 20px;
}

.series__half--shacho {
  background: var(--wine);
}

.series__half--shacho p + p {
  margin: 12px 0 24px;
}

.series__label {
  font-size: 13px;
  letter-spacing: 0.06em;
}

.series__label b {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.02em;
}

@media (min-width: 960px) {
  .series {
    grid-template-columns: 7fr 5fr;
  }
  .series__half {
    padding: 112px max(40px, calc((100vw - var(--wrap)) / 2 + 40px));
  }
  .series__half--entre {
    padding-right: 64px;
  }
  .series__half--shacho {
    padding-left: 64px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
}

/* ---------- 最後の呼びかけ ---------- */

.closing {
  padding: 96px 0;
  text-align: center;
  color: #fff;
  background: var(--navy-deep) url("assets/img/back-texture.webp") center / cover no-repeat;
}

.closing__q {
  font-weight: 700;
  font-size: 17px;
}

.closing__call {
  font-family: var(--f-display);
  font-size: clamp(40px, 10vw, 84px);
  line-height: 1.2;
  margin: 12px 0 40px;
}

/* ---------- フッター ---------- */

.site-footer {
  display: grid;
  gap: 20px;
  padding: 40px var(--gutter);
  background: var(--navy-deep);
  color: #fff;
  font-size: 13px;
}

.site-footer img {
  width: 92px;
  margin-bottom: 8px;
}

.site-footer a {
  color: #fff;
  text-underline-offset: 4px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer__copy {
  font-size: 12px;
  opacity: 0.75;
}

@media (min-width: 768px) {
  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .site-footer__copy {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
