:root {
  --paper: #f7f4eb;
  --white: #fffdf7;
  --ink: #111111;
  --muted: #5c5a54;
  --blue: #1367d7;
  --yellow: #ffd43b;
  --coral: #ff6b57;
  --line: 3px solid var(--ink);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(255, 212, 59, .12), transparent 28%),
    radial-gradient(circle at 90% 35%, rgba(19, 103, 215, .08), transparent 26%),
    var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}
body.is-menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 112px 0; }
.section--blue { color: white; background: var(--blue); border-block: var(--line); }
.section--yellow { background: var(--yellow); border-block: var(--line); }
.section--white { background: var(--white); border-block: var(--line); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { width: 34px; height: 3px; content: ""; background: currentColor; }
.heading {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.28;
  font-weight: 800;
}
.lead { max-width: 700px; margin: 24px 0 0; font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: 70px; align-items: end; margin-bottom: 58px; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 76px;
  background: rgba(247, 244, 235, .96);
  border-bottom: var(--line);
  backdrop-filter: blur(12px);
}
.site-header__inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 900; line-height: 1.1; }
.brand__mark { display: grid; width: 42px; aspect-ratio: 1; place-items: center; background: var(--yellow); border: 2px solid var(--ink); transform: rotate(-3deg); }
.brand__mark span { font-size: 21px; transform: rotate(3deg); }
.brand__text { font-size: 17px; }
.brand__text small { display: block; margin-top: 5px; font-size: 9px; letter-spacing: .14em; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 800; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.entry-link { padding: 11px 18px; background: var(--coral); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.menu-button { display: none; width: 48px; height: 48px; padding: 0; background: var(--yellow); border: 2px solid var(--ink); }
.menu-button span, .menu-button::before, .menu-button::after { display: block; width: 23px; height: 3px; margin: 5px auto; content: ""; background: var(--ink); transition: .2s; }
.mobile-nav { display: none; }

.hero { min-height: calc(100svh - 76px); overflow: hidden; border-bottom: var(--line); }
.hero__grid { min-height: calc(100svh - 76px); display: grid; grid-template-columns: 1fr 1fr; }
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 68px 48px 68px max(36px, calc((100vw - var(--max)) / 2)); background: var(--paper); }
.hero__copy::after { position: absolute; right: -36px; top: 0; width: 74px; height: 100%; content: ""; background: var(--paper); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.demo-badge { display: inline-block; align-self: flex-start; margin-bottom: 30px; padding: 9px 14px; color: white; background: var(--ink); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.hero h1 { margin: 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(45px, 5.2vw, 72px); line-height: 1.12; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 em { display: inline; color: var(--blue); font-style: normal; background: linear-gradient(transparent 74%, var(--yellow) 0); }
.hero__copy p { max-width: 530px; margin: 30px 0 0; font-size: clamp(16px, 1.5vw, 20px); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 13px 24px; color: white; background: var(--ink); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--blue); text-decoration: none; font-weight: 900; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--blue); }
.btn--yellow { color: var(--ink); background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); }
.btn--white { color: var(--ink); background: white; box-shadow: 5px 5px 0 var(--ink); }
.btn--coral { color: var(--ink); background: var(--coral); box-shadow: 5px 5px 0 var(--ink); }
.hero__art { position: relative; min-width: 0; background: var(--blue); }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__art-label { position: absolute; right: 22px; bottom: 22px; padding: 10px 13px; color: white; background: var(--ink); border: 2px solid white; font-size: 11px; font-weight: 900; letter-spacing: .12em; }

.manifesto { text-align: center; }
.manifesto__label { display: inline-block; padding: 8px 18px; background: var(--coral); border: 2px solid var(--ink); font-weight: 900; transform: rotate(-2deg); }
.manifesto h2 { max-width: 980px; margin: 35px auto 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(37px, 5.4vw, 74px); line-height: 1.36; }
.manifesto h2 mark { color: inherit; background: linear-gradient(transparent 65%, var(--yellow) 0); }
.manifesto p { max-width: 740px; margin: 34px auto 0; font-size: 18px; font-weight: 600; }

.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.person-card { position: relative; min-width: 0; background: var(--white); border: var(--line); box-shadow: 9px 9px 0 var(--ink); }
.person-card:nth-child(2) { transform: translateY(24px); }
.person-card__visual { position: relative; aspect-ratio: .84; overflow: hidden; border-bottom: var(--line); background: var(--paper); }
.person-card__visual img { width: 300%; max-width: none; height: 100%; object-fit: cover; }
.person-card--sota .person-card__visual img { transform: translateX(0); }
.person-card--aya .person-card__visual img { transform: translateX(-33.3333%); }
.person-card--mio .person-card__visual img { transform: translateX(-66.6666%); }
.person-card__number { position: absolute; top: 14px; left: 14px; display: grid; width: 52px; aspect-ratio: 1; place-items: center; background: var(--yellow); border: 2px solid var(--ink); font-size: 21px; font-weight: 900; }
.person-card__body { padding: 25px; }
.person-card__role { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.person-card h3 { margin: 8px 0 0; font-size: 30px; line-height: 1.25; }
.person-card__hook { min-height: 74px; margin: 15px 0 22px; font-weight: 700; }
.person-card__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; text-decoration: none; border-bottom: 3px solid var(--coral); }
.person-card__link::after { content: "→"; font-size: 20px; }

.team-strip { overflow: hidden; background: var(--ink); border-block: 3px solid var(--ink); }
.team-strip__track { display: flex; width: max-content; gap: 48px; padding: 14px 0; color: white; font-size: 18px; font-weight: 900; letter-spacing: .06em; animation: marquee 24s linear infinite; }
.team-strip__track span:nth-child(3n+1) { color: var(--yellow); }
.team-strip__track span:nth-child(3n+2) { color: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

.work-flow { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--line); background: var(--white); }
.work-flow article { position: relative; padding: 32px 26px 36px; border-right: 2px solid var(--ink); }
.work-flow article:last-child { border-right: 0; }
.work-flow article::after { position: absolute; z-index: 2; right: -16px; top: 52px; display: grid; width: 30px; aspect-ratio: 1; place-items: center; content: "→"; background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; font-weight: 900; }
.work-flow article:last-child::after { display: none; }
.work-flow b { display: block; color: var(--blue); font-size: 12px; letter-spacing: .1em; }
.work-flow h3 { margin: 10px 0 8px; font-size: 24px; }
.work-flow p { margin: 0; font-size: 14px; }

.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: white; border: var(--line); }
.job-grid article { min-height: 330px; padding: 35px; border-right: 2px solid var(--ink); }
.job-grid article:last-child { border-right: 0; }
.job-grid span { display: inline-block; padding: 6px 10px; background: var(--yellow); border: 2px solid var(--ink); font-size: 11px; font-weight: 900; }
.job-grid h3 { margin: 24px 0 12px; font-size: 30px; line-height: 1.3; }
.job-grid p { color: var(--muted); }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.numbers article { min-height: 190px; padding: 24px; color: var(--ink); background: var(--white); border: 2px solid var(--ink); }
.numbers strong { display: block; font-family: Georgia, serif; font-size: clamp(45px, 5vw, 72px); line-height: 1; }
.numbers strong em { color: var(--coral); font-size: .44em; font-style: normal; }
.numbers p { margin: 18px 0 0; font-weight: 800; }

