/* ==========================================================
   AIマンガ制作所 共通スタイル v2
   「漫画の紙面」をデザインシステムにしたコミックLPスタイル
   - インクの太枠 + ベタ影（コマ枠）
   - 集中線 / 網点スクリーントーン
   - 爆発フキダシ / スターバースト
   ========================================================== */
:root {
  --ink: #1a1a1f;
  --paper: #f8f4e9;
  --paper-deep: #efe8d5;
  --white: #ffffff;
  --red: #e94820;
  --red-deep: #c93312;
  --yellow: #ffd500;
  --blue: #2456c7;
  --text: #26262b;
  --text-soft: #5d5d66;
  --font-display: "M PLUS Rounded 1c", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-hand: "Yusei Magic", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --frame: 3px solid var(--ink);
  --pop-shadow: 6px 6px 0 var(--ink);
  --pop-shadow-sm: 4px 4px 0 var(--ink);
  /* 網点（スクリーントーン） */
  --tone: radial-gradient(rgba(26, 26, 31, .09) 1.2px, transparent 1.4px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ルートを16px→17.5pxに拡大（rem指定の全サイズが比率を保って約1.1倍になる） */
html { scroll-behavior: smooth; scroll-padding-top: 96px; font-size: 17.5px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.9;
  font-size: 1rem;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--yellow); color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- キャンペーン帯 ---------- */
.campaign-bar {
  background: var(--ink);
  text-align: center; padding: 11px 16px;
  border-bottom: 3px solid var(--ink);
}
.campaign-bar a {
  color: var(--paper); font-weight: 700; text-decoration: none; font-size: .95rem;
  letter-spacing: .02em;
}
.campaign-bar a:hover { color: var(--yellow); }
.campaign-bar .tag {
  display: inline-block;
  background: var(--yellow); color: var(--ink); font-weight: 900;
  padding: 1px 10px; margin-right: 10px; font-size: .8rem;
  border-radius: 2px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: var(--frame);
}
.site-header .inner {
  max-width: 1240px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  text-decoration: none; line-height: 1.25;
  display: flex; align-items: center; gap: 10px;
}
.logo-icon { width: 46px; height: 46px; flex-shrink: 0; }
.logo-body { display: flex; flex-direction: column; }
.logo-text {
  display: inline-block;
  font-family: var(--font-body); font-weight: 900;
  font-size: 1.5rem; letter-spacing: .01em; line-height: 1.2;
  transform: skewX(-10deg); transform-origin: left bottom;
  color: var(--ink);
  padding-right: .2em;
}
.logo-ai {
  background: linear-gradient(92deg, #a80f0f 0%, #e8150c 60%, #ff3b1f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo small {
  display: block; font-family: var(--font-body); font-size: .6rem; font-weight: 700;
  color: var(--text-soft); letter-spacing: .08em;
}
.gnav ul { display: flex; gap: 2px; list-style: none; flex-wrap: wrap; align-items: center; }
.gnav a {
  display: block; padding: 8px 12px; text-decoration: none;
  color: var(--ink); font-weight: 700; font-size: .88rem;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat; background-size: 0% 38%; background-position: 0 88%;
  transition: background-size .18s ease;
}
.gnav a:hover { background-size: 100% 38%; }
.gnav .header-cta {
  background: var(--red); color: var(--white);
  border: 2px solid var(--ink); border-radius: 8px;
  padding: 9px 20px; margin-left: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.gnav .header-cta:hover {
  background: var(--red); background-size: 0;
  transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink);
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  border-bottom: var(--frame);
  /* 集中線 + 網点 */
  background:
    repeating-conic-gradient(from 0deg at 74% 36%, rgba(26, 26, 31, .045) 0deg 1.6deg, transparent 1.6deg 7deg),
    var(--tone),
    linear-gradient(var(--paper), var(--paper));
  background-size: auto, 16px 16px, auto;
  padding: 72px 0 64px;
  overflow: hidden;
}
.hero .wrap { position: relative; }
.hero-label {
  display: inline-block; background: var(--ink); color: var(--paper);
  font-weight: 900; font-size: .85rem; padding: 6px 18px;
  margin-bottom: 22px; letter-spacing: .06em;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.65rem, 4.4vw, 2.85rem);
  color: var(--ink); line-height: 1.55; margin-bottom: 22px;
  letter-spacing: .01em;
  text-shadow: 3px 3px 0 rgba(255, 213, 0, .0);
}
.hero h1 .marker { background: linear-gradient(transparent 58%, var(--yellow) 58%); }
.hero h1 .accent {
  color: var(--red);
  text-shadow: 3px 3px 0 rgba(26, 26, 31, .16);
}
.hero-lead { font-size: 1.02rem; max-width: 620px; margin-bottom: 28px; }

/* 価格スターバースト（爆発フキダシ） */
.price-burst-wrap { position: absolute; right: -6px; top: -20px; filter: drop-shadow(6px 6px 0 var(--ink)); }
.price-burst {
  --burst-shape: polygon(100% 50%, 86.7% 59.8%, 93.3% 75%, 76.9% 76.9%, 75% 93.3%, 59.8% 86.7%, 50% 100%, 40.2% 86.7%, 25% 93.3%, 23.1% 76.9%, 6.7% 75%, 13.3% 59.8%, 0% 50%, 13.3% 40.2%, 6.7% 25%, 23.1% 23.1%, 25% 6.7%, 40.2% 13.3%, 50% 0%, 59.8% 13.3%, 75% 6.7%, 76.9% 23.1%, 93.3% 25%, 86.7% 40.2%);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  /* 外側の星＝黒い縁取り。ひと回り小さい白い星(::before)を重ねて枠線を表現 */
  background: var(--ink); color: var(--ink);
  width: 230px; height: 230px; text-align: center;
  position: absolute; right: 0; top: -14px;
  clip-path: var(--burst-shape);
  filter: drop-shadow(5px 5px 0 var(--ink));
}
.price-burst::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--white);
  clip-path: var(--burst-shape);
  transform: scale(.93);
}
.price-burst > span { position: relative; z-index: 1; }
/* トップ（背景画像あり）ではバーストを下側に置き、キャラクターの顔に被らないようにする */
.hero-bg .price-burst { top: auto; bottom: -6px; }

