:root {
  --red: #8A1E2C;
  --red-deep: #5E1119;
  --cream: #F6F1E7;
  --cream-2: #EFE7D8;
  --ink: #1F1A17;
  --mute: #8C8378;
  --line: #D9D0C0;
  --yellow: #E8C547;
  --white: #FAFAF7;
  --section-space: clamp(96px, 10vw, 140px);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 100px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif; font-size: 16px; line-height: 2; letter-spacing: .04em; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
p { max-width: 34em; margin: 0 0 1.5em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.5; letter-spacing: .06em; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.7; }
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 32px; }
.section { padding-block: var(--section-space); }
.section-heading { margin-bottom: 48px; }
.section-heading p { margin-top: 24px; }
.english, .brand, .number { font-family: "Cormorant Garamond", serif; letter-spacing: .2em; font-weight: 500; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--red); font-size: 14px; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 12px; height: 12px; flex: 0 0 12px; border: 1px solid currentColor; border-radius: 50%; }
.note { font-size: 13px; color: var(--mute); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 48px; padding: 10px 26px; border: 1px solid var(--red); border-radius: 0; background: transparent; color: var(--red); cursor: pointer; transition: color 600ms ease-out, background 600ms ease-out; }
.button:hover { background: var(--red); color: var(--cream); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; color: var(--cream); background: transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }
.brand { font-size: 30px; line-height: 1.1; }
.brand small { display: block; font-family: "Shippori Mincho", serif; font-size: 9px; letter-spacing: .12em; margin-top: 9px; }
.site-header nav { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.site-header nav > a:not(.button):hover, .footer-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-header .button { color: var(--cream); background: transparent; border-color: rgba(246,241,231,.75); padding-inline: 20px; }
.site-header .button:hover { background: var(--cream); color: var(--red); border-color: var(--cream); }
.site-header.on-light .button, .site-header.is-solid .button { color: var(--red); border-color: var(--red); }
.site-header.on-light .button:hover, .site-header.is-solid .button:hover { color: var(--cream); background: var(--red); }
.site-header.on-light { color: var(--ink); transition: color 600ms ease-out; }
.site-header.is-solid { color: var(--ink); background: var(--cream); border-bottom: 1px solid var(--line); }
.hero { height: 500vh; position: relative; background: var(--ink); }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate; }
.film { position: absolute; inset: 0; background: #0b0908; }
.shot { position: absolute; inset: 0; opacity: 0; will-change: transform, opacity; transform-origin: 50% 88%; }
.shot-img, .shot-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.shot-bg { display: none; }
.shot-1 .shot-img, .shot-2 .shot-img { object-position: center 80%; }
.dip { position: absolute; inset: 0; background: var(--white); opacity: 0; pointer-events: none; }
.grade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(31,26,23,.16), transparent 30%, transparent 72%, rgba(31,26,23,.10)); mix-blend-mode: multiply; }
.ripples { position: absolute; inset: 0; width: 100%; height: 100%; }
.ripple { fill: none; stroke: var(--red); stroke-width: 1; transform-origin: 500px 560px; transform-box: view-box; }
.curtain { position: absolute; left: 0; width: 100%; height: 50.1%; background: var(--red-deep); z-index: 4; }
.curtain-top { top: 0; }
.curtain-bottom { bottom: 0; }
.hero-copy { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 100px 20px; pointer-events: none; }
.hero-copy h1 { writing-mode: vertical-rl; color: var(--cream); font-size: clamp(28px, 4vw, 52px); letter-spacing: .25em; line-height: 1.9; }
.hero-copy .copy-line { display: block; }
.hero-copy .char { opacity: 0; }
.end-title { position: absolute; z-index: 3; top: 21%; width: 100%; padding-inline: 20px; text-align: center; color: var(--red-deep); opacity: 0; text-shadow: 0 0 24px rgba(250,250,247,.9); }
.end-title .english { font-size: clamp(56px, 8vw, 104px); line-height: 1.2; }
.end-title p { max-width: none; margin: 18px 0 0; font-size: clamp(14px, 1.6vw, 20px); }
.film-controls { position: absolute; bottom: 30px; right: 32px; z-index: 8; width: 212px; padding: 14px 18px; color: var(--cream); background: rgba(20,14,12,.42); border: 1px solid rgba(246,241,231,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background 600ms ease-out, color 600ms ease-out, border-color 600ms ease-out; }
.film-controls .button { width: 100%; min-height: 36px; padding: 0 10px; color: var(--cream); border-color: rgba(246,241,231,.7); }
.film-controls .button:hover { background: var(--cream); color: var(--red); border-color: var(--cream); }
.hero.is-light .film-controls { color: var(--ink); background: rgba(250,250,247,.66); border-color: var(--line); }
.hero.is-light .film-controls .button { color: var(--red); border-color: var(--red); }
.hero.is-light .film-controls .button:hover { color: var(--cream); background: var(--red); }
.hero.is-light .film-controls :focus-visible { outline-color: var(--red); }
.hero.is-light .progress-track { background: rgba(31,26,23,.18); }
.hero.is-light .progress-fill { background: var(--red); }
.film-controls :focus-visible { outline-color: var(--cream); }
.film-meta { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 8px; }
.progress-bars { display: flex; gap: 5px; margin-bottom: 12px; }
.progress-track { height: 2px; flex: 1; background: rgba(246,241,231,.3); }
.progress-fill { height: 100%; width: 100%; background: var(--cream); transform: scaleX(0); transform-origin: left; }
.scroll-cue { position: absolute; z-index: 7; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--cream); text-align: center; font-size: 13px; }
.scroll-cue::after { content: ""; display: block; height: 42px; width: 1px; background: currentColor; margin: 10px auto 0; }
.concept { position: relative; overflow: hidden; text-align: center; }
.concept .container { position: relative; }
.concept-ring { position: absolute; width: min(80vw, 530px); height: min(80vw, 530px); left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--line); pointer-events: none; }
.concept .eyebrow { justify-content: center; }
.concept h2 { margin-block: 20px 40px; }
.concept p { margin-inline: auto; position: relative; }
.concept .subcopy { font-size: 14px; margin-top: 38px; }
.services, .cases, .contact { background: var(--cream-2); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 64px; }
.service-item { border-top: 1px solid var(--line); padding-top: 24px; display: grid; grid-template-columns: 40px 1fr; gap: 18px; }
.number { color: var(--red); font-size: 26px; }
.service-item p { margin-top: 15px; margin-bottom: 0; }
.jobs-grid, .cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.job-card, .case-card { border: 1px solid var(--line); padding: 30px 26px; }
.job-card { display: flex; flex-direction: column; }
.job-card .english { color: var(--red); font-size: 13px; margin-bottom: 20px; }
.job-card h3 { min-height: 76px; font-size: 20px; }
.job-card dl { margin-block: 24px; }
.job-card dt { font-size: 12px; color: var(--ink); margin-top: 14px; }
.job-card dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.job-card .salary { font-size: 18px; color: var(--red); }
.job-card ul { border-top: 1px solid var(--line); margin: auto 0 0; padding: 20px 0 0; list-style: none; font-size: 14px; }
.job-card li { padding-left: 14px; position: relative; }
.job-card li::before { content: "·"; position: absolute; left: 0; color: var(--red); }
.case-card .age { font-size: 14px; }
.case-card h3 { font-size: 19px; margin-top: 20px; }
.case-card .arrow { display: block; color: var(--red); margin-block: 8px; }
.case-salary { border-block: 1px solid var(--line); padding-block: 20px; margin-top: 24px; color: var(--red); font-size: 16px; }
blockquote { margin: 24px 0 0; font-size: 15px; line-height: 2; }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.company-grid h2 { margin-bottom: 30px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 1px solid var(--line); padding-block: 24px; display: grid; grid-template-columns: 40px 1fr; gap: 18px; }
.steps h3 { font-size: 20px; }
.steps p { font-size: 15px; margin: 12px 0 0; }
.company-fee { font-size: 14px; margin-top: 28px; }
.faq { border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 24px 30px 24px 0; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; color: var(--red); }
details[open] summary::after { content: "−"; }
details p { font-size: 15px; margin-bottom: 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; }
.contact h2 { margin-bottom: 28px; }
.form-field { margin-bottom: 24px; }
label { display: block; margin-bottom: 8px; font-size: 14px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 12px; color: var(--ink); background: var(--cream); min-height: 50px; }
textarea { resize: vertical; min-height: 150px; }
.form-message { margin-top: 24px; font-size: 15px; color: var(--red-deep); }
.site-footer { padding-block: 56px; }
.footer-top { display: flex; justify-content: space-between; align-items: start; gap: 30px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; }
.site-footer .note { margin-top: 36px; margin-bottom: 0; max-width: none; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 30; background: var(--cream); padding: 10px 20px; }
.skip-link:focus { top: 16px; }
@media (max-width: 960px) {
  .site-header nav { gap: 14px; font-size: 12px; }
  .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases-grid { grid-template-columns: 1fr; }
  .case-card h3 { max-width: 34em; }
  .company-grid, .contact-grid { gap: 40px; }
  .faq-layout { grid-template-columns: 1fr; gap: 0; }
  .service-grid { gap: 32px; }
}
@media (max-width: 600px) {
  .container { padding-inline: 20px; }
  .header-inner { min-height: 78px; }
  .brand { font-size: 25px; }
  .brand small { font-size: 8px; }
  .site-header nav > a:not(.button) { display: none; }
  .site-header .button { padding: 8px 16px; min-height: 42px; }
  .hero-copy h1 { font-size: clamp(28px, 4vw, 52px); }
  .film-controls { right: 20px; bottom: 20px; width: 154px; padding: 10px 12px; }
  .scroll-cue { bottom: 20px; left: 20px; transform: none; text-align: left; }
  .scroll-cue::after { margin-left: 14px; }
  .end-title { top: 12%; }
  .end-title .english { font-size: 46px; }
  .end-title p { font-size: 13px; margin-top: 8px; }
  .shot-1 .shot-img { object-position: center 85%; }
  .shot-3 .shot-img { object-position: center 60%; }
  .shot-4 .shot-img, .shot-5 .shot-img { object-position: center 60%; }
  .jobs-grid, .service-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; }
  .job-card h3 { min-height: 0; }
  .job-card, .case-card { padding: 28px 24px; }
  .section-heading { margin-bottom: 36px; }
  .service-item { gap: 12px; }
  .footer-top { flex-direction: column; }
  .footer-nav { gap: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  #play-film, .scroll-cue { display: none; }
}
