/* Peach & White presentation. */
@import url("/yayasan-opa/assets/fonts/noto-sans-jp-names.css?opa_v=87d45fa0e5b6");
@font-face {
  font-family: "Raleway";
  src: url("/yayasan-opa/assets/fonts/raleway-latin.woff2?opa_v=87d45fa0e5b6") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --paper: #ffffff;
  --white: #ffffff;
  --ink: #191919;
  --muted: #424242;
  --accent: #8e3f2d;
  --tint: #fff0e9;
  --line: #e5d6cf;
  --sans: Arial, "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --serif: var(--sans);
}
body { font-size: 18px; line-height: 1.8; }
.arrival-story { max-width: 1120px; }
.arrival-story-heading { max-width: 820px; margin-bottom: 35px; }
.arrival-story-heading h2 { font-size: clamp(32px,4vw,52px); line-height: 1.2; margin: 12px 0 22px; }
.arrival-story-heading > p:last-child { color: var(--muted); }
.arrival-story-heading .arrival-impact { font-size: clamp(23px,2.4vw,30px); font-weight: 800; line-height: 1.5; color: #17324f; margin: 0 0 24px; }
.archive-photo-count { display: inline-block; margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--line); font-size: 15px; color: var(--accent); font-weight: 700; white-space: nowrap; }
.archive-photo { display: block; width: 100%; min-width: 0; margin: 0; }
.archive-photo-featured { margin-bottom: 36px; }
.archive-photo-frame { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 7px; background: #f7f4f1; cursor: default; overflow: hidden; }
.archive-photo-frame img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.archive-photo-frame:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.photo-enlarge { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; display: grid; place-items: center; color: var(--ink); background: #fff; border-radius: 50%; font-size: 19px; }
.archive-photo figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-size: 12px; color: #5a5a5a; line-height: 1.5; }
.archive-photo figcaption > span:first-child { color: var(--accent); font-weight: 700; white-space: nowrap; }
.archive-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.archive-photo-dialog { width: min(1100px,calc(100% - 32px)); max-width: 1100px; max-height: 94dvh; padding: 20px; }
.archive-photo-dialog .dialog-heading { margin-bottom: 12px; }
.archive-photo-dialog h2 { font-size: 18px; margin: 0; }
.archive-photo-full { display: block; max-width: 100%; width: auto; height: auto; max-height: 72dvh; object-fit: contain; margin: 0 auto; }
.archive-viewer-controls { display: flex; justify-content: center; align-items: center; gap: 25px; margin-top: 16px; font-size: 15px; }
.archive-viewer-controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--tint); color: var(--ink); cursor: pointer; font-size: 22px; }
@media(max-width:980px) { .archive-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; } }
@media(max-width:680px) { .archive-photo-grid { grid-template-columns: 1fr; gap: 16px; } .arrival-story-heading { margin-bottom: 26px; } .archive-photo-dialog { padding: 14px; } .archive-photo-dialog h2 { font-size: 16px; } }
.partner-page { padding-top: 50px; }
.partner-opa-logos { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.partner-opa-logos img { display: block; width: 100%; height: auto; max-height: 190px; object-fit: contain; }
.partner-category { padding-top: 55px; }
.partner-category h1, .partner-category h2 { color: var(--accent); font-size: clamp(27px,3vw,42px); line-height: 1.5; margin-bottom: 28px; }
.partner-support-list, .partner-other-list { list-style: none; padding: 0; margin: 0; }
.partner-support-list li, .partner-other-list li { font-size: 21px; font-weight: 700; color: #17324f; line-height: 1.9; margin-bottom: 22px; overflow-wrap: anywhere; }
.partner-other-list img { width: auto; height: auto; max-width: min(335px,100%); }
.hokazono-partner { display: flex; align-items: center; gap: 32px; }
.hokazono-mark { position: relative; width: 140px; height: 180px; overflow: hidden; flex-shrink: 0; }
.hokazono-mark img { position: absolute; width: 360px; height: auto; max-width: none; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.hokazono-partner h3 { font-size: clamp(26px,4vw,50px); font-weight: 800; line-height: 1.2; color: #17324f; margin: 0; }
.home-latest-news { border-top: 1px solid var(--line); }
.home-latest-news h2 { font-size: clamp(36px,4vw,54px); font-weight: 800; color: var(--accent); text-align: center; margin-bottom: 28px; }
.home-latest-news p, .home-latest-news > a { display: block; text-align: center; }
@media (max-width: 680px) { .partner-opa-logos { gap: 20px; padding-bottom: 30px; } .partner-opa-logos img { max-height: 115px; } .partner-category { padding-top: 36px; } .partner-support-list li, .partner-other-list li { font-size: 19px; } .hokazono-partner { gap: 15px; } .hokazono-mark { width: 90px; height: 140px; } .hokazono-mark img { width: 280px; } }
.partners-section { border-top: 1px solid var(--line); }
.partners-heading { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 20px; margin-bottom: 30px; }
.partners-heading h2 { grid-column: 2; margin: 0; text-align: center; font-size: clamp(40px, 4vw, 54px); font-weight: 800; color: var(--accent); }
.partners-pause { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.partners-pause input { width: 18px; height: 18px; accent-color: var(--accent); }
.partners-window { overflow: hidden; padding-block: 18px; }
.partners-track { display: flex; width: max-content; animation: partners-right 55s linear infinite; }
.partners-list { display: flex; align-items: center; gap: 56px; flex-shrink: 0; list-style: none; padding: 0 56px 0 0; margin: 0; }
.partners-list li { flex: 0 0 auto; max-width: 310px; margin: 0; font-family: var(--sans); font-size: 21px; font-weight: 700; line-height: 1.8; color: #17324f; overflow-wrap: anywhere; word-break: normal; }
.partner-logo { display: block; width: auto; max-width: 270px; height: auto; max-height: 140px; object-fit: contain; }
.partners-section:has(.partners-pause input:checked) .partners-track, .partners-window:hover .partners-track, .partners-window:focus .partners-track { animation-play-state: paused; }
@keyframes partners-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 680px) { .partners-list li { font-size: 20px; max-width: 260px; } .partners-list { gap: 36px; padding-right: 36px; } .partner-logo { max-width: 240px; } }
@media (max-width: 680px) { .partners-heading { grid-template-columns: 1fr; gap: 14px; } .partners-heading h2, .partners-pause { grid-column: 1; justify-self: center; } }
@media (prefers-reduced-motion: reduce) { .partners-track { animation: none; } .partners-window { overflow-x: auto; } .partners-list[aria-hidden] { display: none; } .partners-pause { display: none; } }
main > section, main > section > .wrap { min-width: 0; }
.split-grid > *, .board-card > div, .teacher-info, .contact-grid > *, .footer-main > * { min-width: 0; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -.035em; }
h1 { font-size: clamp(40px, 4.25vw, 62px); line-height: 1.12; }
h2 { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.25; }
h3 { font-size: 25px; line-height: 1.35; }
em, .hero h1 em { color: var(--ink); }
.eyebrow { font-size: 12px; line-height: 1.6; letter-spacing: .11em; font-weight: 700; }
.lead, .hero .lead { font-size: 20px; line-height: 1.8; color: var(--ink); }
.topbar { background: #fff0e9; color: #191919; border-bottom: 1px solid var(--line); font-size: 12px; }
.topbar > .wrap { min-height: 38px; }
.language-switch { gap: 24px; }
.language-switch a { font-weight: 600; }
.site-header { background: rgba(255,255,255,.99); }
.header-main { min-height: 104px; }
.brand-wordmark strong, .brand-wordmark small { font-size: 24px; font-weight: 700; color: #191919; }
.brand-wordmark small { letter-spacing: .025em; }
.header-motto { font-family: var(--sans); font-style: normal; font-size: 15px; font-weight: 500; }
.primary-nav { min-height: 60px; gap: 14px; }
.primary-nav > a { font-size: 15px; color: #262626; padding: 17px 0; }
.primary-nav > a[aria-current] { color: #191919; }
.primary-nav > a[aria-current]:after { background: #a34c35; height: 3px; }
.button { background: #edac98; color: #191919; border-color: #edac98; border-radius: 4px; font-size: 16px; min-height: 56px; padding: 16px 23px; font-weight: 700; box-shadow: none; }
.button:hover:not(:disabled) { background: #e89b82; border-color: #e89b82; }
.text-link { font-size: 16px; color: #191919; border-color: #a96551; }
.hero { display: grid; grid-template-columns: 1fr; gap: 36px; padding-block: 56px 68px; }
.hero > div:first-child { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); column-gap: 65px; align-items: start; }
.hero > div:first-child > .eyebrow { grid-column: 1; grid-row: 1; }
.hero h1 { grid-column: 1; grid-row: 2 / 5; margin-top: 18px; font-size: clamp(42px,4.2vw,60px); }
.hero .lead { grid-column: 2; grid-row: 2; margin-top: 20px; }
.hero .actions { grid-column: 2; grid-row: 3; gap: 16px; margin-top: 24px; }
.hero-note { grid-column: 2; grid-row: 4; font-size: 15px; margin-top: 22px; color: #333333; }
.hero-art { height: 285px; padding: 0; border-radius: 4px; background: #fff0e9; overflow: hidden; }
.hero-art > img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 50% 49%; border-radius: 0; }
.hero-art > p { position: absolute; z-index: 1; top: 18px; left: 22px; padding: 8px 14px; background: #ffffff; color: #191919; border-radius: 3px; font-size: 12px; margin: 0; }
.art-note { left: auto; right: 22px; bottom: 20px; border: 0; border-radius: 4px; box-shadow: none; background: #ffffff; }
.art-note span { font-family: var(--sans); font-size: 19px; font-weight: 600; }
.purpose-strip, .tinted { background: #fff0e9; }
.purpose-strip { padding-block: 38px; }
.purpose-strip article+article { border-color: #d7b9aa; }
.purpose-strip h3 { font-size: 25px; }
.purpose-strip p { font-size: 17px; line-height: 1.8; color: #333333; }
.step { font-size: 13px; }
.section-heading > p { font-size: 18px; max-width: 410px; color: #333333; }
.prose > p { color: #262626; font-size: 18px; line-height: 1.9; }
.education-note { background: #fff0e9; border-color: #a34c35; border-radius: 0; padding: 25px; }
.education-note h3 { font-size: 25px; }
.education-note p { font-size: 17px; color: #333333; }
.video-placeholder, .board-card, .teacher-card, .class-card, .partner-card, .contact-card { border-radius: 6px; }
.video-poster > span { font-size: 13px; background: #ffffff; color: #191919; border-radius: 4px; }
.video-copy h3 { font-size: 27px; }
.video-copy p:last-child { font-size: 17px; line-height: 1.8; color: #333333; }
.board-card { padding: 24px; gap: 25px; }
.board-card h3 { font-size: 28px; }
#people .board-hiro-name { font-family: "Raleway", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif; }
#people p.board-hiro-name[lang="ja"], .teacher-info > .kanji {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  color: #17324f;
  white-space: nowrap;
}
.board-card p:not(.eyebrow), .kanji { font-size: 16px; color: #333333; }
.board-photo { border-radius: 4px; }
.portrait-placeholder { background: #f9dfd2; color: #713422; }
.portrait-placeholder small { font-size: 13px; color: #333333; }
.partner-country { font-size: 23px; font-weight: 700; color: #191919; }
.partner-card h3 { font-size: 24px; }
.partner-card > p:last-child { font-size: 16px; line-height: 1.7; color: #333333; }
.partner-bridge > span { background: #f9dfd2; color: #753821; }
.partner-bridge > strong { font-size: 18px; color: #191919; }
.partnership-bottom { box-sizing: border-box; width: fit-content; max-width: 100%; margin-inline: auto; grid-template-columns: minmax(0,460px) auto; gap: 24px; padding: 24px; border: 2px solid #526b80; border-radius: 12px; background: #d9f3f8; }
.partnership-bottom > div:first-child { min-width: 0; }
.partnership-bottom h3 { font-size: 27px; }
.partnership-bottom p { font-size: 18px; color: #333333; }
html[lang="ja"] .partnership-bottom > div:first-child { container-type: inline-size; }
html[lang="ja"] .partnership-bottom > div:first-child h3 { font-size: min(27px,6.8cqi); white-space: nowrap; }
html[lang="ja"] .partnership-bottom > div:first-child p { font-size: min(18px,4.2cqi); white-space: nowrap; }
.availability { font-size: 14px !important; }
.class-card { padding: 32px; border: 3px solid #b98775; }
.class-card h2 { font-size: 48px; }
.class-card > p:not(.eyebrow) { font-size: 18px; color: #333333; }
.class-price strong { font-size: 29px; font-weight: 700; color: #191919; }
.class-price span { font-size: 15px; color: #333333; }
.notice { background: #fff0e9; border-color: #a34c35; color: #333333; font-size: 16px; line-height: 1.8; }
.feature-card { border-radius: 6px; }
.feature-card h3 { font-size: 26px; }
.feature-card p { font-size: 18px; color: #333333; }
.teacher-info h3 { font-size: 25px; }
.teacher-info h4 { font-size: 18px; color: #191919; }
.teacher-info > p:last-child { font-size: 17px; line-height: 1.8; color: #333333; }
.teacher-info > p:not(.kanji) { font-size: 17px; line-height: 1.8; color: #333333; margin-top: 12px; }
.teacher-profile { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.teacher-profile h5 { margin: 0 0 14px; font-size: 14px; line-height: 1.5; font-weight: 700; color: var(--accent); }
.teacher-profile ul { margin: 0; padding: 0; list-style: none; }
.teacher-profile li { font-size: 16px; line-height: 1.85; color: #333333; overflow-wrap: normal; word-break: normal; hyphens: none; }
.teacher-profile .profile-term { white-space: nowrap; }
.teacher-profile .profile-phrase { display: inline-block; white-space: nowrap; }
.teacher-profile:lang(ja) li { line-height: 2; }
.teacher-profile li + li { margin-top: 12px; }
@media (min-width:681px) and (max-width:1180px) { .teacher-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:680px) { .teacher-info > p:not(.kanji) { font-size: 18px; } .teacher-profile li { font-size: 17px; } }
.guest-note { background: #fff0e9; border-radius: 4px; font-size: 17px; }
.demo-panel { background: #fff0e9; border-radius: 6px; }
.demo-panel h2 { font-size: 35px; }
.demo-panel p:not(.eyebrow) { font-size: 18px; color: #333333; }
.demo-state { border-color: #c79781; border-radius: 4px; }
.schedule-list > div { font-size: 18px; border-color: #d7b9aa; }
.schedule-list span { font-size: 16px; color: #333333; }
.section-description { font-size: 18px; color: #333333; }
.route-card { border-radius: 6px; }
.route-card h2 { font-size: 36px; }
.route-card p:not(.eyebrow) { font-size: 18px; color: #333333; }
.route-index { font-family: var(--sans); font-size: 44px; font-weight: 700; color: #8e3f2d; }
.route-chips > span { font-size: 15px; background: #fff7f2; color: #191919; }
.source-link { font-size: 15px; }
.app-visual { background: #fff0e9; border-radius: 6px; }
.phone { background: #fff; border-color: #292929; box-shadow: 8px 12px 0 #edb69d; }
.phone-speaker { background: #292929; }
.phone h3 { font-size: 28px; }
.phone > small { font-size: 13px; color: #333333; }
.app-badge { background: #fff0e9; color: #191919; font-size: 15px; }
.timeline h2 { font-size: 31px; }
.timeline p { font-size: 18px; color: #333333; }
.organization-details dt { font-size: 16px; }
.organization-details dd { font-size: 18px; color: #333333; }
.organization-details dd small { font-size: 16px; }
.organization-officers { list-style: none; padding: 0; margin: 0; }
.organization-officers li + li { margin-top: 14px; }
.organization-officers .officer-name { white-space: nowrap; }
.organization-officers .officer-name[lang="ja"] { font-family: "Noto Sans JP", "Yu Gothic", sans-serif; font-weight: 700; }
.enrollment-contact.button { margin-top: 24px; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; max-width: 100%; }
.founder-note { background: #fff5ef; border-radius: 6px; }
.founder-heading h2 { font-size: 34px; font-weight: 700; }
.founder-note .founder-language { font-size: 19px; font-weight: 700; }
.founder-language span { font-size: 12px; color: #333333; }
.founder-note .founder-prose > p { font-size: 18px; line-height: 1.95; color: #262626; }
.founder-note .founder-japanese .founder-prose > p { line-height: 2.1; }
.founder-video { font-size: 16px; }
.founder-note .founder-signature p { font-size: 14px; line-height: 1.7; color: #333333; }
.founder-signature strong { font-size: 17px; color: #191919; }
.empty-state { background: #fff0e9; border-radius: 6px; }
.empty-state > p:not(.eyebrow) { font-size: 18px; color: #333333; }
.contact-card h2 { font-size: 32px; }
.contact-card > p:not(.eyebrow), .contact-card address { font-size: 18px; color: #333333; }
.contact-card .phone-link { font-size: 29px; color: #191919; font-weight: 700; }
.site-footer { background: #fff0e9; }
.footer-message, .footer-main address, .footer-contact p, .footer-contact a { font-size: 15px; color: #333333; }
.footer-main h3 { font-size: 15px; color: #191919; }
.site-footer .brand-wordmark strong, .site-footer .brand-wordmark small { font-size: 16px; }
.footer-bottom { font-size: 12px; color: #333333; }
dialog { background: #ffffff; }
.dialog-heading+h2 { font-size: 32px; }
dialog > p:not(.notice) { font-size: 18px; color: #333333; }
.residence-switch button { font-size: 16px; color: #191919; }
.residence-switch button[aria-pressed=true] { background: #edac98; color: #191919; border-color: #a65b44; }
.registration-fields legend, .registration-fields label { font-size: 16px; }
.registration-fields input { background: #f6f2ef; }
@media (min-width:981px) and (max-width:1180px) {
  .header-motto { display:none; }
  .menu-toggle { display:flex; align-items:center; gap:12px; padding:10px 0 10px 12px; background:none; border:0; color:#191919; font-size:14px; flex-shrink:0; }
  .menu-lines { width:22px; height:14px; border-block:1px solid #8e3f2d; position:relative; }
  .menu-lines:after { content:""; height:1px; position:absolute; left:0; top:5px; width:22px; background:#8e3f2d; }
  .primary-nav { display:none; }
  .primary-nav.is-open { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); min-height:0; padding-block:12px; }
  .primary-nav > a { font-size:14px; white-space:normal; }
  .primary-nav > a[aria-current]:after { display:none; }
}
@media (max-width:1180px) {
  .hero > div:first-child { column-gap:35px; }
  .hero .lead { font-size:18px; }
  .hero h1 { font-size:46px; }
  .board-card { padding:20px; gap:20px; }
  .board-card h3 { font-size:25px; }
  .teacher-info h3 { font-size:23px; }
  .partner-card h3 { min-height:68px; }
  .site-footer .brand-wordmark strong, .site-footer .brand-wordmark small { font-size:14px; }
}
@media (max-width:980px) {
  html { scroll-padding-top:115px; }
  .header-main { min-height:98px; }
  .brand-wordmark strong, .brand-wordmark small { font-size:21px; }
  .menu-toggle { font-size:14px; }
  .primary-nav > a { font-size:16px; padding-block:14px; white-space:normal; }
  .hero > div:first-child { grid-template-columns:1.15fr 1fr; column-gap:30px; }
  .hero h1 { font-size:42px; }
  .hero-art { height:240px; }
  .hero .button { font-size:15px; }
  .hero .text-link { font-size:15px; }
  .purpose-strip h3 { font-size:23px; }
  .purpose-strip .three-grid { grid-template-columns:1fr; gap:24px; }
  .purpose-strip article+article { border-left:0; padding-left:0; padding-top:24px; border-top:1px solid #d7b9aa; }
  .board-card h3 { font-size:23px; }
  .board-card p:not(.eyebrow) { font-size:15px; }
  .board-card .eyebrow { font-size:11px; }
  .partner-card > p:last-child { font-size:15px; min-height:51px; }
  .site-footer .brand-wordmark strong, .site-footer .brand-wordmark small { font-size:21px; }
  .footer-bottom { font-size:12px; }
}
@media (max-width:680px) {
  body { font-size:18px; }
  .topbar { font-size:10px; }
  .topbar > .wrap { min-height:34px; }
  .header-main { min-height:92px; }
  .brand-wordmark strong, .brand-wordmark small { font-size:16px; }
  .menu-toggle { font-size:12px; }
  .primary-nav > a { font-size:16px; }
  .hero { padding-block:36px 48px; gap:30px; }
  .hero > div:first-child { display:block; }
  .hero h1 { font-size:clamp(34px,9.1vw,44px); line-height:1.15; margin-top:20px; }
  .hero .lead { font-size:18px; line-height:1.8; margin-top:24px; }
  .hero .actions { gap:18px; }
  .hero-note { font-size:14px; margin-top:24px; }
  .hero-art { height:230px; width:100%; max-width:none; }
  .hero-art > p { font-size:11px; left:12px; top:12px; padding:6px 9px; }
  .art-note { right:12px; bottom:14px; padding:13px 16px; }
  .art-note span { font-size:16px; }
  .eyebrow { font-size:12px; }
  h2, .page-intro h2 { font-size:31px; }
  .page-intro h1 { font-size:38px; line-height:1.15; }
  .page-intro .lead { font-size:18px; }
  .button, .text-link { font-size:16px; }
  .purpose-strip p, .education-note p, .video-copy p:last-child { font-size:18px; }
  .purpose-strip h3 { font-size:25px; }
  .section-heading > p { font-size:18px; }
  .education-note { padding:20px; }
  .education-note h3 { font-size:24px; }
  .video-copy h3 { font-size:27px; }
  .board-card { padding:18px; gap:20px; }
  .board-card h3 { font-size:24px; }
  .board-card p:not(.eyebrow) { font-size:15px; line-height:1.7; }
  .board-card .eyebrow { font-size:11px; }
  .partner-card h3 { min-height:0; font-size:24px; }
  .partner-card > p:last-child { min-height:0; font-size:16px; }
  .partner-country { font-size:23px; }
  .partner-bridge > strong { font-size:18px; }
  .partnership-bottom h3 { font-size:26px; }
  .partnership-bottom p { font-size:18px; }
  .class-card { padding:24px; }
  .class-card h2 { font-size:43px; }
  .class-price strong { font-size:27px; }
  .class-price span { font-size:16px; }
  .class-card > p:not(.eyebrow), .feature-card p { font-size:18px; }
  .teacher-info { padding:23px; }
  .teacher-info h3 { font-size:28px; }
  .teacher-info h4 { font-size:18px; }
  .teacher-info > p:last-child { font-size:18px; }
  .guest-note { font-size:17px; padding:20px; }
  .demo-panel h2 { font-size:29px; }
  .demo-panel p:not(.eyebrow) { font-size:18px; }
  .schedule-list > div { font-size:16px; gap:15px; }
  .schedule-list span { font-size:16px; }
  .route-card h2 { font-size:32px; }
  .route-card p:not(.eyebrow) { font-size:18px; }
  .route-chips > span { font-size:15px; }
  .timeline h2 { font-size:28px; }
  .organization-details dt { font-size:16px; }
  .organization-details dd { font-size:18px; }
  .founder-heading h2 { font-size:28px; }
  .founder-note .founder-language { font-size:18px; flex-wrap:wrap; }
  .founder-language span { font-size:11px; }
  .founder-note .founder-prose > p { font-size:18px; line-height:1.9; }
  .founder-note .founder-japanese .founder-prose > p { line-height:2; }
  .founder-note .founder-signature p { font-size:13px; }
  .founder-signature strong { font-size:15px; }
  .contact-card .phone-link { font-size:24px; }
  .empty-state h2 { font-size:29px; }
  .site-footer .brand-wordmark strong, .site-footer .brand-wordmark small { font-size:15px; }
  .footer-message, .footer-main address, .footer-contact p, .footer-contact a { font-size:16px; }
  .footer-main h3 { font-size:16px; }
  .footer-bottom { font-size:12px; }
  .dialog-heading+h2 { font-size:28px; }
  .dialog-heading .eyebrow { font-size:11px; }
  .residence-switch button { font-size:14px; }
}

/* Partnership diagram with the reference's navy and gold frame. */
.app-demo { width: 100%; max-width: 500px; margin: 0 auto; min-width: 0; }
.app-demo > .eyebrow { margin-bottom: 18px; }
.app-demo video { display: block; width: 100%; max-width: 370px; height: auto; aspect-ratio: 750 / 1622; margin: 0 auto; background: #fff6ef; border: 1px solid var(--line); border-radius: 12px; }
.app-demo figcaption { font-size: 16px; line-height: 1.8; margin-top: 22px; }
.app-demo figcaption strong { font-size: 19px; }
.app-demo figcaption p { margin-top: 12px; }
.video-chapters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.video-chapters button { display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--line); border-radius: 6px; background: var(--tint); padding: 13px; font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer; color: var(--ink); }
.video-chapters button:hover { border-color: var(--accent); }
.video-chapters button span { font-size: 12px; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.video-links { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 22px; font-size: 15px; }
.video-links a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width:680px) { .video-chapters { grid-template-columns: 1fr; } .video-chapters button { font-size: 16px; } }
.partnership-orbit {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 92px;
  max-width: 1040px;
  padding: 80px 76px 100px;
  border: 0;
  border-radius: 0;
  background: #fff;
  align-items: start;
}
.partnership-orbit:after { content: ""; position: absolute; top: 75px; bottom: 75px; left: 50%; width: 1px; background: #d7d9dc; }
.partnership-orbit .partner-card { position: relative; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.partnership-orbit .partner-country { font-size: 20px; color: #17324f; letter-spacing: .08em; margin-bottom: 18px; }
.partnership-orbit .partnership-emblem { position: relative; width: 220px; height: 150px; margin: 0 auto 20px; overflow: hidden; }
/* Match the visible logo marks to 140px high, accounting for each source's whitespace. */
.partnership-orbit .indonesia-emblem img { position: absolute; width: 355.4px; height: auto; max-width: none; left: -66.7px; top: -66.1px; }
.partnership-orbit .japan-emblem img { position: absolute; width: 763.6px; height: auto; max-width: none; left: -13.6px; top: -7.9px; }
.partnership-orbit .partner-card h3 { display: flex; align-items: center; justify-content: center; min-height: 76px; font-size: 27px; line-height: 1.4; color: #17324f; }
.partnership-orbit .partner-role { display: flex; align-items: center; justify-content: center; min-height: 82px; padding: 14px 16px; margin-top: 22px; border-radius: 50px; background: #17324f; color: #fff; font-size: 19px; font-weight: 700; line-height: 1.5; }
.partnership-orbit .partner-japan .partner-role { background: #995e12; }
.partnership-orbit .partner-card .partner-description { max-width: 300px; margin: 22px auto 0; min-height: 0; font-size: 18px; line-height: 1.8; color: #242424; }
.partnership-orbit .partner-bridge { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; justify-items: center; gap: 8px; padding: 8px 0; width: 88px; background: #fff; }
.partnership-orbit .partner-bridge svg { width: 86px; }
.partnership-orbit .partner-bridge strong { color: #17324f; font-size: 16px; }
@media (max-width:980px) {
  .partnership-orbit { gap: 96px; padding: 58px 40px 90px; }
  .partnership-orbit .partner-card h3 { font-size: 23px; }
  .partnership-orbit .partner-role { padding-inline: 12px; font-size: 17px; }
  .partnership-orbit .partner-card .partner-description { font-size: 17px; }
  .partnership-orbit .partner-bridge { width: 90px; }
  .partnership-orbit .partner-bridge svg { width: 72px; }
}
@media (max-width:680px) {
  .partnership-orbit { grid-template-columns: 1fr; gap: 26px; max-width: 440px; padding: 34px 24px; }
  .partnership-orbit:after { display: none; }
  .partnership-orbit .partner-bridge { position: static; transform: none; width: auto; padding: 0; }
  .partnership-orbit .partner-country { font-size: 20px; }
  .partnership-orbit .partner-card h3 { min-height: 0; font-size: 25px; }
  .partnership-orbit .partner-role { min-height: 0; margin-top: 20px; padding: 14px 18px; font-size: 18px; }
  .partnership-orbit .partner-card .partner-description { font-size: 18px; margin-top: 18px; }
  .partnership-orbit .partner-bridge strong { font-size: 18px; }
}
.hero-art.hero-photo { height: auto; aspect-ratio: 3 / 2; }
.hero-art.hero-photo > img { position: static; display: block; width: 100%; height: auto; object-fit: contain; }
.pathway-updated { margin-top: 18px; font-size: 14px; color: var(--muted); }
.pathway-jump { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.pathway-jump > a { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--tint); border: 1px solid var(--line); border-radius: 6px; font-size: 19px; font-weight: 700; }
.pathway-jump > a > span:first-child { color: var(--accent); font-size: 14px; }
.pathway-jump > a > span:last-child { margin-left: auto; }
.pathway-section { scroll-margin-top: 20px; }
.pathway-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.pathway-card { padding: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff; min-width: 0; }
.pathway-card h3 { margin-bottom: 18px; font-size: 27px; }
.pathway-card p, .pathway-highlight p, .pathway-flow p, .pathway-consult p, .pathway-sources > p { font-size: 18px; line-height: 1.85; }
.pathway-card ul, .pathway-highlight ul { margin: 20px 0 0; padding-left: 23px; font-size: 17px; line-height: 1.85; }
.pathway-card li + li, .pathway-highlight li + li { margin-top: 14px; }
.pathway-card .source-link, .pathway-highlight .source-link { display: block; margin-top: 20px; line-height: 1.7; overflow-wrap: anywhere; }
.pathway-highlight { margin-top: 28px; padding: 30px; background: #fff7f2; border-left: 4px solid var(--accent); border-radius: 0 6px 6px 0; }
.pathway-highlight h3 { margin: 8px 0 16px; font-size: 27px; }
.pathway-next { margin-top: 28px; }
.pathway-flow { min-width: 0; margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.pathway-next .pathway-flow { margin-top: 0; }
.pathway-flow h3 { margin-bottom: 22px; font-size: 25px; }
.pathway-flow ol { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; list-style: none; counter-reset: pathstep; margin: 0 0 22px; padding: 0; }
.pathway-flow li { counter-increment: pathstep; padding: 16px; background: var(--tint); font-size: 16px; line-height: 1.7; }
.pathway-flow li:before { content: counter(pathstep, decimal-leading-zero); display: block; color: var(--accent); font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.pathway-next .pathway-flow ol, #ikusei .pathway-flow ol { grid-template-columns: repeat(3,minmax(0,1fr)); }
.pathway-next .pathway-flow li { padding: 12px; font-size: 15px; }
.pathway-footnote { font-size: 16px; margin-top: 22px; }
.pathway-consult { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.pathway-consult > div { max-width: 790px; }
.pathway-consult h2 { margin-bottom: 18px; }
.pathway-consult .button { flex-shrink: 0; }
.pathway-sources h2 { font-size: 30px; margin-bottom: 18px; }
.pathway-source-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 30px; margin-top: 25px; }
.pathway-source-list a { overflow-wrap: anywhere; }
@media (max-width:980px) {
  .pathway-grid { gap: 20px; }
  .pathway-card { padding: 24px; }
  .pathway-next { grid-template-columns: 1fr; }
  .pathway-consult { align-items: flex-start; flex-direction: column; }
}
@media (max-width:680px) {
  .pathway-jump { grid-template-columns: 1fr; gap: 10px; }
  .pathway-jump > a { padding: 15px 20px; font-size: 18px; }
  .pathway-grid, .pathway-source-list { grid-template-columns: 1fr; }
  .pathway-card, .pathway-highlight, .pathway-flow { padding: 22px; }
  .pathway-card h3, .pathway-highlight h3 { font-size: 25px; }
  .pathway-card ul, .pathway-highlight ul { font-size: 18px; }
  .pathway-flow ol, .pathway-next .pathway-flow ol, #ikusei .pathway-flow ol { grid-template-columns: 1fr; gap: 10px; }
  .pathway-flow li, .pathway-next .pathway-flow li { font-size: 16px; padding: 14px 16px; }
  .pathway-flow li:before { display: inline; margin-right: 12px; }
}
.menu-toggle { display: none; }
@media (max-width:1180px) {
  .site-header { position: static; }
  .primary-nav, .primary-nav.is-open {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 20px;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding-block: 10px;
    align-items: stretch;
  }
  .primary-nav > a {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 1.45;
    white-space: normal;
    min-height: 48px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav > a[aria-current] { color: var(--accent); }
}
@media (max-width:680px) {
  .primary-nav, .primary-nav.is-open { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}

/* Clear navigation and readable text throughout the bilingual site. */
.topbar { font-size: 14px; color: #17324f; }
.topbar > .wrap { min-height: 44px; }
.language-switch a { font-size: 14px; font-weight: 700; }
.primary-nav, .primary-nav.is-open { display: grid; grid-template-columns: repeat(9,minmax(0,1fr)); gap: 8px; padding-block: 12px; align-items: stretch; }
.primary-nav > a { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 66px; padding: 12px 8px; border: 1px solid #cfb5a9; border-radius: 7px; background: #fff6f0; color: #17324f; font-size: 16px; font-weight: 700; line-height: 1.5; white-space: normal; text-align: center; }
.primary-nav > a[aria-current] { background: #17324f; border-color: #17324f; color: #fff; }
.primary-nav > a[aria-current]:after { display: none; }
.primary-nav > a:hover:not([aria-current]) { background: #ffe4d8; border-color: #8e3f2d; color: #17324f; }
.primary-nav > a:focus-visible { outline: 3px solid #8e3f2d; outline-offset: 3px; }
main p:not(.eyebrow), main li, main dd, main address { font-size: 19px; line-height: 1.85; color: #202b3a; }
main p.lead, main .hero p.lead, main .page-intro p.lead { font-size: 21px; line-height: 1.8; }
.eyebrow, .board-card .eyebrow { font-size: 14px; color: #783522; font-weight: 700; letter-spacing: .07em; }
.teacher-profile h5 { font-size: 17px; font-weight: 700; color: #783522; }
.teacher-profile li { font-size: 19px; color: #202b3a; }
.teacher-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.teacher-image { max-height: 420px; object-position: center 25%; }
.teacher-info h4 { font-size: 20px; font-weight: 700; }
.button, .hero .button, .text-link, .hero .text-link { font-size: 18px; font-weight: 700; }
.class-price span, .source-link, .route-chips > span, .registration-fields legend, .registration-fields label { font-size: 17px; }
.organization-details dt { font-size: 18px; font-weight: 700; color: #17324f; }
.founder-note .founder-prose > p { font-size: 19px; color: #202b3a; }
.founder-note .founder-japanese .founder-prose > p { line-height: 2.1; }
.founder-language span, .founder-note .founder-signature p { font-size: 16px; }
.archive-photo figcaption { font-size: 14px; color: #394657; }
.footer-message, .footer-main address, .footer-contact p, .footer-contact a { font-size: 17px; line-height: 1.8; color: #202b3a; }
.footer-main h3 { font-size: 18px; font-weight: 700; color: #17324f; }
.footer-bottom { font-size: 14px; color: #394657; }
@media (max-width:1180px) { .primary-nav, .primary-nav.is-open { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width:680px) {
  .primary-nav, .primary-nav.is-open { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .primary-nav > a { font-size: 17px; min-height: 64px; }
  .teacher-grid { grid-template-columns: 1fr; }
  .language-switch { gap: 14px; }
  .topbar > .wrap { gap: 10px; flex-wrap: wrap; padding-block: 8px; }
}

/* Half-body portraits and distinct teacher biography panels. */
.teacher-image[src*="teacher-hiro.jpg"], .teacher-image[src*="teacher-otsubo.jpg"] {
  width: 100%; height: 380px; max-height: none; aspect-ratio: auto;
  object-fit: contain; object-position: center; padding: 18px;
  background: #f2e9e2;
}
.teacher-profile { margin-top: 26px; padding: 24px 16px; border: 1px solid #dfbfac; border-radius: 12px; background: #ffeddd; }
.teacher-profile h5 { font-size: 26px; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; color: #17324f; margin-bottom: 22px; }
.teacher-profile h5:after { content: ""; display: block; width: 48px; height: 4px; background: #a15133; margin-top: 12px; border-radius: 2px; }
.teacher-profile li { color: #202b3a; }
@media(max-width:680px) {
  .teacher-image[src*="teacher-hiro.jpg"], .teacher-image[src*="teacher-otsubo.jpg"] { height: 340px; padding: 16px; }
  .teacher-profile { padding: 22px 12px; }
  .teacher-profile h5 { font-size: 24px; }
  .teacher-profile:lang(ja) li { font-size: 17px; line-height: 2; }
}

/* Four compact teacher portraits, with no added frame around the photographs. */
.teacher-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; align-items: start; }
.teacher-portrait { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.teacher-portrait > img.teacher-image { display: block; width: 100%; height: 100%; max-height: none; padding: 0; aspect-ratio: auto; object-fit: cover; object-position: center; background: transparent; }
.teacher-portrait > img[src*="teacher-umeda.jpg"] { position: absolute; width: 130%; height: 130%; max-width: none; left: -15%; top: -20%; }
.teacher-portrait > img.teacher-image[src*="teacher-04.jpeg"] { position: absolute; width: 145%; height: 145%; max-width: none; left: -22.5%; top: -40%; object-fit: cover; object-position: center; }
.teacher-portrait > .portrait-placeholder { width: 100%; height: 100%; max-height: none; aspect-ratio: auto; }
.teacher-info { padding: 20px 16px; }
.teacher-profile { padding: 22px 10px; }
.teacher-profile h5 { font-size: 24px; }
@media(min-width:1181px) { .teacher-profile:lang(ja) li { font-size: 17px; } }
@media(max-width:1180px) { .teacher-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) { .teacher-grid { grid-template-columns: 1fr; } .teacher-portrait { max-height: 440px; } }

/* Compact arrival milestone beneath the photo gallery. */
.arrival-milestone { margin: 26px 0 0; padding: 14px 0; text-align: center; border: 0; border-radius: 0; background: transparent; }
main .arrival-milestone .milestone-intro { margin: 0 auto 10px; max-width: 620px; font-size: clamp(16px,1.6vw,19px); font-weight: 700; line-height: 1.5; color: #17324f; letter-spacing: .02em; }
.milestone-counter { display: flex; justify-content: center; align-items: baseline; gap: 0; color: #17324f; font-variant-numeric: tabular-nums; }
.milestone-counter > span { font-size: clamp(32px,4vw,44px); font-weight: 800; line-height: 1.2; }
.milestone-counter > b { color: #8e3f2d; font-size: clamp(28px,3.5vw,38px); line-height: 1; margin-left: 3px; }
main .arrival-milestone .milestone-label { margin: 5px 0 0; font-size: clamp(16px,1.6vw,19px); font-weight: 700; letter-spacing: .04em; color: #17324f; line-height: 1.4; }

/* Give the Japanese founder message the same visual clarity as the Indonesian copy. */
.founder-note .founder-japanese .founder-prose > p { font-family: "Yu Gothic", "Meiryo", sans-serif; font-weight: 600; color: #202b3a; }

/* Emphasize the foundation name in the organization overview. */
.organization-details > div:first-child dt { font-weight: 800; }
.organization-details > div:first-child dd, .organization-details > div:first-child dd small { font-weight: 600; }

/* Current OPA identity with the full wordmark on the Partner page. */
.partner-foundation-brand { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; text-align: center; color: #191919; }
.partner-opa-logos .partner-logo-frame { position: relative; display: block; width: min(260px,100%); height: auto; aspect-ratio: 26 / 17; }
.partner-opa-logos .partner-logo-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
.partner-foundation-symbol { display: block; position: relative; overflow: hidden; width: 130px; aspect-ratio: 710 / 510; }
.partner-opa-logos .partner-foundation-symbol img { position: absolute; width: 176.619718%; max-width: none; max-height: none; height: auto; left: -42.253521%; top: -48.039216%; }
.partner-foundation-brand > strong { margin-top: 8px; font-size: clamp(17px,2.3vw,28px); font-weight: 800; line-height: 1.25; }
.partner-foundation-subtitle { font-size: clamp(11px,1.5vw,18px); font-weight: 600; line-height: 1.4; }
@media(max-width:680px) { .partner-foundation-symbol { width: 82px; } .partner-foundation-brand { gap: 4px; } .partner-foundation-brand > strong { margin-top: 4px; } }

/* Text-only emphasis for the OPA JAPAN partnership message. */
#opa-japan .section-heading { align-items: center; gap: 48px; }
#opa-japan .section-heading > p { width: 100%; max-width: 440px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #17324f; }
.partnership-promo-title { display: block; color: #17324f; font-size: clamp(26px,3vw,38px); font-weight: 700; line-height: 1.18; letter-spacing: -.025em; margin-bottom: 18px; }
.partnership-promo-title strong { color: #164b52; font-weight: 800; }
.partnership-promo-copy { display: block; font-size: 19px; font-weight: 600; line-height: 1.7; color: #17324f; }
@media(max-width:760px) { #opa-japan .section-heading { gap: 24px; } #opa-japan .section-heading > p { max-width: none; } }

/* Compact news articles with one consistent photo and video grid. */
.home-latest-news { max-width: 1040px; }
.home-latest-news h2 { font-size: clamp(30px,3vw,38px); margin-bottom: 24px; }
.latest-news-story { padding: 8px 0 26px; margin-bottom: 24px; border-bottom: 3px solid #526b80; }
.latest-news-story:last-of-type { border-bottom: 0; }
.latest-news-actions { display: flex; justify-content: center; }
.latest-news-heading { margin: 0 0 18px; max-width: 900px; }
.home-latest-news .latest-news-heading .eyebrow { text-align: left; margin: 0 0 8px; font-size: 13px; }
.latest-news-heading h3 { margin: 0; font-size: clamp(21px,2vw,26px); line-height: 1.5; color: #17324f; overflow-wrap: anywhere; }
.latest-news-brand { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.latest-news-brand img { width: 48px; height: 56px; object-fit: contain; flex-shrink: 0; }
.latest-news-brand > strong { font-size: 22px; line-height: 1.3; color: #17324f; font-weight: 800; }
.home-latest-news .latest-news-copy p, .home-latest-news .puti-news-profile p { text-align: left; font-size: 17px; line-height: 1.75; margin: 0 0 10px; color: #202b3a; overflow-wrap: anywhere; }
.latest-news-copy { margin-bottom: 18px; }
.news-media-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; align-items: start; }
.news-media-grid > img, .news-media-grid > video, .news-media-grid > .puti-youtube-player { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; }
.news-media-grid > img { object-fit: cover; object-position: 50% 20%; }
.news-media-grid > video, .puti-youtube-player { background: #152d43; }
.puti-youtube-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.puti-news-profile { max-width: 900px; margin-bottom: 20px; }
.puti-news-profile h4 { margin: 0 0 12px; font-size: 22px; color: #17324f; line-height: 1.5; }
.puti-news-profile h4 span { display: block; margin-top: 2px; font-size: 18px; font-weight: 600; }
.puti-news-profile h5 { margin: 0 0 8px; font-size: 18px; color: #17324f; }
.puti-news-profile ul { margin: 0 0 14px; padding-left: 22px; }
.home-latest-news .puti-news-profile li { font-size: 17px; line-height: 1.75; }
.puti-video-link { display: inline-flex; margin-top: 16px; font-size: 16px; }
@media(max-width:980px) { .news-media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) { .news-media-grid { grid-template-columns: 1fr; gap: 14px; } .latest-news-story { padding-bottom: 22px; margin-bottom: 22px; } }

.video-poster.video-coming-soon { display: grid; place-items: center; height: auto; min-height: 230px; aspect-ratio: 16 / 9; background: #fff; }
.video-poster.video-coming-soon > img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }

/* Bold Japanese home introduction and nationwide learning note. */
html[lang="ja"] #home .lead, html[lang="ja"] #home .hero-note { font-weight: 700; }

/* Consistent stronger text across both languages and every page. */
body { font-weight: 600; }
main :is(p,li,dd,dt,small,address,label,legend,figcaption), dialog :is(p,li,small,label,legend), .site-footer :is(p,small,address,span), .topbar { font-weight: 600; }
main :is(a,button), dialog :is(a,button), .site-footer a { font-weight: 700; }
.organization-details dt, .teacher-info > .kanji, .founder-signature strong, .partner-foundation-subtitle, .footer-bottom { font-weight: 700; }

/* Foundation journey moved below the About introduction. */
.journey-intro { padding-top: 0; padding-bottom: 30px; }
.journey-intro h2 { margin: 12px 0 20px; max-width: 800px; font-size: clamp(28px,3vw,40px); line-height: 1.3; }
.journey-intro .lead { max-width: 850px; }
main:empty { min-height: 220px; }

/* Numbered partner directory with identifiable website and information links. */
.partner-directory-list, .partner-support-list.partner-directory-list { display: block; list-style: decimal-leading-zero outside; padding-left: 2.4em; margin: 24px 0 0; }
.partner-directory-list > li { padding: 12px 0 16px 9px; margin: 0; color: #17324f; font-size: 23px; line-height: 1.7; overflow-wrap: anywhere; }
.partner-directory-list > li::marker { color: #8e3f2d; font-weight: 800; font-size: .85em; }
.partner-directory-list a { color: #17324f; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.partner-directory-list a:hover { color: #8e3f2d; }
.partner-directory-list a:focus-visible { outline: 3px solid #8e3f2d; outline-offset: 5px; }
.partner-link-arrow { display: inline-block; margin-left: 8px; font-size: .8em; }
.partner-link-type { display: block; margin-top: 5px; font-size: 14px; color: #485665; }
.partner-education-list .hokazono-partner { margin: 0; }
.partner-education-list h3 a { text-decoration-thickness: 2px; }
@media(max-width:680px) { .partner-directory-list > li { font-size: 19px; padding-left: 4px; } .partner-directory-list, .partner-support-list.partner-directory-list { padding-left: 2em; } }


.partner-directory-list.partner-plain-list { list-style: none; padding-left: 0; }
.partner-plain-list > li { padding-left: 0; }

/* Decorative markers only for registered support partners. */
.partner-support-list.partner-directory-list { list-style-type: "◎  "; padding-left: 1.8em; }
.partner-support-list.partner-directory-list > li::marker { content: "◎  "; color: #8e3f2d; font-weight: 800; font-size: 1em; }

/* Matching decorative markers for the company and professional partners. */
.partner-directory-list.partner-professional-list { list-style-type: "◎  "; padding-left: 1.8em; }
.partner-directory-list.partner-professional-list > li::marker { content: "◎  "; color: #8e3f2d; font-weight: 800; font-size: 1em; }

/* Readable, colorful shortcut to the founder message after timeline item 03. */
.founder-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
main .timeline .founder-jump-label { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-family: "Yu Gothic", "Meiryo", Arial, sans-serif; font-size: clamp(21px,2.2vw,26px); font-weight: 700; line-height: 1.5; color: #17636b; }
.founder-jump .founder-jump-button { background: #17636b; border: 1px solid #17636b; color: #fff; font-size: 19px; font-weight: 800; padding: 12px 30px; min-height: 48px; border-radius: 7px; }
.founder-jump .founder-jump-button:hover { background: #104b51; border-color: #104b51; }
.founder-jump .founder-jump-button:focus-visible { outline: 3px solid #17636b; outline-offset: 4px; }
#founder-message { scroll-margin-top: 45px; }

/* Job-offer news above the archive gallery. */
.news-offers { margin-bottom: 54px; }
.news-offers h2 { margin: 0 0 12px; color: #17324f; font-size: clamp(27px,3vw,36px); }
.news-offer-list { list-style-type: "▲  "; padding-left: 1.6em; margin: 0; }
.news-offer-list > li { padding-left: 3px; margin-bottom: 5px; font-size: clamp(19px,2vw,23px); font-weight: 700; color: #17324f; line-height: 1.6; }
.news-offer-list > li::marker { content: "▲  "; color: #c3232b; font-size: .8em; }
@media(max-width:680px) { .news-offers { margin-bottom: 38px; } }

.page-intro.news-archive-intro { padding-bottom: 24px; }
.page-intro.news-archive-intro h1 { margin-bottom: 10px; }

/* Consistent, readable bilingual navigation with controlled line breaks. */
.primary-nav > a { font-family: Arial, "Yu Gothic", "Meiryo", sans-serif; font-size: 17px; font-weight: 700; line-height: 1.4; padding: 12px 6px; min-height: 68px; letter-spacing: 0; }
.primary-nav .nav-label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.primary-nav .nav-label > span { display: block; white-space: nowrap; }
.primary-nav > a:hover { border-color: #8e3f2d; }
.primary-nav > a[aria-current="page"] { box-shadow: 0 3px 0 #10273f; }
@media(max-width:680px) { .primary-nav > a { min-height: 66px; font-size: 17px; } }

/* Keep desktop card groups side by side on narrow screens, with native swiping. */
@media (max-width:1180px) {
  .primary-nav, .primary-nav.is-open {
    display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; overflow-y: hidden;
    padding: 12px 4px 16px; scroll-snap-type: x proximity;
    scrollbar-width: thin; scrollbar-color: #8e3f2d #fff0e9;
  }
  .primary-nav > a { flex: 0 0 128px; scroll-snap-align: start; }
}
@media (max-width:680px) {
  :is(.teacher-grid,.board-grid,.three-grid,.pathway-grid,.pathway-jump,.contact-grid,.news-media-grid,.partnership-orbit,.pathway-flow ol) {
    display: grid; grid-template-columns: none; grid-auto-flow: column;
    grid-auto-columns: minmax(260px,82%); gap: 16px; overflow-x: auto;
    padding-bottom: 16px; scroll-snap-type: x proximity;
    scrollbar-width: thin; scrollbar-color: #8e3f2d #fff0e9;
  }
  :is(.teacher-grid,.board-grid,.three-grid,.pathway-grid,.pathway-jump,.contact-grid,.news-media-grid,.partnership-orbit,.pathway-flow ol) > * {
    min-width: 0; scroll-snap-align: start;
  }
  .pathway-next .pathway-flow ol, #ikusei .pathway-flow ol { grid-template-columns: none; }
  .archive-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .teacher-info { padding: 20px 16px; }
  .teacher-portrait { max-height: none; }
  .purpose-strip article + article { border: 0; padding: 0; }
  .partnership-orbit { max-width: none; padding: 24px 16px 16px; }
  .partnership-orbit:before, .partnership-orbit:after { display: none; }
}

/* Prevent narrow text columns and keep bilingual line wrapping natural. */
main :is(h1,h2,h3,h4,h5,p,li,dd) { word-break: normal; hyphens: none; }
main :is(h1,h2,h3,h4,h5) { text-wrap: balance; }
main :is(p,li,dd) { text-wrap: pretty; }
html[lang="ja"] main { line-break: strict; }
@media (max-width:680px) {
  .purpose-strip .three-grid {
    grid-template-columns: none; grid-auto-columns: minmax(260px,90%);
    gap: 16px;
  }
  .purpose-strip .three-grid > article { padding: 8px 12px; }
  .purpose-strip .three-grid > article + article { padding: 8px 12px; }
  .purpose-strip h3 { font-size: 23px; line-height: 1.4; }
  .board-grid { grid-auto-columns: minmax(260px,94%); }
  .board-card { display: grid; grid-template-columns: 72px minmax(0,1fr); align-items: center; padding: 16px; gap: 14px; }
  .board-card .board-photo { width: 72px; height: 96px; object-fit: cover; }
  .board-card h3 { font-size: 22px; line-height: 1.35; margin-bottom: 8px; }
  .board-card .eyebrow { font-size: 12px; line-height: 1.5; letter-spacing: .02em; }
  main .hero h1 { font-size: clamp(30px,8.2vw,38px); line-height: 1.3; letter-spacing: -.02em; }
  .page-intro h1 { font-size: clamp(30px,8vw,36px); line-height: 1.35; }
  main h2 { line-height: 1.4; }
  main h3, main h4 { line-height: 1.45; }
  main p:not(.eyebrow), main li, main dd, main address { font-size: 18px; line-height: 1.8; }
  main p.lead, main .hero p.lead, main .page-intro p.lead { font-size: 19px; line-height: 1.8; }
  .latest-news-heading h3 { overflow-wrap: normal; }
  .home-latest-news .latest-news-copy p, .home-latest-news .puti-news-profile p { overflow-wrap: normal; }
  .partner-directory-list > li { line-height: 1.7; }
}
@media (max-width:680px) {
  .primary-nav > a { flex-basis: calc((100% - 8px) / 2); }
  :is(.teacher-grid,.board-grid,.three-grid,.pathway-grid,.pathway-jump,.contact-grid,.partnership-orbit,.pathway-flow ol),
  .purpose-strip .three-grid { grid-auto-columns: 100%; scroll-snap-type: x mandatory; }
  .board-grid > .board-card { grid-template-columns: 80px minmax(0,1fr); }
  .board-card .board-photo { width: 80px; height: 106px; }
}

/* Portrait message video preserves the entire frame on desktop and phones. */
#online-school .video-placeholder { width: min(100%,315px); justify-self: center; align-self: start; overflow: hidden; }
.video-placeholder > .hiro-message-video { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 576 / 678; object-fit: contain; margin: 0; background: transparent; }
@media(max-width:680px) { #online-school .video-placeholder { width: min(100%,326px); margin-inline: auto; } }

/* Keep the Japanese Hiro message title together on a single readable line. */
html[lang="ja"] #online-school .video-copy { padding-inline: 12px; }
html[lang="ja"] #online-school .video-copy h3 { font-size: clamp(16px,4.3vw,19px); line-height: 1.5; letter-spacing: 0; white-space: nowrap; text-wrap: nowrap; }

/* Arrival total sits beside the gallery title, above the photos. */
.arrival-story-heading { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(240px,1fr); align-items: center; gap: 28px; max-width: none; }
.arrival-story-title { min-width: 0; }
.arrival-story-heading h2 { font-size: clamp(26px,3vw,38px); line-height: 1.45; margin: 10px 0 0; }
.arrival-story-heading .arrival-milestone { min-width: 0; margin: 0; padding: 0; }
main .arrival-story-heading .milestone-intro { font-size: 16px; line-height: 1.6; margin-bottom: 6px; }
main .arrival-story-heading .milestone-label { font-size: 16px; margin-top: 3px; }
@media(max-width:680px) {
 .arrival-story-heading { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 14px; }
 .arrival-story-heading h2 { font-size: clamp(19px,4.7vw,26px); line-height: 1.5; }
 .arrival-story-title .eyebrow { font-size: 11px; letter-spacing: .02em; }
 main .arrival-story-heading .milestone-intro, main .arrival-story-heading .milestone-label { font-size: 14px; line-height: 1.5; }
 .arrival-story-heading .milestone-counter > span { font-size: 32px; }
 .arrival-story-heading .milestone-counter > b { font-size: 28px; }
}

/* Red divider beneath the complete job-offer list. */
.news-offers::after { content: ""; display: block; width: 100%; height: 6px; margin-top: 26px; border-radius: 6px; background: #c3232b; }
@media(max-width:680px) { .news-offers::after { height: 5px; margin-top: 20px; } }

/* Aligned offer date, job totals, and receiving organizations. */
.page-intro.job-offers-intro h1 { font-size: clamp(36px,4vw,48px); line-height: 1.35; color: #28638e; }
.job-offers-intro .eyebrow { font-size: 12px; }
.job-offers-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #c3232b #fff0e9; }
.job-offers-scroll:focus-visible { outline: 3px solid #c3232b; outline-offset: 5px; }
.job-offers-table { width: 100%; min-width: 700px; border-collapse: collapse; margin: 0; color: #17324f; }
.job-offers-table .offer-date-column { width: 22%; }
.job-offers-table .offer-job-column { width: 38%; }
.job-offers-table td { padding: 12px 24px 12px 0; border: 0; font-size: 21px; font-weight: 700; line-height: 1.7; white-space: nowrap; text-align: left; }
.job-offers-table .offer-date { vertical-align: top; font-weight: 600; }
.job-offers-table td:last-child { padding-right: 0; }
.job-offers-table .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:680px) { .job-offers-table { min-width: 650px; } .job-offers-table td { font-size: 18px; padding-top: 10px; padding-bottom: 10px; } }

/* OPA JAPAN archive reference: three equal cards, dates and blue detail links. */
.opa-archive-section { background: #f4f6f8; padding: 60px 0; }
.opa-archive-container { width: min(1140px,100%); margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.opa-archive-heading { text-align: center; margin-bottom: 44px; }
main .opa-archive-heading .opa-archive-eyebrow { color: #2e6da4; font-size: 13px; font-weight: 700; line-height: 1.7; letter-spacing: .22em; margin: 0; }
.opa-archive-heading h1 { color: #333; font-size: 30px; font-weight: 700; line-height: 1.5; letter-spacing: normal; margin: 6px 0 0; }
.opa-archive-bar { display: block; width: 44px; height: 3px; border-radius: 2px; background: #2e6da4; margin: 16px auto 0; }
.opa-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.opa-archive-card { display: block; min-width: 0; color: #666; text-decoration: none; }
.opa-archive-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.opa-archive-card time { display: block; font-size: 12px; line-height: 1.7; font-weight: 600; color: #666; margin: 0 0 4px; }
.opa-archive-card h2 { color: #333; font-size: 15px; line-height: 1.7; font-weight: 600; letter-spacing: normal; text-wrap: pretty; margin: 0; }
.opa-archive-more { display: inline-block; color: #2e6da4; font-size: 13px; line-height: 1.7; font-weight: 700; margin-top: 8px; }
.opa-archive-card, .opa-archive-more { cursor: default; }
.opa-archive-grid:focus-visible { outline: 3px solid #2e6da4; outline-offset: 5px; }
@media(max-width:680px) {
 .opa-archive-grid { grid-template-columns: repeat(3,minmax(250px,1fr)); overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #2e6da4 #e2e7eb; }
 .opa-archive-card { scroll-snap-align: start; }
}

/* Companion logo link beside the existing registration action. */
.partnership-actions { display: grid; grid-template-columns: minmax(0,max-content) 108px; justify-content: start; gap: 12px; align-items: center; }
.partnership-actions > .button { display: flex; align-items: center; justify-content: center; justify-self: start; box-sizing: border-box; width: fit-content; max-width: 100%; min-width: 0; min-height: 56px; padding: 14px 20px; background: #f6bc91; border-color: #f6bc91; color: #191919; font-size: clamp(16px,1.4vw,18px); line-height: 1.5; white-space: nowrap; overflow-wrap: normal; word-break: normal; text-align: center; }
.partnership-actions > .button:hover:not(:disabled) { background: #efad7d; border-color: #efad7d; }
.opa-japan-link-button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 98px; padding: 10px; border: 1px solid #cfb5a9; border-radius: 7px; background: #fff; color: #17324f; text-decoration: none; }
.opa-japan-link-button img { display: block; width: 82px; height: auto; object-fit: contain; }
.opa-japan-link-button > span { font-size: 17px; font-weight: 700; line-height: 1.3; }
.opa-japan-link-button:hover { background: #fff0e9; border-color: #8e3f2d; }
.opa-japan-link-button:focus-visible { outline: 3px solid #8e3f2d; outline-offset: 4px; }
@media(max-width:900px) { .partnership-bottom { width: 100%; max-width: 680px; grid-template-columns: minmax(0,1fr); gap: 20px; padding: 22px; } }
@media(max-width:680px) { .partnership-actions { grid-template-columns: minmax(0,max-content) 96px; gap: 12px; } .opa-japan-link-button { padding: 8px; } .opa-japan-link-button img { width: 76px; } }

/* Prominent red dimensional 500+ lettering, drawn as selectable text. */
.arrival-story-heading { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 36px; }
main .arrival-story-heading .milestone-intro { max-width: 490px; font-size: clamp(22px,2.3vw,30px); font-weight: 800; line-height: 1.5; margin-bottom: 12px; color: #17324f; }
.milestone-intro > span { display: inline-block; white-space: nowrap; margin-inline: 3px; }
.arrival-story-heading .milestone-counter { align-items: baseline; padding: 4px 12px 16px; font-family: "Arial Black",Arial,sans-serif; }
.arrival-story-heading .milestone-counter > span, .arrival-story-heading .milestone-counter > b {
 color: #f52b30; font-weight: 900; line-height: 1; letter-spacing: -.045em;
 -webkit-text-stroke: .5px #ff5659;
 text-shadow: 1px -1px 0 #ffaaa9,-1px 1px 0 #df2028,-2px 2px 0 #d41b23,-3px 3px 0 #c81920,-4px 4px 0 #bb151d,-5px 5px 0 #ad1119,-6px 6px 0 #9c0d15,-7px 7px 0 #8b0a12,-9px 13px 12px rgba(47,20,20,.24);
}
.arrival-story-heading .milestone-counter > span { font-size: clamp(84px,9vw,128px); }
.arrival-story-heading .milestone-counter > b { font-size: clamp(58px,6.5vw,90px); margin-left: 7px; }
main .arrival-story-heading .milestone-label { font-size: clamp(22px,2.2vw,28px); font-weight: 800; line-height: 1.4; margin-top: 2px; }
@media(max-width:680px) {
 .arrival-story-heading { grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: 14px; }
 main .arrival-story-heading .milestone-intro { font-size: clamp(17px,4.5vw,22px); margin-bottom: 10px; }
 .milestone-intro > span { margin-inline: 0; }
 .arrival-story-heading .milestone-counter { padding: 4px 7px 14px; }
 .arrival-story-heading .milestone-counter > span { font-size: clamp(48px,13vw,76px); }
 .arrival-story-heading .milestone-counter > b { font-size: clamp(34px,9vw,52px); margin-left: 5px; }
 main .arrival-story-heading .milestone-label { font-size: 19px; }
}

/* Emphasize the invitation to learn with all four teachers. */
#teachers .section-heading > p { max-width: 560px; font-size: clamp(23px,2.2vw,29px); font-weight: 800; line-height: 1.65; color: #17636b; text-wrap: pretty; }
#teachers .section-heading > p strong { color: #b32630; font-weight: 800; white-space: nowrap; }
.teacher-promo-exclamation { display: inline-block; color: #b32630; font-size: 1.45em; font-weight: 900; line-height: 1; vertical-align: -.06em; }
@media(max-width:680px) { #teachers .section-heading > p { font-size: 23px; line-height: 1.7; } }

/* Text-only promotion for lessons with receiving companies. */
#teachers .guest-note { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; margin-top: 36px; font-size: clamp(23px,2.2vw,28px); line-height: 1.7; color: #17636b; text-wrap: pretty; }
#teachers .guest-note > strong { color: inherit; font-size: inherit; font-weight: 800; }
#teachers .guest-promo-highlight { color: #b32630; }
@media(max-width:680px) { #teachers .guest-note { margin-top: 28px; font-size: 23px; } }

/* Keep complete Japanese phrases together rather than stranding the ending. */
#teachers .teacher-promo-line { display: block; white-space: nowrap; }
@media(max-width:680px) { html[lang="ja"] #teachers .section-heading > p { font-size: clamp(20px,5.4vw,23px); } }

/* Online-school introduction with a landscape video alongside the opening copy. */
.school-intro-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 44px; align-items: center; padding-top: 58px; padding-bottom: 34px; }
.school-intro-copy, .school-intro-media { min-width: 0; }
.school-intro-copy .page-intro { padding: 0 0 28px; }
.school-intro-copy .page-intro h1 { font-size: clamp(30px,3.1vw,44px); line-height: 1.4; }
.school-intro-copy .page-intro .lead { max-width: none; font-size: 20px; line-height: 1.8; }
.school-intro-copy .section-heading { margin-bottom: 0; }
.school-intro-copy .section-heading h2 { font-size: clamp(25px,2.4vw,32px); line-height: 1.5; }
.school-intro-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #172d43; border-radius: 7px; }
@media(max-width:900px) { .school-intro-layout { grid-template-columns: minmax(0,1fr); gap: 26px; padding-top: 36px; } .school-intro-copy .page-intro h1 { font-size: clamp(30px,5vw,40px); } .school-intro-media { max-width: 700px; width: 100%; justify-self: center; } }


/* Center the About page composition while keeping long body text readable. */
.about-page > .wrap { width: min(1000px,calc(100% - 40px)); margin-inline: auto; }
.about-page > .page-intro, .about-page > .journey-intro { text-align: center; }
.about-page > .page-intro h1, .about-page > .journey-intro h2 { margin-inline: auto; }
.about-page > .page-intro h1, .about-page > .journey-intro h2 { max-width: 850px; font-size: clamp(30px,3.8vw,48px); font-weight: 500; line-height: 1.4; letter-spacing: -.02em; text-wrap: balance; }
.about-page > .page-intro h1 { color: #245a64; }
.about-page > .journey-intro h2 { color: #526b78; }
.about-page > .page-intro h1 em, .about-page > .journey-intro h2 em { color: #a55338; font-weight: 600; font-style: normal; background: linear-gradient(transparent 78%,#f6e4d5 78%); padding-inline: .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.about-page > .page-intro h1::after, .about-page > .journey-intro h2::after { content: ""; display: block; width: 56px; height: 3px; margin: 22px auto 0; border-radius: 3px; background: #c88c68; }
.about-page > .page-intro > .eyebrow, .about-page > .journey-intro > .eyebrow { color: #8a5947; letter-spacing: .12em; }
.about-page > .page-intro .lead, .about-page > .journey-intro .lead { max-width: 850px; margin-inline: auto; }
.about-page .timeline { width: min(900px,100%); margin-inline: auto; }
.about-page .organization-details { width: min(900px,100%); margin-inline: auto; }
.about-page .founder-note { max-width: 100%; margin-inline: auto; }
.about-page .founder-heading { text-align: center; }
@media(max-width:680px) { .about-page > .wrap { width: calc(100% - 40px); } }


/* Center the partner directory headings, names, and education partner. */
.partner-page { width: min(1000px,calc(100% - 40px)); margin-inline: auto; }
.partner-page .partner-category { text-align: center; }
.partner-page .partner-category > h1, .partner-page .partner-category > h2 { margin-inline: auto; text-align: center; }
.partner-page .partner-directory-list { max-width: 850px; margin-inline: auto; padding-left: 0; }
.partner-page .partner-directory-list > li { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 10px; padding-left: 0; text-align: center; }
.partner-page .partner-directory-list > li::marker { content: ""; }
.partner-page .partner-directory-list > li::before { content: "◎"; color: #8e3f2d; font-weight: 800; flex: 0 0 auto; }
.partner-page .partner-directory-list > li > a { max-width: calc(100% - 2em); text-wrap: balance; }
.partner-page .partner-link-type { flex-basis: 100%; margin-top: 0; text-align: center; }
.partner-page .hokazono-partner { justify-content: center; flex-wrap: wrap; }
@media(max-width:680px) { .partner-page .partner-category { padding-top: 36px; } .partner-page .hokazono-partner { flex-direction: column; gap: 14px; } .partner-page .hokazono-partner h3 { font-size: clamp(25px,7vw,36px); } }


/* Clear typographic hierarchy and restrained motion; the content is always visible. */
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 10000; background: linear-gradient(90deg,#17636b,#b32630); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.partner-page .partner-category > h1 { color: #17324f; font-size: clamp(32px,4vw,50px); font-weight: 800; line-height: 1.45; letter-spacing: .015em; }
.partner-heading-kicker { display: block; color: #8e3f2d; font-size: 13px; font-weight: 800; line-height: 1.6; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.partner-page .partner-category > h2 { color: #17636b; font-size: clamp(26px,3vw,36px); font-weight: 800; line-height: 1.5; }
.partner-page .partner-category > h1::after, .partner-page .partner-category > h2::after { content: ""; display: block; width: 46px; height: 4px; border-radius: 2px; background: #b32630; margin: 18px auto 0; }
.partner-page .partner-directory-list { margin-top: 30px; }
.partner-page .partner-directory-list > li { padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid #eaded6; }
.partner-page .partner-directory-list > li:last-child { border-bottom: 0; }
.partner-page .partner-directory-list > li > a { font-size: clamp(20px,2vw,25px); line-height: 1.7; font-weight: 700; letter-spacing: .015em; text-decoration-color: #c6aaa0; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.partner-page .partner-link-type { color: #647080; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.partner-page .hokazono-partner h3 a { color: #17324f; text-decoration-color: #c6aaa0; text-underline-offset: 8px; }
@media(hover:hover) and (pointer:fine) {
 .primary-nav > a,.button,.opa-japan-link-button,.partner-directory-list a,.hokazono-partner a { transition: color 180ms ease,background-color 180ms ease,border-color 180ms ease,transform 180ms ease,box-shadow 180ms ease; }
 .primary-nav > a:hover,.button:hover,.opa-japan-link-button:hover { transform: translateY(-2px); }
 .partner-page .partner-directory-list a:hover,.partner-page .hokazono-partner a:hover { color: #b32630; transform: translateY(-2px); text-decoration-color: currentColor; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior: auto !important; }
 .reading-progress { display: none; }
 .primary-nav > a,.button,.opa-japan-link-button,.partner-directory-list a,.hokazono-partner a { transition: none !important; transform: none !important; }
}

/* Smartphone navigation: progressively enhanced hamburger with a compact link grid. */
@media(max-width:680px) {
 .has-mobile-menu .site-header .menu-toggle { display: flex; flex-direction: column-reverse; justify-content: center; align-items: center; gap: 7px; flex: 0 0 58px; min-height: 52px; padding: 8px 5px; border: 1px solid #d8bdb1; border-radius: 8px; background: #fff8f3; color: #17324f; font-size: 11px; font-weight: 700; line-height: 1.2; cursor: pointer; }
 .has-mobile-menu .site-header .menu-toggle:focus-visible { outline: 3px solid #17636b; outline-offset: 3px; }
 .has-mobile-menu .site-header .menu-lines { width: 23px; height: 16px; border: 0; background: linear-gradient(#17324f,#17324f) center / 23px 2px no-repeat; position: relative; }
 .has-mobile-menu .site-header .menu-lines::before,.has-mobile-menu .site-header .menu-lines::after { content: ''; position: absolute; left: 0; width: 23px; height: 2px; background: #17324f; top: 0; }
 .has-mobile-menu .site-header .menu-lines::after { top: 14px; }
 .has-mobile-menu .site-header .menu-toggle[aria-expanded="true"] .menu-lines { background: none; }
 .has-mobile-menu .site-header .menu-toggle[aria-expanded="true"] .menu-lines::before { top: 7px; transform: rotate(45deg); }
 .has-mobile-menu .site-header .menu-toggle[aria-expanded="true"] .menu-lines::after { top: 7px; transform: rotate(-45deg); }
 .has-mobile-menu .site-header .primary-nav { display: none; }
 .has-mobile-menu .site-header .primary-nav.is-open { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-flow: row; gap: 8px; overflow: visible; padding: 4px 0 16px; scroll-snap-type: none; }
 .has-mobile-menu .site-header .primary-nav > a { min-width: 0; min-height: 54px; padding: 10px 6px; font-size: 15px; line-height: 1.4; }
 .has-mobile-menu .site-header .primary-nav .nav-label { display: block; }
 .has-mobile-menu .site-header .primary-nav .nav-label > span { display: inline; }
 .has-mobile-menu .header-main .brand { flex: 1 1 auto; min-width: 0; gap: 7px; }
 .has-mobile-menu .header-main .brand-wordmark { min-width: 0; }
 .has-mobile-menu .header-main .brand-wordmark strong { font-size: clamp(11px,3.1vw,16px); white-space: nowrap; }
 .has-mobile-menu .header-main .brand-wordmark small { font-size: clamp(9px,2.5vw,12px); }
 .has-mobile-menu .header-main .brand-flags { display: none; }
}
/* Polished red partner numbers: a fixed column keeps long names readable. */
.partner-page .partner-directory-list { list-style: none; padding-left: 0; }
.partner-page .partner-directory-list > li { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 4px 22px; align-items: center; text-align: left; padding: 20px 14px; }
.partner-page .partner-directory-list > li::before { content: none; }
.partner-page .partner-directory-list > li > a { max-width: none; text-wrap: pretty; }
.partner-page .partner-directory-list .partner-link-type { grid-column: 2; text-align: left; }
.partner-page .partner-number { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 54px; height: 54px; border: 1px solid #e8a5a5; border-radius: 13px; background: linear-gradient(135deg,#fff9f8 20%,#ffe0dc 43%,#ffffff 50%,#ffe9e5 58%,#fff9f8 85%); color: #b31730; box-shadow: inset 0 1px 0 #fff,0 3px 8px #a1162410; font: 800 25px/1 Arial,sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.04em; text-shadow: 0 1px 0 #fff; }
.partner-page .partner-number::after { content: ""; position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; background: #bf2337; clip-path: polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%); }
.partner-page .hokazono-partner h3 { display: flex; align-items: center; justify-content: center; gap: 20px; min-width: 0; }
.partner-page .hokazono-partner h3 a { min-width: 0; overflow-wrap: anywhere; }
@media(max-width:680px) {
 .partner-page .partner-directory-list > li { grid-template-columns: 42px minmax(0,1fr); gap: 4px 12px; padding: 18px 0; }
 .partner-page .partner-number { width: 42px; height: 46px; border-radius: 10px; font-size: 21px; }
 .partner-page .partner-number::after { width: 6px; height: 6px; top: 4px; right: 4px; }
 .partner-page .hokazono-partner h3 { gap: 12px; width: 100%; text-align: left; }
 .partner-page .hokazono-partner h3 a { font-size: clamp(22px,5.7vw,32px); }
}

/* Only registered support organizations carry numbers. */
.partner-page .partner-professional-list > li { display: block; text-align: center; }
.partner-page .hokazono-partner h3 { text-align: center; }

/* Photo swipe guidance stays below the scrolling row on phones. */
.photo-swipe-hint { display: none; }
@media(max-width:680px) {
 .photo-swipe-hint:not([hidden]) { display: grid; justify-items: center; gap: 9px; margin: 2px 0 20px; padding: 12px 10px; background: #fff0e9; border: 1px solid #ead2c6; border-radius: 10px; color: #713b2c; }
 main .photo-swipe-hint .photo-swipe-instruction { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 700; line-height: 1.6; text-align: center; }
 .photo-swipe-instruction > span:first-child { flex: 0 0 auto; font: 700 25px/1 Arial,sans-serif; }
 .photo-swipe-position { display: flex; align-items: center; justify-content: center; gap: 8px; }
 .photo-swipe-dot { width: 7px; height: 7px; border-radius: 50%; background: #c8a99c; }
 .photo-swipe-dot.is-current { width: 19px; border-radius: 5px; background: #8e3f2d; }
 .photo-swipe-count { margin-left: 5px; font: 700 12px/1.5 Arial,sans-serif; font-variant-numeric: tabular-nums; }
}

/* Larger country flags remain visible next to the wordmark on every screen. */
:is(.site-header,.site-footer) .brand-flags { display: flex; gap: 8px; flex-shrink: 0; }
:is(.site-header,.site-footer) .brand-flags img { width: 48px; height: 32px; object-fit: contain; border: 1px solid #d6c2b7; border-radius: 3px; }
.site-footer .brand-flags { flex-direction: column; }
@media(max-width:1180px) and (min-width:681px) {
 :is(.site-header,.site-footer) .brand-flags img { width: 40px; height: 27px; }
}
@media(max-width:680px) {
 .has-mobile-menu .site-header .header-main .brand-flags { display: flex; flex-direction: column; gap: 5px; }
 :is(.site-header,.site-footer) .brand-flags img { width: 34px; height: 23px; }
}
@media(max-width:360px) {
 .has-mobile-menu .site-header .header-main { gap: 8px; }
 .has-mobile-menu .site-header .header-main .brand { gap: 6px; }
 .has-mobile-menu .site-header .header-main .brand-symbol { width: 36px; }
 .has-mobile-menu .site-header .header-main .brand-wordmark strong { font-size: 10px; }
 .has-mobile-menu .site-header .header-main .brand-wordmark small { font-size: 8px; }
 .has-mobile-menu .site-header .menu-toggle { flex-basis: 50px; }
 :is(.site-header,.site-footer) .brand-flags img { width: 30px; height: 20px; }
}

/* Center job offers and keep each company's small portraits together. */
.job-offers-intro { text-align: center; }
.news-offers.job-offers-centered { width: min(960px,calc(100% - 40px)); margin-inline: auto; }
.job-offers-heading { text-align: center; margin-bottom: 26px; }
.job-offers-heading h2 { max-width: 720px; margin-inline: auto; font-size: clamp(24px,2.6vw,32px); line-height: 1.5; text-wrap: balance; }
main .job-offers-period { color: #b52632; font-size: 18px; font-weight: 700; }
.job-offer-list { display: grid; gap: 18px; }
.job-offer-card { display: grid; justify-items: center; gap: 18px; padding: 26px; border: 1px solid #eadbd2; border-radius: 12px; background: #fffaf7; text-align: center; min-width: 0; }
.job-offer-copy { min-width: 0; }
.job-offer-copy h3 { color: #17324f; font-size: clamp(21px,2.3vw,27px); font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
main .job-offer-copy p { color: #4d5d6e; font-size: 18px; font-weight: 600; line-height: 1.7; margin-top: 8px; }
.job-offer-photos { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; max-width: 100%; }
.job-offer-photos img { display: block; width: 104px; height: 140px; object-fit: contain; background: #f4f4f2; border: 1px solid #e3ddd8; border-radius: 8px; }
@media(max-width:680px) {
 .job-offer-card { padding: 20px 12px; gap: 16px; }
 .job-offer-photos { gap: 8px; }
 .job-offer-photos img { width: 76px; height: 104px; }
 .job-offer-card[data-offer="metal"] .job-offer-photos { display: grid; grid-template-columns: repeat(2,76px); gap: 8px; justify-content: center; }
}

/* Equal-size home partnership logos and Indonesia-first founder message on phones. */
#opa-japan .partnership-orbit .partnership-emblem { position: relative; width: min(260px,100%); height: auto; aspect-ratio: 26 / 17; margin-inline: auto; overflow: visible; }
#opa-japan .partnership-orbit .partnership-emblem > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; padding: 0; object-fit: contain; object-position: center; }
@media(max-width:680px) {
 .founder-columns > .founder-indonesian { order: -1; }
 .founder-columns > .founder-japanese { order: 0; }
}

/* Color accents belong to card titles; surfaces and body text stay neutral. */
.learning-methods .feature-card:nth-child(1), .pathway-grid > :is(.pathway-card,.pathway-flow):nth-child(4n+1), .pathway-jump > a[href="#work"] { --card-title: #28638e; }
.learning-methods .feature-card:nth-child(2), .pathway-grid > :is(.pathway-card,.pathway-flow):nth-child(4n+2), .pathway-jump > a[href="#study"] { --card-title: #36744b; }
.learning-methods .feature-card:nth-child(3), .pathway-grid > :is(.pathway-card,.pathway-flow):nth-child(4n+3), .pathway-jump > a[href="#ikusei"] { --card-title: #9b4b23; }
.pathway-grid > :is(.pathway-card,.pathway-flow):nth-child(4n+4) { --card-title: #74509e; }
.learning-methods .feature-card, .pathway-section :is(.pathway-card,.pathway-flow) { background: #fff; color: #17324f; border: 1px solid #e5d6cf; box-shadow: none; }
.learning-methods .feature-card h3, .pathway-section :is(.pathway-card,.pathway-flow) h3 { color: var(--card-title,#28638e); }
.learning-methods .feature-card h3 { padding-bottom: 10px; border-bottom: 3px solid currentColor; }

/* A full-width seminar video and an accessible, editable job registration form. */
.home-latest-news .seminar-media > img, .home-latest-news .seminar-media > video { aspect-ratio: 4 / 3; }
.home-latest-news .seminar-media > img { object-fit: cover; object-position: center; }
.home-latest-news .seminar-media > video { object-fit: contain; background: transparent; }
.registration-fields { display: grid; gap: 16px; margin-top: 22px; }
.registration-fields label { display: grid; gap: 7px; min-width: 0; }
.registration-fields :is(input,select,textarea) { box-sizing: border-box; width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid #8a9ba9; border-radius: 6px; color: #17324f; background: #fff; font: inherit; }
.registration-fields :is(input,select,textarea):focus-visible { outline: 3px solid #28638e; outline-offset: 2px; }
.registration-fields [hidden] { display: none; }
.registration-file-note { font-size: 14px; color: #4d5d6e; }
.registration-consent { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; font-size: 15px; line-height: 1.7; }
.registration-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 4px; }
.registration-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.registration-submit:disabled { opacity: .65; cursor: wait; }
.registration-status { margin-top: 16px; line-height: 1.7; }
.registration-status[data-state="error"] { color: #a02a34; }
.registration-status[data-state="success"] { color: #27643b; font-weight: 700; }
.learning-methods .feature-card p, .pathway-section :is(.pathway-card,.pathway-flow) > p, .pathway-card > ul { color: #34475a; }
.pathway-jump > a { background: #fff; border: 1px solid #e5d6cf; color: var(--card-title,#28638e); box-shadow: none; }
.pathway-jump > a > span:first-child { color: #647080; }
.pathway-flow ol > li { background: #f7f6f4; color: #34475a; border: 1px solid #e5d6cf; }
.pathway-flow ol > li::before { color: #647080; }
.pathway-section .pathway-highlight { background: #fff; color: #34475a; border: 1px solid #e5d6cf; border-left: 4px solid #c9c3be; box-shadow: none; }
.pathway-section .pathway-highlight h3 { color: #9b4b23; }

/* Keep the header available while reading; photo navigation stays compact. */
.topbar > .wrap { justify-content: flex-end; }
.site-header { position: sticky; top: 0; z-index: 100; }
@media (max-width: 680px) {
  main .photo-swipe-hint .photo-swipe-instruction > span:last-child { display: none; }
}

/* Keep the registration label intact; actions wrap as whole controls on narrow phones. */
@media(max-width:680px) {
 .partnership-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; }
 .partnership-actions > .button { flex: 0 0 auto; max-width: 100%; padding: 14px 16px; font-size: 16px; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
 .partnership-actions > .opa-japan-link-button { box-sizing: border-box; flex: 0 0 96px; }
}

/* Larger mobile identity with room for flags and the menu control. */
@media(max-width:680px) {
 .has-mobile-menu .site-header .header-main { gap: 10px; padding-block: 14px; }
 .has-mobile-menu .site-header .header-main .brand { display: grid; grid-template-columns: 52px minmax(0,1fr) 34px; gap: 8px; align-items: center; min-width: 0; }
 .has-mobile-menu .site-header .header-main .brand-symbol { width: 52px; }
 .has-mobile-menu .site-header .header-main .brand-wordmark { min-width: 0; }
 .has-mobile-menu .site-header .header-main .brand-wordmark strong { display: block; max-width: none; font-size: 16px; line-height: 1.3; white-space: normal; overflow-wrap: normal; word-break: normal; }
 .has-mobile-menu .site-header .header-main .brand-wordmark small { display: block; font-size: 12px; line-height: 1.4; letter-spacing: 0; white-space: normal; overflow-wrap: normal; word-break: normal; margin-top: 4px; }
 .has-mobile-menu .site-header .header-main .brand-flags img { width: 34px; height: 23px; }
}
@media(max-width:360px) {
 .has-mobile-menu .site-header .header-main { gap: 8px; }
 .has-mobile-menu .site-header .header-main .brand { grid-template-columns: 48px minmax(0,1fr) 30px; gap: 6px; }
 .has-mobile-menu .site-header .header-main .brand-symbol { width: 48px; }
 .has-mobile-menu .site-header .header-main .brand-wordmark strong { font-size: 15px; }
 .has-mobile-menu .site-header .header-main .brand-wordmark small { font-size: 11px; }
 .has-mobile-menu .site-header .header-main .brand-flags img { width: 30px; height: 20px; }
}

/* Give each identity line the full phone width; controls sit beneath it. */
@media(max-width:680px) {
 .has-mobile-menu .site-header .header-main { position: relative; display: block; padding-block: 12px; }
 .has-mobile-menu .site-header .header-main .brand { display: grid; width: 100%; grid-template-columns: 52px minmax(0,1fr); gap: 10px; }
 .has-mobile-menu .site-header .header-main .brand-wordmark strong { font-size: clamp(13px,3.9vw,20px); white-space: nowrap; line-height: 1.3; }
 .has-mobile-menu .site-header .header-main .brand-wordmark small { font-size: clamp(12px,3.4vw,17px); white-space: nowrap; line-height: 1.4; margin-top: 4px; }
 .has-mobile-menu .site-header .header-main .brand-flags { grid-column: 1 / -1; flex-direction: row; gap: 8px; align-items: center; min-height: 44px; }
 .has-mobile-menu .site-header .header-main .brand-flags img { width: 34px; height: 23px; }
 .has-mobile-menu .site-header .menu-toggle { position: absolute; right: 0; bottom: 12px; flex-direction: row; gap: 8px; min-height: 44px; padding: 8px 12px; font-size: 12px; }
}
@media(max-width:360px) {
 .has-mobile-menu .site-header .header-main .brand { grid-template-columns: 44px minmax(0,1fr); gap: 8px; }
 .has-mobile-menu .site-header .header-main .brand-symbol { width: 44px; }
}

/* Flags sit to the right of both unbroken identity lines on phones. */
@media(max-width:680px) {
 .has-mobile-menu .site-header .header-main { padding-bottom: 64px; }
 .has-mobile-menu .site-header .header-main .brand { grid-template-columns: 48px minmax(0,1fr) 34px; gap: 8px; }
 .has-mobile-menu .site-header .header-main .brand-symbol { width: 48px; }
 .has-mobile-menu .site-header .header-main .brand-wordmark strong { font-size: clamp(12.5px,3.6vw,18px); }
 .has-mobile-menu .site-header .header-main .brand-wordmark small { font-size: clamp(11.5px,3.2vw,16px); }
 .has-mobile-menu .site-header .header-main .brand-flags { grid-column: 3; grid-row: 1; flex-direction: column; gap: 5px; min-height: 0; }
}
@media(max-width:360px) {
 .has-mobile-menu .site-header .header-main .brand { grid-template-columns: 40px minmax(0,1fr) 30px; gap: 6px; }
 .has-mobile-menu .site-header .header-main .brand-symbol { width: 40px; }
 .has-mobile-menu .site-header .header-main .brand-flags img { width: 30px; height: 20px; }
}
