/* =============================================================
   Japan Vibes Films — corporate site
   Palette:  完全モノクロ / 2色
     白 #FFFFFF   = 背景ベース
     黒 #101010   = テキスト（濃いグレー寄りの黒）
   装飾色なし。タイポグラフィ・余白・写真/映像で魅せる。
   Fonts:  Zen Old Mincho (display) / Zen Kaku Gothic New (body)
   ============================================================= */

:root {
  --bg: #FFFFFF;         /* 白 base background */
  --bg-alt: #F4F3F1;     /* 交互セクションの淡いグレー */
  --bg-deep: #E8E6E2;    /* 画像枠などの下地 */

  --ink: #101010;        /* 黒（テキスト） */
  --ink-soft: #63615D;   /* 補足テキスト */
  --ink-mute: #8C8A85;   /* さらに弱い補足 */

  --line: rgba(16, 16, 16, 0.12);
  --line-strong: rgba(16, 16, 16, 0.24);

  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --nav-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* アンカー先が固定ナビの下に隠れないように（#pricing など、セクション途中のIDにも効く） */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.78;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: #fff; }

/* ---------- language visibility ---------- */
html[lang="ja"] .lang-en { display: none; }
html[lang="en"] .lang-ja { display: none; }

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 760px; }

.section { padding-block: clamp(80px, 13vw, 172px); }
.section:nth-of-type(even) { background: var(--bg-alt); }

.section-head { margin-bottom: clamp(40px, 6.5vw, 72px); max-width: 780px; }
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: 0.015em;
  position: relative;
  padding-left: 30px;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 0.12em;
  width: 1px; height: 1.1em;
  background: var(--ink);
}
.section-lead {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 60ch;
}

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  /* GOC inc. と同じ半透明の透かし（背景 #fbfaf8 の70% ＋ blur(14px) saturate(140%)）。
     ヒーロー上も含め、全ページ共通で明るい透かし */
  background: color-mix(in oklab, #fbfaf8 70%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid color-mix(in oklab, #d2d1cf 60%, transparent);
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 21px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 7px 17px;
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.lang-switch button { padding: 4px 2px; transition: color .2s, opacity .2s; }
.lang-switch button.is-active { color: var(--ink); font-weight: 700; }
.lang-switch button:not(.is-active):hover { opacity: .6; }

.nav-burger { display: none; width: 30px; height: 22px; position: relative; }
.nav-burger span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--ink); transition: .3s var(--ease);
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 10px; }
.nav-burger span:nth-child(3) { top: 20px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* =============================================================
   HERO  — 全画面の背景動画＋社名ロゴ・コピーを重ねる
           PC: 横動画（hero-02.mp4） / SP: 縦動画（hero-01.mp4）
   ============================================================= */
.hero {
  position: relative;
  /* GOC inc. と同じ高さ: padding-top(40〜60px) + ステージ高(72vh / 500〜700px) */
  min-height: calc(clamp(40px, 5vh, 60px) + clamp(500px, 72vh, 700px));
  display: flex;
  overflow: hidden;
  background: #0d0d0d;
  color: #fff;
}

/* --- 背景動画（PC/SPで出し分け） --- */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}
.hero-video--sp { display: none; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.55) 100%); /* GOC と同じ #0000004d → #0000008c */
}

/* --- コピー（動画の上に重ねる） --- */
.hero-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 4vh) var(--gutter) clamp(150px, 18vh, 190px);
}
.hero-eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
  opacity: 0;
  animation: rise .9s var(--ease) .2s forwards;
}
.hero-wordmark {
  line-height: 0;
  opacity: 0;
  animation: rise 1s var(--ease) .35s forwards;
}
.hero-wordmark img {
  display: block;
  width: clamp(260px, 30vw, 480px);
  height: auto;
  /* 新ロゴは #231815（黒に近いダークブラウン）の単色SVG。ヒーロー動画に重ねると
     同化して見えづらいため、フィルターで強制的に白にする */
  filter: brightness(0) invert(1);
}
/* タグラインは https://gocinc.jp の .hero-meta（縦書き・左端・中央揃え）を参考に、
   PC/タブレットでは縦書きにする。スマホは窮屈になるため下の @media で横書きに戻す */