.recruit-table { width: 100%; border-collapse: collapse; background: white; border: var(--line); }
.recruit-table th, .recruit-table td { padding: 24px 28px; border-bottom: 2px solid var(--ink); vertical-align: top; text-align: left; }
.recruit-table tr:last-child th, .recruit-table tr:last-child td { border-bottom: 0; }
.recruit-table th { width: 190px; background: rgba(255, 212, 59, .48); }

.faq-list { border-top: var(--line); }
.faq-item { border-bottom: var(--line); }
.faq-q { width: 100%; display: grid; grid-template-columns: 50px 1fr 36px; align-items: center; gap: 18px; padding: 25px 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; font-weight: 900; }
.faq-q b { display: grid; width: 46px; aspect-ratio: 1; place-items: center; color: white; background: var(--blue); border: 2px solid var(--ink); }
.faq-q span:last-child { font-size: 26px; transition: transform .2s; }
.faq-q[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 56px 26px 68px; }
.faq-q[aria-expanded="true"] + .faq-a { display: block; }

.entry { position: relative; overflow: hidden; text-align: center; background: var(--yellow); border-top: var(--line); }
.entry::before, .entry::after { position: absolute; width: 220px; aspect-ratio: 1; content: ""; border: 30px solid var(--coral); border-radius: 50%; opacity: .34; }
.entry::before { top: -130px; left: -100px; }
.entry::after { right: -90px; bottom: -120px; border-color: var(--blue); }
.entry .wrap { position: relative; z-index: 1; }
.entry h2 { margin: 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(42px, 6vw, 80px); line-height: 1.2; }
.entry p { max-width: 680px; margin: 25px auto 32px; font-weight: 700; }

