/* 株式会社muu corporate site */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #FFFFFF;
  --ink: #22272B;
  --muted: #22272B;
  --accent: #5FAEDC;
  --accent-ink: #2F7FB0;
  --tint: #FFFFFF;
  --line: #5FAEDC;
  --soft-line: #E3E8EC; /* Worksのカードなど、並んだ項目を軽く区切る薄い枠(以前の見た目) */
  --shadow: none;
  --on-accent: #0F2A3C;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  padding: 0 20px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; }
.narrow { max-width: 760px; }

h1, h2, h3 {
  font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0;
  text-wrap: balance;
}
.eyebrow {
  font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--accent); vertical-align: middle; margin-right: 10px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  margin: 0 -20px; padding: 0 20px;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand .mark {
  font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; font-weight: 600; font-size: 1.55rem; letter-spacing: 0.06em; line-height: 1; color: var(--ink);
}
.brand .mark em { font-style: normal; color: var(--accent); }
.brand .co { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 0.86rem; font-weight: 500; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav .cta { background: var(--accent); color: var(--on-accent); padding: 9px 18px; border-radius: 6px; border: none; font-weight: 700; }
.nav .cta:hover { background: var(--accent-ink); }
/* 言語切替(日本語 / 한국어)。PCはナビの右、スマホはメニューボタンの左 */
.site-header .wrap { justify-content: flex-start; }
.brand { margin-right: auto; }
.nav { order: 2; }
.lang-switch { order: 3; display: flex; align-items: center; gap: 2px; font-size: 0.8rem; margin-left: 4px; }
.lang-switch a { text-decoration: none; color: var(--ink); padding: 5px 7px; border-bottom: 2px solid transparent; white-space: nowrap; }
.lang-switch a[aria-current] { font-weight: 700; border-bottom-color: var(--accent); }
.lang-switch a:hover { border-bottom-color: var(--accent); }
.nav-toggle { order: 4; white-space: nowrap; }
.brand .co { white-space: nowrap; }
@media (max-width: 860px) { .site-header .wrap { gap: 12px; } }
/* 韓国語は単語の途中で改行しない */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink); font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .cta { margin-top: 12px; text-align: center; border-radius: 10px; }
}

