/* ===========================
   OATSURAE - Global Reset
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-black: #0a0a0a;
  --color-white: #fafaf8;
  --color-gray-light: #f4f3f0;
  --color-gray-mid: #d4d0c8;
  --color-gray-dark: #4f4a44;  /* 白背景の本文（会社概要・プライバシーポリシー） */
  --color-gold: #b8a882;
  --color-gold-light: #d4c9a8;

  /* FV以下のパレット
     ウォームホワイトはスクロール時ヘッダー（#fafaf8）と並んでも浮かないよう #FFFDF9 から微調整。
     ゴールドは見出し・罫線・ボタン等のアクセントのみに使用する */
  --oa-ink: #211d19;          /* ウォームブラック：文字・暗背景セクション */
  --oa-brown: #78552a;        /* ブラウン：ヘッダーアイコン（白背景時） */
  --oa-ink-deep: #181512;     /* フッター（お問い合わせとの区切り） */
  --oa-gold: #a38b4f;         /* アンティークゴールド：明背景の罫線・枠線などの装飾 */
  --oa-gold-text: #806530;    /* 明背景のゴールド文字（英字ラベル・番号）。視認性のため --oa-gold より濃い */
  --oa-champagne: #d8c69d;    /* シャンパンゴールド：暗背景のアクセント・細罫線 */
  --oa-ivory: #f7f4ee;        /* アイボリー：交互の背景 */
  --oa-warm-white: #fcfaf6;   /* ウォームホワイト：基本背景 */
  --oa-taupe: #554b40;        /* トープ：明背景の本文・補足テキスト */
  --oa-line: #e3dacb;         /* 明背景の区切り線 */
  --oa-form-bg: #f4f5f2;      /* お問い合わせ：埋め込みフォーム（order.oatsurae.com）の背景色に合わせる */
  /* CTA（FVのボタンと共通） */
  --oa-cta: #bcb19d;
  --oa-cta-hover: #cdc3b0;
  --oa-cta-text: #3a2414;
  --font-en: 'Cormorant Garamond', serif;
  --font-jp: 'Noto Serif JP', serif;      /* 見出し・装飾（明朝） */
  --font-body: 'Noto Sans JP', sans-serif; /* 本文（ゴシック） */
  --font-num: 'Noto Serif JP', serif;     /* 金額の数字（ライニング数字で読みやすく） */
  --transition: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--oa-warm-white);
  color: var(--oa-ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

/* 固定ヘッダーの高さ分、アンカー移動先をずらす（他ページから index.php#contact などで来たとき用。
   ページ内リンクのクリックは js/main.js でヘッダーの実際の高さを使う）。スクロール後のPCヘッダー（約74px）より大きくする */
section[id] { scroll-margin-top: 80px; }

/* SPメニュー展開中は背景をスクロールさせない */
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================
   HEADER
=========================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 40px;
  transition: background var(--transition), padding var(--transition);
}

#header.scrolled {
  background: #e0d9d2;
  backdrop-filter: blur(12px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--color-gray-mid);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  /* 左右の余白は #header の padding で確保 */
  max-width: 1100px;
  margin: 0 auto;
}

/* ロゴ - 左端。縮小前のロゴの高さ（40px）を確保し、ヘッダーの高さを変えない */
.logo {
  justify-self: start;
  display: flex;
  align-items: center;
  height: 40px;
}

/* 正式ロゴ（bespoke catering 入り・縦横比 1000:205）。縮小前 40px の 80% */
.logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

#header.scrolled .logo img {
  filter: none;
}

/* ナビ - 中央 */
.nav {
  justify-self: center;
}

.nav ul {
  display: flex;
  gap: 48px;
  align-items: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
  transition: color 0.3s;
  position: relative;
}

/* メニュー名の左のアイコン（images/icon-nav.svg を mask で表示）
   色は --nav-icon-color、未指定なら文字色（currentColor）に連動 */
.nav a::before {
  content: '';
  flex-shrink: 0;
  width: 12px;
  height: 14px;
  background-color: var(--nav-icon-color, currentColor);
  -webkit-mask: url('../images/icon-nav.svg') center / contain no-repeat;
  mask: url('../images/icon-nav.svg') center / contain no-repeat;
  transition: background-color 0.3s;
}

/* 白背景のヘッダー（スクロール後・下層ページ）では茶色 */
#header.scrolled .nav a,
.page-company #header .nav a {
  --nav-icon-color: var(--oa-brown);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s;
}

/* SP メニュー専用の項目（PC はヘッダー右のボタンがあるため非表示） */
.nav .nav-sp-only { display: none; }

.nav a:hover::after { width: 100%; }
.nav a:hover { color: var(--color-white); }

#header.scrolled .nav a {
  color: var(--color-black);
}

#header.scrolled .nav a:hover {
  color: var(--oa-gold-text);
}

/* ヘッダー右 - お問い合わせボタン */
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-inquiry {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-white);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 9px 22px;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  white-space: nowrap;
}

.btn-inquiry:hover {
  background: rgba(255,255,255,0.22);
}

#header.scrolled .btn-inquiry {
  color: var(--color-black);
  background: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
}

#header.scrolled .btn-inquiry:hover {
  background: var(--color-gray-dark);
  border-color: var(--color-gray-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-white);
  transition: all 0.3s;
}

#header.scrolled .menu-toggle span { background: var(--color-black); }

/* ===========================
   HERO
   PCデザイン 1440×900 / SPデザイン 440×900 基準
   （ヘッダーは写真の上に重なる）
=========================== */
.hero {
  --hero-gold: #c4ab78;
  position: relative;
  display: flex;
  align-items: center;
  /* 表示領域の高さに追従（最小 700px）。コンテンツが収まらない場合は min-height なので自然に伸びる。
     ヘッダーは FV に重なるため、この高さにヘッダー分も含む（.hero-inner の上余白で回避） */
  min-height: 700px;
  min-height: max(700px, 100vh);
  min-height: max(700px, 100dvh);
  overflow: hidden;
  background: var(--color-black);
  color: var(--color-white);
}

@media (max-width: 767px) {
  .hero {
    min-height: 600px;
    min-height: max(600px, 100vh);
    min-height: max(600px, 100dvh);
  }
}