.site-footer { padding: 42px 0; color: white; background: var(--ink); }
.site-footer__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.site-footer p { margin: 0; color: #cfcfcf; font-size: 12px; }

/* Person detail */
.person-hero { border-bottom: var(--line); }
.person-hero__grid { display: grid; grid-template-columns: .82fr 1.18fr; min-height: 610px; }
.person-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 70px max(36px, calc((100vw - var(--max)) / 2)); padding-right: 55px; }
.person-hero__copy h1 { margin: 0; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(52px, 7vw, 96px); line-height: 1; }
.person-hero__copy h1 small { display: block; margin-bottom: 16px; color: var(--blue); font-family: inherit; font-size: 16px; }
.person-hero__copy blockquote { margin: 34px 0 0; padding-left: 20px; border-left: 8px solid var(--yellow); font-size: clamp(20px, 2vw, 28px); font-weight: 900; line-height: 1.6; }
.person-hero__portrait { position: relative; overflow: hidden; background: var(--white); border-left: var(--line); }
.person-hero__portrait img { width: 300%; max-width: none; height: 100%; object-fit: cover; }
.person-hero--sota .person-hero__portrait img { transform: translateX(0); }
.person-hero--aya .person-hero__portrait img { transform: translateX(-33.3333%); }
.person-hero--mio .person-hero__portrait img { transform: translateX(-66.6666%); }
.person-intro { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.profile-facts { margin: 0; padding: 28px; background: var(--white); border: var(--line); box-shadow: 8px 8px 0 var(--ink); }
.profile-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid #aaa; }
.profile-facts div:last-child { border-bottom: 0; }
.profile-facts dt { font-weight: 900; }
.profile-facts dd { margin: 0; }
.story-copy h2 { margin: 0 0 22px; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(34px, 4vw, 58px); line-height: 1.35; }
.story-copy p { font-size: 17px; }
.comic-stage { position: relative; padding: 60px 0; background: var(--blue); border-block: var(--line); }
.comic-stage::before { position: absolute; inset: 0; content: ""; opacity: .16; background-image: radial-gradient(var(--ink) 1px, transparent 1px); background-size: 9px 9px; }
.comic-stage__inner { position: relative; display: grid; grid-template-columns: .56fr 1fr; gap: 70px; align-items: start; }
.comic-stage__copy { position: sticky; top: 110px; color: white; }
.comic-stage__copy .heading { font-size: clamp(36px, 4.4vw, 62px); }
.comic-stage__copy p { font-weight: 700; }
.comic-page { background: white; border: var(--line); box-shadow: 14px 14px 0 var(--ink); }
.comic-page img { width: 100%; }
.qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.qa-grid article { padding: 30px; background: var(--white); border-top: 8px solid var(--coral); }
.qa-grid b { color: var(--blue); font-size: 13px; letter-spacing: .08em; }
.qa-grid h3 { margin: 9px 0 12px; font-size: 23px; }
.qa-grid p { margin: 0; }
.day-flow { display: grid; grid-template-columns: repeat(5, 1fr); border: var(--line); background: white; }
.day-flow article { padding: 28px 22px; border-right: 2px solid var(--ink); }
.day-flow article:last-child { border-right: 0; }
.day-flow time { color: var(--blue); font-weight: 900; }
.day-flow h3 { margin: 8px 0 0; font-size: 18px; }
.person-pager { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--line); }
.person-pager a { padding: 24px; background: white; border-right: 2px solid var(--ink); text-decoration: none; font-weight: 900; }
.person-pager a:last-child { border-right: 0; }
.person-pager small { display: block; color: var(--blue); }

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