/* ---------- sections ---------- */
section.block { padding-block: 84px; }
section.block + section.block { border-top: 1px solid var(--line); }
section.block.cta-row, section.block + section.block.cta-row { border-top: none; padding-top: 0; }
section.block.soft { background: var(--soft); margin: 0 -20px; padding-inline: 20px; border-top: none; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: end; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head h2, section.block > h2 { line-height: 1.3; } /* 左の水色バーは廃止(2026-10-17 ユーザー指示) */
table.formats { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.formats th, table.formats td { border-bottom: 1px solid var(--line); padding: 14px 12px; text-align: left; vertical-align: top; }
table.formats th { width: 10em; white-space: nowrap; font-weight: 700; }
table.formats td a { margin-left: 8px; white-space: nowrap; }
@media (max-width: 640px) { table.formats th, table.formats td { display: block; width: auto; } table.formats th { border-bottom: 0; padding-bottom: 0; } }
.crumb { font-size: 0.85rem; margin: 0 0 8px; }
/* 事業カード2枚(トップ): 枠をはっきり */
.services.biz { gap: 32px; }
.services.biz .service { border: 1px solid var(--ink); } /* 上辺の水色アクセントは廃止(2026-10-17) */
.service .service-more { margin-top: auto; padding-top: 8px; }
.btn.btn-sm { padding: 4px 12px; font-size: 0.82rem; }
#works, #works-digest, #flow { scroll-margin-top: 96px; }
.subhead { font-size: 1.2rem; font-weight: 700; margin: 0 0 16px; }
.section-head p { margin: 0; color: var(--muted); max-width: 42em; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- hero ---------- */
.hero { padding-block: 72px 80px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 900; line-height: 1.25; }
.hero h1 .thin { font-weight: 500; display: block; font-size: 0.62em; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.04em; }
.hero .lead { font-size: 1.02rem; color: var(--muted); max-width: 34em; margin: 26px 0 32px; }
.hero-en { margin: 14px 0 0; font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 500; letter-spacing: 0.06em; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 0.92rem; padding: 14px 28px; border-radius: 6px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); cursor: pointer; font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--accent-ink); }
.btn.ghost:hover { background: var(--tint); }
.btn.wide { width: 100%; text-align: center; }

.portrait {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%;
  background: linear-gradient(160deg, var(--tint), var(--soft) 60%, var(--surface));
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 22px;
}
.portrait .tag { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px 14px; font-size: 0.78rem; }
.portrait .tag b { color: var(--accent); }
.portrait .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 0.8rem; text-align: center; padding: 20px; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vtag {
  writing-mode: vertical-rl; font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; font-size: 0.95rem; letter-spacing: 0.3em; color: var(--muted);
  position: absolute; right: -34px; top: 8px; height: 60%;
}
.hero-right { position: relative; padding-right: 34px; }
.hero-single { grid-template-columns: minmax(0, 1fr); padding-block: 88px 72px; }
.hero-single > div { max-width: 760px; }
.hero, .page-hero { border-bottom: 1px solid var(--line); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 40px 56px; }
  .hero-right { padding-right: 0; }
  .vtag { display: none; }
  .portrait { max-width: 420px; }
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.stat { background: var(--surface); padding: 22px 24px; }
.stat .label { font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stat .num { font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; font-weight: 600; font-size: 2rem; letter-spacing: 0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .num small { font-size: 0.95rem; font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; color: var(--muted); margin-left: 4px; }
.stat a { color: var(--accent-ink); font-size: 0.8rem; text-decoration: none; }
.stat a:hover { text-decoration: underline; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.service .num { font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; color: var(--accent); font-size: 0.8rem; letter-spacing: 0.2em; }
.service h3 { font-size: 1.18rem; }
.service p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.service ul { margin: 6px 0 0; padding-left: 1.1em; font-size: 0.88rem; }
.service ul li { margin: 2px 0; }
.services-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .services-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .services, .services-4, .services-2 { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.process li { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 20px 18px; position: relative; }
.process li::before { counter-increment: step; content: "0" counter(step); font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; color: var(--accent); font-size: 0.78rem; letter-spacing: 0.2em; display: block; margin-bottom: 8px; }
.process h3 { font-size: 1rem; margin-bottom: 6px; font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; font-weight: 700; }
.process p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.7; }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- flow diagram (タイアップ動画制作の流れ) ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 14px; row-gap: 12px; }
.flow > li { grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: 12px; min-width: 0; }
.flow-head { position: relative; }
.flow-node { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1.5px solid var(--accent); color: var(--accent-ink); position: relative; z-index: 1; }
.flow-step .flow-head::before { content: ""; position: absolute; top: 28px; left: 64px; right: -10px; border-top: 1.5px dashed var(--accent); }
.flow-step .flow-head::after { content: ""; position: absolute; top: 24px; right: -9px; width: 8px; height: 8px; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); transform: rotate(45deg); }
.flow-step:last-child .flow-head::before, .flow-step:last-child .flow-head::after { display: none; }
.flow-head h3 { font-size: 0.98rem; margin: 12px 0 0; font-weight: 700; }
.flow-cell { border-radius: 6px; padding: 14px; background: var(--soft); border: 1px solid var(--line); }
.flow-cell p { margin: 0; font-size: 0.84rem; line-height: 1.7; color: var(--ink); }
/* 画面が狭いときも縦1列にせず横に並べる(6つ → 3つ×2段 → 2つ×3段)。段の終わりの矢印は出さない */
@media (max-width: 1000px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-cell { margin-bottom: 14px; }
  .flow-step:nth-child(3n) .flow-head::before, .flow-step:nth-child(3n) .flow-head::after { display: none; }
}
@media (max-width: 600px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .flow-step:nth-child(3n):not(:last-child) .flow-head::before, .flow-step:nth-child(3n):not(:last-child) .flow-head::after { display: block; }
  .flow-step:nth-child(2n) .flow-head::before, .flow-step:nth-child(2n) .flow-head::after { display: none; }
  .flow-node { width: 44px; height: 44px; }
  .flow-step .flow-head::before { top: 22px; left: 52px; }
  .flow-step .flow-head::after { top: 18px; }
  .flow-cell { padding: 10px; }
}

/* ---------- クリエイター募集: 役割図・応募の目安 ---------- */
.roles { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.6fr) 56px minmax(0, 1fr); align-items: center; gap: 8px; }
.role-node { border: 1px solid var(--line); border-radius: 6px; padding: 22px 18px; text-align: center; }
.role-node .flow-node { margin: 0 auto 10px; }
.role-node h3 { font-size: 1.1rem; margin: 0 0 4px; font-weight: 700; }
.role-node p { margin: 0; font-size: 0.88rem; }
.role-muu { border: 2px solid var(--accent); text-align: left; padding: 22px 24px; }
.role-muu h3 { text-align: center; font-size: 1.3rem; color: var(--accent-ink); margin-bottom: 12px; }
.role-muu ul { margin: 0; padding-left: 1.1em; font-size: 0.9rem; }
.role-muu li { margin: 6px 0; }
.role-arrow { color: var(--accent); display: grid; place-items: center; }
@media (max-width: 900px) {
  .roles { grid-template-columns: 1fr; }
  .role-arrow svg { transform: rotate(90deg); }
}
.req-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.req-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.req-check { color: var(--accent); flex: none; margin-top: 2px; }
@media (max-width: 640px) { .req-list { grid-template-columns: 1fr; } }
.flow.flow-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .flow.flow-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow.flow-4 .flow-step:nth-child(3n):not(:last-child) .flow-head::before, .flow.flow-4 .flow-step:nth-child(3n):not(:last-child) .flow-head::after { display: block; }
  .flow.flow-4 .flow-step:nth-child(2n) .flow-head::before, .flow.flow-4 .flow-step:nth-child(2n) .flow-head::after { display: none; }
}

