/* ==========================================================================
   ガイコツ野郎 企業案件・制作受付サイト
   参考：テレビ番組の制作会社のサイト。スクロールで「青いスタジオ → 海の青 → 骨の色 → フィルム」と
   場面が変わり、案内役のキャラが吹き出しで話しかける。画像をたくさん並べる。
   ========================================================================== */

:root {
  --studio: #6eb8f5;      /* 動画の青いスタジオ */
  --studio-hi: #b3defd;
  --studio-lo: #4b9be9;
  --sea: #1866c4;         /* 深い青（区切りの場面） */
  --navy: #0d2b57;        /* フィルムの場面 */
  --bone: #fbf5e8;        /* 骨の色（地の場面） */
  --bone-dot: rgba(160, 128, 84, 0.13);
  --ink: #1b2640;
  --ink-soft: #4a5672;
  --red: #d42b26;         /* ハートの赤（いちばん押してほしいボタン） */
  --red-dark: #b3211d;
  --honey: #f6a623;
  --bandage: #fbd35b;
  --white: #ffffff;

  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --wrap: 1120px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bone);
  word-break: auto-phrase;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.35; letter-spacing: 0.02em; }
:focus-visible { outline: 3px solid var(--bandage); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 16px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ボタン ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px 10px 26px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--red-dark);
  transition: transform .12s ease, box-shadow .12s ease;
}
.pill::after {
  content: "";
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  background: rgba(255,255,255,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.pill:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--red-dark); color: var(--white); }
.pill--white { background: var(--white); color: var(--ink); box-shadow: 0 4px 0 rgba(13,43,87,.25); }
.pill--white::after { background-color: var(--red); }
.pill--white:hover { color: var(--ink); box-shadow: 0 2px 0 rgba(13,43,87,.25); }
.pill-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* 丸い矢印のリンク（参考サイトの「詳しく見る」） */
.more {
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 800; font-size: 18px; text-decoration: none; color: inherit;
}
.more::before {
  content: "";
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: 0 4px 0 var(--red-dark);
}
.more:hover::before { transform: translateY(2px); box-shadow: 0 2px 0 var(--red-dark); }

/* ---------- ヘッダー（下が波） ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 20px;
  background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22 C 30 6, 60 6, 90 20 S 150 36, 180 22 S 225 8, 240 22 L 240 40 L 0 40 Z' fill='%23000'/%3E%3C/svg%3E") repeat-x 0 0 / 200px 20px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22 C 30 6, 60 6, 90 20 S 150 36, 180 22 S 225 8, 240 22 L 240 40 L 0 40 Z' fill='%23000'/%3E%3C/svg%3E") repeat-x 0 0 / 200px 20px;
  transform: scaleY(-1);
}
.site-header .wrap {
  max-width: 1360px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 28px; padding-block: 10px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo img { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--navy); }
.logo span { display: flex; flex-direction: column; line-height: 1.2; }
.logo b { font-size: 22px; font-weight: 800; letter-spacing: .04em; }
.logo small { font-size: 11px; font-weight: 700; color: var(--ink-soft); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
.nav a { text-decoration: none; font-weight: 800; color: var(--navy); font-size: 15px; padding-block: 8px; }
.nav a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--bandage); }
.nav .pill { min-height: 46px; font-size: 15px; padding-left: 22px; color: var(--white); }
.nav .pill[aria-current="page"] { box-shadow: 0 4px 0 var(--red-dark); }

/* ---------- 場面（セクション）の地 ---------- */

.scene { position: relative; padding-block: 110px; overflow-x: clip; }
.scene--studio {
  background: radial-gradient(ellipse 80% 70% at 50% 30%, var(--studio-hi) 0%, var(--studio) 48%, var(--studio-lo) 100%);
}
.scene--sea {
  background:
    radial-gradient(ellipse 30% 22% at 12% 18%, rgba(255,255,255,.16), transparent 70%),
    radial-gradient(ellipse 26% 18% at 88% 78%, rgba(255,255,255,.12), transparent 70%),
    var(--sea);
  color: var(--white);
}
.scene--bone {
  background-color: var(--bone);
  background-image: radial-gradient(var(--bone-dot) 1.3px, transparent 1.5px);
  background-size: 20px 20px;
}
.scene--film { background: var(--navy); color: var(--white); padding-inline: 56px; }
.scene--film::after { /* フィルムの穴（左右） */
  content: ""; position: absolute; top: 0; bottom: 0; left: 14px; right: 14px; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.16) 0 22px, transparent 22px 46px) left top / 26px 100% no-repeat,
    repeating-linear-gradient(to bottom, rgba(255,255,255,.16) 0 22px, transparent 22px 46px) right top / 26px 100% no-repeat;
}
/* 上のふちを波にする（場面の色をそのまま使う） */
.wave-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px;
  background: inherit;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22 C 30 6, 60 6, 90 20 S 150 36, 180 22 S 225 8, 240 22 L 240 40 L 0 40 Z' fill='%23000'/%3E%3C/svg%3E") repeat-x 0 0 / 240px 40px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22 C 30 6, 60 6, 90 20 S 150 36, 180 22 S 225 8, 240 22 L 240 40 L 0 40 Z' fill='%23000'/%3E%3C/svg%3E") repeat-x 0 0 / 240px 40px;
  z-index: 1;
}
.scene--sea.wave-top::before { background: var(--sea); }
.scene--film.wave-top::before { background: var(--navy); }
.scene--bone.wave-top::before { background: var(--bone); }
.scene--studio.wave-top::before { background: var(--studio-hi); }

