@charset "UTF-8";
/* ============================================================
   湘南たべまな便　年間購読 LP
   tabemana.jp のトーン（白地・余白・Zen Kaku Gothic New・
   ティールのピル型ボタン）を踏襲しています。
   色や文字サイズは :root の変数でまとめて調整できます。
   ============================================================ */

:root {
  /* 色 */
  --ink: #0a0404;            /* 本文（ブランドの墨色） */
  --ink-soft: #5c5553;       /* 補足テキスト */
  --ink-mute: #736c6a;       /* 注釈・パンくず */
  --paper: #ffffff;
  --paper-alt: #fcf3f1;      /* 交互セクションの背景（年間購読ページの淡いピンク） */
  --line: rgba(10, 4, 4, 0.14);
  --teal: #00afcc;           /* ブランドのティール（線・装飾） */
  --teal-ink: #007f9a;       /* ボタン・リンク（白文字でも読める濃さ） */
  --teal-ink-deep: #00667c;  /* ボタンのホバー */
  --teal-tint: #e6f6f9;
  --berry: #d24497;          /* 年間購読ボタンのピンク（装飾） */
  --berry-ink: #c23a88;      /* 年間購読ボタン・限定バッジ（白文字でも読める濃さ） */
  --berry-ink-deep: #a12f71; /* 年間購読ボタンのホバー */
  --earth: #473822;          /* 手書き風の文字（ブランドの茶色） */
  --line-green: #06c755;     /* LINE */
  --pink-ink: #c33a52;       /* 限定・必須・仮原稿の注記 */
  --pink-tint: #fcedf0;
  --dummy: #d9d9d9;          /* ダミー画像 */
  --dummy-ink: #5f5f5f;

  /* 書体 */
  --font-base: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-hand: "Klee One", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

  /* 文字サイズ */
  --fs-xs: 0.75rem;     /* 12px */
  --fs-sm: 0.875rem;    /* 14px */
  --fs-body: 0.9375rem; /* 15px */
  --fs-base: 1rem;      /* 16px */
  --fs-md: 1.125rem;    /* 18px */
  --fs-lg: 1.375rem;    /* 22px */
  --fs-xl: 1.75rem;     /* 28px */

  /* レイアウト */
  --container: 1080px;
  --container-narrow: 760px;
  --section-space: clamp(72px, 10vw, 128px);
  --radius: 4px;
  --radius-soft: 14px;       /* 写真・カードの角丸 */
}

/* ------------------------------------------------------------
   Base
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: 24px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 40px, var(--container-narrow));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* ------------------------------------------------------------
   ダミー画像（グレー）
   本番では <img src="..." alt="..."> に差し替えてください
   ------------------------------------------------------------ */
.dummy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 12px;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: var(--dummy);
  color: var(--dummy-ink);
  font-size: var(--fs-xs);
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-align: center;
}

/* 対角線でダミーだとわかるようにする */
.dummy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top right, transparent calc(50% - 0.5px), rgba(0, 0, 0, 0.08) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to top left, transparent calc(50% - 0.5px), rgba(0, 0, 0, 0.08) 50%, transparent calc(50% + 0.5px));
}

.dummy > span {
  position: relative;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--dummy);
}

.dummy--wide     { aspect-ratio: 16 / 9; }
.dummy--square   { aspect-ratio: 1 / 1; }
.dummy--portrait { aspect-ratio: 3 / 4; }

/* ------------------------------------------------------------
   Buttons / Links
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 16px 40px;
  border: 1px solid var(--teal-ink);
  border-radius: 999px;
  background: var(--teal-ink);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  border-color: var(--teal-ink-deep);
  background: var(--teal-ink-deep);
}

.btn--ghost {
  background: var(--paper);
  color: var(--teal-ink);
}

.btn--ghost:hover {
  background: var(--teal-tint);
  color: var(--teal-ink-deep);
}

.btn--small {
  min-width: 0;
  padding: 8px 22px;
  font-size: var(--fs-sm);
}

/* 「年間購読」する（ECサイトへ移動） */
.btn--subscribe {
  flex-direction: column;
  border-color: var(--berry-ink);
  background: var(--berry-ink);
}

.btn--subscribe:hover {
  border-color: var(--berry-ink-deep);
  background: var(--berry-ink-deep);
}