/* 背景写真：縦横比を保ったまま全面を覆う */
.hero-bg,
.hero-overlay,
.hero-bokeh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-slide,
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  object-fit: cover;
  object-position: 70% 20%;
}

/* クロスフェード：写真を重ね、次の写真を表示中の写真の上でフェードイン
   （下の写真は不透明のまま残すので、フェード中に背景が透けない） */
.hero-bg { z-index: 0; overflow: hidden; }

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
}

.hero-slide.is-prev {
  z-index: 1;
  opacity: 1;
}

.hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  transition: opacity 1.5s ease-in-out;
}

/* ゆっくり拡大（100% → 108%）
   is-active → is-prev に切り替わっても同じアニメーションが続くため、フェード中も途切れない。
   is-prev が外れて非表示になった時点で 100% に戻る。
   基点をトリミング位置に合わせ、拡大しても写真の見せたい位置がずれないようにする */
.hero-slide img { transform-origin: 70% 20%; }

.hero-slide.is-active img,
.hero-slide.is-prev img {
  /* フェードイン 1.5s + 表示 5s + フェードアウト 1.5s */
  animation: hero-zoom 8s ease-out forwards;
  will-change: transform;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { transition: none; }
  .hero-slide.is-active img,
  .hero-slide.is-prev img { animation: none; }
}

/* 左ほど暗いグラデーション（文字の可読性確保） */
.hero-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,0.99) 0%, rgba(0,0,0,0.5) 76%, rgba(0,0,0,0.5) 100%);
}

.hero-bokeh { display: none; }

.hero .sp-only { display: none; }

/* テキストエリア */
.hero-inner {
  position: relative;
  width: 100%;
  padding: 80px 0 21px clamp(32px, 8.33vw, 120px);
  font-family: "Shippori Mincho", var(--font-jp);
  font-weight: 400;
}

.hero-catch,
.hero-title,
.hero-desc {
  padding-left: 9px;
}

/* キャッチ＋価格 */
.hero-catch {
  padding-left: 8px;
  font-size: clamp(14px, 1.29vw, 18.6px);
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-price {
  margin: 0 -0.05em 0 -0.45em;
  color: var(--hero-gold);
}

.hero-price-num {
  font-family: var(--font-num);
  font-variant-numeric: lining-nums;
  font-size: clamp(48px, 5.2vw, 75px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-catch-tail {
  font-size: 0.85em;
}

.hero-price-unit {
  font-size: clamp(26px, 2.78vw, 40px);
}

/* メイン見出し */
.hero-title {
  position: relative;
  margin-top: clamp(24px, 5.7vh, 51px);
  padding-bottom: 29px;
  font-size: clamp(46px, 5.49vw, 79px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.hero-title-sub,
.hero-title-main {
  display: block;
}

.hero-title-sub {
  font-size: 0.64em;
}

.hero-title-main {
  margin-top: 0.4em;
}

.hero-title-kana {
  font-size: 0.88em;
}

.hero-title-gold {
  color: var(--hero-gold);
}

/* 金色の下線 */
.hero-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 6.48em;
  height: 4px;
  background: linear-gradient(90deg, #4a301b 0%, #9a703c 12%, #7a5832 24%, #deb87a 36%, #f5deaa 42%, #c08f4a 55%, #7f5a2d 66%, #9a6f3a 78%, #684623 90%, #4a3321 100%);
}

/* 説明文 */
.hero-desc {
  margin-top: clamp(32px, 7.8vh, 70px);
  font-size: clamp(15px, 1.46vw, 21px);
  line-height: 1.6;
  white-space: nowrap;
}

/* CTAボタン */
/* 四隅を内側へ丸くえぐったボタン
   背景は ::before に描いて mask で切り欠く（切り欠きから FV の写真が透ける）。
   ボタン本体は長方形のままなので、クリック範囲とフォーカス枠は切り取られない */
.hero-cta {
  --cta-bg: #c6b9a1;
  --cta-bg-hover: #d3c8b4;
  --cta-notch: 9px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(260px, 24.3vw, 350px);
  height: clamp(52px, 4.17vw, 60px);
  margin-top: clamp(36px, 9.22vh, 83px);
  color: #20160d;
  font-size: clamp(16px, 1.46vw, 21px);
  letter-spacing: 0.04em;
}

.hero-cta::before,
.cs-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cta-bg);
  transition: background 0.3s;
  -webkit-mask:
    radial-gradient(circle at 0 0, transparent calc(var(--cta-notch) - 0.5px), #000 var(--cta-notch)) top left / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent calc(var(--cta-notch) - 0.5px), #000 var(--cta-notch)) top right / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent calc(var(--cta-notch) - 0.5px), #000 var(--cta-notch)) bottom left / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent calc(var(--cta-notch) - 0.5px), #000 var(--cta-notch)) bottom right / 51% 51% no-repeat;
  mask:
    radial-gradient(circle at 0 0, transparent calc(var(--cta-notch) - 0.5px), #000 var(--cta-notch)) top left / 51% 51% no-repeat,
    radial-gradient(circle at 100% 0, transparent calc(var(--cta-notch) - 0.5px), #000 var(--cta-notch)) top right / 51% 51% no-repeat,
    radial-gradient(circle at 0 100%, transparent calc(var(--cta-notch) - 0.5px), #000 var(--cta-notch)) bottom left / 51% 51% no-repeat,
    radial-gradient(circle at 100% 100%, transparent calc(var(--cta-notch) - 0.5px), #000 var(--cta-notch)) bottom right / 51% 51% no-repeat;
}

.hero-cta:hover::before,
.cs-cta:hover::before {
  background: var(--cta-bg-hover);
}

.hero-cta:focus-visible {
  outline: 1px solid var(--oa-champagne);
  outline-offset: 5px;
}

.hero-cta-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 36px;
  height: 9px;
  margin-top: -2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  transition: transform 0.3s;
}

.hero-cta:hover .hero-cta-arrow {
  transform: translateX(4px);
}

/* ===========================
   MESSAGE / PHILOSOPHY
=========================== */
.msg {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 680px;
  background: var(--oa-warm-white);
  overflow: hidden;
}

/* 左カラム */
.msg-left {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 110px 60px 110px 80px;
}

.msg-vert {
  writing-mode: vertical-rl;
  font-family: var(--font-jp);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--oa-gold-text);
  flex-shrink: 0;
  padding-top: 4px;
}

.msg-text { flex: 1; }

.msg-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--oa-gold-text);
  margin-bottom: 28px;
}

.msg-heading {
  font-family: var(--font-jp);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 200;
  line-height: 1.55;
  letter-spacing: 0.06em;
  margin-bottom: 48px;
  color: var(--oa-ink);
}

.msg-body p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 2.3;
  color: var(--oa-taupe);
  margin-bottom: 20px;
}

/* 右カラム：2枚の写真を重ねる */
.msg-right {
  position: relative;
  overflow: hidden;
  background: var(--oa-ivory);
}

.msg-photo {
  position: absolute;
  overflow: hidden;
}

.msg-photo--top {
  top: 6%;
  left: 0;
  width: 76%;
  aspect-ratio: 4 / 3;
  z-index: 1;
}

.msg-photo--bottom {
  bottom: 6%;
  right: 0;
  width: 68%;
  aspect-ratio: 4 / 3;
  z-index: 2;
  box-shadow: -8px 8px 32px rgba(33,29,25,0.18);
}

.msg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===========================
   SHARED SECTION STYLES
=========================== */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--oa-gold-text);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-jp);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 200;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

/* 見出しの中のサービス名ロゴ（OATSURAE）。続く文字と一続きで読めるよう文中に置く。
   大きさは見出しの文字サイズに比例（ロゴの英字の高さ ≒ 0.85文字分）。
   画像は bespoke catering を除いたもの（1000×144）。下から 16% が英字のベースラインより下（R の払い）なので、
   その分下げて英字と文字の下端をそろえる */
.brand-logo-inline {
  display: inline-block;
  height: 1.054em;
  width: auto;
  margin: 0 0.08em 0 0;
  vertical-align: -0.168em;
}

/* ===========================
   PAGE TOP 縦書きラベル
=========================== */
.page-top-label {
  position: fixed;
  right: 28px;
  bottom: 80px;
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.45em;
  /* 明るい背景・暗い背景の両方に重なるため中間色 */
  color: #8a8073;
  text-decoration: none;
  z-index: 50;
  transition: color 0.3s;
}

.page-top-label:hover {
  color: var(--oa-gold);
}

/* ===========================
   SERVICE
=========================== */
.svc {
  background: var(--oa-warm-white);
}

/* --- 見出しエリア --- */
.svc-heading {
  text-align: center;
  padding: 100px 40px 80px;
}

.svc-heading-title {
  font-family: var(--font-jp);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 200;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-top: 16px;
}

/* --- 英字見出し（日本語見出しの上に小さく添える） --- */
.svc-title-en {
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--oa-gold-text);
}

