/* =====================================================================
   受託者向けLP 2026-10 ビジュアル改修（tkymbiz/2501guildTenen#10）
   pattern-a（構成維持）/ pattern-b（構成再設計）共通のスタイル
   型: 斜めの帯を重ねる / 画面の列を流す / キャラを枠の外へはみ出させる
   ===================================================================== */
:root {
  --bg: #0e1015;
  --bg-2: #151821;
  --bg-3: #1c2029;
  --ink: #ece6d6;
  --ink-2: #b9b1a0;
  --gold: #dd9300;
  --gold-2: #ffd37e;
  --gold-line: rgba(221, 147, 0, 0.45);
  --paper: #efe4c8;
  --paper-ink: #2b2112;
  --red: #b8392b;
  --tilt: 4deg;
  --gutter: 16px;
  --wrap: 1120px;
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
  --num: "Quantico", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; }

/* 文節単位の改行制御 */
.nb { display: inline-block; }
.sp-br { display: none; }
@media (max-width: 640px) { .sp-br { display: inline; } }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; position: relative; }

/* ---------- 見出し ---------- */
.h-sec {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
.h-sec em { font-style: normal; color: var(--gold-2); }
.lead { font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-2); margin: 0 0 1.2em; max-width: 36em; }
.lead b, .lead strong { color: var(--ink); font-weight: 700; }
.small { font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 56px; padding: 0 2em;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffbf3c, var(--gold));
  color: #1a1206; font-weight: 900; text-decoration: none; font-size: 17px;
  box-shadow: 0 4px 0 #7a5100, 0 10px 30px rgba(221, 147, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #7a5100, 0 14px 34px rgba(221, 147, 0, 0.45); }
.btn::after { content: "→"; font-weight: 700; }
.btn-note { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.link-sub { color: var(--gold-2); font-size: 14px; }

/* ---------- 斜めの帯（参考ページの skewY ±5° を交互に重ねる型） ---------- */
.band {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0 clamp(110px, 13vw, 180px);
  margin-top: calc(-1 * clamp(48px, 6vw, 96px));
  isolation: isolate;
}
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--band-bg, var(--bg-2));
  transform: skewY(calc(var(--dir, -1) * var(--tilt)));
  transform-origin: center;
  box-shadow: 0 -1px 0 var(--gold-line), 0 1px 0 var(--gold-line);
}
.band.up { --dir: 1; }
.band.dark { --band-bg: var(--bg); }
.band.mid { --band-bg: var(--bg-3); }
.band.paper { --band-bg: var(--paper); color: var(--paper-ink); }
.band.paper .lead, .band.paper .small { color: #5a4a2e; }
.band.paper .h-sec { text-shadow: none; }
.band.paper .h-sec em { color: var(--red); }
/* 背景に場所の絵を薄く敷く帯 */
.band.place::before {
  background:
    linear-gradient(180deg, rgba(14, 16, 21, 0.86), rgba(14, 16, 21, 0.72) 40%, rgba(14, 16, 21, 0.9)),
    var(--place) center / cover no-repeat;
}

/* ---------- 流れる画面の列（参考ページ sec2 の型） ---------- */
.reel {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  transform: rotate(-4deg);
  margin: 0 -6vw;
}
.reel.rev { transform: rotate(3deg); }
.reel-track {
  display: flex; gap: 18px; width: max-content;
  animation: reel 60s linear infinite;
}
.reel.rev .reel-track { animation-direction: reverse; }
.reel figure { margin: 0; flex: none; width: clamp(240px, 26vw, 380px); }
.reel img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  border-radius: 8px; border: 1px solid var(--gold-line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
.reel figcaption { font-size: 12px; color: var(--ink-2); margin-top: 6px; }
@keyframes reel { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 画面の額縁（実画面を大きく・少し傾けて置く） ---------- */
.shot {
  margin: 0; position: relative;
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--gold-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.03);
  background: #000;
}
.shot img { width: 100%; height: auto; }
.shot.tl { transform: rotate(-3deg); }
.shot.tr { transform: rotate(2.5deg); }
.shot-cap {
  display: inline-block; margin-top: 10px;
  font-size: 12px; color: var(--ink-2);
  border-left: 2px solid var(--gold); padding-left: 8px;
}

/* ---------- はみ出すキャラ ---------- */
.chara {
  position: absolute; z-index: 3; pointer-events: none;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.6));
  height: auto;
  /* 立ち絵は腰下で切れているため、下端をぼかして直線を見せない */
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
  mask-image: linear-gradient(180deg, #000 78%, transparent);
}
.chara.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .chara.float { animation: none; } }

/* ---------- 吹き出し ---------- */
.bubble {
  position: absolute; z-index: 4;
  background: var(--paper); color: var(--paper-ink);
  font-weight: 700; font-size: 14px; line-height: 1.5;
  padding: 10px 14px; border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  max-width: 15em;
}
.bubble::after {
  content: ""; position: absolute; bottom: -8px; left: 22px;
  border: 8px solid transparent; border-top-color: var(--paper); border-bottom: 0;
}

/* ---------- 汎用レイアウト ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.rev > :first-child { order: 2; }
.stage { position: relative; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 1em; list-style: none; }
.chips li { border: 1px solid var(--gold-line); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--gold-2); }
.band.paper .chips li { color: var(--red); border-color: rgba(184, 57, 43, 0.4); }

/* ---------- ヘッダー ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px clamp(16px, 3vw, 32px);
  background: linear-gradient(180deg, rgba(14, 16, 21, 0.92), rgba(14, 16, 21, 0));
}
.hd-logo img { height: 44px; width: auto; }
.hd-nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.hd-nav a { text-decoration: none; color: var(--ink-2); }
.hd-nav a:hover { color: var(--ink); }
.hd-cta { padding: 8px 18px; border-radius: 999px; background: var(--gold); color: #1a1206 !important; font-weight: 900; }
@media (max-width: 900px) { .hd-nav .opt { display: none; } }

/* ---------- フッター ---------- */
.ft { padding: 48px 0 32px; background: #08090c; font-size: 13px; color: var(--ink-2); }
.ft nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.ft a { text-decoration: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--bg-3); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--gold-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.faq details p b { color: var(--ink); }

/* ---------- SP ---------- */
@media (max-width: 760px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .reel { transform: rotate(-4deg); }
  .reel figure { width: 220px; }
  .bubble { font-size: 12px; padding: 8px 10px; }
  .hd-logo img { height: 28px; }
  .hd-nav { gap: 12px; }
  .hd-cta { padding: 7px 14px; font-size: 13px; }
}