.price-burst .small { font-size: .8rem; font-weight: 900; line-height: 1.5; }
.price-burst .big {
  font-family: var(--font-display); font-weight: 900;
  font-size: 2.5rem; line-height: 1.15; color: var(--red);
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding: 0 .1em;
}
.price-burst .big span { font-size: 1.25rem; }

/* メインビジュアル背景画像
   横長（2:1目安）の画像を全面カバーで敷き、
   文字が乗る左側にだけ薄く紙色のフェードを重ねて可読性を確保。
   ページごとの画像は --hero-img で切り替える。 */
.hero-bg {
  --hero-img: url("../img/main-visual.webp");
  background:
    linear-gradient(90deg,
      rgba(248, 244, 233, .9) 0%,
      rgba(248, 244, 233, .55) 38%,
      rgba(248, 244, 233, .12) 60%,
      rgba(248, 244, 233, 0) 80%),
    var(--hero-img) right center / cover no-repeat,
    var(--paper);
}
.hero-saiyo    { --hero-img: url("../img/hero-saiyo.webp"); }
.hero-service  { --hero-img: url("../img/hero-service.webp"); }
.hero-sns      { --hero-img: url("../img/hero-sns.webp"); }
.hero-tenjikai { --hero-img: url("../img/hero-tenjikai.webp"); }
.hero-manual   { --hero-img: url("../img/hero-manual.webp"); }

.hero-points { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; list-style: none; max-width: 620px; }
.hero-points li {
  background: var(--white); border: 2px solid var(--ink); border-radius: 999px;
  padding: 6px 18px; font-weight: 900; font-size: .9rem; color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.hero-points li::before { content: "✔ "; color: var(--red); }

/* ---------- CTAボタン ---------- */
.cta-buttons { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 900; padding: 17px 40px; font-size: 1.05rem;
  border: var(--frame); border-radius: 12px;
  box-shadow: var(--pop-shadow);
  transition: transform .12s ease, box-shadow .12s ease;
  line-height: 1.5;
}
.btn:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary small { display: block; font-size: .74rem; font-weight: 700; opacity: .95; }
.btn-secondary { background: var(--white); color: var(--ink); }
.btn-ghost {
  background: transparent; color: var(--paper);
  border-color: var(--paper); box-shadow: 6px 6px 0 rgba(248, 244, 233, .35);
}
.btn-ghost:hover { box-shadow: 2px 2px 0 rgba(248, 244, 233, .35); }

/* ---------- セクション共通 ---------- */
section { padding: 84px 0; }
.section-soft {
  background: var(--tone), linear-gradient(var(--paper-deep), var(--paper-deep));
  background-size: 14px 14px, auto;
  border-top: var(--frame); border-bottom: var(--frame);
}
section + .section-soft, .section-soft + section { border-top: none; }

/* キャンペーン専用セクション（黄色ストライプで目立たせる） */
.section-campaign {
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 20px, #ffdf43 20px 40px);
  border-top: var(--frame); border-bottom: var(--frame);
}
section + .section-campaign, .section-campaign + section { border-top: none; }
.section-campaign .section-sub-en { color: var(--red); }
.section-campaign .section-sub { color: var(--ink); }
.section-campaign .campaign-box .head {
  background: var(--white);
}
.section-campaign .campaign-box .head h3,
.section-campaign .campaign-box .head .h3 { text-shadow: none; }

.section-sub-en {
  display: block; text-align: center; color: var(--red); font-weight: 900;
  font-size: .78rem; letter-spacing: .3em; margin-bottom: 10px; text-transform: uppercase;
  font-family: var(--font-body);
}
.section-title {
  font-family: var(--font-display); font-weight: 900;
  text-align: center; font-size: clamp(1.4rem, 3.2vw, 2rem);
  color: var(--ink); line-height: 1.65; margin-bottom: 16px;
  letter-spacing: .01em;
}
/* h2の強調は「黒文字＋黄色マーカー」に統一（.accent / .marker とも同じ見た目） */
.section-title .accent,
.section-title .marker { background: linear-gradient(transparent 58%, var(--yellow) 58%); color: var(--ink); }
/* 黄色ストライプ背景のセクションでは白マーカーで可読性を確保 */
.section-campaign .section-title .accent,
.section-campaign .section-title .marker { background: linear-gradient(transparent 58%, var(--white) 58%); }
.section-sub {
  text-align: center; color: var(--text-soft); font-weight: 700; font-size: .95rem;
  margin-bottom: 52px;
}
.section-title + .section-sub { margin-top: 4px; }
.section-title:last-child { margin-bottom: 0; }

/* タイトル直後にコンテンツが来る場合の余白 */
.section-title + .reasons, .section-title + .worries, .section-title + .flow,
.section-title + .campaign-box, .section-title + .faq, .section-title + .table-scroll,
.section-title + .price-box, .section-title + .balloon, .section-title + .vs-grid,
.section-title + .usecase-grid, .section-title + .scene-grid, .section-title + .cta-buttons,
.section-title + .form-box { margin-top: 44px; }

/* ---------- お悩み（フキダシ列） ---------- */
.worries { list-style: none; max-width: 720px; margin: 0 auto 34px; display: grid; gap: 20px; }
.worries li {
  background: var(--white); border: var(--frame); border-radius: 16px;
  padding: 18px 24px 18px 60px;
  position: relative; box-shadow: var(--pop-shadow-sm); font-weight: 700;
}
.worries li::before {
  content: "😟"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem;
}
/* お悩みごとの絵文字は data-emoji 属性で指定する */
.worries li[data-emoji]::before { content: attr(data-emoji); }
/* 採用LP：お悩みごとに絵文字を変える */
.worries-saiyo li:nth-child(1)::before { content: "😢"; }
.worries-saiyo li:nth-child(2)::before { content: "😱"; }
.worries-saiyo li:nth-child(3)::before { content: "😓"; }
.worries-saiyo li:nth-child(4)::before { content: "💸"; }
.worries li strong { color: var(--red); }
.worry-arrow { text-align: center; font-size: 2rem; color: var(--red); line-height: 1; margin: 18px 0 22px; text-shadow: 2px 2px 0 var(--ink); }
.worry-answer {
  text-align: center; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.5rem, 3.8vw, 2.2rem); color: var(--ink); line-height: 1.7;
}
.worry-answer .accent { color: var(--red); }
.worry-answer .marker { background: linear-gradient(transparent 58%, var(--yellow) 58%); color: var(--ink); }