/* --- 日本語見出し --- */
.svc-subtitle-jp {
  font-family: var(--font-jp);
  font-size: clamp(20px, 1.9vw, 25px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--oa-ink);
  margin-top: 10px;
}

/* --- 本文 --- */
.svc-body {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 2.2;
  color: var(--oa-taupe);
  margin-top: 20px;
}

/* --- 詳しく見る リンク --- */
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--oa-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  margin-top: 28px;
  width: fit-content;
  transition: color 0.3s;
}

.svc-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.svc-link:hover { color: var(--oa-gold-text); }
.svc-link:hover .svc-arrow { transform: translateX(6px); }

/* ========================
   3カード横並び（新サービス構成）
======================== */
.svc-three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px dashed var(--oa-line);
}

.svc-three-card {
  display: flex;
  flex-direction: column;
  border-right: 1px dashed var(--oa-line);
}

.svc-three-card:last-child {
  border-right: none;
}

.svc-three-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.svc-three-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.svc-three-card:hover .svc-three-card-img img {
  transform: scale(1.04);
}

.svc-three-card-body {
  padding: 40px 44px 52px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px dashed var(--oa-line);
}

.svc-three-num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--oa-gold-text);
  margin-bottom: 16px;
}

/* ===========================
   OUR EXPERIENCE（イメージ映像）
   明るいセクションに挟まれた区切りとしてウォームブラックを使用
=========================== */
.pv {
  padding: 140px 40px;
  background: var(--oa-ink);
  color: var(--oa-warm-white);
}

.pv-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.pv-heading {
  text-align: center;
  margin-bottom: 64px;
}

.pv-heading .section-en { color: var(--oa-champagne); }

/* SP のみ「がつくる、」の後で改行 */
.pv-title-br { display: none; }

.pv-lead {
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 2;
  color: rgba(255,253,249,0.72);
}

/* 16:9 のプレイヤー枠（プレビュー・再生用の動画とも同じ枠に収める） */
.pv-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  /* 動画のシーンを読み込むまでの仮背景 */
  background:
    radial-gradient(ellipse at 70% 30%, rgba(216,198,157,0.16), transparent 60%),
    linear-gradient(135deg, #2b2620 0%, #181512 100%);
}

/* JS の hidden 切り替えを優先（img / .pv-poster の display 指定より強く） */
.pv-player [hidden] { display: none; }

.pv-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

/* 動画のワンシーンを静止表示するプレビュー（クリック前） */
.pv-preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* 写真を少し沈め、再生ボタンを引き立てる */
.pv-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(33,29,25,0.28);
  transition: background 0.4s;
}

.pv-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border: 1px solid rgba(216,198,157,0.8);
  border-radius: 50%;
  background: rgba(33,29,25,0.25);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
}

.pv-play svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
  fill: var(--oa-champagne);
}

.pv-poster:hover .pv-preview { transform: scale(1.03); }
.pv-poster:hover::after { background: rgba(33,29,25,0.18); }

.pv-poster:hover .pv-play {
  background: rgba(216,198,157,0.18);
  border-color: var(--oa-champagne);
  transform: scale(1.05);
}

.pv-poster:focus-visible {
  outline: 1px solid var(--oa-champagne);
  outline-offset: 6px;
}

.pv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