.btn__note {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

/* ＼ 吹き出し風のひとこと ／ */
.bubble {
  display: block;
  margin-bottom: 10px;
  color: var(--earth);
  font-family: var(--font-hand);
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.text-link {
  color: var(--teal-ink);
  font-size: var(--fs-sm);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.text-link:hover {
  color: var(--teal-ink-deep);
}

.badge {
  display: inline-block;
  align-self: flex-start;
  padding: 1px 12px;
  border: 1px solid var(--berry-ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--berry-ink);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
}

/* 事実が未確定の箇所につける注記（公開前に削除） */
.draft-note {
  margin-top: 12px;
  color: var(--pink-ink);
  font-size: var(--fs-xs);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.note {
  margin-top: 24px;
  color: var(--ink-mute);
  font-size: var(--fs-xs);
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 20px 18px;
}

.site-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.site-brand__tagline {
  font-family: var(--font-hand);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
}

.site-brand__name {
  font-family: var(--font-hand);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.14em;
}

/* ロゴ画像（上下に透明の余白があるため、下の「年間購読」を少し詰める） */
.site-brand__logo {
  width: 220px;
  height: auto;
}

.site-brand__logo + .site-brand__plan {
  margin-top: -10px;
}

.site-brand__plan {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: var(--fs-xs);
  letter-spacing: 0.4em;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.global-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 30px;
}

.global-nav__link {
  display: inline-block;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: border-color 0.2s;
}

.global-nav__link:hover {
  border-bottom-color: var(--ink);
}

/* PCではヘッダー右上に小さく置くリンク（会社案内・お問い合わせ） */
.utility-nav {
  position: absolute;
  top: 14px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-nav__link {
  color: var(--ink-mute);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.2s;
}

.utility-nav__link:hover {
  color: var(--ink);
}

.utility-nav__link[aria-current="page"] {
  color: var(--teal-ink);
}

/* リンクのあいだに細い区切り */
.utility-nav li + li {
  position: relative;
  padding-left: 16px;
}

.utility-nav li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 12px;
  background: var(--line);
  transform: translateY(-50%);
}

.global-nav__link[aria-current="page"] {
  border-bottom-color: var(--teal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 860px) {
  /* スマホもロゴは中央。メニューボタンは右端に重ねる */
  .header-inner {
    flex-direction: row;
    justify-content: center;
    padding: 12px 64px;
  }

  .site-brand {
    align-items: center;
  }

  .site-brand__tagline {
    font-size: 11px;
  }

  .site-brand__name {
    font-size: var(--fs-lg);
  }

  .site-brand__plan {
    letter-spacing: 0.3em;
  }

  .site-brand__logo {
    width: 150px;
  }

  .site-brand__logo + .site-brand__plan {
    margin-top: -7px;
  }

  .nav-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    display: inline-flex;
    transform: translateY(-50%);
  }

  .global-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 20px 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .js .global-nav:not(.is-open) {
    display: none;
  }

  .global-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* スマホでは 申し込みボタンをメニューの一番下に */
  .global-nav__cta {
    order: 2;
  }

  /* スマホではメニューの中に戻す */
  .utility-nav {
    position: static;
    display: block;
  }

  .utility-nav li + li {
    padding-left: 0;
  }

  .utility-nav li + li::before {
    display: none;
  }

  .utility-nav__link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: var(--fs-sm);
    letter-spacing: 0.14em;
  }

  .global-nav__link {
    display: block;
    padding: 14px 0;
    border-bottom-color: var(--line);
  }

  .global-nav__cta {
    margin-top: 24px;
    text-align: center;
  }

  .global-nav__cta .btn {
    width: 100%;
    padding-block: 14px;
  }
}

/* ------------------------------------------------------------
   Section
   ------------------------------------------------------------ */
.section {
  padding-block: var(--section-space);
}

.section--alt {
  background: var(--paper-alt);
}

.section-head {
  margin-bottom: clamp(40px, 6vw, 64px);
  text-align: center;
}

.section-head__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: var(--fs-xs);
  letter-spacing: 0.28em;
}

.section-head__title {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.1em;
  text-wrap: balance;
}

.section-head__lead {
  max-width: 38em;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-size: var(--fs-body);
  line-height: 2;
  text-wrap: pretty;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(40px, 6vw, 56px);
}

/* 小見出しつきのサブブロック */
.subhead {
  margin-bottom: 32px;
  text-align: center;
}

.subhead__eyebrow {
  display: block;
  color: var(--teal-ink);
  font-size: var(--fs-xs);
  letter-spacing: 0.28em;
}

.subhead__title {
  margin-top: 6px;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-wrap: balance;
}

/* ------------------------------------------------------------
   下層ページの見出し
   ------------------------------------------------------------ */
.page-head {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin-bottom: clamp(32px, 5vw, 48px);
  color: var(--ink-mute);
  font-size: var(--fs-xs);
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 12px;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-head__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: var(--fs-xs);
  letter-spacing: 0.28em;
}

.page-head__title {
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.25rem);
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-wrap: balance;
}

.page-head__lead {
  max-width: 36em;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-size: var(--fs-body);
  text-wrap: pretty;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.anchor-nav a {
  padding: 6px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.anchor-nav a:hover {
  border-color: var(--teal-ink);
  color: var(--teal-ink);
}

/* ------------------------------------------------------------
   Home: ヒーロー
   ------------------------------------------------------------ */
.hero {
  position: relative;
}

.hero__media {
  position: relative;
  height: clamp(460px, 74vh, 720px);
  overflow: hidden;
  background: var(--dummy);
}

/* スマホは縦長写真に合わせて、やや縦に長く */
@media (max-width: 767px) {
  .hero__media {
    height: min(80vh, 640px);
  }
}

/* スマホでは見出しを右端に寄せる（下の .hero__copy より後で効くよう詳細度を上げる） */
@media (max-width: 767px) {
  .hero .hero__copy {
    padding-right: 14px;
    padding-left: 20px;
  }
}

/* 5枚の写真をゆっくり切り替える */
.hero__slide {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 0;
  aspect-ratio: auto;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

/* 写真に差し替えたときの表示（img / picture のどちらでも効くように） */
img.hero__slide,
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__label {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* PC用の枠を表示（SP用は隠す） */
.hero__label--sp {
  display: none;
}

@media (max-width: 767px) {
  .hero__label--pc {
    display: none;
  }

  .hero__label--sp {
    display: block;
  }
}

.hero__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.hero__dot.is-active {
  width: 26px;
  background: #fff;
}

/* 動きを減らす設定のときは、切り替えずに1枚目だけ見せる */
@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }
}

.hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(40px, 7vw, 88px) clamp(28px, 10vw, 140px);
  pointer-events: none;
}

.hero__vertical {
  font-family: var(--font-hand);
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.24em;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.hero__vertical--main {
  font-weight: 600;
  /* 1行11文字の縦書きが写真からはみ出さないよう、画面の高さでも上限をかける */
  font-size: min(clamp(1.5rem, 1rem + 2.4vw, 2.625rem), 3.7vh);
}

.hero__vertical--sub {
  margin-top: clamp(32px, 8vh, 96px);
  font-size: clamp(1rem, 0.85rem + 0.7vw, 1.3125rem);
}

.hero-intro {
  padding: clamp(56px, 8vw, 88px) 0 0;
  text-align: center;
}

.hero-intro__title {
  font-size: clamp(1.1875rem, 0.95rem + 1vw, 1.625rem);
  line-height: 1.9;
  letter-spacing: 0.12em;
  text-wrap: balance;
}

.hero-intro__lead {
  max-width: 34em;
  margin: 20px auto 0;
  color: var(--ink-soft);
  font-size: var(--fs-body);
  line-height: 2.1;
}

/* hidden を付けた要素は、display 指定より優先して隠す */
[hidden] {
  display: none !important;
}

.hero-intro__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

/* ------------------------------------------------------------
   Home: 6つの教材のカルーセル
   ------------------------------------------------------------ */
.carousel {
  position: relative;
  text-align: left;
}

.carousel__track {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 4px 2px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__track:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

/* PCは4枚表示（gap 20px × 3 を差し引く） */
.carousel__item {
  flex: 0 0 calc((100% - 60px) / 4);
  scroll-snap-align: start;
}

.issue-slide {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.issue-slide .dummy,
.issue-slide__img {
  transition: opacity 0.2s;
}

/* カルーセルの教材写真（正方形・角丸） */
.issue-slide__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

.issue-slide:hover .issue-slide__img,
.issue-slide:hover .dummy {
  opacity: 0.85;
}

.issue-slide__name {
  display: block;
  margin-top: 14px;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.issue-slide__season {
  margin-right: 6px;
  color: var(--earth);
  font-family: var(--font-hand);
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* 前へ / 次へ（写真の高さの中央あたり） */
.carousel__btn {
  position: absolute;
  top: calc((100% - 68px) / 2);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--earth);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(71, 56, 34, 0.14);
  transform: translateY(-50%);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.carousel__btn:hover:not([disabled]) {
  border-color: var(--berry-ink);
  background: var(--berry-ink);
  color: #fff;
}

/* 端まで来た側の矢印は消さずに薄く表示（押せない） */
.carousel__btn[disabled] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.carousel__btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel__btn--prev {
  left: -22px;
}

.carousel__btn--next {
  right: -22px;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(71, 56, 34, 0.2);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.carousel__dot.is-active {
  width: 24px;
  background: var(--berry);
}

@media (max-width: 1160px) {
  .carousel__btn--prev {
    left: 6px;
  }

  .carousel__btn--next {
    right: 6px;
  }
}

/* タブレットは3枚 */
@media (max-width: 860px) {
  .carousel__item {
    flex-basis: calc((100% - 40px) / 3);
  }
}

/* スマホは1枚半（次の教材をのぞかせる） */
@media (max-width: 600px) {
  .carousel__track {
    gap: 14px;
  }

  .carousel__item {
    flex-basis: 60%;
  }

  .issue-slide__name {
    font-size: var(--fs-sm);
  }

  /* スマホは「〇〇号」と教材名を2行にそろえ、矢印の位置を安定させる */
  .issue-slide__season {
    display: block;
    margin-right: 0;
  }

  .carousel__btn {
    top: calc((100% - 90px) / 2);
  }
}

/* ------------------------------------------------------------
   Home: 小学校受験の季節対策
   ------------------------------------------------------------ */
/* こんな不安はありませんか？ */
.worries {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  grid-template-areas: "mama body papa";
  align-items: end;
  gap: 8px clamp(12px, 2vw, 24px);
  max-width: 920px;
  margin: 0 auto clamp(48px, 7vw, 72px);
  padding: clamp(24px, 4vw, 36px) clamp(16px, 3vw, 32px) 0;
  border-radius: var(--radius-soft);
  background: var(--paper-alt);
}

.worries__body {
  grid-area: body;
  align-self: center;
  padding-bottom: clamp(24px, 4vw, 36px);
}

/* 悩むママとパパのイラスト（下端をボックスの底にそろえる） */
.worries__illust {
  width: 100%;
  height: auto;
}

.worries__illust--mama {
  grid-area: mama;
}

.worries__illust--papa {
  grid-area: papa;
}

@media (max-width: 768px) {
  /* スマホはイラスト2つを上に並べ、その下にチェックリスト */
  .worries {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "mama papa"
      "body body";
    align-items: end;
    padding-top: 16px;
  }

  .worries__illust {
    width: 120px;
  }

  .worries__illust--mama {
    justify-self: end;
  }

  .worries__illust--papa {
    justify-self: start;
  }
}

.worries__title {
  margin-bottom: 16px;
  color: var(--earth);
  font-family: var(--font-hand);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}

.worries__list {
  display: grid;
  gap: 10px;
}

.worries__list li {
  position: relative;
  padding-left: 32px;
  font-size: var(--fs-body);
  line-height: 1.8;
}

/* チェックボックス風の印 */
.worries__list li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--berry);
  border-radius: 5px;
  background: var(--paper);
}

.worries__list li::after {
  content: "";
  position: absolute;
  top: calc(0.3em + 4px);
  left: 7px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--berry-ink);
  border-bottom: 2px solid var(--berry-ink);
  transform: rotate(45deg);
}

/* ＼ 湘南たべまな便なら ／ 3つのポイント */
.benefits {
  margin: 0 auto;
  text-align: center;
}

.benefits__lead {
  margin-bottom: clamp(24px, 4vw, 36px);
  font-size: clamp(1.125rem, 0.95rem + 0.8vw, 1.375rem);
}

/* 行事食・季節・育てる（①②③の下） */
.benefits__themes {
  margin-top: clamp(64px, 9vw, 104px);
}

.benefits__list {
  --benefit-gap: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--benefit-gap);
}

/* ①②③の区切りの点線（すきまの中央に引く） */
.benefit + .benefit::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--benefit-gap) / -2);
  border-left: 1px dashed rgba(71, 56, 34, 0.35);
}

.benefit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 写真の下辺に重ねる番号 */
.benefit__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--berry-ink);
  color: #fff;
  font-family: var(--font-hand);
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1;
  position: relative;
}