.hero-tagline {
  position: absolute;
  left: var(--gutter);
  top: 36%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.54rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  animation: riseVertical 1s var(--ease) .55s forwards;
}
.hero-tagline::after {
  content: "";
  display: block;
  width: 1px;
  height: 28px;
  background: currentColor;
  margin: 16px auto 0;
}
@keyframes riseVertical {
  from { opacity: 0; transform: translateY(calc(-50% + 16px)) rotate(180deg); }
  to { opacity: 1; transform: translateY(-50%) rotate(180deg); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  animation: rise 1s var(--ease) .9s forwards;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, currentColor, transparent);
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* =============================================================
   NEWS  — GOC inc. の Latest News セクションに寄せた作り
   ============================================================= */
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 6.5vw, 72px);
}
.news-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.news-title span { display: block; }
.news-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.news-all:hover { color: var(--ink-soft); border-color: var(--ink); }
.news-all-arrow { display: inline-block; transition: transform .35s var(--ease); }
.news-all:hover .news-all-arrow { transform: translateX(6px); }
.works-follow-icon { width: 16px; height: 16px; flex: none; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
}
.news-loading { grid-column: 1 / -1; color: var(--ink-soft); }

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  padding-right: 48px;
  transition: transform .4s var(--ease);
}
.news-card:hover,
.news-card:focus-within { transform: translateY(-4px); }
/* カーソルを近づけると寄ってくる丸い矢印（GOC inc. 風のホバー演出） */
.news-card-arrow {
  position: absolute;
  right: 0;
  bottom: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: var(--ink);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .2s ease-out, background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  pointer-events: none;
}
.news-card:hover .news-card-arrow,
.news-card:focus-within .news-card-arrow {
  opacity: 1;
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.news-card-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-deep);
  margin-bottom: 18px;
}
.news-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.news-card:hover .news-card-thumb img { transform: scale(1.05); }
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.news-card-cat {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}
.news-card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.55;
}
.news-card-excerpt {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* =============================================================
   WORKS
   ============================================================= */
/* Instagram のフィード／ストーリーズ風・縦長タイルのグリッド */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(6px, 1vw, 12px);
}
.work-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--bg-deep);
}
.work-item img, .work-item video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.work-item:hover img, .work-item:hover video { transform: scale(1.05); }
.work-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 14px 14px;
  color: #fff;
  font-size: 0.76rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
  background: linear-gradient(to top, rgba(8, 8, 8, 0.85), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.work-item:hover figcaption { opacity: 1; transform: translateY(0); }
.work-badge {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.6rem;
  display: grid;
  place-items: center;
  padding-left: 2px;
  transition: opacity .3s;
}
.work-item.is-playing .work-badge { opacity: 0; }
.work-item.is-playing figcaption { opacity: 0; }
.work-item--video { cursor: pointer; }
/* 静止画タイルは Instagram の投稿へのリンク。<a> を挟んでも img/figcaption の
   position指定先（.work-item）は変わらないよう、リンクは display:block で全面を覆う */
.work-item > a { display: block; width: 100%; height: 100%; }
.work-ig-badge {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.work-ig-badge svg { width: 14px; height: 14px; }

/* グリッドの派生形（works/photo.html・works/film.html で使用） */
.works-grid--landscape { grid-template-columns: repeat(3, 1fr); }
.works-grid--landscape .work-item { aspect-ratio: 3 / 2; }
.works-grid--3col { grid-template-columns: repeat(3, 1fr); }
/* works/advertisement.html の動画2本用（.work-item のデフォルト aspect-ratio 9/16 をそのまま使う）。
   コンテナ幅いっぱいだと縦動画2本が大きく見えすぎるため、max-width で一回り小さく抑える */
.works-grid--2col { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }

/* 縦横混在の写真ギャラリー：行ごとに高さを揃え、隙間は細く（--r = 横/縦の比）。
   flex-grow を比率に比例させるだけで、JS なしで行の右端がそろう */
.works-grid--justified {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.works-grid--justified .work-item {
  flex: calc(var(--r) * 100) 1 calc(var(--r) * 230px);
  aspect-ratio: var(--r);
}
.works-grid--justified::after { content: ""; flex-grow: 1000000; } /* 最終行だけ引き伸ばさない */
/* トップページ #photo のように JS で途中から先を隠している（.is-truncated）場合、
   最後に見えている行の直後に ::after が来てしまい、本来は最終行ではないのに
   「未完成の最終行」として縮んで表示されてしまう。隠している間は ::after の
   引き伸ばし防止を無効化し、見えている最後の行も他の行と同じように広がるようにする */
.works-grid--justified.is-truncated::after { content: none; flex-grow: 0; }

/* works/advertisement.html の写真ギャラリー用：枚数が少ない（9枚）ので、
   通常の Photo/Wedding より大きめのタイルで1枚1枚をゆったり見せる修飾クラス。
   写真を隠す/絞る仕組みは使っておらず最終行も必ず「完成した行」なので、
   ::after の最終行伸ばし防止トリックは常に無効化し、最終行も右端まで敷き詰める */
.works-grid--large .work-item { flex: calc(var(--r) * 100) 1 calc(var(--r) * 380px); }
.works-grid--large::after { content: none; flex-grow: 0; }

/* トップページ Wedding: 写真6枚固定で、最終行も常に2枚揃っている前提のため、
   「最終行を伸ばさない」::afterのトリック自体を常に無効化し、最終行も他の行と
   同じように右端いっぱいまで敷き詰める（＝右辺を揃える） */
#wedding .works-grid--justified::after { content: none; flex-grow: 0; }

/* トップページ #photo: JS（main.js）が4行目以降に付与する。
   非表示にするだけなので、JS無効時は全枚数がそのまま表示される（プログレッシブエンハンスメント） */
.work-item.is-overflow { display: none; }

.photo-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4.5vw, 48px);
}
/* さらにミニマルな「テキスト＋矢印」だけのMoreリンク。枠も丸ボタンも無し。
   既定はグレー（控えめ）、ホバーで黒に変わり、矢印もわずかに右へ動く */
.photo-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-mute);
  transition: color .3s var(--ease);
}
.photo-more-link:hover { color: var(--ink); }
.photo-more-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.photo-more-arrow {
  display: inline-block;
  transition: transform .3s var(--ease);
}
.photo-more-link:hover .photo-more-arrow { transform: translateX(5px); }

