:where(.sep-page) * { box-sizing: border-box; }
body.sep-page { margin: 0; background: #fff9f0; color: #33301f; }
:where(.sep-page) a { color: inherit; }
:where(.sep-page) .w { width: min(1120px, 92%); margin: 0 auto; }
:where(.sep-page) .header { background: #fff; border-bottom: 4px solid #ffc93c; }
:where(.sep-page) .header .w { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
:where(.sep-page) .logo { color: #72640a; font-weight: 800; text-decoration: none; }
:where(.sep-page) .nav { display: none; gap: 20px; }
:where(.sep-page) .nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
:where(.sep-page) .menu-btn { background: #ffc93c; padding: 8px 16px; border-radius: 999px; font-weight: 700; cursor: pointer; }
:where(.sep-page) .nav-toggle:focus-visible + .menu-btn { outline: 3px solid #72640a; outline-offset: 4px; }
:where(.sep-page) .nav-toggle:checked + .menu-btn + .nav {
  display: flex; flex-direction: column; position: absolute; top: 100%; right: 4%;
  background: #fff; border-radius: 16px; padding: 16px; gap: 14px;
  box-shadow: 0 12px 30px -14px rgb(0 0 0 / 25%); z-index: 20;
}
:where(.sep-page) .nav a { text-decoration: none; font-weight: 700; }
:where(.sep-page) .nav a.cta { padding: 8px 18px; border-radius: 999px; }
:where(.sep-page) h1, :where(.sep-page) h2, :where(.sep-page) h3 { line-height: 1.6; }
:where(.sep-page) footer { font-size: .9rem; }
:where(.sep-page) footer a { min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 900px) {
  :where(.sep-page) .menu-btn { display: none; }
  :where(.sep-page) .nav, :where(.sep-page) .nav-toggle:checked + .menu-btn + .nav {
    display: flex; flex-direction: row; position: static; padding: 0; gap: 20px;
    box-shadow: none; background: transparent;
  }
}
:root {
  --bg: #fff9f0;
  --ink: #33301f;
  --sub: #554f3e;
  --line: #e9dcc0;
  --sage-deep: #496348;
  --olive: #72640a;
}
body {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-style: normal;
  line-height: 1.9;
}
button, input, select, textarea { font: inherit; }
em, address { font-style: normal; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 4px;
}
button, summary { cursor: pointer; }
button:disabled { cursor: not-allowed; }
.main-cta, .nav a.cta {
  color: #fff;
  background: #f6ad48;
}
.main-cta, .quiet, .final-band {
  transition: background-color .18s, box-shadow .18s;
}
.main-cta:hover { background: #ffc16b; box-shadow: 0 6px 16px -8px #72640a; }
.quiet:hover { background: #3f573e; }
.page-shell { width: min(960px, 92%); margin: 0 auto; padding: 36px 0; }
.content-page-shell { width: min(1040px, 92%); margin: 0 auto; padding: 32px 0; }
.content-page-shell > section { padding: 0; }
.content-page-shell > section > .w { width: 100%; }
.about-page.hero { padding: 32px 0; }
.about-page.hero > .w { width: min(1040px, 92%); }
.about-page.hero p.lead { width: auto; margin: 0 0 18px; line-height: 1.85; }
.about-page .dotted-line { margin: 20px 0; }
.content-page-shell .news-scroll { padding: 8px; }
.content-page-shell .news-item { padding: clamp(18px, 3vw, 32px); }
.content-page-shell .news-body { max-width: none; margin-top: 18px; line-height: 1.85; }
.content-page-shell .page-panel { padding: clamp(18px, 3vw, 32px); }
.content-page-shell .page-panel + .page-panel { margin-top: 20px; }
.content-page-shell .page-panel > p { margin: 12px 0; }
.content-page-shell .page-panel > p:first-child { margin-top: 0; }
.content-page-shell .page-panel > p:last-child { margin-bottom: 0; }
.content-page-shell .page-panel > h2 { margin: 0 0 16px; }
.content-page-shell .flow-list { gap: 12px; }
.content-page-shell .flow-list li { padding: 16px 18px 16px 60px; }
.content-page-shell .flow-list li::before { left: 16px; top: 16px; }
.page-title { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.55; margin: 0 0 16px; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-head > h1, .section-head > h2 { margin: 0; }
.section-head .dot { width: 14px; height: 14px; flex-shrink: 0; border-radius: 50%; background: var(--sage-deep); }
.page-lead { max-width: 70ch; color: var(--sub); }
.page-panel, .policy, .legal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 14px 30px -24px #33301f;
}
.page-panel + .page-panel { margin-top: 24px; }
.page-panel h2, .page-panel h3 { color: var(--sage-deep); }
.sep-info { color: var(--sage-deep); }
.sep-details-link { text-align: right; }
.fee-display { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.fee-amount { font-weight: 800; white-space: nowrap; }
.fee-detail { font-size: .85em; font-weight: 400; white-space: nowrap; }
.page-panel a, .policy a, .legal a { text-decoration: underline; text-underline-offset: 3px; }
footer .links, footer .copyright { font-size: .9rem; }
.legal dd, .policy-item p { overflow-wrap: anywhere; }
.draft-label {
  display: inline-block; border: 1px solid var(--olive); border-radius: 999px;
  padding: 3px 12px; color: var(--olive); font-size: .88rem; font-weight: 700;
}
.draft-note { background: #fff3d6; border-left: 4px solid #b47724; padding: 16px 20px; }
.flow-list { list-style: none; padding: 0; margin: 0; counter-reset: flow; display: grid; gap: 16px; }
.flow-list li {
  counter-increment: flow; padding: 20px 20px 20px 64px; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
}
.flow-list li::before {
  content: counter(flow); position: absolute; left: 18px; top: 20px;
  width: 30px; height: 30px; display: grid; place-items: center;
  background: #ffc93c; border-radius: 50%; font-weight: 700;
}
.flow-list h3 { margin: 0; color: var(--sage-deep); font-size: 1.08rem; }
.flow-list p { margin: 6px 0 0; color: var(--sub); }
.quiet-link { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 4px; }
.availability-bar {
  background: transparent; border: 0; padding: 0;
  font-size: .92rem; color: #364e35;
}
.availability-bar .w { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.availability-bar a, .news-body .availability-bar a { color: #496348; text-decoration: underline; font-weight: 700; text-underline-offset: 4px; }
.availability-bar[hidden], .availability-error[hidden] { display: none; }
.availability-error { font-size: .85rem; color: var(--sub); padding: 0; margin: 0; }
.availability-label {
  display: inline-block; padding: 2px 10px; margin-right: 6px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff3df; color: var(--sage-deep); font-weight: 700;
}
.availability-full { color: #9a3026; font-weight: 700; }
.participation-required { color: #9a3026; font-weight: 700; }
.home-availability { min-height: 56px; padding-top: 18px; }
.concern-list { margin: 0; padding-left: 1.3em; color: var(--sage-deep); line-height: 2; }
.concern-list li { padding: 0; margin: 6px 0; }
.concern-panel { background: #fff3df; border-radius: 16px; padding: clamp(18px, 3vw, 24px); }
.concern-panel .concern-list + p { color: var(--sage-deep); margin: 18px 0 0; }
.hero .w { grid-template-columns: minmax(0, 1fr); }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1.55; }
.hero h1 .keep-together { white-space: nowrap; }
.hero p.lead { font-size: 1.08rem; }
#latest-news ul { list-style: none; padding: 0; margin: 0; }
#latest-news li { padding: 16px 0; border-bottom: 1px solid var(--line); }
#latest-news a { display: block; color: var(--sage-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
#latest-news time { color: var(--sub); font-size: .88rem; }
.final-band {
  display: block; position: relative; background: #72640a; border: 2px solid #72640a;
  box-shadow: 0 6px 16px -10px rgb(51 48 31 / 35%);
  transition: background-color .18s, box-shadow .18s, transform .18s;
}
.final-band:hover { background: #5f5409; box-shadow: 0 8px 24px -14px #33301f; transform: translateY(-2px); }
.final-band:focus-visible { outline-offset: 6px; }
.faq-list { display: grid; gap: 14px; }
.faq-list details { background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 10px 22px -18px rgb(51 48 31 / 30%); }
.faq-list summary { font-weight: 700; color: var(--sage-deep); cursor: pointer; }
.faq-list details p { font-size: 1rem; line-height: 1.9; margin: 10px 0 0; color: #333333; }
.header { position: relative; }
.mobile-consultation { display: none; }
@media (max-width: 640px) {
  body.has-mobile-consultation { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  body.has-mobile-consultation .nav a.cta { display: none; }
  .mobile-consultation {
    display: flex; align-items: center; justify-content: center;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 15;
    height: calc(76px + env(safe-area-inset-bottom, 0px));
    padding: 10px 4% calc(10px + env(safe-area-inset-bottom, 0px));
    background: #fff9f0; border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgb(51 48 31 / 8%);
  }
  .mobile-consultation a {
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 48px; padding: 10px 16px;
    border-radius: 999px; background: #f6ad48; color: #fff;
    font-size: 1rem; line-height: 1.5; font-weight: 700; text-align: center;
  }
}
@media (max-width: 899px) {
  .hero-status { min-height: 80px; }
}
.site-footer { padding:24px 0; color:var(--sub); }
.site-footer .w { width:min(1600px,92%); display:flex; flex-direction:column; gap:10px; }
.site-footer .copyright { font-size:.9rem; }
.site-footer .links { display:flex; flex-wrap:nowrap; align-items:center; gap:16px; width:100%; overflow-x:auto; }
.site-footer .links > a { display:inline-flex; align-items:center; flex-shrink:0; min-height:44px; white-space:nowrap; }
.site-footer .links:focus-visible, .site-footer a:focus-visible { outline:2px solid var(--olive); outline-offset:-2px; }
.site-footer .sns-links { display:flex; flex-shrink:0; align-items:center; }
.site-footer .sns-links a { display:flex; align-items:center; justify-content:center; width:44px; height:44px; }
.site-footer .sns-links a:hover { background:var(--line); border-radius:8px; }
.site-footer .note-icon { display:block; width:26px; height:26px; object-fit:contain; }
@media (min-width:900px) {
  .site-footer .w { flex-direction:row; justify-content:space-between; align-items:center; gap:24px; overflow-x:auto; }
  .site-footer .copyright { flex-shrink:0; white-space:nowrap; font-size:.8rem; }
  .site-footer .links { width:auto; flex-shrink:0; overflow:visible; font-size:.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .final-band:hover { transform: none; }
}
