:root {
  --navy: #071b4c;
  --navy-2: #0b2f78;
  --blue: #1b68c9;
  --sky: #eaf4ff;
  --line: #c9dbf5;
  --gold: #d39112;
  --gold-2: #f2b52c;
  --text: #0a245c;
  --muted: #526a91;
  --shadow: 0 16px 38px rgba(7, 27, 76, .13);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Meiryo, sans-serif;
  background: #f5f9ff;
  line-height: 1.85;
  letter-spacing: 0.01em;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* ===== Header ===== */
.site-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 14px 0;
  position: relative;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold-2));
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header .logo {
  font-size: 24px;
  font-weight: 1000;
  color: #fff;
  line-height: 1;
}
.site-header .logo span { color: var(--gold-2); }
.site-header .nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
  font-weight: 800;
}
.site-header .nav a { color: #cfdcf3; }
.site-header .nav a:hover { color: #fff; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  margin: 18px 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.breadcrumb a { color: var(--blue); }
.breadcrumb .sep { margin: 0 8px; color: #b8cae8; }

/* ===== Page Hero ===== */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  background:
    radial-gradient(circle at 14% 80%, rgba(242,181,44,.18), transparent 40%),
    radial-gradient(circle at 88% 18%, rgba(80,170,255,.20), transparent 42%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 58%, #0a3a85 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(255,255,255,.10) 1.3px, transparent 2px) 0 0/22px 22px;
  opacity: .25;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(242,181,44,.18);
  color: var(--gold-2);
  font-size: 11.5px;
  font-weight: 1000;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.3;
  letter-spacing: -.01em;
  font-weight: 1000;
}
.page-hero h1 .gold { color: var(--gold-2); }
.page-hero .lead {
  margin: 0 0 32px;
  max-width: 720px;
  font-size: 15.5px;
  font-weight: 700;
  color: #d2e0fb;
  line-height: 1.95;
}
.hero-banner {
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 8, 26, .55);
  border: 1px solid rgba(242,181,44,.24);
}
.hero-banner img {
  width: 100%;
  height: auto;
}

/* ===== Page Body ===== */
.page-body { padding: 8px 0 64px; }
.page-body h1 {
  margin: 16px 0 22px;
  color: var(--navy);
  font-size: 32px;
  line-height: 1.4;
  position: relative;
  padding-bottom: 14px;
}
.page-body h1::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold-2));
}
.page-body .lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

/* ===== Section Title ===== */
.section {
  padding: 56px 0;
}
.section + .section { padding-top: 0; }
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title .kicker {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .14em;
  margin-bottom: 8px;
}
.section-title h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: -.005em;
}
.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

/* ===== Character Card ===== */
.char-card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid #d5e4f8;
  box-shadow: 0 12px 38px rgba(7,27,76,.07);
  overflow: hidden;
  margin-bottom: 56px;
}
.char-card-head {
  padding: 36px 40px 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: center;
}
.char-portrait {
  position: relative;
  background:
    radial-gradient(circle at 50% 70%, rgba(80,170,255,.16), transparent 60%),
    linear-gradient(135deg, #f0f6ff, #e2ecfd);
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(27,104,201,.10);
}
.char-portrait img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  filter: drop-shadow(0 14px 22px rgba(7,27,76,.18));
}
.char-portrait.rough {
  background: #fffaeb;
  align-items: center;
}
.char-portrait.rough img {
  filter: none;
  max-height: 88%;
}
.char-watermark {
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 10px;
  color: rgba(7,27,76,.45);
  font-weight: 900;
  letter-spacing: .04em;
  pointer-events: none;
}
.char-info {
  padding: 8px 0;
}
.char-no {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #fff;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.char-info h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: -.005em;
}
.char-info .ruby {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 18px;
  display: block;
}
.char-tagline {
  margin: 0 0 18px;
  padding: 10px 14px;
  border-left: 3px solid var(--gold-2);
  background: #fff8e6;
  color: #6a4a08;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.7;
  border-radius: 0 8px 8px 0;
}
.profile-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e2edfb;
  border-radius: 12px;
  overflow: hidden;
  font-size: 13.5px;
}
.profile-table th,
.profile-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #e2edfb;
  text-align: left;
  vertical-align: top;
  font-weight: 700;
}
.profile-table tr:last-child th,
.profile-table tr:last-child td { border-bottom: 0; }
.profile-table th {
  width: 32%;
  background: #f0f7ff;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 12.5px;
  white-space: nowrap;
}
.profile-table td { color: #1f3661; }

.char-body {
  padding: 24px 40px 40px;
}
.subsection-title {
  margin: 30px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--gold-2);
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}
.subsection-title small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

