/* =========================================================
   SHACHOSHIP LP
   アントレLPと同じ骨組み・同じルールで作る（アントレ README「AIっぽさを避けるルール」）。
   色はカード実物から取得。装飾は「カードそのもの」で行い、
   抽象的な装飾（グラデーションの光・ぼかし・浮遊図形）は使わない。
   ========================================================= */

:root {
  /* カード裏面・箱のワインレッド */
  --wine: #a62a3d;
  --wine-deep: #7c1c2c;
  --wine-ink: #8f2236;
  --paper: #f2f2f1; /* カードの地の色 */
  --ink: #1c1c1c;
  --ink-sub: #57504f;
  --line: #d8d2d0;
  --navy: #1d3f8f; /* アントレ（シリーズ欄のみ） */

  /* イベントカードのカテゴリ色（カード実物） */
  --team: #f9c119;
  --product: #eb5f24;
  --customer: #e7408c;
  --money: #e62627;
  --work: #66c7e8;
  --growth: #7dbe2d;
  --star: #f9c119;

  --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;
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: #fff;
  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(--wine);
  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: 46em;
  color: var(--ink-sub);
}

.stars {
  color: var(--star);
  letter-spacing: 0.04em;
}

.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(--team);
  color: var(--ink);
}

.btn--buy:hover {
  background: #ffcf3d;
}

.btn--wine {
  background: var(--wine);
  color: #fff;
}

.btn--wine:hover {
  background: var(--wine-deep);
}

.btn--outline {
  white-space: normal;
  text-align: center;
  padding: 10px 20px;
  border: 2px solid var(--wine);
  color: var(--wine);
  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でマウスを乗せたとき）。 */
.card {
  --rot: 0deg;
  --ty: 0px;
  --rx: 0deg;
  --ry: 0deg;
  --gx: 28%;
  --gy: 8%;
  --shade: 40, 16, 22;
  position: relative;
  display: block;
  aspect-ratio: 640 / 894;
  overflow: hidden;
  isolation: isolate;
  border-radius: 3.6% / 2.58%; /* 画像の角丸（1000pxで半径36px）と一致させる */
  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 {
  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,
.decision .card {
  --shade: 30, 0, 8;
}

.card.is-active {
  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;
  }
}

/* ---------- 箱（PDFの展開図から正面・背・上面を切り出し、CSSで組み立てる） ----------
   ブリッジサイズ用キャラメル箱：60×90×17mm */
.box {
  --bw: 150px;
  --bd: calc(var(--bw) * 0.283); /* 実寸比：幅60：奥行17 */
  position: relative;
  width: var(--bw);
  aspect-ratio: 60 / 90;
  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.18) 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: var(--wine) 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: var(--wine) 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(--wine-deep);
  color: #fff;
}

.site-header__logo img {
  width: 76px;
}

.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(--wine) url("assets/img/back-texture.webp") center / cover no-repeat;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px var(--gutter) 0;
  display: grid;
  gap: 8px;
}

.hero__logo {
  width: min(200px, 52vw);
  margin-bottom: 18px;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(25px, 7vw, 46px);
  line-height: 1.35;
}

.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: 360px;
  margin-top: 8px;
}

.hero__hand {
  position: absolute;
  inset: 0 0 auto;
  height: 210px;
}

.hero__hand .card {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(30vw, 140px);
  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.1fr 1fr;
    align-items: center;
    column-gap: 48px;
    padding-top: 56px;
    padding-bottom: 72px;
    min-height: 640px;
  }
  .hero__logo {
    width: 240px;
  }
  .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__visual {
    left: 20px;
    height: 600px;
    margin-top: 0;
  }
  .hero__hand {
    height: 340px;
  }
  .hero__hand .card {
    width: 172px;
  }
  .hero__visual > .box {
    --bw: 210px;
    bottom: 40px;
  }
}

/* ---------- 01 SHACHOSHIP ---------- */

.about {
  background: var(--wine-deep);
  color: #fff;
}

.about .section-no {
  color: var(--team);
}

.about__text {
  margin-top: 28px;
}

.about__text p + p {
  margin-top: 1em;
}

.about__grid {
  display: grid;
  gap: 48px;
}

/* 社長シップの4つ：罫線の表 */
.ship {
  border-top: 2px solid #fff;
}

.ship > div {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.ship dt {
  font-family: var(--f-display);
  font-size: 22px;
  line-height: 1.4;
}

.ship dd:not(.ship__card) {
  grid-column: 1;
  margin-top: 4px;
  line-height: 1.7;
}

.ship__card {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-family: var(--f-label);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--team);
  white-space: nowrap;
}

@media (min-width: 960px) {
  .about__grid {
    grid-template-columns: 5fr 6fr;
    column-gap: 80px;
    align-items: start;
  }
  .about__text {
    font-size: 17px;
  }
  .ship > div {
    grid-template-columns: 200px 1fr auto;
    align-items: baseline;
    padding: 24px 0;
  }
  .ship dd:not(.ship__card) {
    grid-column: 2;
    margin-top: 0;
  }
  .ship__card {
    grid-column: 3;
    grid-row: 1;
  }
}

