/* オオイタケン 専用サイト（デザイン確認用）
   色は新しいロゴから：そら #A1DBE9（左の帽子）、きいろ #EDDE77（右の帽子）、もも（ほっぺ）。墨 #201715。 */

:root {
  --ink: #201715;
  --ink-soft: #3b302d;
  --muted: #5e5654;
  --sora: #a1dbe9;
  --mint: #96dcc9;
  --sora-pale: #eaf6fa;
  --mint-pale: #e8f7f2;
  --kiiro: #edde77;
  --momo: #f5b3c1;
  --daidai: #f4b98a;
  --fuji: #cbb9f2;
  --momo-pale: #fdf0f3;
  --sora-deep: #5fb6cf;
  --kiiro-deep: #d4bf3b;
  --paper: #ffffff;
  --line: rgba(32, 23, 21, 0.14);
  --error: #b3261e;
  --memo-bg: #fff6cc;
  --memo-line: #e2ad00;

  --display: "Dela Gothic One", "Zen Kaku Gothic New", sans-serif;
  --body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --max: 1200px;
  --head-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
code { font-family: inherit; background: rgba(32, 23, 21, 0.06); padding: 0 4px; border-radius: 4px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- 確認用の帯 ---------- */
.review {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px var(--gutter);
  background: var(--memo-bg);
  border-bottom: 1px solid var(--memo-line);
  font-size: 13px; line-height: 1.5;
}
.review-name { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.review-name b { font-weight: 900; }
.review-toggle {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 4px 14px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: #fff;
  font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
}
.review-state { font-weight: 500; color: var(--muted); }

/* ---------- ヘッダー ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--head-h); padding-inline: var(--gutter);
}
.head-logo { display: block; }
.head-logo img { height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 22px; list-style: none; }
.site-nav ul a { text-decoration: none; font-size: 14px; font-weight: 700; padding: 8px 0; }
.site-nav ul a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-button { display: none; }

/* ---------- ボタン ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 24px;
  border-radius: 999px; border: 2px solid var(--ink);
  font: inherit; font-weight: 700; font-size: 15px; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer;
}
.button-ink { background: var(--ink); color: #fff; }
.button-ink:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.button-line { background: #fff; color: var(--ink); }
.button-line:hover { background: var(--sora-pale); }
.head-cta { min-height: 42px; padding: 8px 18px; font-size: 14px; }

.link-button {
  margin-top: 10px; min-height: 44px; padding: 0;
  background: none; border: 0; color: var(--ink);
  font: inherit; font-weight: 700; font-size: 15px;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--mint);
  cursor: pointer;
}
.link-button:hover { text-decoration-color: var(--ink); }

/* ---------- トップ ---------- */
/* 投稿の表紙が後ろで流れ、その上に2人が立つ。文字は白い札にのせる。 */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: min(calc(100svh - var(--head-h) - 40px), 820px);
  padding-block: 48px;
  overflow: hidden;
  background: var(--sora);
  border-bottom: 2px solid var(--ink);
}
.hero-copy {
  position: relative; z-index: 3;
  width: min(470px, 42%);
  margin-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding: 30px 32px 32px;
  background: #fff; border: 2px solid var(--ink); border-radius: 26px;
  box-shadow: 10px 10px 0 var(--kiiro);
}
.hero-logo img { width: min(100%, 300px); margin-left: -4px; }
.hero-lede {
  margin-top: 16px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(23px, 2.3vw, 32px); line-height: 1.5; letter-spacing: 0.03em;
}
.hero-lede span { display: inline-block; }
.hero-sub { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.hero-sub b { color: var(--ink); font-weight: 900; white-space: nowrap; }
.hero-sub a { font-weight: 700; color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--sora-deep); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-copy .memo { margin-top: 22px; }

.hero-visual { position: absolute; inset: 0; z-index: 1; }
.wall { position: absolute; inset: 0; overflow: hidden; }
.wall::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(161, 219, 233, 0.55), rgba(161, 219, 233, 0.08) 48%, rgba(161, 219, 233, 0) 70%); }
.wall-cols {
  position: absolute; inset: -20px 0 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px;
  padding-inline: 14px;
}
.wall-col { list-style: none; will-change: transform; }
.wall-col li { margin-bottom: 14px; }
.wall-col img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; border: 2px solid var(--ink); }
.wall-col:nth-child(2) { margin-top: -38%; }
.wall-col:nth-child(3) { margin-top: -14%; }
.wall-col:nth-child(4) { margin-top: -62%; }
.wall-col:nth-child(5) { margin-top: -26%; }
.wall-col:nth-child(6) { margin-top: -50%; }

