/* ============================================================
   HOTATE — 味と物語に、帆を。
   食×エンタメの選考型AIローンチプラットフォーム
   静かなエディトリアル（紙×墨×藍×貝金）
   ============================================================ */

:root {
  --paper: #fafafa;
  --paper-deep: #f1f2f4;
  --white: #ffffff;
  --ink: #1e2126;
  --ink-soft: #43474e;
  --muted: #767b83;
  --sea: #24435e;
  --sea-deep: #17304a;
  --sea-night: #0b1a2c;
  --sea-soft: #e7edf2;
  --shell: #b6935a;
  --shell-soft: #f4ecda;
  --sail: #fdfbf5;
  --coral: #0abab5;        /* ティファニーブルー(ブランドアクセント) */
  --coral-deep: #089991;
  --coral-soft: #e3f7f6;
  --teal: #0abab5;
  --teal-soft: #e3f7f6;
  --line: #ddd4c4;
  --ok: #4c7a5e;
  --shadow: 0 14px 40px rgba(35, 48, 64, 0.10);
  --shadow-small: 0 6px 18px rgba(35, 48, 64, 0.08);
  --radius-large: 26px;
  --radius: 18px;
  --radius-small: 12px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "BIZ UDPMincho", "MS PMincho", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  --en: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; background: var(--paper); }

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 40%, #ffffff 100%);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--sea); text-underline-offset: 0.2em; }
a:hover { color: var(--sea-deep); }
img, svg { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(36, 67, 94, 0.4); outline-offset: 3px; }

/* ---------- 帯（決済未開始の明示） ---------- */
.phase-band {
  background: var(--sea-deep);
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 9px 16px;
  line-height: 1.6;
}
.phase-band strong { color: #e9d6a8; font-weight: 600; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #ececec;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}
.header-inner {
  width: min(1140px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand .logo { width: 34px; height: 34px; display: block; }
.brand .wordmark {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--ink);
}
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.site-nav a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--sea-deep); border-bottom-color: rgba(36, 67, 94, 0.4); }
.site-nav a.current { color: var(--sea-deep); border-bottom-color: var(--shell); }
.site-nav a.nav-cta {
  border: 1px solid var(--coral);
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--coral-deep);
  background: var(--coral-soft);
}
.site-nav a.nav-cta:hover { background: var(--coral); border-bottom-color: var(--coral); color: #fff; }

/* ---------- レイアウト ---------- */
.page { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(820px, 100%); margin-left: auto; margin-right: auto; }
section { padding: 64px 0 12px; }
.section-head { margin-bottom: 26px; }
.eyebrow {
  margin: 0 0 8px;
  font-family: var(--en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--coral);
}
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.45; letter-spacing: 0.02em; }
h1 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); margin: 0 0 14px; }
h2 { font-size: clamp(1.25rem, 3vw, 1.55rem); margin: 0 0 10px; }
h3 { font-size: clamp(1rem, 2.4vw, 1.1rem); margin: 0 0 8px; }
.lede { font-size: clamp(1rem, 2.4vw, 1.12rem); color: var(--ink-soft); max-width: 46em; }
p { margin: 0 0 1em; }
.small { font-size: 13px; color: var(--muted); }

/* ---------- ページヘッダー (白基調・Makuake型のシンプルなタイトル) ---------- */
.hero { padding: 36px 0 4px; }
.hero h1 { font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: 0.02em; margin: 0 0 12px; }
.hero .en-line {
  font-family: var(--en);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--coral);
  margin: 0 0 10px;
}
.hero .lede { margin-bottom: 18px; }
.hero-art { display: none; }

/* ---------- ボタン ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--coral);
  background: var(--coral);
  color: #fff;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn { box-shadow: 0 6px 18px rgba(10, 186, 181, 0.32); }
.btn:hover { background: var(--coral-deep); border-color: var(--coral-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(10, 186, 181, 0.42); }
.btn.ghost, .btn.small.ghost { box-shadow: none; }
.btn.ghost { background: transparent; border-color: var(--sea-deep); color: var(--sea-deep); }
.btn.ghost:hover { background: var(--sea-soft); }
.btn.gold { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.gold:hover { background: #257471; border-color: #257471; }
.btn.small { padding: 8px 18px; font-size: 13px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---------- カード ---------- */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 18px;
  box-shadow: var(--shadow-small);
}
.card h3 { margin-top: 0; }
.card.deep { background: var(--paper-deep); }
.card.sea { background: var(--sea-soft); border-color: rgba(36, 67, 94, 0.25); }