@media (max-width: 768px) {
  .pv { padding: 80px 0; }
  .pv-heading { margin-bottom: 40px; padding: 0 24px; }
  /* ロゴ＋「がつくる、」が 320px 幅でも1行に収まるサイズ */
  .pv-heading .section-title { font-size: min(6vw, 24px); }
  .pv-title-br { display: inline; }
  .pv-lead { margin-top: 16px; font-size: 13px; }
  .pv-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .pv-play svg { width: 26px; height: 26px; margin-left: 3px; }}

/* ===========================
   CATERING SERVICE
   01 Bespoke：写真全面＋テキスト / 02 ATSURAEZUMI：写真上・文字下のコースカード
=========================== */
.cs {
  padding-top: 120px;
  background: var(--oa-warm-white);
}

.cs .sp-only { display: none; }

.cs-heading {
  margin-bottom: 96px;
  padding: 0 40px;
  text-align: center;
}

.cs-lead {
  margin-top: 28px;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 2.1;
  color: var(--oa-taupe);
}

/* 「01 / BESPOKE CATERING」などの番号ラベル */
.cs-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--oa-ink);
}

.cs-label-num {
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--oa-gold-text);
}

.cs-label::after {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--oa-gold);
}

/* 写真上（暗い背景）に置く場合 */
.cs-label--light {
  margin-bottom: 24px;
  color: var(--oa-warm-white);
}

.cs-label--light .cs-label-num { color: var(--oa-champagne); }
.cs-label--light::after { background: var(--oa-champagne); }

/* --- 01 Bespoke --- */
.cs-bespoke-visual {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 680px;
  overflow: hidden;
  background: var(--oa-ink);
  color: var(--oa-warm-white);
}

.cs-bespoke-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 文字の背後だけを沈める最小限のグラデーション */
.cs-bespoke-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(33,29,25,0.84) 0%, rgba(33,29,25,0.66) 36%, rgba(33,29,25,0.12) 68%, rgba(33,29,25,0) 100%);
}

.cs-bespoke-body {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin-left: max(40px, calc((100% - 1280px) / 2 + 40px));
  padding: 96px 0;
}

/* サービス名「オーダーメイドケータリング」 */
.cs-bespoke-title {
  font-family: var(--font-jp);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* キャッチコピー（サービス名の下・大きく） */
.cs-bespoke-catch {
  font-family: var(--font-jp);
  font-size: clamp(28px, 2.9vw, 40px);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

.cs-bespoke-text {
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: rgba(255,253,249,0.86);
}

.cs-bespoke-text + .cs-bespoke-text { margin-top: 14px; }

.cs-bespoke-price {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-top: 40px;
  padding: 16px 0;
  border-top: 1px solid rgba(216,198,157,0.4);
  border-bottom: 1px solid rgba(216,198,157,0.4);
}

.cs-bespoke-price dt {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--oa-champagne);
}

.cs-bespoke-price dd {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.12em;
}

.cs-bespoke-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,253,249,0.72);
}

/* 切り欠き型 CTA（形状・ホバー色は .hero-cta と共通ルール） */
.cs-cta {
  --cta-bg: #c6b9a1;
  --cta-bg-hover: #d3c8b4;
  --cta-notch: 9px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  height: 58px;
  margin-top: 40px;
  padding: 0 76px 0 36px;
  color: #20160d;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.cs-cta-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 32px;
  height: 9px;
  margin-top: -2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  transition: transform 0.3s;
}

.cs-cta:hover .cs-cta-arrow { transform: translateX(4px); }

.cs-cta:focus-visible {
  outline: 1px solid var(--oa-champagne);
  outline-offset: 5px;
}

.cs-cta--center {
  display: flex;
  width: fit-content;
  margin: 56px auto 0;
}

/* ボタン内の ATSURAEZUMI ロゴ（1000×112）。英字の高さ（画像の 80%）がボタンの文字よりわずかに大きくなる高さ。
   画像の下 17.4% が英字のベースラインより下（R の払い）なので、その分下げて続く文字と下端をそろえる */
.cs-cta-logo {
  display: inline-block;
  height: 1em;
  width: auto;
  margin-right: 0.2em;
  vertical-align: -0.174em;
}

.cs-cta--center:focus-visible { outline-color: var(--oa-gold); }

/* --- 02 ATSURAEZUMI --- */
.cs-zumi {
  padding: 120px 40px 140px;
}

.cs-zumi-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* 見出しは正式ロゴ画像（「誂え済み」を含む） */
.cs-zumi-title {
  margin-top: 28px;
  line-height: 0;
}

.cs-zumi-logo {
  width: clamp(300px, 30vw, 400px);
  height: auto;
}

.cs-zumi-catch {
  margin-top: 32px;
  font-family: var(--font-jp);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--oa-ink);
}

.cs-zumi-text {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: var(--oa-taupe);
}

.cs-courses-label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 72px 0 32px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--oa-gold-text);
}

.cs-courses-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--oa-line);
}

.cs-courses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 28px;
}

/* コース画像枠（4:3）。内側の細枠は ::before、data-kanji があれば文字の仮表示 */
.cs-course-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--oa-ivory);
}

.cs-course-photo::before {
  content: attr(data-kanji);
  position: absolute;
  inset: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--oa-line);
  font-family: "Shippori Mincho", var(--font-jp);
  font-size: 40px;
  letter-spacing: 0.1em;
  color: rgba(163,139,79,0.5);
}

.cs-course-photo img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cs-course-photo img[hidden] { display: none; }

.cs-course:hover .cs-course-photo img { transform: scale(1.04); }

/* コース名のロゴ（h4 の中）：本文の先頭に中央揃えで表示。全コース同じ幅（＝ATSURAEZUMI の文字幅をそろえる） */
.cs-course--logo .cs-course-name {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  line-height: 0;
}

/* img は全体で display: block のため、左右 auto で中央に置く */
.cs-course-logo {
  width: 49.6%; /* 縮小前（62% / 最大 170px）の 80% */
  max-width: 136px;
  height: auto;
  margin-inline: auto;
}

/* ロゴ表示のカードは、ロゴの下に価格と品数（右）を1行で並べる */
.cs-course--logo .cs-course-price { grid-column: 1; grid-row: 2; }
.cs-course--logo .cs-course-items { grid-column: 2; grid-row: 2; }

