:root {
  color-scheme: light;
  --ink: #271f1b;
  --muted: #62564e;
  --accent: #ad390b;
  --accent-dark: #842b09;
  --accent-soft: #fff0da;
  --panel-lilac: #f3edff;
  --panel-lilac-line: #e1d3f6;
  --panel-lilac-ink: #624489;
  --line: #e5d6c5;
  --paper: #fcf9f4;
  --white: #fff;
  --rail: 9px;
  --shell-gutter: 36px;
  --radius-panel: 24px;
  --radius-media: 16px;
  --radius-control: 12px;
  --shadow: 0 8px 28px #56352109;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 22px; }
body { margin: 0; color: var(--ink); background: url("assets/film-edge.svg") left top / var(--rail) auto repeat-y, url("assets/film-edge.svg") right top / var(--rail) auto repeat-y, var(--paper); font: 400 16px/1.75 var(--font); }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 10; inset: 8px auto auto 8px; padding: 8px 14px; background: var(--white); transform: translateY(-140%); }
.skip:focus { transform: none; }

.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top-inner, .footer { width: min(100% - var(--shell-gutter), 1200px); margin-inline: auto; }
.top-inner { min-height: 66px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; white-space: nowrap; }
.brand img { width: clamp(105px, 16vw, 148px); height: auto; }
.brand span { color: var(--accent); font: 700 10px/1 var(--mono); letter-spacing: .13em; margin: 3px 0 0 4px; }