/* ①②③の画像は横長 800×526 */
.benefit__img {
  width: 100%;
  aspect-ratio: 800 / 526;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

.benefit__title {
  margin-top: 12px;
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
  text-wrap: balance;
}

.benefit__title strong {
  color: var(--berry-ink);
  font-weight: 700;
}

.benefit__text {
  max-width: 22em;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: var(--fs-body);
  line-height: 1.9;
  text-align: left;
}

/* 1列になるスマホでは写真を大きくしすぎず、説明文と幅をそろえる */
@media (max-width: 768px) {
  .benefit .dummy,
  .benefit__img,
  .benefit__text {
    max-width: 300px;
  }

  /* 縦に並ぶので、区切りは横向きの点線にする */
  .benefit + .benefit::before {
    top: calc(var(--benefit-gap) / -2);
    bottom: auto;
    left: 50%;
    width: min(300px, 100%);
    border-top: 1px dashed rgba(71, 56, 34, 0.35);
    border-left: 0;
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------
   Home: 年間購読限定プレゼント
   ------------------------------------------------------------ */
.present-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 40px);
}

.present-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: var(--paper);
}

/* 白背景のセクションに置くときは、カードをピンクにして区別する */
.present-list--tinted .present-card {
  background: var(--paper-alt);
}

/* プレゼントカード上部の写真（4:3） */
.present-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* プレゼントカードの中に入れるカルーセル（上の写真と同じ幅にするため、本文の余白ぶん外へ広げる） */
.present-card .present-card__carousel {
  margin: 4px -28px 0;
}