/* トップページ Photo + Film: 横並び2カラム。
   Photoギャラリーの高さは JS（main.js）が Film 列の実測高さに合わせて
   自動調整する（収まらない行は .is-overflow で隠し、More リンクへ誘導） */
.photo-film-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
}
.photo-col, .film-col, .wedding-col, .ad-col { min-width: 0; }
.film-reel {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--bg-deep);
}
.film-reel video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* =============================================================
   WORK DETAIL PAGES  (works/photo.html, works/film.html)
   ============================================================= */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: clamp(28px, 4.5vw, 48px);
  transition: color .2s var(--ease);
}
.back-link:hover { color: var(--ink); }
.back-link-arrow { display: inline-block; transition: transform .3s var(--ease); }
.back-link:hover .back-link-arrow { transform: translateX(-4px); }
.work-detail-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(24px, 4vw, 40px);
}
/* payment.html / cancellation.html の本文テキスト */
.page-copy {
  font-size: 0.94rem;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* =============================================================
   ABOUT / 事業内容  — 左詰めの横長テキスト（.section-head の
   max-width 780px を解除し、リード文も幅いっぱいまで伸ばす）
   ============================================================= */
.intro-head { max-width: none; margin-bottom: 0; }
.intro-head .section-lead { max-width: none; }

/* =============================================================
   PRICING
   ============================================================= */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: start;
}
.plan-cards--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}
.plan-cards--4col { grid-template-columns: repeat(4, 1fr); }
.plan-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: clamp(22px, 2.4vw, 32px);
  position: relative;
}
.plan-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.plan-price {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.plan-price-note {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-mute);
  margin-left: 6px;
}
/* オープニングキャンペーンの割引前価格（取り消し線） */
.plan-price-was {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-mute);
  text-decoration: line-through;
  margin-right: 8px;
}
/* キャンペーン適用条件の注記 */
.plan-campaign-note {
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--ink-mute);
  margin-top: -14px;
  margin-bottom: 24px;
}
.plan-features { display: grid; gap: 12px; margin-bottom: 30px; }
.plan-features li {
  font-size: 0.86rem;
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.36em;
  width: 11px; height: 6px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}