/* 掛け算タイル */
.combo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 14px 16px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-small);
}
.combo .x { color: var(--coral); font-family: var(--en); padding: 0 4px; }
.combo .note { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; margin-top: 4px; }

/* ステップ */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 18px 20px 12px 66px;
  box-shadow: var(--shadow-small);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 16px;
  font-family: var(--en);
  font-size: 22px;
  font-weight: 600;
  color: var(--coral);
}

/* バッジ */
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  font-weight: 600;
  vertical-align: middle;
}
.badge.draft { background: var(--paper-deep); color: var(--muted); border: 1px solid var(--line); }
.badge.review { background: var(--shell-soft); color: #8a6d38; border: 1px solid rgba(182, 147, 90, 0.4); }
.badge.select { background: var(--sea-soft); color: var(--sea-deep); border: 1px solid rgba(36, 67, 94, 0.35); }
.badge.sample { background: var(--coral-soft); color: var(--coral); border: 1px solid rgba(178, 93, 78, 0.35); }
.badge.soon { background: var(--sea-deep); color: #f0e6cf; }

/* お知らせ枠 */
.notice {
  background: var(--shell-soft);
  border: 1px solid rgba(182, 147, 90, 0.45);
  border-radius: var(--radius-small);
  padding: 16px 20px;
  font-size: 14px;
}
.notice.sea { background: var(--sea-soft); border-color: rgba(36, 67, 94, 0.3); }
.notice strong { color: var(--sea-deep); }

/* ---------- プロジェクトカード ---------- */
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.project-card .visual {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.14em;
  color: #fdfaf2;
  padding: 12px;
  text-align: center;
  overflow: hidden;
}
.project-card .visual img.art, .visual img.art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card .body { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 8px; }
.project-card h3 { margin: 0; font-size: 1.05rem; }
.project-card .desc { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.project-card .meta { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- フォーム ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; letter-spacing: 0.04em; }
.field .hint { font-size: 12.5px; color: var(--muted); margin: 2px 0 8px; }
.field input[type="text"], .field input[type="email"], .field input[type="password"],
.field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(36, 67, 94, 0.12);
}
.voice-row { display: flex; gap: 8px; align-items: flex-start; }
.voice-row textarea { flex: 1; }
.voice-btn {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--sea);
  background: var(--sea-soft);
  color: var(--sea-deep);
  font-size: 19px;
  cursor: pointer;
}
.voice-btn.rec { background: var(--coral); border-color: var(--coral); color: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(178,93,78,.4);} 70% { box-shadow: 0 0 0 12px rgba(178,93,78,0);} 100% { box-shadow: 0 0 0 0 rgba(178,93,78,0);} }
.save-state { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.save-state.saved { color: var(--ok); }

/* ---------- テーブル ---------- */
.table-wrap { overflow-x: auto; }
table.plain { border-collapse: collapse; width: 100%; font-size: 14px; }
table.plain th, table.plain td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
table.plain th { background: var(--paper-deep); font-family: var(--serif); font-weight: 600; white-space: nowrap; }
table.plain td { background: var(--white); }

/* ---------- チェックリスト ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 10px 16px 10px 40px;
  position: relative;
  font-size: 14px;
}
.checklist li::before {
  content: "◆";
  position: absolute;
  left: 16px;
  color: var(--shell);
  font-size: 11px;
  top: 13px;
}

/* ---------- フッター ---------- */
.site-footer {
  margin-top: 90px;
  background: var(--sea-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 46px 0 40px;
  font-size: 13.5px;
}
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: #e9d6a8; }
.footer-grid { width: min(1140px, calc(100% - 32px)); margin: 0 auto; display: grid; gap: 22px; }
.footer-brand .wordmark { font-family: var(--en); font-size: 24px; letter-spacing: 0.34em; color: #fff; }
.footer-brand p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.6); font-size: 12.5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-note { color: rgba(255, 255, 255, 0.55); font-size: 12px; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 16px; }
.social-row { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
.social-row .eyebrow { margin: 0 6px 0 0; color: #e9d6a8; }
.social-row a { font-size: 12.5px; letter-spacing: 0.04em; }

/* ---------- アプリ（マイページ/管理） ---------- */
.app-shell { width: min(1140px, calc(100% - 32px)); margin: 24px auto 60px; }
.app-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink-soft);
}
.tabs button.on { background: var(--sea-deep); border-color: var(--sea-deep); color: #fff; }
.ai-off {
  background: var(--coral-soft);
  border: 1px solid rgba(178, 93, 78, 0.4);
  color: var(--coral);
  border-radius: var(--radius-small);
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
}
.version-chip { font-size: 11.5px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--muted); margin-right: 6px; cursor: pointer; }
.version-chip.on { border-color: var(--sea); color: var(--sea-deep); background: var(--sea-soft); }
pre.package {
  white-space: pre-wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 18px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- 左下の共通戻り導線(ポータルへ) ---------- */
.site-pills {
  position: fixed; left: 14px; bottom: 14px; z-index: 9999;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.site-pills a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(20, 24, 28, 0.92); color: #eaf7f6;
  border: 1px solid rgba(10, 186, 181, 0.6);
  font-size: 11.5px; line-height: 1; letter-spacing: 0.06em; text-decoration: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
.site-pills a:hover { color: #fff; border-color: #0abab5; background: rgba(10, 186, 181, 0.92); }
@media (max-width: 640px) {
  .site-pills { left: 10px; bottom: 10px; }
  .site-pills a { font-size: 10.5px; padding: 6px 11px; }
}

/* ---------- Makuake型UI ---------- */
/* ヒーローカルーセル */
.carousel {
  position: relative;
  margin-top: 18px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--sea-deep);
  box-shadow: 0 8px 30px rgba(20, 30, 44, 0.14);
}
@media (max-width: 700px) { .carousel { aspect-ratio: 16 / 10; border-radius: 10px; } }
.carousel .slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease, visibility 0s 0.6s;
  display: block; color: #fff; text-decoration: none;
  /* 非表示のスライドがクリックを奪わないようにする */
  visibility: hidden; pointer-events: none;
}
.carousel .slide.on {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity 0.6s ease;
}
.carousel .slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  animation: kenburns 14s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.carousel .slide .grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 26, 0.78) 0%, rgba(10, 16, 26, 0.18) 45%, transparent 70%);
}
.carousel .cap {
  position: absolute; left: 24px; right: 24px; bottom: 20px; color: #fff;
}
.carousel .cap h2 { color: #fff; font-size: clamp(1.05rem, 2.8vw, 1.5rem); margin: 8px 0 4px; line-height: 1.4; }
.carousel .cap .sub { font-size: 12.5px; color: rgba(255, 255, 255, 0.85); margin: 0; }
.carousel .dots { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 7px; }
.carousel .dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.45); cursor: pointer;
}
.carousel .dots button.on { background: #fff; }

/* セクション見出し行 */
.mk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mk-head h2 { font-size: 19px; margin: 0; }
.mk-head .more { font-size: 13px; font-weight: 700; color: var(--coral-deep); text-decoration: none; white-space: nowrap; }
.mk-head .more:hover { text-decoration: underline; }

/* Makuakeカード */
.mk-grid { display: grid; gap: 20px 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.mk-card { display: block; text-decoration: none; color: var(--ink); transition: transform 0.25s ease; }
.mk-card:hover { transform: translateY(-6px); }
.mk-card .ph {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, var(--sea-deep), var(--sea));
  box-shadow: 0 8px 22px rgba(15, 40, 60, 0.14);
  transition: box-shadow 0.25s ease;
}
.mk-card:hover .ph { box-shadow: 0 18px 40px rgba(10, 186, 181, 0.3); }
.mk-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.mk-card:hover .ph img { transform: scale(1.04); }
.mk-card .ph .flag {
  position: absolute; left: 10px; top: 10px;
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 9px; border-radius: 5px;
}
.mk-card .ph .flag.concept { color: var(--coral-deep); }
.mk-card .ttl {
  margin: 10px 2px 6px; font-size: 14.5px; font-weight: 700; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mk-card .sub { margin: 0 2px; font-size: 12px; color: var(--muted); }
.mk-card .sub .x { color: var(--coral); padding: 0 3px; }

/* 詳細ページ: 写真ファースト+反応レール */
.pd-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 26px; align-items: start; margin-top: 18px; }
@media (max-width: 860px) { .pd-top { grid-template-columns: 1fr; } }
.pd-media { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--sea-deep); }
.pd-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-info h1 { font-size: clamp(1.2rem, 3vw, 1.55rem); margin: 10px 0 10px; line-height: 1.5; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.pd-chips .chip { padding: 5px 12px; font-size: 12px; box-shadow: none; }
.rail {
  border: 1px solid #eaeaea; border-radius: 12px; background: var(--white);
  padding: 18px; margin-top: 14px;
}
.rail .btn { width: 100%; margin-bottom: 8px; }
.rail .field { margin-bottom: 12px; }
.rail .field input, .rail .field select, .rail .field textarea { font-size: 14px; padding: 10px 12px; }
.rail hr { border: 0; border-top: 1px solid #eee; margin: 14px 0; }
.rail .small { font-size: 11.5px; }
.pd-section { padding: 34px 0 4px; }
.pd-section h2 { font-size: 17px; border-left: 4px solid var(--coral); padding-left: 10px; margin-bottom: 12px; }

.grid-loose { gap: 26px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-small);
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { transform: translateY(-2px); border-color: var(--coral); color: var(--coral-deep); }

.step-min { position: relative; padding-top: 20px; }
.step-min .num {
  font-family: var(--en);
  font-size: 26px;
  font-weight: 600;
  color: var(--coral);
  display: block;
  margin-bottom: 4px;
}
.step-min p { margin: 0; font-size: 14px; color: var(--ink-soft); }

.cta-band {
  text-align: center;
  padding: 54px 28px;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.35), transparent 20rem),
    linear-gradient(140deg, #12cfc9 0%, #0abab5 45%, #067f7b 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(10, 186, 181, 0.35);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.92); font-size: 14px; }
.cta-band .btn { background: #fff; border-color: #fff; color: #067f7b; box-shadow: 0 8px 24px rgba(0, 60, 58, 0.25); }
.cta-band .btn:hover { background: #eafffe; border-color: #eafffe; color: #056763; }
.cta-band .btn.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.8); color: #fff; }
.cta-band .btn.ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

.project-card .combo-row span { font-weight: 600; color: var(--ink-soft); }
.project-card .combo-row .x { color: var(--coral); padding: 0 6px; font-family: var(--en); }
.project-card h3 { line-height: 1.5; }

@media (max-width: 640px) {
  section { padding: 40px 0 8px; }
  .header-inner { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; }
  .hero--slim { padding: 40px 20px 36px; }
}

/* ============================================================
   成功表示デモ 特別カード (雅輪 Garin)
   PROJECT: REAL / FUNDING: DEMO であることを必ずカード上に表示する
   ============================================================ */
.sd-sec { padding-top: 36px; }
.sd-sec .mk-head h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sd-kicker {
  font-family: var(--en); font-size: 11px; letter-spacing: .16em; font-weight: 700;
  color: #d93a1e; border: 1px solid rgba(217, 58, 30, .45); border-radius: 999px; padding: 4px 10px;
}
.sd-card {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
  border-radius: var(--radius-large); overflow: hidden; text-decoration: none;
  background: #14120f; color: #f2efe8;
  box-shadow: 0 24px 60px rgba(20, 18, 15, .3);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
}
.sd-card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(20, 18, 15, .38); }
.sd-card .ph { position: relative; min-height: 300px; overflow: hidden; }
.sd-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92) contrast(1.05); }
.sd-card .ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,18,15,.15) 0%, rgba(20,18,15,0) 45%, rgba(20,18,15,.85) 100%);
}
@media (max-width: 820px) { .sd-card .ph::after { background: linear-gradient(180deg, rgba(20,18,15,0) 40%, rgba(20,18,15,.8) 100%); } }
.sd-badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.sd-badges span {
  font-family: var(--en); font-size: 10px; letter-spacing: .13em; font-weight: 700;
  padding: 5px 9px; border-radius: 3px; background: #d93a1e; color: #fff;
}
.sd-badges span.alt { background: rgba(242, 239, 232, .92); color: #14120f; }
.sd-body { padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.sd-body .ttl { margin: 0; font-size: 20px; line-height: 1.55; font-weight: 700; color: #f7f5f0; letter-spacing: .01em; }
.sd-body .lede { margin: 0; font-size: 13px; line-height: 1.85; color: rgba(242, 239, 232, .72); }
.sd-nums { display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; padding-top: 4px; }
.sd-nums b { display: block; font-family: var(--en); font-weight: 700; letter-spacing: -.02em; color: #f7f5f0; }
.sd-nums .n1 b { font-size: 42px; line-height: 1; color: #ff5c3a; }
.sd-nums .n2 b { font-size: 26px; line-height: 1; }
.sd-nums .n3 b { font-size: 26px; line-height: 1; }
.sd-nums i {
  display: block; font-style: normal; font-family: var(--en); font-size: 9.5px;
  letter-spacing: .14em; color: rgba(242, 239, 232, .5); margin-top: 6px;
}
/* 数値のすぐ下に出す「架空データ」ラベル */
.sd-nums .sd-fake {
  display: block; font-style: normal; font-size: 10px; font-weight: 700;
  letter-spacing: .06em; color: #ff8a6a; margin-top: 4px;
}
.sd-bar { height: 3px; border-radius: 2px; background: rgba(242, 239, 232, .18); overflow: hidden; }
.sd-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #d93a1e, #ff7a4a); }
.sd-caution {
  margin: 0; font-size: 11px; line-height: 1.7; color: rgba(242, 239, 232, .55);
  border-left: 2px solid rgba(217, 58, 30, .6); padding-left: 9px;
}
.sd-more { font-family: var(--en); font-size: 11px; letter-spacing: .14em; font-weight: 700; color: #ff7a4a; }
@media (max-width: 820px) {
  .sd-card { grid-template-columns: 1fr; }
  .sd-card .ph { min-height: 210px; }
  .sd-body { padding: 22px 20px 24px; }
  .sd-body .ttl { font-size: 17px; }
  .sd-nums { gap: 16px; }
  .sd-nums .n1 b { font-size: 34px; }
  .sd-nums .n2 b, .sd-nums .n3 b { font-size: 20px; }
}

/* ============================================================
   立体感の統一 (2026-08-04)
   影は2層にする — 近い層(接地の締まり)+遠い層(浮遊感)。
   1層だとぼんやり、濃すぎると安っぽくなるため。
   ============================================================ */
:root {
  --lift-1: 0 1px 2px rgba(16, 34, 48, .07), 0 6px 16px rgba(16, 34, 48, .10);
  --lift-2: 0 2px 4px rgba(16, 34, 48, .09), 0 14px 34px rgba(16, 34, 48, .16);
  --lift-3: 0 3px 8px rgba(16, 34, 48, .12), 0 26px 60px rgba(16, 34, 48, .22);
  --ease-lift: cubic-bezier(.2, .7, .3, 1);
}

/* ---- 1. カルーセル(大きな写真) ---- */
.carousel {
  box-shadow: var(--lift-2);
  transition: box-shadow .4s var(--ease-lift);
}
.carousel:hover { box-shadow: var(--lift-3); }
/* 写真の縁を締めて、白背景から浮かせる */
.carousel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

/* ---- 2. カードグリッド ---- */
.mk-card { transition: transform .3s var(--ease-lift); }
.mk-card .ph {
  box-shadow: var(--lift-1);
  transition: box-shadow .3s var(--ease-lift), transform .3s var(--ease-lift);
}
.mk-card:hover { transform: translateY(-6px); }
.mk-card:hover .ph { box-shadow: var(--lift-2); }
/* 画像の内側にごく薄い縁 — 明るい写真が背景に溶けないように */
.mk-card .ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(16, 34, 48, .08);
}
.mk-card .ph .flag { box-shadow: 0 1px 3px rgba(16, 34, 48, .18); }

/* ---- 3. 成功表示デモの特別カード ---- */
.sd-card {
  box-shadow: var(--lift-2);
  transition: transform .35s var(--ease-lift), box-shadow .35s var(--ease-lift);
}
.sd-card:hover { transform: translateY(-5px); box-shadow: var(--lift-3); }
/* 写真の中で数字が沈まないよう、画像側にも軽い内影 */
.sd-card .ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .22);
}

/* 動きを減らす設定の人には、影だけ残して動かさない */
@media (prefers-reduced-motion: reduce) {
  .mk-card, .mk-card .ph, .sd-card, .carousel { transition: none; }
  .mk-card:hover, .sd-card:hover { transform: none; }
}