/* プレゼントカードの本文中に入れる横長画像（写真の比率のまま表示） */
.present-card__wide {
  width: 100%;
  height: auto;
  margin-top: 4px;
  border-radius: var(--radius-soft);
}

.present-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 28px 28px 32px;
}

.present-card__title {
  font-size: var(--fs-md);
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.present-card__text {
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

.present-card__link {
  margin-top: auto;
  padding-top: 8px;
}

/* ------------------------------------------------------------
   Home: 湘南たべまな便とは
   ------------------------------------------------------------ */
.about-blocks {
  display: grid;
  gap: clamp(80px, 11vw, 128px);
}

.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.feature--reverse .feature__media {
  order: 2;
}

.feature__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-ink);
  font-size: var(--fs-xs);
  letter-spacing: 0.28em;
}

.feature__title {
  margin-bottom: 24px;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-wrap: balance;
}

.feature__text p {
  font-size: var(--fs-body);
  line-height: 2.1;
}

.feature__text p + p {
  margin-top: 1em;
}

.feature__action {
  margin-top: 28px;
}

/* 届くもの */
.kit-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  margin-top: clamp(48px, 7vw, 72px);
}

.kit-item__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

.kit-item__name {
  margin-top: 14px;
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.kit-item__text {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

/* 例えば ＼秋号の教材／ */
.kit-example {
  margin-top: clamp(48px, 7vw, 72px);
  text-align: center;
}

.kit-example__label {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
}

.kit-example .kit-items {
  margin-top: 24px;
}

/* 3STEP */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(48px, 7vw, 72px);
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: var(--radius-soft);
  background: var(--paper-alt);
  text-align: center;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 3px solid var(--paper-alt);
  border-radius: 50%;
  background: var(--berry-ink);
  color: #fff;
  font-family: var(--font-hand);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

/* 3STEPの写真（4:3・角丸） */
.step__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

/* 画像の下辺に STEP 番号を重ねる */
.step .dummy + .step__num,
.step__img + .step__num {
  position: relative;
  display: flex;
  margin: -28px auto 0;
}

.step__title {
  margin-top: 12px;
  font-size: var(--fs-md);
  letter-spacing: 0.1em;
}

.step__text {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

/* 行事食・季節・育てる（画像＋アイコンを横並び） */
.themes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 3vw, 32px);
}

.theme {
  position: relative;
}

/* ３つのテーマの画像（正方形・角丸） */
.theme__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

/* 左右2列ブロックの写真（教材キット一式など。4:3・角丸） */
.feature__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

/* 画像の左上に重ねる丸いアイコン */
.theme__icon {
  position: absolute;
  top: clamp(6px, 1.2vw, 14px);
  left: clamp(6px, 1.2vw, 14px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(50px, 2.5rem + 3vw, 80px);
  height: clamp(50px, 2.5rem + 3vw, 80px);
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--berry-ink);
  box-shadow: 0 2px 8px rgba(71, 56, 34, 0.18);
  color: #fff;
  font-family: var(--font-base);
  font-size: clamp(0.75rem, 0.65rem + 0.45vw, 1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* たべまなフィールド（年間購読の方は無料） */
.field {
  text-align: center;
}

.field__lead {
  color: var(--berry-ink);
  font-size: clamp(1.125rem, 0.95rem + 0.8vw, 1.375rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.field__lead strong {
  font-size: 1.25em;
}

.field__title {
  margin-top: 14px;
  color: var(--earth);
  font-family: var(--font-base);
  font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.field__image {
  display: block;
  width: 100%;
  max-width: 880px;
  height: auto;
  margin: clamp(24px, 4vw, 36px) auto 0;
  border-radius: var(--radius-soft);
}

.field__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

/* メイン写真の下に並べる3枚 */
.field__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 880px;
  margin: 8px auto 0;
}

.field__body {
  max-width: 38em;
  margin: clamp(24px, 4vw, 32px) auto 0;
}

.field__body p {
  font-size: var(--fs-body);
  line-height: 2.1;
}

.field__body p + p {
  margin-top: 0.6em;
}

/* ------------------------------------------------------------
   Home: 年間スケジュール
   ------------------------------------------------------------ */
.schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}

.schedule-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: var(--paper);
}

.present-card > .dummy,
.schedule-item > .dummy {
  border-radius: 0;
}

/* 年間スケジュールの写真（写真の右上に号名が入っているので、切り抜かず正方形のまま） */
.schedule-item__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.schedule-item__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 28px;
}

.schedule-item__when {
  align-self: flex-start;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--teal);
  color: var(--teal-ink);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
}

.schedule-item__season {
  color: var(--earth);
  margin-top: 8px;
  font-family: var(--font-hand);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.24em;
}

.schedule-item__title {
  font-size: var(--fs-lg);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.schedule-item__text {
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

.schedule-item__maker {
  color: var(--ink-mute);
  font-size: var(--fs-xs);
  line-height: 1.7;
}

.schedule-item__link {
  margin-top: auto;
  padding-top: 12px;
}

/* ------------------------------------------------------------
   Home: 申し込みエリア
   ------------------------------------------------------------ */
.apply {
  text-align: center;
}

.apply__hand {
  color: var(--earth);
  display: block;
  font-family: var(--font-hand);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.2em;
}

.apply__title {
  margin-top: 8px;
  font-size: clamp(1.375rem, 1.05rem + 1.4vw, 1.875rem);
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-wrap: balance;
}

.apply__price {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin: 36px auto 0;
  padding: 20px clamp(24px, 6vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.apply__price-label {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
}

.apply__price-value {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.apply__price-detail {
  color: var(--ink-soft);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
}

.apply__info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 32px auto 0;
  text-align: left;
}

.apply__info-item {
  padding: 20px 24px;
  border-radius: var(--radius-soft);
  background: var(--paper);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.apply__info-title {
  margin-bottom: 6px;
  color: var(--earth);
  font-family: var(--font-hand);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.apply__price-value small {
  margin-left: 4px;
  font-size: var(--fs-sm);
  font-weight: 400;
}

/* ------------------------------------------------------------
   教材のご紹介
   ------------------------------------------------------------ */
.issue__head {
  margin-bottom: clamp(36px, 5vw, 56px);
  text-align: center;
}

.issue__season {
  color: var(--earth);
  display: block;
  font-family: var(--font-hand);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: 0.24em;
}

.issue__title {
  margin-top: 4px;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.issue__when {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--teal);
  color: var(--teal-ink);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
}

.issue__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.issue__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.issue__gallery > .dummy:first-child,
.issue__gallery > .issue__main-img {
  grid-column: 1 / -1;
}

/* 教材ページのメイン写真（号名が写真に入っているので、切り抜かず正方形のまま） */
.issue__main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

.issue__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

.issue__lead {
  font-size: var(--fs-body);
  line-height: 2.1;
}

.facts {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.facts dt,
.facts dd {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  padding-right: 16px;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.facts dd {
  font-size: var(--fs-body);
  line-height: 1.9;
}

.dot-list li {
  position: relative;
  padding-left: 16px;
}

.dot-list li + li {
  margin-top: 4px;
}

.dot-list li::before {
  content: "";
  position: absolute;
  top: 0.85em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.issue__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
}

/* ------------------------------------------------------------
   ユーザーボイス
   ------------------------------------------------------------ */
.voice-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.voice-head__season {
  color: var(--earth);
  display: block;
  font-family: var(--font-hand);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.24em;
}

.voice-head__title {
  font-size: clamp(1.375rem, 1.05rem + 1.2vw, 1.75rem);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.voice-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: var(--paper);
}

/* 写真3枚（大きい1枚＋小さい2枚） */
.voice-card__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.voice-card__gallery .dummy {
  aspect-ratio: 1 / 1;
  border-radius: 0;
}

.voice-card__gallery .voice-card__photo--main {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.voice-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px 20px;
}

.voice-card__title {
  font-size: var(--fs-md);
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.voice-card__text {
  color: var(--ink-soft);
  font-size: var(--fs-body);
}

.voice-card__who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--ink-mute);
  font-size: var(--fs-xs);
  line-height: 1.6;
}

.voice-card__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.voice-card__avatar::before {
  display: none;
}

.voice-card--placeholder {
  border-style: dashed;
  background: transparent;
}

.voice-card--placeholder .voice-card__gallery .dummy {
  background: #e8e8e8;
}

.voice-card--placeholder .voice-card__title,
.voice-card--placeholder .voice-card__text {
  color: var(--ink-mute);
}

/* 秋号：写真カルーセル付きのカード（2列） */
.voice-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .voice-grid--2 {
    grid-template-columns: 1fr;
  }
}

.carousel--voice {
  margin: 0;
}

.carousel--voice .carousel__track {
  gap: 0;
  padding: 0;
}

/* 1枚ずつ表示（通常のカルーセルの列数指定より優先） */
.carousel--voice .carousel__item {
  flex: 0 0 100%;
}

.carousel--voice .carousel__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* 矢印は写真の上に重ねる（下のドット分を除いた高さの中央） */
.carousel--voice .carousel__btn {
  top: calc((100% - 34px) / 2);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
}

.carousel--voice .carousel__btn--prev {
  left: 10px;
}

.carousel--voice .carousel__btn--next {
  right: 10px;
}

.carousel--voice .carousel__dots {
  margin: 12px 0 2px;
}

.voice-section + .voice-section {
  margin-top: clamp(72px, 10vw, 112px);
}

/* ------------------------------------------------------------
   限定プレゼント
   ------------------------------------------------------------ */
/* プレゼントの紹介（PCは写真と本文を2列、スマホはタイトル→写真→本文の順） */
.present-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas:
    "media head"
    "media body";
  align-items: start;
  gap: 20px clamp(32px, 5vw, 64px);
}

.present-detail--reverse {
  grid-template-areas:
    "head media"
    "body media";
}

.present-detail__head {
  grid-area: head;
}

.present-detail__gallery {
  grid-area: media;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

/* 絵本の中面カルーセル（見開き 1900×900） */
.carousel--spread {
  grid-column: 1 / -1;
  margin: 0;
}

.carousel--spread .carousel__track {
  gap: 0;
  padding: 0;
}

.carousel--spread .carousel__item {
  flex: 0 0 100%;
}

/* 絵本の中面は 1800×900（2:1）の比率 */
.carousel--spread .spread-slide {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

/* ワークシートは 877×625 の比率。幅は上の写真と同じ */
.carousel--a4 .spread-slide {
  aspect-ratio: 877 / 625;
}

/* 1枚を全面に出さず、次の面をのぞかせるカルーセル（ヒーロー下と同じ見せ方） */
.carousel--peek .carousel__track {
  gap: 16px;
  padding: 4px 2px 12px;
}

.carousel--peek .carousel__item {
  flex: 0 0 calc((100% - 32px) / 2.6);
}

@media (max-width: 600px) {
  .carousel--peek .carousel__item {
    flex: 0 0 calc((100% - 16px) / 1.7);
  }
}

.carousel--spread .carousel__btn {
  top: calc((100% - 34px) / 2);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
}

.carousel--spread .carousel__btn--prev {
  left: 10px;
}

.carousel--spread .carousel__btn--next {
  right: 10px;
}

.carousel--spread .carousel__dots {
  margin: 12px 0 2px;
}

.present-detail__body {
  grid-area: body;
}

.present-detail__head .feature__title {
  margin-top: 14px;
}

.present-detail__body > * + * {
  margin-top: 1.2em;
}

@media (max-width: 860px) {
  .present-detail,
  .present-detail--reverse {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "media"
      "body";
    gap: 24px;
  }
}

.present-detail__gallery > .video-frame,
.present-detail__gallery > .dummy:first-child,
.present-detail__gallery > .present-detail__img {
  grid-column: 1 / -1;
}

.present-detail__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

/* 動画の枠（実際の動画に差し替えるまでのプレースホルダー） */
.video-frame {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: 12px;
  overflow: hidden;
  border-radius: var(--radius-soft);
  background: #3c3634;
  color: #fff;
}

.video-frame video,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* 再生マーク */
.video-frame__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%);
}

.video-frame__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid var(--ink);
  transform: translate(-50%, -50%);
}

.video-frame__label {
  position: relative;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
}

.conditions {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: var(--paper);
}

.conditions__title {
  margin-bottom: 16px;
  font-size: var(--fs-md);
  letter-spacing: 0.1em;
  text-align: center;
}

.conditions .dot-list {
  font-size: var(--fs-body);
}

/* ------------------------------------------------------------
   会社案内
   ------------------------------------------------------------ */
.philosophy {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.philosophy__item {
  display: grid;
  grid-template-columns: 9em 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.philosophy__label {
  color: var(--teal-ink);
  font-size: var(--fs-xs);
  line-height: 1.6;
  letter-spacing: 0.24em;
}

.philosophy__label span {
  display: block;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
}

.philosophy__text {
  font-family: var(--font-hand);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-wrap: balance;
}

.info-table {
  display: grid;
  grid-template-columns: 10em 1fr;
  max-width: 820px;
  margin: clamp(56px, 8vw, 88px) auto 0;
  border-top: 1px solid var(--line);
}

.info-table dt,
.info-table dd {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.info-table dt {
  padding-right: 16px;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.info-table dd {
  font-size: var(--fs-body);
}

.message {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  align-items: start;
  gap: clamp(36px, 6vw, 80px);
}

.message__lead {
  margin-bottom: 28px;
  font-family: var(--font-hand);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-wrap: balance;
}

.message__body p {
  font-size: var(--fs-body);
  line-height: 2.1;
}

.message__body p + p {
  margin-top: 1.2em;
}

.message__sign {
  margin-top: 36px;
  text-align: right;
}

.message__role {
  display: block;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
}

.message__name {
  display: block;
  margin-top: 4px;
  font-family: var(--font-hand);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: 0.24em;
}

.achievements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 44px);
}

.achievement {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.achievement__title {
  margin-bottom: 8px;
  font-size: var(--fs-md);
  letter-spacing: 0.12em;
}

.achievement__list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-body);
  line-height: 1.8;
}

/* ------------------------------------------------------------
   お問い合わせ
   ------------------------------------------------------------ */
.contact-intro {
  margin-bottom: 40px;
  font-size: var(--fs-body);
  line-height: 2;
}

.form {
  display: grid;
  gap: 28px;
}

.form-field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.form-req,
.form-opt {
  padding: 0 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.form-req {
  background: var(--pink-ink);
  color: #fff;
}

.form-opt {
  border: 1px solid var(--line);
  color: var(--ink-mute);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(10, 4, 4, 0.28);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: var(--fs-base);
  line-height: 1.6;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-ink);
  box-shadow: 0 0 0 3px rgba(0, 175, 204, 0.25);
}

select.form-control {
  padding-right: 44px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5553' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 18px;
}

textarea.form-control {
  min-height: 200px;
  resize: vertical;
}

.form-help {
  color: var(--ink-mute);
  font-size: var(--fs-xs);
}

/* 未入力のとき、その項目に出すお知らせ */
.form-error {
  margin-top: 6px;
  color: var(--berry-ink);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.is-invalid .form-control {
  border-color: var(--berry-ink);
}

.form-check.is-invalid {
  flex-wrap: wrap;
}

.form-check.is-invalid .form-error {
  flex: 0 0 100%;
  margin-top: 4px;
  text-align: center;
}

.form-check {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  font-size: var(--fs-sm);
}

.form-check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 4px 0 0;
  accent-color: var(--teal-ink);
}

/* 迷惑メール対策の隠し項目（画面には出さない） */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  margin-top: 8px;
  text-align: center;
}

.form-status {
  min-height: 1.8em;
  margin-top: 16px;
  color: var(--teal-ink);
  font-size: var(--fs-sm);
}

.contact-sns {
  margin-top: clamp(56px, 8vw, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-body);
  text-align: center;
}

.contact-sns ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  margin-top: 12px;
}

/* ------------------------------------------------------------
   規約・ポリシー
   ------------------------------------------------------------ */
.notice {
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--pink-tint);
  color: var(--pink-ink);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.prose {
  font-size: var(--fs-body);
  line-height: 2;
}

.prose > * + * {
  margin-top: 16px;
}

.prose h2 {
  margin-top: 48px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-md);
  letter-spacing: 0.08em;
}

.prose ol {
  padding-left: 1.6em;
  list-style: decimal;
}

.prose ul {
  padding-left: 1.4em;
  list-style: disc;
}

.prose li + li {
  margin-top: 6px;
}

.prose__date {
  margin-top: 56px;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  text-align: right;
}

/* ------------------------------------------------------------
   公式LINE告知エリア（全ページ・フッターの上）
   ------------------------------------------------------------ */
.line-area {
  padding-block: clamp(64px, 9vw, 104px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.line-area__inner {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 460px);
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 7vw, 96px);
}

/* トーク画面の画像は、影も枠もつけずにそのまま見せる（画像の背景は白） */
.line-area__phone {
  background: var(--paper);
}

/* トーク画面の画像は、写真そのものの比率で表示する */
.line-area__screen {
  display: block;
  width: 100%;
  height: auto;
}

.line-area__brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.line-area__official {
  color: var(--line-green);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.line-area__logo {
  margin-top: 6px;
  color: var(--line-green);
  font-size: clamp(4rem, 2.8rem + 5vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.line-area__title {
  margin-top: clamp(28px, 4vw, 44px);
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

/* 行事の由来・行事食の意味・旬の野菜や果物（画像を横並び） */
.line-area__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 2vw, 16px);
  margin-top: clamp(20px, 3vw, 32px);
}

.line-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.line-point .dummy {
  padding: 4px;
}

.line-point__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-soft);
}

.line-point__label {
  position: relative;
  padding-left: 1.1em;
  font-size: clamp(0.8125rem, 0.75rem + 0.3vw, 0.9375rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
}

/* チェックマーク */
.line-point__label::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0.15em;
  width: 0.35em;
  height: 0.7em;
  border-right: 2px solid var(--line-green);
  border-bottom: 2px solid var(--line-green);
  transform: rotate(40deg);
}

/* LINEの緑のボタン */
.btn--line-solid {
  margin-top: clamp(28px, 4vw, 40px);
  border-color: var(--line-green);
  background: var(--line-green);
}

.btn--line-solid:hover {
  border-color: #05b04b;
  background: #05b04b;
}

@media (max-width: 768px) {
  .line-area__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .line-area__media {
    order: 2;
    width: min(240px, 70%);
  }

  .line-area__brand {
    align-items: center;
  }

  .line-area__points {
    width: 100%;
    max-width: 420px;
  }
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  padding: clamp(56px, 8vw, 80px) 0 28px;
  background: var(--paper-alt);
  font-size: var(--fs-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
}

.footer-brand .site-brand {
  align-items: flex-start;
}

.footer-brand__company {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: var(--fs-xs);
  line-height: 1.8;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 12px 40px;
}

.footer-nav a,
.footer-sns a,
.footer-legal a {
  text-decoration: none;
}

.footer-nav a:hover,
.footer-sns a:hover,
.footer-legal a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-sns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  color: var(--ink-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(40px, 6vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: var(--fs-xs);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* 追従する申し込みボタン */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  min-width: 0;
  box-shadow: 0 6px 20px rgba(10, 4, 4, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
}

.floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 960px) {
  .kit-items {
    grid-template-columns: repeat(3, 1fr);
  }

  .schedule {
    grid-template-columns: repeat(2, 1fr);
  }

  .achievements {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .steps,
  .apply__info,
  .benefits__list,
  .present-list,
  .feature,
  .issue__grid,
  .message {
    grid-template-columns: 1fr;
  }

  .feature--reverse .feature__media {
    order: 0;
  }

  /* 代表写真（写真そのものの比率で表示） */
.message__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-soft);
}

.message__photo {
    max-width: 280px;
    margin-inline: auto;
  }

  .philosophy__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .btn {
    min-width: 0;
    width: 100%;
    max-width: 360px;
  }

  .btn--small {
    width: auto;
  }

  .kit-items,
  .schedule {
    grid-template-columns: 1fr;
  }

  .kit-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts,
  .info-table {
    grid-template-columns: 1fr;
  }

  .facts dt,
  .info-table dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .facts dd,
  .info-table dd {
    padding-top: 4px;
  }

  .footer-nav ul {
    grid-template-columns: repeat(2, max-content);
  }

  .floating-cta {
    right: 16px;
    left: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
  }
}