/* ---------- 漫画画像プレースホルダー ----------
   漫画が完成したら <div class="img-slot ...">...</div> を
   <img src="..." alt="..."> にそのまま差し替える。 */
.img-slot {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%;
  background: repeating-linear-gradient(-45deg, #e8e5dd 0 14px, #e0ddd4 14px 28px);
  border: 2px dashed #93929b;
  border-radius: 4px;
  color: #6f6e78; font-size: .82rem; font-weight: 700; line-height: 1.7;
  margin-bottom: 16px;
}
.img-slot-43 { aspect-ratio: 4 / 3; }
.img-slot-85 { aspect-ratio: 8 / 5; }

/* スマホでのみ効く改行（<br class="br-sp">） */
.br-sp { display: none; }
@media (max-width: 640px) { .br-sp { display: inline; } }

/* 本文中の強調（黒文字＋黄色マーカー） */
.hl {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  font-weight: 900;
}

/* 差し替え後の漫画コマ画像 */
.koma-img {
  width: 100%; height: auto;
  border: 2px solid var(--ink); border-radius: 4px;
  margin-bottom: 16px;
}

/* ---------- 選ばれる理由（コマ割りカード） ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
.reason-card {
  background: var(--white); border: var(--frame); border-radius: 4px;
  padding: 32px 24px 26px;
  box-shadow: var(--pop-shadow); position: relative;
}
.reason-card .num {
  position: absolute; top: -20px; left: -14px;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-display); font-weight: 900;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
  border: var(--frame); box-shadow: 3px 3px 0 var(--ink);
}
.reason-card .icon { font-size: 2.1rem; margin-bottom: 12px; line-height: 1; }
.reason-card h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.34rem; color: var(--ink); margin-bottom: 12px; line-height: 1.6;
}
.reason-card h3 .accent { color: var(--red); }
.reason-card p { font-size: .92rem; color: var(--text-soft); line-height: 1.85; }

/* ---------- 活用シーンの見出し強調版（見出し→画像→補足） ---------- */
.usecase-lg .usecase h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.6;
  text-align: center; margin-bottom: 16px;
}
.usecase-lg .usecase h3 .icon { margin-right: 8px; }
.usecase-lg .usecase p { color: #000; }
.usecase-lg .koma-img { border-width: 3px; }

/* ---------- 理由の1カラム版（吹き出し見出し→画像→補足） ---------- */
.reasons-stack { grid-template-columns: 1fr; gap: 60px; max-width: 720px; margin-left: auto; margin-right: auto; }
.reasons-stack .reason-card {
  background: transparent; border: none; box-shadow: none;
  padding: 0; border-radius: 0;
}
.reasons-stack .reason-card .num { top: -18px; left: -12px; z-index: 2; }
.reasons-stack .reason-card h3 {
  position: relative; background: var(--white); border: var(--frame);
  border-radius: 24px; padding: 18px 30px; text-align: center;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem); line-height: 1.65;
  margin-bottom: 30px; box-shadow: var(--pop-shadow-sm);
}
.reasons-stack .reason-card h3::before {
  content: ""; position: absolute; bottom: -22px; left: 50%; margin-left: -13px;
  border: 13px solid transparent; border-top: 22px solid var(--ink); border-bottom: none;
}
.reasons-stack .reason-card h3::after {
  content: ""; position: absolute; bottom: -14px; left: 50%; margin-left: -9px;
  border: 9px solid transparent; border-top: 16px solid var(--white); border-bottom: none;
}
.reasons-stack .reason-body {
  background: var(--white); border: var(--frame); border-radius: 4px;
  box-shadow: var(--pop-shadow); padding: 26px 26px 22px;
}
.reasons-stack .koma-img {
  border-width: 2px; box-shadow: none; margin-bottom: 16px;
  aspect-ratio: 16 / 9; object-fit: cover; object-position: center;
}
.reasons-stack .reason-card p { color: #000; font-size: .95rem; }
.reasons-stack .img-slot { aspect-ratio: 16 / 9; }

/* 2枚の画像を並べて比較する図 */
.fig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 40px auto 0; }
.fig-pair figure { margin: 0; }
.fig-pair figcaption { text-align: center; font-weight: 900; font-size: .92rem; color: var(--ink); margin-top: 4px; }
@media (max-width: 640px) { .fig-pair { grid-template-columns: 1fr; } }