/* ---------- フォーム: 複数選択 ---------- */
fieldset.checks { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
fieldset.checks legend { font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; padding: 0; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
@media (max-width: 640px) { .check-list { grid-template-columns: 1fr; } }
.field label.check { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-weight: 400; font-size: 0.92rem; cursor: pointer; }
.field label.check input { margin-top: 0.35em; flex: none; width: auto; }
#c-tieup-other-text { margin-top: 10px; }

/* ---------- SNSボタン ---------- */
.sns-row { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; }
.sns-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; margin-right: 18px; text-decoration: none; color: var(--ink); font-size: 0.92rem; font-weight: 700; }
.sns-btn:hover span { text-decoration: underline; }
.sns-btn svg { flex: none; }

/* ---------- works (横1行・横スクロール) ---------- */
.works-scroll { position: relative; }
.works { display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.works::-webkit-scrollbar { height: 8px; }
.works::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.work { flex: 0 0 300px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--soft-line); border-radius: 6px; overflow: hidden; }
.work .thumb { aspect-ratio: 16 / 10; max-width: 100%; background: linear-gradient(135deg, var(--tint), var(--soft)); display: grid; place-items: center; color: var(--muted); font-size: 0.78rem; position: relative; }
.work .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work .body { padding: 18px 20px 20px; }
.work .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pill { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 6px; border: 1px solid var(--soft-line); color: var(--muted); }
.pill.yt { color: #c4302b; border-color: color-mix(in srgb, #c4302b 40%, var(--soft-line)); }
.pill.ig { color: #b5308a; border-color: color-mix(in srgb, #b5308a 40%, var(--soft-line)); }
.pill.tt { color: var(--ink); }
.work h3 { font-size: 1.02rem; font-weight: 700; }
.work p { margin: 6px 0 0; color: var(--muted); font-size: 0.86rem; }
.work .date { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.1em; margin-top: 10px; }
.works-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
.works-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--soft-line); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1rem; line-height: 1; }
.works-nav button:hover { background: var(--tint); }
@media (max-width: 560px) { .work { flex-basis: 78vw; } }
.note { font-size: 0.82rem; color: var(--muted); }

/* ---------- company ---------- */
.spec { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.spec th, .spec td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.92rem; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: none; }
.spec th { width: 160px; color: var(--muted); font-weight: 500; background: var(--soft); }
@media (max-width: 560px) { .spec th, .spec td { display: block; width: auto; } .spec th { padding-bottom: 4px; border-bottom: none; } }
.spec-wrap { overflow-x: auto; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 6px 0 22px 26px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }
.timeline time { font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; color: var(--accent); font-size: 0.8rem; letter-spacing: 0.15em; display: block; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

.creator { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
.creator .portrait { border: 0; border-radius: 6px; aspect-ratio: 1 / 1; padding: 0; }
@media (max-width: 760px) { .creator { grid-template-columns: 1fr; } .creator .portrait { max-width: 320px; } }
.message { font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; font-size: 1.12rem; line-height: 2.1; }
.message p { margin: 0 0 1em; }

/* ---------- recruit ---------- */
.reqs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.reqs li { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; font-size: 0.92rem; }
.reqs li b { display: block; margin-bottom: 4px; }
@media (max-width: 640px) { .reqs { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.req { display: inline-block; font-size: 0.66rem; color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 4px; padding: 0 5px; margin-left: 8px; vertical-align: 2px; font-weight: 700; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.95rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field .help { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.consent { font-size: 0.86rem; display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 24px; }
.consent input { margin-top: 5px; }
.alert { border-radius: 10px; padding: 14px 16px; font-size: 0.88rem; margin-bottom: 20px; }
.alert.error { background: var(--tint); border: 1px solid var(--accent); color: var(--accent-ink); }
.alert.error ul { margin: 6px 0 0; padding-left: 18px; }
.alert.ok { background: var(--soft); border: 1px solid var(--line); }
.hp { position: absolute; left: -9999px; top: -9999px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--bg); margin: 0 -20px; padding: 72px 20px; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: inherit; }
.cta-band p { color: color-mix(in srgb, var(--bg) 70%, transparent); margin: 12px 0 0; }
.cta-band .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta-band .btn:hover { background: var(--tint); border-color: var(--tint); }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------- page hero (subpages) ---------- */
.page-hero { padding-block: 64px 40px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-hero p { color: var(--muted); max-width: 40em; margin: 16px 0 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 0; padding-block: 44px 32px; font-size: 0.84rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent-ink); }
.site-footer .copy { width: 100%; font-family: "Meiryo UI", Meiryo, "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; letter-spacing: 0.1em; font-size: 0.72rem; margin-top: 8px; }

.todo { border-bottom: 1px dashed var(--accent); cursor: help; }
.prose p { margin: 0 0 1.1em; max-width: 42em; }
.prose h3 { font-size: 1.1rem; margin: 1.6em 0 0.5em; }
.prose ul { padding-left: 1.2em; }

/* ---------- joint PPL ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.plan h3 { font-size: 1.15rem; }
.plan p { margin: 0; color: var(--muted); font-size: 0.9rem; flex: 1; }
.plan .btn { align-self: flex-start; }
.plan-head { display: flex; align-items: center; gap: 10px; }
.plan-media { font-size: 0.78rem; color: var(--muted); }
.status { display: inline-block; font-size: 0.74rem; font-weight: 700; padding: 3px 12px; border-radius: 6px; letter-spacing: 0.04em; }
.status.open { background: var(--accent); color: var(--on-accent); }
.status.closed { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.plan-facts { display: grid; grid-template-columns: 80px 1fr; gap: 4px 10px; margin: 4px 0; font-size: 0.88rem; }
.plan-facts dt { color: var(--muted); }
.plan-facts dd { margin: 0; }
ul.plain { margin: 0; padding-left: 1.2em; font-size: 0.92rem; }
ul.plain li { margin: 4px 0; }
.plan-detail { border-top: 1px solid var(--line); }

/* ---------- 全体の縮尺(2026-10-17 ユーザー指示: 開いた時に大きすぎる・幅が広すぎて見にくい) ----------
   文字・余白・本文の幅を一段小さくする。125%表示のPCでも1画面に収まる量を増やす */
.wrap { max-width: 960px; }
.site-header .wrap { min-height: 58px; }
section.block { padding-block: 56px; }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.subhead { font-size: 1.05rem; margin-bottom: 12px; }
.hero-single { padding-block: 56px 44px; }
.hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.hero-en { font-size: clamp(0.95rem, 1.3vw, 1.08rem); margin-top: 10px; }
.page-hero { padding-block: 40px 28px; }
.page-hero h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.page-hero p { margin-top: 10px; }
.service { padding: 22px; }
.service h3 { font-size: 1.08rem; }
.btn { padding: 11px 22px; font-size: 0.88rem; }
.btn.btn-sm { padding: 3px 10px; font-size: 0.8rem; }
table.formats th, table.formats td { padding: 11px 12px; }
.creator { grid-template-columns: 200px minmax(0, 1fr); gap: 28px; }
@media (max-width: 860px) { .nav { top: 58px; } .hero-single { padding-block: 36px 32px; } section.block { padding-block: 44px; } }
@media (max-width: 760px) { .creator { grid-template-columns: 1fr; } .creator .portrait { max-width: 240px; } }
.form { padding: 26px; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea { padding: 9px 12px; }

/* ---------- 装飾を減らす(2026-10-17 ユーザー指示「AIっぽさをすべて排除」) ----------
   アイコン入りの丸・点線の矢印・チェックアイコン・色付きタグ・英字の小ラベルはやめ、番号と文字だけで見せる */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 28px; }
.steps li { border-top: 1px solid var(--line); padding-top: 12px; min-width: 0; }
.steps .n { display: block; font-weight: 700; font-size: 0.95rem; }
.steps h3 { font-size: 1rem; margin: 2px 0 6px; font-weight: 700; }
.steps p { margin: 0; font-size: 0.88rem; line-height: 1.75; }
@media (max-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .steps { grid-template-columns: 1fr; } }
ul.list { margin: 0; padding-left: 1.2em; }
ul.list li { margin: 4px 0; }
.work .body p.work-meta { margin: 0 0 6px; font-size: 0.8rem; color: var(--ink); }
/* 角丸は小さく(どの部品も同じ大きな角丸にしない) */
.service, .form, .spec, .work, .plan, .alert, .btn, .nav .cta, .nav-toggle, .status, .req, .works-nav button,
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea { border-radius: 3px; }

/* ---------- レイアウト見直し(2026-10-18: 客観的な改善点1〜6) ---------- */
/* 1. トップ: 見出し+一言+写真 */
.hero-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 40px 44px; }
.hero-photo .hero-text { max-width: none; }
.hero-lead { margin: 14px 0 0; font-size: 1rem; line-height: 1.9; max-width: 30em; }
.hero-img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: var(--surface); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-img .ph { display: block; width: 100%; height: 100%; }
.hero-img:has(.ph) { display: none; }
.hero-photo:has(.hero-img .ph) { grid-template-columns: 1fr; }
@media (max-width: 860px) { .hero-photo { grid-template-columns: 1fr; gap: 20px; padding-block: 28px 32px; } .hero-img { aspect-ratio: 16 / 9; } }
/* 2. 制作実績を大きく */
.work { flex: 0 0 380px; }
@media (max-width: 560px) { .work { flex-basis: 84vw; } }
/* 3. Creator: 写真と文章の高さをそろえる */
.creator { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: stretch; }
.creator .portrait { margin: 0; aspect-ratio: auto; height: 100%; min-height: 220px; } /* figure の標準余白(左右40px)を消す。消し忘れで写真が140px/16pxに縮んでいた(2026-10-18) */
.creator .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.creator-body { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 760px) {
  .creator { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
  .creator .portrait { aspect-ratio: 1 / 1; height: auto; min-height: 0; max-width: none; }
  .creator-body h3 { margin-top: 0; }
}
/* 4. 合同PPL: 企画が1件なら横いっぱい */
.plans.plans-1 { grid-template-columns: 1fr; }
.plans.plans-1 .plan { max-width: 720px; }
/* 5. 会社概要の表を締める */
.spec-wrap { max-width: 720px; }
.spec th, .spec td { padding: 10px 14px; font-size: 0.9rem; }
.spec th { width: 120px; }
/* 6a. 言語切替を右端で小さく、ナビと離す */
.lang-switch { font-size: 0.74rem; margin-left: 18px; gap: 0; }
.lang-switch a { padding: 4px 5px; }
@media (max-width: 860px) { .lang-switch { margin-left: 0; } }
/* 6b. スマホでも流れは2列 */
@media (max-width: 420px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; } .steps p { font-size: 0.84rem; } }
/* 6c. Servicesの合同PPL行: ボタンを本文の下に */
table.formats td a.btn-sm { margin: 6px 0 0; }
/* Servicesページの上部にも写真 */
.page-hero-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.page-hero-photo .hero-img { aspect-ratio: 3 / 2; }
.page-hero-photo:has(.hero-img .ph) { grid-template-columns: 1fr; }
@media (max-width: 860px) { .page-hero-photo { grid-template-columns: 1fr; gap: 16px; } .page-hero-photo .hero-img { aspect-ratio: 16 / 9; } }

/* トップの Services: 事業が1つのときは枠なしの見出し+ボタン(2026-10-24 Web運用をHPから外した) */
.service-single h3 { font-size: 1.08rem; margin: 0 0 12px; }
.service-single .service-more { margin: 0; }