.layout { width: min(100% - var(--shell-gutter), 1100px); margin: 20px auto 0; }
main { min-width: 0; }
.hero {
  display: grid;
  gap: 24px;
  padding: 24px 20px 18px;
  background: radial-gradient(ellipse at 8% 0%, #fffaf3 20%, transparent 70%), linear-gradient(140deg, #fff2e2 25%, #ffedd1 65%, #f6ebff);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow);
}
.eyebrow { color: var(--accent); font: 800 11px/1.45 var(--mono); letter-spacing: .13em; }
.editor-tab { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; max-width: 100%; padding: 6px 9px; border: 1px solid var(--panel-lilac-line); border-radius: 10px; background: var(--panel-lilac); color: var(--panel-lilac-ink); box-shadow: inset 0 -2px #bd9ae866; font-size: 11px; font-weight: 800; }
.editor-mark { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: #e2d2fb; color: var(--panel-lilac-ink); font-size: 10px; }
.editor-time { margin-left: 2px; padding: 4px 5px; border-radius: 5px; background: #fff; font: 700 10px/1 var(--mono); }
.hero h1 { margin: 14px 0 12px; }
.hero h1 img { width: 100%; height: auto; }
.hero-desc { font-size: 13px; font-weight: 600; line-height: 1.75; }
.hero-desc span { display: inline-block; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 19px; font-size: 14px; font-weight: 800; line-height: 1.4; text-decoration: none; border: 1px solid transparent; border-radius: 999px; }
.primary { background: var(--accent); color: var(--white); box-shadow: 0 5px 14px #8c330d26; }
.primary:hover { background: var(--accent-dark); }
.secondary { border-color: #e5ba99; background: var(--white); color: var(--accent-dark); }
.secondary:hover { background: var(--accent-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-actions .button { gap: 8px; padding-inline: 13px; font-size: 12px; }

.viewfinder { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; color: #733614; background: #fff5e7; border: 1px solid #edceb1; border-radius: var(--radius-media); box-shadow: 0 10px 24px #a54c1826; min-width: 0; overflow: hidden; }
.finder-top, .viewfinder figcaption { display: flex; justify-content: space-between; align-items: center; gap: 5px; padding: 8px 12px; font: 700 10px/1 var(--mono); letter-spacing: .10em; }
.finder-top i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #cf5a2b; }
.finder-top span:nth-child(2) { letter-spacing: 0; }
.monitor-meter { width: 44px; height: 6px; border-radius: 2px; background: repeating-linear-gradient(90deg, #c87954 0 4px, transparent 4px 6px); }
.finder-screen { isolation: isolate; position: relative; min-height: 180px; overflow: hidden; background: radial-gradient(ellipse at 28% 25%, #ffd78580, transparent 65%), linear-gradient(125deg, #f6a30e 5%, #f4590f 71%, #ce470c); }
.finder-word { position: absolute; z-index: -1; inset: 12% auto auto 8%; color: #fff1d2; font: 900 clamp(40px, 11vw, 83px)/.87 var(--mono); letter-spacing: -.13em; opacity: .52; }
.president { position: absolute; z-index: -1; width: auto; height: 155%; max-width: none; inset: 1% -4% auto auto; filter: drop-shadow(5px 5px 0 #7b2f1680); }
.studio-camera, .studio-clapper { position: absolute; height: auto; filter: drop-shadow(3px 3px 0 #7b2f1660); }
.studio-camera { bottom: 8%; left: 9%; width: clamp(43px, 12vw, 82px); }
.studio-clapper { top: 13%; right: 8%; width: clamp(27px, 7vw, 48px); transform: rotate(8deg); }
.corner { position: absolute; z-index: 1; width: 15px; height: 15px; border: 2px solid #fff5e4; }
.tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; border-top-left-radius: 5px; }
.tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; border-top-right-radius: 5px; }
.bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; border-bottom-left-radius: 5px; }
.br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; border-bottom-right-radius: 5px; }
.timeline { min-width: 0; padding: 7px; border: 1px solid var(--panel-lilac-line); border-radius: 14px; background: #fcf8ff; }
.timeline-head { display: flex; align-items: center; gap: 7px; margin: 0 1px 7px; color: var(--panel-lilac-ink); font: 700 10px/1.4 var(--mono); }
.timeline-head span:first-child { padding: 3px 5px; border-radius: 5px; background: #e8dafa; }
.timeline-head span:last-child { margin-left: auto; }
.workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.workflow li { display: grid; justify-items: center; align-content: center; gap: 3px; padding: 7px 2px; text-align: center; font-size: 12px; font-weight: 800; border-radius: 7px; background: #ffe4c8; box-shadow: inset 0 3px #eaaa7b; }
.workflow li:nth-child(2) { background: #ffebba; box-shadow: inset 0 3px #edbe69; }
.workflow li:nth-child(3) { background: #eedffd; box-shadow: inset 0 3px #c9a6e9; }
.workflow li:nth-child(4) { background: #f8e4ec; box-shadow: inset 0 3px #dfa6bc; }
.workflow small { display: block; color: var(--accent); font: 700 8px/1.6 var(--mono); white-space: nowrap; }

.section { margin-top: 22px; padding: 23px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-panel); box-shadow: var(--shadow); }
.section-heading { display: flex; align-items: center; gap: 11px; }
.section-heading > img { padding: 5px; background: var(--accent-soft); border-radius: 10px; flex: 0 0 36px; width: 36px; height: 36px; }
.section-heading .eyebrow { display: inline-block; margin-bottom: 4px; padding: 3px 7px; border-radius: 5px; color: var(--panel-lilac-ink); background: var(--panel-lilac); }
.section-heading::after { content: ""; flex: 1; min-width: 0; max-width: 120px; height: 6px; margin-left: auto; border-radius: 4px; background: repeating-linear-gradient(90deg, #e4c9f3 0 4px, transparent 4px 7px); }
.section h2 { font-size: clamp(24px, 5vw, 38px); line-height: 1.25; letter-spacing: -.055em; font-weight: 900; }
.section-desc { color: var(--muted); margin-top: 10px; font-size: 14px; }
.job-jumps { margin: 16px 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.job-jumps a { display: flex; flex-wrap: wrap; gap: 3px 6px; align-items: center; min-height: 46px; padding: 8px 10px; border: 1px solid #f2d7b3; border-radius: var(--radius-control); background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 800; text-decoration: none; }
.job-jumps a span { margin-left: auto; }
.job-jumps a:hover { background: #ffe6be; }
.group-title { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.group-title span { color: var(--muted); font: 700 10px/1 var(--mono); letter-spacing: .09em; }
.parttime-title { margin-top: 22px; }
.job-list { border-top: 1px solid var(--line); }
.job-list details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.job-list summary, .conditions summary { display: flex; align-items: center; gap: 10px; min-height: 49px; padding: 8px 0; font-weight: 800; }
summary::after { content: "+"; margin-left: auto; color: var(--accent); font: 700 19px/1 var(--mono); }
details[open] > summary::after { content: "−"; }
.job-number { display: inline-grid; place-items: center; width: 28px; height: 24px; border-radius: 7px; color: var(--accent); background: var(--accent-soft); font: 800 12px/1 var(--mono); }
.job-list ul { margin: 0 0 12px; padding-left: 38px; color: var(--muted); font-size: 14px; }
.conditions { margin-top: 8px; padding: 0 12px; background: #fdf8ef; border: 1px solid var(--line); border-radius: var(--radius-control); }
.conditions summary { font-size: 13px; }
.conditions dl { margin: 0 0 12px; font-size: 13px; }
.conditions dl div { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); }
.conditions dt { font-weight: 800; }
.conditions dd { margin: 0; color: var(--muted); }

.film-grid { margin-top: 18px; display: grid; gap: 22px; }
.film { min-width: 0; }
.film-art { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-media); background: #ffedda; }
.film-art .poster { width: 100%; height: 100%; object-fit: cover; }
.film-link { display: block; border-radius: var(--radius-media); text-decoration: none; }
.film-copy { padding: 10px 2px 0; }
.film-copy h3 { font-size: 15px; line-height: 1.45; margin: 2px 0 4px; overflow-wrap: anywhere; }
.film-copy p { font-size: 13px; line-height: 1.55; color: var(--muted); }
.film-copy .film-type { display: inline-block; padding: 2px 7px; border-radius: 5px; font-size: 11px; color: var(--accent-dark); font-weight: 800; background: var(--accent-soft); }
.film-status { display: inline-block; margin-top: 7px; padding: 2px 8px; border-radius: 999px; background: #f5efe8; font-size: 11px; color: var(--muted); }
.film-link .film-status { color: var(--accent-dark); background: var(--accent-soft); font-weight: 800; }
.film-link:is(:hover, :focus-visible) h3 { text-decoration: underline; }
.application-preview { margin-top: 20px; }
.preview-note { margin: 0 0 18px; padding: 10px 12px; border-radius: var(--radius-control); background: var(--panel-lilac); color: var(--panel-lilac-ink); font-size: 13px; }
.application-grid { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
.application-grid label { display: block; min-width: 0; font-size: 14px; font-weight: 800; }
.required-mark { display: inline-block; margin-inline: 3px; padding: 0 6px; border-radius: 999px; color: var(--accent-dark); background: var(--accent-soft); font-size: 10px; font-weight: 800; vertical-align: middle; }
.application-fields :is(input:not([type=checkbox]), select, textarea) { display: block; width: 100%; min-height: 46px; margin-top: 4px; padding: 9px 11px; border: 1px solid #d9c6b4; border-radius: 10px; background: var(--white); color: var(--ink); font: 400 16px/1.4 var(--font); }
.application-fields :is(input, select, textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.application-fields textarea { resize: vertical; }
.application-fields input[type=file] { font-size: 13px; }
.application-fields input::file-selector-button { margin-right: 7px; padding: 4px 8px; border: 0; border-radius: 6px; background: var(--accent-soft); color: var(--accent-dark); }
.application-fields :is(input, select, textarea):disabled { opacity: 1; background: #fcfaf8; }
.application-grid small, .captcha-preview { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
.application-consent { display: grid; gap: 7px; margin: 19px 0 15px; padding: 13px; border-radius: var(--radius-control); background: #faf3e8; font-size: 13px; }
.application-consent h3 { font-size: 15px; }
.privacy-hint { color: var(--muted); font-size: 12px; }
.privacy-scroll { max-height: 240px; overflow: auto; overscroll-behavior-y: contain; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); font-size: 13px; line-height: 1.75; }
.privacy-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.privacy-scroll h4 { margin: 12px 0 3px; font-size: 13px; }
.privacy-scroll ol { margin: 5px 0; padding-left: 1.6em; }
.application-consent label { display: flex; align-items: flex-start; gap: 6px; }
.application-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 2px 0 0; accent-color: var(--accent); }
.application-consent .required-mark { white-space: nowrap; }
.application-preview button:disabled { background: #e7ddd3; color: #6b5e52; box-shadow: none; }

.footer { margin: 23px auto 0; padding: 16px 0 calc(80px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; border-top: 1px solid var(--line); }
.footer > a:not(.brand), .footer small { font-size: 11px; color: var(--muted); }
.footer small { flex-basis: 100%; }
.bottom-actions { position: fixed; z-index: 3; bottom: 0; inset-inline: 0; display: grid; grid-template-columns: 1fr 1fr; padding: 7px 16px calc(7px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); border-radius: 16px 16px 0 0; gap: 8px; }
.bottom-actions a { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 800; text-decoration: none; }
.bottom-actions a:last-child { background: var(--accent); color: var(--white); }

@media (min-width: 560px) {
  :root { --rail: 13px; --shell-gutter: 46px; }
  .hero { padding: 32px 28px 24px; }
  .finder-screen { min-height: 225px; }
  .president { height: 156%; right: 4%; }
  .workflow li { padding: 8px 5px; font-size: 14px; }
  .workflow small { font-size: 10px; }
  .section { padding: 28px; }
  .film-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .conditions dl div { grid-template-columns: 9em 1fr; }
  .application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .application-wide { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  :root { --rail: 19px; --shell-gutter: 58px; }
  .layout { margin-top: 30px; }
  .hero { grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: 22px; padding: clamp(25px, 3.4vw, 44px); align-items: center; }
  .hero-desc { font-size: 15px; }
  .viewfinder { align-self: stretch; min-height: 260px; }
  .finder-word { font-size: clamp(58px, 6vw, 90px); }
  .president { height: 139%; right: -8%; }
  .timeline { grid-column: 1 / -1; }
  .workflow li { display: flex; align-items: center; gap: 10px; text-align: left; padding-inline: 15px; }
  .bottom-actions { display: none; }
  .section { padding: 34px 40px; margin-top: 26px; }
  .job-jumps { max-width: 480px; }
  .film-grid { gap: 16px; }
  .footer { padding-bottom: 24px; }
  .footer small { flex-basis: auto; margin-left: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .finder-top i { animation: rec-pulse .8s ease-in-out 2; }
  .studio-camera { animation: studio-in .55s ease-out both; }
  .studio-clapper { animation: clapper-in .6s .12s ease-out both; }
  .workflow img { animation: workflow-in .35s ease-out both; }
  .workflow li:nth-child(2) img { animation-delay: .12s; }
  .workflow li:nth-child(3) img { animation-delay: .24s; }
  .workflow li:nth-child(4) img { animation-delay: .36s; }
  .button { transition: background-color .15s ease, transform .15s ease; }
  .button:hover { transform: translateY(-2px); }
}
@keyframes rec-pulse { 50% { opacity: .42; } }
@keyframes studio-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes clapper-in { from { opacity: 0; transform: translateY(-7px) rotate(-8deg); } }
@keyframes workflow-in { from { opacity: 0; transform: translateY(4px); } }
