/* =========================================================
   鮨塚交流会 LP — 見た目（style.css）
   色を変えるときは、下の :root の値だけを書き換えてください。
   ========================================================= */

:root {
  /* --- 色：薄い水色を基調に、ボタンはオレンジ --- */
  --color-bg: #f3f8fa;        /* ページの地の色（ごく薄い水色） */
  --color-tint: #e2eff4;      /* 薄水色の面（最初の画面など） */
  --color-surface: #ffffff;   /* 白い面（イラストの背景が白のため、申込エリアと下の帯は白） */
  --color-text: #24343c;      /* 本文の文字 */
  --color-muted: #66808c;     /* 補足の文字・日本語の小見出し */
  --color-line: #cfe0e7;      /* 罫線 */
  --color-main: #4f7f94;      /* 英字見出しなど（くすんだ水色） */
  --color-button: #e8782f;    /* ボタン（オレンジ。ページ内で一番目立つ色） */
  --color-button-hover: #cf6420;
  --color-unset: #b0531f;     /* 【未設定】の仮表示 */

  /* --- 文字（システムフォント） --- */
  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --font-en: "Times New Roman", "Georgia", serif;

  /* --- 大きさ --- */
  --header-h: 60px;
  --bar-h: 76px;              /* 画面下の申し込みの帯の高さ */
  --section-space: 104px;     /* セクションの上下の余白（スマホ） */
  --content-w: 960px;         /* 本文の最大幅 */
}

@media (min-width: 768px) {
  :root {
    --header-h: 72px;
    --bar-h: 88px;
    --section-space: 160px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);    /* ページ内移動でヘッダーが見出しを隠さない */
  scroll-padding-bottom: var(--bar-h);
}

body {
  margin: 0;
  padding-bottom: var(--bar-h);           /* 下の帯でページの最後が隠れないように */
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: anywhere;
}

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

a { color: inherit; }

h1, h2, p, dl, dd { margin: 0; }

.unset { color: var(--color-unset); font-weight: 600; }

/* 文章のまとまり（この中では改行しない） */
.phrase { display: inline-block; }

small { font-size: 13px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--color-button);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  line-height: 1.5;
  border-radius: 2px;
  transition: background-color 0.3s;
}
.btn:hover,
.btn:focus-visible { background: var(--color-button-hover); }
.btn:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; }

.btn--small {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 8px 16px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

/* ---------- ⓪ ヘッダー（画面上部に固定） ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  background: var(--color-surface);       /* イラストの背景が白のため白 */
  border-bottom: 1px solid var(--color-line);
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
  min-width: 0;
  height: 100%;
}
/* 寿司を差し出すイラスト（小さく）：開いたときに1回だけ動いて、そのまま止まる */
.site-header__illust {
  height: calc(var(--header-h) - 10px);
  width: auto;
  align-self: flex-end;
  transform-origin: 30% 100%;
  animation: offer-sushi 1.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0.6s 1 both;
}
@keyframes offer-sushi {
  0%   { opacity: 0; transform: translate(-16px, 10px) rotate(-4deg); }
  55%  { opacity: 1; transform: translate(4px, 0) rotate(3deg) scale(1.04); }
  100% { opacity: 1; transform: none; }
}
.site-header__name {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.16em;
  color: var(--color-text);
}
.site-header__logo .unset { font-size: 12px; white-space: nowrap; }

/* 幅の狭いスマホ（360px未満） */
@media (max-width: 359px) {
  .site-header { padding: 0 12px; }
  .site-header__name { font-size: 16px; letter-spacing: 0.1em; }
  .btn--small { padding: 8px 12px; font-size: 13px; }
}

@media (min-width: 768px) {
  .site-header { padding: 0 40px; }
  .site-header__name { font-size: 20px; }
}

main { padding-top: var(--header-h); }

/* ---------- ① ファーストビュー（動画を大きく） ---------- */
.hero {
  background: var(--color-tint);
}

/* 動画：横長の画面（パソコンなど）では、上の帯と下の帯のあいだいっぱいに表示。
   動画の文字が切れないよう、動画全体が収まる大きさにする（余った左右は動画になじむ暗い色）。
   縦長の画面（スマホなど）では、横幅いっぱい・16:9 で表示 */