/* More リンクと同じ、テキスト＋矢印だけのミニマルなCTA（枠なし） */
.plan-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .3s var(--ease);
}
.plan-cta:hover { color: var(--ink); }
.plan-cta-arrow { display: inline-block; transition: transform .3s var(--ease); }
.plan-cta:hover .plan-cta-arrow { transform: translateX(5px); }

/* Featured = 黒のソリッドカード（モノクロで反転して強調） */
.plan-card--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 30px 70px -32px rgba(16, 16, 16, 0.5);
}
.plan-card--featured .plan-price { border-bottom-color: rgba(255, 255, 255, 0.18); }
.plan-card--featured .plan-price-note,
.plan-card--featured .plan-features li { color: rgba(255, 255, 255, 0.72); }
.plan-card--featured .plan-features li::before { border-color: #fff; }
.plan-badge {
  position: absolute;
  top: -13px; left: clamp(22px, 2.4vw, 32px);
  background: var(--ink);
  color: #fff;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-card--featured .plan-badge { background: #fff; color: var(--ink); }
.plan-card--featured .plan-cta { color: rgba(255, 255, 255, 0.72); }
.plan-card--featured .plan-cta:hover { color: #fff; }

/* =============================================================
   FAQ
   ============================================================= */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.5;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--ink-soft); }
.faq-q::after {
  content: "";
  flex: none;
  position: relative;
  width: 13px;
  height: 13px;
  margin-top: 0.35em;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq-item[open] .faq-q { color: var(--ink); }
.faq-item[open] .faq-q::after { transform: rotate(135deg); }
.faq-a {
  padding: 0 4px 26px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 62ch;
}
/* enhancement only — no fill mode, so the answer is never left hidden
   if the animation doesn't run */
.faq-item[open] .faq-a { animation: faqOpen .3s var(--ease); }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
}

/* =============================================================
   COMPANY
   ============================================================= */
.company-table {
  border-top: 1px solid var(--line);
  margin-bottom: clamp(56px, 8vw, 96px);
}
.company-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.company-row dt {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.92rem;
}
.company-row dd { font-size: 0.94rem; color: var(--ink-soft); }
.company-sub { color: var(--ink-mute); font-size: 0.85em; }

/* レイアウトは https://gocinc.jp の Founder / Creative Director セクションを参照
   （左: 縦長ポートレート＋右下にSNSアイコン、右: 大きな名前＋経歴文＋略歴リスト） */
.founder {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) 1.22fr;
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
}
.founder-portrait-col { display: flex; flex-direction: column; gap: 24px; }
.founder-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-deep);
  overflow: hidden;
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(0.1) contrast(1.02);
}
.founder-socials {
  position: absolute;
  right: 16px; bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}
.founder-socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 999px;
  transition: background .22s var(--ease), transform .22s var(--ease);
}
.founder-socials a svg { width: 16px; height: 16px; }
.founder-socials a:hover { background: rgba(0, 0, 0, 0.72); transform: translateY(-2px); }