.scene-title { font-size: clamp(30px, 4.6vw, 52px); text-align: center; }
.scene-lead { text-align: center; max-width: 40em; margin: 18px auto 0; font-weight: 700; }
.scene--sea .scene-lead, .scene--film .scene-lead { color: #dbe9fb; }
.scene-head { margin-bottom: 56px; position: relative; text-align: center; }

/* ---------- 吹き出しで話すキャラ ---------- */

.talker { position: absolute; z-index: 5; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.talker img { width: var(--w, 130px); }
/* 漫画の吹き出し。文字は流さず、いつも全部見せる */
.bubble {
  --line: var(--navy);
  position: relative; display: inline-block; max-width: 280px;
  background: var(--white); color: var(--navy);
  border: 3px solid var(--line); border-radius: 22px;
  padding: 10px 18px; margin-bottom: 16px;
  font-weight: 800; font-size: 15px; line-height: 1.55;
  box-shadow: 0 5px 0 rgba(13,43,87,.18);
}
.bubble::after { /* しっぽ（下向き） */
  content: ""; position: absolute; left: 50%; bottom: -10px; margin-left: -9px;
  width: 16px; height: 16px; background: inherit;
  border-right: 3px solid var(--line); border-bottom: 3px solid var(--line);
  transform: rotate(45deg);
}
.bubble--red { --line: var(--red-dark); background: var(--red); color: var(--white); }

/* ---------- 最初の画面 ---------- */

.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 70% 75% at 50% 32%, var(--studio-hi) 0%, var(--studio) 46%, var(--studio-lo) 100%);
  padding: 56px 0 0;
}
.hero::after { /* 床（島のかわり） */
  content: ""; position: absolute; left: -15%; right: -15%; bottom: -120px; height: 360px;
  background: radial-gradient(closest-side, #f4fbff 0%, #e2f3ff 45%, rgba(214,238,255,.6) 70%, transparent 100%);
}
/* キャッチ：句読点を使わず、文字の大きさと色で区切る */
.hero-catch {
  position: relative; z-index: 3; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hc-lead { /* 札にせず、下の行と同じ白いふちの文字で大きく */
  font-weight: 800; font-size: clamp(20px, 2.4vw, 32px); line-height: 1.1; color: var(--navy);
  -webkit-text-stroke: 7px var(--white); paint-order: stroke fill;
}
.hc-main {
  display: flex; align-items: baseline; justify-content: center; gap: .12em;
  font-weight: 800; font-size: clamp(20px, 2.6vw, 34px); line-height: 1.05; color: var(--navy);
  -webkit-text-stroke: 7px var(--white); paint-order: stroke fill;
}
.hc-main em { font-style: normal; font-size: 1.7em; color: var(--red); -webkit-text-stroke-width: 10px; letter-spacing: .01em; }
.hero-set {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px) minmax(0, 1fr);
  align-items: end; gap: 12px;
  max-width: 1240px; margin: 26px auto 0; padding-inline: var(--gutter);
}
/* スマホの両側：傾けた写真カードを3枚ずつ扇のように重ねる */
.fan { position: relative; width: 100%; max-width: 440px; aspect-ratio: 11 / 14; }
.fan--l { justify-self: end; }
.fan--r { justify-self: start; }
.card {
  position: absolute; margin: 0; aspect-ratio: 2 / 3;
  border: 7px solid var(--white); border-radius: 26px; overflow: hidden;
  background: var(--studio); box-shadow: 0 16px 30px rgba(13,43,87,.28);
}
.card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.fan--l .c1 { left: 0; top: 18%; width: 42%; transform: rotate(-12deg); z-index: 1; }
.fan--l .c2 { left: 21%; top: 2%; width: 47%; transform: rotate(-4deg); z-index: 2; }
.fan--l .c3 { right: 0; top: 25%; width: 52%; transform: rotate(5deg); z-index: 3; }
.fan--r .c1 { right: 0; top: 18%; width: 42%; transform: rotate(12deg); z-index: 1; }
.fan--r .c2 { right: 21%; top: 2%; width: 47%; transform: rotate(4deg); z-index: 2; }
.fan--r .c3 { left: 0; top: 25%; width: 52%; transform: rotate(-5deg); z-index: 3; }
.fan-sticker { position: absolute; z-index: 4; width: 27%; filter: drop-shadow(0 6px 0 rgba(13,43,87,.18)); }
.fan--l .fan-sticker { left: -2%; bottom: 6%; transform: rotate(-8deg); }
.fan--r .fan-sticker { right: -2%; top: -2%; transform: rotate(9deg); }
.phone {
  position: relative; aspect-ratio: 9 / 16; width: 100%;
  border: 12px solid #10203a; border-radius: 46px; overflow: hidden;
  background: #10203a; box-shadow: 0 30px 60px rgba(13,43,87,.35);
}
.phone::before { /* カメラの穴 */
  content: ""; position: absolute; top: 10px; left: 50%; width: 70px; height: 18px; margin-left: -35px;
  background: #10203a; border-radius: 999px; z-index: 2;
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.hero-name {
  position: relative; z-index: 4; text-align: center; margin-top: -54px;
}
.hero-name h1 {
  display: inline-block;
  font-size: clamp(54px, 9vw, 112px); line-height: 1;
  color: var(--navy);
  -webkit-text-stroke: 14px var(--white); paint-order: stroke fill;
  letter-spacing: .04em;
}
.hero-name p { margin-top: 14px; font-weight: 800; color: var(--navy); font-size: 17px; }
.hero-bottom { position: relative; z-index: 4; height: 150px; }
.sticker { position: absolute; z-index: 3; filter: drop-shadow(0 6px 0 rgba(13,43,87,.18)); }
.sticker--repair { right: 4%; bottom: 46px; width: 112px; }
.sticker--gou { right: 15%; bottom: 30px; width: 104px; transform: rotate(-5deg); }
/* 最初の画面のちび：吹き出しはちびの右（しっぽは左向き） */
.talker--hero { left: max(12px, calc(50% - 640px)); bottom: 14px; --w: 130px; flex-direction: row; align-items: center; gap: 14px; }
.talker--hero .bubble { order: 2; margin: 0; white-space: nowrap; max-width: none; }
.talker--hero .bubble::after { left: -10px; top: 50%; bottom: auto; margin: -8px 0 0; border: 0; border-left: 3px solid var(--line); border-bottom: 3px solid var(--line); }
.talker--about { right: max(12px, calc(50% - 600px)); top: 120px; align-items: flex-end; --w: 130px; }
.talker--about .bubble::after { left: auto; right: 48px; }

@media (prefers-reduced-motion: no-preference) {
  .pop { animation: pop .6s cubic-bezier(.2,.9,.3,1.3) both; }
  .pop:nth-child(2) { animation-delay: .1s; } .pop:nth-child(3) { animation-delay: .2s; }
  @keyframes pop { from { transform: translateY(40px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
}

/* ---------- 横に並ぶカード（よく見られた動画） ---------- */

/* 端がなく、ゆっくり流れ続ける。指・マウスでも動かせる（assets/js/reel.js）。スクロールバーは出さない */
.reel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 230px; gap: 22px;
  overflow-x: auto; overscroll-behavior-x: contain;
  padding: 8px var(--gutter) 24px;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab; user-select: none; -webkit-user-select: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel.is-dragging { cursor: grabbing; }
.reel img { -webkit-user-drag: none; }
.reel-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.reel-card .thumb { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--studio); box-shadow: 0 10px 0 rgba(0,0,0,.12); }
.reel-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.reel-card .tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: var(--white); font-weight: 800; font-size: 12px;
  border-radius: 999px; padding: 3px 12px;
}
/* 媒体ごとの色 */
.reel-card .tag--tiktok { background: #000; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.reel-card .tag--instagram { background: linear-gradient(45deg, #f9a12e 0%, #e1306c 45%, #c13584 70%, #5b51d8 100%); }
.reel-card .tag--youtube { background: #ff0000; }
.reel-card .count { font-size: 26px; font-weight: 800; line-height: 1.2; }
.reel-card .title { font-weight: 700; line-height: 1.5; }
.scene--sea .reel-card .title { color: #dbe9fb; }

/* ---------- 2つの円（ためになる × つい見ちゃう ＝ 重なるところがガイコツ野郎） ---------- */

.duo { position: relative; height: 600px; max-width: 940px; margin: 0 auto; }
.duo-ring {
  position: absolute; top: 50%; width: 460px; height: 460px; margin-top: -230px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.duo-ring--a { left: calc(50% - 420px); background: var(--studio-lo); }
.duo-ring--b { left: calc(50% - 40px); background: var(--bandage); mix-blend-mode: multiply; }
.duo-core {
  width: 190px; height: 190px; border-radius: 50%; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-weight: 800; color: var(--navy); line-height: 1.3; position: relative; z-index: 2;
}
.duo-core img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 6px; }
.duo-core b { font-size: 30px; line-height: 1.2; }
.duo-core small { font-size: 15px; color: var(--ink-soft); margin-top: 6px; line-height: 1.4; }
.duo-center { /* 2つの円が重なるところ */
  position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%);
  width: 150px; height: 150px; border-radius: 50%; background: var(--white); border: 5px solid var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 10px 0 rgba(13,43,87,.14); color: var(--navy); font-weight: 800; font-size: 17px;
}
.duo-center img { width: 62px; height: 62px; border-radius: 50%; }
.show-data { margin: 28px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.show-data div { display: flex; align-items: center; background: var(--white); border-radius: 999px; padding: 8px 16px 8px 8px; box-shadow: 0 4px 0 rgba(13,43,87,.08); text-align: left; }
.show-data dt { flex: 0 0 auto; min-width: 5.6em; text-align: center; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 3px 10px; margin-right: 12px; }
.show-data dd { margin: 0; font-weight: 800; color: var(--navy); font-size: 14px; }
.duo .bubble-photo {
  position: absolute; border-radius: 50%; overflow: hidden; border: 6px solid var(--white);
  box-shadow: 0 12px 0 rgba(13,43,87,.12); z-index: 3;
}
.duo .bubble-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.dot { position: absolute; border-radius: 50%; z-index: 1; }
.about-text { text-align: center; max-width: 760px; margin: 34px auto 0; }
.about-text h2 { font-size: clamp(26px, 3.6vw, 40px); }
.about-text p { margin-top: 22px; font-weight: 700; }
.about-text .more { margin-top: 30px; color: var(--navy); }

/* ---------- 数字（健診結果）のカード ---------- */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat {
  background: var(--white); color: var(--ink); border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column;
}
.stat-img { aspect-ratio: 4 / 3; background: var(--studio); overflow: hidden; }
.stat-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.stat-body { padding: 18px 20px 22px; }
.stat-label { font-weight: 800; font-size: 14px; color: var(--ink-soft); }
.stat-value { font-weight: 800; font-size: clamp(26px, 2.7vw, 36px); line-height: 1.25; color: var(--navy); }
.stat-note { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin-top: 6px; }
.stats-src { text-align: center; font-size: 13px; color: #b9cdea; margin-top: 22px; }
.film-head { display: flex; align-items: flex-end; justify-content: center; gap: 18px; }
.film-head img { width: 120px; }

/* ---------- お仕事のカード（01 / 02） ---------- */

.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.job { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: inherit; }
.job-img { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--studio); }
.job-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .4s ease; }
.job:hover .job-img img { transform: scale(1.04); }
.job-img::after {
  content: ""; position: absolute; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: 0 4px 0 var(--red-dark);
}
.job-num { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid rgba(255,255,255,.4); padding-bottom: 10px; }
.job-num span { font-size: 40px; font-weight: 800; line-height: 1; }
.job-num small { font-size: 16px; opacity: .7; margin-left: 4px; }
.job-num b { font-size: 26px; }
.job p { color: #dbe9fb; font-weight: 700; }

/* ---------- 流れる題材の列 ---------- */

.marquee { overflow: hidden; padding-block: 10px; }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: slide 46s linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; }
@keyframes slide { to { transform: translateX(-50%); } }
.topic {
  width: 230px; flex: none; background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: 0 8px 0 rgba(13,43,87,.1);
}
.topic-img { aspect-ratio: 4 / 3; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--studio); }
.topic-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.topic-img--char { background: #dff0ff; padding: 12px; }
.topic-img--char img { object-fit: contain; }
.topic b { display: block; padding: 12px 16px 14px; font-size: 17px; }
.splash { position: absolute; z-index: 0; pointer-events: none; }

/* ---------- 最後の導線 ---------- */

.cta { text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 46px); color: var(--navy); }
.cta p { margin-top: 14px; font-weight: 700; color: var(--navy); }
.cta .pill-row { justify-content: center; margin-top: 30px; }
.cta-chara { display: flex; justify-content: center; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.cta-chara img { height: 170px; width: auto; }

/* ---------- フッター ---------- */

.site-footer { background: var(--navy); color: #c9d8ef; position: relative; padding-block: 56px 40px; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.site-footer .logo { color: var(--white); }
.site-footer .logo img { border-color: var(--white); }
.site-footer .logo small { color: #c9d8ef; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.site-footer a { color: #e3ecfa; text-decoration: none; font-weight: 700; }
.site-footer a:hover { text-decoration: underline; }

/* ==========================================================================
   下のページ（企業案件・制作・お問い合わせ）
   ========================================================================== */

.page-hero { position: relative; overflow: hidden; padding: 64px 0 90px;
  background: radial-gradient(ellipse 70% 80% at 70% 30%, var(--studio-hi) 0%, var(--studio) 50%, var(--studio-lo) 100%); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 32px; }
.page-hero-text { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 18px; }
.page-kind { align-self: flex-start; background: var(--white); color: var(--navy); font-weight: 800; border-radius: 999px; padding: 4px 18px; font-size: 14px; }
.page-hero h1 {
  font-size: clamp(36px, 5.4vw, 64px); line-height: 1.25; color: var(--white);
  text-shadow: 0 4px 0 rgba(13,43,87,.3);
}
.page-hero .lead { color: var(--navy); font-weight: 700; font-size: 17px; max-width: 30em; }
.page-hero-pic { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.page-hero-pic .main {
  border-radius: 34px; overflow: hidden; aspect-ratio: 3 / 4; border: 8px solid var(--white);
  box-shadow: 0 20px 0 rgba(13,43,87,.18); transform: rotate(3deg);
}
.page-hero-pic .main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.page-hero-pic .sticker { width: 130px; left: -60px; bottom: -40px; }
.page-hero-pic .sticker--2 { left: auto; right: -50px; top: -30px; bottom: auto; width: 110px; }
.flow-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 800; }
.flow-chips .chip { background: var(--white); color: var(--navy); border-radius: 999px; padding: 4px 16px; }
.flow-chips .sep { color: var(--white); }

/* 見ている人 */
.audience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.panel { background: var(--white); border-radius: 28px; padding: 32px; box-shadow: 0 10px 0 rgba(13,43,87,.08); }
.chart { margin: 0; }
.chart-title { font-weight: 800; margin-bottom: 16px; }
.bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) 60px; gap: 12px; align-items: center; font-weight: 700; font-size: 15px; }
.bar-track { display: block; height: 22px; }
.bar { display: block; height: 100%; background: var(--sea); border-radius: 0 6px 6px 0; }
.bar-value { text-align: right; font-variant-numeric: tabular-nums; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-weight: 700; }
.facts li { position: relative; padding-left: 30px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--bandage); box-shadow: inset 0 0 0 4px var(--honey); }
.audience-chara { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.audience-chara img { height: 150px; width: auto; }

/* 題材のカード（画像つき） */
.topic-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.topic-card { background: var(--white); color: var(--ink); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.topic-card .topic-img { aspect-ratio: 1 / 1; }
.topic-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.topic-card h3 { font-size: 19px; }
.topic-card .num { font-weight: 800; color: var(--sea); }
.topic-card dl { margin: 6px 0 0; font-size: 14px; line-height: 1.6; }
.topic-card dt { font-weight: 800; color: var(--ink-soft); }
.topic-card dd { margin: 0 0 8px; font-weight: 700; }
.note-center { text-align: center; font-size: 13px; margin-top: 18px; opacity: .85; }
.wide-note { margin: 28px auto 0; max-width: 760px; background: var(--white); color: var(--ink); border-radius: 22px; padding: 20px 26px; display: flex; gap: 18px; align-items: center; }
.wide-note img { width: 86px; flex: none; }

/* メニュー・プラン */
.menu { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.menu-main { position: relative; background: var(--white); border-radius: 30px; padding: 36px 36px 36px; border: 4px solid var(--navy); }
.menu-main h3 { font-size: 24px; color: var(--navy); }
.menu-main .price { margin-top: 10px; font-weight: 800; color: var(--red); font-size: 18px; }
.menu-main .pic { position: absolute; right: -18px; top: -60px; width: 130px; }
.menu-side { background: #dff0ff; border-radius: 30px; padding: 32px; }
.sub { font-weight: 800; margin: 18px 0 8px; }
.list { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; font-weight: 700; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { background: var(--white); border-radius: 30px; padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.plan-pic { height: 150px; display: flex; justify-content: center; align-items: flex-end; background: #dff0ff; border-radius: 22px; margin-bottom: 8px; padding-top: 12px; }
.plan-pic img { height: 100%; width: auto; }
.plan h3 { font-size: 22px; color: var(--navy); }
.plan .for { font-weight: 700; color: var(--ink-soft); font-size: 14px; }
.plan--main { outline: 4px solid var(--red); }
.plans-note { text-align: center; font-weight: 700; margin-bottom: 28px; }

/* 流れ（フィルムのコマ） */
.frames { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; counter-reset: f; }
.frames li {
  counter-increment: f; position: relative;
  background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.22); border-radius: 18px;
  padding: 58px 16px 18px; font-weight: 800; line-height: 1.55;
}
.frames li::before {
  content: counter(f, decimal-leading-zero); position: absolute; left: 16px; top: 12px;
  font-size: 30px; line-height: 1; color: var(--bandage);
}
.frames small { display: block; font-weight: 700; font-size: 13px; color: #b9cdea; margin-top: 4px; }
.frames--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 約束・強み・お悩み */
.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.point { background: var(--white); color: var(--ink); border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.point img { height: 110px; width: auto; align-self: center; margin-bottom: 6px; }
.point h3 { font-size: 19px; color: var(--navy); }

.strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.strength { background: var(--white); color: var(--ink); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.strength .pic { aspect-ratio: 4 / 3; background: var(--studio); overflow: hidden; }
.strength .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.strength-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.strength h3 { font-size: 21px; color: var(--navy); }

.worries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.worries li { background: var(--white); border-radius: 26px; padding: 18px 18px 22px; text-align: center; font-weight: 800; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 8px 0 rgba(13,43,87,.08); }
.worries img { height: 170px; width: auto; }
.worries span { position: relative; background: #dff0ff; border-radius: 16px; padding: 10px 14px; line-height: 1.55; }

.deliver { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.deliver .pic { border-radius: 30px; overflow: hidden; aspect-ratio: 3 / 2; border: 8px solid var(--white); }
.deliver .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* よくある質問 */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border-radius: 22px; padding: 0 24px; box-shadow: 0 6px 0 rgba(13,43,87,.07); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--red); font-size: 20px; margin-right: 12px; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px 32px; font-weight: 700; }

/* お問い合わせ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.form-embed { background: var(--white); border-radius: 28px; overflow: hidden; }
.form-embed iframe { display: block; width: 100%; height: 1500px; border: 0; }
.form-placeholder { padding: 80px 28px; text-align: center; font-weight: 800; color: var(--ink-soft); }
.after { background: var(--white); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.after img { width: 120px; align-self: center; }
.after ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 10px; font-weight: 700; }

.doc { max-width: 820px; margin: 0 auto; background: var(--white); border-radius: 30px; padding: 44px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; color: var(--navy); }
.doc ul { padding-left: 1.3em; }
.small { font-size: 13px; color: var(--ink-soft); }

/* ==========================================================================
   スマホ
   ========================================================================== */

@media (max-width: 960px) {
  .stats, .topic-cards, .points, .worries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strengths, .plans { grid-template-columns: minmax(0, 1fr); }
  .frames--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .scene { padding-block: 80px; }
  .scene--film { padding-inline: 40px; }
  .hero-set { grid-template-columns: minmax(0, 236px); justify-content: center; }
  .phone { z-index: 2; border-width: 10px; border-radius: 40px; }
  /* スマホの画面では、扇をスマホの後ろからのぞかせる */
  .fan { position: absolute; top: 34px; width: 210px; max-width: none; z-index: 1; }
  .fan--l { right: calc(50% + 76px); }
  .fan--r { left: calc(50% + 76px); }
  .fan .c1, .fan-sticker { display: none; }
  .card { border-width: 5px; border-radius: 18px; }
  .hero-name { margin-top: -34px; }
  .hero-name h1 { -webkit-text-stroke-width: 10px; }
  .hero-name p { font-size: 15px; padding-inline: 16px; }
  .hero-bottom { height: 120px; }
  .talker--hero { --w: 84px; bottom: 10px; left: 10px; gap: 12px; }
  .talker--hero .bubble { font-size: 13px; padding: 8px 14px; }
  .talker--about { --w: 76px; top: 56px; right: 10px; }
  .talker--about .bubble { font-size: 12px; padding: 6px 12px; margin-bottom: 12px; }
  .talker--about .bubble::after { right: 26px; }
  .sticker--repair { width: 72px; bottom: 12px; right: 10px; }
  .stat-img { aspect-ratio: 16 / 9; }
  .duo .bp-sub { display: none; }
  .duo .bubble-photo { transform: scale(.72); }
  .sticker.hide-sp { display: none; }
  .jobs, .audience, .menu, .deliver, .contact-grid, .page-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .duo { height: 430px; }
  .duo-ring { width: 200px; height: 200px; margin-top: -100px; }
  .duo-ring--a { left: calc(50% - 180px); } .duo-ring--b { left: calc(50% - 20px); }
  .duo-core { width: 112px; height: 112px; } .duo-core b { font-size: 14px; } .duo-core small { font-size: 10px; }
  .duo-ring--a .duo-core { transform: translateX(-22px); }
  .duo-ring--b .duo-core { transform: translateX(22px); }
  .duo-center { width: 86px; height: 86px; border-width: 4px; font-size: 11px; gap: 2px; }
  .duo-center img { width: 34px; height: 34px; }
  .page-hero-pic { max-width: 280px; }
  .page-hero-pic .sticker { left: -30px; width: 100px; }
  .menu-main .pic { width: 96px; top: -40px; right: -6px; }
  .doc { padding: 28px 22px; }
}
@media (max-width: 520px) {
  .stats, .topic-cards, .points, .worries { grid-template-columns: minmax(0, 1fr); }
  .logo b { font-size: 19px; }
}

.site-footer.wave-top::before { background: var(--navy); }

/* お問い合わせ・プライバシーの小さい最初の画面 */
.page-hero--small { padding: 48px 0 80px; }
.page-hero--small .wrap { grid-template-columns: minmax(0, 1fr) auto; }
.page-hero-chara img { width: 170px; }
@media (max-width: 760px) {
  .page-hero--small .wrap { grid-template-columns: minmax(0, 1fr); }
  .page-hero-chara img { width: 110px; margin-inline: auto; }
}

.nw { white-space: nowrap; }

/* 制作のページ：キャラクターから作る3つの段階 */
.steps { list-style: none; margin: 0; padding: 0; }
.steps .pic { position: relative; }
.step-num {
  position: absolute; right: 16px; top: 16px; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: var(--white); font-size: 28px; font-weight: 800;
  box-shadow: 0 4px 0 var(--red-dark);
}
.steps + .stats-src { color: #dbe9fb; }

/* 制作のページ：自分たちで作ったキャラクター（出演者の一覧） */
.cast { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; max-width: 1000px; }
.cast li { flex: 0 0 180px; }
.cast li { background: var(--white); border-radius: 24px; padding: 14px 14px 16px; text-align: center; box-shadow: 0 8px 0 rgba(13,43,87,.08); }
.cast-pic { height: 150px; display: flex; align-items: flex-end; justify-content: center; background: #dff0ff; border-radius: 18px; padding-top: 10px; margin-bottom: 10px; }
.cast-pic img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.cast b { color: var(--navy); font-size: 16px; }
@media (max-width: 520px) {
  .cast li { flex-basis: calc(50% - 9px); }
  .cast-pic { height: 120px; }
}

/* ==========================================================================
   トップの最後の導線：スポットライトの当たるスタジオの舞台
   ========================================================================== */

.stage { text-align: center; padding-bottom: 0; }
.stage::after { /* 見出しの後ろのやわらかい光（角のない楕円） */
  content: ""; position: absolute; left: 50%; top: 40px; z-index: 0; pointer-events: none;
  width: min(1000px, 120%); height: 460px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0));
}
.stage .wrap { position: relative; z-index: 2; }
.stage-title { /* 最初の画面の「ガイコツ野郎」と同じ、白いふちの紺の大きな文字 */
  display: inline-block;
  font-size: clamp(36px, 5.6vw, 70px); line-height: 1.2; color: var(--navy);
  -webkit-text-stroke: 12px var(--white); paint-order: stroke fill;
  letter-spacing: .02em;
}
.stage-lead { max-width: 34em; margin: 24px auto 0; font-weight: 800; color: var(--navy); font-size: 17px; }

.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 52px; text-align: left; }
.door {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  background: var(--white); border-radius: 32px; overflow: hidden;
  box-shadow: 0 12px 0 rgba(13,43,87,.14);
}
.door-pic { position: relative; background: var(--studio); min-height: 260px; }
.door-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.door-body { padding: 26px 26px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.door-kind { background: #dff0ff; color: var(--sea); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 3px 12px; }
.door h3 { font-size: 22px; line-height: 1.45; color: var(--navy); }
.door-body > p:not(.door-kind) { font-weight: 700; font-size: 15px; }
.door .pill { margin-top: 6px; }
.door-link { font-weight: 800; font-size: 14px; color: var(--sea); }

.after-steps {
  list-style: none; margin: 34px auto 0; padding: 0; max-width: 1000px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s;
}
.after-steps li {
  counter-increment: s; position: relative; text-align: left;
  background: rgba(255,255,255,.92); border-radius: 22px; padding: 14px 14px 14px 60px; color: var(--navy);
  box-shadow: 0 6px 0 rgba(13,43,87,.1);
}
.after-steps li::before {
  content: counter(s); position: absolute; left: 14px; top: 50%; margin-top: -18px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: var(--white); font-weight: 800; font-size: 18px;
}
.after-steps li:not(:last-child)::after { /* 次へ進む矢印 */
  content: ""; position: absolute; right: -15px; top: 50%; margin-top: -7px; z-index: 1;
  border: 7px solid transparent; border-left: 10px solid var(--navy); border-right: 0;
}
.after-steps b { display: block; font-size: 15px; line-height: 1.4; }
.after-steps small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-top: 2px; }

.cast-line { /* 出演者の勢ぞろい（舞台の床に立つ） */
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: flex-end;
  margin-top: 60px; padding-bottom: 64px;
}
.cast-line::before { /* 床に当たる光 */
  content: ""; position: absolute; left: 50%; bottom: 30px; z-index: -1;
  width: min(1100px, 100%); height: 130px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0));
}
.cast-line > img { height: var(--h, 130px); width: auto; margin-inline: -4px; filter: drop-shadow(0 8px 0 rgba(13,43,87,.15)); }
.cast-line .host { display: flex; flex-direction: column; align-items: center; margin-inline: 14px; }
.cast-line .host img { height: 200px; width: auto; filter: drop-shadow(0 8px 0 rgba(13,43,87,.15)); }
.cast-line .host .bubble { white-space: nowrap; }

@media (max-width: 960px) {
  .doors { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .after-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .after-steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 760px) {
  .stage-title { -webkit-text-stroke-width: 8px; }
  .stage-lead { font-size: 15px; }
  .door { grid-template-columns: minmax(0, 1fr); }
  .door-pic { min-height: 0; aspect-ratio: 16 / 10; }
  .door-body { padding: 22px 20px 24px; }
  .door h3 { font-size: 20px; }
  .cast-line { margin-top: 44px; padding-bottom: 54px; }
  .cast-line > .hide-sp { display: none; }
  .cast-line > img { height: calc(var(--h, 130px) * .55); margin-inline: -6px; }
  /* 吹き出しはちびの真上に浮かせ、横幅を取らないようにする */
  .cast-line .host { position: relative; margin-inline: 2px; padding-top: 58px; }
  .cast-line .host img { height: 112px; }
  .cast-line .host .bubble { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 13px; padding: 6px 12px; }
}
@media (max-width: 520px) {
  .after-steps { grid-template-columns: minmax(0, 1fr); }
  .after-steps li::after { display: none; }
}

/* 企業案件・制作のページの最後の導線：大きなカード1枚と、もう一方のページへの案内 */
.door--wide { max-width: 980px; margin: 52px auto 0; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); text-align: left; }
.door--wide .door-pic { min-height: 380px; }
.door--wide .door-body { padding: 32px 34px 34px; gap: 14px; }
.door--wide h3 { font-size: 26px; }
.door-points { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.door-points li { background: #eef7ff; border-radius: 18px; padding: 12px 12px 10px; font-weight: 800; color: var(--navy); line-height: 1.35; font-size: 14px; }
.door-points b { display: block; font-size: 24px; line-height: 1.2; color: var(--sea); }
.door-points small { display: block; margin-top: 4px; font-size: 11px; color: var(--ink-soft); font-weight: 700; }
.door-asks { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; counter-reset: q; }
.door-asks li { counter-increment: q; position: relative; background: #eef7ff; border-radius: 16px; padding: 12px 12px 12px 46px; font-weight: 800; color: var(--navy); font-size: 15px; line-height: 1.4; }
.door-asks li::before { content: counter(q); position: absolute; left: 12px; top: 50%; margin-top: -13px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--honey); color: var(--white); font-size: 14px; }
.door--wide .pill-row { margin-top: 6px; }

.stage-sub { /* もう一方のページへの案内（ちびが顔を出す細長い札） */
  display: inline-flex; align-items: center; gap: 14px; margin-top: 36px;
  background: var(--navy); color: var(--white); text-decoration: none; text-align: left;
  border-radius: 999px; padding: 8px 30px 8px 10px; box-shadow: 0 6px 0 rgba(13,43,87,.25);
}
.stage-sub img { width: 58px; height: 58px; object-fit: contain; background: var(--white); border-radius: 50%; padding: 4px; }
.stage-sub small { display: block; font-size: 12px; font-weight: 700; color: #b9cdea; }
.stage-sub b { display: block; font-size: 16px; }
.stage-sub b::after { content: " ›"; color: var(--honey); }
.stage-sub:hover { transform: translateY(2px); box-shadow: 0 4px 0 rgba(13,43,87,.25); }

@media (max-width: 760px) {
  .door--wide { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .door--wide .door-pic { min-height: 0; aspect-ratio: 16 / 10; }
  .door--wide .door-body { padding: 24px 20px 26px; }
  .door--wide h3 { font-size: 21px; }
  .door-points { grid-template-columns: minmax(0, 1fr); }
  .door-asks { grid-template-columns: minmax(0, 1fr); }
  .stage-sub { border-radius: 26px; padding: 10px 18px 10px 10px; }
  .stage-sub b { font-size: 14px; }
}
@media (max-width: 520px) {
  .stage-sub b { font-size: 13px; }
}

/* ==========================================================================
   2026-11-06 トップページの直し
   ========================================================================== */

/* 見出しの上の小さな説明（何の場面かを先に言う） */
.scene-eyebrow {
  display: inline-block; margin-bottom: 14px;
  background: var(--white); color: var(--navy); font-weight: 800; font-size: 15px;
  border-radius: 999px; padding: 4px 18px; box-shadow: 0 4px 0 rgba(13,43,87,.15);
}
.film-head > div { text-align: left; }
.film-head .scene-title { text-align: left; }

/* 数字のカード：カードごとに色を変え、数字だけ大きく。1行に収める */
.stats .stat { --c: var(--navy); border-top: 8px solid var(--c); }
.stats .stat:nth-child(1) { --c: #d42b26; }
.stats .stat:nth-child(2) { --c: #1866c4; }
.stats .stat:nth-child(3) { --c: #d97706; }
.stats .stat:nth-child(4) { --c: #179468; }
.stat-label { color: var(--c); }
.stat-value { white-space: nowrap; font-size: 17px; line-height: 1.15; margin-top: 4px; }
.stat-value .num { font-size: clamp(32px, 3.3vw, 46px); color: var(--c); margin: 0 .03em; letter-spacing: -.01em; }

/* 最後の導線：見出しは1行。2つの入口はカードごと押せる */
.stage-title { white-space: nowrap; font-size: clamp(26px, 5.4vw, 70px); }
a.door { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
a.door:hover { transform: translateY(-4px); box-shadow: 0 16px 0 rgba(13,43,87,.14); }
a.door:focus-visible { outline: 4px solid var(--navy); outline-offset: 4px; }
.doors .door-body { justify-content: center; gap: 14px; padding: 30px 28px; }
.doors .door h3 { font-size: 24px; }
.doors .door-pic { min-height: 240px; }
.steps-title { margin: 48px 0 0; font-size: 22px; color: var(--navy); }
.steps-title + .after-steps { margin-top: 16px; }

/* 2つの円：タブレットの幅では前の大きさに戻す */
@media (min-width: 761px) and (max-width: 960px) {
  .duo { height: 520px; }
  .duo-ring { width: 380px; height: 380px; margin-top: -190px; }
  .duo-ring--a { left: calc(50% - 340px); } .duo-ring--b { left: calc(50% - 40px); }
  .duo-core { width: 140px; height: 140px; } .duo-core b { font-size: 21px; } .duo-core small { font-size: 12px; }
  .duo-center { width: 130px; height: 130px; font-size: 15px; } .duo-center img { width: 52px; height: 52px; }
}
@media (max-width: 760px) {
  .hc-lead { font-size: 18px; -webkit-text-stroke-width: 6px; }
  .hc-main { font-size: 18px; -webkit-text-stroke-width: 6px; }
  .hc-main em { font-size: 1.7em; -webkit-text-stroke-width: 8px; }
  .show-data { grid-template-columns: minmax(0, 1fr); max-width: 360px; }
  .doors .door-pic { min-height: 0; }
  .doors .door h3 { font-size: 20px; }
  .steps-title { font-size: 19px; margin-top: 36px; }
}
@media (min-width: 961px) and (max-width: 1200px) {
  .stat-value { font-size: 15px; }
  .stat-value .num { font-size: 30px; }
}

/* 数字のカードの媒体の内訳（帯グラフ）。色は媒体ごとに固定：TikTok 青緑・Instagram 紫・YouTube 赤 */
.split { margin-top: 10px; }
.split-bar { display: flex; gap: 2px; height: 10px; border-radius: 999px; overflow: hidden; background: var(--white); }
.split-bar i { display: block; height: 100%; }
.s-tt { --s: #0097a7; } .s-ig { --s: #9b3fd0; } .s-yt { --s: #e8462a; }
.split-bar i { background: var(--s); }
.split-legend { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 6px; }
.split-legend b { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--ink-soft); white-space: nowrap; }
.split-legend b::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--s); }

/* ご相談の流れ：小さい文字も1行にそろえ、カードの高さをそろえる */
.after-steps li { display: flex; flex-direction: column; justify-content: center; }
.after-steps b, .after-steps small { white-space: nowrap; }

/* ==========================================================================
   2026-11-06 スマホの直し
   ========================================================================== */

/* ヘッダーのメニューボタン（広い画面では出さない） */
.menu-btn { display: none; }

@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: nowrap; padding-block: 8px; }
  .has-menu .menu-btn {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
    width: 58px; height: 54px; margin-left: auto; padding: 0;
    border: 0; border-radius: 16px; background: var(--navy); color: var(--white); cursor: pointer;
  }
  .menu-label { font-size: 10px; font-weight: 800; line-height: 1; }
  .menu-icon, .menu-icon::before, .menu-icon::after {
    display: block; width: 22px; height: 3px; border-radius: 2px; background: currentColor;
    transition: transform .2s ease, background-color .2s ease;
  }
  .menu-icon { position: relative; margin: 8px 0 11px; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -7px; }
  .menu-icon::after { top: 7px; }
  .is-open .menu-icon { background: transparent; }
  .is-open .menu-icon::before { transform: translateY(7px) rotate(45deg); }
  .is-open .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }
  .menu-btn:focus-visible { outline: 3px solid var(--bandage); outline-offset: 3px; }

  /* 開いたときのメニュー（ヘッダーの下に出る） */
  .has-menu .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 2;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 10px 24px 30px;
    box-shadow: 0 18px 30px rgba(13,43,87,.18);
  }
  .has-menu.is-open .nav { display: flex; }
  .has-menu .nav a:not(.pill) { font-size: 17px; padding: 16px 4px; border-bottom: 2px dashed #dbe6f5; }
  .has-menu .nav a[aria-current="page"]:not(.pill) { box-shadow: none; color: var(--sea); }
  .has-menu .nav .pill { margin-top: 20px; justify-content: center; min-height: 54px; font-size: 17px; }
}

@media (max-width: 760px) {
  /* ガイコツ野郎とは：編集しているちびの丸は小さく、左上へ */
  .duo .bubble-photo:not(.bp-sub) { transform-origin: 0 0; transform: scale(.56); left: -6px !important; top: -10px !important; }

  /* 健診結果：ちびと見出しの間をつめる */
  .film-head { gap: 8px; justify-content: center; }
  .film-head img { width: 92px; }
  .film-head > div, .film-head .scene-title { text-align: left; }
  .film-head .scene-title { font-size: 28px; }
  .film-head .scene-eyebrow { font-size: 13px; margin-bottom: 8px; }

  /* 最後の導線のカード：中央にそろえ、見出しを少し大きく */
  .doors .door-body { align-items: center; text-align: center; }
  .doors .door h3 { font-size: 23px; }

  /* フッター：ロゴを中央に、メニューは2列でゆったり */
  .site-footer .wrap { flex-direction: column; align-items: center; gap: 28px; }
  .site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; width: 100%; max-width: 340px; text-align: center; }
  .site-footer nav a { padding-block: 4px; }
}

/* 最後の導線の2つのボタンは同じ大きさ */
.doors .pill { min-width: 230px; justify-content: center; }

/* ご相談の流れ：1列のときは、カードの間に下向きの矢印 */
@media (max-width: 520px) {
  .after-steps { gap: 30px; }
  .after-steps li:not(:last-child)::after {
    display: block; right: auto; left: 50%; top: auto; bottom: -24px; margin: 0 0 0 -9px;
    border: 9px solid transparent; border-top: 12px solid var(--navy); border-bottom: 0;
  }
}

/* ==========================================================================
   2026-11-06 企業案件・制作のページの直し
   ========================================================================== */

/* ページの種類の札：何のページか一目で分かる大きさに */
.page-kind { background: var(--navy); color: var(--white); font-size: clamp(14px, 1.4vw, 18px); padding: 7px 20px; box-shadow: 0 4px 0 rgba(13,43,87,.2); }

/* 見出しの中のアクセント */
.hl { color: var(--red); }
.hl-gold { color: var(--bandage); }
.scene--bone .hl-gold, .page-hero .hl-gold { color: var(--honey); }
.scene-title--sub { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.4; }
.scene-title--sub .hl-big { font-size: 1.35em; color: var(--bandage); }

/* 見ている人：グラフの期間と、箇条書きの出どころ */
.chart-title small { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.facts li small { display: block; font-size: 12px; color: var(--ink-soft); font-weight: 700; }

/* 健康以外の商品も：上の4枚のカードと同じ幅で、しっかり見せる */
.cross {
  margin-top: 40px; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: center;
  background: var(--white); color: var(--ink); border-radius: 32px; padding: 30px 36px;
  box-shadow: 0 12px 0 rgba(13,43,87,.18); border: 4px solid var(--bandage);
}
.cross-chara { width: 100%; height: auto; }
.cross-kicker { font-weight: 800; font-size: clamp(18px, 1.9vw, 23px); color: var(--sea); line-height: 1.3; }
.cross-title { font-size: clamp(24px, 2.8vw, 34px); color: var(--navy); margin-top: 10px; }
.cross-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cross-list li { background: #eef7ff; border-radius: 20px; padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.cross-list b { color: var(--sea); font-size: 17px; }
.cross-list b::after { content: " ▶"; font-size: 11px; color: var(--honey); vertical-align: 2px; }
.cross-list span { font-weight: 700; font-size: 14px; line-height: 1.5; color: var(--navy); }
.cross-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); font-weight: 700; }

/* メニュー */
.offer {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  background: var(--white); border-radius: 34px; overflow: hidden; border: 4px solid var(--navy);
  box-shadow: 0 12px 0 rgba(13,43,87,.12);
}
.offer-head { position: relative; background: var(--navy); color: var(--white); padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; }
.offer-chara { position: absolute; right: 18px; top: 18px; width: 110px; }
.offer-kind { align-self: flex-start; background: var(--bandage); color: var(--navy); font-weight: 800; border-radius: 999px; padding: 4px 16px; }
.offer-head h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.35; }
.media-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.media-chip { color: var(--white); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 4px 14px; }
.media-chip--tiktok { background: #000; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.media-chip--instagram { background: linear-gradient(45deg, #f9a12e 0%, #e1306c 45%, #c13584 70%, #5b51d8 100%); }
.media-chip--youtube { background: #ff0000; }
.offer-price { margin-top: auto; background: rgba(255,255,255,.1); border-radius: 20px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.offer-price b { flex: none; background: var(--red); color: var(--white); border-radius: 999px; padding: 4px 14px; font-size: 14px; }
.offer-price p { font-weight: 800; line-height: 1.6; }
.offer-body { padding: 36px; }
.offer-sub { font-weight: 800; color: var(--ink-soft); }
.incl { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.incl li { display: flex; flex-direction: column; gap: 2px; background: #eef7ff; border-radius: 18px; padding: 14px 16px 14px 48px; position: relative; }
.incl li::before { /* チェックの丸 */
  content: ""; position: absolute; left: 14px; top: 16px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.incl b { color: var(--navy); font-size: 18px; }
.incl span { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.multi {
  margin-top: 28px; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; align-items: center;
  background: var(--bandage); border-radius: 30px; padding: 26px 32px; color: var(--navy);
}
.multi img { width: 100%; }
.multi-kicker { font-weight: 800; font-size: 15px; }
.multi h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 4px 0 8px; }
.multi p:last-child { font-weight: 700; }

/* ご相談から投稿までの流れ */
.speed { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 18px; margin: -18px 0 40px; }
.speed img { width: 92px; }
.speed-item { background: var(--white); color: var(--navy); border-radius: 24px; padding: 12px 26px; text-align: center; box-shadow: 0 6px 0 rgba(0,0,0,.18); }
.speed-item small { display: block; font-weight: 800; font-size: 14px; color: var(--ink-soft); }
.speed-item b { font-size: 22px; }
.speed-item .num { font-size: 48px; line-height: 1; margin: 0 .05em; }
.speed-item--main { background: var(--bandage); }
.speed-item--main .num { color: var(--red); }
.speed-note { flex-basis: 100%; text-align: center; color: #c9d8ef; font-weight: 700; font-size: 14px; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 12px; counter-reset: t; }
.timeline::before { /* 丸どうしをつなぐ線 */
  content: ""; position: absolute; left: 4%; right: 4%; top: 22px; height: 4px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--bandage) 0 14px, transparent 14px 22px);
}
.timeline li {
  counter-increment: t; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: 62px;
}
.timeline li::before {
  content: counter(t); position: absolute; top: 0; left: 50%; margin-left: -24px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: var(--white); font-weight: 800; font-size: 20px;
  box-shadow: 0 0 0 6px var(--navy);
}
.timeline b {
  display: block; width: 100%; background: var(--white); color: var(--navy); border-radius: 18px 18px 0 0;
  padding: 14px 8px 4px; font-size: 17px;
}
.timeline small {
  display: block; width: 100%; flex: 1; background: var(--white); color: var(--ink-soft); border-radius: 0 0 18px 18px;
  padding: 2px 8px 16px; font-size: 12px; font-weight: 700; line-height: 1.6;
}
.timeline .check {
  position: absolute; top: 52px; right: 6px; background: var(--bandage); color: var(--navy);
  font-size: 11px; font-weight: 800; border-radius: 999px; padding: 2px 8px;
}

@media (max-width: 960px) {
  .cross { grid-template-columns: 150px minmax(0, 1fr); padding: 26px; }
  .cross-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer { grid-template-columns: minmax(0, 1fr); }
  /* 流れは縦に（線は左） */
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 520px; margin-inline: auto; }
  .timeline::before { left: 22px; right: auto; top: 24px; bottom: 24px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--bandage) 0 14px, transparent 14px 22px); }
  .timeline li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: stretch; text-align: left; padding-top: 0; }
  .timeline li::before { position: static; margin: 0; grid-row: 1 / span 2; align-self: center; }
  .timeline b { grid-column: 2; border-radius: 18px 18px 0 0; padding: 12px 16px 2px; }
  .timeline small { grid-column: 2; border-radius: 0 0 18px 18px; padding: 0 16px 12px; }
  .timeline .check { top: 10px; right: 10px; }
}
@media (max-width: 760px) {
  .cross { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 24px 18px; }
  .cross-chara { width: 120px; margin: 0 auto; }
  .cross-list { text-align: left; }
  .offer-head, .offer-body { padding: 28px 22px; }
  .offer-chara { width: 80px; right: 12px; top: 12px; }
  .incl { grid-template-columns: minmax(0, 1fr); }
  .multi { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 24px 20px; }
  .multi img { width: 100px; margin: 0 auto; }
  .speed img { width: 70px; }
  .speed-item { padding: 10px 18px; }
  .speed-item .num { font-size: 40px; }
}
@media (max-width: 520px) {
  .cross-list { grid-template-columns: minmax(0, 1fr); }
  .cross-list span br { display: none; }
}

/* 企業案件・制作の最後のカードのボタンも同じ幅に */
.door--wide .pill { min-width: 210px; justify-content: center; }

.strength .pic { position: relative; }

@media (max-width: 760px) {
  /* 長い見出しは、ちびの下に積む */
  .film-head--stack { flex-direction: column; align-items: center; gap: 6px; }
  .film-head--stack > div, .film-head--stack .scene-title { text-align: center; }
  .film-head--stack .scene-title { font-size: 26px; }
  .scene-eyebrow { white-space: nowrap; }
  /* 最後の大きなカードも中央に */
  .door--wide .door-body { align-items: center; text-align: center; }
  .door--wide .door-points li { text-align: center; }
}
@media (max-width: 520px) {
  .speed img { display: none; }
}

/* 下のページの最初の見出し：紺の文字に白いふち（トップの「ガイコツ野郎」と同じ） */
.page-hero h1 {
  color: var(--navy); text-shadow: none; line-height: 1.32;
  -webkit-text-stroke: 10px var(--white); paint-order: stroke fill;
}
.page-hero h1 .hl { color: var(--red); font-size: 1.18em; }

/* 見ている人：PC では左右の高さをそろえる */
@media (min-width: 761px) {
  .audience { align-items: stretch; }
  .audience .panel { display: flex; flex-direction: column; }
  .audience .chart { flex: 1; display: flex; flex-direction: column; }
  .audience .bars { flex: 1; justify-content: space-between; }
  .audience > div:last-child { display: flex; flex-direction: column; }
  .audience .facts { gap: 10px; }
  .audience-chara { margin-top: auto; padding-top: 18px; }
  .audience-chara img { height: 130px; }
}

/* メニューの左：媒体ごとのフォロワー数 */
.follow { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.follow li { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.08); border-radius: 16px; padding: 8px 14px; }
.follow b { font-size: 30px; line-height: 1; color: var(--white); }
.follow b small { font-size: 14px; margin-left: 2px; color: #c9d8ef; }
.follow-note { font-size: 12px; color: #9fb6d8; font-weight: 700; margin-top: -4px; }
.incl .incl-more { background: var(--bandage); }
.incl .incl-more::before { background-color: var(--navy); }

/* 強み・選ばれる理由：カードではなく、写真と文が左右に入れ替わる並び */
.features { display: flex; flex-direction: column; gap: 72px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feature:nth-child(even) .feature-pic { order: 2; }
.feature-pic { position: relative; }
.feature-pic::before { /* 写真の後ろの色の形 */
  content: ""; position: absolute; inset: 8% -5% -6% 8%; z-index: 0;
  background: var(--bandage); border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%;
}
.feature:nth-child(even) .feature-pic::before { inset: 8% 8% -6% -5%; background: #8fd0ff; }
.feature-pic img {
  position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 42% 58% 48% 52% / 52% 44% 56% 48%; border: 8px solid var(--white);
}
.feature:nth-child(even) .feature-pic img { border-radius: 56% 44% 52% 48% / 46% 56% 44% 54%; }
.feature-word {
  font-size: clamp(64px, 8vw, 120px); font-weight: 800; line-height: 1; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 2.5px rgba(251,211,91,.95);
  margin-bottom: 10px;
}
.feature h3 { font-size: clamp(24px, 2.6vw, 34px); color: var(--white); line-height: 1.35; }
.feature-text > p:last-child { margin-top: 14px; color: #dbe9fb; font-weight: 700; font-size: 17px; line-height: 1.9; }

@media (max-width: 760px) {
  .features { gap: 52px; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feature:nth-child(even) .feature-pic { order: 0; }
  .feature-pic { margin-inline: 12px; }
  .feature-word { font-size: 60px; margin-bottom: 6px; }
  .feature-text > p:last-child { font-size: 15px; }
  .page-hero h1 { -webkit-text-stroke-width: 8px; }
}

/* 2026-11-07：強みの並びを縦に短く、フォロワー数の文字 */
.features { gap: 44px; }
.feature { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; }
.feature:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.feature-pic img { aspect-ratio: 16 / 11; }
.feature-word { font-size: clamp(40px, 4.4vw, 64px); margin-bottom: 6px; -webkit-text-stroke-width: 2px; }
.follow b small:first-child { margin: 0 8px 0 0; }
@media (max-width: 760px) {
  .feature, .feature:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .feature-word { font-size: 44px; }
}
.follow b { white-space: nowrap; }
@media (max-width: 520px) {
  .follow li { padding: 8px 12px; gap: 8px; }
  .follow b { font-size: 24px; }
  .follow b small { font-size: 12px; }
  .follow b small:first-child { margin-right: 6px; }
}
@media (max-width: 400px) {
  .offer-chara { width: 76px; right: 10px; top: 10px; }
  .offer-head h3 { font-size: 24px; }
}

/* ===== 2026-11-07 スマホの調整（企業案件・制作のご依頼） ===== */
/* 企業案件の見出し：「656万人に」「アプローチできる」はそれぞれ途中で折らない */
.h1-seg { display: inline-block; }
/* 最後のカード（白）の中の2つめのボタンは紺にして、カードとの境目を見せる */
.door--wide .pill--white { background: var(--navy); color: var(--white); box-shadow: 0 4px 0 #061a3a; }
.door--wide .pill--white::after { background-color: rgba(255,255,255,.22); }
.door--wide .pill--white:hover { color: var(--white); box-shadow: 0 2px 0 #061a3a; }

@media (max-width: 760px) {
  /* 最初の画面：画像を上、文字を下に。バッジと見出しとボタンは中央、説明文は左 */
  .page-hero { padding-top: 44px; }
  .page-hero-pic { order: -1; margin-bottom: 40px; }
  .page-kind { align-self: center; }
  .page-hero h1 { text-align: center; }
  .page-hero .pill-row { flex-direction: column; align-items: center; }
  .page-hero .pill-row .pill { width: 100%; max-width: 280px; justify-content: center; }
  .flow-chips { justify-content: center; }
  /* 数字の見出し：ちびは出さず、人数を大きく */
  .film-head--stack img { display: none; }
  .film-head--stack .hl-gold { font-size: 36px; }
  /* メニューの料金：バッジを上、文を下に */
  .offer-price { flex-direction: column; align-items: flex-start; gap: 8px; }
  /* 含まれるもの：チェックを文の真ん中の高さに、文との間を少し広く */
  .incl li { padding-left: 58px; }
  .incl li::before { top: 50%; left: 18px; transform: translateY(-50%); }
  /* 強み：大きい2文字と見出しは中央。写真に少し重ねる */
  .feature-text { position: relative; z-index: 2; margin-top: -44px; }
  .feature-word, .feature h3 { text-align: center; }
  .feature-word { color: var(--sea); }
  /* 最後のカードのボタン：中央に縦に並べて同じ幅 */
  .door--wide .pill-row { flex-direction: column; align-items: center; align-self: stretch; }
  .door--wide .pill { width: 100%; max-width: 280px; }
}
@media (max-width: 520px) {
  /* 題材のカード：画像の高さを3分の2に */
  .topic-card .topic-img { aspect-ratio: 3 / 2; }
  /* 制作の進め方のチップを1行に */
  .flow-chips { gap: 5px; font-size: 14px; }
  .flow-chips .chip { padding: 4px 11px; }
}
@media (max-width: 760px) {
  .offer-price { padding: 14px 16px; }
  .offer-price p { font-size: 15px; }
}
@media (max-width: 520px) {
  /* お問い合わせ・プライバシーポリシーの見出しを1行に */
  .page-hero--small h1 { font-size: 30px; }
}

/* ===== 2026-11-07 制作のご依頼の作り直し ===== */
.seg { display: inline-block; }

/* お悩み：カードをやめ、キャラクターが吹き出しで話す */
.voices { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; align-items: end; }
.voices li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.voice-bubble {
  position: relative; width: 100%; max-width: 250px; margin: 0;
  background: var(--white); color: var(--navy); border: 3px solid var(--navy); border-radius: 24px;
  padding: 16px 12px; text-align: center; font-weight: 800; font-size: 17px; line-height: 1.6;
  box-shadow: 0 6px 0 rgba(13,43,87,.14);
}
.voice-bubble::after { /* しっぽ：下のキャラクターへ */
  content: ""; position: absolute; left: 50%; bottom: -11px; margin-left: -9px; width: 16px; height: 16px;
  background: var(--white); border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg);
}
.voices img { position: relative; z-index: 1; height: 170px; width: auto; }
.voices li::after { /* 足もとの影 */
  content: ""; width: 120px; height: 14px; margin-top: -30px; border-radius: 50%; background: rgba(13,43,87,.1);
}
@media (max-width: 960px) {
  .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 760px) {
  /* スマホ：キャラクターと吹き出しを横に並べ、左右を交互に */
  .voices { grid-template-columns: minmax(0, 1fr); row-gap: 22px; max-width: 460px; }
  .voices li { flex-direction: row-reverse; justify-content: flex-end; gap: 20px; }
  .voices li:nth-child(even) { flex-direction: row; justify-content: flex-start; }
  .voices li::after { display: none; }
  .voices img { height: 116px; flex: none; }
  .voice-bubble { flex: 1; max-width: none; font-size: 16px; padding: 14px 10px; }
  .voice-bubble::after { left: -11px; top: 50%; bottom: auto; margin: -8px 0 0; border: 0; border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy); }
  .voices li:nth-child(even) .voice-bubble::after { left: auto; right: -11px; border: 0; border-top: 3px solid var(--navy); border-right: 3px solid var(--navy); }
}

/* プラン：媒体・撮影の欄 */
.offer-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.offer-facts li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: rgba(255,255,255,.08); border-radius: 16px; padding: 12px 16px; }
.offer-facts-label { font-size: 13px; font-weight: 800; color: #9fb6d8; }
.offer-facts b { font-size: 22px; line-height: 1.2; color: var(--white); }
.offer-facts small { font-size: 13px; font-weight: 700; color: #c9d8ef; }

/* 最後のカード：ご相談でお出しするもの */
.door-gets { list-style: none; margin: 4px 0 6px; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.door-gets li { position: relative; display: flex; flex-direction: column; gap: 2px; text-align: left; background: #eef7ff; border-radius: 18px; padding: 12px 16px 12px 54px; }
.door-gets li::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.door-gets b { font-size: 17px; color: var(--navy); }
.door-gets small { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.door--wide .pill-row:has(> .pill:only-child) .pill { min-width: 260px; }
.voices img { height: 200px; }
.voice-bubble { font-size: 18px; max-width: 260px; }
.offer--plan .offer-head h3 { font-size: clamp(24px, 2.5vw, 30px); }
@media (max-width: 760px) {
  .voices img { height: 116px; }
  .voice-bubble { font-size: 16px; }
}
@media (max-width: 520px) {
  .offer-facts .media-chip { padding: 4px 10px; }
}
@media (max-width: 1200px) {
  .offer--plan .incl b { font-size: 16px; }
}
@media (max-width: 400px) {
  .offer--plan .offer-head h3 { font-size: 22px; }
  .offer--plan .offer-chara { width: 62px; }
}
/* スマホのときだけ改行する */
.br-sp { display: none; }
@media (max-width: 760px) { .br-sp { display: inline; } }

/* お問い合わせ：Google フォームの高さ（中でスクロールが出ないように。質問を足したら測り直す） */
.form-embed iframe { height: 2060px; }
@media (max-width: 960px) { .form-embed iframe { height: 2140px; } }
@media (max-width: 520px) { .form-embed iframe { height: 2240px; } }
@media (max-width: 400px) { .form-embed iframe { height: 2300px; } }
