/* =====================================================================
   全国姉妹漁協推進協議会株式会社 — REBONE THE SEA
   静的サイト用スタイルシート（フレームワーク不使用）
   ダークテーマ × グリーンアクセント（mothervegetable.org と統一）
   ===================================================================== */

:root {
  /* --- ブランドグリーン（mothervegetable.org と統一）--- */
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --emerald-400: #34d399;

  --black: #000000;
  --gray-950: #0a0a0a;
  --gray-900: #111827;
  --gray-850: #17181c;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --white: #ffffff;

  --sans: "Noto Sans JP", system-ui, -apple-system, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;

  --maxw: 1120px;
  --radius: 0.75rem;
  --header-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* 言語切替に伴う改行対応 */
[data-i18n] { white-space: pre-line; }
.nowrap, .main-nav [data-i18n], .btn [data-i18n] { white-space: normal; }

/* ------------------------------------------------------------------ ヘッダー */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.18);
  transition: background 0.3s;
  /* iPhone のノッチ（切り欠き）にロゴがかからないように */
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.25rem;
  max-width: 1280px;
  margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand img { width: auto; height: 34px; }
.brand .brand-txt { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--white); }

.nav-wrap { display: flex; align-items: center; gap: 1.25rem; }
.main-nav { display: flex; align-items: center; gap: 1.35rem; }
.main-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gray-200);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--green-400);
  transition: width 0.25s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--green-400); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-400);
  background: transparent;
  border: 1px solid var(--gray-600);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--green-400); background: rgba(34, 197, 94, 0.08); }
.lang-toggle svg { width: 0.95rem; height: 0.95rem; }

/* ハンバーガー */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 24px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ ヒーロー */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: slowZoom 20s ease-out forwards; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.78) 100%);
}
@keyframes slowZoom { to { transform: scale(1); } }

.hero { min-height: 100vh; padding-block: 2rem; }
.hero-inner { position: relative; z-index: 10; padding: 6rem 1.25rem 2.5rem; }
.hero-title {
  display: inline-block;
  font-weight: 700;
  line-height: 1.08;
  font-size: clamp(1.7rem, 4.5vw, 2.5rem); /* 事業概要（.section-title）と同サイズ */
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 12px rgba(34, 197, 94, 0.35));
}
.hero-sub {
  /* PC は辞書内の \n を無視して1行。狭い幅のみ下の @media で改行させる */
  white-space: normal;
  margin: 1.75rem 0 0;
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.08em;
}
.hero-rule {
  width: 10rem; height: 3px;
  margin: 2rem auto;
  border-radius: 999px;
  background: linear-gradient(to right, transparent, var(--green-400), transparent);
}
.hero-lead {
  margin: 1.5rem auto 0;
  max-width: 46rem;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  color: var(--gray-300);
  font-weight: 300;
}
.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 10; color: var(--green-400); opacity: 0.8;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ------------------------------------------------------------------ セクション共通 */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--black) 0%, var(--gray-950) 50%, var(--black) 100%); }

