
/* 白地に作品の画を大きく並べる（EDP の作品ページの型）。字は黒、差し色は青1色。 */
:root {
  --bg: #ffffff;
  --ink: #121417;
  --muted: #5b6370;
  --line: #e3e6eb;
  --soft: #f3f5f8;
  --accent: #2447d6;
  --on-accent: #ffffff;
  --tbd: #fff1a8;
  --tbd-ink: #4a3b00;
  --chip-ai: #e7ecff;
  --chip-ai-ink: #1d3aa8;
  --chip-hito: #eef0f2;
  --chip-hito-ink: #2b3036;
  --font-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-display: "Archivo", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: max(16px, min(5vw, 48px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1114; --ink: #eceef1; --muted: #9aa2ad; --line: #272b31; --soft: #171a1f;
    --accent: #8099ff; --on-accent: #0f1114; --tbd: #4d4210; --tbd-ink: #ffe98a;
    --chip-ai: #1c2547; --chip-ai-ink: #b7c5ff; --chip-hito: #23272d; --chip-hito-ink: #d7dbe0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1114; --ink: #eceef1; --muted: #9aa2ad; --line: #272b31; --soft: #171a1f;
  --accent: #8099ff; --on-accent: #0f1114; --tbd: #4d4210; --tbd-ink: #ffe98a;
  --chip-ai: #1c2547; --chip-ai-ink: #b7c5ff; --chip-hito: #23272d; --chip-hito-ink: #d7dbe0;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-jp); font-size: 16px; line-height: 1.9;
  font-feature-settings: "palt" 0; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }  /* 12-01 鍵つきの再生の枠が、テーマの .vplayer の display で見えていた */
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap {
  max-width: 1200px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.draftbar { background: var(--tbd); color: var(--tbd-ink); font-size: 13px; line-height: 1.6; }
.draftbar .wrap { padding-block: 8px; }
mark.tbd { background: var(--tbd); color: var(--tbd-ink); padding: 0 .25em; border-radius: 3px; }

/* ヘッダー */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
html { scroll-padding-top: 80px; }
.fixbar, .fixbar-space { display: none; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.brand b { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.01em; }
.brand span { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--ink); line-height: 1.4; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn:hover { opacity: .85; }
.nav .btn { padding: 7px 14px; font-size: 14px; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { list-style: none; margin: 0; padding: 12px 0 4px; display: grid; gap: 4px; }
.menu li a { display: block; padding: 6px 0; text-decoration: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
  .site-head .wrap { flex-wrap: wrap; }
  .menu[open] { flex-basis: 100%; order: 3; }
  .site-head { position: static; }
  html { scroll-padding-top: 0; }
  .fixbar-space { display: block; height: 76px; }
  .fixbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--bg); border-top: 1px solid var(--line);
    padding: 10px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); }
  .fixbar .btn { width: 100%; justify-content: center; }
}
.list .note { display: block; font-size: 14px; color: var(--muted); }

/* 文字の大きさ */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.35; text-wrap: balance; word-break: auto-phrase; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(28px, 4.2vw, 44px); }
.hero h1 { font-size: clamp(34px, 6vw, 64px); letter-spacing: -.005em; line-height: 1.25; }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0; }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 40em; }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.nw { white-space: nowrap; display: inline-block; }
.small { font-size: 13px; font-variant-numeric: tabular-nums; }
.prose { max-width: 40em; display: grid; gap: 1em; }