/* 同じ行のカードは高さを揃え、下線の位置を統一する */
.cs-course {
  display: flex;
  flex-direction: column;
}

.cs-course-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  align-content: start;
  row-gap: 6px;
  padding: 20px 0 18px;
  border-bottom: 1px solid var(--oa-line);
}

.cs-course-name {
  font-family: "Shippori Mincho", var(--font-jp);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--oa-ink);
}

.cs-course-en {
  font-family: var(--font-en);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--oa-taupe);
}

.cs-course-items {
  padding: 1px 10px;
  border: 1px solid var(--oa-line);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--oa-taupe);
}

.cs-course-price {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--oa-ink);
}

.cs-course-num {
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 400;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.02em;
}

.cs-course-tax {
  margin-left: 4px;
  font-size: 12px;
  color: var(--oa-taupe);
}

/* キャプション：価格・コース名より控えめに */
.cs-course-desc {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--oa-line);
  font-size: 12.5px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--oa-taupe);
  /* 文節で折り返し、行末に1〜2文字だけ残るのを防ぐ（非対応ブラウザは通常の折り返し） */
  word-break: auto-phrase;
  text-wrap: pretty;
}

/* 「メニュー内容を見る」ボタン：カード下端にそろえる（キャプションの行が余白を受け持つ）。
   お問い合わせCTAより控えめな細枠のボタン */
.cs-course-body { grid-template-rows: auto auto 1fr auto; }
.cs-course-desc { align-self: start; }

.cs-course-menu-btn {
  grid-column: 1 / -1;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--oa-gold);
  background: transparent;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--oa-brown);
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.3s, color 0.3s;
}

.cs-course-menu-btn:hover { background: var(--oa-ivory); color: var(--oa-ink); }

.cs-course-menu-btn:focus-visible {
  outline: 1px solid var(--oa-brown);
  outline-offset: 2px;
}

/* プラスアイコン（細線2本） */
.cs-course-menu-icon,
.cs-menu-close span {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
}

.cs-course-menu-icon { right: 16px; }

.cs-course-menu-icon::before,
.cs-course-menu-icon::after,
.cs-menu-close span::before,
.cs-menu-close span::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  margin-top: -0.5px;
  background: currentColor;
}

.cs-course-menu-icon::after { transform: rotate(90deg); }

/* メニュー内容のモーダル（<dialog>）。開閉・背景スクロール固定は js/main.js */
html.is-modal-open,
html.is-modal-open body { overflow: hidden; }

.cs-menu {
  width: min(560px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100vh - 64px);
  max-height: calc(100dvh - 64px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--oa-line);
  background: var(--oa-warm-white);
  color: var(--oa-ink);
  box-shadow: 0 24px 60px rgba(33,29,25,0.18);
  overflow: hidden;
}

.cs-menu[open] {
  display: flex;
  flex-direction: column;
  animation: cs-menu-in 0.35s ease;
}

.cs-menu::backdrop {
  background: rgba(33,29,25,0.55);
  animation: cs-menu-fade 0.35s ease;
}

@keyframes cs-menu-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes cs-menu-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-menu[open],
  .cs-menu::backdrop { animation: none; }
}

/* 内容が収まらない場合はモーダルの内側だけを縦スクロール */
.cs-menu-inner {
  flex: 1 1 auto;
  min-height: 0;
  padding: 48px 48px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--oa-line) transparent;
}

.cs-menu-inner:focus { outline: none; }

.cs-menu-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--oa-gold-text);
  text-align: center;
}

.cs-menu-name {
  margin-top: 18px;
  line-height: 0;
}

.cs-menu-logo {
  width: 168px;
  max-width: 60%;
  height: auto;
  margin-inline: auto;
}

.cs-menu-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 16px;
  margin-top: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--oa-line);
  font-size: 13px;
  color: var(--oa-ink);
}

.cs-menu-tax {
  margin-left: 2px;
  font-size: 12px;
  color: var(--oa-taupe);
}

.cs-menu-items {
  padding: 1px 10px;
  border: 1px solid var(--oa-line);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--oa-taupe);
}

.cs-menu-list { margin-top: 8px; }

.cs-menu-list li {
  position: relative;
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid var(--oa-line);
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: var(--oa-ink);
  word-break: auto-phrase;
}

/* 行頭の小さな菱形 */
.cs-menu-list li::before {
  content: '';
  position: absolute;
  top: calc(11px + 0.875em - 2.5px);
  left: 3px;
  width: 5px;
  height: 5px;
  background: var(--oa-gold);
  transform: rotate(45deg);
}

.cs-menu-note {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--oa-taupe);
}

/* 閉じるボタン（右上。内側がスクロールしても常に表示） */
.cs-menu-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: var(--oa-warm-white);
  color: var(--oa-brown);
  cursor: pointer;
  transition: color 0.3s;
}

.cs-menu-close span {
  left: 50%;
  width: 18px;
  margin-left: -9px;
  height: 18px;
  margin-top: -9px;
}

.cs-menu-close span::before { transform: rotate(45deg); }
.cs-menu-close span::after { transform: rotate(-45deg); }

.cs-menu-close:hover { color: var(--oa-ink); }

.cs-menu-close:focus-visible {
  outline: 1px solid var(--oa-brown);
  outline-offset: -4px;
}

/* SP の横スワイプ用（案内文・ページインジケーター）。PC では非表示 */
.cs-courses-hint,
.cs-courses-dots { display: none; }

.cs-courses-note {
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--oa-taupe);
}

/* キャンセルポリシー（別ページ）へのテキストリンク */
.cs-policy-link {
  margin-top: 32px;
  text-align: center;
}

.cs-policy-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--color-gold);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--oa-gold-text);
  transition: opacity 0.3s;
}

.cs-policy-link a:hover { opacity: 0.65; }

/* ご利用にあたって（写真に関する注釈） */
.cs-notices {
  margin-top: 88px;
  padding: 40px 48px;
  background: var(--oa-ivory);
}

.cs-notices-label {
  margin-bottom: 24px;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--oa-ink);
}

.cs-notice-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.cs-notice dt {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--oa-line);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--oa-ink);
}