.section-head { text-align: center; margin-bottom: 3.5rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.25em;
  color: var(--green-400); text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.section-title {
  margin: 0;
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.section-title .accent { color: var(--green-400); }
.title-rule {
  width: 4rem; height: 3px; margin: 1.25rem auto 0;
  border-radius: 999px;
  background: linear-gradient(to right, var(--green-400), var(--green-600));
}
.section-lead {
  max-width: 44rem; margin: 1.5rem auto 0; text-align: center;
  color: var(--gray-300); font-weight: 300;
}

/* 設立の背景 */
.bg-story { max-width: 52rem; margin-inline: auto; }
.bg-story p { margin: 0 0 1.4rem; color: var(--gray-200); font-size: 1.02rem; }
.bg-story p:last-child { margin-bottom: 0; }
.bg-story .lead-line {
  font-size: 1.1rem;
  font-weight: 500; line-height: 1.9;
  color: var(--white); margin-bottom: 2rem;
}
.bg-story .lead-line .accent { color: var(--green-400); }

.founders { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2.5rem; }
.founder-chip {
  border: 1px solid rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.06);
  color: var(--green-400);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 500;
}
.est-badge {
  display: inline-block; margin-top: 2rem;
  font-size: 0.9rem; color: var(--gray-400); letter-spacing: 0.05em;
}
.est-badge strong { color: var(--white); font-weight: 600; }

/* ------------------------------------------------------------------ 事業カード */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 720px) {
  .biz-grid { grid-template-columns: 1fr; }
  /* スマホ・Fold では「海洋資源を活用し、」で改行する */
  .hero-sub { white-space: pre-line; }
}
.biz-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2rem 1.75rem;
  background: linear-gradient(160deg, rgba(31,41,55,0.5), rgba(10,10,10,0.5));
  border: 1px solid var(--gray-800);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.biz-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 18px 40px -18px rgba(34, 197, 94, 0.35);
}
.biz-card .biz-num {
  position: absolute; top: 1.5rem; right: 1.6rem;
  font-size: 1.35rem; font-weight: 700; line-height: 1;
  color: rgba(34, 197, 94, 0.45); letter-spacing: 0.02em;
}
.biz-card .icon {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 0.65rem;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-400);
  margin-bottom: 1.25rem;
}
.biz-card .icon svg { width: 1.5rem; height: 1.5rem; }
.biz-card h3 { margin: 0 0 0.35rem; font-size: 1.2rem; font-weight: 700; color: var(--white); }
.biz-card .tag { font-size: 0.78rem; color: var(--green-400); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 0.85rem; }
.biz-card p { margin: 0 0 1.5rem; font-size: 0.92rem; color: var(--gray-300); font-weight: 300; }
.biz-card .more {
  margin-top: auto;
  font-size: 0.85rem; font-weight: 600; color: var(--green-400);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.biz-card .more svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.biz-card:hover .more:not(.more-soon) svg { transform: translateX(4px); }
.biz-card .more-soon { color: var(--gray-500); cursor: default; }
.biz-card.is-new { border-color: rgba(34, 197, 94, 0.35); }
.biz-card .new-badge {
  align-self: flex-start;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--black); background: var(--green-400);
  padding: 0.15rem 0.5rem; border-radius: 999px; margin-bottom: 0.75rem;
}

