/* =========================================================
   鮨塚交流会 LP2 — 見た目（style.css）
   ・最初の画面の動画と、画面下の申し込みの帯 … 既存LP（sushizuka.pages.dev）の作り
   ・それ以外 … PDF（sushizuka-presentation.pdf）のデザイン
   色を変えるときは、下の :root の値を書き換えてください。
   ========================================================= */

:root {
  color-scheme: light;
  /* --- 色（PDFのデザイン） --- */
  --ink: #29231f;        /* 文字 */
  --muted: #584941;      /* 本文・補足の文字 */
  --accent: #c74419;     /* 強調の文字・アイコン */
  --orange: #b83d16;     /* ボタン */
  --paper: #fff9f2;      /* ページの地の色 */
  --peach: #fceedc;      /* 淡いベージュの面 */
  --blue: #dceef5;       /* 淡い水色の見出し飾り */
  --rule: #ecd8c7;       /* 罫線 */
  /* --- 色（既存LPから持ってきた部品） --- */
  --navy: #17335e;           /* 下の帯の紺 */

  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;

  /* --- 大きさ --- */
  --header-h: 64px;   /* 上の帯（ヘッダー）の高さ */
  --bar-h: 80px;      /* 下の申し込みの帯の高さ */
}
@media (min-width: 768px) {
  :root { --header-h: 82px; --bar-h: 96px; }
}

/* ---------- 基本 ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
body {
  margin: 0;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); /* 下の帯でページの最後が隠れないように */
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.8 var(--font);
  overflow-x: clip;
  overflow-wrap: break-word;
  line-break: strict;   /* 「、」「。」が行の頭に来ないように */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #26667b; outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }
:where(h1, h2, h3, p, ol, ul, dl, dd, figure) { margin: 0; }
:where(h1, h2) { font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.05rem; line-height: 1.45; }
p { color: var(--muted); }
.phrase { display: inline-block; }   /* この中では改行しない */
/* 改行を画面幅で使い分ける：sp-only はスマホだけ、pc-only はパソコン（1024px以上）だけ */
.sp-only { display: none; }
@media (max-width: 767px) { .sp-only { display: inline; } }
@media (max-width: 1023px) { br.pc-only { display: none; } }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.section { margin-block: 64px; }
.skip { position: fixed; z-index: 200; inset: 10px auto auto 10px; background: white; padding: 10px 16px; transform: translateY(-150%); }
.skip:focus { transform: none; }

/* ---------- ⓪ ヘッダー ---------- */
.site-header { background: #fff; position: relative; z-index: 50; border-bottom: 1px solid #f2e6da; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 18px; }
.brand { display: inline-block; flex: none; }
.brand img { width: 112px; height: auto; object-fit: contain; }
.site-header .brand img { width: auto; height: calc(var(--header-h) - 8px); }
nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 29px); }
nav > a { font-size: .875rem; font-weight: 700; text-decoration: none; }
nav > a:not(.button):hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* PDFのボタン（オレンジの丸いボタン） */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 9px 23px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 3px 0 #92321142;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color .18s ease;
}
.button:hover { background: #9d3212; }

.menu-toggle { min-height: 44px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--rule); border-radius: 999px; padding: 0 12px; color: var(--ink); background: var(--paper); cursor: pointer; font-size: .875rem; font-weight: 700; }
.hamburger { width: 18px; height: 12px; border-block: 2px solid var(--accent); position: relative; }
.hamburger::after { content: ""; position: absolute; inset: 3px 0 auto; border-top: 2px solid var(--accent); }
.menu-toggle[aria-expanded="true"] .hamburger { border-color: transparent; }
.menu-toggle[aria-expanded="true"] .hamburger::before,
.menu-toggle[aria-expanded="true"] .hamburger::after { content: ""; position: absolute; inset: 3px 0 auto; border-top: 2px solid var(--accent); transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg); }

/* =========================================================
   ① 最初の画面の動画（既存LPの作りをそのまま使用）
   ========================================================= */