.hero__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2a2d2f;
}
.hero__movie {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-aspect-ratio: 3/2) {
  .hero__video {
    aspect-ratio: auto;
    height: calc(100vh - var(--header-h) - var(--bar-h));
    height: calc(100svh - var(--header-h) - var(--bar-h));
  }
}

.hero__body {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 56px 24px 72px;
  text-align: center;
}

.hero__catch {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.7;
  letter-spacing: 0.1em;
}
.hero__sub {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-muted);
}
.hero__info {
  display: inline-grid;
  gap: 4px;
  margin-top: 28px;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.hero__info > div {
  display: grid;
  grid-template-columns: 3em 1fr;
  gap: 8px;
}
.hero__info dt { color: var(--color-muted); }
.hero .btn { display: table; margin: 32px auto 0; }

@media (min-width: 768px) {
  .hero__body { padding: 80px 40px 112px; }
  .hero__catch { font-size: 36px; }
  .hero__sub { font-size: 17px; }
}

/* ---------- 各セクション共通 ---------- */
.section {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: var(--section-space) 24px;
}
@media (min-width: 768px) {
  .section { padding-left: 40px; padding-right: 40px; }
}

.section__head {
  text-align: center;
  margin-bottom: 48px;
}
.section__en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  color: var(--color-main);
}
.section__ja {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}
@media (min-width: 768px) {
  .section__head { margin-bottom: 64px; }
  .section__en { font-size: 64px; }
  .section__ja { font-size: 20px; }
}

.section__text {
  max-width: 40em;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .section__text { text-align: center; }
}

/* ---------- ③〜⑥ 左右交互のレイアウト ---------- */
.split .section__head { text-align: left; }
.split .section__text { text-align: left; margin: 0; }
.split__media:empty { display: none; }  /* 写真がまだない欄は場所を取らない（スマホ） */
.split__photo {
  width: 100%;
  margin-top: 40px;
  object-fit: cover;
}
.split__photo--tall { max-width: 420px; }

@media (min-width: 900px) {
  .section.split {
    max-width: 1160px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .split--right .split__text { order: 2; }   /* 文章を右に */
  .split--right .split__media { order: 1; }
  .split__media:empty { display: block; }   /* パソコンでは写真の場所を空けておく */
  .split__photo { margin-top: 0; }
  .split--right .split__photo { margin-left: auto; }
  .split__photo--tall { max-width: 440px; }
  .host__photo { max-width: 360px; }
}

/* ---------- ⑤ OUTLINE ---------- */
.outline__list {
  border-top: 1px solid var(--color-line);
}
.outline__row {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--color-line);
}
.outline__row dt { color: var(--color-muted); }
/* 幅の狭いスマホ：項目名を上、内容を下に（日付が途中で折り返さないように） */
@media (max-width: 479px) {
  .outline__row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 16px 4px;
  }
  .outline__row dt { font-size: 14px; }
}

/* ---------- ⑥ HOST ---------- */
.host__photo {
  max-width: 280px;
  aspect-ratio: 355 / 631;
}
.host__title {
  font-size: 14px;
  color: var(--color-muted);
}
.host__name {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.14em;
}
.host__kana {
  margin-left: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}
.host__text { margin-top: 24px; }
.host__text a { color: var(--color-main); }
.host__sns {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 15px;
}
.host__sns a {
  color: var(--color-main);
  text-underline-offset: 4px;
}

/* ---------- ⑧ フッター ---------- */
.site-footer {
  padding: 64px 24px 40px;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
}
.site-footer__company {
  margin-top: 32px;
  font-family: var(--font-serif);
  color: var(--color-text);
  letter-spacing: 0.14em;
}
.site-footer__copy { margin-top: 4px; }

/* ---------- 画面下に固定する申し込みの帯 ---------- */
.entry-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 16px;
  background: var(--color-surface);     /* イラストの背景が白のため白 */
  border-top: 1px solid var(--color-line);
  box-shadow: 0 -4px 16px rgba(36, 52, 60, 0.06);
}
.entry-bar .btn {
  white-space: nowrap;
  padding: 14px 28px;
}
.entry-bar__gif {
  height: calc(var(--bar-h) - 12px);
  width: auto;
}
@media (min-width: 768px) {
  .entry-bar { gap: 24px; }
  .entry-bar .btn { padding: 16px 48px; }
}

/* 「動きを減らす」設定の人には動かさない */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header__illust { animation: none; }
}