/* ------------------------------------------------------------------ SDGs（ヒーロー内・.org と同じコンパクト表記） */
.sdg-wrap { margin: 2.5rem auto 0; max-width: 780px; }
.sdg-caption {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-400); margin: 0 0 1rem;
}
.sdg-grid {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem;
}
.sdg-grid li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 0.7rem 0.4rem 0.55rem;
  background: rgba(0, 0, 0, 0.28);
  transition: border-color 0.25s, transform 0.25s;
}
.sdg-grid li:hover { border-color: rgba(34, 197, 94, 0.55); transform: translateY(-3px); }
.sdg-grid img { width: 2.4rem; height: 2.4rem; border-radius: 4px; }
.sdg-grid .label { font-size: 0.68rem; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, 0.9); }
.sdg-grid .code {
  margin-top: auto; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.12em;
  color: var(--gray-500);
}
@media (max-width: 720px) { .sdg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .sdg-grid { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------------ 海業ハブ＆分岐 */
.hub { text-align: center; }
.hub-node {
  max-width: 760px; margin: 0 auto;
  padding: 2.5rem 2rem;
  background: linear-gradient(160deg, rgba(34,197,94,0.10), rgba(10,10,10,0.45));
  border: 1px solid rgba(34,197,94,0.35);
  border-radius: var(--radius);
}
.hub-node .hub-icon { display: inline-flex; color: var(--green-400); margin-bottom: 0.9rem; }
.hub-node .hub-icon svg { width: 2.4rem; height: 2.4rem; }
.hub-node h3 { margin: 0 0 0.9rem; font-size: clamp(1.7rem, 4.5vw, 2.3rem); font-weight: 700; }
.hub-node .hub-desc { margin: 0 auto; max-width: 44rem; color: var(--gray-300); font-weight: 300; }
.hub-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.6rem; }
.hub-tags span {
  border: 1px solid rgba(34,197,94,0.3); background: rgba(34,197,94,0.06);
  color: var(--green-400); padding: 0.45rem 1.05rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
}
.hub-branch-label { margin: 1.75rem 0 0; font-size: 0.85rem; color: var(--gray-400); font-weight: 300; }

/* 分岐コネクタ（海業 → 3事業）*/
.connector { position: relative; height: 56px; }
.connector::before {  /* 中央の縦ステム */
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2px; height: 28px; background: rgba(34,197,94,0.5);
}
.connector::after {   /* 横バー（両端の枠中心をつなぐ）*/
  content: ""; position: absolute; top: 28px; left: 16.666%; right: 16.666%;
  height: 2px; background: rgba(34,197,94,0.5);
}
.connector .drop { position: absolute; top: 28px; width: 2px; height: 28px; background: rgba(34,197,94,0.5); transform: translateX(-50%); }
.connector .drop.d-l { left: 16.666%; }
.connector .drop.d-m { left: 50%; }
.connector .drop.d-r { left: 83.333%; }

/* スマホ：海業から3事業へ縦につながる線で階層を表現 */
@media (max-width: 720px) {
  .hub { margin-bottom: 0; }
  /* 横バーと3分岐は隠し、中央の縦ステムだけ残す */
  .connector { display: block; height: 26px; }
  .connector::after,
  .connector .drop { display: none; }
  .connector::before { height: 26px; }
  /* カード間をつなぐ縦線＋接続ノード */
  .biz-card::before {
    content: ""; position: absolute; left: 50%; top: calc(-1.5rem - 1px);
    transform: translateX(-50%); width: 2px; height: 1.5rem;
    background: rgba(34, 197, 94, 0.45);
  }
  .biz-card::after {
    content: ""; position: absolute; left: 50%; top: -6px;
    transform: translateX(-50%); width: 9px; height: 9px; border-radius: 50%;
    background: var(--green-500); border: 2px solid var(--black);
  }
  .biz-card:first-child::before { top: calc(-26px - 1px); height: 26px; }
}

/* ------------------------------------------------------------------ 汎用パーツ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem; font-weight: 600;
  border-radius: 0.6rem;
  cursor: pointer; transition: all 0.25s; border: 1px solid transparent;
}
.btn-primary { background: var(--green-500); color: var(--black); }
.btn-primary:hover { background: var(--green-400); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(34,197,94,0.6); }
.btn-ghost { border-color: var(--gray-600); color: var(--white); }
.btn-ghost:hover { border-color: var(--green-400); color: var(--green-400); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }

/* 特徴リスト（詳細ページ用） */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.feature {
  padding: 1.5rem;
  background: rgba(31,41,55,0.35);
  border: 1px solid var(--gray-800);
  border-radius: var(--radius);
}
.feature .fi { color: var(--green-400); margin-bottom: 0.75rem; }
.feature .fi svg { width: 1.6rem; height: 1.6rem; }
.feature h4 { margin: 0 0 0.5rem; font-size: 1.02rem; color: var(--white); font-weight: 600; }
.feature p { margin: 0; font-size: 0.88rem; color: var(--gray-400); font-weight: 300; }

.prose { max-width: 46rem; margin-inline: auto; }
.prose h3 { font-size: 1.3rem; color: var(--green-400); margin: 2.5rem 0 1rem; font-weight: 700; }
.prose p { color: var(--gray-200); margin: 0 0 1.2rem; font-weight: 300; }
.prose ul { color: var(--gray-200); padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.5rem; font-weight: 300; }

/* ページ見出し（下層ページのヒーロー簡易版） */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 1.25rem 3.5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(34,197,94,0.12), transparent 60%);
}
.page-hero h1 {
  margin: 0; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700;
}
.page-hero h1 .accent { color: var(--green-400); }
.page-hero .lead { margin: 1.25rem auto 0; max-width: 40rem; color: var(--gray-300); font-weight: 300; }
.mv-lines { margin: 1.75rem auto 0; }
.mv-lines p { margin: 0.65rem 0; font-size: clamp(1rem, 2.4vw, 1.2rem); color: var(--green-400); font-weight: 400; }

/* 下層ページのヒーロー背景（地球など） */
.page-hero.with-bg { position: relative; overflow: hidden; }
.page-hero.with-bg .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero.with-bg .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.with-bg .ph-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.82) 100%);
}
.page-hero.with-bg > * { position: relative; z-index: 1; }

/* ページ内のイメージ画像 */
.page-visual { max-width: 860px; margin: 0 auto; padding-inline: 1.25rem; }
.page-visual figure { margin: 0; }
.page-visual img {
  width: 100%; display: block;
  height: clamp(220px, 42vw, 420px);
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--gray-800);
  box-shadow: 0 20px 50px -24px rgba(0,0,0,0.9);
}
.page-visual figcaption {
  margin-top: 0.85rem; text-align: center;
  font-size: 0.82rem; color: var(--gray-500); font-weight: 300;
}

