.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(22,47,78,.09);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 190px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-link, .nav-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--py-navy-900);
  font-size: .93rem;
  font-weight: 650;
  border: 0;
  background: transparent;
}
.nav-button::after {
  content: "";
  display: inline-block;
  box-sizing: content-box;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 4px 0;
  border-color: currentColor transparent transparent;
  margin-top: 1px;
  flex: 0 0 auto;
}
.nav-link:hover, .nav-button:hover { background: var(--py-soft); }
.nav-group { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 270px;
  padding: 10px;
  border: 1px solid var(--py-line);
  background: var(--py-white);
  border-radius: 16px;
  box-shadow: var(--py-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .2s ease;
}
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--py-ink); font-size: .9rem; }
.nav-dropdown a:hover { background: var(--py-soft); color: var(--py-navy-900); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--py-line); border-radius: 12px; background: var(--py-white); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 20px; height: 2px; background: var(--py-navy-900); transition: .2s; }
.nav-toggle span { margin-block: 4px; }
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  font-size: .96rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--py-navy-900); color: var(--py-white); box-shadow: 0 10px 22px rgba(22,47,78,.18); }
.btn--primary:hover { background: var(--py-navy-800); }
.btn--secondary { background: var(--py-white); color: var(--py-navy-900); border-color: var(--py-line); }
.btn--secondary:hover { box-shadow: var(--py-shadow-sm); }
.btn--red { background: var(--py-red-700); color: var(--py-white); box-shadow: 0 10px 22px rgba(157,27,34,.18); }
.btn--red:hover { background: var(--py-red-600); }
.btn--sky { background: var(--py-sky-600); color: var(--py-white); }
.btn--ghost { min-height: 40px; padding: 8px 10px; color: var(--py-navy-900); }
.btn--ghost:hover { background: var(--py-soft); }
.btn-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.hero { padding-block: clamp(82px, 9vw, 132px); background: var(--py-gradient-soft); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: clamp(48px, 7vw, 96px); }
.hero-copy { display: grid; gap: 24px; }
.hero-copy .lead { max-width: 720px; }
.hero-support { color: var(--py-navy-700); font-weight: 700; }
.hero-visual {
  min-height: 470px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
}
.brand-orbit {
  --orbit-duration: 48s;
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #ffffff 0 26%, rgba(255,255,255,.65) 27% 42%, rgba(87,165,206,.12) 43% 63%, rgba(157,27,34,.08) 64% 100%);
  box-shadow: inset 0 0 0 1px rgba(22,47,78,.06), var(--py-shadow-lg);
}
.brand-orbit::before, .brand-orbit::after { content: ""; position: absolute; border: 1px dashed rgba(22,47,78,.18); border-radius: 50%; inset: 12%; }
.brand-orbit::after { inset: 28%; border-style: solid; border-color: rgba(87,165,206,.18); }
.brand-orbit__logo { position: absolute; inset: 33%; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.brand-orbit__logo img { width: 100%; filter: drop-shadow(0 14px 18px rgba(15,32,53,.18)); }
.orbit-system {
  position: absolute;
  inset: 0;
  z-index: 3;
  transform-origin: 50% 50%;
  animation: orbit-spin var(--orbit-duration) linear infinite;
}
.orbit-item {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  transform: rotate(calc(var(--i) * 72deg));
}
.orbit-chip {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  width: max-content;
  min-width: 128px;
  max-width: 150px;
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--py-shadow-sm);
  border: 1px solid rgba(22,47,78,.08);
  font-size: .84rem;
  font-weight: 800;
  color: var(--py-navy-900);
  text-align: center;
  transform: translateX(-50%) rotate(calc(var(--i) * -72deg));
  transform-origin: 50% 50%;
  animation: orbit-counter var(--orbit-duration) linear infinite;
  will-change: transform;
}
.orbit-chip small { display: block; color: var(--py-muted); font-weight: 600; margin-top: 2px; }
.brand-orbit:hover .orbit-system,
.brand-orbit:hover .orbit-chip { animation-play-state: paused; }
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes orbit-counter {
  from { transform: translateX(-50%) rotate(calc(var(--i) * -72deg)); }
  to { transform: translateX(-50%) rotate(calc(var(--i) * -72deg - 360deg)); }
}

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--py-line);
  border-radius: var(--py-radius-md);
  background: var(--py-white);
  box-shadow: var(--py-shadow-sm);
  display: grid;
  gap: 14px;
}
.card--flat { box-shadow: none; }
.card--navy { background: var(--py-navy-900); color: var(--py-white); border-color: transparent; }
.card--navy h3, .card--navy h2 { color: var(--py-white); }
.card--sky { background: var(--py-sky-100); border-color: var(--py-sky-200); }
.card--red { background: #fff2f3; border-color: #f2c9cd; }
.card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--py-sky-100); color: var(--py-sky-700); font-weight: 900; }
.card--navy .card__icon { background: rgba(255,255,255,.14); color: var(--py-white); }
.card__tag { display: inline-flex; width: fit-content; padding: 5px 9px; border-radius: 999px; background: var(--py-soft); color: var(--py-navy-700); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.card p { color: var(--py-muted); }
.card--navy p { color: rgba(255,255,255,.78); }
.card ul { margin: 0; padding-left: 18px; color: var(--py-muted); display: grid; gap: 8px; }
.card--navy ul { color: rgba(255,255,255,.8); }
.card__link { margin-top: 4px; color: var(--py-navy-900); font-weight: 800; }
.segment-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 22px; }
.segment-card { min-height: 310px; }
.segment-card--featured { background: var(--py-navy-900); color: var(--py-white); }
.segment-card--featured h3 { color: var(--py-white); }
.segment-card--institutional { background: var(--py-sky-100); border-color: var(--py-sky-200); }
.segment-card--family { background: #fff1f2; border-color: #f3c8cc; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--py-line); border: 1px solid var(--py-line); border-radius: var(--py-radius-md); overflow: hidden; }
.stat { padding: 28px 24px; background: var(--py-white); }
.stat strong { display: block; color: var(--py-navy-900); font-size: 1.15rem; margin-bottom: 5px; }
.stat span { color: var(--py-muted); font-size: .9rem; }

.flow { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; align-items: stretch; }
.flow-step { position: relative; min-height: 170px; padding: 24px 20px; border-radius: 18px; background: var(--py-white); border: 1px solid var(--py-line); box-shadow: var(--py-shadow-sm); }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -16px; z-index: 3; transform: translateY(-50%); color: var(--py-sky-600); font-size: 1.5rem; font-weight: 800; }
.flow-step__number { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--py-navy-900); color: var(--py-white); font-weight: 900; margin-bottom: 14px; }
.flow-step h3 { font-size: 1rem; margin-bottom: 8px; }
.flow-step p { color: var(--py-muted); font-size: .9rem; }