.cs-notice dd {
  margin-top: 12px;
  font-size: 13px;
  line-height: 2;
  color: var(--oa-taupe);
}

.cs-notice-body p + p { margin-top: 8px; }

@media (max-width: 1024px) {
  .cs-bespoke-visual { min-height: 600px; }
  .cs-courses { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .cs { padding-top: 80px; }
  .cs .sp-only { display: inline; }
  .cs .pc-only { display: none; }
  .cs-heading { margin-bottom: 64px; padding: 0 24px; }
  .cs-lead { margin-top: 20px; font-size: 13px; text-align: left; }

  /* SP は写真を上、文字を下に。写真の下端をウォームブラックへなじませる */
  .cs-bespoke-visual { display: block; min-height: 0; }
  .cs-bespoke-img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; }
  .cs-bespoke-visual::before {
    inset: auto 0 auto 0;
    top: calc(75vw - 120px);
    height: 120px;
    background: linear-gradient(180deg, rgba(33,29,25,0) 0%, var(--oa-ink) 100%);
  }
  .cs-bespoke-body { max-width: none; margin: 0; padding: 8px 24px 64px; }
  .cs-bespoke-title { font-size: 18px; margin-bottom: 10px; }
  /* キャッチは 320px 幅でも各行が1行に収まるサイズ */
  .cs-bespoke-catch { font-size: min(6.2vw, 26px); margin-bottom: 20px; }
  .cs-bespoke-text { font-size: 13px; }
  .cs-bespoke-price { margin-top: 32px; }
  .cs-bespoke-price dd { font-size: 19px; }

  .cs-cta {
    display: flex;
    width: 100%;
    height: 56px;
    padding: 0 48px 0 18px;
    font-size: 13px;
    letter-spacing: 0;
    white-space: nowrap;
    --cta-notch: 10px;
  }
  .cs-cta-arrow { right: 16px; width: 24px; }
  .cs-cta--center { margin-top: 40px; }

  .cs-zumi { padding: 72px 24px 80px; }
  .cs-zumi-title { margin-top: 20px; }
  .cs-zumi-logo { width: min(70vw, 270px); }
  .cs-zumi-catch { margin-top: 24px; }
  .cs-zumi-text { font-size: 13px; }
  .cs-courses-label { margin: 48px 0 12px; }

  /* コース一覧は横スワイプ：1枚を大きく、次のカードを少し見せる。
     左右の余白（24px）まで広げて画面端からスワイプできるようにする */
  .cs-courses-hint {
    display: block;
    margin-bottom: 16px;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--oa-taupe);
  }
  .cs-courses {
    display: flex;
    gap: 16px;
    margin: 0 -24px;
    padding: 0 24px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cs-courses::-webkit-scrollbar { display: none; }
  .cs-course {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  /* ホバー拡大はタッチ操作では不要 */
  .cs-course:hover .cs-course-photo img { transform: none; }

  /* ページインジケーター（ボタンは js/main.js で生成） */
  .cs-courses-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 20px;
  }
  .cs-courses-dot {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
  }
  .cs-courses-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--oa-line);
    transition: background 0.3s, transform 0.3s;
  }
  .cs-courses-dot[aria-current="true"]::before {
    background: var(--oa-gold-text);
    transform: scale(1.3);
  }
  .cs-courses-dot:focus-visible {
    outline: 1px solid var(--oa-gold);
    outline-offset: -2px;
  }
  .cs-courses-note { margin-top: 16px; }

  .cs-course-menu-btn { min-height: 48px; }
  .cs-menu {
    width: calc(100% - 40px);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
  }
  .cs-menu-inner { padding: 44px 22px 28px; }
  .cs-menu-logo { width: 150px; }
  .cs-menu-list li { padding: 10px 0 10px 18px; font-size: 13.5px; }
  .cs-menu-list li::before { top: calc(10px + 0.875em - 2.5px); left: 2px; }
  .cs-menu-close { top: 4px; right: 4px; }

  .cs-policy-link { margin-top: 28px; }
  .cs-notices { margin-top: 56px; padding: 28px 20px; }
  .cs-notice-list { gap: 32px; }
}

/* 320px 幅など小さいスマホ：相談ボタンの文字が矢印に重ならないよう、文字と左右の余白を少し詰める */
@media (max-width: 359px) {
  .cs-cta {
    padding: 0 44px 0 14px;
    font-size: 11px;
  }
}

/* ===========================
   ABOUT
=========================== */
.about {
  padding: 140px 40px;
  background: var(--oa-ivory);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-img {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-body .section-en { text-align: left; }

.about-body h2 {
  font-family: var(--font-jp);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 200;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin: 20px 0 36px;
}

.about-body p {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.2;
  color: var(--oa-taupe);
  margin-bottom: 20px;
}

/* ===========================
   SERVICE AREA
=========================== */
/* 前後（ABOUT＝アイボリー、FLOW＝暗背景）と区別するためウォームホワイト */
.area {
  padding: 120px 40px;
  background: var(--oa-warm-white);
  text-align: center;
}

.area-text {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 2;
  color: var(--oa-taupe);
}

/* 見出しと本文の間の短い罫線 */
.area-text::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  margin: 32px auto 28px;
  background: var(--oa-gold);
}

@media (max-width: 768px) {
  .area { padding: 80px 24px; }
  .area-text { font-size: min(15px, 4vw); letter-spacing: 0.1em; }
  .area-text::before { margin: 24px auto 20px; }
}

/* ===========================
   FLOW
=========================== */
/* 暗背景（旧お問い合わせセクションの配色）。続くお問い合わせ（明背景）との切り替えで流れを区切る */
.flow {
  padding: 120px 40px;
  background: var(--oa-ink);
  color: var(--oa-warm-white);
}

.flow .section-en { color: var(--oa-champagne); }

.flow .section-header {
  margin-bottom: 80px;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.flow-step-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  height: 80px;
  border: 1px solid var(--oa-champagne);
  justify-content: center;
  background: var(--oa-ink);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.flow-step-num span {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--oa-champagne);
  line-height: 1;
}

.flow-step-num strong {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 300;
  color: var(--oa-warm-white);
  line-height: 1.1;
}

.flow-connector {
  position: absolute;
  top: 40px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 1px;
  background: var(--oa-champagne);
}

.flow-connector.last {
  display: none;
}

.flow-step-body {
  margin-top: 28px;
  padding: 0 16px;
  text-align: center;
}

/* ステップ名は1行で表示（5列でも収まるよう画面幅に合わせて縮小） */
.flow-step-body h3 {
  font-family: var(--font-jp);
  font-size: clamp(13px, 1.22vw, 15px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
  white-space: nowrap;
  margin-bottom: 14px;
  color: var(--oa-warm-white);
}

.flow-step-body p {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,253,249,0.72);
}

/* お申し込み期限：フロー全体の下に置く補足（控えめに。上の細い罫線と小さな文字のみ）。
   各項目は「区分：期限」を1行で並べる */
.flow-deadline {
  max-width: 640px;
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(216,198,157,0.3);
  text-align: center;
}

.flow-deadline-title {
  margin-bottom: 10px;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,253,249,0.72);
}