.founder-body { padding-top: 4px; }
.founder-name {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  font-size: clamp(1.7rem, 7vw, 4.4rem);
  overflow-wrap: break-word;
  color: var(--ink);
  margin-bottom: clamp(24px, 4vh, 40px);
}
.founder-body p + p { margin-top: 16px; }
.founder-body p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 56ch;
}

.founder-timeline {
  border-top: 1px solid var(--line);
  margin-top: clamp(28px, 4vw, 44px);
}
.founder-timeline-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.founder-timeline-row dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 2px;
}
.founder-timeline-note { margin-left: 2px; }
.founder-timeline-row dd { font-size: 0.88rem; color: var(--ink); }
.founder-timeline-footnote {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--ink-mute);
}

/* =============================================================
   CONTACT
   ============================================================= */
.contact-form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field--half-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.94rem;
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 2px;
  transition: border-color .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; }

.contact-submit {
  justify-self: start;
  background: var(--ink);
  color: var(--bg);
  padding: 15px 46px;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: background .3s var(--ease), color .3s, transform .2s;
}
.contact-submit:hover { background: transparent; color: var(--ink); }
.contact-submit:active { transform: translateY(1px); }
.contact-submit[disabled] { opacity: .5; cursor: default; }

.form-status { font-size: 0.86rem; min-height: 1.4em; }
.form-status.is-error { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.form-status.is-ok { font-weight: 700; }

/* =============================================================
   FOOTER  — https://gocinc.jp のフッターに合わせた、軽い1行バー
   ============================================================= */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: clamp(24px, 4vw, 36px);
}
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-mark { display: inline-flex; }
.footer-mark img { display: block; height: 17px; width: auto; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-links a { color: var(--ink-soft); transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--ink); }
.footer-copy { color: var(--ink-mute); letter-spacing: 0.06em; text-transform: none; }

@media (max-width: 680px) {
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .hero { min-height: calc(clamp(40px, 5vh, 60px) + clamp(560px, 80vh, 680px)); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: minmax(220px, 0.78fr) 1.22fr; }
  .nav-links { gap: clamp(14px, 1.9vw, 22px); }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .works-grid--landscape { grid-template-columns: repeat(2, 1fr); }
  .plan-cards--4col { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin-inline: auto; }
}

/* --- ヒーロー: スマホは縦動画に切り替え --- */
@media (max-width: 860px) {
  .hero-video--pc { display: none; }
  .hero-video--sp { display: block; }
  /* スクロール表示（bottom:34px + 高さ約64px）と重ならないよう、下の余白を広めに */
  .hero-copy { padding-bottom: clamp(120px, 20vh, 170px); }
  .hero-wordmark img { width: clamp(200px, 62vw, 320px); }
  /* 縦書きだとスマホでは窮屈なので、通常の横書きに戻す（GOC も hero-meta はスマホで非表示） */
  .hero-tagline {
    position: static;
    left: auto; top: auto;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transform: none;
    margin-top: 32px;
    max-width: 40ch;
    font-size: clamp(0.8rem, 2.8vw, 0.95rem);
    letter-spacing: -0.01em;
    text-transform: none;
    font-weight: 400;
    line-height: 1.35;
    white-space: normal;
    color: rgba(255, 255, 255, 0.92);
    animation: rise 1s var(--ease) .55s forwards;
  }
  .hero-tagline::after { content: none; }
}

@media (max-width: 820px) {
  .nav-burger { display: block; z-index: 101; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: var(--bg);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }

  .plan-cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan-card--featured { order: -1; }
  .photo-film-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder-portrait-col { max-width: 320px; }
  .founder-timeline-row { grid-template-columns: 96px 1fr; gap: 14px; }
  .company-row { grid-template-columns: 1fr; gap: 4px; }
  .work-item figcaption { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .news-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .works-grid--landscape { grid-template-columns: 1fr; }
  .works-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .works-grid--justified { gap: 3px; }
  .works-grid--justified .work-item { flex-basis: calc(var(--r) * 140px); }
}

/* =============================================================
   MOTION PREFERENCE
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-eyebrow, .hero-wordmark, .hero-tagline, .scroll-cue { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