.formula-panel { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; padding: 30px; border-radius: var(--py-radius-lg); background: var(--py-navy-950); color: var(--py-white); box-shadow: var(--py-shadow-md); }
.formula-panel strong { text-align: center; font-size: clamp(1rem, 1.6vw, 1.25rem); }
.formula-panel span { font-size: 1.5rem; color: var(--py-sky-500); font-weight: 900; }
.formula-result { margin-top: 18px; text-align: center; color: var(--py-navy-900); font-size: clamp(1.2rem,2vw,1.6rem); font-weight: 900; }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.timeline-card { padding: 28px; border-radius: var(--py-radius-md); background: var(--py-white); border: 1px solid var(--py-line); box-shadow: var(--py-shadow-sm); }
.timeline-card__label { color: var(--py-red-700); font-weight: 900; font-size: 1.35rem; margin-bottom: 12px; }
.timeline-card p { color: var(--py-muted); }

.matrix { width: 100%; border-collapse: collapse; background: var(--py-white); border-radius: 16px; overflow: hidden; box-shadow: var(--py-shadow-sm); }
.matrix th, .matrix td { padding: 16px 18px; border-bottom: 1px solid var(--py-line); text-align: left; vertical-align: top; }
.matrix thead th { background: var(--py-navy-900); color: var(--py-white); font-size: .9rem; }
.matrix tbody th { color: var(--py-navy-900); width: 34%; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

.notice { padding: 20px 22px; border-radius: 16px; background: #fff8e8; border: 1px solid #f0d28f; color: #674c18; }
.notice strong { color: #523b10; }
.quote-panel { padding: clamp(30px,5vw,60px); border-radius: var(--py-radius-xl); background: var(--py-gradient-brand); color: var(--py-white); box-shadow: var(--py-shadow-lg); }
.quote-panel h2 { color: var(--py-white); max-width: 920px; }
.quote-panel p { color: rgba(255,255,255,.8); max-width: 760px; margin-top: 16px; }

.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: clamp(34px,5vw,62px); border-radius: var(--py-radius-xl); background: var(--py-navy-950); color: var(--py-white); box-shadow: var(--py-shadow-lg); }
.cta-panel h2 { color: var(--py-white); }
.cta-panel p { color: rgba(255,255,255,.74); margin-top: 12px; max-width: 760px; }
.cta-panel .btn--secondary { background: transparent; color: var(--py-white); border-color: rgba(255,255,255,.4); }

.form-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.form-card { padding: 34px; border-radius: var(--py-radius-lg); background: var(--py-white); border: 1px solid var(--py-line); box-shadow: var(--py-shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--py-navy-900); font-size: .86rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cad4df; border-radius: 12px; background: var(--py-white); padding: 12px 13px; color: var(--py-ink); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--py-sky-600); box-shadow: 0 0 0 4px rgba(87,165,206,.14); }
.form-note { color: var(--py-muted); font-size: .82rem; margin-top: 14px; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--py-line); border-radius: 14px; background: var(--py-white); padding: 0 20px; }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative; color: var(--py-navy-900); font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 16px; color: var(--py-sky-700); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 0 18px; color: var(--py-muted); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--py-muted); font-size: .88rem; margin-bottom: 20px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.article-body { font-size: 1.05rem; }
.article-body h2 { font-size: 2rem; margin-top: 48px; margin-bottom: 18px; }
.article-body h3 { margin-top: 32px; margin-bottom: 14px; }
.article-body p { color: #394657; margin-bottom: 18px; }
.article-body ul { color: #394657; display: grid; gap: 8px; }
.article-aside { position: sticky; top: 100px; padding: 24px; border-radius: 18px; background: var(--py-soft); border: 1px solid var(--py-line); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--py-muted); margin-top: 18px; font-size: .9rem; }

.site-footer { background: var(--py-navy-950); color: var(--py-white); padding-top: 68px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 38px; padding-bottom: 46px; }
.footer-brand { display: grid; gap: 16px; }
.footer-wordmark { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; font-weight: 900; letter-spacing: .04em; }
.footer-wordmark img { width: 52px; }
.footer-wordmark .pana { color: var(--py-white); }
.footer-wordmark .yuda { color: #ff6973; }
.footer-brand p, .footer-col a, .footer-col span { color: rgba(255,255,255,.68); font-size: .91rem; }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h3 { color: var(--py-white); font-size: .95rem; margin-bottom: 6px; }
.footer-col a:hover { color: var(--py-white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.58); font-size: .82rem; }