/* ---------- 02 EVENTS ---------- */

.event-groups {
  display: grid;
  gap: 44px;
  margin-top: 56px;
}

.event-group {
  border-top: 8px solid var(--c);
  padding-top: 14px;
}

.event-group h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
}

.event-group h3 span {
  margin-left: 10px;
  font-family: var(--f-label);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-sub);
}

.event-group__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.event-group__cards .card:nth-child(1) {
  --rot: -2deg;
}
.event-group__cards .card:nth-child(3) {
  --rot: 2deg;
}

.event-group p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-sub);
}

.events__note {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.events__note a {
  color: var(--navy);
  text-underline-offset: 4px;
}

@media (min-width: 640px) {
  .event-groups {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 32px;
  }
}

@media (min-width: 1000px) {
  .event-groups {
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 40px;
  }
}

/* ---------- 横に並ぶカード（スマホは横スクロール） ---------- */

.rail {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  padding: 16px var(--edge) 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
}

.rail li {
  flex: 0 0 150px;
  scroll-snap-align: start;
}

.rail p {
  margin-top: 14px;
  font-weight: 900;
  font-size: 15px;
}

.rail p b {
  margin-right: 8px;
  font-family: var(--f-label);
  font-size: 13px;
  color: var(--wine);
}

@media (min-width: 768px) {
  .rail li {
    flex-basis: 180px;
  }
}

/* PCでは折り返さずに収める */
@media (min-width: 1000px) {
  .rail {
    max-width: var(--wrap);
    margin-left: auto;
    margin-right: auto;
    padding: 16px var(--gutter) 28px;
    overflow: visible;
    gap: 24px;
  }
  .rail li {
    flex: 1 1 0;
  }
  .rail--8 {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
  }
}

/* ---------- 03 RESOURCES ---------- */

.resources {
  background: var(--paper);
}

.resources__note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: clamp(17px, 4vw, 22px);
  line-height: 1.6;
}

/* ---------- 04 DECISION ---------- */

.decision {
  background: var(--wine);
  color: #fff;
}

.decision .section-no {
  color: var(--team);
}

.decision__board {
  display: grid;
  gap: 40px;
  margin-top: 48px;
}

.decision__event {
  max-width: 260px;
}

.decision__event .card {
  --rot: -2deg;
}

.decision__event figcaption {
  margin-top: 18px;
  font-family: var(--f-label);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.routes {
  border-top: 2px solid #fff;
}

.routes li {
  display: grid;
  grid-template-columns: 76px 1fr;
  grid-template-areas:
    "cards text"
    "cards score";
  column-gap: 16px;
  row-gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.routes__cards {
  grid-area: cards;
  position: relative;
  align-self: start;
}

.routes__cards .card {
  width: 60px;
}

/* 2枚のときは少しずらして重ねる */
.routes__cards .card + .card {
  position: absolute;
  left: 16px;
  top: 14px;
  --rot: 6deg;
}

.routes__text {
  grid-area: text;
  line-height: 1.7;
}

.routes__if {
  font-family: var(--f-display);
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.routes__score {
  grid-area: score;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.5;
}

.routes__score br {
  display: none;
}

.routes__score .stars {
  margin-right: 8px;
}

.decision__note {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-family: var(--f-display);
  font-size: clamp(18px, 4.4vw, 26px);
  line-height: 1.6;
}

@media (min-width: 960px) {
  .decision__board {
    grid-template-columns: 300px 1fr;
    column-gap: 72px;
    align-items: start;
  }
  .decision__event {
    max-width: none;
    position: sticky;
    top: 100px;
  }
  .routes li {
    grid-template-columns: 96px 1fr 150px;
    grid-template-areas: "cards text score";
    align-items: center;
    padding: 24px 0;
  }
  .routes__cards {
    align-self: center;
    min-height: 120px;
  }
  .routes__cards .card {
    width: 76px;
  }
  .routes__cards .card + .card {
    left: 20px;
    top: 18px;
  }
  .routes__score {
    text-align: right;
  }
  .routes__score br {
    display: inline;
  }
  .routes__score .stars {
    margin-right: 6px;
  }
}

/* ---------- 05 ASSIST ---------- */

.chance {
  display: grid;
  grid-template-columns: minmax(0, 40%) 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 2px solid var(--wine);
}

.chance__card .card {
  max-width: 240px;
  --rot: -3deg;
}

.chance__lead {
  font-family: var(--f-display);
  font-size: clamp(19px, 4.6vw, 32px);
  line-height: 1.5;
  margin-bottom: 14px;
}

.chance__text p:not(.chance__lead) {
  font-size: 14px;
  color: var(--ink-sub);
}

.tiebreak {
  margin-top: 48px;
  padding: 22px 20px;
  border: 2px solid var(--wine);
  font-family: var(--f-display);
  font-size: clamp(17px, 4vw, 22px);
  line-height: 1.6;
}

.tiebreak span {
  display: block;
  font-family: var(--f-body);
  font-weight: 900;
  font-size: 13px;
  color: var(--wine);
}

@media (min-width: 768px) {
  .chance {
    grid-template-columns: 260px 1fr;
    gap: 56px;
  }
  .chance__text p:not(.chance__lead) {
    font-size: 16px;
  }
  .tiebreak {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 24px;
    padding: 24px 32px;
  }
  .tiebreak span {
    font-size: 14px;
  }
  .tiebreak small {
    flex-basis: 100%;
  }
}

/* ---------- 06 HOW TO PLAY ---------- */

.howto {
  background: var(--team);
}

.howto .section-no,
.howto .section-lead {
  color: var(--ink);
}

.steps {
  margin-top: 48px;
  border-top: 2px solid var(--ink);
}

.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 16px;
  padding: 20px 0;
  border-bottom: 2px solid var(--ink);
}

.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(--ink);
  }
  .steps li {
    display: block;
    padding: 28px 32px 32px;
    border-bottom: 0;
  }
  .steps li + li {
    border-left: 2px solid var(--ink);
  }
  .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(38px, 10vw, 88px);
  line-height: 1.2;
  margin: 12px 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;
}