/* 区切り */
main { display: block; }
.section { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head a { font-size: 14px; }
.page-head { padding-block: 28px 40px; display: grid; gap: 16px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }

/* トップ */
.hero { padding-block: clamp(24px, 5vw, 56px) clamp(40px, 6vw, 72px); display: grid; gap: 28px; }
.hero .lead { color: var(--ink); opacity: .82; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero figure { margin: 8px 0 0; }
.hero figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* 作れる物の一覧（行） */
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.rows li { border-top: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) auto; gap: 20px; align-items: baseline;
  padding-block: 22px; text-decoration: none; }
.rows a:hover h3 { color: var(--accent); }
.rows .price { font-size: 15px; white-space: nowrap; }
@media (max-width: 720px) { .rows a { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* 作例のカード（2列） */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
@media (max-width: 720px) { .grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.card { text-decoration: none; display: grid; gap: 12px; }
.card .thumb { background: var(--soft); aspect-ratio: 16 / 9; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .thumb img { transform: scale(1.015); }
.card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card h3 { font-size: 17px; font-weight: 600; min-width: 0; }
.card:hover h3 { text-decoration: underline; }
.card .cat { font-size: 13px; color: var(--muted); white-space: nowrap; }
.card .meta { color: var(--muted); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.cats a, .cats span { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.cats a:hover { border-color: var(--ink); }

/* AI と人 */
.chip { display: inline-block; font-size: 12px; line-height: 1.5; padding: 2px 9px; border-radius: 999px; white-space: nowrap; font-weight: 500; }
.chip.ai { background: var(--chip-ai); color: var(--chip-ai-ink); }
.chip.hito { background: var(--chip-hito); color: var(--chip-hito-ink); }
.chip.both { padding: 0; display: inline-flex; overflow: hidden; box-shadow: inset 0 0 0 1px var(--chip-ai); }
.chip.both .h { background: var(--chip-hito); color: var(--chip-hito-ink); padding: 2px 6px 2px 9px; }
.chip.both .a { background: var(--chip-ai); color: var(--chip-ai-ink); padding: 2px 9px 2px 6px; }
.more { margin-top: 18px; font-size: 14px; line-height: 1.9; }
.vplayer { background: #000; display: flex; justify-content: center; }
.vplayer video { display: block; width: 100%; height: auto; max-height: 86vh; background: #000; }
.vplayer.tate video { width: auto; height: min(86vh, 900px); max-width: 100%; }
.locked { display: grid; gap: 20px; }
.locked .stills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.locked .stills.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.locked .stills.odd { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.locked .stills.odd img:first-child { grid-column: 1 / -1; }
.locked .stills img { width: 100%; height: auto; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
@media (max-width: 720px) { .locked .stills, .locked .stills.n4, .locked .stills.odd { grid-template-columns: minmax(0, 1fr); } }
.lockrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-top: 14px; }
.lockrow label { display: grid; gap: 4px; flex: 1 1 220px; min-width: 0; }
.mail-addr { font-size: clamp(20px, 4.4vw, 30px); font-weight: 700; letter-spacing: .01em; margin: 6px 0 0; overflow-wrap: anywhere; }
.lockrow input { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); min-width: 0; }
.kind-head { margin: 56px 0 6px; } .kind-head:first-of-type { margin-top: 8px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .three { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.three > div { display: grid; gap: 10px; align-content: start; }

/* 表 */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 13px; color: var(--muted); font-weight: 500; border-top: 0; padding-top: 0; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 1px solid var(--line); }
td.num { white-space: nowrap; }
.split td:first-child { width: 55%; }

/* 流れ */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; border-bottom: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-mono); font-size: 14px; color: var(--accent); padding-top: 3px; }
.steps h3 { font-size: 17px; margin-bottom: 4px; }

/* 作例のページ */
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: 13px; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line); }
.badge.award { border-color: var(--accent); color: var(--accent); }
.badges mark.tbd { font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.poster { position: relative; background: var(--soft); }
.poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.poster.tate img { width: auto; max-height: 72vh; aspect-ratio: auto; margin-inline: auto; }
.poster .note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding-block: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { min-width: 0; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: 15px; }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.work-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; padding-block: 40px 8px; }
@media (max-width: 860px) { .work-body { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-block: 32px; }
.pager a { text-decoration: none; display: grid; gap: 4px; font-size: 15px; }
.pager a:last-child { text-align: right; }
.pager small { color: var(--muted); font-size: 12px; }

/* サービスのページ */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 860px) { .two { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.list { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.box { background: var(--soft); padding: 20px 22px; font-size: 15px; }
.pricebar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; font-size: 15px; }
.pricebar strong { font-family: var(--font-display); font-size: 26px; font-weight: 600; }

/* よくある質問 */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font-weight: 500; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--font-mono); font-size: 18px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; max-width: 40em; }

/* プロフィール */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } }
.about figure { margin: 0; max-width: 360px; }
.history { margin: 0; display: grid; gap: 0; }
.history div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding-block: 12px; border-top: 1px solid var(--line); }
.history dt { font-family: var(--font-mono); font-size: 14px; color: var(--muted); padding-top: 2px; }
.history dd { margin: 0; }

/* 研修・相談のページ */
.offer { text-decoration: none; display: grid; gap: 8px; align-content: start; }
.offer h2 { font-size: 20px; }
.offer:hover h2 { color: var(--accent); }
.offer .go { font-size: 14px; text-decoration: underline; }
.form-embed { background: var(--soft); }
.form-embed iframe { display: block; width: 100%; border: 0; }
.form-wait { padding: 28px 22px; display: grid; gap: 12px; justify-items: start; }

/* 問い合わせの帯 */
.cta { background: var(--soft); }
.cta .wrap { padding-block: clamp(48px, 7vw, 88px); display: grid; gap: 20px; justify-items: start; }

/* フッター */
.site-foot { border-top: 1px solid var(--line); font-size: 14px; }
.site-foot .wrap { padding-block: 40px 48px; display: grid; gap: 24px; }
.foot-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
