:root {
  --ink: #28383f;
  --muted: #626d70;
  --paper: #f6f3ec;
  --white: #fffefa;
  --red: #c8493f;
  --red-dark: #9c3932;
  --gold: #c89b4d;
  --soft-red: #f8e7e1;
  --line: rgba(40, 56, 63, 0.13);
  --shadow: 0 18px 48px rgba(40, 56, 63, 0.10);
  --radius: 18px;
  --header-height: 104px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.8;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.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;
}
.skip-link {
  position: fixed; z-index: 100; left: 16px; top: -80px; padding: 10px 16px;
  background: var(--ink); color: white; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 30; height: var(--header-height); background: rgba(255,254,250,.95);
  border-bottom: 1px solid var(--line); box-shadow: 0 6px 24px rgba(40,56,63,.05); backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1160px, calc(100% - 40px)); height: 100%; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 30px; font-weight: 900; letter-spacing: .08em; }
.brand-organization { margin-bottom: 5px; font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.brand-logo {
  display: block; flex-shrink: 0; width: 58px; height: 58px; object-fit: contain;
}
.global-nav { display: flex; align-items: center; gap: 20px; }
.global-nav a { font-size: 13px; font-weight: 700; text-decoration: none; letter-spacing: .06em; }
.global-nav a:not(.nav-cta):hover { color: var(--red); }
.nav-cta { padding: 11px 19px; color: white; background: var(--red); border-radius: 999px; }
.menu-button { display: none; flex-shrink: 0; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-button > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }
.text-size-toggle { display: none; }

.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 36px;
  position: relative; min-height: 650px; padding: 66px max(5vw, calc((100vw - 1240px)/2));
  background: linear-gradient(135deg, #26383f 0%, #344a50 58%, #58413b 100%);
  color: white; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; width: 440px; height: 440px; right: 36%; bottom: -310px;
  border-radius: 50%; background: rgba(255,255,255,.055); pointer-events: none;
}
.hero-text { min-width: 0; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.hero .eyebrow { color: #f3a49c; }
.hero .hero-organization { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.5; font-weight: 900; letter-spacing: .02em; margin-bottom: 8px; }
.branch-official-badge { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0 0 30px; color: white; }
.branch-official-badge > span { font-size: clamp(36px, 4vw, 54px); line-height: 1.35; font-weight: 900; letter-spacing: .03em; }
.branch-official-badge small { font-size: 13px; letter-spacing: .08em; }
.hero h1 { margin: 0; font: 900 clamp(48px, 6.3vw, 90px)/1.15 "Yu Mincho", "Hiragino Mincho ProN", serif; letter-spacing: -.04em; }
.hero h1 em { color: #f08b81; font-style: normal; }
.hero-locality { margin: 20px 0 0; color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .06em; }
.hero-dojos { margin: 26px 0 0; font-size: 17px; letter-spacing: .05em; font-weight: 700; }
.hero-lead { max-width: 520px; margin: 12px 0 28px; color: rgba(255,255,255,.8); font-size: 15px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 30px;
  min-height: 56px; padding: 0 26px; border: 0; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(40,56,63,.16); }
.button-primary { background: var(--red); color: white; box-shadow: 0 12px 30px rgba(144,48,42,.25); }
.button-primary:hover { background: #d4584e; }
.text-link { color: white; font-size: 13px; font-weight: 700; text-underline-offset: 6px; }
.practice-photo { position: relative; min-width: 0; margin: 0; aspect-ratio: 4 / 3; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 54px rgba(12,22,26,.24); }
.practice-photo img, .leader-portrait img { width: 100%; height: 100%; display: block; object-fit: cover; }
.practice-photo figcaption { position: absolute; left: 0; bottom: 0; max-width: 100%; padding: 8px 16px; color: white; background: rgba(16,24,32,.86); font-size: 12px; }
.photo-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; flex-direction: column; padding: 28px; text-align: center; }
.photo-placeholder strong { font: 700 clamp(20px, 2.3vw, 30px) "Yu Mincho", serif; }
.photo-placeholder > span:last-child { font-size: 12px; opacity: .8; }
.photo-label { font-size: 10px; letter-spacing: .22em; opacity: .8; }

.about-section { padding: 112px max(6vw, 32px); background: var(--paper); }
.bulletins { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; width: min(1160px, 100%); margin: 0 auto 86px; }
.bulletin-panel { min-width: 0; padding: 32px; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px rgba(40,56,63,.055); }
.events-panel { border-color: var(--ink); }
.blog-panel { grid-column: 1 / -1; border-color: var(--gold); }
.blog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.bulletin-heading .eyebrow { margin-bottom: 10px; }
.bulletin-heading h2 { margin: 0; font: 800 clamp(26px, 3vw, 36px)/1.4 "Yu Mincho", "Hiragino Mincho ProN", serif; }
.bulletin-heading > p:last-child { margin: 12px 0 24px; color: var(--muted); font-size: 13px; }
.bulletin-empty { padding: 26px 0 12px; border-top: 1px solid var(--line); }
.empty-label { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 12px; font-weight: 700; }
.bulletin-empty p { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.bulletin-list { margin: 0; padding: 0; list-style: none; }
.bulletin-item { padding: 22px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.bulletin-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bulletin-date { color: var(--muted); font-size: 12px; }
.bulletin-category { padding: 2px 8px; color: var(--red-dark); background: var(--soft-red); border-radius: 999px; font-size: 11px; }
.bulletin-dojo { padding: 2px 8px; color: #334754; background: #e9eff2; border-radius: 999px; font-size: 11px; }
.bulletin-item-title { margin: 8px 0 0; font-size: 17px; line-height: 1.65; }
.bulletin-summary { cursor: pointer; list-style: none; }
.bulletin-summary::-webkit-details-marker { display: none; }
.bulletin-expand { display: inline-flex; align-items: center; min-height: 44px; color: var(--red-dark); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.bulletin-body { margin: 10px 0 0; white-space: pre-line; color: var(--muted); font-size: 14px; }
.bulletin-photo { display: block; width: 100%; max-height: 520px; margin: 16px 0 4px; border-radius: 14px; object-fit: contain; background: var(--paper); }
.event-facts { margin: 16px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); }
.event-fact { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 4px 0; font-size: 13px; }
.event-fact dt { color: var(--muted); }
.event-fact dd { margin: 0; white-space: pre-line; }
.bulletin-summary:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.section-heading { width: min(1160px, 100%); margin: 0 auto 44px; }
.section-heading h2 { margin: 0 0 14px; font: 900 clamp(34px, 5vw, 58px)/1.25 "Yu Mincho", "Hiragino Mincho ProN", serif; }
.section-heading > p:last-child { max-width: 680px; color: var(--muted); }
.info-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  width: min(1160px, 100%); margin: auto;
}
.info-card { position: relative; min-height: 265px; padding: 36px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid #73858b; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(40,56,63,.05); }
.info-card.feature-card { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; background: #354a51; color: white; border-color: #d98278; }
.feature-card .facts { margin-top: 0; }
.branch-overview .card-number { margin-bottom: 24px; }
.dojo-card { display: flex; flex-direction: column; min-width: 0; }
.dojo-card .card-number { margin-bottom: 18px; }
.dojo-card .dojo-affiliation { margin: 0 0 8px; color: var(--red-dark); font-size: 12px; font-weight: 700; }
.dojo-facts { margin: 22px 0; }
.dojo-facts div, .leader-facts div { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.dojo-facts dt, .leader-facts dt { color: var(--muted); font-size: 12px; }
.dojo-facts dd, .leader-facts dd { margin: 0; font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; }
.dojo-link { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 700; text-underline-offset: 5px; }
.dojo-link:hover { color: var(--red); }
.dojo-address { text-underline-offset: 4px; }
.dojo-address:hover { color: var(--red-dark); }
.dojo-phone { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 700; text-underline-offset: 5px; }
.dojo-map { margin: auto 0 20px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.dojo-map figcaption { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 14px; font-size: 13px; font-weight: 700; }
.map-pin-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--red); }
.dojo-map iframe { display: block; width: 100%; height: 320px; border: 0; background: #e3e7e8; }
.map-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--white); }
.map-actions a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
.contact-dojo-phone { display: block; margin: 0 0 12px; color: var(--ink) !important; }
.contact-dojo-phone a { display: block; min-height: 36px; padding-top: 4px; font-size: 16px; text-underline-offset: 4px; }
.activities-note { width: min(1160px, 100%); margin: 30px auto 0; padding: 24px 0; border-bottom: 1px solid var(--line); }
.activities-note h3 { margin: 0 0 6px; font-size: 17px; }
.activities-note p { margin: 0; color: var(--muted); font-size: 14px; }
.dojo-gallery { width: min(1160px, 100%); margin: 80px auto 0; }
.dojo-gallery .section-heading { margin-bottom: 26px; }
.gallery-carousel { position: relative; width: 100%; max-width: 900px; margin: auto; overflow: hidden; border-radius: 18px; background: #e7e2d8; box-shadow: var(--shadow); }
.gallery-photo-link { display: block; aspect-ratio: 3 / 2; background: #e7e2d8; }
.gallery-photo-link:focus-visible { outline: 4px solid var(--gold); outline-offset: -6px; }
.gallery-photo-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-overlay { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 38px 72px 17px; color: white; background: linear-gradient(transparent, rgba(16,24,32,.86)); pointer-events: none; }
.gallery-overlay > span:first-child { display: grid; gap: 2px; }
.gallery-overlay strong { font-size: 14px; }
.gallery-overlay small { color: rgba(255,255,255,.78); font-size: 11px; }
#gallery-counter { flex-shrink: 0; font-size: 12px; font-weight: 700; }
.carousel-button { position: absolute; top: 50%; z-index: 2; display: grid; width: 48px; height: 48px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: white; background: rgba(16,24,32,.68); font-size: 34px; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.carousel-button:hover { background: rgba(16,24,32,.9); }
.carousel-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.carousel-previous { left: 14px; }
.carousel-next { right: 14px; }
.carousel-dots { position: absolute; z-index: 3; left: 50%; bottom: 10px; display: flex; gap: 7px; transform: translateX(-50%); }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 1px solid white; border-radius: 50%; background: transparent; cursor: pointer; }
.carousel-dot[aria-current="true"] { background: white; }
.leader-profile { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); width: min(1160px, 100%); margin: 80px auto 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.leader-portrait { margin: 0; aspect-ratio: 665 / 1000; align-self: start; background: #e7e2d8; color: #4f544e; }
.leader-portrait img { height: auto; object-fit: contain; }
.leader-copy { padding: 42px; min-width: 0; }
.leader-copy h2 { margin: 0 0 26px; font: 800 clamp(30px, 4vw, 44px) "Yu Mincho", serif; }
.leader-role { color: var(--muted); margin: 0; font-size: 12px; }
.leader-name { margin: 8px 0 22px; font-size: 23px; font-weight: 700; overflow-wrap: anywhere; }
.leader-facts { margin: 0 0 26px; }
.leader-roles { margin-top: 18px; opacity: .86; }
.leader-roles dd { font-size: 13px; }
.leader-copy h3 { font-size: 16px; margin: 0 0 12px; }
.leader-message { margin: 0; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.joining-guide { width: min(1160px, 100%); margin: 86px auto 0; padding-top: 68px; border-top: 1px solid var(--line); }
.joining-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.joining-card { padding: 32px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-top: 4px solid #73858b; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(40,56,63,.05); }
.guide-step { color: var(--red-dark); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.joining-card h3 { margin: 16px 0 14px; font: 800 clamp(22px, 2.5vw, 29px)/1.4 "Yu Mincho", serif; }
.guide-description, .guide-empty, .membership-notes, .class-description { font-size: 14px; color: var(--muted); line-height: 1.85; }
.guide-empty { margin-top: 24px; }
.guide-empty p { margin-bottom: 0; }
.fee-list { margin: 24px 0 0; }
.fee-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.fee-row dd { margin: 0; text-align: right; white-space: pre-line; }
.fee-note { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.belongings-card { grid-column: 1 / -1; }
.belongings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
.belongings-grid > div { padding-top: 16px; border-top: 1px solid var(--line); }
.belongings-grid h4 { margin: 0 0 12px; font-size: 16px; }
.belongings-list { margin: 0; padding-left: 1.2em; font-size: 14px; }
.belongings-list li { padding: 5px 0; overflow-wrap: anywhere; }
.class-list { list-style: none; margin: 24px 0 0; padding: 0; }
.class-item { padding: 20px 0; border-top: 1px solid var(--line); }
.class-name { margin: 0 0 14px; font-size: 19px; overflow-wrap: anywhere; }
.class-facts { margin: 0; }
.class-facts div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding: 4px 0; font-size: 13px; }
.class-facts dt { color: var(--muted); }
.class-facts dd { margin: 0; }
.class-facts dd, .class-description, .membership-notes { white-space: pre-line; overflow-wrap: anywhere; }
.joining-contact { margin: 28px 0 0; color: var(--muted); font-size: 14px; }
.joining-contact a { color: var(--ink); text-underline-offset: 4px; }
.card-number { display: block; margin-bottom: 54px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.info-card h3 { margin: 0 0 14px; font: 800 27px/1.4 "Yu Mincho", "Hiragino Mincho ProN", serif; }
.info-card p { margin: 0; color: var(--muted); }
.feature-card p { color: rgba(255,255,255,.7); }
.facts { margin: 48px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.facts dt { color: rgba(255,255,255,.55); font-size: 12px; }
.facts dd { margin: 0; font-weight: 700; }
.status-line { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 32px !important; padding-top: 18px; border-top: 1px solid var(--line); }
.status-line span { font-size: 12px; }
.status-line b { padding: 5px 10px; background: var(--paper); color: var(--muted); font-size: 12px; }

.contact-section {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 560px); gap: 6vw;
  padding: 112px max(6vw, calc((100vw - 1160px)/2)); background: var(--white);
}
.contact-copy { align-self: start; position: sticky; top: calc(var(--header-height) + 24px); }
.contact-copy h2 { margin: 0 0 24px; font: 900 clamp(38px, 5vw, 62px)/1.3 "Yu Mincho", "Hiragino Mincho ProN", serif; }
.contact-copy > p:not(.eyebrow) { max-width: 530px; color: var(--muted); }
.contact-details { margin-top: 44px; border-top: 2px solid var(--ink); }
.contact-details div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-details span { color: var(--muted); font-size: 12px; }
.contact-details strong { font-size: 14px; }
.inquiry-form { padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: var(--shadow); }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.form-heading span { font: 800 21px "Yu Mincho", "Hiragino Mincho ProN", serif; }
.form-heading small { color: var(--muted); font-size: 11px; }
.inquiry-form label:not(.consent-row):not(.inquiry-choice) { display: block; margin-top: 18px; font-size: 13px; font-weight: 700; }
.inquiry-form i { color: var(--red); font-style: normal; }
.inquiry-form input:not([type="checkbox"]):not([type="radio"]), .inquiry-form select, .inquiry-form textarea {
  width: 100%; margin-top: 7px; padding: 13px 14px; color: var(--ink); background: var(--white);
  border: 1px solid rgba(40,56,63,.22); border-radius: 10px; outline: 0; font-size: 16px;
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,73,63,.12); }
.inquiry-form textarea { resize: vertical; min-height: 160px; }
.age-input { display: flex; align-items: center; gap: 12px; max-width: 180px; }
.inquiry-types { min-width: 0; border: 0; padding: 0; margin: 22px 0 0; }
.inquiry-types legend { padding: 0; font-size: 13px; font-weight: 700; }
.inquiry-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.inquiry-choice { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; font-size: 14px; }
.inquiry-choice:has(input:checked) { border-color: var(--red); background: var(--soft-red); }
.inquiry-choice input { width: 18px; height: 18px; flex-shrink: 0; margin: 0; accent-color: var(--red); }
.optional-label { color: var(--muted); margin-left: 8px; font-size: 11px; font-weight: 400; }
.date-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.inquiry-form input[type="datetime-local"] { min-width: 0; max-width: 100%; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 0; color: var(--muted); font-size: 12px; cursor: pointer; }
.consent-row input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--red); }
.form-note { margin: 16px 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.form-error { padding: 10px 12px; color: var(--red-dark); background: #ffe8e5; font-size: 12px; }
.button-dark { width: 100%; color: white; background: #354a51; }
.button-dark:hover { background: #435b63; }
.faq { grid-column: 1 / -1; margin-top: 80px; padding-top: 74px; border-top: 1px solid var(--line); }
.section-heading.compact { margin-bottom: 24px; }
.section-heading.compact h2 { font-size: clamp(30px, 4vw, 44px); }
.accordion-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.accordion-list details { padding: 0 22px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid #73858b; border-radius: 14px; }
.accordion-list summary { position: relative; padding: 22px 30px 22px 0; font-weight: 700; line-height: 1.55; cursor: pointer; list-style: none; }
.accordion-list summary::-webkit-details-marker { display: none; }
.accordion-list summary::after { content: "+"; position: absolute; right: 0; top: 19px; color: var(--red); font-size: 23px; }
.accordion-list details[open] summary::after { content: "−"; }
.accordion-list details p { margin: 0 0 24px; color: var(--muted); font-size: 13px; }

.site-footer {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px;
  padding: 36px max(6vw, calc((100vw - 1160px)/2)); color: rgba(255,255,255,.68); background: var(--ink); font-size: 11px;
}
.footer-brand { color: white; }
.footer-brand small { color: rgba(255,255,255,.7); }
.site-scope { line-height: 1.9; }
.site-footer p { margin: 0; }
.copyright { text-align: right; }
.footer-legal { display: grid; justify-items: end; gap: 4px; }
.footer-legal > a { color: white; text-underline-offset: 4px; }

.privacy-shell { min-height: 100vh; padding: 32px max(5vw, calc((100vw - 920px) / 2)) 80px; color: var(--ink); background: linear-gradient(150deg, var(--white), var(--paper)); }
.privacy-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.privacy-topbar a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; text-underline-offset: 4px; }
.privacy-topbar span { color: var(--muted); font-size: 13px; }
.privacy-document { margin-top: 48px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.privacy-document .eyebrow { margin-bottom: 12px; }
.privacy-document h1 { margin: 0 0 18px; font: 900 clamp(34px, 6vw, 56px)/1.25 "Yu Mincho", "Hiragino Mincho ProN", serif; }
.privacy-lead { margin: 0 0 42px; color: var(--muted); }
.privacy-section { padding: 28px 0; border-top: 1px solid var(--line); }
.privacy-section h2 { margin: 0 0 12px; font: 800 clamp(21px, 3vw, 27px)/1.45 "Yu Mincho", "Hiragino Mincho ProN", serif; }
.privacy-section p, .privacy-section li { color: var(--muted); font-size: 14px; }
.privacy-section ul { margin: 0; padding-left: 1.3em; }
.privacy-section li { padding: 3px 0; }
.privacy-date { margin: 32px 0 0; color: var(--muted); text-align: right; font-size: 13px; }

.dialog-backdrop { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(16,24,32,.74); }
.dialog-backdrop[hidden] { display: none; }
.dialog { position: relative; width: min(590px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 34px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.dialog h2 { margin: 0 0 12px; font: 800 26px/1.4 "Yu Mincho", "Hiragino Mincho ProN", serif; }
.dialog > p:not(.eyebrow):not(.copy-status) { color: var(--muted); font-size: 13px; }
.dialog-close { position: absolute; right: 14px; top: 10px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
#draft-text { width: 100%; margin: 14px 0; padding: 14px; border: 1px solid var(--line); background: var(--paper); resize: vertical; }
.copy-status { min-height: 22px; margin: 8px 0 0; color: var(--red); font-size: 12px; text-align: center; }

@media (max-width: 1160px) {
  :root { --header-height: 96px; }
  .menu-button { display: block; }
  .global-nav {
    position: absolute; left: 0; right: 0; top: var(--header-height); display: none; align-items: stretch; gap: 0;
    padding: 12px 20px 20px; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .global-nav.is-open { display: flex; flex-direction: column; }
  .global-nav a { padding: 13px 10px; }
  .nav-cta { margin-top: 8px; text-align: center; }
}

@media (max-width: 860px) {
  html[data-text-size="large"] { --reading-font-min: 17px; --secondary-font-min: 15px; }
  html[data-text-size="xlarge"] { --reading-font-min: 19px; --secondary-font-min: 17px; }
  html[data-text-size="large"] body :where(p, li, dd, dt, a, label, input, select, textarea, button, summary),
  html[data-text-size="xlarge"] body :where(p, li, dd, dt, a, label, input, select, textarea, button, summary) {
    font-size: max(1em, var(--reading-font-min));
  }
  html[data-text-size="large"] body :where(small, time, .eyebrow, .bulletin-meta span, .card-number, .guide-step),
  html[data-text-size="xlarge"] body :where(small, time, .eyebrow, .bulletin-meta span, .card-number, .guide-step) {
    font-size: max(1em, var(--secondary-font-min));
  }
  .text-size-toggle {
    position: fixed; right: .75rem; bottom: 5.5rem; z-index: 70;
    display: inline-flex; align-items: center; gap: .42rem; min-width: 7.4rem; min-height: 3rem;
    padding: .55rem .8rem; border: 2px solid white; border-radius: 999px;
    color: white; background: #28383f; box-shadow: 0 8px 24px rgba(16,24,32,.28);
    font-size: 14px; font-weight: 700; cursor: pointer;
  }
  .text-size-toggle strong {
    display: inline-grid; min-width: 2.6rem; min-height: 2rem; place-items: center;
    padding: 0 .45rem; border-radius: 999px; color: #28383f; background: white;
    font-size: inherit;
  }
  .text-size-toggle:focus-visible { outline: 3px solid #f2b34f; outline-offset: 3px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 50px 24px; gap: 34px; }
  .practice-photo { width: 100%; aspect-ratio: 3 / 2; }
  .about-section { padding: 82px 24px; }
  .bulletins { grid-template-columns: 1fr; margin-bottom: 60px; }
  .blog-list { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .info-card.feature-card { grid-template-columns: 1fr; min-height: 0; gap: 24px; }
  .leader-profile { grid-template-columns: 1fr; margin-top: 52px; }
  .leader-portrait { width: 100%; max-width: 350px; justify-self: center; }
  .leader-copy { padding: 32px; }
  .joining-guide { margin-top: 60px; padding-top: 52px; }
  .joining-grid, .belongings-grid { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; gap: 46px; padding: 82px 24px; }
  .contact-copy { position: static; }
  .accordion-list { grid-template-columns: 1fr; }
  .faq { margin-top: 34px; padding-top: 60px; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; padding: 36px 24px; }
  .copyright { text-align: left; }
  .footer-legal { justify-items: start; }
}

@media (max-width: 520px) {
  .header-inner { width: calc(100% - 28px); gap: 12px; }
  .brand { gap: 10px; }
  .brand-logo { width: 46px; height: 46px; }
  .brand strong { font-size: 24px; }
  .brand-organization { font-size: 14px; letter-spacing: 0; }
  .brand small { font-size: 9px; letter-spacing: 0; }
  .hero { padding: 42px 18px; }
  .hero h1 { font-size: clamp(50px, 16vw, 72px); }
  .hero-locality { font-size: 16px; line-height: 1.7; }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .button-primary { width: 100%; }
  .hero-dojos { font-size: 15px; }
  .leader-copy { padding: 27px 22px; }
  .about-section, .contact-section { padding-left: 18px; padding-right: 18px; }
  .info-card, .inquiry-form { padding: 27px 22px; }
  .bulletin-panel { padding: 27px 22px; }
  .joining-card { padding: 27px 22px; }
  .card-number { margin-bottom: 34px; }
  .facts div { grid-template-columns: 92px 1fr; }
  .dojo-facts div { grid-template-columns: 60px minmax(0, 1fr); gap: 10px; }
  .dojo-map iframe { height: 280px; }
  .dojo-gallery { margin-top: 60px; }
  .gallery-overlay { padding: 34px 54px 17px; }
  .gallery-overlay strong { font-size: 12px; }
  .gallery-overlay small { display: none; }
  .carousel-button { width: 42px; height: 42px; font-size: 30px; }
  .carousel-previous { left: 8px; }
  .carousel-next { right: 8px; }
  .form-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