/* スマホなど縦長の画面：横幅いっぱい・16:9（切らない） */
.hero__stage { background: #2a2d2f; }
.hero__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2a2d2f;
}
.hero__movie,
.hero__endcard {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 動画が終わったら最後の場面の画像を重ねて表示（js/main.js が is-ended を付ける） */
.hero__endcard {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.hero__video.is-ended .hero__endcard { opacity: 1; }

/* パソコン（横長の画面）：ヘッダーの下から画面の下まで使い、動画全体を切らずに表示 */
@media (min-width: 768px) and (min-aspect-ratio: 3/2) {
  .hero__video {
    aspect-ratio: auto;
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
  }
  .hero__movie,
  .hero__endcard { object-fit: contain; }
}

/* 動画が終わったら出る申し込みボタン（パソコンのみ） */
.hero__frame { display: none; }
.hero__cta { display: none; }   /* スマホでは出さない */
@media (min-width: 768px) {
  /* hero__frame：画面に映っている動画と同じ位置・大きさの見えない枠 */
  .hero__frame {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%);
    pointer-events: none;
    container-type: inline-size;
  }
  .hero__cta {             /* 濃い色の箱に金色の細い枠 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45em;
    position: absolute;
    left: 7.5%;          /* ✏️ 「鮨」の左端にそろえる位置 */
    top: 52.5%;          /* ✏️ 「鮨塚」と「開催」の間の高さ */
    z-index: 2;
    margin: 0;
    width: 310px;
    width: 24cqw;
    padding: 1.1em 1em;
    font-size: 18px;
    font-size: clamp(13px, 1.4cqw, 22px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.06em;
    color: #fff;
    text-decoration: none;
    background: #2a2d2f;
    border: 1.5px solid #c9ad7a;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(calc(-50% + 24px));
    pointer-events: none;
    transition: opacity 0.9s ease, transform 0.9s ease, scale 0.3s ease, background-color 0.3s;
  }
  .hero__cta-en { font-size: 0.72em; letter-spacing: 0.08em; color: #c9ad7a; }
  .hero__cta-ja { white-space: nowrap; }
  .hero__cta-arrow { display: inline-block; margin-left: 0.9em; color: #c9ad7a; transition: transform 0.3s ease; }
  .hero__cta:hover,
  .hero__cta:focus-visible { background: #34383b; scale: 1.08; }
  .hero__cta:hover .hero__cta-arrow { transform: translateX(4px); }
  .hero__video.cta-shown .hero__cta {
    opacity: 1;
    transform: translateY(-50%);
    pointer-events: auto;
  }
}
@media (min-width: 768px) and (min-aspect-ratio: 3/2) {
  .hero__frame {           /* 動画を切らずに表示しているときは、映っている部分の幅に合わせる */
    width: min(100%, calc((100vh - var(--header-h)) * 16 / 9));
    width: min(100%, calc((100svh - var(--header-h)) * 16 / 9));
  }
}

/* =========================================================
   ② 以降：PDFのデザイン
   ========================================================= */
.hero { background: radial-gradient(ellipse at 90% 12%, #ffebd6, transparent 54%), linear-gradient(#fff3e6, var(--paper)); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.36fr); grid-template-areas: "copy photos" "action photos"; column-gap: 52px; row-gap: 23px; padding-block: 56px 56px; align-items: center; }
.hero-copy { grid-area: copy; align-self: end; }
.hero-copy > p:last-child { margin-top: 21px; max-width: 29em; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .875rem; letter-spacing: .07em; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.hero .eyebrow span { width: 15px; border-top: 2px solid #e87b49; }
h1 { font-size: clamp(2.35rem, 4.2vw, 3.1rem); line-height: 1.5; letter-spacing: .035em; }
em { font-style: normal; color: var(--accent); }
h1 em { display: inline-block; position: relative; isolation: isolate; }
h1 em::before { content: ""; z-index: -1; position: absolute; inset: auto 0 4px -2px; height: .23em; background: #ffe3a0; border-radius: 85% 55% 65% 20%; transform: rotate(-3deg); }
.hero-action { grid-area: action; align-self: start; }
.hero-action .button { min-height: 54px; padding-inline: 34px; }
.hero-photos { position: relative; grid-area: photos; margin: 0 10px 0 0; }
.group { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 6px 0 #f3dfcd; }
.rays { position: absolute; top: -15px; right: -17px; width: 44px; height: 32px; transform: rotate(35deg); display: flex; justify-content: space-between; }
.rays i { display: block; width: 3px; height: 20px; border-radius: 10px; background: #e58337; }
.rays i:first-child { transform: rotate(-27deg) translateY(7px); }
.rays i:last-child { transform: rotate(27deg) translateY(7px); }

.about, .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 52px); align-items: center; }
.about h2 { margin-block: 10px 14px; }
.tag { display: inline-block; padding: .25em .8em .3em; border-radius: 999px; background: var(--peach); }
h2.tag { font-size: clamp(1.4rem, 2.3vw, 1.75rem); }
.blue { background: var(--blue); }
.about-photos { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 14px; padding: 14px; }
.about-photos img { border: 5px solid white; border-radius: 6px; box-shadow: 0 4px 10px #57280719; }
.about-photos img:first-child { transform: rotate(-6deg); }
.about-photos img:last-child { transform: rotate(4deg); }
.feature-panel, .soft-panel { background: var(--peach); border-radius: 24px; padding: clamp(22px, 3vw, 36px); }
.feature-panel > h2 { text-align: center; margin-bottom: 24px; color: var(--accent); }
.features, .steps, .checklist { list-style: none; padding: 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.features li { padding: 0 22px; }
.features li + li { border-left: 1px solid #edcfb6; }
/* パソコン（1024px以上）：3つの項目を中身の幅で並べ、まとまり全体を四角の中央に置く。
   区切り線は、項目と項目のすき間の真ん中に引く（左右の空きがそろうように） */
@media (min-width: 1024px) {
  .features { --gap: clamp(32px, 6vw, 110px); grid-template-columns: repeat(3, max-content); justify-content: center; column-gap: var(--gap); }
  .features li { padding: 0; position: relative; }
  .features li + li { border-left: 0; }
  .features li + li::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--gap) / -2); border-left: 1px solid #edcfb6; }
}
/* 3つの魅力のイラスト（index.html の中に直接描いている） */
.illust { display: block; width: 104px; height: auto; margin: 0 auto 8px; }
.illust .blob { fill: #fff; opacity: .75; }
.illust .line { fill: none; stroke: #5a3a2a; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.illust .spark { fill: none; stroke: #e58337; stroke-width: 2.6; stroke-linecap: round; }
.features p, .steps p { margin-top: 7px; }
.split { align-items: start; }
.moments { grid-template-columns: max-content minmax(0, 1fr); column-gap: clamp(28px, 4vw, 48px); align-items: stretch; }
#gallery { text-align: center; display: flex; flex-direction: column; min-width: 0; }   /* 「開催の様子」を写真の並びの中央に */
#gallery > h2 { align-self: center; }
.checklist { margin-top: 12px; }
.checklist li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.checklist li::before { content: ""; width: 11px; height: 7px; margin-top: .55em; flex: none; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
/* 開催の様子：写真が横にゆっくり流れる帯。
   パソコンでは、帯の下端が「こんな方におすすめ」の最後の行の下端にそろう（帯は左の列の高さに合わせて伸び縮みする） */
.gallery-strip {
  position: relative;
  flex: 1 1 0;
  min-height: 150px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 12px;
}
.gallery-track {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  width: max-content;
  animation: gallery-flow 70s linear infinite;   /* ✏️ 流れる速さ（数字を大きくするとゆっくり） */
}
.gallery-strip:hover .gallery-track { animation-play-state: paused; }   /* カーソルを乗せると止まる */
.gallery-copy { display: contents; }
.gallery-track img {
  height: 100%;
  width: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-right: 10px;
  border-radius: 10px;
}
@keyframes gallery-flow {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }   /* 1組分だけ動いたら最初に戻る（2組目が同じ写真なので切れ目が見えない） */
}

.soft-panel { background: #fcf1e6; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: center; margin-block: 18px 10px; }
.step { display: inline-grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--orange); color: white; font-weight: 700; margin-bottom: 8px; }
.note { font-size: .875rem; }
/* 見出し・ボタン・注意書きを、四角の中の中央に */
#flow, #event { text-align: center; }
.event-info { text-align: left; }
/* 次回開催概要（左）と写真（右）。写真は四角と同じ高さに */
/* 写真（上）と次回開催概要（下）を、幅760pxまでで中央に */
.logistics { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 760px; }
.logistics__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; }
.message { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.message img { width: 100%; object-fit: contain; mix-blend-mode: multiply; }   /* 白い背景を、ページの地の色になじませる */
.message h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-block: 8px 10px; }

.event-info { margin-block: 14px 20px; }
.event-info > div { display: grid; grid-template-columns: minmax(4.5em, .38fr) minmax(0, 1fr); gap: 10px; border-bottom: 1px solid var(--rule); padding: 8px 0; }
@media (min-width: 768px) {
  /* パソコン：項目名と内容のすき間を詰め、表全体を四角の中央に置く */
  .event-info { width: fit-content; max-width: 100%; margin-inline: auto; }
  .event-info > div { grid-template-columns: 5em max-content; column-gap: 24px; }
}
dt { font-weight: 700; }
dd { color: var(--muted); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 16px; }
.footer .brand img { mix-blend-mode: multiply; }   /* ロゴの白い背景を、ページの地の色になじませる */
/* パソコン：ヘッダーとフッターは画面の端近くまで広げる（右端は、下の帯のGIFの右端にそろう） */
@media (min-width: 768px) {
  .header-inner, .footer { width: auto; padding-inline: 40px; }
}
.footer small { color: var(--muted); }


/* ---------- ⑨ 主催者紹介（既存LPの内容を、PDFのデザインで） ---------- */
/* 写真と文章のまとまりを幅920pxまでにして、ページの中央に置く */
.host { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; max-width: 920px; }
.host__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: 0 6px 0 #f3dfcd; }
.host__title { margin-top: 14px; font-size: .95rem; }
.host__name { margin-top: 2px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.host__kana { margin-left: .5em; font-size: .9rem; font-weight: 400; color: var(--muted); }
.host__text { margin-top: 16px; }
.host__line { display: block; }
.host__book { display: flex; align-items: center; gap: 16px; width: fit-content; max-width: 100%; margin-top: 22px; padding: 14px 22px 14px 18px; background: #fcf1e6; border-radius: 16px; }   /* 背景は中身の幅まで */
.host__book-cover { flex: none; }
.host__book-cover img { width: 64px; border-radius: 4px; box-shadow: 0 3px 8px #5728071f; }
.host__book p { font-size: .95rem; }
.host__book p a { color: var(--accent); font-weight: 700; }
.host__sns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding: 0; list-style: none; }
.host__sns a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1.5px solid var(--orange); border-radius: 999px; color: var(--orange); font-size: .9rem; font-weight: 700; text-decoration: none; }
.host__sns a:hover { background: var(--orange); color: #fff; }

/* =========================================================
   画面下に固定する申し込みの帯（既存LPのデザイン）
   スマホ：ボタン＋GIFを中央に／パソコン：右に「会社名・所在地｜ボタン｜GIF」
   ========================================================= */
.entry-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  height: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  padding: 0 16px env(safe-area-inset-bottom, 0px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  box-shadow: 0 -4px 16px rgba(36, 52, 60, 0.06);
}
.entry-bar__company { display: none; }
.entry-bar__action { display: flex; align-items: center; gap: 12px; }
/* ボタンは本文の「交流会に参加する」と同じデザイン（.button） */
.entry-bar__btn { white-space: nowrap; min-height: 52px; padding-inline: 34px; font-size: 1.05rem; box-shadow: 0 3px 0 #00000040; }
.entry-bar__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.entry-bar__gif { height: calc(var(--bar-h) - 12px); width: auto; }
@media (min-width: 768px) {
  .entry-bar { justify-content: flex-end; padding-inline: 40px; }
  .entry-bar__company { display: block; color: #fff; text-align: right; line-height: 1.6; }
  .entry-bar__company p { color: #fff; }
  .entry-bar__name { font-family: var(--font-serif); font-size: 15px; letter-spacing: 0.1em; }
  .entry-bar__address { font-size: 13px; letter-spacing: 0.04em; }
  .entry-bar__action { gap: 24px; }
  .entry-bar__btn { min-height: 56px; padding-inline: 48px; font-size: 1.15rem; }
  .entry-bar__gif { height: calc(var(--bar-h) - 16px); }
  /* 動画が見えているあいだは帯を隠し、過ぎたらふわっと出す（js/main.js が bar-hidden を付ける） */
  .entry-bar { transition: opacity 0.6s ease, transform 0.6s ease; }
  .bar-hidden .entry-bar { opacity: 0; transform: translateY(100%); pointer-events: none; }
}

/* =========================================================
   タブレット・スマホ
   ========================================================= */
@media (max-width: 1023px) {
  .header-inner { flex-wrap: wrap; gap: 0; }
  nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; }
  nav > a:not(.button) { display: flex; align-items: center; min-height: 44px; border-top: 1px solid var(--rule); }
  nav .button { align-self: start; margin-top: 8px; }
  .hero-grid { column-gap: 23px; }
  .program { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; text-align: left; }
  .steps li { display: flex; gap: 12px; align-items: flex-start; }
  .step { flex: 0 0 31px; margin-bottom: 0; }
  .steps p { margin-top: 2px; }
}
@media (max-width: 767px) {
  .section { margin-block: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "photos" "action"; padding-block: 32px 36px; row-gap: 22px; }
  h1 { font-size: clamp(1.875rem, 8.6vw, 2.25rem); }
  .hero-copy > p:last-child { margin-top: 12px; }
  .hero .eyebrow { margin-bottom: 8px; }
  .hero-photos { margin: 0 5px 4px 0; }
  .group { border-radius: 18px; }
  .rays { right: -9px; top: -11px; width: 32px; }
  .rays i { height: 15px; }
  .hero-action .button, #event .button { width: 100%; }
  .about, .split, .logistics { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .logistics__photo { aspect-ratio: 4 / 3; }
  /* スマホ：文章はすべて中央そろえ */
  .hero-copy, .about > div, .message > div, #recommend, #event, .footer { text-align: center; }
  .hero-copy > p:last-child { margin-inline: auto; }
  /* スマホ：チェック項目は左そろえ、まとまりごと中央。各項目を1行に収める */
  .checklist { width: fit-content; max-width: 100%; margin-inline: auto; }
  .checklist li { justify-content: flex-start; text-align: left; white-space: nowrap; font-size: min(1rem, 4.1vw); }
  .event-info { text-align: center; }
  .event-info > div { justify-items: center; }
  .steps { text-align: center; }
  .steps li { flex-direction: column; align-items: center; gap: 6px; }
  .footer { flex-direction: column; justify-content: center; }
  .features { grid-template-columns: 1fr; text-align: center; }
  .feature-panel > h2 { text-align: center; margin-bottom: 9px; }
  .features li { padding: 16px 0; }   /* スマホ：イラストの下に文章を中央そろえ */
  .features li + li { border-left: 0; border-top: 1px solid #edcfb6; }
  .illust { width: 88px; margin: 0 auto 6px; }
  .features p { margin-top: 4px; }
  .moments { grid-template-columns: minmax(0, 1fr); }
  .gallery-strip { flex: none; height: 170px; }   /* スマホは高さを決めて流す */
  .message { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .message img { width: min(42%, 180px); margin-inline: auto; }   /* 石塚さんのイラストを中央に */
  #recommend > h2 { display: table; margin-inline: auto; }   /* 「こんな方におすすめ」を中央に */
  /* 当日の流れ：説明と注意書きが1行に収まるよう、文字と余白を少し小さく */
  #flow { padding-inline: 16px; }
  .steps li { gap: 10px; }
  .steps p { font-size: min(.94rem, 4vw); white-space: nowrap; }
  #flow .note { font-size: min(.875rem, 3.7vw); white-space: nowrap; }
  /* 開催概要：「詳細は申込フォームをご確認ください」が1行に収まるように */
  #event { padding-inline: 18px; }
  .event-info dd { font-size: min(1rem, 4.2vw); }
  .host { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .host__photo { width: min(72%, 280px); margin-inline: auto; }
  .host__body { text-align: center; }
  .host__line + .host__line { margin-top: .6em; }
  .host__book { text-align: left; margin-inline: auto; }
  .host__book p { font-size: .85rem; }
  .host__book .phrase { display: inline; }   /* 書名は自然な位置で折り返す */
  .host__sns { justify-content: center; }
}
@media (max-width: 479px) {
  /* 開催概要：項目名の下に内容を置く（幅がせまいため） */
  .event-info > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 359px) {
  .entry-bar__btn { padding-inline: 20px; font-size: 1rem; }
}

/* 「動きを減らす」設定の人には動かさない */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .hero__cta, .entry-bar { transition: none; }
  /* 動きを減らす設定の人には、写真を流さず、指で横に動かせる形にする */
  .gallery-track { animation: none; position: static; height: 100%; }
  .gallery-strip { overflow-x: auto; }
  .gallery-copy { display: none; }
}