/* ===== Process Flow ===== */
.process-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin: 18px 0 8px;
}
.process-step {
  text-align: center;
  border: 1.5px solid #dde9fb;
  border-radius: 14px;
  padding: 18px 14px 16px;
  background: linear-gradient(180deg, #fff, #f7fbff);
}
.process-step .thumb {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 10px;
  background: #f0f7ff;
  overflow: hidden;
}
.process-step .thumb img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
}
.process-step .thumb.rough {
  background: #fffaeb;
  padding: 6px;
}
.process-step .step-label {
  font-size: 11px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: .12em;
  margin-bottom: 4px;
}
.process-step .step-title {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 6px;
}
.process-step .step-desc {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}
.process-arrow {
  font-size: 24px;
  color: var(--gold-2);
  font-weight: 900;
  text-align: center;
}

/* ===== AI Variations Grid ===== */
.variations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.variation-card {
  background: linear-gradient(180deg, #f8fbff, #eaf3ff);
  border: 1px solid #dde9fb;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.variation-card .thumb {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.variation-card .thumb img {
  max-height: 100%;
  width: auto;
}
.variation-card .label {
  font-size: 11.5px;
  color: var(--navy);
  font-weight: 900;
}
.variation-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
}

/* ===== Coming Soon Badge ===== */
.coming-soon-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2b52c, #d39112);
  color: #071b4c;
  font-size: 11.5px;
  font-weight: 1000;
  letter-spacing: .08em;
  margin-bottom: 12px;
  box-shadow: 0 6px 18px rgba(211,145,18,.32);
}
.coming-soon-banner .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

.timeline {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  border-left: 2px solid var(--gold-2);
}
.timeline li {
  position: relative;
  padding: 6px 0 14px 26px;
  font-size: 13.5px;
  font-weight: 700;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--gold-2);
}
.timeline li.done::before { background: var(--gold-2); }
.timeline li.in-progress::before {
  background: #fff;
  border-color: var(--blue);
  animation: pulse 1.4s ease-in-out infinite;
}
.timeline li.pending::before {
  background: #fff;
  border-color: #c9dbf5;
}
.timeline li .date {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-right: 10px;
}
.timeline li .label {
  color: var(--navy);
  font-weight: 900;
}
.timeline li.pending .label { color: var(--muted); }

