/*
Theme Name: HOS Saikoro
Description: サイコロプロダクション専用テーマ。既存URL・投稿・問い合わせフォームを継承します。
Version: 1.0.0
Author: 株式会社HOS
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: hos-saikoro
*/
:root {
  --navy: #011a37;
  --navy-2: #022c49;
  --teal: #0b6873;
  --teal-light: #dcecee;
  --gold: #b8914f;
  --gold-light: #e5d5b5;
  --paper: #f7f6f4;
  --paper-2: #f1eee8;
  --white: #ffffff;
  --ink: #162637;
  --muted: #65717d;
  --line: #ded7ca;
  --shadow: 0 18px 48px rgba(1, 26, 55, 0.08);
  --radius: 16px;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --latin: Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body { overflow-x: hidden; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  line-break: strict;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

body, button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 {
  font-feature-settings: "palt";
  line-break: strict;
  overflow-wrap: break-word;
  text-wrap: balance;
  word-break: normal;
}
p { text-wrap: pretty; }
p, small, dt, dd {
  line-break: strict;
  overflow-wrap: break-word;
  word-break: normal;
}

@supports (word-break: auto-phrase) {
  h1, h2, h3, p, small, dt, dd { word-break: auto-phrase; }
}

.no-break { white-space: nowrap; }

.test-banner > span,
.service-card > p:not(.service-card__eyebrow),
.concept-work__body p,
.publication-note p:last-child,
.info-card > p:not(.section-title__en),
.contact p,
.contact__action span { text-wrap: balance; }

.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }

.test-banner {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 5px 24px;
  color: #f7f6f4;
  background: var(--navy);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.test-banner__label {
  padding: 1px 7px;
  border: 1px solid rgba(255,255,255,.55);
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 76px;
  border-bottom: 1px solid rgba(1,26,55,.08);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}
.site-header__inner { display: flex; height: 100%; align-items: center; gap: 24px; }
.brand { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand__image { width: 250px; height: auto; }
.brand__fallback { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.primary-nav { margin-left: auto; }
.primary-nav__head { display: none; }
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav__list a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav__list a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}
.primary-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
.primary-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav__mobile-cta { display: none; }
.menu-toggle { display: none; }
.menu-backdrop { display: none; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button:not(:disabled):hover { transform: translateY(-2px); }
.button--primary { color: var(--white); background: var(--navy); box-shadow: 0 8px 18px rgba(1,26,55,.16); }
.button--primary:hover { background: var(--navy-2); }
.button--ghost { color: var(--navy); border-color: rgba(1,26,55,.34); background: rgba(255,255,255,.68); }
.button--light { color: var(--navy); background: var(--white); }
.button--large { min-height: 56px; padding-inline: 32px; }
.button:disabled { cursor: not-allowed; opacity: .72; }
.site-header__cta { min-height: 44px; padding: 9px 17px; white-space: nowrap; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 660px;
  overflow: hidden;
  background-color: var(--paper);
  background-image: url("assets/anime-v7/hero-anime-v7.webp");
  background-position: center;
  background-size: cover;
}
.hero__media { display: none; position: absolute; z-index: 0; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (min-width: 1024px) {
  .hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, rgba(247,246,244,.96) 0%, rgba(247,246,244,.96) 46%, rgba(247,246,244,0) 56%);
  }
}
.hero__inner { position: relative; z-index: 1; display: flex; min-height: 660px; align-items: center; }
.hero__content { width: min(560px, 52%); padding: 64px 0 76px; }
.hero__kicker {
  margin-bottom: 18px;
  color: var(--teal);
  font-family: var(--latin);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
}
.hero__kicker span { margin-right: 7px; color: var(--gold); }
.hero h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(46px, 4.1vw, 56px);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.4;
}
.hero__lead { max-width: 490px; margin-bottom: 28px; color: #294155; font-size: 16px; font-weight: 500; line-height: 1.9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin: 20px 0 0; color: var(--muted); font-size: 12.5px; }

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 68px 0 76px;
  background: var(--paper);
}
.page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("assets/v3/bg-paper-map.webp");
  background-position: center;
  background-size: cover;
  content: "";
  opacity: .26;
}
.page-hero__inner { min-width: 0; }
.breadcrumb { margin-bottom: 34px; }
.breadcrumb ol { display: flex; min-width: 0; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; color: #4d5e6d; font-size: 12.5px; list-style: none; }
.breadcrumb li { display: flex; min-width: 0; align-items: baseline; }
.breadcrumb li + li::before { flex: 0 0 auto; margin-right: 8px; color: #80612f; content: "/"; }
.breadcrumb a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: var(--teal); font-weight: 600; text-underline-offset: 3px; }
.page-hero__eyebrow { margin-bottom: 7px; color: var(--teal); font-family: var(--latin); font-size: 12.5px; font-weight: 700; letter-spacing: .2em; }
.page-hero h1 { max-width: 960px; margin-bottom: 18px; color: var(--navy); font-family: var(--serif); font-size: clamp(36px, 4.5vw, 56px); font-weight: 900; letter-spacing: .02em; line-height: 1.4; }
.page-hero__lead { max-width: 820px; margin: 0; color: #294155; font-size: 16px; font-weight: 500; line-height: 1.9; }

.page-concept-visual { position: relative; max-width: 920px; margin: 0 auto 48px; overflow: hidden; border: 8px solid var(--white); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.page-concept-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.page-concept-visual figcaption { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; color: var(--white); background: rgba(1,26,55,.88); font-family: var(--latin); font-size: 9px; font-weight: 700; letter-spacing: .08em; }

.review-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 52px; align-items: center; padding: 42px 46px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 28px rgba(1,26,55,.06); }
.review-panel > * { min-width: 0; }
.review-panel h2 { margin-bottom: 14px; color: var(--navy); font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.5; }
.review-panel > div > p:not(.section-title__en) { margin-bottom: 16px; color: var(--muted); font-size: 15px; }
.review-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.review-list li { position: relative; padding: 16px 8px 16px 32px; border-bottom: 1px solid var(--line); color: #344758; font-size: 14px; font-weight: 600; }
.review-list li::before { position: absolute; top: 18px; left: 8px; color: var(--teal); content: "◆"; font-size: 10px; }
.review-panel__aside { padding: 26px 28px; border: 1px solid var(--gold-light); background: var(--paper); }
.review-panel__aside h3 { margin-bottom: 8px; color: var(--navy); font-family: var(--serif); font-size: 20px; }
.review-panel__aside .button { margin-top: 2px; }

.page-actions { display: flex; justify-content: center; margin-top: 40px; }
.empty-state { max-width: 800px; margin-inline: auto; padding: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-align: center; }
.empty-state h2 { margin-bottom: 12px; color: var(--navy); font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); }
.empty-state > p:not(.section-title__en) { max-width: 620px; margin: 0 auto 20px; color: var(--muted); font-size: 14px; }
.rights-note { max-width: 780px; margin: 24px auto 0; color: #d8e2e9; font-size: 12.5px; text-align: center; }
.verification-note { display: inline-block; margin-top: 8px; padding: 7px 10px; border: 1px solid #c8d7d9; color: var(--teal) !important; background: #f3f8f8; font-size: 12.5px !important; font-weight: 600; }
.related-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact--page { padding: 88px 0; }
.site-footer a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

.feature-band { position: relative; z-index: 2; margin-top: -28px; }
.feature-band__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.feature-band__grid::before {
  position: absolute;
  inset: 0;
  background-image: url("assets/v3/bg-gold-dice-pattern.webp");
  background-position: center;
  background-size: 560px auto;
  content: "";
  opacity: .08;
  pointer-events: none;
}
.feature-band__grid > div {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  padding: 20px 24px;
  border-right: 1px solid var(--gold-light);
}
.feature-band__grid > div:last-child { border-right: 0; }
.feature-band__icon { color: var(--teal); font-size: 26px; text-align: center; }
.feature-band strong { color: var(--navy); font-family: var(--serif); font-size: 16px; }
.feature-band small { color: var(--muted); font-size: 13px; }

.section { padding: 96px 0; }
.section--paper { background: var(--paper); }
.section--navy {
  color: var(--white);
  background-color: var(--navy);
  background-image: url("assets/v3/bg-navy-stars.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: soft-light;
}
#services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
}
#services::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("assets/v3/bg-paper-map.webp");
  background-position: center;
  background-size: cover;
  content: "";
  opacity: .28;
}
.section-title { max-width: 750px; margin: 0 auto 46px; text-align: center; }
.section-title__en {
  margin-bottom: 4px;
  color: var(--teal);
  font-family: var(--latin);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2em;
}
.section-title h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.4;
}
.section-title h2 > span { min-width: 0; }
.section-title h2::before, .section-title h2::after { width: 66px; height: 1px; background: var(--gold); content: ""; }
.section-title > p:last-child { margin: 0; color: var(--muted); font-size: 16px; }
.section-title--light .section-title__en { color: #91d2d6; }
.section-title--light h2 { color: var(--white); }
.section-title--light > p:last-child { color: #c8d4df; }
.section-title--compact { margin-bottom: 38px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  position: relative;
  min-height: 520px;
  padding: 12px 16px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(1,26,55,.06);
}
.service-card::before { position: absolute; inset: 7px; border: 1px solid rgba(184,145,79,.23); border-radius: 4px; content: ""; pointer-events: none; }
.service-card__number { position: absolute; top: 16px; right: 18px; color: #765d35; font-family: var(--latin); font-size: 12.5px; }
.service-card__visual {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 12px 12px 4px 4px;
  background: var(--paper-2);
}
.service-card__visual img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .24s cubic-bezier(.2,.7,.3,1); }
.service-card:hover .service-card__visual img { transform: scale(1.025); }
.service-card__visual figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  color: var(--white);
  background: rgba(1,26,55,.84);
  font-family: var(--latin);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
}
.service-card__icon { position: relative; display: block; width: 58px; height: 58px; margin: 0 auto 18px; color: var(--teal); }
.service-card__icon::before, .service-card__icon::after { position: absolute; content: ""; }
.service-card__icon--pen::before { top: 8px; left: 26px; width: 8px; height: 42px; border: 2px solid currentColor; border-radius: 6px 6px 1px 1px; transform: rotate(35deg); }
.service-card__icon--pen::after { right: 5px; bottom: 6px; width: 34px; height: 22px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.service-card__icon--world { border: 2px solid currentColor; border-radius: 50%; }
.service-card__icon--world::before { inset: 10px 22px; border-right: 2px solid currentColor; border-left: 2px solid currentColor; border-radius: 50%; }
.service-card__icon--world::after { top: 27px; left: 3px; width: 48px; border-top: 2px solid var(--gold); }
.service-card__icon--character::before { top: 6px; left: 18px; width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 50%; }
.service-card__icon--character::after { bottom: 6px; left: 9px; width: 38px; height: 24px; border: 2px solid var(--gold); border-bottom: 0; border-radius: 24px 24px 0 0; }
.service-card__icon--story::before { inset: 5px 7px 9px; border: 2px solid currentColor; border-radius: 2px; transform: rotate(4deg); }
.service-card__icon--story::after { top: 17px; left: 17px; width: 25px; height: 18px; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.service-card__eyebrow { margin-bottom: 6px; color: var(--teal); font-family: var(--latin); font-size: 12.5px; font-weight: 700; letter-spacing: .13em; text-align: center; }
.service-card h3 { margin-bottom: 14px; color: var(--navy); font-family: var(--serif); font-size: 21px; text-align: center; }
.service-card > p:not(.service-card__eyebrow) { margin-bottom: 18px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.status-chip { display: inline-flex; padding: 4px 9px; border: 1px solid #c8d7d9; color: var(--teal); background: #f3f8f8; font-size: 12.5px; font-weight: 600; }

.craft-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr); gap: 20px; align-items: stretch; }
.craft-visual { position: relative; margin: 0; overflow: hidden; border: 8px solid var(--white); box-shadow: var(--shadow); }
.craft-visual picture, .craft-visual img { width: 100%; height: 100%; }
.craft-visual img { min-height: 480px; object-fit: cover; }
.craft-visual figcaption { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; color: var(--white); background: var(--navy); font-family: var(--latin); font-size: 9px; letter-spacing: .08em; }
.craft-cards { display: grid; gap: 12px; }
.craft-cards article { position: relative; display: flex; min-height: 145px; flex-direction: column; justify-content: center; padding: 24px 24px 24px 78px; border: 1px solid var(--line); background: var(--white); }
.craft-cards span { position: absolute; left: 22px; color: var(--gold); font-family: var(--serif); font-size: 30px; }
.craft-cards h3 { margin: 0 0 5px; color: var(--navy); font-family: var(--serif); font-size: 18px; }
.craft-cards p { margin: 0; color: var(--muted); font-size: 14px; }
.publication-note { display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: center; margin-top: 28px; padding: 26px 30px; border: 1px solid var(--gold-light); background: var(--white); }
.publication-note__mark { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 24px; }
.publication-note__label { margin-bottom: 3px; color: var(--teal); font-family: var(--latin); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; }
.publication-note h3 { margin-bottom: 5px; color: var(--navy); font-family: var(--serif); font-size: 20px; }
.publication-note p:last-child { margin: 0; color: var(--muted); font-size: 14px; }

.concept-work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.concept-work {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(1,26,55,.06);
}
.concept-work figure { position: relative; margin: 0; overflow: hidden; }
.concept-work figure::after { position: absolute; right: 16px; bottom: -1px; left: 16px; height: 3px; background: var(--gold); content: ""; }
.concept-work img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .24s cubic-bezier(.2,.7,.3,1); }
.concept-work:hover img { transform: scale(1.025); }
.concept-work figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 8px;
  color: var(--white);
  background: rgba(1,26,55,.88);
  font-family: var(--latin);
  font-size: 8px;
  letter-spacing: .07em;
}
.concept-work__body { padding: 24px; }
.concept-work__body > span { display: block; margin-bottom: 8px; color: var(--teal); font-family: var(--latin); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; }
.concept-work__body h3 { margin-bottom: 8px; color: var(--navy); font-family: var(--serif); font-size: 21px; }
.concept-work__body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

.creator-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.creator-slot { padding: 8px 8px 24px; overflow: hidden; border: 1px solid rgba(229,213,181,.55); border-radius: var(--radius); color: var(--ink); background: var(--white); text-align: center; box-shadow: 0 12px 28px rgba(0,10,25,.13); }
.creator-slot__visual { position: relative; display: block; margin: 0 0 16px; overflow: hidden; border-radius: 12px 12px 2px 2px; background: #e9edf0; }
.creator-slot__visual img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.creator-slot__visual figcaption { position: absolute; right: 8px; bottom: 8px; left: 8px; padding: 4px 8px; color: var(--white); background: rgba(1,26,55,.86); font-family: var(--latin); font-size: 9px; line-height: 1.4; letter-spacing: .04em; }
.creator-slot p { margin-bottom: 6px; color: var(--teal); font-family: var(--latin); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; }
.creator-slot h3 { margin-bottom: 6px; color: var(--navy); font-family: var(--serif); font-size: 17px; }
.creator-slot small { display: block; color: var(--muted); font-size: 14px; }
.creator-grid--members { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.member-card { display: block; color: var(--ink); text-decoration: none; transition: transform .16s cubic-bezier(.2,.7,.3,1), box-shadow .16s cubic-bezier(.2,.7,.3,1); }
.member-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,10,25,.18); }
.member-card__action { display: block; margin-top: 10px; color: var(--teal); font-size: 14px; font-weight: 700; }

.member-profile { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.member-profile__visual { margin: 0; overflow: hidden; border: 8px solid var(--white); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.member-profile__visual img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.member-profile__summary h2 { margin-bottom: 10px; color: var(--navy); font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); }
.member-profile__reading { margin-bottom: 24px; color: var(--teal); font-size: 14px; font-weight: 700; }
.member-profile__summary .review-list { border-top-color: var(--gold-light); }
.career-groups { display: grid; gap: 24px; }
.career-group { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 28px rgba(1,26,55,.05); }
.career-group h2 { margin-bottom: 20px; color: var(--navy); font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); }
.career-group h3 { margin: 24px 0 10px; color: var(--teal); font-size: 16px; }
.career-group h3:first-of-type { margin-top: 0; }
.career-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.career-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); color: #344758; font-size: 14px; }
.career-list strong { color: var(--ink); font-weight: 700; text-wrap: pretty; word-break: auto-phrase; }
.career-list > li > span { color: var(--muted); white-space: nowrap; }
.requirements-list { margin: 0; padding-left: 1.5em; }
.requirements-list li { padding: 10px 0 10px 8px; color: #344758; font-size: 14px; }

.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strength-grid article { position: relative; min-height: 380px; padding: 8px 16px 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 28px rgba(1,26,55,.06); text-align: center; }
.strength-grid article img { width: 100%; margin-bottom: 16px; aspect-ratio: 1; border-radius: 12px 12px 2px 2px; object-fit: cover; }
.strength-grid span { display: block; margin-bottom: 12px; color: #80612f; font-family: var(--serif); font-size: 24px; }
.strength-grid h3 { margin-bottom: 8px; color: var(--navy); font-family: var(--serif); font-size: 17px; }
.strength-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.flow-scroll-note { display: none; }
.flow-visual { margin: 0; overflow: hidden; border: 8px solid var(--white); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.flow-scroll { overflow: hidden; }
.flow-scroll:focus-visible { outline-offset: -3px; }
.flow-stage { position: relative; width: 100%; }
.flow-visual__image { width: 100%; aspect-ratio: 1600 / 727; object-fit: cover; }
.flow-list {
  position: absolute;
  z-index: 1;
  inset: 60.9% 0 8.5%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow-list li { position: absolute; inset-block: 0; display: flex; width: 10%; min-width: 0; flex-direction: column; align-items: center; justify-content: center; padding: 8px 0; text-align: center; transform: translateX(-50%); }
.flow-list li:nth-child(1) { left: 12.22%; }
.flow-list li:nth-child(2) { left: 26.56%; }
.flow-list li:nth-child(3) { left: 41.75%; }
.flow-list li:nth-child(4) { left: 57.81%; }
.flow-list li:nth-child(5) { left: 73.53%; }
.flow-list li:nth-child(6) { left: 88.53%; }
.flow-list > li > span { display: block; margin-bottom: 6px; color: #80612f; font-family: var(--latin); font-size: clamp(10px, .9vw, 13px); font-weight: 700; line-height: 1; }
.flow-list h3 { margin: 0 0 6px; color: var(--navy); font-family: var(--serif); font-size: clamp(12.5px, 1.15vw, 16px); line-height: 1.45; overflow-wrap: normal; white-space: nowrap; word-break: keep-all; }
.flow-list p { margin: 0; color: #344758; font-size: 12.5px; line-height: 1.55; }
.flow-list p > span { display: block; white-space: nowrap; }
.flow-visual > figcaption { display: flex; width: 100%; flex-wrap: wrap; justify-content: flex-end; gap: 0 8px; padding: 8px 4px 0; color: #344758; background: var(--white); font-family: var(--latin); font-size: 11px; line-height: 1.6; letter-spacing: .04em; text-align: right; }
.flow-visual > figcaption span { white-space: nowrap; }

.info-section { padding-top: 0; }
.info-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.info-card { padding: 36px 38px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 28px rgba(1,26,55,.05); }
.info-card h2 { margin-bottom: 14px; color: var(--navy); font-family: var(--serif); font-size: 30px; }
.info-card > p:not(.section-title__en) { color: var(--muted); font-size: 15px; }
.news-list { margin: 0 0 14px; padding: 0; list-style: none; }
.news-list li { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 4px 0; border-top: 1px solid var(--line); font-size: 14px; }
.news-list li:last-child { border-bottom: 1px solid var(--line); }
.news-list time { display: inline-flex; min-height: 44px; align-items: center; color: var(--teal); font-family: var(--latin); font-size: 12.5px; font-weight: 600; }
.news-list a { display: inline-flex; min-height: 44px; align-items: center; }
.info-card small { color: var(--muted); font-size: 12.5px; }

.company-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: start; }
.company-grid h2 { margin-bottom: 14px; color: var(--navy); font-family: var(--serif); font-size: 38px; }
.company-grid > div > p:last-child { color: var(--muted); font-size: 14px; }
.company-list { margin: 0; border-top: 2px solid var(--navy); }
.company-list > div { display: grid; grid-template-columns: 150px 1fr; padding: 17px 8px; border-bottom: 1px solid var(--line); }
.company-list dt { color: var(--teal); font-size: 14px; font-weight: 700; }
.company-list dd { margin: 0; color: #344758; font-size: 14px; }
.company-list a { display: inline-flex; min-height: 44px; align-items: center; }

.contact { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0; color: var(--white); background-color: var(--navy); background-image: url("assets/anime-v6/cta-bg-gate-v6.webp"); background-position: center; background-size: cover; }
.contact::before { position: absolute; z-index: -1; inset: 0; background: rgba(1,26,55,.76); content: ""; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.contact__eyebrow { margin-bottom: 6px; color: #d5ebed; font-family: var(--latin); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; }
.contact h2 { margin-bottom: 12px; font-family: var(--serif); font-size: 36px; line-height: 1.5; }
.contact p { margin-bottom: 0; color: #e3f0f1; font-size: 15px; }
.contact__action { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.contact__action strong { font-family: var(--serif); font-size: 18px; }
.contact__action span { margin-bottom: 14px; color: #d8e9eb; font-size: 14px; }

.site-footer { padding: 54px 0 22px; color: #d8e0e7; background: var(--navy); }
.site-footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 56px; align-items: start; }
.site-footer img { width: 240px; height: auto; margin-bottom: 13px; filter: brightness(0) invert(1); }
.site-footer p { margin-bottom: 7px; font-size: 14px; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.site-footer nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; text-decoration: none; }
.site-footer nav a:hover { color: var(--white); text-decoration: underline; }
.site-footer__bottom { display: flex; justify-content: space-between; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.site-footer__bottom p, .site-footer__bottom a { margin: 0; color: #9cafbd; font-family: var(--latin); font-size: 12.5px; text-decoration: none; }
.site-footer__bottom a { display: inline-flex; min-height: 44px; align-items: center; }

.primary-nav :focus-visible,
.section--navy :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--white);
}

@media (max-width: 1160px) {
  .primary-nav__list { gap: 13px; }
  .primary-nav__list a { font-size: 12.5px; }
  .brand__image { width: 215px; }
  .site-header__inner { gap: 16px; }
}

@media (max-width: 1023px) {
  html.menu-open, html.menu-open body { overflow: hidden; }
  .site-header { height: 68px; backdrop-filter: none; }
  .brand__image { width: 220px; }
  .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; min-height: 44px; margin-left: auto; align-items: center; justify-content: flex-end; gap: 8px; padding: 10px 8px; border: 0; color: var(--navy); background: transparent; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
  .menu-toggle__icon { display: grid; width: 24px; gap: 5px; }
  .menu-toggle__icon span { display: block; height: 2px; background: currentColor; }
  .primary-nav { position: fixed; z-index: 110; top: 0; right: 0; bottom: 0; width: min(420px, 88vw); margin: 0; padding: 28px; color: var(--white); background: var(--navy); visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
  .primary-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  .primary-nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.2); }
  .primary-nav__title { font-family: var(--serif); font-size: 22px; }
  .menu-close { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; padding: 8px; border: 0; color: var(--white); background: transparent; }
  .menu-close span:first-child { font-size: 24px; }
  .primary-nav__list { display: grid; gap: 0; margin-top: 18px; }
  .primary-nav__list li { border-bottom: 1px solid rgba(255,255,255,.14); }
  .primary-nav__list a { display: flex; padding: 15px 4px; font-size: 14px; }
  .primary-nav__list a::after { display: none; }
  .primary-nav__mobile-cta { display: block; padding: 16px 0; border: 0 !important; }
  .primary-nav__mobile-cta .button { color: var(--navy); background: var(--white); }
  .menu-backdrop { position: fixed; z-index: 90; inset: 0; display: block; visibility: hidden; background: rgba(0,12,26,.58); opacity: 0; transition: opacity .25s ease, visibility .25s; }
  .menu-backdrop.is-open { visibility: visible; opacity: 1; }
  .hero { min-height: 600px; }
  .hero__inner { min-height: 600px; }
  .hero__content { width: 54%; }
  .hero h1 { font-size: 51px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: auto; }
  .creator-grid { grid-template-columns: 1fr 1fr; }
  .strength-grid { grid-template-columns: 1fr 1fr; }
  .strength-grid article { min-height: auto; }
  .flow-scroll { overflow-x: auto; overflow-y: hidden; padding-bottom: 8px; overscroll-behavior-inline: contain; scrollbar-color: var(--gold) var(--paper-2); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .flow-stage { width: max(100%, 960px); }
  .flow-list > li > span { font-size: 12px; }
  .flow-list h3 { font-size: 14px; }
  .flow-list p { font-size: 12.5px; }
  .flow-scroll-note { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #344758; font-size: 14px; }
  .flow-scroll-note span { color: #80612f; font-family: var(--latin); font-size: 16px; }
  .company-grid { gap: 40px; }
  .member-profile { gap: 32px; }

  .no-js .site-header { position: static; height: auto; }
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: 12px 16px; }
  .no-js .menu-toggle,
  .no-js .menu-backdrop,
  .no-js .primary-nav__head { display: none; }
  .no-js .primary-nav {
    position: static;
    z-index: auto;
    width: 100%;
    padding: 0;
    color: var(--navy);
    background: transparent;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }
  .no-js .primary-nav__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
    border-top: 1px solid var(--line);
  }
  .no-js .primary-nav__list a { justify-content: center; padding: 12px 8px; color: var(--navy); text-align: center; }
  .no-js .primary-nav__mobile-cta { display: block; grid-column: 1 / -1; padding: 16px 0 0; }
  .no-js .primary-nav__mobile-cta .button { color: var(--white); background: var(--navy); }
  .no-js .primary-nav :focus-visible { outline-color: var(--teal); }
}

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, 1120px); }
  .test-banner { min-height: 38px; padding-inline: 12px; font-size: 10px; }
  .test-banner__label { display: none; }
  .brand__image { width: 196px; }
  .page-hero { padding: 46px 0 54px; }
  .breadcrumb { margin-bottom: 24px; }
  .breadcrumb ol { font-size: 12.5px; }
  .page-hero__eyebrow { font-size: 12.5px; }
  .page-hero h1 { margin-bottom: 16px; font-size: clamp(30px, 9vw, 40px); line-height: 1.45; }
  .page-hero--about h1 { font-size: 30px; letter-spacing: 0; }
  .page-title-break { display: block; }
  .page-hero__lead { font-size: 14px; line-height: 1.9; }
  .page-concept-visual { margin-bottom: 32px; border-width: 5px; }
  .page-concept-visual figcaption { right: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 4px 7px; font-size: 8px; }
  .review-panel { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .review-panel h2 { font-size: clamp(26px, 8vw, 32px); }
  .review-panel__aside { padding: 24px; }
  .review-panel__aside .button { width: 100%; }
  .page-actions { margin-top: 32px; }
  .page-actions .button { width: 100%; }
  .empty-state { padding: 34px 24px; }
  .rights-note { text-align: left; }
  .related-links { display: grid; }
  .related-links .button { width: 100%; }
  .contact--page { padding: 64px 0; }
  .hero { min-height: auto; padding-bottom: 0; }
  .hero { background-image: none; }
  .hero__media { position: relative; display: block; height: 75vw; min-height: 240px; max-height: 420px; overflow: hidden; }
  /* The left half is reserved for desktop copy; keep only the character area on mobile. */
  .hero__media img { position: absolute; top: 0; right: 0; width: 200%; max-width: none; height: auto; transform: translateY(-16%); }
  .hero__inner { display: block; min-height: auto; }
  .hero__content { width: 100%; padding: 24px 0 32px; }
  .hero h1 { font-size: clamp(31px, 9.2vw, 44px); line-height: 1.38; }
  .hero__lead { font-size: 14px; }
  .hero__actions { display: grid; }
  .button--large { width: 100%; }
  .feature-band { margin-top: 0; padding: 16px 0 0; background: var(--paper); }
  .feature-band__grid { grid-template-columns: 1fr; box-shadow: none; }
  .feature-band__grid > div { border-right: 0; border-bottom: 1px solid var(--gold-light); }
  .feature-band__grid > div:last-child { border-bottom: 0; }
  .section { padding: 64px 0; }
  .section-title { margin-bottom: 32px; text-align: left; }
  .section-title h2 { justify-content: flex-start; font-size: 32px; }
  .section-title h2::before { width: 30px; }
  .section-title h2::after { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card__visual img { aspect-ratio: 4 / 3; }
  .craft-layout { grid-template-columns: 1fr; }
  .craft-visual img { min-height: 340px; }
  .concept-work-grid { grid-template-columns: 1fr; }
  .publication-note { grid-template-columns: 1fr; padding: 24px; }
  .publication-note__mark { width: 44px; height: 44px; }
  .creator-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .creator-slot { padding: 8px 8px 18px; }
  .creator-slot h3 { font-size: 14px; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength-grid article { min-height: auto; }
  .strength-grid article img { aspect-ratio: 16 / 10; }
  .flow-visual { border-width: 5px; }
  .flow-visual > figcaption { padding: 8px 4px 2px; font-size: 10px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-card { padding: 28px 24px; }
  .news-list li { grid-template-columns: 88px 1fr; gap: 10px; }
  .company-grid { grid-template-columns: 1fr; gap: 28px; }
  .company-list > div { grid-template-columns: 100px 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 28px; }
  .contact { padding: 64px 0; background-position: 56% center; }
  .contact h2 { font-size: 31px; }
  .contact__action { align-items: stretch; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { gap: 16px; }
  .member-profile { grid-template-columns: 1fr; gap: 28px; }
  .member-profile__visual { max-width: 440px; border-width: 5px; }
  .career-group { padding: 24px; }
  .career-list li { grid-template-columns: 1fr; gap: 4px; }
  .career-list > li > span { white-space: normal; }
}

@media (min-width: 721px) and (max-width: 1023px) {
  .hero { min-height: auto; background-image: none; }
  .hero__media { position: relative; display: block; height: 360px; }
  .hero__media img { object-position: right center; }
  .hero__inner { display: block; min-height: auto; }
  .hero__content { width: 100%; padding: 48px 0; }
  .hero h1 { font-size: 40px; }
  .hero__lead { max-width: 560px; }
  .feature-band { margin-top: 0; padding-top: 16px; background: var(--paper); }
}

@media (max-width: 560px) {
  .creator-grid--members { grid-template-columns: 1fr; }
  .no-js .primary-nav__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 390px) {
  .site-header__inner { gap: 10px; }
  .brand__image { width: 184px; }
  .page-hero h1 { font-size: clamp(28px, 8.4vw, 34px); }
  .breadcrumb li:last-child { max-width: 100%; }
  .review-panel { padding-inline: 16px; }
  .review-panel__aside { padding-inline: 16px; }
  .career-group { padding-inline: 16px; }
  .news-list li { grid-template-columns: 1fr; gap: 0; }
  .section-title h2 { gap: 12px; font-size: clamp(28px, 8.3vw, 32px); }
  .section-title h2::before { width: 24px; }
  .section-title h2#strength-title::before { display: none; }
  .company-list > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 359px) {
  .creator-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* WordPress-only layout, using the established Saikoro brand tokens. */
.hos-saikoro-site .content-column { max-width: 800px; }
.hos-saikoro-site .hos-saikoro-entry { max-width: 70ch; }
.hos-saikoro-site .hos-saikoro-entry > * + * { margin-top: 24px; }
.hos-saikoro-site .hos-saikoro-entry img { height: auto; }
.hos-saikoro-site .wpforms-container { margin: 0; color: var(--ink); font-family: var(--sans); }
.hos-saikoro-site .wpforms-container .wpforms-field-label { color: var(--navy); font-size: 16px; line-height: 1.8; }
.hos-saikoro-site .wpforms-container input[type="text"],
.hos-saikoro-site .wpforms-container input[type="email"],
.hos-saikoro-site .wpforms-container input[type="tel"],
.hos-saikoro-site .wpforms-container select,
.hos-saikoro-site .wpforms-container textarea { max-width: 100%; min-height: 48px; font: inherit; }
.hos-saikoro-site .wpforms-container input:focus-visible,
.hos-saikoro-site .wpforms-container select:focus-visible,
.hos-saikoro-site .wpforms-container textarea:focus-visible,
.hos-saikoro-site .wpforms-container button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.hos-saikoro-site .wpforms-container button[type="submit"] { min-height: 48px; padding: 12px 32px; border: 1px solid var(--navy); color: var(--white); background: var(--navy); font: 700 16px/1.5 var(--sans); cursor: pointer; }
.hos-saikoro-site .wpforms-container button[type="submit"]:hover { background: var(--navy-2); }
.hos-saikoro-site .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; list-style: none; }
.hos-saikoro-site .page-numbers li > * { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; color: var(--navy); border: 1px solid var(--line); }
.hos-saikoro-site .page-numbers .current { color: var(--white); background: var(--navy); border-color: var(--navy); }
@media (max-width: 767px) {
  .hos-saikoro-site .wpforms-container .wpforms-one-half { width: 100%; margin-left: 0; }
  .hos-saikoro-site .wpforms-container button[type="submit"] { width: 100%; }
}