/* ---------- 料金 ---------- */
.price-box {
  max-width: 680px; margin: 0 auto 48px; background: var(--white);
  border: var(--frame); border-radius: 4px; overflow: visible;
  box-shadow: var(--pop-shadow); position: relative;
}
.price-box .head {
  background: var(--ink); color: var(--paper); text-align: center;
  font-weight: 900; padding: 13px; font-size: 1.02rem; letter-spacing: .04em;
}
.price-box .body {
  padding: 36px 24px 30px; text-align: center;
  background: var(--tone); background-size: 14px 14px;
}
.price-main {
  font-family: var(--font-display); font-weight: 900; color: var(--red);
  font-size: clamp(2.7rem, 7.4vw, 4.4rem); line-height: 1.25;
  text-shadow: 3px 3px 0 rgba(26, 26, 31, .12);
}
.price-main .unit { font-size: .44em; }
.price-note { color: var(--text-soft); font-size: .85rem; margin-top: 12px; }
.price-per {
  display: inline-block; font-weight: 900; color: var(--ink); font-size: 1rem; margin-top: 12px;
  background: var(--yellow); padding: 2px 16px;
}

.table-scroll { overflow-x: auto; padding: 4px 4px 10px; }
.compare-table {
  width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0;
  background: var(--white);
  border: var(--frame); box-shadow: var(--pop-shadow);
}
.compare-table th, .compare-table td {
  padding: 15px 14px; text-align: center; border: 1px solid rgba(26, 26, 31, .28);
  font-size: .94rem; line-height: 1.6;
}
.compare-table thead th {
  background: var(--ink); color: var(--paper); font-size: .98rem; border-color: rgba(248,244,233,.25);
}
.compare-table thead th.hl {
  background: var(--red); color: var(--white); font-size: 1.04rem;
  font-family: var(--font-display); font-weight: 900;
}
.compare-table td.hl { background: #fff3d6; font-weight: 900; color: var(--red); font-size: 1rem; }
.compare-table td:first-child, .compare-table th:first-child {
  background: var(--paper-deep); font-weight: 700; color: var(--ink);
}
.compare-table .maru { color: var(--red); font-weight: 900; font-size: 1.2rem; }
.compare-table .batu { color: #9a9aa5; font-weight: 900; }

/* ---------- 制作の流れ ---------- */
.flow { list-style: none; max-width: 760px; margin: 0 auto; counter-reset: flow; }
.flow li {
  background: var(--white); border: var(--frame); border-radius: 4px;
  box-shadow: var(--pop-shadow-sm);
  padding: 24px 26px 22px 108px; position: relative; counter-increment: flow;
}
.flow li + li { margin-top: 40px; }
.flow li + li::before {
  content: ""; position: absolute; top: -32px; left: 50%; transform: translateX(-50%);
  border: 12px solid transparent; border-top: 16px solid var(--ink);
}
.flow li::after {
  content: "STEP " counter(flow);
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-display); font-weight: 900; font-size: .78rem;
  border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  border-radius: 8px; padding: 9px 10px; letter-spacing: .04em; white-space: nowrap;
}
.flow h3 { font-family: var(--font-display); font-weight: 900; font-size: 1rem; color: var(--ink); margin-bottom: 6px; }
.flow p { font-size: .9rem; color: var(--text-soft); }
.flow .days { color: var(--red); font-weight: 900; font-size: .85rem; }

/* ---------- フキダシ（大） ---------- */
.balloon {
  position: relative; background: var(--white); border: var(--frame);
  border-radius: 26px; padding: 28px 32px; max-width: 760px; margin: 0 auto;
  font-weight: 500; box-shadow: var(--pop-shadow-sm);
  font-family: var(--font-body); font-size: .98rem; line-height: 1.95;
}
.balloon strong { color: var(--red); font-weight: 900; }
.balloon::before {
  content: ""; position: absolute; top: -22px; left: 50%; margin-left: -13px;
  border: 13px solid transparent; border-bottom: 22px solid var(--ink); border-top: none;
}
.balloon::after {
  content: ""; position: absolute; top: -14px; left: 50%; margin-left: -9px;
  border: 9px solid transparent; border-bottom: 16px solid var(--white); border-top: none;
}

/* ---------- キャンペーン ---------- */
.campaign-box {
  max-width: 880px; margin: 0 auto; background: var(--white);
  border: var(--frame); border-radius: 4px;
  box-shadow: var(--pop-shadow); overflow: hidden;
}
.campaign-box .head {
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 16px, #ffdf43 16px 32px);
  text-align: center; padding: 26px 20px 22px;
  border-bottom: var(--frame);
  position: relative;
}
.campaign-box .head .badge {
  display: inline-block; background: var(--red); color: var(--white);
  font-weight: 900; padding: 4px 20px; font-size: .88rem; margin-bottom: 12px;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.campaign-box .head h3, .campaign-box .head .h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.25rem, 3.2vw, 1.8rem); color: var(--ink); line-height: 1.7;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, .8);
}
.campaign-box .body { padding: 34px 32px; }
.campaign-box .conditions {
  background: var(--paper); border: 2px dashed var(--ink); border-radius: 8px;
  padding: 22px 24px; margin: 20px 0;
}
.campaign-box .conditions h4 {
  color: var(--ink); font-size: 1rem; margin-bottom: 8px;
  font-family: var(--font-display); font-weight: 900;
}
.campaign-box .conditions ul { list-style: none; }
.campaign-box .conditions li { padding-left: 28px; position: relative; font-size: .95rem; margin-bottom: 6px; }
.campaign-box .conditions li::before { content: "✅"; position: absolute; left: 0; }
.campaign-reason { font-size: .92rem; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 18px; }
.faq details {
  background: var(--white); border: var(--frame); border-radius: 4px;
  box-shadow: var(--pop-shadow-sm); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 52px 18px 60px; font-weight: 900; color: var(--ink);
  position: relative; list-style: none; font-size: .97rem; line-height: 1.7;
}
.faq summary:hover { background: rgba(255, 213, 0, .14); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 18px; top: 16px;
  background: var(--red); color: var(--white);
  font-family: var(--font-display);
  width: 30px; height: 30px; border: 2px solid var(--ink);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.faq summary::after {
  content: "＋"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--ink); font-weight: 900; font-size: 1.3rem;
}
.faq details[open] summary::after { content: "－"; }
.faq .answer {
  padding: 6px 28px 22px 60px; position: relative; font-size: .93rem; color: var(--text-soft);
  border-top: 2px dashed rgba(26, 26, 31, .25); margin: 0 18px 0 0; padding-top: 14px;
}
.faq .answer::before {
  content: "A"; position: absolute; left: 0; top: 12px;
  background: var(--ink); color: var(--yellow);
  font-family: var(--font-display);
  width: 30px; height: 30px; border: 2px solid var(--ink);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.faq details .answer { margin-left: 18px; }

/* ---------- シーン別カード ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.scene-card {
  background: var(--white); border: var(--frame); border-radius: 4px;
  box-shadow: var(--pop-shadow-sm);
  padding: 28px 24px; text-decoration: none; color: var(--text);
  transition: transform .15s ease, box-shadow .15s ease;
  display: block; position: relative;
}
.scene-card:hover { transform: translate(-2px, -4px); box-shadow: 8px 10px 0 var(--ink); }
.scene-card .icon { font-size: 2rem; margin-bottom: 10px; line-height: 1; }
.scene-card h3 {
  font-family: var(--font-display); font-weight: 900;
  color: var(--ink); font-size: 1rem; margin-bottom: 8px; line-height: 1.6;
}
.scene-card p { font-size: .88rem; color: var(--text-soft); margin-bottom: 10px; }
.scene-card .more { color: var(--red); font-weight: 900; font-size: .85rem; }

/* ---------- 活用例 ---------- */
.usecase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; margin: 0 auto; }
.usecase {
  background: var(--white); border: var(--frame); border-radius: 4px;
  box-shadow: var(--pop-shadow-sm); padding: 26px;
}
.usecase h3 {
  font-family: var(--font-display); font-weight: 900;
  color: var(--ink); font-size: .98rem; margin-bottom: 10px; line-height: 1.6;
}
.usecase h3 .icon { margin-right: 8px; }
.usecase p { font-size: .9rem; color: var(--text-soft); }