.wall.is-moving .wall-col { animation: wall-up var(--speed, 90s) linear infinite; }
.wall.is-moving .wall-col-down { animation-direction: reverse; }
.wall.is-paused .wall-col { animation-play-state: paused; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* 2人の切り抜き：白いふちどりでシールのように */
.hero-duo {
  position: absolute; z-index: 3; bottom: -6px;
  right: max(var(--gutter), calc((100vw - var(--max)) / 2 + 20px));
  height: 92%; width: auto; max-width: 52%;
  object-fit: contain; object-position: bottom;
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(10px 8px 0 rgba(32, 23, 21, 0.9));
  pointer-events: none;
}

.wall-pause {
  position: absolute; left: 16px; bottom: 16px; z-index: 4;
  min-height: 40px; padding: 6px 16px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: #fff;
  font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer;
}
.wall-pause[hidden] { display: none; }

/* ---------- 出演 ---------- */
.duo { background: var(--kiiro); padding-bottom: 1px; }
.duo-photo { margin: 0; }
.duo-photo img { width: 100%; height: clamp(220px, 31vw, 560px); object-fit: cover; object-position: 50% 30%; }
.duo-text {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 12px 48px;
  padding-block: 36px 44px;
}
.duo-credit {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(30px, 4.2vw, 52px); line-height: 1.2; letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 16px;
}
.duo-label {
  display: inline-block; padding: 4px 12px 5px;
  background: #fff; border-radius: 8px;
  font-family: var(--body); font-weight: 900; font-size: 15px; letter-spacing: 0.1em; line-height: 1.4;
}
.duo-text p { max-width: 30em; color: var(--ink); }
.duo > .memo { margin-bottom: 40px; }
body.memo-off .duo { padding-bottom: 0; }

/* ---------- 見出し ---------- */
.section-head { margin-bottom: 44px; }
.section-head h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(30px, 4vw, 46px); line-height: 1.3; letter-spacing: 0.03em;
}
.section-head p { margin-top: 14px; max-width: 36em; color: var(--muted); }

.works, .reels, .contact { padding-block: clamp(72px, 10vw, 128px); }
.reels { background: var(--momo-pale); }
.data, .flow { padding-block: clamp(72px, 10vw, 120px); }

/* ---------- タイアップ実績 ---------- */
.cases { list-style: none; border-bottom: 2px solid var(--ink); }
.case {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr); gap: 4px 48px; align-items: center;
  grid-template-areas: "text fig" "btn fig"; grid-template-rows: auto 1fr;
  padding: 32px 0; border-top: 2px solid var(--ink);
}
.case-text { grid-area: text; }
.case-figure { grid-area: fig; }
.case > .link-button { grid-area: btn; justify-self: start; align-self: start; }
.case-figure { align-self: center; }
.case-who { font-size: 14px; font-weight: 900; color: var(--muted); }
.case h3 { margin-top: 6px; font-size: clamp(19px, 2vw, 23px); font-weight: 900; line-height: 1.55; max-width: 32em; }
.case-meta { margin-top: 8px; font-size: 14px; color: var(--muted); }
.case-figure { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.figure-num {
  font-family: var(--display); font-weight: 400; white-space: nowrap;
  font-size: clamp(40px, 5.4vw, 72px); line-height: 1.15; letter-spacing: 0.01em;
  background: linear-gradient(transparent 68%, var(--sora) 68%, var(--sora) 92%, transparent 92%);
  padding-inline: 2px;
}
.figure-num-sub { margin-top: 14px; font-size: clamp(28px, 3.2vw, 40px); background: linear-gradient(transparent 66%, var(--mint) 66%, var(--mint) 92%, transparent 92%); }
.figure-num small { font-size: 0.46em; margin-left: 0.08em; letter-spacing: 0.04em; }
.figure-label { margin-top: 4px; font-size: 13px; color: var(--muted); }

  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 26px 22px;
}
  position: relative;
  display: flex; flex-direction: column;
  padding: 16px 16px 18px;
  border: 2px solid var(--ink); border-radius: 18px; background: #fff;
}
.name-tag {
  display: inline-block; padding: 10px 14px;
  background: var(--sora); border-radius: 10px;
  font-weight: 900; font-size: 16px; line-height: 1.4; text-align: center;
}
  position: absolute; inset: 0; z-index: 1; width: 100%;
  background: transparent; border: 0; border-radius: 16px; cursor: pointer;
}