/* 数値ハイライト（環境インパクトなど） */
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem; margin-top: 2.5rem;
}
.stat {
  text-align: center; padding: 1.5rem 1rem;
  background: rgba(31,41,55,0.35);
  border: 1px solid var(--gray-800);
  border-radius: var(--radius);
}
.stat .num {
  display: block; font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 700;
  color: var(--green-400); line-height: 1.1;
}
.stat .lbl { display: block; margin-top: 0.5rem; font-size: 0.82rem; color: var(--gray-300); font-weight: 300; }

/* 循環ステップ */
.flow-list { counter-reset: flow; display: grid; gap: 0.9rem; margin-top: 2.5rem; }
.flow-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.15rem 1.35rem;
  background: rgba(31,41,55,0.3);
  border: 1px solid var(--gray-800);
  border-left: 3px solid var(--green-600);
  border-radius: 0.6rem;
}
.flow-item .n {
  flex-shrink: 0; width: 1.85rem; height: 1.85rem;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(34,197,94,0.15); color: var(--green-400);
  font-size: 0.8rem; font-weight: 700;
}
.flow-item .t { font-weight: 600; color: var(--white); margin: 0 0 0.2rem; font-size: 0.98rem; }
.flow-item .d { margin: 0; font-size: 0.88rem; color: var(--gray-400); font-weight: 300; }

/* 情報テーブル（会社概要・特商法） */
.info-table { width: 100%; border-collapse: collapse; max-width: 46rem; margin-inline: auto; }
.info-table th, .info-table td {
  text-align: left; padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--gray-800);
  font-weight: 300; vertical-align: top;
}
.info-table th {
  width: 34%; color: var(--green-400); font-weight: 600; font-size: 0.9rem;
  white-space: nowrap;
}
.info-table td { color: var(--gray-200); }

/* お問い合わせ */
.contact-card {
  max-width: 40rem; margin-inline: auto;
  background: linear-gradient(160deg, rgba(31,41,55,0.5), rgba(10,10,10,0.5));
  border: 1px solid var(--gray-800);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.contact-card .ci { color: var(--green-400); margin-bottom: 1rem; }
.contact-card .ci svg { width: 2.5rem; height: 2.5rem; }
.contact-line { font-size: 1.1rem; margin: 0.5rem 0; }
.contact-line a { color: var(--green-400); }

/* ------------------------------------------------------------------ フッター */
.site-footer {
  border-top: 1px solid var(--gray-800);
  padding: 3rem 0 2rem;
  background: var(--gray-950);
}
.footer-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand { max-width: 22rem; }
.footer-brand img { height: 34px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--gray-400); font-weight: 300; }
.footer-brand .footer-name { color: var(--white); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }
.footer-brand .footer-name-en { color: var(--gray-400); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.02em; margin-bottom: 0.6rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.footer-col h5 { margin: 0 0 0.9rem; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--gray-500); text-transform: uppercase; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--gray-300); margin-bottom: 0.6rem; transition: color 0.2s; font-weight: 300; }
.footer-col a:hover { color: var(--green-400); }
.footer-col .footer-soon {
  display: block; font-size: 0.88rem; color: var(--gray-500);
  margin-bottom: 0.6rem; font-weight: 300; line-height: 1.4;
  max-width: 12em; /* 隣の列に食い込まないよう折り返す */
}
.footer-bottom {
  border-top: 1px solid var(--gray-800); padding-top: 1.5rem;
  font-size: 0.78rem; color: var(--gray-500); text-align: center;
}

/* ------------------------------------------------------------------ スクロール演出 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; transform: none; }
  .scroll-cue { animation: none; }
}

/* ------------------------------------------------------------------ レスポンシブ */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-800);
    /* ヘッダー分（ノッチ含む）の余白を上に確保し、リンクはヘッダーの下に */
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.5rem) 1.25rem 1.25rem;
    max-height: 100vh;
    overflow-y: auto;
    /* 自身の高さ分まるごと上へ退避＝確実に画面外へ */
    transform: translateY(-101%);
    transition: transform 0.3s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { width: 100%; padding: 0.9rem 0; border-bottom: 1px solid var(--gray-850); font-size: 0.95rem; }
  .main-nav a::after { display: none; }
  .brand .brand-txt { display: none; }
  /* モバイルはロゴを少し大きく見やすく */
  .brand img { height: 38px; }
}
