:root {
  color-scheme: light;
  --ink: #152c43;
  --muted: #465d70;
  --paper: #fefdf9;
  --line: #cbddea;
  --surface: #e5f1fa;
  --deep: #285b82;
  --accent: #ffded4;
  --recruit-accent: #ffae86;
  --recruit-border: #a74424;
  --light-sky: #eef8ff;
  --mint: #d9f3e7;
  --header-height: 87px;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.75; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #235e87; outline-offset: 4px; }
.wrap { width: min(1140px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 11; padding: .5rem 1rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { position: sticky; z-index: 10; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
html { scroll-padding-top: var(--header-height); }
.header-inner { display: flex; align-items: center; justify-content: flex-start; gap: 24px; min-height: 77px; }
.brand { font: 400 31px/1.08 "Bodoni MT", Didot, "Times New Roman", serif; letter-spacing: .02em; text-decoration: none; }
.brand span { color: #235e87; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-size: .85rem; font-weight: 700; }
nav a { text-decoration: none; }
nav a:hover, .text-link:hover { color: #235e87; }
.member { display: inline-flex; align-items: center; gap: .6rem; border: 1px solid var(--ink); padding: 9px 15px; min-height: 44px; white-space: nowrap; border-radius: 6px; font-weight: 800; font-size: .82rem; text-decoration: none; }
.member:hover { background: var(--surface); }
.eyebrow, .home-label { margin: 0 0 8px; color: var(--deep); font: italic 700 1.2rem Georgia, serif; }
.eyebrow::before, .home-label::before {
  content: ""; display: inline-block; width: 9px; height: 4px;
  margin-inline-end: 28px; border-radius: 4px; vertical-align: .2em;
  background: #66a8d6; box-shadow: 11px 0 #77c6a6, 22px 0 #f2bc62;
  transform: skewX(-22deg);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 48px; padding: 9px 16px; border: 1px solid var(--ink); border-radius: 6px; font-size: .88rem; font-weight: 800; text-decoration: none; }
.primary { background: var(--ink); color: white; }
.primary:hover { background: var(--deep); }
.secondary:hover { background: white; }
.section { padding-block: clamp(52px, 8vw, 105px); scroll-margin-top: 14px; }
.intro, .faq { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(26px, 6vw, 86px); align-items: start; }
h2, .detail-page h1 { margin: 0; font-size: clamp(1.75rem, 4.1vw, 3.3rem); font-weight: 900; line-height: 1.25; letter-spacing: -.04em; }
h3 { line-height: 1.4; }
.prose p:first-child { margin-top: 0; }
.prose, .lead, .genre-list p, .note { color: var(--muted); }
.text-link { display: inline-block; margin-top: 12px; color: var(--deep); font-weight: 800; text-underline-offset: .3em; }
.tinted { background: var(--surface); border-block: 1px solid var(--line); }
.genre-list { margin-top: clamp(24px, 4vw, 42px); border-top: 1px solid var(--line); }
.genre-list h3 { margin: 6px 0; font: 900 1.38rem/1.25 system-ui, sans-serif; }
.genre-list p { margin: 0; font-size: .89rem; }
.activity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.activity-grid > div { border: 1px solid var(--line); border-radius: 6px; padding: clamp(18px, 3vw, 32px); }
.practice, .calendar { background: var(--surface); }
.activity-grid h3 { margin-top: 0; }
dl { margin: 0; }
dl div { display: grid; grid-template-columns: minmax(4.3rem, .37fr) 1fr; gap: .65rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
dt { font-weight: 800; }
dd { margin: 0; }
.note { font-size: .84rem; margin-bottom: 0; }
.join { background: var(--surface); border-block: 1px solid var(--ink); }
.join .lead { color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; padding: 0; margin: 28px 0 0; counter-reset: step; }
.steps li { counter-increment: step; border-top: 4px solid #87c2e7; padding-top: 13px; }
.steps li:nth-child(2) { border-top-color: #87cdb0; }
.steps li:nth-child(3) { border-top-color: #ed9b87; }
.steps li::before { content: "0" counter(step); font: 800 .8rem monospace; }
.steps h3 { margin: 8px 0 6px; }
.steps p { margin: 0; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 13px 0; font-weight: 800; }
details p { margin: 0 0 16px; color: var(--muted); }
footer { background: var(--ink); color: white; padding-block: 27px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .82rem; }
.footer-inner .brand span { color: var(--surface); }
.footer-inner p { margin: 7px 0 0; }
.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-main { flex: 1; display: grid; place-items: center; padding-block: 52px; }
.login-card { width: min(100%, 550px); padding: clamp(22px, 6vw, 56px); background: var(--surface); border: 1px solid var(--ink); border-radius: 8px; box-shadow: 7px 7px 0 var(--deep); }
.login-card h1 { margin: 0; font-size: clamp(1.25rem, 5.2vw, 2.6rem); line-height: 1.3; white-space: nowrap; }
.auth-form fieldset { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.auth-form label { font-weight: 700; }
.auth-form input {
  width: 100%; min-height: 44px; padding: 8px 10px;
  border: 1px solid var(--deep); border-radius: 6px;
  background: var(--paper); color: var(--ink); font: inherit;
}
.auth-form input + label { margin-top: 6px; }
.login-card button { justify-self: start; margin-top: 8px; font-family: inherit; cursor: pointer; }
.password-field { position: relative; }
.password-field input { padding-inline-end: 48px; }
.password-field input::-ms-reveal { display: none; }
.password-field button {
  position: absolute; inset: 0 0 0 auto; width: 44px; margin: 0; padding: 0;
  display: grid; place-items: center; border: 0; background: transparent; color: #5e7181;
}
.password-field button:hover { color: var(--deep); }
.password-field button svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.password-field input:placeholder-shown + button { visibility: hidden; }
.password-field input[type="password"] + button .password-eye-closed,
.password-field input[type="text"] + button .password-eye-open { display: none; }
.login-card button:disabled { opacity: .65; cursor: default; }
.auth-status { color: var(--deep); }
.auth-status:empty { margin: 0 0 12px; }
@media (max-width: 920px) {
  nav { gap: 13px; }
}
@media (max-width: 720px) {
  :root { --header-height: 110px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; gap: 0 12px; min-height: 63px; padding-block: 9px; }
  nav { order: 3; width: 100%; padding-top: 7px; gap: 5px 16px; font-size: .78rem; }
  nav a { display: inline-flex; align-items: center; min-height: 32px; }
  .intro, .faq, .activity-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 375px) {
  .wrap { width: calc(100% - 28px); }
  .footer-inner { flex-wrap: wrap; }
}

nav a[aria-current="page"] { color: #235e87; text-decoration: underline; text-underline-offset: .35em; }
.breadcrumb { display: flex; gap: 12px; padding-block: 15px; color: var(--muted); }
.detail-page main > .section:first-of-type { padding-top: clamp(36px, 6vw, 74px); }
.explore { border-top: 1px solid var(--line); }
[hidden] { display: none !important; }
.nav-group { position: relative; display: flex; align-items: center; gap: 2px; }
.nav-dropdown { border: 0; }
.nav-dropdown:last-child { border: 0; }
.nav-dropdown > summary {
  display: grid; place-items: center; min-height: 44px;
  padding: 0; list-style: none; font-size: inherit; color: inherit;
}
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-panel {
  position: absolute; z-index: 3; top: 100%; left: 0; min-width: 172px;
  display: grid; gap: 2px; padding: 6px; border: 1px solid var(--line);
  border-radius: 8px; background: var(--paper); box-shadow: 0 8px 22px #152c4320;
}
.nav-panel a { display: block; padding: 9px 11px; white-space: nowrap; border-radius: 0; }
.nav-panel a + a { border-top: 1px solid var(--line); }
.gallery {
  --gallery-side: calc(max(36px, (100% - 1140px) / 2) * .6);
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  width: 100%; min-width: 0;
}
@media (max-width: 720px) {
  .gallery { --gallery-side: 10.8px; }
}
@media (max-width: 375px) {
  .gallery { --gallery-side: 8.4px; }
}
.gallery-viewport { position: relative; width: 100%; overflow: hidden; }
.gallery-slides { position: relative; width: calc(100% - 2 * var(--gallery-side)); height: 100%; }
.gallery-slide { width: 100%; height: 100%; }
.gallery-arrows button {
  --arrow-size: clamp(22px, 3vw, 40px);
  position: absolute; inset-block: 0; width: var(--gallery-side);
  padding: 0; border: 0; background: transparent; cursor: pointer;
}
.gallery-arrows button:first-child { left: 0; --arrow-angle: -135deg; }
.gallery-arrows button:last-child { right: 0; --arrow-angle: 45deg; }
.gallery-arrows span {
  position: absolute;
  top: 50%;
  width: var(--arrow-size); height: var(--arrow-size);
  border: solid #f7faf8e6; border-width: 3px 3px 0 0;
  filter: drop-shadow(0 1px 3px #152c4373);
  transform: translate(-50%, -50%) rotate(var(--arrow-angle));
  opacity: 0; pointer-events: none;
}
.gallery-arrows button:first-child span { left: max(var(--arrow-size), 50%); }
.gallery-arrows button:last-child span { left: min(100% - var(--arrow-size), 50%); }
.gallery-arrows button:hover span, .gallery-arrows button:focus-visible span { opacity: 1; }
.gallery-arrows button:focus-visible { outline: 2px solid var(--deep); outline-offset: -2px; }
.gallery-overlay {
  position: absolute; inset: 0; pointer-events: none;
}
.gallery-overlay::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom right, #000b, #0007 25%, transparent 52%);
}
.gallery-identity {
  --wordmark-size: clamp(3.5rem, 10vw, 10rem);
  position: absolute; top: clamp(20px, 5vw, 80px);
  left: max(4px, calc(max(18px, (100% - 1140px) / 2 - 72px) - 1em - var(--wordmark-size) * .67));
  color: #fff; max-width: calc(100% - 36px); text-shadow: 0 2px 10px #0008;
}
.gallery-circle-name {
  margin: 0 0 5px; font-size: clamp(.7rem, 1.4vw, 1.25rem);
  font-weight: 700; letter-spacing: .09em; line-height: 1.5;
}
.gallery-wordmark {
  margin: 0; color: inherit;
  font: 900 var(--wordmark-size)/1 "Arial Black", Arial, sans-serif;
  letter-spacing: -.07em;
}

.gallery-join {
  position: absolute; right: max(18px, calc((100% - 1140px) / 4 - 104px)); bottom: clamp(20px, 4vw, 60px);
  display: grid; place-content: center; width: clamp(136px, 14vw, 208px); aspect-ratio: 1;
  padding: 18px; border-radius: 46% 54% 49% 51% / 52% 45% 55% 48%;
  text-decoration: none;
  font-size: clamp(.95rem, 1.3vw, 1.25rem); line-height: 1.7; font-weight: 700;
  text-align: center; pointer-events: auto;
}
.gallery-join span { display: block; font-size: 1.6rem; line-height: 1; margin-top: 8px; }
.gallery-join, .join-intro .button.primary, .join .button.primary, .home-recruit .button.primary {
  background: var(--recruit-accent); color: var(--ink); border: 1px solid var(--recruit-border);
}
.gallery-join:hover, .join-intro .button.primary:hover, .join .button.primary:hover, .home-recruit .button.primary:hover {
  background: color-mix(in srgb, var(--recruit-accent) 90%, var(--ink));
}
.gallery-join:focus-visible { outline-offset: -6px; }
#about.intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
#about h1 { font-size: clamp(1.25rem, 2.1vw, 2rem); }
#about h1 span { display: block; white-space: nowrap; }
#about > * { min-width: 0; }
@media (max-width: 720px) {
  #about.intro { grid-template-columns: minmax(0, 1fr); }
  #about h1 { font-size: clamp(1.15rem, 5.3vw, 2rem); }
}
.gallery-slide { margin: 0; }
.gallery-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-placeholder {
  display: grid; place-items: center; height: 100%;
  color: var(--deep); font-weight: 700; font-size: 1rem; letter-spacing: .1em;
  background: var(--surface);
}
.gallery-dots { display: flex; justify-content: center; padding-block: 4px; }
.gallery-dots button {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; padding: 0; background: transparent; cursor: pointer;
}
.gallery-dots button::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: #94b2c9;
}
.gallery-dots button:hover::before { background: #6388a5; }
.gallery-dots button[aria-current="true"]::before { background: var(--deep); }
.gallery-dots button:focus-visible { outline: 2px solid var(--deep); outline-offset: -6px; }
.home-label { margin: 0 0 8px; color: var(--deep); font: italic 700 1.2rem Georgia, serif; }
#about h1 { margin: 0; line-height: 1.35; }
.explore-gesture {
  display: inline-block; margin-inline-start: .45em; vertical-align: middle;
  width: 2em; height: auto; fill: none; stroke: #6e9dbb; stroke-width: 1.3;
  stroke-linecap: round;
}
.explore-index {
  list-style: none; padding: 0; margin: 0 auto;
  max-width: 860px; border-top: 1px solid var(--line);
}
.explore-index li { border-bottom: 1px solid var(--line); }
.explore-index a {
  display: grid; grid-template-columns: minmax(11em, 1fr) 1.5fr auto;
  align-items: baseline; gap: 12px; padding: 18px 4px;
  text-decoration: none;
}
.explore-index a:hover strong, .explore-index a:focus-visible strong {
  color: var(--deep); text-decoration: underline; text-underline-offset: .24em;
}
.explore-index strong { font-size: clamp(1.05rem, 2vw, 1.45rem); }
.explore-index span { color: var(--muted); font-size: .9rem; }
.explore-index .explore-arrow { color: var(--deep); font-size: 1.15rem; }
.home-recruit {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 6vw, 82px);
  margin-top: clamp(42px, 8vw, 102px);
}
.home-recruit figure { margin: 0; }
.home-recruit img { display: block; width: 100%; height: auto; }
.home-recruit figcaption { margin-top: 6px; color: var(--muted); font-size: .8rem; }
.home-recruit h3 { margin: 0; font-size: clamp(1.85rem, 4vw, 3.4rem); line-height: 1.25; }
.home-recruit p { margin: 12px 0 20px; color: var(--muted); }
.performance-spread {
  display: grid;
  grid-template-columns: 32% minmax(0, 1fr);
  align-items: center;
  margin-block: clamp(24px, 4vw, 52px) clamp(32px, 5vw, 64px);
  color: var(--ink);
  text-decoration: none;
}
.performance-spread h3 {
  margin: 0;
  padding-inline: clamp(10px, 2vw, 30px) 0;
  font-size: clamp(2rem, 5.3vw, 4.6rem);
  line-height: 1.15;
  letter-spacing: .02em;
}
.performance-spread h3 > span {
  display: block;
  margin-top: .6em;
  font-size: .43em;
  letter-spacing: .12em;
}
.performance-spread-arrow {
  margin-inline-start: .45em;
  color: var(--deep);
}
.performance-spread img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%);
}
.performance-spread:hover h3 > span, .performance-spread:focus-visible h3 > span {
  text-decoration: underline;
  text-underline-offset: .24em;
}
@media (max-width: 720px) {
  .performance-spread { grid-template-columns: minmax(0, 1fr); }
  .performance-spread img { grid-row: 1; clip-path: none; }
  .performance-spread h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2em .45em;
    padding: 16px 0 0;
    font-size: clamp(2rem, 8.5vw, 3.25rem);
  }
  .performance-spread h3 > span { margin: 0; }
}
@media (max-width: 600px) {
  .explore-index a { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
  .explore-index span { grid-column: 1; }
  .explore-index .explore-arrow { grid-column: 2; grid-row: 1; }
  .home-recruit { grid-template-columns: minmax(0, 1fr); }
}
.greeting { border-top: 1px solid var(--line); }
.greeting-copy { min-height: 112px; }
.schedule { max-width: 760px; margin-block: 24px 12px; border-top: 1px solid var(--line); }
.schedule div { padding-block: 16px; }
.schedule p { margin: 4px 0 0; }
.activity-grid h2 { font-size: clamp(1.25rem, 3vw, 1.85rem); }
.detail-page .genre-list h3 { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .site-nav { gap: 0 12px; }
  .nav-group:last-of-type .nav-panel { left: auto; right: 0; }
}

.site-nav { flex-wrap: nowrap; }
.nav-home { --nav-tint: #d7edff; --nav-ink: #235e87; }
.nav-genres { --nav-tint: #f8deeb; --nav-ink: #8c3b5a; }
.nav-activity { --nav-tint: #daf2e5; --nav-ink: #246449; }
.nav-performance { --nav-tint: #ffdfd0; --nav-ink: #953e29; }
.nav-join { --nav-tint: #f9edba; --nav-ink: #735319; }
.nav-faq { --nav-tint: #eae1fa; --nav-ink: #5d4787; }
.site-nav > a:hover,
.site-nav > a:focus-visible,
.site-nav .nav-group:hover > .nav-top,
.site-nav .nav-top:focus-visible,
.site-nav .nav-group:has(.nav-dropdown[open]) > .nav-top {
  color: var(--nav-ink);
  background: linear-gradient(transparent 58%, var(--nav-tint) 58% 87%, transparent 87%);
}
.site-nav .nav-dropdown[open] > summary,
.site-nav summary:focus-visible { color: var(--nav-ink); }
.site-nav .nav-panel a:hover,
.site-nav .nav-panel a:focus-visible {
  color: var(--deep); background: var(--light-sky);
  text-decoration: underline; text-underline-offset: .2em;
}
.genre-list article { scroll-margin-top: 18px; }
.social-links { display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; }
.social-link { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; min-height: 44px; }
.social-link img { display: block; width: 22px; height: 22px; object-fit: contain; }
/* The official YouTube PNG includes transparent space around the mark. */
.social-youtube img { flex: none; width: 40px; height: auto; }
@media (max-width: 720px) {
  .social-line img { width: 36px; height: 36px; }
}
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.copyright { padding-top: 18px; margin-top: 18px; border-top: 1px solid #ffffff35; font-size: .75rem; }
@media (max-width: 1200px) {
  .header-inner { flex-wrap: wrap; justify-content: flex-start; gap: 0 18px; padding-block: 8px; }
  .header-inner .brand { margin-right: auto; }
  .header-inner .site-nav { order: 3; width: 100%; justify-content: flex-end; gap: 0 24px; }
  :root { --header-height: 110px; }
}
@media (max-width: 600px) {
  .header-inner { gap: 0 8px; }
  .header-menu > .social-links { order: 4; width: 100%; justify-content: center; }
  .header-inner .site-nav { justify-content: flex-end; flex-wrap: wrap; gap: 0 14px; }
  .header-inner .member { padding-inline: 12px; }
  .social-link { flex-basis: 44px; width: 44px; }
  :root { --header-height: 160px; }
  .footer-inner { flex-wrap: wrap; }
}

/* Keep grid children within the viewport at every window width. */
.genre-list article {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  align-items: start; gap: clamp(24px, 6vw, 84px);
  min-width: 0; padding-block: clamp(28px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.genre-copy, .instagram-posts { min-width: 0; }
.genre-copy h3 { margin: 0 0 10px; font-family: inherit; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.genre-copy p + h3 { margin-top: 24px; scroll-margin-top: 18px; }
.genre-copy p { font-size: 1rem; line-height: 1.9; }
.instagram-posts { display: grid; gap: 18px; margin-top: 24px; }
.genre-list .instagram-posts { margin-top: 0; }
.instagram-fallback {
  display: grid; place-items: center; min-height: 180px; padding: 20px;
  background: var(--surface); color: var(--deep); text-underline-offset: .3em;
}
.instagram-posts .instagram-media { min-width: 0 !important; width: 100% !important; max-width: 540px !important; margin: 0 auto !important; }
.instagram-posts iframe { max-width: 100% !important; }
@media (max-width: 720px) {
  .genre-list article { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

/* Broad spaces and softly curved surfaces, informed by the supplied reference. */
.nav-top { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.nav-group { gap: 3px; }
.nav-dropdown > summary { min-width: 24px; min-height: 44px; font-size: .9rem; }
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown > summary {
    position: absolute; width: 1px; height: 1px; min-width: 0; min-height: 0;
    overflow: hidden; clip-path: inset(50%);
  }
  .nav-dropdown > summary:focus-visible {
    position: static; width: 24px; height: 44px; clip-path: none; overflow: visible;
  }
}
.nav-panel { border-radius: 14px; padding: 10px; }
.header { border-bottom-color: transparent; }
.header-inner { min-height: 86px; }
body > main { min-width: 0; }
#about { padding-top: clamp(70px, 10vw, 145px); padding-bottom: clamp(70px, 10vw, 145px); }
#about h1 { font-weight: 700; letter-spacing: .04em; line-height: 1.65; }
.prose { line-height: 2.05; }
.section h1, .section h2 { letter-spacing: .035em; }
.greeting { border-top: 0; position: relative; background: var(--surface); padding-inline: clamp(24px, 4vw, 62px); }
.greeting, .member-workspace .login-card { border-radius: 40px 100px 50px 40px; }
.member-workspace .login-main { place-items: start center; padding-block: clamp(24px, 6vw, 72px); }
.member-workspace .login-card { border: 0; box-shadow: none; }
.member-workspace .login-card h1 { font-size: clamp(1.5rem, 4vw, 2rem); white-space: normal; }
.member-workspace :focus-visible { outline: 2px solid var(--deep); outline-offset: 2px; }
.explore { border-top: 0; }
.tinted { border: 0; border-radius: 0 0 48px 48px; }
.practice, .calendar { border-radius: 24px !important; }
.join { border: 0; border-radius: 48px 48px 0 0; }
.faq-link { padding-block: 20px 50px; }
.faq-page details { padding-block: 5px; }
.faq-topics { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.faq-topics a {
  display: block; padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 16px; text-decoration: none;
}
.faq-topics a:hover { background: var(--surface); }
.faq-group + .faq-group { margin-top: 34px; }
.faq-group h2 { margin-bottom: 12px; font-size: 1.25rem; }
footer { color: var(--ink); background: var(--surface); }
.footer-inner .brand span { color: var(--deep); }
.copyright { border-top-color: var(--line); }
@media (max-width: 720px) {
  .header-inner { min-height: 63px; }
  .greeting, .member-workspace .login-card { border-radius: 26px 52px 30px 26px; }
  .tinted { border-radius: 0 0 26px 26px; }
  .join { border-radius: 26px 26px 0 0; }
}


.header-inner.wrap,
.footer-inner.wrap,
.copyright.wrap { width: min(1760px, calc(100% - 96px)); }
.header-inner .brand { font-size: 36px; }
.site-nav { font-size: .95rem; }
.member { font-size: .9rem; }
@media (max-width: 720px) {
  .header-inner.wrap,
  .footer-inner.wrap,
  .copyright.wrap { width: calc(100% - 36px); }
  .header-inner .brand { font-size: 31px; }
  .site-nav { font-size: .78rem; }
  .member { font-size: .82rem; }
}

.header-inner .site-nav { margin-left: auto; }
.gallery-backdrop {
  position: absolute; inset: -28px; pointer-events: none;
  filter: blur(15px); opacity: .4; transform: scale(1.08);
}
.gallery-backdrop .photo-placeholder { color: transparent; }
.gallery-backdrop .gallery-slide img { object-position: center 70%; }
.gallery-backdrop:not(:empty) + .gallery-slides {
  --gallery-blend: clamp(26px, 8vw, 144px);
  mask-image: linear-gradient(
    to right,
    transparent,
    #0002 calc(var(--gallery-blend) * .22),
    #0008 calc(var(--gallery-blend) * .5),
    #000d calc(var(--gallery-blend) * .78),
    #000 var(--gallery-blend),
    #000 calc(100% - var(--gallery-blend)),
    #000d calc(100% - var(--gallery-blend) * .78),
    #0008 calc(100% - var(--gallery-blend) * .5),
    #0002 calc(100% - var(--gallery-blend) * .22),
    transparent
  );
}

.login-page .header-inner .member { margin-left: auto; }



.jazz-variants { display: grid; gap: 36px; min-width: 0; }
.jazz-variant h4 { margin: 0 0 12px; font-size: 1.1rem; }
.jazz-variant .instagram-posts { margin-top: 0; }
.media-block { margin: 48px auto 0; max-width: 960px; min-width: 0; }
.media-block h2 { margin-bottom: 20px; font-size: clamp(1.3rem, 3vw, 2rem); }
.youtube-player { display: block; border: 0; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; }
.performance-archive {
  list-style: none; padding: 0; margin: 0 0 24px;
  border-top: 1px solid var(--line);
}
.performance-archive li { border-bottom: 1px solid var(--line); }
.performance-entry {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center; gap: clamp(16px, 5vw, 64px);
  padding-block: clamp(18px, 3vw, 36px);
  text-decoration: none;
}
.performance-entry-copy { display: grid; gap: 12px; }
.performance-entry:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.performance-year {
  font-size: clamp(.9rem, 1.7vw, 1.25rem);
  line-height: 1.3; font-weight: 700; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.performance-entry-title {
  font-size: clamp(2rem, 5.5vw, 4.25rem);
  line-height: 1.15; font-weight: 900;
}
.reflection-initial { margin-inline-end: -.18em; }
.reflection-opening-quote { margin-inline-end: -.12em; }
.performance-entry img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.performance-entry:hover .performance-entry-title,
.performance-entry:focus-visible .performance-entry-title { text-decoration: underline; text-underline-offset: .24em; }
@media (max-width: 540px) {
  .performance-entry { grid-template-columns: minmax(0, 1fr); }
}

.year-calendar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 70px); margin-block: 36px 20px; }
.year-half h2 { font-size: 1.35rem; margin: 0 0 20px; }
.month-axis { --month-dot-center: 22px; list-style: none; padding: 0; margin: 0; }
.month-axis li { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr); min-height: 105px; }
.month-label { align-self: start; padding-top: 12px; font-size: 1.4rem; font-weight: 700; line-height: 1; }
.month-label small { font-size: .75rem; margin-left: 4px; }
.month-content { position: relative; padding: 0 0 15px 24px; min-width: 0; }
.month-content::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: #b4ccdc;
}
.month-content::after {
  content: ""; position: absolute; left: 1px; top: var(--month-dot-center);
  width: 10px; height: 10px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--season-ink, var(--deep));
}
.month-axis li:first-child .month-content::before { top: var(--month-dot-center); }
.month-axis li:last-child .month-content::before { bottom: auto; height: var(--month-dot-center); }
.month-event { padding: 12px 16px; border-radius: 12px; background: var(--season-surface, var(--surface)); }
.season-spring { --season-surface: #fff0e8; --season-ink: #ae503c; }
.season-summer { --season-surface: #e8f6ef; --season-ink: #2c765d; }
.season-autumn { --season-surface: #fbf3de; --season-ink: #916215; }
.season-winter { --season-surface: #eaf4fc; --season-ink: var(--deep); }
.month-event h3 { margin: 0; font-size: 1rem; }
.month-event p { margin: 5px 0 0; font-size: .85rem; color: var(--muted); }
.month-event.recruit-event { background: #ffd3ba; }
.recruit-event .text-link { color: var(--recruit-border); }
@media (max-width: 720px) {
  .year-calendar { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .year-half:first-child li:last-child .month-content::before { bottom: 0; height: auto; }
  .year-half:last-child li:first-child .month-content::before { top: 0; }
}

.month-content { display: grid; align-content: start; gap: 10px; }

.home-pv { margin-top: 28px; }
.home-pv h2 { margin: 0 0 14px; font-size: 1.25rem; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-icon { display: block; flex: 0 0 auto; width: 52px; height: 52px; object-fit: contain; border-radius: 10px; }
footer .brand-icon { width: 64px; height: 64px; border-radius: 12px; }
@media (min-width: 1201px) {
  body { --header-badge-size: clamp(112px, 8.5vw, 148px); }
  .header-inner { padding-left: var(--header-badge-size); }
  .header-inner > .brand { position: absolute; top: 0; left: 0; }
  .header-inner .brand-icon {
    width: var(--header-badge-size); height: var(--header-badge-size);
    border-radius: 0 0 28px 0;
  }
  .breadcrumb {
    width: auto;
    margin-left: max(calc(var(--header-badge-size) + 16px), calc((100% - 1140px) / 2));
    margin-right: max(36px, calc((100% - 1140px) / 2));
  }
}
@media (max-width: 1200px) {
  .header-inner { padding-block: 2px; }
  .header-inner .brand-icon { width: 56px; height: 56px; }
}
@media (max-width: 720px) {
  .header-inner .site-nav { padding-top: 0; }
  .header-inner .brand-icon { width: 52px; height: 52px; border-radius: 8px; }
  .brand { gap: 9px; }
}



.welcome-live-post { max-width: 540px; margin: 28px auto 0; }

.footer-brand { min-width: 0; gap: 16px; letter-spacing: normal; }
.footer-identity { display: grid; gap: 2.5px; min-width: 0; }
.footer-inner .footer-identity, .footer-inner .footer-identity span { color: var(--ink); }
.footer-circle-name { font: 700 .7rem/1.5 "Yu Gothic", "YuGothic", sans-serif; letter-spacing: .04em; }
.footer-wordmark { font: 900 2.5rem/1 "Arial Black", Arial, sans-serif; letter-spacing: -.07em; }
@media (max-width: 375px) {
  .footer-brand { gap: 10px; }
  .footer-circle-name { font-size: .62rem; }
  .footer-wordmark { font-size: 2.15rem; }
}

.genre-overview {
  display: grid; gap: 0; padding: 0; margin-block: 28px clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--line);
}
.genre-overview-group {
  display: grid; grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px 20px; align-items: start; padding-block: 10px;
  border-bottom: 1px solid var(--line);
}
.genre-overview-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.genre-overview a { display: inline-flex; align-items: center; min-height: 44px; }
.genre-overview-links a { color: var(--deep); }
.genre-overview a:hover, .genre-overview a:focus-visible {
  text-decoration: underline; text-underline-offset: .24em;
}
.genre-overview .genre-category { justify-self: start; padding-inline: .45em; }
.genre-overview .genre-category[href="#jazz"], #jazz { --chapter-tint: #f8e7ef; }
.genre-overview .genre-category[href="#street"], #street { --chapter-tint: #e6f6ee; }
.genre-overview .genre-category, .genre-family > h2 {
  background: linear-gradient(transparent 65%, var(--chapter-tint) 65%, var(--chapter-tint) 90%, transparent 90%);
}
.genre-family { scroll-margin-top: 18px; }
.genre-family > h2 { display: inline-block; }
.genre-family + .genre-family { margin-top: clamp(52px, 9vw, 108px); }
.genre-chapter-number {
  margin: 0 0 8px; color: var(--deep); font: italic 700 1.1rem Georgia, serif;
}
.nav-subgroup + .nav-subgroup { margin-top: 8px; padding-top: 8px; border-top: 2px solid var(--line); }
.nav-subgroup a.nav-category { font-weight: 800; background: var(--surface); }
.nav-genres .nav-panel { max-height: calc(100dvh - var(--header-height) - 20px); overflow-y: auto; }
@media (max-width: 600px) {
  .genre-overview-group { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* Measure the gap against the small circle name, trimming glyph padding where supported. */
.gallery-identity { font-size: clamp(.7rem, 1.4vw, 1.25rem); }
.gallery-circle-name { margin: 0 0 .5em; font-size: inherit; line-height: 1; }
.gallery-wordmark { line-height: .76; }
.footer-identity { font-size: .7rem; gap: .5em; }
.footer-circle-name { font-size: inherit; line-height: 1; }
.footer-wordmark { line-height: .76; }
@supports (text-box-trim: trim-both) {
  .gallery-circle-name, .gallery-wordmark,
  .footer-circle-name, .footer-wordmark {
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
    line-height: 1;
  }
  .gallery-circle-name { margin-bottom: 1em; }
  .footer-identity { gap: 1em; }
}
@media (max-width: 375px) {
  .footer-identity { font-size: .62rem; }
}

/* Align the visible glyph edges, including the fonts' left side bearings. */
.gallery-circle-name, .footer-circle-name { position: relative; left: -.024em; }
.gallery-wordmark, .footer-wordmark { position: relative; left: -.0742em; }

.header-menu { display: contents; }
.mobile-menu-toggle, .mobile-header-name { display: none; }

@media (max-width: 720px) {
  :root {
    --mobile-badge-size: clamp(76px, 26.5vw, 132px);
    --mobile-menu-width: clamp(48px, 15vw, 64px);
  }
  :is(body:not(.login-page), body.member-workspace) .header-inner {
    width: 100%; padding: 0 0 0 var(--mobile-badge-size); gap: 0;
  }
  .header-inner:has(.mobile-menu-toggle:not([hidden])) { padding-right: var(--mobile-menu-width); }
  :is(body:not(.login-page), body.member-workspace) .header-inner > .brand {
    position: absolute; top: 0; left: 0;
  }
  :is(body:not(.login-page), body.member-workspace) .header-inner .brand-icon {
    width: var(--mobile-badge-size); height: var(--mobile-badge-size);
    border-radius: 0 0 20px 0;
  }
  .mobile-header-name {
    display: block; flex: 1 1 0; min-width: 0; padding-inline: 6px;
    font-size: clamp(.68rem, 3.1vw, .96rem); font-weight: 800;
    line-height: 1.35; text-align: center;
  }
  .member-workspace .header-inner > .member { margin-inline: 4px 8px; }
  .member-workspace .login-main {
    padding-block-start: max(24px, calc(var(--mobile-badge-size) - var(--header-height) + 16px));
  }
  .mobile-menu-toggle {
    position: absolute; inset: 0 0 0 auto;
    display: grid; place-items: center; width: var(--mobile-menu-width);
    border: 0; border-radius: 0 0 0 12px; background: var(--ink); color: white;
    cursor: pointer;
  }
  .mobile-menu-toggle span {
    width: 22px; height: 2px; background: currentColor;
    box-shadow: 0 -6px currentColor, 0 6px currentColor;
  }
  .mobile-menu-toggle[aria-expanded="true"] { background: var(--deep); }
  .mobile-menu-toggle[aria-expanded="true"] span { background: none; box-shadow: none; }
  .mobile-menu-toggle[aria-expanded="true"] span::before,
  .mobile-menu-toggle[aria-expanded="true"] span::after {
    content: ""; position: absolute; inset: 50% auto auto 50%;
    width: 22px; height: 2px; background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .mobile-menu-toggle[aria-expanded="true"] span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .mobile-menu-toggle:focus-visible { outline: 2px solid white; outline-offset: -5px; }
  html.mobile-menu-open { overflow: hidden; }
  .mobile-menu-open .header::before {
    content: ""; position: fixed; inset: 0; background: var(--paper); pointer-events: none;
  }
  .mobile-menu-open .mobile-header-name { position: relative; }
  .mobile-menu-toggle:not([hidden]) + .header-menu {
    position: fixed; inset: max(var(--header-height), var(--mobile-badge-size)) 0 0; display: grid; align-content: start;
    gap: 12px; padding: 8px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  }
  .mobile-menu-toggle:not([hidden])[aria-expanded="false"] + .header-menu { display: none; }
  .header-menu .site-nav {
    display: grid; justify-content: stretch; order: 0; gap: 0; width: 100%; font-size: 1rem;
  }
  .header-menu .nav-group { display: block; }
  .header-menu .nav-dropdown > summary {
    position: absolute; top: 0; right: 0; width: 44px; height: 44px;
    clip-path: none; overflow: visible;
  }
  .header-menu .nav-panel {
    position: static; max-height: none; padding-block: 2px;
    border: 0; border-radius: 0; box-shadow: none; overflow: visible;
  }
  .header-menu .nav-panel a { min-height: 44px; white-space: normal; }
  .header-menu .site-nav > * { border-bottom: 1px solid var(--line); }
  .header-menu .nav-group > .nav-top { width: calc(100% - 44px); }
  .header-menu .site-nav > a { min-height: 44px; }
  .header-menu > .social-links { order: 0; }
  .mobile-menu-toggle:not([hidden]) + .header-menu > .member { justify-self: start; }
  .breadcrumb { padding-left: max(0px, calc(var(--mobile-badge-size) - 6px)); }
  .footer-inner.wrap, .copyright.wrap { width: calc(100% - 32px); }
  .footer-inner { flex-direction: column; align-items: stretch; }
  .footer-links { justify-content: space-between; gap: 8px 12px; }
  .copyright { text-align: center; }

  .gallery { display: block; height: auto; }
  .gallery-viewport { aspect-ratio: 3 / 2; }
  .gallery-identity { top: max(20px, calc(var(--mobile-badge-size) - var(--header-height) + 12px)); }
  .gallery-slides { width: 100%; touch-action: pan-y pinch-zoom; }
  .gallery-slides > .gallery-slide { position: absolute; inset: 0; }
  .gallery-slide img { object-fit: contain; }
  .gallery-backdrop, .gallery-arrows { display: none; }
  .gallery-backdrop:not(:empty) + .gallery-slides { mask-image: none; }
  .gallery-join {
    position: fixed; z-index: 5;
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: 96px; padding: 8px; border-radius: 50%;
    font-size: .75rem; line-height: 1.35;
    box-shadow: 0 3px 12px #152c432b;
  }
  .gallery-join span { font-size: 1.15rem; margin-top: 4px; }
  .gallery-join.is-docked {
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translate(var(--dock-x, 0px), var(--dock-y, 0px)) scale(.45);
  }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .gallery-join { transition: opacity .22s, transform .22s, visibility .22s; }
}

/* Material theme for login and password pages. */
.material-theme {
  --ink: #181c23;
  --muted: #424754;
  --paper: #faf8ff;
  --surface: #eaeaf5;
  --line: #c5c6d2;
  --deep: #315b96;
  --primary-container: #d6e3ff;
  --on-primary-container: #11325c;
  --card-surface: #f0eff8;
  --card-radius: 24px;
  font-family: Roboto, "Yu Gothic", Meiryo, system-ui, sans-serif;
}
.material-theme .header { background: var(--surface); box-shadow: 0 1px 3px #181c231a; }
.material-theme .login-main { place-items: start center; padding-block: clamp(24px, 6vw, 72px); }
.material-theme .login-card { background: var(--card-surface); border: 0; border-radius: var(--card-radius); box-shadow: none; }
.material-theme .login-card h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; white-space: normal; }
.auth-label { margin: 0 0 8px; color: var(--deep); font-size: .875rem; font-weight: 700; }
.material-theme .header .member,
.material-theme .button.secondary {
  border-color: var(--muted); border-radius: 999px; background: transparent; color: var(--deep);
}
.material-theme .header .member:hover,
.material-theme .button.secondary:hover {
  background: var(--primary-container); color: var(--on-primary-container);
}
.material-theme .header-inner { min-height: 68px; padding: 8px 0; }
.material-theme .header-inner > .brand { position: relative; }
.material-theme .header-inner .brand-icon { width: 52px; height: 52px; border-radius: 10px; }
.material-theme .button.primary { background: var(--deep); color: #fff; border: 0; border-radius: 999px; }
.material-theme .button.primary:hover { background: #284c7f; }
@media (max-width: 720px) {
  .material-theme .header-inner { min-height: 60px; gap: 8px; }
  .material-theme .header-inner .brand-icon { width: 44px; height: 44px; }
}