.flow-deadline-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 32px;
}

.flow-deadline-item {
  display: flex;
  gap: 0.8em;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.flow-deadline-item dt {
  font-weight: 400;
  color: rgba(255,253,249,0.72);
}

.flow-deadline-item dd {
  color: rgba(255,253,249,0.55);
}

/* 1024px 以下は5列だとステップ名が1行に収まらないため縦並び */
@media (max-width: 1024px) {
  .flow-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .flow-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 40px;
    position: relative;
  }

  .flow-connector {
    position: absolute;
    top: 80px;
    left: 39px;
    width: 1px;
    height: calc(100% - 80px);
    background: var(--oa-champagne);
  }

  .flow-connector.last { display: none; }

  .flow-step-body {
    margin-top: 0;
    padding: 0;
    text-align: left;
    padding-top: 16px;
  }

  .flow-steps { max-width: 640px; }
  .flow-step-body h3 { font-size: 15px; }

  /* 縦並びのフローと同じ幅に揃える（各 STEP の下余白があるので上マージンは小さめ） */
  .flow-deadline { max-width: 640px; margin-top: 24px; }
}

@media (max-width: 768px) {
  .flow { padding: 80px 24px; }
  .flow-deadline { padding-top: 20px; }
  .flow-deadline-list { flex-direction: column; align-items: center; gap: 12px; }
  /* 項目名と期限が1行に収まらないため、SP は項目名の下に期限を置く */
  .flow-deadline-item { flex-direction: column; gap: 2px; }
  /* 320px 幅でも1行に収まるサイズ */
  .flow-step-body h3 { font-size: min(15px, 4.2vw); }
}

/* ===========================
   CONTACT
=========================== */
/* 背景は埋め込みフォームと同じ色にして、フォームがセクションに溶け込むようにする */
.contact {
  background: var(--oa-form-bg);
  color: var(--oa-ink);
  padding: 140px 40px;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-en { margin-bottom: 20px; color: var(--oa-gold-text); }

.contact-inner h2 {
  font-family: var(--font-jp);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 200;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.contact-lead {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.2;
  color: var(--oa-taupe);
  margin-bottom: 64px;
}

/* 埋め込みフォーム（order.oatsurae.com）。フォーム本体は変えられないため、iframe を上にずらし、
   枠の overflow: hidden で上部の見出し（OATSURAE ご注文・お見積り／オーダーメイドの高級ケータリング）を切り取る。
   --form-crop は実際の表示で測った値：見出しの下端 101.6px（フォームの上余白 16px＋見出し 85.6px）、
   最初のカード「01. ご注文情報」の上端 115.6px。その間（カードの上余白 14px）で切る。
   エラー表示（送信時）もカードと同じ位置から始まるので切れない */
.contact-form-frame {
  --form-crop: 112px;
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
}

.contact-form-frame iframe {
  display: block;
  width: 100%;
  height: 1600px; /* 読み込み前の仮の高さ。読み込み後はフォームから届く高さに置き換わる */
  margin-top: calc(-1 * var(--form-crop));
  border: 0;
}

/* フォームの幅が 342px 以下になると見出しが2行になる（見出しの下端 136.8px、カードの上端 150.8px）。
   スマホではフォームが画面幅いっぱいなので、画面幅で切り替える */
@media (max-width: 342px) {
  .contact-form-frame { --form-crop: 147px; }
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--oa-ink-deep);
  padding: 60px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(0.5);
}

.footer-nav ul {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,253,249,0.55);
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--oa-champagne); }

.footer-area {
  font-size: 11px;
  letter-spacing: 0.15em;
  line-height: 1.8;
  text-align: center;
  color: rgba(255,253,249,0.55);
}

/* 狭い画面では「対応エリア：」の後で改行し、都県名の途中で折り返さない */
.footer-area span { display: inline-block; }

