/* Site-wide editorial system, applied after shared and page-specific styles. */
:root {
  --reading-measure: 640px;
  --mobile-reading-measure: 280px;
  --mobile-gutter: 20px;
}

/* Keep the hierarchy predictable across routes without changing the image-led composition. */
main > section:not(.hero) h1,
main > section:not(.hero) h2,
main > section:not(.hero) h3 {
  text-wrap: pretty;
}

main > section:not(.hero) h1,
main .page-hero h1,
main .image-hero h1,
main .page-hero-dark h1,
.hero h1 {
  font-size: clamp(42px, 3.35vw, 48px) !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
}

main .section h2,
main .story-reading-rail h2,
main .journey-detail h2,
main .principles h2,
main .faq-list h2 {
  font-size: 28px !important;
  line-height: 1.5 !important;
}

main .section h3,
main .story-reading-rail h3,
main .journey-detail h3,
main .legal-body h3 {
  font-size: 21px !important;
  line-height: 1.55 !important;
}

main p:not(.kicker):not(.small),
main li,
.site-footer .footer-contact p,
.site-footer .contact-form label {
  font-size: 18px;
  line-height: 1.75;
}

/* Text reads from a stable left edge inside a centered 640px reading rail. */
main .narrative,
main .narrow-copy,
main .story-reading-rail,
main .legal-body,
main .faq-list,
main .concern-list,
main .plain-list,
main .outcome-list,
main .about-principles,
main .company-table,
main .section.center > p:not(.kicker):not(.small):not(.lead) {
  width: min(100%, var(--reading-measure));
  max-width: var(--reading-measure);
  margin-left: auto;
  margin-right: auto;
}

main .narrative,
main .narrow-copy,
main .story-reading-rail > p,
main .legal-body,
main .faq-list p,
main .concern-list p,
main .plain-list,
main .outcome-list,
main .about-principles,
main .company-table {
  text-align: left;
}

main .section > img:not(.hero img),
main .narrow-copy > img,
main .story-reading-rail > img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Form and primary actions remain visually anchored to the center of their section. */
.contact-form .button,
main .section > .button,
main .section.center > .button {
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
}

.back-top {
  scroll-behavior: auto;
}

/* Match the source site's desktop hero: a shorter image field with a more
   deliberate pause between the headline and its supporting statement. */
@media (min-width: 901px) {
  .hero {
    height: 613px;
    min-height: 613px;
  }

  .hero h1 {
    width: min(100%, 680px);
    max-width: 680px;
    font-size: 48px !important;
    line-height: 1.5 !important;
  }

  .hero-subline {
    /* The source separates the main statement and supporting statement clearly. */
    margin-top: 4.5rem;
  }
}

@media (min-width: 601px) {
  main .section h2,
  main .story-reading-rail h2,
  main .journey-detail h2,
  main .principles h2,
  main .faq-list h2 { text-align: center; }
}

@media (max-width: 600px) {
  main .page-hero h1 {
    width: min(100%, var(--mobile-reading-measure)) !important;
    max-width: min(100%, var(--mobile-reading-measure)) !important;
  }

  main > section:not(.hero) h1,
  main .page-hero h1,
  main .image-hero h1,
  main .page-hero-dark h1,
  .hero h1 {
    width: min(100%, calc(100vw - 2 * var(--mobile-gutter)));
    max-width: min(100%, calc(100vw - 2 * var(--mobile-gutter)));
    margin-left: auto;
    margin-right: auto;
    font-size: 28px !important;
    line-height: 1.42 !important;
    letter-spacing: 0 !important;
    word-break: normal !important;
    line-break: strict !important;
    overflow-wrap: anywhere !important;
  }

  main .section h2,
  main .story-reading-rail h2,
  main .journey-detail h2,
  main .principles h2,
  main .faq-list h2 {
    font-size: 23px !important;
    line-height: 1.48 !important;
  }

  main .section h3,
  main .story-reading-rail h3,
  main .journey-detail h3,
  main .legal-body h3 { font-size: 19px !important; line-height: 1.5 !important; }

  main p:not(.kicker):not(.small),
  main li,
  .site-footer .footer-contact p,
  .site-footer .contact-form label {
    font-size: 16px;
    line-height: 1.75;
    word-break: normal;
    line-break: strict;
    overflow-wrap: anywhere;
  }

  main .narrative,
  main .narrow-copy,
  main .story-reading-rail,
  main .legal-body,
  main .faq-list,
  main .concern-list,
  main .plain-list,
  main .outcome-list,
  main .about-principles,
  main .company-table,
  main .section.center > p:not(.kicker):not(.small):not(.lead) {
    width: min(100%, var(--mobile-reading-measure));
    max-width: min(100%, var(--mobile-reading-measure));
  }

  main .section.center > h2,
  main .section.center > .kicker,
  main .section > .kicker { text-align: center; }

  .site-footer { padding-left: var(--mobile-gutter); padding-right: var(--mobile-gutter); }
  .site-footer .footer-form-wrap { width: min(100%, 360px); margin: 0 auto; }
  .contact-form .button,
  main .section > .button,
  main .section.center > .button { width: 100%; max-width: 280px; }
}