/* ---------- メディアデータ ---------- */
.data { background: var(--sora); }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.data-block { background: #fff; border-radius: 22px; padding: 28px clamp(20px, 3vw, 32px) 30px; }
.data-block-wide { grid-column: 1 / -1; }
.data-block h3 { font-size: 17px; font-weight: 900; margin-bottom: 14px; }
.as-of { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.counts div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.counts dt { font-weight: 700; font-size: 15px; line-height: 1.5; }
.handle { color: var(--muted); font-weight: 500; font-size: 13px; }
.counts dd { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.num { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: 0.01em; white-space: nowrap; }
.counts .sub { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.count-total { background: var(--kiiro); margin: 6px -12px 0; padding-inline: 12px !important; border-radius: 10px; border-top: 0 !important; }
.data-note { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-soft); }
.unit { font-size: 14px; color: var(--muted); }
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.aud { margin: 0; }
.aud figcaption { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.bars { list-style: none; }
.bars li { display: grid; grid-template-columns: 5.6em minmax(0, 1fr) 2.4em; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; }
.bars i {
  display: block; height: 14px; border-radius: 7px;
  background: linear-gradient(90deg, var(--fill, var(--sora-deep)) var(--w), #eef3f4 var(--w));
}
.aud:nth-child(2) .bars { --fill: var(--kiiro-deep); }
.split { display: flex; height: 44px; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; margin-top: 6px; }
.split span { display: grid; place-items: center; flex: 0 0 var(--w); font-size: 13px; font-weight: 900; white-space: nowrap; }
.split-f { background: var(--momo); }
.split-m { background: var(--sora); border-left: 2px solid var(--ink); }
.bars b { text-align: right; color: var(--ink); font-weight: 700; }
.bars li.top span, .bars li.top b { font-weight: 900; }

/* ---------- 紹介してきた大分 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 6px 16px;
  border: 2px solid var(--ink); border-radius: 999px; background: #fff;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip:hover:not([aria-pressed="true"]) { background: var(--sora-pale); }
.chips-count { margin: 14px 0 18px; font-size: 13px; color: var(--muted); }
.reel-grid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.reel-grid li[hidden] { display: none; }
.reel-grid img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: var(--sora-pale); }
.reels-more { margin-top: 32px; }

/* ---------- 進め方 ---------- */
.flow { background: var(--mint); }
.kinds { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kinds li { background: #fff; border-radius: 18px; padding: 22px 22px 24px; }
.kinds h3 { font-size: 17px; font-weight: 900; line-height: 1.55; }
.kinds p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.steps {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px;
  margin-top: 56px;
}
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px;
  padding: 22px 0; border-top: 2px solid var(--ink);
}
.steps li::before {
  content: counter(step);
  grid-row: span 2; align-self: start;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--c, #fff); border: 2px solid var(--ink);
  font-family: var(--display); font-size: 24px; line-height: 1;
}
.steps h3 { font-size: 17px; font-weight: 900; }
.steps p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 相談 ---------- */
.form { max-width: 780px; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field > label, .field-choice legend { font-weight: 700; font-size: 15px; }
.req {
  display: inline-block; margin-left: 8px; padding: 0 6px;
  background: var(--ink); color: #fff; border-radius: 4px;
  font-size: 11px; font-weight: 700; line-height: 1.7; vertical-align: 2px;
}
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 12px 14px;
  border: 2px solid var(--ink); border-radius: 12px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink);
}
.form textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.form input::placeholder, .form textarea::placeholder { color: #8a8280; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--sora); outline-offset: 0; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--error); }
.field-choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.field-choice legend { padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.field-choice label {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px;
  border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 15px;
}
.field-choice label:has(input:checked) { background: var(--kiiro); }
.field-choice input, .field-agree input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.field-choice .field-error { width: 100%; }
.field-agree label { display: inline-flex; align-items: flex-start; gap: 10px; font-weight: 700; font-size: 15px; cursor: pointer; }
.field-agree input { margin-top: 5px; flex: none; }
.field-error { color: var(--error); font-size: 14px; font-weight: 700; }
.form-send { justify-self: start; min-width: 220px; }
.form-result { padding: 16px 18px; background: var(--mint-pale); border-radius: 12px; font-weight: 700; }

/* ---------- 運営会社 ---------- */
.company { padding-block: clamp(64px, 9vw, 112px); border-top: 1px solid var(--line); }
.company-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 40px 64px; align-items: start; }
.company h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.3; }
.company-lede { margin: 16px 0 24px; max-width: 30em; color: var(--muted); }
.company-card { border: 2px solid var(--ink); border-radius: 22px; padding: 28px 30px; }
.company-logo { width: 200px; margin-bottom: 18px; }
.company-facts div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.company-facts dt { font-weight: 700; color: var(--muted); font-size: 14px; }
.company-facts dd { margin: 0; font-weight: 700; }
.company > .memo { margin-top: 32px; }

/* ---------- フッター ---------- */
.site-foot { position: relative; border-top: 2px solid var(--ink); padding-block: 52px 48px; }
.site-foot::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 12px;
  background: linear-gradient(90deg, var(--sora) 0 20%, var(--mint) 20% 40%, var(--kiiro) 40% 60%, var(--momo) 60% 80%, var(--daidai) 80% 100%);
  border-bottom: 2px solid var(--ink);
}
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.foot-logo { width: 150px; }
.foot-body { display: grid; gap: 6px; justify-items: end; text-align: right; }
.foot-ops { font-size: 14px; font-weight: 700; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; font-weight: 700; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-copy { color: var(--muted); }

/* ---------- 事例の詳しい内容 ---------- */
.case-dialog {
  width: min(820px, calc(100vw - 32px)); max-height: calc(100svh - 48px);
  padding: 0; border: 0; border-radius: 22px; color: var(--ink);
  overscroll-behavior: contain;
}
.case-dialog::backdrop { background: rgba(32, 23, 21, 0.55); }
.case-dialog[open] { animation: dialog-in 0.18s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dialog-inner { padding: clamp(24px, 4vw, 40px); }
.dialog-inner h2 { margin-top: 6px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; line-height: 1.5; }
.dialog-logo { width: 180px; margin-top: 20px; }
.case-facts { margin-top: 20px; }
.case-facts div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.case-facts dt { font-weight: 700; color: var(--muted); font-size: 14px; }
.case-facts dd { margin: 0; }
.case-facts .figure-num { display: inline-block; margin-right: 10px; font-size: clamp(30px, 4vw, 44px); }
.dialog-events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 24px; }
.event > img:first-child { height: 88px; width: auto; max-width: 100%; object-fit: contain; }
.event h3 { margin-top: 14px; font-size: 18px; font-weight: 900; }
.event-photo { margin-top: 16px; width: 100%; max-height: 420px; object-fit: contain; object-position: left top; border-radius: 12px; }
.dialog-inner .memo { margin-top: 24px; }
.dialog-close { margin-top: 28px; }
.dialog-x {
  position: sticky; top: 0; z-index: 2; float: right;
  margin: -6px -6px 8px 16px; min-height: 40px; padding: 6px 16px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: #fff;
  font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer;
}

/* ---------- 確認メモ ---------- */
.memo {
  position: relative;
  padding: 26px 18px 14px;
  background: #fff;
  border: 2px dashed rgba(32, 23, 21, 0.45);
  border-radius: 12px;
  font-size: 14px; line-height: 1.75; color: var(--ink);
}
.memo::before {
  content: "確認メモ";
  position: absolute; top: -1px; left: 14px; transform: translateY(-50%);
  padding: 0 8px; border-radius: 4px;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1.8; letter-spacing: 0.06em;
}
.memo-all::before { content: none; }
.memo > p + p { margin-top: 8px; }
.works > .memo, .data .memo, .reels .memo, .flow .memo, .contact > .memo { margin-top: 28px; }
.memo-inline { font-size: 13px; }
.memo-all { margin-block: 0 80px; padding: 28px 32px; }
.memo-all h2 { font-size: 22px; font-weight: 900; }
.memo-all h3 { margin-top: 20px; font-size: 16px; font-weight: 900; }
.memo-all ul { margin-top: 8px; padding-left: 1.2em; }
.memo-all > p { margin-top: 20px; }
body.memo-off .memo, body.memo-off .memo-only { display: none; }


/* ---------- 色の割り当て ---------- */
.hl { color: inherit; padding: 0 0.04em; background: linear-gradient(transparent 56%, var(--hl) 56%, var(--hl) 94%, transparent 94%); }
.hl-kiiro { --hl: var(--kiiro); }
.hl-mint { --hl: var(--mint); }
.hl-sora { --hl: var(--sora); }
.hl-momo { --hl: var(--momo); }

.case:nth-child(1) .figure-num { background: linear-gradient(transparent 66%, var(--kiiro) 66%, var(--kiiro) 92%, transparent 92%); }
.case:nth-child(3) .figure-num { background: linear-gradient(transparent 66%, var(--momo) 66%, var(--momo) 92%, transparent 92%); }
.case:nth-child(4) .figure-num { background: linear-gradient(transparent 66%, var(--daidai) 66%, var(--daidai) 92%, transparent 92%); }

.tag-momo { background: var(--momo); }
.tag-kiiro { background: var(--kiiro); }
.tag-mint { background: var(--mint); }
.tag-sora { background: var(--sora); }
.tag-daidai { background: var(--daidai); }
.tag-fuji { background: var(--fuji); }
.badge {
  position: absolute; top: -12px; left: 12px; z-index: 2;
  padding: 0 8px; border-radius: 4px; background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1.9;
}

.chip { --c: #fff; }
.chip[data-area="大分市"] { --c: var(--sora); }
.chip[data-area="別府市"] { --c: var(--momo); }
.chip[data-area="竹田市"] { --c: var(--mint); }
.chip[data-area="佐伯市"] { --c: var(--kiiro); }
.chip[data-area="豊後大野市"] { --c: var(--daidai); }
.chip[data-area="日出町"] { --c: var(--fuji); }
.chip[data-area="大分県"] { --c: #fff; }
.chip:not([data-area="all"])::before {
  content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%;
  background: var(--c); border: 1.5px solid var(--ink); vertical-align: 0;
}
.chip[aria-pressed="true"]:not([data-area="all"]) { background: var(--c); color: var(--ink); }
.chip:hover:not([aria-pressed="true"]) { background: #fff; }
.chips-count { color: var(--ink); }
.reel-grid li { --c: #fff; }
.reel-grid li[data-area="大分市"] { --c: var(--sora); }
.reel-grid li[data-area="別府市"] { --c: var(--momo); }
.reel-grid li[data-area="竹田市"] { --c: var(--mint); }
.reel-grid li[data-area="佐伯市"] { --c: var(--kiiro); }
.reel-grid li[data-area="豊後大野市"] { --c: var(--daidai); }
.reel-grid li[data-area="日出町"] { --c: var(--fuji); }
.reel-grid img { border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--c); }

.kinds li { border: 2px solid var(--ink); border-top-width: 10px; border-top-color: var(--c, var(--sora)); }
.kinds li:nth-child(1) { --c: var(--sora); }
.kinds li:nth-child(2) { --c: var(--kiiro); }
.kinds li:nth-child(3) { --c: var(--momo); }
.kinds li:nth-child(4) { --c: var(--daidai); }
.flow .section-head p, .data .section-head p { color: var(--ink); }
.kinds p, .steps p { color: var(--ink-soft); }
.steps li:nth-child(1) { --c: var(--sora); }
.steps li:nth-child(2) { --c: var(--kiiro); }
.steps li:nth-child(3) { --c: var(--momo); }
.steps li:nth-child(4) { --c: var(--daidai); }
.steps li:nth-child(5) { --c: var(--fuji); }
.steps li:nth-child(6) { --c: #fff; }
.data-block { border: 2px solid var(--ink); }

.company-card { box-shadow: 8px 8px 0 var(--sora); }
.case-facts .figure-num { background: linear-gradient(transparent 66%, var(--kiiro) 66%, var(--kiiro) 92%, transparent 92%); }


/* ---------- 掲載・出演 ---------- */
.media { padding-block: clamp(72px, 10vw, 128px); }
.timeline { list-style: none; border-top: 2px solid var(--ink); }
.timeline li {
  display: grid; grid-template-columns: 11em 5.5em minmax(0, 1fr) auto; gap: 8px 20px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.tl-date { font-family: var(--display); font-size: 17px; letter-spacing: 0.02em; white-space: nowrap; }
.tl-kind {
  justify-self: start; padding: 0 10px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--c, #fff); font-size: 12px; font-weight: 900; line-height: 1.8;
}
.kind-tv { --c: var(--sora); }
.kind-press { --c: var(--kiiro); }
.kind-talk { --c: var(--momo); }
.kind-pr { --c: var(--mint); }
.kind-event { --c: var(--daidai); }
.tl-text { font-size: 15px; line-height: 1.75; max-width: 40em; }
.tl-link { font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--sora-deep); }
.media > .memo { margin-top: 28px; }

/* ---------- 出演（2人） ---------- */
.duo-body { display: grid; gap: 16px; }
.duo-people { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.duo-people li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 18px; background: #fff; border: 2px solid var(--ink); border-radius: 999px;
  font-size: 14px;
}
.duo-people b { font-family: var(--display); font-weight: 400; font-size: 18px; }
.duo-people span + span { color: var(--muted); }

/* ---------- 事例のリンク ---------- */
.case-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; font-weight: 700; }
.case-links a, .dialog-links a { text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--sora-deep); }
.case-links a::after, .dialog-links a::after, .tl-link a::after { content: "↗"; margin-left: 0.2em; font-size: 0.9em; }

/* ---------- これまでのタイアップ ---------- */
.tieups-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: 72px 0 22px; }
.tieups-title { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); }
.tieups-head p { font-size: 14px; color: var(--muted); }
.tieups { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 20px; }
.tieup[hidden] { display: none; }
.tieup-link { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.tieup-cover {
  position: relative; display: block; aspect-ratio: 9 / 16; margin-bottom: 8px;
  border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--sora-pale);
  box-shadow: 6px 6px 0 var(--c, var(--sora));
}
.tieup-cover img { width: 100%; height: 100%; object-fit: cover; }
.tieup:nth-child(5n+2) { --c: var(--kiiro); }
.tieup:nth-child(5n+3) { --c: var(--momo); }
.tieup:nth-child(5n+4) { --c: var(--mint); }
.tieup:nth-child(5n+5) { --c: var(--daidai); }
.tieup-plate { display: grid; place-items: center; padding: 14px; text-align: center; }
.tieup-plate img { width: 86%; height: auto; object-fit: contain; }
.plate-ink img { width: 100%; }
.plate-ink { background: var(--ink); }
.plate-white { background: #fff; }
.plate-fuji { background: var(--fuji); }
.plate-sora { background: var(--sora); }
.plate-kiiro { background: var(--kiiro); }
.plate-mint { background: var(--mint); }
.plate-name { font-family: var(--display); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.35; }
/* 動画を開ける札には、再生の印 */
.is-video .tieup-cover::after {
  content: ""; position: absolute; left: 10px; bottom: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5l8 5-8 5z' fill='%23201715'/%3E%3C/svg%3E") center / 18px no-repeat;
  border: 2px solid var(--ink);
}
.tieup-name { font-size: 15px; font-weight: 900; line-height: 1.5; }
.tieup-what { font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.tieup-when { font-size: 12px; color: var(--muted); }
a.tieup-link:hover .tieup-cover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--c, var(--sora)); }
a.tieup-link:hover .tieup-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) { .tieup-cover { transition: transform 0.15s, box-shadow 0.15s; } }
.tieups-more-wrap { margin-top: 30px; text-align: center; }
.memo-list { margin: 6px 0 0; padding-left: 1.2em; }
.memo-list li + li { margin-top: 4px; }

/* ---------- メディアデータ（追加） ---------- */
.data-block h3 .as-of { display: block; margin-top: 2px; }
.data-block-tiktok { --fill: var(--momo); }
.data-block-tiktok .aud:nth-child(2) .bars { --fill: var(--mint); }

/* ---------- 出演・掲載（追加） ---------- */
.media-sub { margin: 8px 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2vw, 24px); }
.timeline + .media-sub-sm, .timeline + .media-sub, .appear-more + .media-sub { margin-top: 44px; }
.media-sub-sm { font-size: 16px; font-weight: 900; }
.appear-more { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.appear-more li { padding: 8px 16px; border: 2px solid var(--ink); border-radius: 16px; line-height: 1.6; font-size: 14px; font-weight: 700; background: var(--fuji); }
.appear-more li:nth-child(2) { background: var(--momo); }
.appear-more li:nth-child(3) { background: var(--kiiro); }
.appear-more li:nth-child(4) { background: var(--mint); }
.kind-radio { --c: var(--fuji); }
.tl-link { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.tl-link a { font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--sora-deep); }

/* ---------- フッター（SNS） ---------- */
.foot-sns { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.foot-sns a {
  display: inline-flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 9px 16px;
  border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: 14px;
}
.foot-sns a:hover { background: var(--sora-pale); }
.foot-sns span { color: var(--muted); font-size: 13px; }
.foot-contact { font-size: 14px; font-weight: 700; }
.foot-memo { margin-top: 28px; }

/* ---------- 事例の詳しい内容（追加） ---------- */
.dialog-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; font-weight: 700; font-size: 15px; }
.dialog-poster { margin: 20px 0 0; max-width: 360px; }
.dialog-poster img { border: 2px solid var(--ink); border-radius: 10px; }
.dialog-poster figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }
.event-covers { list-style: none; display: flex; gap: 12px; margin-top: 14px; }
.event-covers img { width: 120px; aspect-ratio: 9 / 16; object-fit: cover; border: 2px solid var(--ink); border-radius: 10px; }

/* ---------- 画面幅ごとの調整 ---------- */
@media (max-width: 1080px) {
  .site-nav ul { gap: 16px; }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tieups { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex; align-items: center; min-height: 42px; padding: 6px 16px;
    border: 2px solid var(--ink); border-radius: 999px; background: #fff;
    font: inherit; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer;
  }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 2px solid var(--ink);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .head-cta { min-height: 48px; }

  .hero { display: block; min-height: 0; padding: 0; background: #fff; }
  .hero-copy {
    width: auto; margin: 0; padding: 32px var(--gutter) 30px;
    border: 0; border-radius: 0; box-shadow: none; text-align: center;
  }
  .hero-logo img { width: min(76%, 300px); margin: 0 auto; }
  .hero-lede { margin-inline: auto; max-width: 16em; }
  .hero-sub { max-width: 30em; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-copy .memo { text-align: left; }
  .hero-visual { position: relative; inset: auto; height: 520px; background: var(--sora); border-top: 2px solid var(--ink); }
  .wall::after { background: linear-gradient(rgba(161, 219, 233, 0.35), rgba(161, 219, 233, 0) 40%); }
  .wall-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-inline: 10px; }
  .wall-col li { margin-bottom: 10px; }
  .wall-col:nth-child(n+5) { display: none; }
  .hero-duo { left: 50%; right: auto; transform: translateX(-50%); height: 94%; max-width: 92%; }
  .wall-pause { left: auto; right: 12px; bottom: 12px; }
  .timeline li { grid-template-columns: auto auto; }
  .tl-text, .tl-link { grid-column: 1 / -1; }

  .duo-text { grid-template-columns: 1fr; padding-block: 28px 36px; }
  .case { grid-template-columns: 1fr; grid-template-areas: "text" "fig" "btn"; gap: 16px; }
  .case-figure { align-items: flex-start; text-align: left; }
  .data-grid { grid-template-columns: 1fr; }
  .tieups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .audience { grid-template-columns: 1fr; gap: 22px; }
  .steps { grid-template-columns: 1fr; }
  .company-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .review { font-size: 12px; }
  .review-name span { display: none; }
  .head-logo img { height: 46px; }
  .hero-logo img { width: min(80%, 260px); }
  .hero-visual { height: 470px; }
  .wall-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wall-col:nth-child(n+4) { display: none; }
  .foot-body { justify-items: start; text-align: left; }
  .hero-actions .button { flex: 1 1 100%; }
  .wall-col img, .reel-grid img { border-radius: 10px; }
  .duo-credit { gap: 12px; }
  .duo-label { font-size: 13px; }
  .name-tag { font-size: 14px; padding: 8px 10px; }
  .reel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tieups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .tieup-name { font-size: 14px; }
  .foot-sns { justify-content: flex-start; }
  .tl-link { flex-direction: row; flex-wrap: wrap; gap: 2px 14px; }
  .kinds { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-send { justify-self: stretch; }
  .dialog-events { grid-template-columns: 1fr; }
  .memo-all { padding: 22px 20px; }
  .reels-more .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .wall.is-moving .wall-col { animation: none; }
  .case-dialog[open] { animation: none; }
}

/* ---------- v5 ---------- */
.plate-momo { background: var(--momo); }
.plate-daidai { background: var(--daidai); }
.reel-grid a { display: block; border-radius: 12px; }
.reel-grid a:hover img { transform: translateY(-2px); }
@media (prefers-reduced-motion: no-preference) { .reel-grid img { transition: transform 0.15s ease; } }
.reels-more { display: flex; flex-wrap: wrap; gap: 12px; }
.site-nav ul a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.req.opt { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.foot-contact { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; }

/* ---------- アルバイト・インターン募集 ---------- */
.join { margin-top: 96px; }
.join-card {
  position: relative;
  padding: clamp(28px, 4.5vw, 52px);
  border: 2px solid var(--ink); border-radius: 24px;
  background: var(--kiiro);
  box-shadow: 10px 10px 0 var(--sora);
}
.join-label {
  display: inline-block; padding: 2px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700;
}
.join-card h2 { margin-top: 14px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.35; }
.join-lede { margin-top: 14px; max-width: 36em; font-size: clamp(15px, 1.5vw, 17px); }
.join-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; list-style: none; }
.join-points li { display: grid; align-content: start; gap: 4px; padding: 16px 18px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; }
.join-points b { font-size: 17px; font-weight: 900; }
.join-points span { font-size: 15px; }
.join-actions { margin-top: 24px; }
.join > .memo { margin-top: 28px; }
@media (max-width: 700px) {
  .join-points { grid-template-columns: minmax(0, 1fr); }
  .join-card { box-shadow: 6px 6px 0 var(--sora); }
}
.join-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; }
.join-terms div { display: grid; align-content: start; gap: 4px; padding: 14px 18px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; }
.join-terms dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.join-terms dd { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.6; }
.join-note { margin-top: 14px; font-weight: 700; }
@media (max-width: 700px) { .join-terms { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 公開用 ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.field-agree a { text-decoration: underline; text-underline-offset: 3px; }
.doc { max-width: 760px; padding-block: 48px 96px; }
.doc .crumb { font-size: 13px; color: var(--muted); }
.doc .crumb a { color: inherit; }
.doc h1 { margin-top: 12px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4vw, 40px); line-height: 1.3; }
.doc h1 + p { margin-top: 20px; }
.doc h2 { margin-top: 36px; font-size: 18px; font-weight: 900; }
.doc p, .doc li { font-size: 15px; line-height: 1.9; }
.doc h2 + p, .doc h2 + ul, .doc p + ul, .doc ul + p, .doc p + p { margin-top: 8px; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 4px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc-facts { margin-top: 10px; border-top: 1px solid var(--line); }
.doc-facts div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.doc-facts dt { font-weight: 700; }
.doc-facts dd { margin: 0; }
.doc-date { margin-top: 36px; font-size: 13px; color: var(--muted); }
.doc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.doc-actions a { text-decoration: none; }
.doc-404 { padding-block: 72px 120px; }