@media (max-width: 900px) {
  .wrap { width: min(calc(100% - 30px), var(--max)); }
  .section { padding: 78px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .site-nav { display: none; }
  .menu-button { display: block; }
  .mobile-nav { position: fixed; z-index: 29; inset: 76px 0 0; display: grid; align-content: start; gap: 0; padding: 30px 20px; background: var(--yellow); transform: translateX(100%); transition: transform .25s; }
  .is-menu-open .mobile-nav { transform: translateX(0); }
  .mobile-nav a { padding: 18px 8px; border-bottom: 2px solid var(--ink); text-decoration: none; font-size: 20px; font-weight: 900; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding: 64px 28px 52px; }
  .hero__copy::after { display: none; }
  .hero__art { min-height: 480px; border-top: var(--line); }
  .people-grid { grid-template-columns: 1fr; gap: 34px; }
  .person-card:nth-child(2) { transform: none; }
  .person-card__visual { aspect-ratio: .95; }
  .work-flow { grid-template-columns: repeat(2, 1fr); }
  .work-flow article:nth-child(2) { border-right: 0; }
  .work-flow article:nth-child(-n+2) { border-bottom: 2px solid var(--ink); }
  .work-flow article:nth-child(2)::after { display: none; }
  .job-grid { grid-template-columns: 1fr; }
  .job-grid article { min-height: 0; border-right: 0; border-bottom: 2px solid var(--ink); }
  .job-grid article:last-child { border-bottom: 0; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .person-hero__grid { grid-template-columns: 1fr; }
  .person-hero__copy { padding: 60px 28px; }
  .person-hero__portrait { min-height: 580px; border-left: 0; border-top: var(--line); }
  .person-intro, .comic-stage__inner { grid-template-columns: 1fr; gap: 45px; }
  .comic-stage__copy { position: static; }
  .day-flow { grid-template-columns: repeat(2, 1fr); }
  .day-flow article { border-bottom: 2px solid var(--ink); }
  .person-pager { grid-template-columns: 1fr; }
  .person-pager a { border-right: 0; border-bottom: 2px solid var(--ink); }
  .person-pager a:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .site-header, .site-header__inner { min-height: 66px; }
  .brand__mark { width: 38px; }
  .brand__text { font-size: 14px; }
  .mobile-nav { top: 66px; }
  .hero { min-height: auto; }
  .hero__grid { min-height: 0; }
  .hero__copy { padding: 52px 20px 42px; }
  .hero h1 { font-size: clamp(42px, 11.2vw, 50px); }
  .hero__copy p { margin-top: 22px; font-size: 15px; }
  .hero__actions .btn { width: 100%; }
  .hero__art { min-height: 330px; }
  .hero__art img { object-position: 52% center; }
  .manifesto h2 { font-size: 38px; }
  .person-card__visual { aspect-ratio: .84; }
  .work-flow { grid-template-columns: 1fr; }
  .work-flow article { border-right: 0; border-bottom: 2px solid var(--ink); }
  .work-flow article:last-child { border-bottom: 0; }
  .work-flow article::after { display: none; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 10px; }
  .numbers article { min-height: 155px; padding: 18px; }
  .numbers strong { font-size: 43px; }
  .recruit-table, .recruit-table tbody, .recruit-table tr, .recruit-table th, .recruit-table td { display: block; width: 100%; }
  .recruit-table th { padding-bottom: 8px; border-bottom: 0; }
  .recruit-table td { padding-top: 8px; }
  .faq-q { grid-template-columns: 42px 1fr 28px; gap: 12px; }
  .faq-q b { width: 40px; }
  .faq-a { padding-left: 54px; padding-right: 8px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
  .person-hero__portrait { min-height: 430px; }
  .person-intro { gap: 34px; }
  .comic-stage { padding: 46px 0; }
  .comic-page { box-shadow: 8px 8px 0 var(--ink); }
  .qa-grid { grid-template-columns: 1fr; }
  .day-flow { grid-template-columns: 1fr; }
  .day-flow article { border-right: 0; }
}