/* Enforce the same reading measure even where legacy page selectors set fixed widths. */
main p:not(.kicker):not(.small),
main li {
  width: min(100%, var(--reading-measure));
  max-width: var(--reading-measure);
  margin-left: auto;
  margin-right: auto;
  font-size: 18px !important;
  line-height: 1.75 !important;
}

@media (max-width: 600px) {
  main p:not(.kicker):not(.small),
  main li {
    width: min(100%, var(--mobile-reading-measure)) !important;
    max-width: min(100%, var(--mobile-reading-measure)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    text-align: left;
  }

  main .section h2,
  main .story-reading-rail h2,
  main .journey-detail h2,
  main .principles h2,
  main .faq-list h2 {
    width: min(100%, var(--mobile-reading-measure)) !important;
    max-width: min(100%, var(--mobile-reading-measure)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  main .section.center > h2,
  main .section.center > .kicker,
  main .section > .kicker { text-align: center !important; }

  #audience .narrative {
    width: min(100%, var(--mobile-reading-measure)) !important;
    max-width: min(100%, var(--mobile-reading-measure)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .visual-break h2 {
    width: min(100%, calc(100vw - 2 * var(--mobile-gutter))) !important;
    max-width: min(100%, calc(100vw - 2 * var(--mobile-gutter))) !important;
    font-size: 30px !important;
    line-height: 1.45 !important;
  }
}

/* Legal pages are long-form documents: keep their reading rail explicit at every width. */
main .legal-body {
  display: block !important;
  width: min(100%, 640px) !important;
  max-width: 640px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

main .legal-body > h2,
main .legal-body > h3,
main .legal-body > p,
main .legal-body > ul,
main .legal-body > ol {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

main .legal-body > h2,
main .legal-body > h3 { text-align: center; }
main .legal-body > p,
main .legal-body > ul,
main .legal-body > ol { text-align: left; }

@media (max-width: 600px) {
  main .legal-body {
    width: min(100%, var(--mobile-reading-measure)) !important;
    max-width: min(100%, var(--mobile-reading-measure)) !important;
  }
}

/* Final mobile safeguard: Japanese text wraps at phrases, never one glyph per line. */
@media (max-width: 600px) {
  main h1,
  main h2,
  main h3,
  main p,
  main li {
    word-break: normal !important;
    line-break: strict !important;
    overflow-wrap: anywhere !important;
  }

  main .page-hero h1,
  main .page-hero-dark h1,
  main .image-hero h1,
  main .hero h1 {
    width: min(100%, var(--mobile-reading-measure)) !important;
    max-width: min(100%, var(--mobile-reading-measure)) !important;
    margin-inline: auto !important;
    text-align: center !important;
    line-height: 1.45 !important;
  }

  main .page-hero > p:not(.kicker),
  main .page-hero-dark > div > p:not(.kicker),
  main .image-hero > div > p:not(.kicker) {
    width: min(100%, var(--mobile-reading-measure)) !important;
    max-width: min(100%, var(--mobile-reading-measure)) !important;
    margin-inline: auto !important;
  }
}

.philosophy-visual { display:block; width:min(100%, 640px); height:auto; max-height:440px; object-fit:cover; margin:2.3rem auto; }
.philosophy-visual-secondary { margin-top:3rem; }
@media(max-width:600px){.philosophy-visual{width:min(100%,280px);max-height:260px;margin:1.8rem auto;}}

main .philosophy-visual { width:min(100%,640px) !important; max-width:640px !important; height:auto !important; max-height:none !important; object-fit:contain !important; margin-left:auto !important; margin-right:auto !important; }
@media(max-width:600px){main .philosophy-visual{width:min(100%,280px)!important;max-width:280px!important;}}

main .about-visual { display:block; width:min(100%,640px) !important; max-width:640px !important; height:auto !important; max-height:440px; object-fit:cover; margin:2rem auto 2.5rem; }
@media(max-width:600px){main .about-visual{width:min(100%,280px)!important;max-width:280px!important;max-height:260px;}}

/* Community editorial rail: source illustrations and photos share a stable 640px measure. */
main .community-visual { display:block; width:min(100%,640px)!important; max-width:640px!important; height:auto!important; max-height:none!important; object-fit:contain!important; margin:2rem auto 2.5rem!important; }
.community-page main .narrow-copy { width:min(100%,640px); max-width:640px; }
.community-page main .narrow-copy h2,
.community-page main .narrow-copy h3 { text-align:center; }
.community-page main .narrow-copy p:not(.kicker),
.community-page main .narrow-copy li { text-align:left; }
.community-page main .community-hero h2 { color:#fff; font-size:clamp(1.35rem,2.6vw,2rem); font-weight:400; line-height:1.5; text-align:center; margin:.5rem auto 1rem; }
@media(max-width:600px){main .community-visual{width:min(100%,280px)!important;max-width:280px!important;margin:1.5rem auto 2rem!important}.community-page main .community-hero h2{width:280px;font-size:20px!important;}}

/* Match the source community hero's 731px visual field and 780px inset text panel. */
.community-page main .community-hero{height:731px!important;min-height:731px!important;display:block!important;padding:80px 20px 0!important;}
.community-page main .community-hero>img{filter:brightness(.82)!important;}
.community-page main .community-hero>.community-hero-copy{width:min(100%,780px)!important;max-width:780px!important;margin:0 auto!important;padding:17px 24px!important;background:rgba(24,28,24,.48);}
.community-page main .community-hero h1{width:100%!important;max-width:100%!important;white-space:normal!important;text-align:center!important;font-size:46px!important;line-height:1.35!important;margin:0 auto .25rem!important;}
.community-page main .community-hero h2{width:100%!important;max-width:100%!important;font-size:30px!important;line-height:1.45!important;margin:.15rem auto .35rem!important;}
.community-page main .community-hero p{width:100%!important;max-width:100%!important;text-align:center!important;font-size:24px!important;line-height:1.45!important;margin:0 auto!important;}
@media(max-width:600px){
  .community-page main .community-hero{height:auto!important;min-height:640px!important;padding:76px 20px 44px!important;}
  .community-page main .community-hero>.community-hero-copy{width:min(100%,320px)!important;max-width:320px!important;padding:16px 12px!important;}
  .community-page main .community-hero h1{font-size:26px!important;line-height:1.5!important;}
  .community-page main .community-hero h2{width:100%!important;font-size:19px!important;line-height:1.55!important;}
  .community-page main .community-hero p{font-size:15px!important;line-height:1.7!important;}
  .community-page main .community-hero br{display:none;}
}
.community-page main .community-gallery{display:grid;width:min(100%,980px);max-width:980px;margin:2rem auto 2.5rem;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:48px;gap:8px;}
.community-page main .community-gallery{position:relative;left:50%;transform:translateX(-50%);width:min(980px,calc(100vw - 40px));max-width:min(980px,calc(100vw - 40px));}
.community-page main .community-data-graphic{width:min(100%,980px)!important;max-width:980px!important;}
.community-page main .community-gallery img{display:block;width:100%;height:100%;min-width:0;object-fit:cover;}
.community-page main .community-gallery img:nth-child(1){grid-column:span 6;grid-row:span 3;}
.community-page main .community-gallery img:nth-child(2){grid-column:span 3;grid-row:span 2;}
.community-page main .community-gallery img:nth-child(3){grid-column:span 3;grid-row:span 2;}
.community-page main .community-gallery img:nth-child(4){grid-column:span 3;grid-row:span 2;}
.community-page main .community-gallery img:nth-child(5){grid-column:span 3;grid-row:span 2;}
.community-page main .community-gallery img:nth-child(6){grid-column:span 4;grid-row:span 3;}
.community-page main .community-gallery img:nth-child(7){grid-column:span 2;grid-row:span 4;}
.community-page main .community-gallery img:nth-child(8){grid-column:span 3;grid-row:span 2;}
.community-page main .community-gallery img:nth-child(9){grid-column:span 3;grid-row:span 2;}
.community-page main .community-gallery img:nth-child(10){grid-column:span 3;grid-row:span 2;}
.community-page main .community-gallery img:nth-child(11){grid-column:span 3;grid-row:span 2;}
.community-page main .community-gallery img:nth-child(12){grid-column:span 4;grid-row:span 3;}
.community-page main .community-gallery img:nth-child(13){grid-column:span 2;grid-row:span 4;}
.community-page main .community-gallery img:nth-child(14){grid-column:span 5;grid-row:span 2;}
.community-page main .community-gallery img:nth-child(15){grid-column:span 2;grid-row:span 4;}
@media(max-width:700px){
  .community-page main .community-gallery{width:calc(100vw - 40px);max-width:calc(100vw - 40px);grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:54px;gap:6px;}
  .community-page main .community-data-graphic{width:min(100%,280px)!important;max-width:280px!important;}
  .community-page main .community-gallery img{grid-column:span 1!important;grid-row:span 2!important;}
  .community-page main .community-gallery img:nth-child(3n+1){grid-column:span 2!important;grid-row:span 3!important;}
}
/* Philosophy hero: restore the source page's complete introduction and two clear next steps. */
.philosophy-page main .philosophy-hero{min-height:560px!important;padding-top:4.5rem!important;padding-bottom:4.5rem!important;}
.philosophy-page main .philosophy-hero>img{filter:brightness(.78)!important;}
.philosophy-page main .philosophy-hero>.philosophy-hero-copy{display:flex;flex-direction:column;align-items:center;text-align:center;width:min(100%,920px);max-width:920px;margin:0 auto;padding:0!important;}
.philosophy-page main .philosophy-hero h1{width:100%;max-width:900px;text-align:center;font-size:clamp(40px,3.6vw,48px)!important;line-height:1.45!important;margin:0 auto 1.1rem!important;}
.philosophy-page main .philosophy-hero .philosophy-hero-lead{width:100%!important;max-width:900px!important;margin:0 auto 1rem!important;text-align:center;font-family:var(--font-display)!important;font-size:27px!important;font-weight:400!important;line-height:1.55!important;}
.philosophy-page main .philosophy-hero .philosophy-hero-body{width:min(100%,640px);max-width:640px;text-align:left;margin:0 auto 1.25rem;}
.philosophy-page main .philosophy-hero .philosophy-hero-body p{margin:.45rem 0;text-align:left!important;font-size:18px;line-height:1.75;font-weight:400!important;}
.philosophy-page main .philosophy-hero .philosophy-hero-actions{display:flex;flex-direction:column;align-items:center;gap:.55rem;margin-top:.4rem;}
.philosophy-page main .philosophy-hero .philosophy-hero-actions .button{margin:0 auto;}
.philosophy-page main .philosophy-hero .philosophy-hero-actions .text-link{color:#fff;font-weight:700;font-size:20px;line-height:1.5;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.75);padding:.15rem .2rem;}
@media(max-width:600px){
  .philosophy-page main .philosophy-hero{min-height:640px!important;padding:4rem 20px 3.5rem!important;}
  .philosophy-page main .philosophy-hero>.philosophy-hero-copy{width:min(100%,320px)!important;max-width:320px!important;}
  .philosophy-page main .philosophy-hero h1{font-size:28px!important;line-height:1.5!important;margin-bottom:.65rem!important;}
  .philosophy-page main .philosophy-hero .philosophy-hero-lead{font-size:20px!important;line-height:1.55!important;margin-bottom:.65rem!important;}
  .philosophy-page main .philosophy-hero .philosophy-hero-body{width:100%;}
  .philosophy-page main .philosophy-hero .philosophy-hero-body p{font-size:15px;line-height:1.7;}
}
/* Free session hero follows the current Wix composition: one clear title over the photograph. */
.freesession-page main .freesession-hero{min-height:620px!important;}
.freesession-page main .freesession-hero>img{filter:brightness(.9)!important;}
.freesession-page main .freesession-hero h1{width:100%;max-width:100%;font-size:clamp(48px,5vw,62px)!important;line-height:1.35!important;text-align:center!important;}
@media(max-width:600px){.freesession-page main .freesession-hero{min-height:calc(100svh - 78px)!important;}.freesession-page main .freesession-hero h1{font-size:34px!important;}}
/* Full philosophy narrative follows a centered reading rail. */
main .philosophy-reading-rail{width:min(100%,640px)!important;max-width:640px!important;margin:0 auto!important}
main .philosophy-reading-rail>p,main .philosophy-reading-rail>ul,main .philosophy-reading-rail>h2{width:100%!important;max-width:none!important}
main .philosophy-reading-rail>p{font-size:18px!important;line-height:1.8!important;text-align:left!important;margin:0 0 24px!important;font-weight:400!important}
main .philosophy-reading-rail>h2{font-size:28px!important;line-height:1.5!important;text-align:center!important;margin:0 0 28px!important}
main .philosophy-source-image{display:block;width:100%!important;height:auto!important;max-width:none!important;margin:28px 0!important}
main .philosophy-source-actions{display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:32px}
@media(max-width:600px){main .philosophy-reading-rail{width:min(100%,280px)!important;max-width:280px!important}main .philosophy-reading-rail>p{font-size:16px!important}main .philosophy-reading-rail>h2{font-size:24px!important}main .philosophy-source-actions .button{width:100%;font-size:16px}}
main .faq-reading-rail{width:min(100%,640px)!important;max-width:640px!important;margin:0 auto!important}
main .faq-reading-rail>p,main .faq-reading-rail>ul,main .faq-reading-rail>h1,main .faq-reading-rail>h2{width:100%!important;max-width:none!important}
main .faq-reading-rail>p,main .faq-reading-rail li{font-size:18px!important;line-height:1.8!important;text-align:left!important;font-weight:400!important;margin:0 0 24px!important}
main .faq-reading-rail>h2{font-size:28px!important;line-height:1.5!important;text-align:center!important;margin:0 0 28px!important}
main .faq-source-image{display:block;width:100%!important;height:auto!important;max-width:none!important}
@media(max-width:600px){main .faq-reading-rail{width:min(100%,280px)!important;max-width:280px!important}main .faq-reading-rail>p,main .faq-reading-rail li{font-size:16px!important}main .faq-reading-rail>h2{font-size:24px!important}}
main .about-reading-rail{width:min(100%,640px)!important;max-width:640px!important;margin:0 auto!important}
main .about-reading-rail>p,main .about-reading-rail>ul,main .about-reading-rail>h2{width:100%!important;max-width:none!important}
main .about-reading-rail>p,main .about-reading-rail li{font-size:18px!important;line-height:1.8!important;text-align:left!important;font-weight:400!important;margin:0 0 24px!important}
main .about-reading-rail>h2{font-size:28px!important;line-height:1.5!important;text-align:center!important;margin:0 0 28px!important}
main .about-source-image{display:block;width:100%!important;height:auto!important;max-width:none!important;margin:28px 0!important}
main .about-reading-rail .about-source-social{text-align:center!important;font-size:15px!important}
@media(max-width:600px){main .about-reading-rail{width:min(100%,280px)!important;max-width:280px!important}main .about-reading-rail>p,main .about-reading-rail li{font-size:16px!important}main .about-reading-rail>h2{font-size:24px!important}}
main .company-reading-rail{width:min(100%,640px)!important;max-width:640px!important;margin:0 auto!important}
main .company-reading-rail>p,main .company-reading-rail>ul,main .company-reading-rail>h2{width:100%!important;max-width:none!important}
main .company-reading-rail>p,main .company-reading-rail li{font-size:18px!important;line-height:1.8!important;text-align:left!important;font-weight:400!important;margin:0 0 24px!important}
main .company-reading-rail>h2{font-size:21px!important;line-height:1.5!important;text-align:center!important;margin:32px 0 20px!important}
main .company-source-hero{min-height:480px!important;position:relative;display:flex;align-items:center;justify-content:center}
main .company-source-hero>div{width:min(100%,900px)!important;max-width:900px!important;margin:auto!important;position:relative}
main .company-source-hero>img{filter:brightness(.65)!important}
main .company-source-hero h1{font-size:48px!important;text-align:center!important}
main .company-source-hero p{font-size:24px!important;text-align:center!important}
@media(max-width:600px){main .company-reading-rail{width:min(100%,280px)!important;max-width:280px!important}main .company-reading-rail>p,main .company-reading-rail li{font-size:16px!important}main .company-source-hero{min-height:360px!important}main .company-source-hero h1{font-size:32px!important}main .company-source-hero p{font-size:18px!important}}
main .free-reading-rail{width:min(100%,640px)!important;max-width:640px!important;margin:0 auto!important}
main .free-reading-rail>p,main .free-reading-rail>ul,main .free-reading-rail>h2{width:100%!important;max-width:none!important}
main .free-reading-rail>p,main .free-reading-rail li{font-size:18px!important;line-height:1.8!important;text-align:left!important;font-weight:400!important;margin:0 0 24px!important}
main .free-reading-rail>h2{font-size:28px!important;line-height:1.5!important;text-align:center!important;margin:0 0 28px!important}
main .free-reading-rail .contact-form{width:100%!important;max-width:520px!important;margin:28px auto!important}
main .free-reading-rail .free-source-faq{border-bottom:1px solid var(--line);padding:20px 0}
main .free-reading-rail .free-source-faq summary{font-size:19px;line-height:1.7;cursor:pointer}
main .free-reading-rail .free-source-faq p{font-size:18px!important;line-height:1.8!important;margin:20px 0 0!important;font-weight:400!important}
@media(max-width:600px){main .free-reading-rail{width:min(100%,280px)!important;max-width:280px!important}main .free-reading-rail>p,main .free-reading-rail li,main .free-reading-rail .free-source-faq p{font-size:16px!important}main .free-reading-rail>h2{font-size:24px!important}main .freesession-hero{min-height:360px!important;height:auto!important}}
main .community-reading-rail{width:min(100%,640px)!important;max-width:640px!important;margin:0 auto!important}
main .community-reading-rail>p,main .community-reading-rail>ul,main .community-reading-rail>h2{width:100%!important;max-width:none!important}
main .community-reading-rail>p,main .community-reading-rail li{font-size:18px!important;line-height:1.8!important;text-align:left!important;font-weight:400!important;margin:0 0 24px!important}
main .community-reading-rail>h2{font-size:28px!important;line-height:1.5!important;text-align:center!important;margin:0 0 28px!important}
main .community-reading-rail>.community-period-note{font-size:14px!important;line-height:1.7!important;color:#746e66!important;text-align:left!important;margin:-12px 0 24px!important}
main .community-source-image{display:block;width:100%!important;height:auto!important;max-width:none!important;margin:28px 0!important}
main .community-source-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:28px 0}
main .community-source-gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block}
main .community-source-actions{display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:32px}
main .community-source-hero{min-height:560px!important;position:relative;display:flex;align-items:center;justify-content:center}
main .community-source-hero>div{width:min(100%,960px)!important;max-width:960px!important;margin:auto!important;position:relative}
main .community-source-hero>img{filter:brightness(.65)!important}
main .community-source-hero h1{font-size:42px!important;line-height:1.4!important;text-align:center!important}
main .community-source-hero h2{font-size:28px!important;line-height:1.5!important;text-align:center!important}
main .community-source-hero p{font-size:20px!important;text-align:center!important}
@media(max-width:600px){main .community-reading-rail{width:min(100%,280px)!important;max-width:280px!important}main .community-reading-rail>p,main .community-reading-rail li{font-size:16px!important}main .community-reading-rail>.community-period-note{font-size:13px!important}main .community-reading-rail>h2{font-size:24px!important}main .community-source-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}main .community-source-hero{min-height:0!important;padding:48px 20px!important}main .community-source-hero h1{font-size:28px!important}main .community-source-hero h2{font-size:22px!important}main .community-source-hero p{font-size:16px!important}main .community-source-actions .button{width:100%;font-size:16px}}
/* Final visual QA: source copy retains its meaning while heading hierarchy remains readable. */
main .community-source-hero h1,main .community-source-hero h2,main .community-source-hero p,main .community-source-hero .text-link{color:#fff!important;text-shadow:0 1px 8px rgb(0 0 0 / 70%)}
.program-page main .outline-link{color:#fff!important;text-shadow:0 1px 6px rgb(0 0 0 / 65%)}
main .faq-reading-rail h1{text-align:center!important;text-wrap:balance;font-size:36px!important;line-height:1.5!important}
main .page-hero h1,main .image-hero h1,main .company-source-hero h1,main .community-source-hero h1{text-wrap:balance}
@media(max-width:600px){
 .freesession-page main .freesession-hero{min-height:360px!important;height:360px!important}
 .freesession-page main .freesession-hero>img{object-position:50% 35%!important}
 main .faq-reading-rail h1{font-size:28px!important}
 main .community-source-hero h2{margin:24px 0!important;text-wrap:balance}
 main .community-source-hero p{text-align:left!important}
 main .page-hero:not(.image-hero){padding:48px 20px 20px!important}
 main .legal-body{padding-top:36px!important;padding-bottom:48px!important}
}
main .company-reading-rail p{word-break:normal!important;overflow-wrap:break-word!important}
@media(max-width:600px){.community-page main .community-source-hero h2{font-size:22px!important}.community-page main .community-source-hero p{font-size:16px!important}.program-page main .program-reading-rail p,.program-page main .program-reading-rail li{font-size:16px!important;font-weight:400!important}}
.mobile-only-break{display:none}
main h2{text-wrap:balance}
main .source-lead{font-family:Arial,'Noto Sans JP',sans-serif!important;font-size:18px!important;font-weight:400!important;line-height:1.8!important;text-align:left!important;color:var(--ink)!important}
@media(max-width:600px){.mobile-only-break{display:block}main .source-lead{font-size:16px!important}main .faq-reading-rail h2{font-size:22px!important}}
html{scroll-behavior:auto!important}
/* Use the content viewport, including browsers that reserve a scrollbar gutter. */
.site-header{width:100%!important;max-width:100%!important}
main>section{width:100%!important;max-width:100%!important}
@media(max-width:600px){main>section{box-sizing:border-box!important}.migration-top main .hero-copy{max-width:calc(100% - 40px)!important}}

/* Company facts are label/value pairs; SNS links belong to the named biography. */
main .company-reading-rail>.company-facts{margin:32px 0 0;padding:0}
main .company-facts>.company-fact{display:grid;grid-template-columns:120px minmax(0,1fr);gap:24px;padding:24px 0;border-top:1px solid var(--line)}
main .company-facts>.company-fact:last-child{border-bottom:1px solid var(--line)}
main .company-facts dt{margin:0;color:var(--teal);font-size:18px;line-height:1.8;font-weight:600;text-align:left}
main .company-facts dd{min-width:0;margin:0;text-align:left}
main .company-facts dd p,main .company-facts dd li{font-size:18px!important;line-height:1.8!important;text-align:left!important;font-weight:400!important;margin:0!important}
main .company-facts dd>p+p{margin-top:8px!important}
main .company-facts dd ul{width:100%!important;max-width:none!important;margin:0!important;padding-left:1.2em!important}
main .company-facts dd li+li{margin-top:10px!important}
main .about-reading-rail .about-source-social{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:8px 16px;margin:24px 0 40px!important;font-size:15px!important;font-weight:400!important}
main .about-source-social span{flex-basis:100%;font-size:14px;color:#646c6b;text-align:center}
main .about-source-social a{text-decoration:underline;text-underline-offset:4px;font-weight:400}
@media(max-width:600px){main .company-facts>.company-fact{grid-template-columns:1fr;gap:8px;padding:20px 0}main .company-facts dt{font-size:16px}main .company-facts dd p,main .company-facts dd li{font-size:16px!important}main .about-reading-rail .about-source-social{font-size:14px!important}}@media(min-width:601px){main .company-facts .company-phrase{white-space:nowrap}}

/* Rebuild the Wix two-row desktop header; keep the mobile menu compact. */
.site-header{display:block!important;height:124px!important;min-height:124px!important;padding:0 max(3vw,calc((100vw - 1400px)/2))!important;position:sticky;top:0;z-index:30}
.site-header .header-upper{display:grid;grid-template-columns:minmax(190px,1fr) auto 150px;align-items:center;gap:clamp(20px,3vw,52px);width:100%;max-width:1400px;height:72px;margin:0 auto}
.site-header .brand{display:flex;align-items:center;width:max-content;max-width:100%}
.site-header .brand img{width:220px;max-height:60px}
.site-header .header-tagline{margin:0;white-space:nowrap;text-align:right;font:500 16px/1.5 'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;color:var(--ink)}
.site-header .header-consult{display:flex;align-items:center;justify-content:center;min-height:46px;padding:0 1rem;background:var(--teal);color:#fff;text-decoration:none;font-size:16px;font-weight:600;white-space:nowrap}
.site-header>nav{display:flex!important;position:static!important;align-items:center;justify-content:center!important;gap:clamp(14px,2vw,32px)!important;width:100%;max-width:1400px;height:52px;margin:0 auto;padding:0!important;border-top:1px solid rgba(40,56,58,.12);background:transparent!important;box-shadow:none!important;overflow:visible!important}
.site-header>nav>a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0!important;border:0!important;background:none!important;color:var(--ink)!important;font:500 14px/1.4 'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif!important;text-decoration:none;white-space:nowrap}
.site-header>nav>a.nav-cta{display:none!important}
@media(min-width:1101px) and (max-width:1320px){.site-header .header-upper{grid-template-columns:minmax(180px,1fr) auto 130px;gap:20px}.site-header .brand img{width:190px}.site-header .header-tagline{font-size:14px}.site-header>nav{gap:clamp(10px,1.35vw,18px)!important}.site-header>nav>a{font-size:13px!important}}
@media(max-width:1100px){
  .site-header{display:flex!important;height:auto!important;min-height:72px!important;padding:10px 6vw!important;position:sticky;top:0}
  .site-header .header-upper{display:flex;width:auto;height:auto;margin:0;gap:0}
  .site-header .brand img{width:155px;max-height:50px}
  .site-header .header-tagline,.site-header .header-consult{display:none}
  .site-header>nav{display:none!important;position:absolute!important;top:100%;left:0;width:100%!important;height:auto;margin:0;padding:12px 6vw 16px!important;background:var(--sand)!important;border-top:1px solid rgba(40,56,58,.12);box-shadow:0 8px 18px rgba(40,56,58,.12)!important;overflow:visible!important}
  .site-header.nav-open>nav{display:grid!important;grid-template-columns:1fr;gap:0!important}
  .site-header.nav-open>nav>a{display:flex;justify-content:flex-start;min-height:44px;padding:8px 0!important;border-bottom:1px solid rgba(40,56,58,.12)!important;font-size:16px!important}
  .site-header.nav-open>nav>a.nav-cta{display:flex!important;justify-content:center;margin-top:8px;background:var(--teal)!important;color:#fff!important;border:0!important}
}

/* Restore the common image hero used by the source's agreement, cancellation,
   and privacy pages. The grayscale source image is stored locally for portability. */
main .legal-image-hero{position:relative;display:grid;place-items:center;width:100%;height:min(720px,56.9vw);min-height:540px;max-width:none!important;overflow:hidden;background:#d7d6d6}
main .legal-image-hero>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;z-index:0}
main .legal-image-hero h1{position:relative;z-index:1;width:min(calc(100% - 40px),900px);max-width:900px!important;margin:0!important;color:#fff!important;text-align:center!important;font-size:clamp(48px,7.1vw,90px)!important;line-height:1.35!important;font-weight:400!important;text-shadow:0 2px 8px rgb(0 0 0 / 38%)}
@media(max-width:600px){main .legal-image-hero{height:min(520px,62svh);min-height:360px}main .legal-image-hero h1{width:min(calc(100% - 40px),340px);max-width:340px!important;font-size:clamp(28px,8vw,36px)!important;line-height:1.5!important}}

/* Final measured PC corrections against the current live Wix pages. */
@media(min-width:901px){
  body.migration-top main .hero{height:613px!important;min-height:613px!important}
  body.migration-top main .hero h1{width:min(100%,680px)!important;max-width:680px!important;font-size:48px!important;line-height:1.5!important}
  body.migration-top main .hero .hero-subline{margin-top:4.5rem!important}
}
@media(min-width:1101px){
  .stories-page main .image-hero{min-height:636px!important}
  .stories-page main .image-hero>div{width:min(100%,880px)!important;max-width:880px!important;transform:translateY(100px)}
  .stories-page main .image-hero h1{width:100%!important;max-width:880px!important;font-size:60px!important;line-height:1.5!important;white-space:nowrap!important;margin:0!important;background:rgba(38,39,36,.24)}
  .stories-page main .image-hero>div>p{width:100%!important;max-width:880px!important;font-size:36px!important;line-height:1.5!important;margin:0 auto!important;background:rgba(38,39,36,.24)}
}

/* Consultation form: make optional choices readable and keep the action clear. */
.consultation-method{display:flex;flex-wrap:wrap;gap:10px 22px;border:0;padding:0;margin:0}.consultation-method legend{width:100%;margin-bottom:4px;font-size:16px;font-weight:600}.consultation-method label{display:inline-flex;grid-template-columns:none;align-items:center;gap:8px;min-height:42px}.consultation-method input[type=radio]{width:18px;height:18px;margin:0;accent-color:var(--teal)}.consultation-form .small{margin:-8px 0 0;color:#716a62;font-size:14px;line-height:1.65}.consultation-form .button{justify-self:center}
#consultation-form{scroll-margin-top:150px}
@media(max-width:1100px){#consultation-form{scroll-margin-top:90px}}

/* Group secondary navigation beneath TOP, keeping current public URLs stable. */
.site-header .nav-disclosure{display:inline-flex;align-items:center;justify-content:center;width:28px;height:42px;padding:0;border:0;background:transparent;color:var(--ink);cursor:pointer;font:18px/1 Arial,sans-serif}
.site-header .nav-disclosure:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.site-header .nav-group.submenu-open .nav-submenu{display:grid}
.site-header .nav-about .nav-submenu{min-width:245px;left:0}
@media(max-width:1100px){.site-header .nav-disclosure{display:none}.site-header .nav-about .nav-submenu{min-width:0}}
.site-header>nav>.nav-group{position:relative;display:flex;align-items:center;height:100%}
.site-header>nav>.nav-group>.nav-parent{display:inline-flex;align-items:center;justify-content:center;min-height:42px;color:var(--ink);font:500 14px/1.4 'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;text-decoration:none;white-space:nowrap}
.site-header .nav-submenu{display:none;position:absolute;top:100%;left:-16px;z-index:40;min-width:190px;padding:8px 0;background:var(--sand);box-shadow:0 8px 18px rgba(40,56,58,.14)}
.site-header .nav-group:not(.nav-about):not(.nav-philosophy):hover .nav-submenu,.site-header .nav-group:not(.nav-about):not(.nav-philosophy):focus-within .nav-submenu{display:grid}
.site-header .nav-submenu>a{display:flex;align-items:center;min-height:44px;padding:8px 16px;color:var(--ink);font:500 14px/1.5 'Noto Serif JP','Hiragino Mincho ProN','Yu Mincho',serif;text-decoration:none;white-space:nowrap}
.site-header .nav-submenu>a:hover,.site-header .nav-submenu>a:focus-visible{background:rgba(43,125,127,.1)}
@media(min-width:1101px) and (max-width:1320px){.site-header>nav>.nav-group>.nav-parent{font-size:13px}}
@media(max-width:1100px){.site-header>nav>.nav-group{display:grid;width:100%;height:auto;grid-template-columns:1fr}.site-header>nav>.nav-group>.nav-parent{justify-content:flex-start;min-height:44px;padding:8px 0;color:var(--ink);font-size:16px;border-bottom:1px solid rgba(40,56,58,.12)}.site-header .nav-submenu{display:grid;position:static;min-width:0;padding:0 0 0 16px;background:transparent;box-shadow:none}.site-header .nav-submenu>a{min-height:42px;padding:8px 0;border-bottom:1px solid rgba(40,56,58,.08);font-size:15px}.site-header .nav-submenu>a:last-child{border-bottom:1px solid rgba(40,56,58,.12)}}
.service-entry{text-align:center}.service-entry>p{width:min(100%,640px);max-width:640px;margin:1.2rem auto;text-align:left}.service-entry>.button{margin:1rem auto}
@media(max-width:600px){.service-entry>p{max-width:280px}}

/* Shared dropdowns: opaque surface, stable pointer path and clear destinations. */
.site-header .nav-about .nav-submenu,.site-header .nav-philosophy .nav-submenu{min-width:280px;padding:8px;background:#f8f5ef;border:1px solid #e4ded4;border-radius:4px;box-shadow:0 12px 28px rgba(40,56,58,.15);max-height:calc(100dvh - 140px);overflow-y:auto}
.site-header .nav-submenu>a{gap:18px;justify-content:space-between;border-radius:2px;text-align:left}
.site-header .nav-source{font:400 11px/1.4 Arial,sans-serif;color:#697576;white-space:nowrap}
.site-header .nav-group.submenu-open>.nav-parent,.site-header .nav-group.submenu-open>.nav-disclosure{color:var(--teal)}
.site-header .nav-group.submenu-open>.nav-disclosure span{transform:rotate(180deg)}
.site-header .nav-about .nav-submenu>a:nth-last-child(2){border-top:1px solid #ded7cb;margin-top:6px;padding-top:14px}
@media(max-width:1100px){
.site-header>nav>.nav-about,.site-header>nav>.nav-philosophy{grid-template-columns:minmax(0,1fr) 44px}
.site-header .nav-about>.nav-disclosure,.site-header .nav-philosophy>.nav-disclosure{display:flex;width:44px;height:44px;border-bottom:1px solid rgba(40,56,58,.12)}
.site-header .nav-about .nav-submenu,.site-header .nav-philosophy .nav-submenu{display:none;grid-column:1/-1;position:static;min-width:0;max-height:none;padding:4px 0 8px 14px;border:0;border-radius:0;box-shadow:none;background:transparent}
.site-header .nav-group.submenu-open .nav-submenu{display:grid}
.site-header .nav-submenu>a{white-space:normal;gap:12px}
}
@media(max-width:1100px){.site-header.nav-open>nav{max-height:calc(100dvh - 76px);overflow-y:auto!important;overscroll-behavior:contain}}

/* Keep the shared footer links readable and individually tappable. */
.site-footer nav[aria-label="フッターメニュー"]{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.45rem 1.1rem;
  margin:1.35rem 0;
}
.site-footer nav[aria-label="フッターメニュー"] a{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  font-size:14px;
  line-height:1.55;
  text-underline-offset:.2em;
}
.site-footer nav[aria-label="フッターメニュー"] a:focus-visible{
  outline:2px solid var(--teal);
  outline-offset:3px;
}
@media(max-width:900px){
  .site-footer nav[aria-label="フッターメニュー"]{
    flex-direction:column;
    align-items:stretch;
    gap:.2rem;
  }
  .site-footer nav[aria-label="フッターメニュー"] a{
    min-height:40px;
    padding:.35rem 0;
  }
}