/* ===== AI Process Disclosure Block ===== */
.ai-process {
  background: linear-gradient(135deg, var(--navy), var(--navy-2) 60%, #0a3a85);
  color: #fff;
  border-radius: 22px;
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
}
.ai-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(80,170,255,.22), transparent 36%),
    radial-gradient(circle at 18% 88%, rgba(242,181,44,.18), transparent 40%);
  pointer-events: none;
}
.ai-process > * { position: relative; z-index: 1; }
.ai-process h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.45;
}
.ai-process h2 .gold { color: var(--gold-2); }
.ai-process .ai-process-lead {
  margin: 0 0 28px;
  color: #d2e0fb;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
}
.flow-chain {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin: 18px 0 4px;
}
.flow-chain .flow-block {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 18px 18px;
}
.flow-chain .flow-block .num {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .12em;
}
.flow-chain .flow-block h4 {
  margin: 4px 0 8px;
  color: #fff;
  font-size: 15.5px;
  line-height: 1.45;
}
.flow-chain .flow-block p {
  margin: 0;
  color: #d2e0fb;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.7;
}
.flow-chain .arrow {
  color: var(--gold-2);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== License Card ===== */
.license-card {
  background: #fff;
  padding: 36px 40px;
  border-radius: 18px;
  border: 1.5px solid var(--gold-2);
  box-shadow: 0 10px 28px rgba(211,145,18,.10);
  position: relative;
  overflow: hidden;
}
.license-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
}
.license-card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 22px;
}
.license-card h2::before {
  content: "©";
  color: var(--gold);
  margin-right: 8px;
  font-size: 26px;
  font-weight: 900;
}
.license-card .license-statement {
  padding: 16px 18px;
  background: #fff8e6;
  border-radius: 10px;
  color: #6a4a08;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.85;
  margin-bottom: 22px;
}
.license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.license-item {
  padding: 14px 16px;
  border: 1px solid #e2edfb;
  border-radius: 10px;
  background: #f7fbff;
}
.license-item .title {
  display: block;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 4px;
}
.license-item .title.ok { color: #178043; }
.license-item .title.ng { color: #d34141; }
.license-item p {
  margin: 0;
  font-size: 12px;
  color: #425d8a;
  font-weight: 700;
  line-height: 1.7;
}
.license-card .credit-block {
  padding-top: 18px;
  border-top: 1px solid #e2edfb;
  font-size: 13px;
  line-height: 1.85;
  font-weight: 700;
  color: #2c4575;
}
.license-card .credit-block strong { color: var(--navy); }
.license-card .revision {
  margin-top: 20px;
  font-size: 11.5px;
  color: var(--muted);
  text-align: right;
  font-weight: 700;
}

/* ===== Designer Voice ===== */
.designer-voice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 22px 24px;
  background: linear-gradient(180deg, #f8fbff, #f0f7ff);
  border-radius: 14px;
  border: 1px solid #dde9fb;
  margin-top: 18px;
}
.designer-voice .label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 1000;
  letter-spacing: .06em;
  align-self: flex-start;
}
.designer-voice p {
  margin: 0;
  color: #1f3661;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.95;
}
.designer-voice p::before {
  content: "「";
  color: var(--gold);
  font-size: 20px;
  font-weight: 900;
  margin-right: 2px;
}
.designer-voice p::after {
  content: "」";
  color: var(--gold);
  font-size: 20px;
  font-weight: 900;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  color: #cfdcf3;
  background:
    radial-gradient(circle at 88% 0%, rgba(211,145,18,.18), transparent 32%),
    linear-gradient(180deg, #051330, #030c20);
  padding: 56px 0 28px;
  font-size: 13px;
  line-height: 1.75;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold-2));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}
.footer-brand .footer-logo {
  display: inline-block;
  font-size: 26px;
  font-weight: 1000;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1;
}
.footer-brand .footer-logo span { color: var(--gold-2); }
.footer-brand p { margin: 0 0 6px; color: #b8cae8; font-weight: 700; }
.footer-brand .footer-tagline { margin-bottom: 18px; color: #e8efff; font-size: 14px; font-weight: 800; }
.footer-col h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin: 0 0 8px; }
.footer-col ul a {
  color: #cfdcf3;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a::before {
  content: "›";
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 900;
}
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #8fa4cc;
  font-size: 12px;
  font-weight: 700;
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .legal-links a { color: #b8cae8; }
.footer-bottom .legal-links a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .site-header .container { flex-direction: column; gap: 12px; align-items: flex-start; }
  .site-header .nav { gap: 14px; flex-wrap: wrap; }
  .page-hero { padding: 56px 0 40px; }
  .page-hero h1 { font-size: 28px; }
  .char-card { margin-bottom: 36px; }
  .char-card-head { grid-template-columns: 1fr; padding: 24px 22px 0; gap: 24px; }
  .char-info h3 { font-size: 26px; }
  .char-body { padding: 16px 22px 28px; }
  .process-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .process-arrow { transform: rotate(90deg); padding: 6px 0; }
  .flow-chain {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .flow-chain .arrow { transform: rotate(90deg); padding: 4px 0; }
  .ai-process { padding: 28px 22px; }
  .ai-process h2 { font-size: 22px; }
  .license-card { padding: 24px 22px; }
  .license-card h2 { font-size: 19px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 36px 0; }
  .section-title h2 { font-size: 22px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 22px, 460px); }
  .char-portrait { aspect-ratio: 1 / 1.1; }
  .profile-table th { width: 38%; font-size: 11.5px; }
  .variations-grid { grid-template-columns: repeat(2, 1fr); }
}
