:root {
  color-scheme: light;
  --ink: #20242a;
  --muted: #606a76;
  --line: #d7dde2;
  --paper: #f7f8f6;
  --panel: #ffffff;
  --accent: #2f6f73;
  --accent-2: #8d4f36;
  --soft: #edf3f2;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  letter-spacing: 0;
}
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  color: var(--accent);
  flex: 0 0 auto;
}
nav {
  display: flex;
  flex: 1 1 720px;
  min-width: 0;
  gap: 4px 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
}
nav a {
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
}
nav a:hover { color: var(--accent); }
.hero {
  background:
    linear-gradient(120deg, rgba(47, 111, 115, .92), rgba(141, 79, 54, .88)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='500' viewBox='0 0 1200 500'%3E%3Cpath d='M0 390 C180 320 240 430 410 360 C580 290 650 170 820 220 C980 265 1040 140 1200 110 L1200 500 L0 500 Z' fill='%23ffffff' fill-opacity='.12'/%3E%3Cpath d='M0 95 C175 140 260 30 420 80 C610 138 700 70 870 110 C1030 148 1080 235 1200 210 L1200 0 L0 0 Z' fill='%23ffffff' fill-opacity='.10'/%3E%3C/svg%3E");
  background-size: cover;
  color: #fff;
}
.hero-inner {
  padding: 74px 0 84px;
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
}
h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.25;
  font-weight: 800;
}
.lead {
  max-width: 780px;
  margin: 22px 0 0;
  font-size: 18px;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  padding: 42px 0 64px;
}
.main-copy section,
.side-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.main-copy section {
  padding: 28px;
  margin: 0 0 18px;
}
h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.45;
}
p { margin: 0; }
.side-box {
  align-self: start;
  position: sticky;
  top: 88px;
  padding: 22px;
}
.side-box h2 {
  font-size: 18px;
}
.card-list {
  display: grid;
  gap: 10px;
}
.card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--soft);
}
.card strong {
  display: block;
  color: var(--accent);
  line-height: 1.45;
}
.card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
details p {
  margin-top: 8px;
  color: var(--muted);
}
.site-footer {
  background: #20242a;
  color: #fff;
}
.footer-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-inner a { color: #fff; }
@media (max-width: 820px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  nav { flex-basis: auto; width: 100%; justify-content: flex-start; }
  .hero-inner { padding: 48px 0 56px; }
  .lead { font-size: 16px; }
  .content-grid { grid-template-columns: 1fr; padding: 28px 0 44px; }
  .main-copy section, .side-box { padding: 20px; }
  .side-box { position: static; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px 0; }
}


/* 輪姦学校 brand redesign */
:root {
  --ink: #142136;
  --muted: #5e6876;
  --line: #d9d2c2;
  --paper: #f4f0e6;
  --panel: #fffdf7;
  --accent: #7d2238;
  --accent-2: #c6a15b;
  --soft: #f5efe2;
  --school-navy: #071b33;
  --school-navy-2: #102b4d;
  --school-gold: #c7a45a;
  --school-red: #7d2238;
}
body {
  background:
    linear-gradient(rgba(244, 240, 230, .94), rgba(244, 240, 230, .94)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(7, 27, 51, .05) 31px 32px);
  color: var(--ink);
}
.school-notice {
  padding: 6px 18px;
  background: var(--school-red);
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.site-header {
  background: rgba(255, 253, 247, .98);
  border-bottom: 3px solid var(--school-gold);
  box-shadow: 0 4px 20px rgba(7, 27, 51, .1);
}
.header-inner { min-height: 82px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--school-navy);
}
.brand-crest,
.footer-crest {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid var(--school-gold);
  outline: 1px solid var(--school-navy);
  outline-offset: 3px;
  border-radius: 50%;
  background: var(--school-navy);
  color: var(--school-gold);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  font-weight: 800;
}
.crest-svg {
  display: block;
  flex: 0 0 auto;
  overflow: visible;
}
.brand-crest-svg {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 4px 7px rgba(7,27,51,.22));
}
.hero-crest-svg {
  width: 230px;
  height: 230px;
  filter: drop-shadow(0 22px 32px rgba(0,0,0,.4));
}
.footer-crest-svg {
  width: 49px;
  height: 49px;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.28));
}
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 25px;
  letter-spacing: .12em;
}
.brand-copy small {
  margin-top: 7px;
  color: var(--school-red);
  font-family: Georgia, serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .28em;
}
nav { gap: 5px 16px; font-size: 13px; }
nav a { color: #37475b; font-weight: 700; }
nav a:hover { color: var(--school-red); }
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 27, 51, .98), rgba(10, 37, 68, .9)),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(255,255,255,.05) 88px 90px);
  border-bottom: 6px solid var(--school-gold);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero::before {
  inset: 0;
  background:
    linear-gradient(135deg, transparent 48%, rgba(199, 164, 90, .08) 48% 52%, transparent 52%),
    linear-gradient(45deg, transparent 48%, rgba(199, 164, 90, .05) 48% 52%, transparent 52%);
  background-size: 56px 56px;
  opacity: .6;
}
.hero::after {
  width: 480px;
  height: 480px;
  right: -180px;
  top: -210px;
  border: 1px solid rgba(199,164,90,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(199,164,90,.035), 0 0 0 112px rgba(199,164,90,.025);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 72px;
  align-items: center;
  padding: 78px 0 82px;
}
.hero-copy { min-width: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f0e5ca;
  font-size: 13px;
  letter-spacing: .08em;
}
.eyebrow span {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--school-gold);
  color: var(--school-gold);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 14px;
  letter-spacing: .15em;
}
h1 {
  max-width: 850px;
  margin-top: 16px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.32;
  letter-spacing: .025em;
  text-shadow: 0 3px 18px rgba(0,0,0,.25);
}
.home-hero .title-line { display: block; white-space: nowrap; }
.lead { color: #e8edf3; line-height: 1.95; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 23px;
  border: 1px solid var(--school-gold);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
}
.hero-actions .primary { background: var(--school-gold); color: var(--school-navy); }
.hero-actions .secondary { background: transparent; color: #fff; }
.hero-actions a:hover { filter: brightness(1.08); }
.school-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(199,164,90,.35);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.school-rules span { display: inline-flex; align-items: center; gap: 8px; }
.school-rules b { color: var(--school-gold); font-family: Georgia, serif; }
.hero-emblem {
  position: relative;
  display: grid;
  justify-items: center;
  color: var(--school-gold);
  text-align: center;
}
.hero-emblem::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,164,90,.18), rgba(199,164,90,0) 69%);
  filter: blur(7px);
}
.hero-crest-svg { position: relative; z-index: 1; }
.emblem-ring {
  width: 190px;
  height: 190px;
  display: grid;
  place-content: center;
  border: 2px solid var(--school-gold);
  outline: 1px solid rgba(199,164,90,.7);
  outline-offset: 10px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px rgba(199,164,90,.08), 0 16px 45px rgba(0,0,0,.3);
}
.emblem-ring span {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 74px;
  font-weight: 800;
  line-height: 1;
}
.emblem-ring small { margin-top: 8px; font-family: Georgia, serif; font-size: 10px; letter-spacing: .22em; }
.hero-emblem > p {
  margin-top: 24px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .26em;
}
.hero-emblem > small { margin-top: 3px; color: #e9dcb9; font-family: Georgia, serif; letter-spacing: .28em; }
.home-hero .hero-inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 48px;
}
.hero-photo-frame {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  margin: 0;
  border: 1px solid rgba(199,164,90,.70);
  border-radius: 24px 4px 24px 4px;
  background: #06172b;
  box-shadow: 0 30px 65px rgba(0,0,0,.42), 0 0 0 8px rgba(199,164,90,.06);
}
.hero-photo-frame::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,27,51,.48), transparent 40%), linear-gradient(0deg, rgba(7,27,51,.86), transparent 46%);
  pointer-events: none;
}
.hero-photo-frame img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: 61% center;
}
.hero-photo-frame figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: grid;
  gap: 5px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .05em;
}
.hero-photo-frame figcaption span { color: var(--school-gold); font-family: Georgia, serif; font-size: 10px; letter-spacing: .22em; }
.content-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; padding-top: 50px; }
.course-heading {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin: 0 0 18px;
  padding: 0 2px 13px;
  border-bottom: 3px double var(--school-navy);
}
.course-heading span { color: var(--school-red); font-family: Georgia, serif; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.course-heading strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 22px; letter-spacing: .08em; }
.main-copy section,
.side-box {
  border: 1px solid #d9d2c2;
  border-radius: 2px;
  background: rgba(255,253,247,.97);
  box-shadow: 0 8px 24px rgba(7,27,51,.07);
}
.main-copy section {
  position: relative;
  overflow: hidden;
  padding: 33px 34px 32px 39px;
  border-left: 5px solid var(--school-red);
}
.main-copy section::after {
  content: "輪姦学校";
  position: absolute;
  right: 20px;
  bottom: 10px;
  color: rgba(7,27,51,.035);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: .12em;
  pointer-events: none;
}
.lesson-no,
.side-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--school-red);
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}
h2 { position: relative; z-index: 1; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; color: var(--school-navy); }
.main-copy section p { position: relative; z-index: 1; color: #3f4957; }
.side-box {
  top: 112px;
  padding: 25px;
  border-top: 5px solid var(--school-navy);
}
.side-box h2 { padding-bottom: 12px; border-bottom: 1px solid var(--school-gold); font-size: 20px; }
.card-list { gap: 8px; }
.card {
  position: relative;
  padding: 14px 14px 14px 19px;
  border: 0;
  border-bottom: 1px solid #e0d9ca;
  border-radius: 0;
  background: transparent;
}
.card::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--school-gold);
}
.card:hover { background: #f5efe2; }
.card strong { color: var(--school-navy); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }
.card span { color: #707783; }
.faq-block details { position: relative; z-index: 1; }
.resource-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}
.resource-list a {
  display: block;
  padding: 15px 17px;
  border: 1px solid #d9d2c2;
  background: #f8f3e8;
  color: var(--school-navy);
  text-decoration: none;
}
.resource-list a:hover { border-color: var(--school-gold); background: #fffaf0; }
.resource-list strong { display: block; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; }
.resource-list span { display: block; margin-top: 4px; color: #626c79; font-size: 13px; }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 76px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--school-gold);
  border-radius: 8px;
  background: var(--school-navy);
  color: #fff;
  cursor: pointer;
}
.menu-toggle:focus-visible { outline: 3px solid rgba(199,164,90,.42); outline-offset: 3px; }
.menu-toggle-lines { position: relative; display: grid; gap: 4px; width: 22px; }
.menu-toggle-lines i { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--school-gold); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle-label { font-family: Georgia, serif; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.site-footer {
  border-top: 6px solid var(--school-gold);
  background: var(--school-navy);
}
.footer-inner { min-height: 112px; }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-crest { width: 38px; height: 38px; outline-color: var(--school-gold); font-size: 18px; }
.footer-brand p { display: grid; }
.footer-brand strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 20px; letter-spacing: .14em; }
.footer-brand small { margin-top: 3px; color: #cfdae7; font-size: 10px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  width: auto;
  font-size: 12px;
}
.footer-nav a { color: #f0e6c7; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 920px) {
  .header-inner { align-items: center; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 190px; gap: 38px; }
  .emblem-ring { width: 150px; height: 150px; }
  .emblem-ring span { font-size: 58px; }
  .hero-crest-svg { width: 180px; height: 180px; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 310px; }
}
@media (max-width: 820px) {
  .school-notice { padding-inline: 12px; line-height: 1.55; }
  .header-inner { align-items: flex-start; min-height: auto; }
  .brand { gap: 8px; }
  .brand-crest-svg { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 23px; }
  nav { padding-top: 11px; border-top: 1px solid #e1dacb; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 58px; }
  .hero-emblem { display: none; }
  .eyebrow { align-items: flex-start; flex-direction: column; gap: 9px; }
  h1 { font-size: clamp(33px, 10vw, 46px); }
  .school-rules { gap: 10px 18px; }
  .content-grid { grid-template-columns: 1fr; padding-top: 32px; }
  .course-heading { flex-direction: column; gap: 2px; }
  .main-copy section { padding: 27px 22px 27px 25px; }
  .main-copy section::after { font-size: 26px; }
  .side-box { position: static; }
  .footer-inner { align-items: flex-start; }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .wrap { width: min(100% - 24px, 1120px); }
  .brand-crest { width: 40px; height: 40px; font-size: 19px; }
  .brand-crest-svg { width: 36px; height: 36px; }
  .brand-copy strong { font-size: 21px; }
  nav { gap: 7px 13px; font-size: 12px; }
  .hero-inner { padding: 42px 0 48px; }
  .lead { font-size: 15px; }
  .school-rules { display: grid; grid-template-columns: 1fr 1fr; }
  .main-copy section { margin-bottom: 14px; }
}

/* Rich block layout */
.home-pathways {
  padding: 62px 0 18px;
  background:
    radial-gradient(circle at 8% 12%, rgba(199,164,90,.16), transparent 26%),
    radial-gradient(circle at 92% 38%, rgba(125,34,56,.10), transparent 28%),
    linear-gradient(180deg, #f7f2e8 0%, #efe7d8 100%);
}
#pathway-title,
#combination-panel,
#safety-panel {
  scroll-margin-top: 118px;
}
.block-heading {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: end;
  gap: 4px 26px;
  margin-bottom: 26px;
}
.block-heading > span,
.panel-heading > span {
  color: var(--school-red);
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
}
.block-heading h2,
.panel-heading h2 {
  margin: 0;
  color: var(--school-navy);
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: .06em;
}
.block-heading p {
  grid-column: 2;
  color: #68717c;
  font-size: 14px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr;
  grid-auto-rows: minmax(188px, auto);
  gap: 18px;
}
.feature-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 188px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(7,27,51,.14);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}
.feature-card::before,
.feature-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.feature-card::before {
  width: 210px;
  height: 210px;
  right: -96px;
  top: -112px;
  border: 1px solid currentColor;
  opacity: .16;
  box-shadow: 0 0 0 36px currentColor, 0 0 0 74px currentColor;
}
.feature-card::after {
  width: 9px;
  height: 9px;
  right: 28px;
  bottom: 28px;
  background: var(--school-gold);
  box-shadow: -15px 0 0 rgba(199,164,90,.45), -30px 0 0 rgba(199,164,90,.20);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(7,27,51,.20);
}
.feature-card.has-photo { min-height: 290px; }
.feature-photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
}
.feature-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,27,51,.98) 0%, rgba(7,27,51,.84) 46%, rgba(7,27,51,.30) 100%), linear-gradient(0deg, rgba(7,27,51,.78), transparent 60%);
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.feature-primary .feature-photo img { object-position: 63% center; }
.feature-red .feature-photo::after { background: linear-gradient(90deg, rgba(82,20,39,.98) 0%, rgba(112,29,50,.86) 48%, rgba(82,20,39,.24) 100%); }
.feature-red .feature-photo img { object-position: center 42%; }
.feature-primary {
  grid-row: span 2;
  padding: 38px;
  background: linear-gradient(145deg, #071b33, #153b63);
  color: #fff;
}
.feature-red {
  grid-column: span 2;
  background: linear-gradient(135deg, #7d2238, #a4485f);
  color: #fff;
}
.feature-cream {
  background: linear-gradient(145deg, #43172b, #7d2238);
  color: #fff;
  border-color: rgba(199,164,90,.28);
}
.feature-navy {
  background: linear-gradient(145deg, #102b4d, #071b33);
  color: #fff;
}
.feature-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(199,164,90,.75);
  color: var(--school-gold);
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
}
.feature-cream .feature-label { color: var(--school-gold); border-color: rgba(199,164,90,.75); }
.feature-card strong {
  max-width: 590px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.45;
  letter-spacing: .04em;
}
.feature-primary strong { font-size: clamp(28px, 3vw, 42px); }
.feature-card p {
  max-width: 640px;
  margin-top: 13px;
  color: inherit;
  font-size: 13px;
  line-height: 1.8;
  opacity: .78;
}
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--school-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}
.feature-cream .feature-link { color: var(--school-gold); }
.feature-link b { font-size: 18px; }
.choice-panel,
.safety-panel {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  padding: 36px;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(7,27,51,.11);
}
.choice-panel {
  background:
    linear-gradient(115deg, rgba(7,27,51,.98), rgba(16,43,77,.94)),
    repeating-linear-gradient(45deg, transparent 0 28px, rgba(255,255,255,.04) 28px 29px);
  color: #fff;
}
.choice-panel .panel-heading h2,
.choice-panel .panel-heading > span { color: #fff; }
.choice-panel .panel-heading > span { color: var(--school-gold); }
.panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 4px 24px;
  margin-bottom: 24px;
}
.panel-heading > span { grid-column: 1 / -1; }
.panel-heading p { color: inherit; font-size: 13px; opacity: .68; }
.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.choice-card {
  display: grid;
  align-content: start;
  min-height: 118px;
  padding: 17px;
  border: 1px solid rgba(199,164,90,.34);
  border-radius: 11px;
  background: rgba(255,255,255,.055);
  color: #fff;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.choice-card:hover { background: rgba(199,164,90,.16); transform: translateY(-3px); }
.choice-card-one-pair,
.choice-card-sm,
.choice-card-onsen {
  grid-column: span 2;
  min-height: 226px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(72,31,54,.94), rgba(25,55,83,.90));
}
.choice-card-threep-one,
.choice-card-threep-two {
  grid-column: span 2;
  min-height: 226px;
  padding: 22px;
}
.choice-card-threep-one {
  background: linear-gradient(145deg, rgba(125,34,56,.90), rgba(88,24,43,.78));
}
.choice-card-threep-two {
  background: linear-gradient(145deg, rgba(23,63,103,.96), rgba(12,42,75,.88));
}
.choice-card-threep-one:hover,
.choice-card-threep-two:hover { background-color: rgba(199,164,90,.16); }
.choice-card-many,
.choice-card-couple,
.choice-card-sm,
.choice-card-onsen { grid-column: span 2; }
.choice-card-balance-women,
.choice-card-balance-men,
.choice-card-balance-even {
  background: linear-gradient(
    90deg,
    rgba(132,35,64,.97) 0,
    rgba(132,35,64,.97) var(--women-share),
    rgba(18,66,108,.97) var(--women-share),
    rgba(18,66,108,.97) 100%
  );
}
.choice-card.choice-card-balance-women:hover,
.choice-card.choice-card-balance-men:hover,
.choice-card.choice-card-balance-even:hover {
  background: linear-gradient(
    90deg,
    rgba(153,43,75,.99) 0,
    rgba(153,43,75,.99) var(--women-share),
    rgba(26,81,130,.99) var(--women-share),
    rgba(26,81,130,.99) 100%
  );
}
.choice-card > span {
  margin-bottom: 11px;
  color: var(--school-gold);
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
.choice-card strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 16px;
  line-height: 1.5;
}
.choice-photo {
  overflow: hidden;
  height: 116px;
  margin: 0 0 13px;
  border: 1px solid rgba(199,164,90,.34);
  border-radius: 9px;
  background: #071b33;
}
.choice-photo img { width: 100%; height: 100%; object-fit: cover; }
.choice-card-one-pair .choice-photo,
.choice-card-couple-entry .choice-photo,
.choice-card-sm .choice-photo,
.choice-card-onsen .choice-photo { height: 128px; }
.choice-card-one-pair .choice-photo img {
  object-position: left 28%;
  transform: scale(1.9);
  transform-origin: left 28%;
}
.choice-card-couple-entry .choice-photo img {
  object-position: center 46%;
  transform: none;
}
.choice-card-threep-one .choice-photo img { object-position: center 48%; }
.choice-card-threep-two .choice-photo img { object-position: center 44%; }
.choice-card-many .choice-photo { height: 128px; }
.choice-card-many .choice-photo img { object-position: center 45%; }
.people-count {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.people-icons {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  flex: 0 0 auto;
}
.person-icon {
  width: 23px;
  height: 38px;
  overflow: visible;
  fill: currentColor;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.24));
}
.person-woman { color: #ff3a73; }
.person-man { color: #1674d8; }
.people-plus {
  align-self: center;
  margin-left: 1px;
  color: var(--school-gold);
  font-size: 20px;
  font-weight: 900;
}
.people-label {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}
.people-count-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 1px 0 13px;
  padding: 10px 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(0,0,0,.12);
}
.people-count-card .people-label { color: #dce6f1; font-size: 10px; }
.people-variants {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.people-variant {
  display: inline-grid;
  justify-items: center;
  gap: 3px;
}
.people-mini-label { color: #dce6f1; font-size: 8px; font-weight: 700; white-space: nowrap; }
.variant-or { color: var(--school-gold); font-family: Georgia, serif; font-size: 8px; }
.people-count-card.people-count-variants > .people-label { display: none; }
.people-count-hero {
  width: fit-content;
  margin-top: 23px;
  padding: 12px 16px;
  border: 1px solid rgba(199,164,90,.48);
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
}
.people-count-hero .person-icon { width: 28px; height: 45px; }
.people-count-hero .people-mini-label { color: #eef3f8; font-size: 9px; }
.people-count-hero .people-label { color: #f4e6bd; font-size: 13px; }
.choice-card:has(.people-count) { min-height: 210px; }
.safety-panel {
  background: rgba(255,253,247,.94);
  border: 1px solid rgba(125,34,56,.14);
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.safety-photo-banner {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  margin-bottom: 18px;
  border: 1px solid #d8c59c;
  border-radius: 14px;
  background: var(--school-navy);
  color: #fff;
  box-shadow: 0 15px 34px rgba(7,27,51,.13);
}
.safety-photo-banner img { width: 100%; height: 248px; object-fit: cover; object-position: 42% center; }
.safety-photo-banner > div { display: flex; flex-direction: column; justify-content: center; padding: 30px 34px; }
.safety-photo-banner span { color: var(--school-gold); font-family: Georgia, serif; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.safety-photo-banner strong { margin-top: 11px; font-size: 23px; line-height: 1.5; }
.safety-photo-banner p { margin-top: 12px; color: #d9e2eb; font-size: 13px; line-height: 1.8; }
.safety-card {
  position: relative;
  min-height: 180px;
  padding: 22px;
  border: 1px solid #ddd3c0;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff, #f7efe2);
  color: var(--school-navy);
  text-decoration: none;
  box-shadow: 0 9px 24px rgba(7,27,51,.06);
}
.safety-card::after {
  content: "→";
  position: absolute;
  right: 19px;
  bottom: 16px;
  color: var(--school-red);
  font-weight: 800;
}
.safety-card > span {
  color: var(--school-red);
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.safety-card strong {
  display: block;
  margin-top: 12px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 18px;
  line-height: 1.5;
}
.safety-card p { margin-top: 9px; color: #68717c; font-size: 12px; line-height: 1.7; }
.home-content-grid { grid-template-columns: 1fr; padding-top: 52px; }
.home-lessons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.home-lessons > .course-heading,
.home-lessons > .faq-block,
.home-lessons > .resource-block { grid-column: 1 / -1; }
.home-lessons > .lesson { margin: 0; min-height: 260px; }
.home-lessons > .lesson:first-of-type { grid-column: 1 / -1; min-height: 220px; }
.main-copy section,
.side-box {
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(7,27,51,.09);
}
.main-copy .lesson:nth-of-type(3n+1) { background: linear-gradient(145deg, #fffdf8, #f8efe2); }
.main-copy .lesson:nth-of-type(3n+2) { background: linear-gradient(145deg, #fff, #f1f5f8); }
.main-copy .lesson:nth-of-type(3n) { background: linear-gradient(145deg, #fffdf8, #f4ead6); }
.lesson-no {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(125,34,56,.09);
}
.side-box {
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf8, #eee3cf);
  border-top-width: 0;
}
.side-box::before {
  content: "";
  display: block;
  height: 7px;
  margin: -25px -25px 22px;
  background: linear-gradient(90deg, var(--school-red), var(--school-gold), var(--school-navy));
}
.card-list { gap: 11px; }
.card {
  padding: 16px 15px 15px 18px;
  border: 1px solid rgba(7,27,51,.10);
  border-radius: 11px;
  background: rgba(255,255,255,.67);
  box-shadow: 0 6px 16px rgba(7,27,51,.045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card::before { left: auto; right: 13px; top: 18px; width: 7px; height: 7px; }
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(199,164,90,.75);
  background: #fff;
  box-shadow: 0 10px 22px rgba(7,27,51,.09);
}
.card strong { padding-right: 16px; }

/* Recruitment status */
.recruitment-status {
  padding: 38px 0 0;
  background: linear-gradient(180deg, #f6efe2, transparent);
}
.recruitment-status-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 26px 30px;
  border: 1px solid rgba(199,164,90,.42);
  border-radius: 18px;
  background: linear-gradient(145deg, #43172b, #7d2238);
  color: #fff;
  box-shadow: 0 18px 42px rgba(7,27,51,.16);
}
.recruitment-status-panel-male {
  background: linear-gradient(145deg, #0b2948, #17558f);
}
.recruitment-status-panel > span {
  color: var(--school-gold);
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}
.recruitment-status-panel h2 { margin-bottom: 5px; color: #fff; font-size: 22px; }
.recruitment-status-panel p { color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.7; }
.recruitment-status-panel > strong {
  padding: 11px 15px;
  border: 1px solid rgba(199,164,90,.70);
  border-radius: 999px;
  color: #fff1bf;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .recruitment-status-panel { grid-template-columns: 1fr; gap: 10px; padding: 24px; }
  .recruitment-status-panel > strong { justify-self: start; }
}

/* Rich subpage layout */
.subpage-hero .hero-inner {
  padding-top: 64px;
  padding-bottom: 68px;
}
.subpage-hero h1 {
  max-width: 820px;
  font-size: clamp(36px, 4.5vw, 56px);
}
.subpage-content-grid {
  position: relative;
  align-items: start;
  gap: 28px;
  padding-top: 58px;
  padding-bottom: 78px;
}
.subpage-content-grid::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 20px -34px 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 6% 8%, rgba(199,164,90,.16), transparent 27%),
    radial-gradient(circle at 94% 26%, rgba(125,34,56,.11), transparent 24%);
}
.subpage-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.subpage-main > .course-heading,
.subpage-main > .faq-block,
.subpage-main > .resource-block,
.subpage-main > .lesson-feature,
.subpage-main > .lesson-wide {
  grid-column: 1 / -1;
}
.subpage-main > .course-heading {
  margin: 0 0 6px;
  padding: 0 4px 16px;
  border-bottom: 1px solid rgba(7,27,51,.20);
}
.subpage-main > .lesson {
  position: relative;
  min-height: 235px;
  margin: 0;
  padding: 34px;
  border: 1px solid rgba(199,164,90,.28);
  border-left-width: 1px;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 18px 42px rgba(7,27,51,.15);
}
.subpage-main > .lesson-feature {
  min-height: 280px;
  padding: 42px;
}
.subpage-main > .lesson:nth-of-type(3n+1) {
  background: linear-gradient(145deg, #071b33, #153b63);
}
.subpage-main > .lesson:nth-of-type(3n+2) {
  background: linear-gradient(145deg, #43172b, #8b2d47);
}
.subpage-main > .lesson:nth-of-type(3n) {
  background: linear-gradient(145deg, #102b4d, #071b33);
}
.subpage-main > .lesson::before {
  content: "";
  position: absolute;
  right: -88px;
  top: -98px;
  width: 190px;
  height: 190px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .09;
  box-shadow: 0 0 0 34px currentColor, 0 0 0 68px currentColor;
  pointer-events: none;
}
.subpage-main > .lesson::after { color: rgba(255,255,255,.045); }
.subpage-main > .lesson h2 {
  color: #fff;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.5;
}
.subpage-main > .lesson p { color: rgba(244,247,251,.82); }
.subpage-main > .lesson .lesson-no {
  color: var(--school-gold);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(199,164,90,.30);
}
.subpage-main > .faq-block,
.subpage-main > .resource-block {
  margin: 0;
  border: 1px solid rgba(7,27,51,.12);
  border-left: 1px solid rgba(7,27,51,.12);
  border-radius: 18px;
  background: linear-gradient(145deg, #fffdf8, #eadfc9);
}
.subpage-side {
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(199,164,90,.38);
  border-radius: 18px;
  background: linear-gradient(160deg, #071b33, #173b61);
  color: #fff;
  box-shadow: 0 20px 48px rgba(7,27,51,.19);
}
.subpage-side::before {
  height: 8px;
  margin: -28px -28px 24px;
  background: linear-gradient(90deg, var(--school-red), var(--school-gold));
}
.subpage-side .side-kicker { color: var(--school-gold); }
.subpage-side h2 {
  color: #fff;
  border-bottom-color: rgba(199,164,90,.55);
}
.subpage-side .card {
  border-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.065);
  box-shadow: none;
}
.subpage-side .card:hover {
  border-color: rgba(199,164,90,.72);
  background: rgba(255,255,255,.12);
}
.subpage-side .card strong { color: #fff; }
.subpage-side .card span { color: #c8d2df; }
@media (max-width: 820px) {
  .subpage-hero .hero-inner { padding-top: 46px; padding-bottom: 52px; }
  .subpage-content-grid::before { inset: 16px 0 24px; }
  .subpage-main { grid-template-columns: 1fr; }
  .subpage-main > .course-heading,
  .subpage-main > .lesson,
  .subpage-main > .faq-block,
  .subpage-main > .resource-block { grid-column: 1; }
  .subpage-main > .lesson,
  .subpage-main > .lesson-feature { min-height: 0; padding: 29px 24px; }
  .subpage-side .card-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .subpage-side .card-list { grid-template-columns: 1fr; }
}

/* Softer Japanese typography */
body,
button,
input,
select,
textarea,
.brand-crest,
.footer-crest,
.brand-copy strong,
.eyebrow span,
h1,
h2,
.emblem-ring span,
.hero-emblem > p,
.course-heading strong,
.main-copy section::after,
.card strong,
.resource-list strong,
.footer-brand strong,
.block-heading h2,
.feature-card strong,
.panel-heading h2,
.choice-card strong,
.safety-card strong {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
@media (max-width: 920px) {
  .home-hero .hero-inner { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
  .hero-photo-frame, .hero-photo-frame img { min-height: 360px; height: 360px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-primary { grid-row: auto; grid-column: span 2; }
  .feature-red { grid-column: span 2; }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .site-header .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 12px;
    min-height: 62px;
    padding: 9px 0;
  }
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    max-height: calc(100vh - 126px);
    margin-top: 9px;
    padding: 12px 0 5px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid #d8ccb2;
    scrollbar-width: thin;
  }
  .site-header.menu-open .primary-nav { display: grid; }
  .primary-nav a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 7px 10px;
    border: 1px solid #e2d8c5;
    border-radius: 7px;
    background: #f8f2e6;
    color: var(--school-navy);
    line-height: 1.45;
    white-space: normal;
  }
  .site-header.menu-open .menu-toggle-lines i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.menu-open .menu-toggle-lines i:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle-lines i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .home-hero .hero-inner { grid-template-columns: 1fr; }
  .hero-photo-frame { min-height: 300px; order: 2; }
  .hero-photo-frame img { height: 300px; object-position: center 35%; }
  .home-pathways { padding-top: 42px; }
  .block-heading { grid-template-columns: 1fr; }
  .block-heading p { grid-column: 1; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-primary,
  .feature-red { grid-column: auto; }
  .feature-card { min-height: 220px; padding: 25px; }
  .feature-primary { padding: 30px; }
  .panel-heading { grid-template-columns: 1fr; }
  .choice-panel,
  .safety-panel { padding: 26px 20px; }
  .safety-photo-banner { grid-template-columns: 1fr; }
  .safety-photo-banner img { height: 230px; }
  .home-lessons { grid-template-columns: 1fr; }
  .home-lessons > .lesson,
  .home-lessons > .lesson:first-of-type { grid-column: 1; min-height: 0; }
  .side-box::before { margin: -20px -20px 20px; }
}
@media (max-width: 480px) {
  .primary-nav { grid-template-columns: 1fr 1fr; font-size: 11px; }
  .primary-nav a { min-height: 38px; padding-inline: 8px; }
  .hero-photo-frame { min-height: 230px; border-radius: 16px 3px 16px 3px; }
  .hero-photo-frame img { height: 230px; object-position: 58% center; }
  .hero-photo-frame figcaption { left: 16px; right: 16px; bottom: 15px; font-size: 13px; }
  .block-heading h2,
  .panel-heading h2 { font-size: 26px; }
  .feature-card strong,
  .feature-primary strong { font-size: 24px; }
  .choice-grid,
  .safety-grid { grid-template-columns: 1fr; }
  .choice-card-threep-one,
  .choice-card-threep-two,
  .choice-card-one-pair,
  .choice-card-sm,
  .choice-card-onsen,
  .choice-card-many,
  .choice-card-couple { grid-column: 1; }
  .choice-card { min-height: 96px; }
  .choice-photo, .choice-card-many .choice-photo { height: 150px; }
  .safety-photo-banner img { height: 190px; }
  .safety-photo-banner > div { padding: 24px 20px; }
  .safety-photo-banner strong { font-size: 20px; }
  .safety-card { min-height: 150px; }
}
.subpage-hero .hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 48px;
}
.subpage-photo-frame {
  min-height: 320px;
  border-radius: 18px 4px 18px 4px;
}
.subpage-photo-frame::before {
  background: linear-gradient(0deg, rgba(7, 27, 51, .88), transparent 52%);
}
.subpage-photo-frame img {
  height: 320px;
  object-position: center;
}
.subpage-photo-frame figcaption { font-size: 14px; }
.subpage-photo-one-man-one-woman img {
  object-position: left center;
  transform: scale(1.65);
  transform-origin: left center;
}
.subpage-photo-couple-application img {
  object-position: center 48%;
  transform: none;
}
.breadcrumbs {
  padding-top: 14px;
  padding-bottom: 2px;
  font-size: 12px;
  color: #5d6876;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li + li::before {
  content: "›";
  margin-right: 7px;
  color: #9b742f;
}
.breadcrumbs a {
  color: #173e69;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.official-home-link {
  padding: 26px 0 4px;
}
.official-home-link a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 28px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid rgba(155, 116, 47, .45);
  border-radius: 18px;
  background: linear-gradient(135deg, #fffaf0, #f1e5c5);
  color: #071b33;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(7, 27, 51, .08);
}
.official-home-link span {
  color: #9b742f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}
.official-home-link strong { font-size: clamp(19px, 2.4vw, 28px); }
.official-home-link p { margin: 3px 0 0; color: #4f5b68; }
.official-home-link b { grid-column: 2; grid-row: 1 / span 3; color: #173e69; white-space: nowrap; }
.site-directory {
  padding: 42px 0 10px;
  background: linear-gradient(180deg, rgba(241, 229, 197, .48), rgba(255, 250, 240, 0));
}
.directory-group { margin-top: 28px; }
.directory-group h3 {
  margin: 0 0 12px;
  color: #173e69;
  font-size: 17px;
}
.directory-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.directory-links a {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 13px 15px;
  border: 1px solid rgba(23, 62, 105, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
  color: #071b33;
  text-decoration: none;
}
.directory-links a:hover { border-color: #9b742f; transform: translateY(-1px); }
.directory-links strong { color: #9b742f; font-size: 12px; }
.directory-links span { font-size: 13px; line-height: 1.55; }
.footer-updated {
  margin: 0;
  color: #cfdae7;
  font-size: 11px;
  white-space: nowrap;
}
@media (max-width: 920px) {
  .subpage-hero .hero-inner {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
  }
  .subpage-photo-frame,
  .subpage-photo-frame img {
    min-height: 280px;
    height: 280px;
  }
}
@media (max-width: 820px) {
  .directory-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .official-home-link a { grid-template-columns: 1fr; }
  .official-home-link b { grid-column: auto; grid-row: auto; }
  .subpage-hero .hero-inner { grid-template-columns: 1fr; }
  .subpage-photo-frame {
    min-height: 250px;
    height: 250px;
    order: 2;
  }
  .subpage-photo-frame img {
    min-height: 250px;
    height: 250px;
    object-position: center 40%;
  }
}
@media (max-width: 480px) {
  .breadcrumbs { padding-top: 10px; }
  .directory-links { grid-template-columns: 1fr; }
  .official-home-link a { padding: 18px; }
  .footer-updated { white-space: normal; }
  .subpage-photo-frame {
    min-height: 210px;
    height: 210px;
  }
  .subpage-photo-frame img {
    min-height: 210px;
    height: 210px;
    object-position: center;
  }
}


/* rankouparty.jp rebuild */
.school-notice { letter-spacing: 0; }
.brand-copy strong { letter-spacing: .08em; }
.hero-panel .lead { max-width: 760px; }
.hero-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 18px 34px rgba(0,0,0,.24);
}
.lesson p + p { margin-top: 10px; }
.safe-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--school-red);
  border-radius: 8px;
  background: #fff8ef;
}
.faq-block h2 { margin-top: 0; }
@media (max-width: 820px) {
  .hero-image { max-height: 240px; }
}