.footer-copy {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,253,249,0.4);
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  /* MESSAGE */
  .msg { grid-template-columns: 1fr; }
  .msg-left { padding: 80px 40px; }
  .msg-right { min-height: 460px; }

  /* ABOUT */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img {
    aspect-ratio: 16/9;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  #header { padding: 16px 20px; }
  #header.scrolled { padding: 12px 20px; }
  .logo { height: 34px; }
  .logo img { height: 27px; } /* 縮小前 34px の 80% */

  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav { justify-self: auto; }

  /* 全画面メニュー（.open は JS で付与）。
     display の切り替えではフェードできないため、閉じている間は透明度と visibility で隠す */
  .nav {
    display: flex;
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 120% 55% at 50% 0%, rgba(216,198,157,0.14) 0%, rgba(216,198,157,0) 70%),
      linear-gradient(180deg, rgba(33,29,25,0.97) 0%, rgba(10,8,6,0.98) 100%);
    align-items: center;
    justify-content: center;
    z-index: 150;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s linear 0.5s;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0s;
  }
  .nav ul { flex-direction: column; align-items: center; gap: 36px; }
  /* 項目は背景より少し遅れて、下からふわっと表示 */
  .nav li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .nav.open li { opacity: 1; transform: none; }
  .nav.open li:nth-child(1) { transition-delay: 0.12s; }
  .nav.open li:nth-child(2) { transition-delay: 0.2s; }
  .nav.open li:nth-child(3) { transition-delay: 0.28s; }
  .nav.open li:nth-child(4) { transition-delay: 0.36s; }
  .nav a { font-size: 20px; letter-spacing: 0.2em; }
  .nav .nav-sp-only { display: block; }
  /* 日本語の項目は英字より字面が大きいため、サイズと字間を控えめに */
  .nav .nav-sp-only a { font-family: var(--font-jp); font-size: 16px; font-weight: 400; letter-spacing: 0.16em; }
  .nav a::after { display: none; }
  /* メニュー内（暗い背景）は白・文字に合わせてアイコンも少し大きく。
     閉じるフェード中に色が変わらないよう .open に依存させない（body は company.css より優先させるため） */
  #header .nav a,
  #header.scrolled .nav a,
  body.page-company #header .nav a { color: var(--color-white); --nav-icon-color: var(--color-white); gap: 12px; }
  #header .nav a::before { width: 14px; height: 16px; }
  /* 現在ページ（下層ページ）は暗い背景で読めるシャンパンゴールド */
  body.page-company #header .nav a.nav-active { color: var(--oa-champagne); border-bottom-color: var(--oa-champagne); }

  /* backdrop-filter があると全画面メニューがヘッダー内に閉じ込められるため SP では使わない
     （SP のヘッダー背景は不透明なのでぼかしは不要） */
  #header.scrolled,
  body.page-company #header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.menu-open #header .menu-toggle span { background: var(--color-white); }

  .menu-toggle { display: flex; z-index: 200; }

  .btn-inquiry { display: none; }

  .page-top-label { display: none; }

  /* HERO SP（440×900 基準、440px超は440px時のサイズで固定） */
  .hero-slide img { object-position: 70% 30%; transform-origin: 70% 30%; }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.91) 27%, rgba(0,0,0,0.84) 45%, rgba(0,0,0,0.62) 68%, rgba(0,0,0,0.31) 86%, rgba(0,0,0,0) 100%);
  }

  /* 金色ボケ装飾：黒地を screen 合成で透過させ左側に重ねる */
  .hero-bokeh {
    display: block;
    background: url('../images/fv-bokeh-sp.webp') left center / auto 100% no-repeat;
    mix-blend-mode: screen;
    opacity: 0.45;
    -webkit-mask-image: linear-gradient(90deg, #000 12%, transparent 42%);
    mask-image: linear-gradient(90deg, #000 12%, transparent 42%);
  }

  .hero .sp-only { display: inline; }

  .hero-inner {
    padding: 70px min(7.73vw, 34px) 34px;
  }

  .hero-catch { padding-left: min(0.23vw, 1px); }
  .hero-title { padding-left: min(0.68vw, 3px); }

  .hero-catch {
    font-size: min(4.09vw, 18px);
    white-space: normal;
  }

  .hero-catch-lead { display: block; }

  .hero-price {
    display: inline-block;
    margin: 9px 0 0;
  }

  .hero-price-num { font-size: min(18.6vw, 82px); }
  .hero-price-unit { font-size: min(10.7vw, 47px); }
  .hero-catch-tail { font-size: min(5.7vw, 25px); }

  .hero-title {
    margin-top: clamp(20px, 5.67svh, 51px);
    padding-bottom: min(5.45vw, 24px);
    font-size: min(12.5vw, 55px);
  }

  .hero-title-sub {
    font-size: 0.69em;
    line-height: 1.63;
  }

  .hero-title-main { margin-top: 0.25em; }

  .hero-title::after {
    left: min(0.45vw, 2px);
    width: min(85.2vw, 375px);
    height: 3px;
  }

  .hero-desc {
    margin-top: min(5.57vw, 24.5px);
    padding-left: min(3.18vw, 14px);
    font-size: min(4.09vw, 18px);
    line-height: 1.94;
  }

  /* SPのみ四隅を内側に丸く欠いたボタン */
  .hero-cta {
    width: min(84.5vw, 372px);
    height: min(14.5vw, 64px);
    margin-top: clamp(28px, 8svh, 72px);
    font-size: min(5vw, 22px);
    --cta-notch: 10px;
  }

  .hero-cta-arrow {
    right: min(5.23vw, 23px);
    width: min(8.86vw, 39px);
  }

  /* MESSAGE */
  .msg { grid-template-columns: 1fr; }
  .msg-left { padding: 72px 24px 40px; gap: 24px; }
  .msg-vert { display: none; }
  /* 写真2枚を少し重ねて配置し、間の空白をなくす。
     高さは画面幅に比例（上の写真 45.3vw ＋ 下の写真 40vw − 重なり 約10vw ＋ 上下の余白） */
  .msg-right { min-height: 0; height: calc(75vw + 48px); }
  .msg-photo--top { width: 68%; top: 20px; aspect-ratio: 3/2; }
  .msg-photo--bottom { width: 60%; bottom: 28px; aspect-ratio: 3/2; }

  /* SERVICE */
  .svc-heading { padding: 60px 24px 48px; }
  .svc-three-cards { grid-template-columns: 1fr; }
  .svc-three-card { border-right: none; border-bottom: 1px dashed var(--oa-line); }
  .svc-three-card:last-child { border-bottom: none; }
  .svc-three-card-body { padding: 32px 24px 40px; }
  .svc-subtitle-jp { font-size: 22px; }

  /* ABOUT */
  .about { padding: 80px 24px; }
  .about-inner { grid-template-columns: 1fr; }

  /* CONTACT */
  .contact { padding: 80px 24px; }
  /* 埋め込みフォームは画面幅いっぱいに広げる（左右の余白はフォーム側の 16px）。
     左右 24px の内側に置くと、375px・390px でフォームの見出しが2行になり、切り取り位置がずれるため */
  .contact-form-frame { max-width: none; margin: 0 -24px; }

  /* FOOTER */
  .footer { padding: 48px 24px; }
  .footer-nav ul { flex-wrap: wrap; justify-content: center; gap: 20px; }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .nav,
  .nav.open,
  .nav li { transition: none; }
}

/* 2026-11-25 コースの絵に名前のロゴを入れたので、下の段のロゴは画面に出さない（読み上げ・検索には残す） */
.cs-course--logo .cs-course-name{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
