/* Algoage Vids — チラシ（00_資料/チラシ_表・裏）の見た目に揃える */
:root {
  --navy-900: #040b22;
  --navy-800: #071435;
  --navy-700: #0b1f52;
  --blue-600: #1d5cff;
  --blue-500: #2f74ff;
  --blue-400: #5b95ff;
  --cyan-400: #31d5ff;
  --ink: #0b1a3a;
  --ink-sub: #4a5b80;
  --line: #dbe6f7;
  --pale: #eef4ff;
  --pale-2: #f6f9ff;
  --white: #fff;
  --pink: #ff3d6e;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(17, 52, 130, .12);
  --shadow-lg: 0 24px 60px rgba(10, 35, 100, .22);
  --wrap: 1120px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.nw { display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── ヘッダー ───────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-header.is-solid { background: rgba(4, 11, 34, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--white); line-height: 1.1; }
.logo b { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.logo b span { color: var(--blue-400); }
.logo small { font-size: 10px; opacity: .8; margin-top: 3px; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: rgba(255,255,255,.86); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--white); }
.nav .nav-link { display: none; }
@media (min-width: 760px) { .nav .nav-link { display: inline; } }

/* ── ボタン ───────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 28px; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: var(--white); box-shadow: 0 8px 24px rgba(29, 92, 255, .4); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(29, 92, 255, .55); }
.btn-ghost { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn-white { background: var(--white); color: var(--blue-600); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ── 入力欄風のバー（チラシ表の主役） ─────────────── */
.prompt-bar { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 999px; padding: 10px 10px 10px 24px; box-shadow: 0 0 0 4px rgba(91,149,255,.35), 0 0 40px rgba(49,120,255,.7), 0 0 90px rgba(49,213,255,.35); color: var(--ink); }
.prompt-bar .pen { width: 30px; height: 30px; color: var(--blue-600); flex: none; }
.prompt-bar .bar-div { width: 2px; align-self: stretch; margin: 6px 0; background: var(--line); flex: none; }
.prompt-bar .text { flex: 1; min-width: 0; font-weight: 800; font-size: 18px; line-height: 1.45; letter-spacing: -.01em; text-align: left; min-height: 2.9em; display: flex; align-items: center; }
@media (max-width: 639px) { .prompt-bar { border-radius: 26px; padding: 10px 10px 10px 18px; gap: 10px; } .prompt-bar .pen { width: 24px; height: 24px; } }
@media (min-width: 640px) { .prompt-bar .text { white-space: nowrap; overflow: hidden; min-height: 0; font-size: min(34px, calc((100vw - 230px) / 18.5)); } }
.prompt-bar .caret { display: inline-block; width: 2px; height: 1em; background: var(--blue-600); vertical-align: -.12em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.prompt-bar .send { flex: none; width: clamp(44px, 9vw, 68px); height: clamp(44px, 9vw, 68px); border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: var(--white); box-shadow: 0 6px 18px rgba(29,92,255,.5); }
.prompt-bar .send svg { width: 46%; height: 46%; }
@keyframes blink { 50% { opacity: 0; } }

/* 小さい吹き出し（ギャラリーのカード上・3ステップ） */
.prompt-chip { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 14px; line-height: 1.5; color: var(--ink); box-shadow: 0 4px 14px rgba(17,52,130,.07); }
.prompt-chip svg { width: 20px; height: 20px; color: var(--blue-600); flex: none; }
.prompt-chip .bar-div { width: 1.5px; align-self: stretch; background: var(--line); flex: none; }

/* ── ヒーロー ───────────────────────────────── */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(90% 60% at 50% 38%, rgba(29,92,255,.55), transparent 70%), linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%); padding: 120px 0 72px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(180deg, transparent, rgba(4,11,34,.55)); pointer-events: none; }
.hero-tiles { position: absolute; inset: 0; pointer-events: none; perspective: 1200px; }
.hero-tiles .tile { position: absolute; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1.5px rgba(120,170,255,.55), 0 0 26px rgba(49,120,255,.55); opacity: .9; animation: float 9s ease-in-out infinite; }
.hero-tiles .tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-tiles .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,11,34,0) 40%, rgba(4,11,34,.5)); }
.hero-tiles .tile.dim { opacity: .35; filter: blur(1.5px); }
@keyframes float { 0%, 100% { transform: translateY(0) rotateY(var(--ry, 0deg)); } 50% { transform: translateY(-12px) rotateY(var(--ry, 0deg)); } }
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero .prompt-bar { max-width: 940px; margin: 0 auto; }
.hero-arrow { margin: 22px auto 14px; width: 30px; color: var(--blue-400); opacity: .9; }
.hero h1 { font-weight: 900; font-size: clamp(26px, calc((100vw - 40px) / 12.4), 80px); line-height: 1.22; letter-spacing: -.02em; text-shadow: 0 6px 30px rgba(0,0,0,.4); }
.hero h1 .grad { background: linear-gradient(90deg, #4fe3ff, #34b6ff 50%, #4fe3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .wo { font-size: .82em; }
.hero .lead { margin-top: 18px; font-size: clamp(14px, 3.6vw, 20px); font-weight: 600; opacity: .92; }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (min-width: 900px) { .hero { padding: 150px 0 110px; } }

/* ── セクション共通 ───────────────────────────── */
.section { padding: 72px 0; }
.section.pale { background: linear-gradient(180deg, var(--pale-2), var(--pale)); }
.eyebrow { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.section-title { font-weight: 900; font-size: clamp(24px, 5.6vw, 42px); line-height: 1.35; letter-spacing: -.01em; }
.section-title .accent { color: var(--blue-600); }
.section-title .num { font-size: 1.25em; }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-head .desc { margin-top: 12px; color: var(--ink-sub); font-size: 15px; }
@media (min-width: 900px) { .section { padding: 100px 0; } }
@media (min-width: 1100px) { .section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; } .section-head.split .section-title { white-space: nowrap; } .section-head.split .desc { max-width: 400px; margin: 0; } }

/* ── 3ステップ ─────────────────────────────── */
.steps { display: grid; gap: 18px; }
@media (min-width: 900px) { .steps { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; } }
.step { background: var(--white); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.step-head { display: flex; align-items: center; gap: 14px; }
.step-no { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 26px; color: var(--white); background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); box-shadow: 0 6px 16px rgba(29,92,255,.35); }
.step h3 { font-size: 24px; font-weight: 900; line-height: 1.3; }
.step p { color: var(--ink-sub); font-size: 14px; }
.step-body { margin-top: auto; }
.step-arrow { display: none; align-self: center; color: var(--blue-500); }
.step-arrow svg { width: 22px; height: 40px; }
@media (min-width: 900px) { .step-arrow { display: block; } }
.bubble-input { position: relative; padding-top: 22px; }
.bubble-input .dots { position: absolute; top: 0; left: 18px; background: var(--blue-500); color: var(--white); border-radius: 14px; padding: 2px 14px; font-weight: 900; letter-spacing: 3px; }
.bubble-input .dots::after { content: ""; position: absolute; left: 14px; bottom: -6px; border: 6px solid transparent; border-top-color: var(--blue-500); border-bottom: 0; }
.bubble-input .prompt-chip { padding: 14px 12px 14px 16px; border-radius: 18px; }
.bubble-input .send-sm { margin-left: auto; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-600); color: var(--white); display: grid; place-items: center; }
.bubble-input .send-sm svg { width: 16px; height: 16px; color: var(--white); }
.stack-thumbs { position: relative; height: 170px; }
.stack-thumbs .th { position: absolute; top: 0; height: 100%; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid var(--white); background: var(--pale); }
.stack-thumbs .th img { width: 100%; height: 100%; object-fit: cover; }
.stack-thumbs .th:nth-child(1) { left: 0; z-index: 3; height: 100%; }
.stack-thumbs .th:nth-child(2) { left: 31%; z-index: 2; top: 10px; height: calc(100% - 20px); }
.stack-thumbs .th:nth-child(3) { left: 58%; z-index: 1; top: 18px; height: calc(100% - 36px); }
.play-dot { position: absolute; inset: 0; margin: auto; width: 38px; height: 38px; border-radius: 50%; background: rgba(10,20,45,.6); display: grid; place-items: center; color: var(--white); border: 1.5px solid rgba(255,255,255,.85); }
.play-dot svg { width: 14px; height: 14px; margin-left: 2px; }
.uses { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.use { display: flex; align-items: center; gap: 10px; background: var(--pale-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.use .ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); color: var(--white); }
.use .ic svg { width: 20px; height: 20px; }
.use .ic.insta { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.use b { display: block; font-size: 15px; line-height: 1.3; }
.use small { display: block; font-size: 11px; color: var(--ink-sub); line-height: 1.4; }

/* ── 動画カード（こんな動画も・ギャラリー） ───────────── */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: flex; flex-direction: column; gap: 12px; background: var(--white); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .prompt-chip { box-shadow: none; min-height: 64px; }
.card-media { position: relative; border-radius: 12px; overflow: hidden; background: var(--navy-800); aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media .play-dot { width: 54px; height: 54px; }
.card-media .play-dot svg { width: 20px; height: 20px; }
.badge { position: absolute; left: 10px; bottom: 10px; display: inline-block; padding: 3px 10px; border-radius: 7px; font-size: 12px; font-weight: 700; color: var(--white); background: var(--blue-600); }
.badge.ugc { background: var(--pink); }
.dur { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--white); background: rgba(4,11,34,.7); }
.card-title { font-size: 14px; font-weight: 700; color: var(--ink-sub); padding: 0 4px 2px; }

/* ── 実際の動画を見てみる（帯） ─────────────────── */
.watch-band { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(60% 120% at 80% 50%, rgba(29,92,255,.5), transparent 70%), linear-gradient(120deg, var(--navy-800), var(--navy-700)); }
.watch-band .wrap { display: grid; gap: 28px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 900px) { .watch-band .wrap { grid-template-columns: 1fr 1.2fr; } }
.fan { position: relative; height: 210px; max-width: 420px; }
.fan .th { position: absolute; bottom: 0; height: 88%; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 0 24px rgba(49,120,255,.6); }
.fan .th img { width: 100%; height: 100%; object-fit: cover; }
.fan .th:nth-child(1) { left: 0; transform: rotate(-8deg); z-index: 4; height: 96%; }
.fan .th:nth-child(2) { left: 24%; transform: rotate(-2deg); z-index: 3; }
.fan .th:nth-child(3) { left: 46%; transform: rotate(3deg); z-index: 2; height: 82%; }
.fan .th:nth-child(4) { left: 66%; transform: rotate(7deg); z-index: 1; height: 72%; }
.watch-cta { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.watch-cta .ring { flex: none; width: clamp(48px, 12vw, 64px); height: clamp(48px, 12vw, 64px); border-radius: 50%; border: 3px solid var(--white); display: grid; place-items: center; transition: background .2s; }
.watch-cta .ring svg { width: 24px; height: 24px; margin-left: 4px; }
.watch-cta:hover .ring { background: rgba(255,255,255,.12); }
.watch-cta b { display: block; white-space: nowrap; font-size: clamp(20px, calc((100vw - 150px) / 10.4), 42px); font-weight: 900; line-height: 1.25; background: linear-gradient(transparent 82%, #ffd400 82%, #ffd400 92%, transparent 92%); }
.watch-cta small { display: block; margin-top: 8px; font-size: 14px; opacity: .9; }

/* ── 5つのAI機能 ─────────────────────────────── */
.features { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(5, 1fr); gap: 14px; } }
.feature { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.feature .ic { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fff, #dcebff); color: var(--ink); box-shadow: 0 6px 20px rgba(29,92,255,.12); }
.feature .ic svg { width: 44px; height: 44px; stroke-width: 1.6; }
.feature h3 { margin-top: 16px; font-size: 18px; font-weight: 800; white-space: nowrap; }
.feature h3 .no { color: var(--blue-600); font-size: 1.25em; margin-right: 8px; }
.feature .what { margin-top: 6px; font-size: 14px; color: var(--ink-sub); line-height: 1.6; min-height: 3.2em; }
.feature ul { margin: 14px 0 0; padding: 14px 16px; list-style: none; width: 100%; text-align: left; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 14px; font-size: 13px; line-height: 1.9; color: var(--ink); }
.feature li::before { content: "・"; color: var(--ink-sub); }
@media (min-width: 1000px) {
  .feature:not(:last-child)::after { content: ""; position: absolute; top: 48px; left: calc(50% + 56px); width: calc(100% - 112px + 14px); height: 2px; background: linear-gradient(90deg, #bcd3ff, #e3edff); }
}

/* ── 2つのサービス ───────────────────────────── */
.services { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .services { grid-template-columns: 1fr auto 1fr; } }
.service { position: relative; overflow: hidden; background: linear-gradient(160deg, #f3f8ff, #e6f0ff); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; }
.service .tag-row { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.service .tag-row .n { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-700); color: var(--white); font-weight: 900; font-size: 20px; display: grid; place-items: center; }
.service h3 { font-size: clamp(30px, 6vw, 44px); font-weight: 900; line-height: 1.2; color: var(--navy-700); letter-spacing: -.01em; }
.service p { color: var(--ink); font-size: 15px; }
.service .checks { margin: 4px 0 0; padding: 18px 18px; list-style: none; background: var(--white); border-radius: 16px; display: grid; gap: 10px; box-shadow: 0 4px 14px rgba(17,52,130,.06); }
.service .checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; line-height: 1.5; }
.service .checks svg { flex: none; width: 22px; height: 22px; color: var(--blue-600); }
.service-visual { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.service-visual .th { aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--pale); }
.service-visual .th img { width: 100%; height: 100%; object-fit: cover; }
.mock { border-radius: 12px; overflow: hidden; background: var(--navy-700); padding: 10px; display: grid; grid-template-columns: 64px 1fr; gap: 8px; height: 150px; box-shadow: var(--shadow-lg); }
.mock .side { background: rgba(255,255,255,.08); border-radius: 6px; padding: 8px 6px; display: grid; gap: 6px; align-content: start; }
.mock .side i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); }
.mock .side i:first-child { background: var(--white); width: 70%; height: 8px; margin-bottom: 6px; }
.mock .main { background: var(--white); border-radius: 6px; padding: 10px; display: grid; gap: 8px; grid-template-rows: auto auto 1fr; }
.mock .main .chat { height: 10px; border-radius: 5px; background: var(--pale); width: 80%; }
.mock .main .go { height: 14px; width: 44px; border-radius: 7px; background: var(--blue-600); }
.mock .main .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mock .main .row span { border-radius: 4px; overflow: hidden; background: var(--pale); }
.mock .main .row img { width: 100%; height: 100%; object-fit: cover; }
.services-arrow { display: none; align-self: center; color: var(--blue-400); }
.services-arrow svg { width: 34px; height: 70px; }
@media (min-width: 900px) { .services-arrow { display: block; } }

/* ── 導入の流れ ─────────────────────────────── */
.flow { display: grid; gap: 12px; counter-reset: flow; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
.flow-item { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 8px; }
.flow-item .no { grid-column: 1 / -1; font-weight: 900; color: var(--blue-600); font-size: 22px; display: flex; align-items: baseline; gap: 14px; }
.flow-item .no b { color: var(--ink); font-size: 18px; }
.flow-item .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--pale); display: grid; place-items: center; color: var(--blue-600); }
.flow-item .ic svg { width: 26px; height: 26px; }
.flow-item p { font-size: 13.5px; color: var(--ink); line-height: 1.6; align-self: center; }
@media (min-width: 900px) { .flow-item:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; border: 7px solid transparent; border-left: 9px solid var(--blue-500); transform: translateY(-50%); } }

/* ── 最後のCTA ─────────────────────────────── */
.final-cta { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(120deg, var(--navy-800), #0e2b78); }
.final-cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 46px), linear-gradient(0deg, rgba(4,11,34,.5), transparent 60%); pointer-events: none; }
.final-cta .wrap { position: relative; padding-top: 64px; padding-bottom: 64px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .final-cta .wrap { grid-template-columns: 1fr auto; } }
.final-cta h2 { font-size: clamp(24px, 5.6vw, 42px); font-weight: 900; line-height: 1.4; }
.final-cta p { margin-top: 10px; opacity: .85; font-size: 15px; }

/* ── フッター ─────────────────────────────── */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); font-size: 13px; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.site-footer .brand { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -.01em; }
.site-footer .sep { width: 1px; height: 18px; background: rgba(255,255,255,.3); }
.site-footer .copy { width: 100%; font-size: 11px; opacity: .6; }
@media (max-width: 640px) { .site-footer .sep { display: none; } }

/* ── 下層ページの頭 ─────────────────────────── */
.page-hero { color: var(--white); background: radial-gradient(70% 90% at 50% 0%, rgba(29,92,255,.55), transparent 70%), linear-gradient(180deg, var(--navy-900), var(--navy-800)); padding: 110px 0 48px; text-align: center; }
.page-hero h1 { font-size: clamp(28px, 7vw, 48px); font-weight: 900; line-height: 1.3; }
.page-hero p { margin-top: 10px; opacity: .88; font-size: 15px; }
.page-hero .watch-cta { justify-content: center; }

/* ── ギャラリー ─────────────────────────────── */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 14px; margin: -28px auto 18px; max-width: var(--wrap); scrollbar-width: none; position: relative; z-index: 2; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 4px 12px rgba(17,52,130,.08); }
.tab[aria-pressed="true"] { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.gallery { padding-bottom: 72px; }
.gallery .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery .card-media, .more .card-media { aspect-ratio: 9 / 12; }
@media (max-width: 639px) {
  .gallery .cards, .more .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery .card, .more .card { padding: 8px; gap: 8px; border-radius: 14px; }
  .gallery .card .prompt-chip, .more .card .prompt-chip { min-height: 0; padding: 8px 9px; gap: 6px; font-size: 11.5px; line-height: 1.45; border-radius: 10px; }
  .gallery .card .prompt-chip svg, .more .card .prompt-chip svg { width: 14px; height: 14px; }
  .gallery .card .prompt-chip .bar-div, .more .card .prompt-chip .bar-div { display: none; }
  .gallery .card-media .play-dot, .more .card-media .play-dot { width: 40px; height: 40px; }
  .gallery .card-title, .more .card-title { font-size: 12px; padding: 0 2px; line-height: 1.5; }
  .gallery .badge, .more .badge, .gallery .dur, .more .dur { font-size: 10.5px; }
}
.empty { text-align: center; color: var(--ink-sub); padding: 40px 0; }

/* ── 動画の詳細 ─────────────────────────────── */
.detail { padding: 88px 0 64px; background: linear-gradient(180deg, var(--navy-900) 0, var(--navy-800) 380px, var(--pale-2) 380px); }
.detail-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; gap: 40px; } }
.player { position: relative; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.player.v { width: min(100%, calc((100svh - 140px) * 9 / 16)); aspect-ratio: 9 / 16; }
.player.h { width: 100%; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.unmute { position: absolute; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 14px; background: rgba(4,11,34,.75); color: var(--white); font-weight: 700; font-size: 13px; cursor: pointer; }
.unmute svg { width: 16px; height: 16px; }
.info { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: grid; gap: 16px; }
.info .label { font-size: 12px; font-weight: 700; color: var(--ink-sub); letter-spacing: .04em; }
.info h1 { font-size: 22px; font-weight: 900; line-height: 1.4; }
.info .desc { font-size: 15px; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--pale); color: var(--blue-600); }
.info .btn { width: 100%; }
.client-link { font-size: 14px; color: var(--ink-sub); }
.client-link a { color: var(--blue-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.detail > .wrap > .client-link { display: none; } /* 情報欄へ移す前に一瞬見えないように */
.back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.back svg { width: 16px; height: 16px; }
.more { margin-top: 56px; }
.more h2 { font-size: 22px; font-weight: 900; margin-bottom: 18px; }

/* ── ご相談フォーム ───────────────────────────── */
.form-wrap { padding: 0 0 72px; background: var(--pale-2); }
.form-card { max-width: 680px; margin: -24px auto 0; position: relative; background: var(--white); border-radius: 22px; box-shadow: var(--shadow); padding: 28px 22px; }
@media (min-width: 640px) { .form-card { padding: 40px; } }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: 14px; }
.field .req { margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--white); background: var(--pink); border-radius: 4px; padding: 1px 6px; vertical-align: 1px; }
.field .opt { margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--ink-sub); background: var(--pale); border-radius: 4px; padding: 1px 6px; vertical-align: 1px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--pale-2); transition: border-color .15s, background .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: var(--white); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--ink-sub); }
.seen { display: flex; gap: 12px; align-items: center; background: var(--pale); border-radius: 12px; padding: 10px; margin-bottom: 18px; font-size: 13px; }
.seen img { width: 48px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.seen b { display: block; font-size: 14px; }
.privacy { font-size: 12px; color: var(--ink-sub); margin: 4px 0 20px; line-height: 1.7; }
.hp { position: absolute; left: -9999px; }
.form-card .btn { width: 100%; }
.form-error { color: #d0103a; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.done { text-align: center; padding: 20px 0; }
.done .ok { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--pale); color: var(--blue-600); display: grid; place-items: center; }
.done .ok svg { width: 36px; height: 36px; }
.done h2 { font-size: 22px; font-weight: 900; }
.done p { margin-top: 10px; color: var(--ink-sub); }

/* 出現アニメーション */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-tiles .tile, .prompt-bar .caret { animation: none; }
}