/* ---------- 07 GROWTH ---------- */

.growth__table {
  margin-top: 40px;
  border-top: 2px solid var(--wine);
}

.growth__table > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.growth__table dt {
  font-weight: 900;
  font-size: 15px;
  color: var(--wine);
}

.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(--wine);
  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(--wine);
}

@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);
}

.message__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 6.6vw, 54px);
  line-height: 1.4;
}

.message__art {
  margin: 40px calc(var(--gutter) * -1) 0;
}

.message__art img {
  width: 100%;
}

@media (min-width: 768px) {
  .message__art {
    margin: 48px 0 0;
  }
  .message__art img {
    border-radius: 4px;
  }
}

.tiebreak small {
  display: block;
  margin-top: 4px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-sub);
}

.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: 26px;
  color: var(--wine);
}

.message__sign {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-sub);
}

/* ---------- 10 PRODUCT ---------- */

.product__grid {
  display: grid;
  gap: 48px;
}

.product__visual {
  position: relative;
  height: 380px;
}

.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(42vw, 230px);
  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(40, 16, 22, 0.16),
    0 3px 6px rgba(40, 16, 22, 0.12),
    0 16px 30px -8px rgba(40, 16, 22, 0.34);
}

.product__back figcaption {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-sub);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--wine);
}

.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(--wine);
}

.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__visual {
    height: 500px;
  }
  .product__back {
    grid-template-columns: 220px 1fr;
    margin-top: 40px;
  }
  .info > div {
    grid-template-columns: 120px 1fr;
  }
}

/* ---------- 11 FAQ ---------- */

.faq {
  background: var(--paper);
}

.faq__list {
  margin-top: 40px;
  border-top: 2px solid var(--wine);
}

.faq__list > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq__list dt {
  font-weight: 900;
  font-size: 17px;
  line-height: 1.6;
}

.faq__list dt::before {
  content: "Q.";
  margin-right: 10px;
  font-family: var(--f-label);
  color: var(--wine);
}

.faq__list dd {
  margin-top: 8px;
  color: var(--ink-sub);
  line-height: 1.85;
}

.faq__list dd a {
  color: var(--wine);
  text-underline-offset: 4px;
}

@media (min-width: 768px) {
  .faq__list > div {
    display: grid;
    grid-template-columns: 380px 1fr;
    column-gap: 40px;
  }
  .faq__list dd {
    margin-top: 0;
  }
}

/* ---------- 12 SERIES ---------- */

.series {
  display: grid;
  color: #fff;
}

.series__half {
  padding: 72px var(--gutter);
}

.series__half--entre {
  background: var(--navy);
}

.series__half--entre p + p {
  margin: 12px 0 24px;
}

.series__half--shacho {
  background: var(--wine-deep);
}

.series__half--shacho .section-no {
  color: var(--team);
}

.series__half--shacho p:not(.section-no) {
  margin-top: 20px;
}

.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;
}

/* スマホでは経営編（このページ）の見出しを先に出す */
.series__half--shacho {
  order: -1;
}

@media (min-width: 960px) {
  .series {
    grid-template-columns: 5fr 7fr;
  }
  .series__half {
    padding: 112px max(40px, calc((100vw - var(--wrap)) / 2 + 40px));
  }
  .series__half--entre {
    padding-right: 64px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .series__half--shacho {
    order: 0;
    padding-left: 64px;
  }
}

/* ---------- 最後の呼びかけ ---------- */

.closing {
  padding: 96px 0;
  text-align: center;
  color: #fff;
  background: var(--wine-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(34px, 8.4vw, 72px);
  line-height: 1.25;
  margin: 12px 0 40px;
}

/* ---------- フッター ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px var(--gutter);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}

.site-footer img {
  width: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
