:root {
  color-scheme: light;
  --ink: #0f0f11;
  --text: #292a2d;
  --muted: #555;
  --gold: #e1b400;
  --gold-strong: #927000;
  --gold-deep: #725400;
  --gold-pale: #fff3cb;
  --white: #fff;
  --white-soft: #fbfaf5;
  --white-warm: #f3f0e4;
  --yellow: #ffd609;
  --rule: #e0dbc9;
  --font-body: "Tsukushi A Round Gothic", "TsukuARdGothic-Regular", "筑紫A丸ゴシック", fot-tsukuardgothic-std, "TsukuARdGothicStd-R", "FOT-筑紫A丸ゴシック Std R", "Kosugi Maru", "Roboto", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "Source Sans Pro", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, sans-serif;
  --measure: 70ch;
  --content: 1180px;
  --gutter: clamp(22px, 5.4vw, 84px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: var(--gold-strong) var(--white-soft); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--white-soft); }
::-webkit-scrollbar-thumb { background: var(--gold); border: 2px solid var(--white-soft); border-radius: 8px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.8; text-rendering: optimizeLegibility; }
body, button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--ink); background: var(--yellow); }
a { color: var(--gold-deep); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: 4px; }
input { caret-color: var(--gold-strong); }
img, svg { max-width: 100%; }
img { display: block; }
button { font: inherit; }
h1, h2, h3, p, blockquote { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { max-width: var(--measure); }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 20; inset: 12px auto auto 12px; padding: 10px 16px; transform: translateY(-160%); background: var(--ink); color: var(--white); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.opening-screen { position: fixed; inset: 0; display: none; width: 100%; height: 100%; max-width: none; max-height: none; place-items: center; margin: 0; padding: 0; overflow: hidden; border: 0; background: radial-gradient(circle at 50% 44%, var(--white) 0, var(--white-soft) 58%, #f4f1e7 100%); color: var(--ink); }
.opening-screen[open] { display: grid; }
html[data-opening-pending="true"] .opening-screen:not([open]) { display: grid; }
.opening-screen::backdrop { background: var(--white-soft); }
.opening-screen[data-state="leaving"]::backdrop { animation: opening-backdrop-out 420ms ease-out forwards; }
.opening-stage { display: grid; width: min(76vw, 560px); aspect-ratio: 1; place-items: center; }
.opening-stage img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; }
.opening-screen[open] .opening-stage img { will-change: transform, opacity; }
.opening-wordmark, .opening-moon { opacity: 0; }
.opening-skip { position: absolute; right: max(24px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); min-width: 84px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--gold-strong); border-radius: 999px; background: rgba(255, 255, 255, 0.78); color: var(--ink); cursor: pointer; font-size: 0.9rem; font-weight: 700; transition: background-color 160ms ease-out, color 160ms ease-out; }
.opening-skip:hover { background: var(--yellow); }
@keyframes opening-backdrop-out { to { background: rgba(251, 250, 245, 0); } }
.preview-notice { padding: 9px var(--gutter); background: var(--white-warm); color: var(--ink); text-align: center; font-size: 0.86rem; }
.preview-notice span { margin-right: 0.5em; color: var(--gold-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 0.18em; }

.site-header { position: sticky; z-index: 5; top: 0; display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 28px; padding: 12px var(--gutter); border-bottom: 1px solid #eee; background: var(--white); }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand-logo { width: 58px; height: 58px; flex: 0 0 58px; object-fit: contain; }
.brand-name { color: var(--ink); font-size: 0.98rem; font-weight: 700; letter-spacing: 0.01em; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(15px, 2.8vw, 38px); }
.primary-nav[hidden] { display: none; }
.primary-nav a { position: relative; padding: 9px 0; color: var(--text); font-size: 0.9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.primary-nav a:not(.nav-member)::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--gold); content: ""; transition: transform 160ms ease-out; }
.primary-nav a:not(.nav-member):hover::after, .primary-nav a:not(.nav-member)[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a.nav-member { padding: 8px 16px; border: 1px solid var(--yellow); border-radius: 999px; background: var(--yellow); color: var(--ink); }
.primary-nav a.nav-member:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.menu-toggle { display: none; }

.hero { display: grid; max-width: 1440px; min-height: min(650px, calc(100svh - 82px)); grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr); align-items: center; gap: clamp(28px, 5vw, 72px); margin: 0 auto; padding: 62px var(--gutter) 72px; }
.hero-copy { position: relative; z-index: 1; max-width: 620px; }
.hero h1 { margin-bottom: 22px; color: var(--ink); font-size: clamp(1.8rem, 4.2vw, 3.25rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.38; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-description { max-width: 39ch; margin-bottom: 32px; color: var(--text); font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 11px 22px; border: 1px solid transparent; border-radius: 999px; font-size: 0.92rem; font-weight: 700; text-decoration: none; transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out, transform 160ms ease-out; }
.button:hover { transform: translateY(-1px); }
.button-yellow { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.button-yellow:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button-light { border-color: #d8d8d8; background: var(--white); color: var(--ink); }
.button-light:hover { border-color: var(--gold); background: var(--gold-pale); color: var(--ink); }
.button-outline { border-color: var(--gold-strong); background: var(--white); color: var(--gold-deep); }
.button-outline:hover { background: var(--gold-pale); color: var(--ink); }
.hero-secondary { color: var(--gold-deep); font-size: 0.92rem; font-weight: 700; text-underline-offset: 0.32em; }
.arrow-icon { width: 1em; height: 1em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.hero-logo-panel { display: grid; min-width: 0; min-height: 390px; place-items: center; overflow: hidden; border-radius: 16px; background: var(--white-soft); }
.hero-logo-panel img { width: min(86%, 390px); height: auto; object-fit: contain; }
.score-caption { display: none; }

.section { max-width: var(--content); margin-inline: auto; padding: 88px var(--gutter); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading h2, .page-title-block h1 { margin-bottom: 0; color: var(--ink); font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.4; }
.section-intro { max-width: 38ch; margin-bottom: 3px; color: var(--muted); font-size: 0.92rem; }
.text-link { display: inline-flex; min-height: 38px; align-items: center; gap: 10px; color: var(--gold-deep); font-size: 0.9rem; font-weight: 700; text-underline-offset: 0.28em; }
.news-section { padding-top: 76px; padding-bottom: 90px; }
.news-list { border-top: 1px solid var(--rule); }
.news-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px; align-items: center; gap: 18px; padding: 20px 2px; border-bottom: 1px solid var(--rule); }
.news-row-copy time, .article-header time { display: block; margin-bottom: 4px; color: var(--muted); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.news-row h2, .news-row h3 { margin: 0; color: var(--ink); font-size: 1.05rem; font-weight: 700; line-height: 1.7; }
.news-row h2 a, .news-row h3 a { color: inherit; text-decoration: none; }
.news-row h2 a:hover, .news-row h3 a:hover { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 0.2em; }
.news-arrow { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #ccc; border-radius: 50%; color: var(--gold-deep); text-decoration: none; transition: border-color 160ms ease-out, background-color 160ms ease-out, transform 160ms ease-out; }
.news-arrow:hover { transform: translate(2px, -2px); border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.empty-state { display: flex; min-height: 118px; align-items: center; margin: 0; color: var(--muted); }

.leadership-section { max-width: none; padding: 78px var(--gutter) 88px; background: var(--white-soft); }
.leadership-section + .leadership-section { background: var(--white-warm); }
.leadership-section > .section-heading, .home-greeting-profile { max-width: var(--content); margin-right: auto; margin-left: auto; }
.home-greeting-section > .section-heading { margin-bottom: 30px; }
.home-greeting-profile { display: grid; grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr); align-items: center; gap: clamp(30px, 6vw, 82px); }
.home-greeting-portrait { width: min(100%, 380px); }
.portrait-frame { position: relative; overflow: hidden; border-radius: 12px; background: var(--gold-pale); }
.portrait-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.home-greeting-portrait img { aspect-ratio: 3 / 4; }
.portrait-note { position: absolute; right: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 0.74rem; font-weight: 700; }
.leader-copy { padding: 20px 1px 0; }
.home-greeting-profile .leader-copy { padding: 0; }
.role-label { margin-bottom: 7px; color: var(--gold-deep); font-size: 0.82rem; font-weight: 700; }
.leader-copy h3, .teacher-copy h3 { margin-bottom: 9px; color: var(--ink); font-size: 1.55rem; font-weight: 700; }
.home-greeting-profile .leader-copy h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.message-placeholder { min-height: 3.6em; margin-bottom: 12px; color: var(--text); font-size: 0.94rem; }
.participation-section { max-width: none; background: var(--white-warm); }
.participation-section > .section-heading, .participation-grid { max-width: var(--content); margin-right: auto; margin-left: auto; }
.participation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #d4d2c9; border-bottom: 1px solid #d4d2c9; }
.participation-grid-single { grid-template-columns: 1fr; }
.participation-link { position: relative; display: flex; min-width: 0; min-height: 184px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; padding: 25px 72px 25px 2px; color: var(--ink); text-decoration: none; }
.participation-link + .participation-link { padding-left: 30px; border-left: 1px solid #d4d2c9; }
.participation-link:hover { color: var(--gold-deep); }
.participation-label { color: var(--gold-deep); font-size: 0.84rem; font-weight: 700; }
.participation-link strong { color: var(--ink); font-size: clamp(1.35rem, 2.5vw, 1.8rem); line-height: 1.4; }
.participation-link > span:not(.participation-label, .participation-arrow) { max-width: 40ch; color: var(--text); font-size: 0.92rem; }
.participation-arrow { position: absolute; top: 50%; right: 8px; display: grid; width: 46px; height: 46px; place-items: center; transform: translateY(-50%); border: 1px solid var(--yellow); border-radius: 50%; background: var(--yellow); color: var(--ink); transition: transform 160ms ease-out, background-color 160ms ease-out; }
.participation-arrow .arrow-icon { width: 20px; height: 20px; }
.participation-link:hover .participation-arrow { transform: translate(2px, calc(-50% - 1px)); background: var(--white); }
.page-intro { display: flex; max-width: var(--content); align-items: center; justify-content: space-between; gap: 32px; margin: 0 auto; padding: 26px var(--gutter); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; color: var(--gold-deep); font-size: 0.86rem; line-height: 1.6; }
.breadcrumb li + li::before { margin: 0 12px; color: var(--gold-strong); content: ">"; }
.breadcrumb a { color: var(--gold-deep); font-weight: 700; text-underline-offset: 0.22em; }
.breadcrumb a[aria-current="page"] { color: var(--ink); }
.about-section { padding: 82px var(--gutter) 88px; background: var(--white-soft); }
.about-inner { max-width: var(--content); margin: 0 auto; }
.about-inner > h2 { max-width: 70ch; margin: 0 auto 30px; color: var(--ink); font-size: clamp(1.8rem, 3vw, 2.55rem); font-weight: 800; line-height: 1.45; }
.about-article { max-width: 70ch; margin: 0 auto; color: var(--text); font-size: 1rem; line-height: 2; }
.about-article h3 { margin-bottom: 18px; color: var(--ink); font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; line-height: 1.6; }
.about-article > p { margin-bottom: 1.35em; }
.about-experiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; margin: 25px 0 27px; padding: 0; list-style: none; }
.about-experiences li { position: relative; padding: 14px 0 14px 22px; border-top: 1px solid var(--rule); color: var(--ink); font-weight: 700; line-height: 1.75; }
.about-experiences li::before { position: absolute; top: 1.14em; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); content: ""; }
.about-signature { display: flex; flex-direction: column; align-items: flex-end; margin: 32px 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.about-signature strong { color: var(--ink); font-size: 1.05rem; }
.opportunity-content { max-width: 980px; margin: 0 auto; padding: 38px var(--gutter) 96px; }
.opportunity-lead { max-width: 72ch; margin: 0 auto 46px; padding-bottom: 31px; border-bottom: 1px solid var(--rule); }
.opportunity-lead h2 { margin-bottom: 18px; color: var(--ink); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.45; }
.opportunity-lead p, .opportunity-section > p { margin-bottom: 14px; color: var(--text); }
.opportunity-lead p:last-child, .opportunity-section > p:last-child { margin-bottom: 0; }
.opportunity-sections { display: grid; gap: 0; }
.opportunity-section { padding: 30px 0 34px; border-bottom: 1px solid var(--rule); }
.opportunity-section:first-child { padding-top: 0; }
.opportunity-section h2 { margin-bottom: 14px; color: var(--ink); font-size: clamp(1.35rem, 2.6vw, 1.8rem); font-weight: 800; line-height: 1.5; }
.opportunity-list { margin: 18px 0 0; border-top: 1px solid var(--rule); }
.opportunity-row { display: grid; grid-template-columns: minmax(170px, 0.32fr) minmax(0, 1fr); gap: 24px; padding: 18px 4px 18px 0; border-bottom: 1px solid var(--rule); }
.opportunity-row dt { color: var(--ink); font-weight: 700; }
.opportunity-row dd { margin: 0; color: var(--text); }
.opportunity-bullets, .opportunity-value-list { display: grid; gap: 9px; margin: 15px 0 0; padding-left: 1.35em; color: var(--text); }
.opportunity-value-list { gap: 5px; margin: 0; }
.opportunity-bullets li::marker, .opportunity-value-list li::marker { color: var(--gold-strong); }
.opportunity-callout { margin: 18px 0 0; padding: 17px 20px; border-radius: 10px; background: var(--gold-pale); color: var(--ink); font-weight: 700; }
.profile-sequence { max-width: var(--content); margin: 0 auto; padding: 10px var(--gutter) 26px; }
.profile-group { display: grid; grid-template-columns: 1fr; }
.feature-profile { display: grid; grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(28px, 6vw, 76px); padding: 44px 0; border-bottom: 1px solid var(--rule); }
.feature-portrait img { aspect-ratio: 5 / 3; }
.feature-profile-copy h2 { margin-bottom: 13px; color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
.feature-profile-copy > p:not(.role-label) { color: var(--text); }
.greeting { margin: 21px 0 0; padding: 13px 0 0; border-top: 1px solid var(--rule); color: var(--text); font-size: 1rem; line-height: 1.9; }
.instrument-section { padding-top: 54px; }
.teacher-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; row-gap: 42px; }
.teacher-card { min-width: 0; }
.teacher-portrait img { aspect-ratio: 3 / 4; }
.teacher-copy { padding-top: 13px; }
.teacher-copy .role-label { min-height: 2.9em; line-height: 1.45; }
.teacher-copy h3 { margin-bottom: 8px; font-size: clamp(1.02rem, 1.5vw, 1.22rem); }
.teacher-profile-trigger { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; color: var(--gold-deep); font: inherit; font-size: 0.9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.teacher-profile-trigger:hover { color: var(--ink); }
.teacher-profile-trigger .arrow-icon { width: 16px; height: 16px; }
.profile-dialog { width: min(680px, calc(100% - 32px)); max-width: none; max-height: min(80vh, 760px); margin: auto; padding: 0; overflow: auto; border: 1px solid var(--rule); border-radius: 14px; background: var(--white); color: var(--ink); }
.profile-dialog::backdrop { background: rgb(15 15 17 / 54%); }
.profile-dialog-inner { position: relative; padding: 68px clamp(25px, 5vw, 50px) 42px; }
.profile-dialog-close { position: absolute; top: 18px; right: 18px; min-width: 76px; min-height: 44px; padding: 7px 13px; border: 1px solid var(--rule); border-radius: 999px; background: var(--white); color: var(--gold-deep); font: inherit; font-size: 0.86rem; font-weight: 700; cursor: pointer; }
.profile-dialog h2 { max-width: 24ch; margin-bottom: 18px; color: var(--ink); font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.4; }
.profile-dialog-body { max-width: 68ch; color: var(--text); }
.profile-dialog-copy { margin: 0; line-height: 1.95; white-space: pre-line; overflow-wrap: anywhere; }
.profile-dialog-links { margin: 18px 0 0; }
.profile-dialog-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-deep); font-weight: 700; text-underline-offset: 0.22em; }
.profile-dialog-links .arrow-icon { width: 15px; height: 15px; }

.news-intro { padding-bottom: 56px; }
.news-index { max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter) 100px; }
.news-index .news-list { border-top: 0; }
.news-index .news-row { grid-template-columns: minmax(0, 1fr) 46px; padding: 22px 2px; }
.news-row-image { width: 112px; grid-row: span 2; overflow: hidden; border-radius: 8px; }
.news-row-image img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.news-index .news-row:has(.news-row-image) { grid-template-columns: 112px minmax(0, 1fr) 46px; }
.news-index .news-row:has(.news-row-image) .news-row-copy { grid-column: 2; }
.news-article { max-width: 880px; margin: 0 auto; padding: 52px var(--gutter) 100px; }
.back-link { display: inline-flex; min-height: 42px; align-items: center; gap: 9px; margin-bottom: 38px; color: var(--gold-deep); font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.article-header { max-width: 74ch; margin: 0 auto 32px; padding-bottom: 25px; border-bottom: 1px solid var(--rule); }
.article-header time { margin-bottom: 12px; }
.article-header h1 { margin-bottom: 0; color: var(--ink); font-size: clamp(1.95rem, 4.5vw, 3.3rem); font-weight: 800; line-height: 1.55; }
.article-cover { margin: 0 auto 38px; overflow: hidden; border-radius: 12px; }
.article-cover img { width: 100%; max-height: 540px; object-fit: cover; }
.rich-body { max-width: 70ch; margin: 0 auto; color: var(--text); font-size: 1.04rem; line-height: 2; overflow-wrap: anywhere; }
.rich-body p { margin: 0 0 1.4em; white-space: pre-wrap; }
.rich-body strong { color: var(--ink); font-weight: 800; }
.rich-body u { text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.rich-body a { color: var(--gold-deep); }
.article-inline-image { margin: 32px 0; }
.article-inline-image img { width: 100%; height: auto; border-radius: 10px; }
.body-empty { color: var(--muted); }
.article-footer { max-width: 70ch; margin: 46px auto 0; padding-top: 22px; border-top: 1px solid var(--rule); }
.not-found { max-width: var(--content); min-height: 55vh; margin: 0 auto; padding: 90px var(--gutter); }
.not-found h1 { color: var(--ink); font-size: clamp(2.35rem, 4.5vw, 3.8rem); font-weight: 800; }
.not-found p { margin-bottom: 25px; color: var(--muted); }

.members-page { max-width: 1020px; min-height: 70vh; margin: 0 auto; padding: 72px var(--gutter) 100px; }
.members-intro { max-width: 620px; margin: 0 auto 34px; text-align: center; }
.members-symbol { display: grid; width: 68px; height: 68px; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: var(--gold-pale); color: var(--gold-deep); }
.members-symbol svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.members-symbol circle { fill: currentColor; stroke: none; }
.members-intro h1 { margin-bottom: 13px; color: var(--ink); font-size: clamp(2.15rem, 4.8vw, 3.45rem); font-weight: 800; }
.members-intro > p:last-child { margin: 0 auto; color: var(--text); }
.members-access-area { max-width: 700px; margin: 0 auto; }
.members-login { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px 14px; padding: 28px; border: 1px solid #e5e5e5; border-radius: 14px; background: var(--white-soft); }
.members-login label { grid-column: 1 / -1; color: var(--ink); font-weight: 700; }
.members-login input { min-width: 0; min-height: 52px; padding: 0 15px; border: 1px solid #b9b9b9; border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; }
.members-login input:disabled { background: #eee; color: var(--muted); }
.members-login .button { min-height: 52px; }
.member-logout { flex: 0 0 auto; }
.members-login button:disabled { border-color: #d2d2d2; background: #e4e4e4; color: #5b5b5b; cursor: not-allowed; transform: none; }
.members-access-status { grid-column: 1 / -1; margin: 2px 0 0; color: var(--text); font-size: 0.88rem; }
.members-access-status[data-error="true"] { color: #9b2f2f; font-weight: 700; }
.members-security-note { margin: 25px auto 0; color: var(--muted); font-size: 0.82rem; text-align: center; }
.member-dashboard { max-width: 930px; margin: 44px auto 0; }
.member-welcome { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.member-welcome .button { flex: 0 0 auto; white-space: nowrap; }
.member-welcome h2 { margin-bottom: 8px; color: var(--ink); font-size: 2rem; font-weight: 800; }
.member-welcome p:last-child { margin-bottom: 0; color: var(--text); }
.member-state { display: inline-flex; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 0.78rem; font-weight: 800; }
.member-feature { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-bottom: 24px; padding: 24px 28px; border-radius: 14px; background: var(--gold-pale); }
.member-feature > div { display: grid; grid-template-columns: 42px auto; align-items: center; gap: 3px 14px; }
.member-feature-icon { grid-row: span 2; color: var(--gold-deep); }
.member-feature-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.member-feature p { margin: 0; color: var(--text); font-size: 0.84rem; }
.member-feature strong { color: var(--ink); font-size: 1.18rem; }
.member-feature > p { max-width: 33ch; }
.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.member-panel { min-height: 160px; padding: 22px 24px; border: 1px solid #e2e2e2; border-radius: 12px; background: var(--white); }
.member-panel h3 { margin-bottom: 15px; color: var(--ink); font-size: 1.12rem; font-weight: 800; }
.member-panel p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.member-panel-wide { grid-column: 1 / -1; min-height: 132px; background: var(--white-soft); }

.site-footer { padding: 32px var(--gutter) 24px; border-top: 1px solid var(--rule); background: var(--white-soft); }
.footer-inner { display: flex; max-width: var(--content); align-items: center; justify-content: center; margin: 0 auto; }
.footer-meta { display: flex; max-width: var(--content); align-items: center; justify-content: center; gap: 12px 24px; margin: 20px auto 0; text-align: center; }
.footer-brand { display: inline-flex; width: 104px; height: 104px; align-items: center; justify-content: center; }
.footer-brand img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand:hover { opacity: 0.82; }
.footer-meta small { color: var(--muted); font-size: 0.72rem; }

@media (max-width: 900px) {
  :root { --gutter: clamp(20px, 4.8vw, 44px); }
  .site-header { min-height: 74px; }
  .brand { min-width: 0; }
  .menu-toggle:not([hidden]) { display: flex; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid #ccc; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
  .menu-toggle span[aria-hidden="true"] { width: 17px; height: 2px; border-radius: 2px; background: currentColor; }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: var(--gutter); left: var(--gutter); display: flex; width: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 3px 0 14px; border-bottom: 1px solid #eee; background: var(--white); }
  .primary-nav a { padding: 10px 4px; border-top: 1px solid #eee; font-size: 0.92rem; }
  .primary-nav a:not(.nav-member)::after { display: none; }
  .primary-nav a.nav-member { align-self: start; margin-top: 10px; padding: 7px 15px; border-top: 1px solid var(--yellow); }
  .hero { min-height: 550px; grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.85fr); gap: 24px; padding-top: 54px; padding-bottom: 60px; }
  .hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
  .hero-logo-panel { min-height: 330px; }
  .section { padding-top: 74px; padding-bottom: 74px; }
  .teacher-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; row-gap: 38px; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 72px; }
  body { font-size: 15px; }
  .site-header { min-height: 70px; flex-wrap: wrap; gap: 10px 14px; }
  .brand { gap: 7px; }
  .brand-logo { width: 48px; height: 48px; flex-basis: 48px; }
  .brand-name { font-size: 0.82rem; }
  .primary-nav { padding-bottom: 7px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 30px; padding-top: 54px; padding-bottom: 58px; }
  .hero h1 { max-width: none; font-size: clamp(1.3rem, 7.4vw, 2.05rem); }
  .hero-description { max-width: 38ch; font-size: 0.98rem; }
  .hero-logo-panel { min-height: 235px; }
  .hero-logo-panel img { width: min(74%, 280px); }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .section-heading h2 { font-size: clamp(1.9rem, 8vw, 2.7rem); }
  .news-section { padding-top: 60px; padding-bottom: 64px; }
  .news-row { grid-template-columns: minmax(0, 1fr) 40px; gap: 10px; padding: 17px 0; }
  .news-row h2, .news-row h3 { font-size: 0.97rem; }
  .news-arrow { width: 36px; height: 36px; }
  .leadership-section { padding: 60px var(--gutter) 68px; }
  .home-greeting-section > .section-heading { margin-bottom: 22px; }
  .home-greeting-profile { grid-template-columns: 1fr; gap: 20px; }
  .home-greeting-portrait { max-width: 360px; }
  .home-greeting-portrait img { aspect-ratio: 3 / 4; }
  .portrait-frame img { aspect-ratio: 1.35 / 1; }
  .home-greeting-portrait img { aspect-ratio: 3 / 4; }
  .leader-copy { padding-top: 17px; }
  .home-greeting-profile .leader-copy { padding-top: 0; }
  .about-section { padding-top: 62px; padding-bottom: 68px; }
  .about-inner > h2 { margin-bottom: 24px; font-size: clamp(1.75rem, 7.2vw, 2.35rem); }
  .about-article { font-size: 0.98rem; line-height: 1.95; }
  .about-article h3 { font-size: 1.45rem; }
  .about-experiences { grid-template-columns: 1fr; gap: 0; margin-block: 22px; }
  .page-intro { align-items: flex-start; flex-direction: column; gap: 9px; padding-top: 22px; padding-bottom: 20px; }
  .feature-profile { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .feature-portrait img { aspect-ratio: 1.35 / 1; }
  .feature-profile-copy h2 { font-size: 1.8rem; }
  .profile-sequence { padding-bottom: 8px; }
  .instrument-section { padding-top: 48px; }
  .teacher-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; row-gap: 30px; }
  .teacher-portrait img { aspect-ratio: 3 / 4; }
  .teacher-copy { padding-top: 9px; }
  .teacher-copy .role-label { font-size: 0.67rem; line-height: 1.45; }
  .teacher-copy h3 { font-size: 0.94rem; line-height: 1.5; }
  .teacher-profile-trigger { min-height: 44px; align-items: flex-start; gap: 4px; font-size: 0.72rem; line-height: 1.4; }
  .profile-dialog { width: calc(100% - 24px); max-height: min(82dvh, 760px); }
  .profile-dialog-inner { padding: 68px 23px 30px; }
  .news-index { padding-bottom: 72px; }
  .news-index .news-row { grid-template-columns: minmax(0, 1fr) 40px; }
  .news-index .news-row:has(.news-row-image) { grid-template-columns: 82px minmax(0, 1fr) 36px; gap: 9px; }
  .news-row-image { width: 82px; }
  .news-article { padding-top: 28px; padding-bottom: 72px; }
  .back-link { margin-bottom: 27px; }
  .article-header { margin-bottom: 24px; padding-bottom: 19px; }
  .article-header h1 { font-size: clamp(1.8rem, 7.6vw, 2.55rem); }
  .rich-body { font-size: 1rem; line-height: 1.95; }
  .members-page { padding-top: 54px; padding-bottom: 72px; }
  .members-intro { margin-bottom: 27px; }
  .members-intro h1 { font-size: clamp(2rem, 8vw, 2.65rem); }
  .members-login { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .members-login label, .members-access-status { grid-column: auto; }
  .members-login .button { width: 100%; }
  .member-welcome { flex-direction: column; gap: 16px; }
  .member-feature { align-items: start; flex-direction: column; gap: 14px; padding: 20px; }
  .member-grid { grid-template-columns: 1fr; gap: 12px; }
  .member-panel-wide { grid-column: auto; }
  .site-footer { padding-top: 26px; }
  .footer-inner, .footer-meta { align-items: center; flex-direction: column; gap: 8px; }
  .footer-brand { width: 88px; height: 88px; }
  .footer-meta { margin-top: 16px; }
  .participation-section { padding-top: 64px; padding-bottom: 64px; }
  .participation-grid { grid-template-columns: 1fr; }
  .participation-link { min-height: 150px; padding: 21px 62px 21px 2px; }
  .participation-link + .participation-link { padding-left: 2px; border-top: 1px solid var(--rule); border-left: 0; }
  .opportunity-content { padding: 42px var(--gutter) 72px; }
  .opportunity-row { grid-template-columns: 1fr; gap: 4px; padding: 15px 0; }
  .opportunity-news { align-items: start; flex-direction: column; gap: 12px; margin-top: 40px; }
}
@media (max-width: 340px) {
  .teacher-copy .role-label { min-height: 4.35em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