/* ---------- つくり方（AI × 人のアイデア × 職人技） ---------- */
.method-formula {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px; align-items: stretch; max-width: 1020px; margin: 0 auto;
}
.method-card {
  background: var(--white); border: var(--frame); border-radius: 4px;
  box-shadow: var(--pop-shadow-sm); padding: 28px 22px; text-align: center;
}
.method-card .icon { font-size: 2.4rem; line-height: 1; margin-bottom: 12px; }
.method-card h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.15rem; color: var(--ink); margin-bottom: 12px; line-height: 1.5;
}
.method-card h3 .accent { color: var(--red); }
.method-card p { font-size: .92rem; color: #000; text-align: left; }
.method-x {
  align-self: center;
  font-family: var(--font-display); font-weight: 900;
  font-size: 2.2rem; color: var(--red);
  text-shadow: 2px 2px 0 var(--yellow);
}
@media (max-width: 900px) {
  .method-formula { grid-template-columns: 1fr; max-width: 480px; gap: 12px; }
  .method-x { justify-self: center; font-size: 1.8rem; }
}

/* ---------- 運営実績（Instagram + データ図） ---------- */
.proof-grid {
  display: grid; grid-template-columns: 1fr; gap: 36px;
  max-width: 860px; margin: 0 auto;
}
.proof-card {
  background: var(--white); border: var(--frame); border-radius: 4px;
  box-shadow: var(--pop-shadow-sm); padding: 28px;
}
.proof-card h3 {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.02rem; color: var(--ink); line-height: 1.6; margin-bottom: 16px;
}
.insta-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.insta-id { line-height: 1.5; }
.insta-id .name { font-weight: 900; font-size: 1.05rem; color: var(--ink); }
.insta-id .handle { font-size: .85rem; color: var(--text-soft); font-weight: 700; }
.insta-stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.insta-stats .chip {
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px;
  padding: 4px 16px; font-weight: 900; font-size: .88rem; color: var(--ink);
}
.insta-stats .chip strong { color: var(--red); }
.proof-card p { font-size: .92rem; color: var(--text-soft); }

/* データカード強調版（黒ベタ＋集中線の「決めゴマ」） */
.proof-card-data {
  background:
    repeating-conic-gradient(from 0deg at 50% -40%, rgba(248, 244, 233, .06) 0deg 1.6deg, transparent 1.6deg 7deg),
    var(--ink);
  color: var(--paper);
  box-shadow: 8px 8px 0 var(--yellow), 8px 8px 0 2px var(--ink);
  padding: 36px 32px;
}
.proof-card-data h3 {
  color: var(--paper); text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.7rem); margin-bottom: 18px;
}
.proof-card-data h3 .yellow { color: var(--yellow); }
.proof-card-data p { color: #cfccc3; text-align: center; }
.proof-card-data .bar-label { color: var(--paper); }
.proof-card-data .bar-track { background: rgba(248, 244, 233, .12); border-color: var(--paper); }
.proof-card-data .bar-fill { border-right-color: var(--paper); }
.proof-card-data .bar-fill.bar-normal { background: #8a887f; }
.proof-card-data .bar-value { color: var(--paper); }
.proof-card-data .stat-hero { color: var(--paper); border-top-color: rgba(248, 244, 233, .3); }
.proof-card-data .stat-hero .big {
  font-size: clamp(2.2rem, 5vw, 3rem); color: var(--yellow);
  text-shadow: 3px 3px 0 var(--red);
}
.proof-card-data .chart-note { color: #9a988f; text-align: left; }

/* データ独立セクション（黒ベタ全面＋集中線） */
.section-data {
  background:
    repeating-conic-gradient(from 0deg at 50% -30%, rgba(248, 244, 233, .06) 0deg 1.6deg, transparent 1.6deg 7deg),
    var(--ink);
  border-top: var(--frame); border-bottom: var(--frame);
  color: var(--paper);
}
section + .section-data { border-top: none; }
.section-data .section-title { color: var(--paper); }
.section-data .section-title .yellow { color: var(--yellow); }
.section-data .section-sub { color: #cfccc3; }
.proof-card-data.data-flat {
  background: none; box-shadow: none; border: none; padding: 0;
  max-width: 720px; margin: 44px auto 0;
}
.section-data .bar-track { height: 44px; }
/* 黒背景では棒の数値ラベルを紙色にする（赤バーの右外に置かれるため） */
.section-data .bar-fill .bar-value,
.section-data .bar-fill.bar-manga .bar-value { color: var(--paper); }
.section-data .stat-hero { border-top: none; margin-top: 30px; padding-top: 0; font-size: 1.15rem; }
.section-data .stat-hero .big {
  display: inline-block; margin-left: 10px;
  font-size: clamp(2.8rem, 6.4vw, 4rem);
}

/* 横棒グラフ（値に比例した幅で表示すること） */
.bar-chart { display: grid; gap: 18px; margin: 22px 0 10px; }
.bar-row { display: grid; grid-template-columns: 8.5em 1fr; gap: 8px 12px; align-items: center; }
.bar-label { font-size: .88rem; font-weight: 700; color: var(--ink); text-align: right; line-height: 1.4; }
.bar-track { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; height: 34px; overflow: visible; }
.bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  border-radius: 3px 4px 4px 3px; border-right: 2px solid var(--ink);
  display: flex; align-items: center;
}
.bar-fill.bar-normal { background: #b9b6ad; }
.bar-fill.bar-manga { background: var(--red); }
.bar-value {
  position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  font-weight: 900; color: var(--ink); font-size: .95rem; white-space: nowrap;
}
.bar-fill.bar-manga .bar-value { color: var(--ink); }
.stat-hero {
  text-align: center; margin-top: 20px; padding-top: 16px;
  border-top: 2px dashed rgba(26, 26, 31, .25);
  font-weight: 900; color: var(--ink);
}
.stat-hero .big {
  font-family: var(--font-display); font-size: 2rem; color: var(--red);
  line-height: 1.3;
}
.chart-note { font-size: .78rem; color: var(--text-soft); margin-top: 12px; }

@media (max-width: 640px) {
  .bar-row { grid-template-columns: 1fr; gap: 6px; }
  .bar-label { text-align: left; }
  .bar-value { font-size: .85rem; }
}

/* ---------- 制作実績（スワイプ式漫画ビューア） ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work {
  background: var(--white); border: var(--frame); border-radius: 4px;
  box-shadow: var(--pop-shadow-sm); overflow: hidden;
}
.work-head { padding: 16px 18px 12px; }
.work-ep {
  display: inline-block; background: var(--red); color: var(--white); font-weight: 900;
  font-size: .75rem; padding: 2px 12px; border-radius: 999px;
  border: 1px solid var(--ink); margin-bottom: 8px;
}
.work-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1rem; color: var(--ink); line-height: 1.5;
}
.work-car {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; background: var(--paper-deep);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.work-car::-webkit-scrollbar { height: 6px; }
.work-car::-webkit-scrollbar-thumb { background: rgba(26,26,31,.35); border-radius: 3px; }
.work-car img {
  flex: 0 0 100%; width: 100%; height: auto;
  scroll-snap-align: center; scroll-snap-stop: always; display: block;
}
/* スワイプ可能であることを示すオーバーレイバッジ（初回スワイプで消える） */
.work-view { position: relative; }
.swipe-hint {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px;
  background: rgba(26, 26, 31, .88); color: var(--paper);
  border: 2px solid var(--paper);
  padding: 8px 20px; border-radius: 999px;
  font-weight: 900; font-size: .85rem; white-space: nowrap;
  pointer-events: none; z-index: 2;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
  transition: opacity .35s ease;
}
.swipe-hint .swipe-icon {
  display: inline-block; font-size: 1.1rem;
  animation: swipe-nudge 1.3s ease-in-out infinite;
}
@keyframes swipe-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-9px); }
}
.work-view.is-swiped .swipe-hint { opacity: 0; }

.work-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; font-size: .8rem; color: var(--text-soft); font-weight: 700;
}
.work-count {
  background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: 2px 12px; font-size: .78rem; font-weight: 900;
}
@media (max-width: 900px) {
  .works-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* ---------- なぜ5話セットか（EP構成の根拠データ） ---------- */
.ep-list { display: grid; gap: 20px; max-width: 920px; margin: 44px auto 0; }
.ep-row {
  display: grid; grid-template-columns: auto 1fr 230px; gap: 20px; align-items: center;
  background: var(--white); border: var(--frame); border-radius: 4px;
  box-shadow: var(--pop-shadow-sm); padding: 22px 26px;
}
.ep-badge {
  background: var(--ink); color: var(--yellow);
  font-family: var(--font-display); font-weight: 900; font-size: .88rem;
  border-radius: 8px; padding: 10px 12px; white-space: nowrap;
}
.ep-title {
  font-family: var(--font-display); font-weight: 900;
  color: var(--ink); font-size: 1.08rem; margin-bottom: 6px;
}
.ep-main p { font-size: .88rem; color: var(--text-soft); }
.ep-stat {
  text-align: center;
  border-left: 2px dashed rgba(26, 26, 31, .25); padding-left: 20px;
}
.ep-stat .num {
  display: block; font-family: var(--font-display); font-weight: 900;
  color: var(--red); font-size: 1.9rem; line-height: 1.3;
}
.ep-stat .cap { font-size: .72rem; color: var(--text-soft); font-weight: 700; line-height: 1.5; }
@media (max-width: 640px) {
  .ep-row { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .ep-badge { justify-self: start; }
  .ep-stat { border-left: none; border-top: 2px dashed rgba(26, 26, 31, .25); padding: 14px 0 0; }
}

/* ---------- VS比較 ---------- */
.vs-grid { display: grid; grid-template-columns: 1fr 84px 1fr; gap: 0; align-items: stretch; max-width: 920px; margin: 0 auto; }
.vs-col {
  background: var(--white); border: var(--frame); border-radius: 4px;
  box-shadow: var(--pop-shadow-sm); padding: 28px;
}
.vs-col.win { border-width: 4px; box-shadow: var(--pop-shadow); }
.vs-col.lose { background: var(--paper); }
.vs-col h3 {
  text-align: center; font-family: var(--font-display); font-weight: 900;
  color: var(--ink); margin-bottom: 16px; font-size: 1.02rem;
}
.vs-col.win h3 { color: var(--red); }
.vs-mark {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--ink);
  text-shadow: 2px 2px 0 var(--yellow);
}
.vs-col ul { list-style: none; }
.vs-col li { padding: 9px 0 9px 28px; position: relative; font-size: .92rem; border-bottom: 2px dashed rgba(26,26,31,.2); }
.vs-col li:last-child { border-bottom: none; }
.vs-col.win li::before { content: "◎"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.vs-col.lose li::before { content: "△"; position: absolute; left: 0; color: #9a9aa5; font-weight: 900; }

/* ---------- CTAセクション ---------- */
.cta-section {
  background:
    repeating-conic-gradient(from 0deg at 50% 120%, rgba(248, 244, 233, .05) 0deg 1.4deg, transparent 1.4deg 6deg),
    var(--ink);
  text-align: center; color: var(--paper);
  border-top: var(--frame);
}
.cta-section h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.35rem, 3.2vw, 1.95rem); margin-bottom: 16px; line-height: 1.8;
}
.cta-section h2 .yellow { color: var(--yellow); text-shadow: 2px 2px 0 var(--red); }
.cta-section p { margin-bottom: 30px; opacity: .9; }
.cta-section .cta-buttons { justify-content: center; }
.cta-section .btn-primary { box-shadow: 6px 6px 0 rgba(233, 72, 32, .35); }
.cta-section .btn-primary:hover { box-shadow: 2px 2px 0 rgba(233, 72, 32, .35); }

/* ---------- フォーム ---------- */
.form-box {
  max-width: 680px; margin: 0 auto; background: var(--white);
  border: var(--frame); border-radius: 4px; box-shadow: var(--pop-shadow);
  padding: 40px 36px;
}
.form-row { margin-bottom: 24px; }
.form-row label { display: block; font-weight: 900; color: var(--ink); margin-bottom: 8px; font-size: .95rem; }
.form-row .req {
  background: var(--red); color: var(--white); font-size: .72rem;
  padding: 2px 9px; margin-left: 10px; vertical-align: middle;
  border: 1px solid var(--ink); display: inline-block; border-radius: 3px;
}
.form-row .opt {
  background: #9a9aa5; color: var(--white); font-size: .72rem;
  padding: 2px 9px; margin-left: 10px; vertical-align: middle;
  border: 1px solid var(--ink); display: inline-block; border-radius: 3px;
}
.form-row input[type="text"], .form-row input[type="email"], .form-row select, .form-row textarea {
  width: 100%; border: 2px solid var(--ink); border-radius: 6px; padding: 13px 15px;
  font-size: 1rem; font-family: inherit; background: var(--paper);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--red); background: var(--white);
  box-shadow: 3px 3px 0 rgba(233, 72, 32, .3);
}
.form-check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
/* display:flex が hidden 属性を打ち消さないようにする */
.form-check[hidden] { display: none !important; }
.form-check input { margin-top: 7px; width: 18px; height: 18px; accent-color: var(--red); }
.form-error {
  max-width: 680px; margin: 0 auto 20px;
  background: #fdecea; border: 2px solid var(--red); border-radius: 8px;
  color: var(--red-deep); font-weight: 900; font-size: .95rem;
  padding: 14px 18px; text-align: center;
}
.form-submit { text-align: center; margin-top: 32px; }
.form-submit button {
  background: var(--red); color: var(--white); cursor: pointer;
  font-weight: 900; padding: 17px 64px; font-size: 1.1rem;
  border: var(--frame); border-radius: 12px; box-shadow: var(--pop-shadow);
  font-family: inherit;
  transition: transform .12s ease, box-shadow .12s ease;
}
.form-submit button:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }

/* ---------- パンくず ---------- */
.breadcrumb { padding: 16px 0 0; font-size: .8rem; color: var(--text-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #9a9aa5; }
.breadcrumb a { color: var(--text-soft); }

/* ---------- 注意書き ---------- */
.note-list { max-width: 780px; margin: 28px auto 0; font-size: .82rem; color: var(--text-soft); list-style: none; }
.note-list li { padding-left: 1.2em; position: relative; }
.note-list li::before { content: "※"; position: absolute; left: 0; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--ink); color: #c9c9d2; padding: 56px 0 32px; font-size: .88rem;
  border-top: 6px double var(--paper);
}
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer h4 {
  color: var(--yellow); font-size: .9rem; margin-bottom: 14px;
  font-family: var(--font-display); font-weight: 900; letter-spacing: .04em;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #c9c9d2; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .footer-logo {
  display: inline-block;
  font-family: var(--font-body); font-weight: 900; font-size: 1.3rem;
  transform: skewX(-10deg); transform-origin: left bottom;
  color: var(--paper);
  margin-bottom: 12px; padding-right: .2em;
}
.site-footer .footer-logo .logo-ai {
  background: linear-gradient(92deg, #ff6a4a 0%, #ff3b1f 60%, #ff2812 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.site-footer .copyright {
  text-align: center; border-top: 1px solid rgba(248, 244, 233, .2);
  padding-top: 22px; font-size: .8rem; color: #8b8b96;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .price-burst-wrap { position: static; }
  .price-burst {
    position: static; display: inline-flex; margin-bottom: 26px;
    width: 190px; height: 190px;
  }
  .price-burst .big { font-size: 2rem; }
  .hero-bg {
    background:
      linear-gradient(rgba(248, 244, 233, .88), rgba(248, 244, 233, .72)),
      var(--hero-img) 70% center / cover no-repeat,
      var(--paper);
  }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero { padding: 40px 0 44px; }

  /* スマホのメインビジュアル：キャッチコピー最優先の並びに再構成
     （ラベル → キャッチコピー → リード → ポイント → 価格バースト → CTA） */
  .hero-bg .wrap { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-bg .hero-label { order: 1; }
  .hero-bg h1 { order: 2; font-size: clamp(2.1rem, 9.8vw, 2.7rem); line-height: 1.45; }
  /* スマホのメインコピーは改行タグを無効化し、自然な折り返しにする */
  .hero-bg h1 br { display: none; }
  .hero-bg .hero-lead { order: 3; font-size: .95rem; margin-bottom: 20px; }
  .hero-bg .hero-points { order: 4; margin-bottom: 22px; }
  .hero-bg .price-burst { display: none; }
  .hero-bg .cta-buttons { order: 6; width: 100%; }
  .gnav { display: none; }
  .reasons, .scene-grid, .usecase-grid { grid-template-columns: 1fr; }
  .reasons { gap: 34px; }
  .vs-grid { grid-template-columns: 1fr; gap: 14px; }
  .vs-mark { padding: 8px 0; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .flow li { padding: 70px 22px 22px; }
  .flow li::after { top: 16px; left: 22px; transform: none; }
  .form-box { padding: 30px 22px; }
  .campaign-box .body { padding: 26px 20px; }
}
