/* 保護者の声と、運営団体・代表紹介。B案の色と読みやすさを継承。 */
.counseling-term { white-space: nowrap; }
.theme-b .faq-answer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; padding-top: 12px; border-top: 1px solid #dce4f3; }
.theme-b .faq-answer-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; line-height: 1.8; text-decoration: underline; text-underline-offset: 4px; }
.theme-b .faq-answer-link:hover { color: #1648ce; }
.theme-b .faq-answer-link:focus-visible { outline: 3px solid #e3b328; outline-offset: 4px; }
.theme-b .spot-visit { margin-top: 24px; text-wrap: balance; }
.representative-layout { scroll-margin-top: 28px; }
.theme-b .counseling-intro { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.theme-b .counseling-intro h3 { font-size: 21px; line-height: 1.7; }
.theme-b .counseling-intro p { margin-top: 14px; font-size: 18px; font-weight: 400; line-height: 2; }
.theme-b .counseling-intro .text-link { margin-top: 18px; }
.theme-b .philosophy { background: #edf3ff; border-block: 1px solid #d5def2; }
.philosophy-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.theme-b .philosophy h2 { max-width: 510px; font-size: clamp(28px, 2.65vw, 39px); text-wrap: balance; }
.philosophy-lead { margin-top: 22px; color: #344b86; font-size: 18px; text-wrap: pretty; }
.philosophy-body { padding-left: 32px; border-left: 2px solid #e9cb57; }
.philosophy-body p { font-size: 18px; color: #344b86; }
.philosophy-body .text-link { margin-top: 22px; }
.representative-message { background: #fffdf5; border-block: 1px solid #e9e1c4; scroll-margin-top: 28px; }
.representative-message-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.theme-b .representative-message h2 { max-width: 450px; font-size: clamp(28px, 2.65vw, 39px); text-wrap: balance; }
.message-label { margin: 22px 0 12px; font-size: 16px; color: #4b5f86; }
.message-body p { font-size: 18px; line-height: 2.1; color: #344b86; }
.message-body p + p { margin-top: 25px; }
.message-body .message-signature { padding-top: 22px; border-top: 1px solid #e9e1c4; margin-top: 32px; font-size: 16px; text-align: right; }
.theme-b .about-illustration { margin-top: 30px; max-width: 510px; padding: 7px; border: 1px solid #d4ddef; border-radius: 16px; background: #fff; }
.theme-b .about-illustration img { width: 100%; height: auto; aspect-ratio: 3/2; border-radius: 10px; }
.theme-b .about-illustration figcaption { padding: 10px 5px 3px; color: #4b5f86; font-size: 12px; font-weight: 400; line-height: 1.8; }
.theme-b .facility-illustration figcaption span { display: block; }
.theme-b .facility-illustration .facility-image-label { color: #243e78; font-size: 15px; }
.theme-b .exterior-illustration { width: 100%; max-width: 760px; margin: 0 auto; padding: 7px; border: 1px solid #d4ddef; border-radius: 16px; background: #fff; }
.theme-b .exterior-illustration img { width: 100%; height: auto; aspect-ratio: 3/2; border-radius: 10px; }
.theme-b .exterior-illustration figcaption { padding: 12px 8px 6px; color: #4b5f86; font-size: 12px; font-weight: 400; line-height: 1.8; }
.theme-b .feed { width: 100%; max-width: 940px; margin-inline: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.theme-b .feed .post:nth-child(n) { margin-top: 0; }
.theme-b .feed .post-image { width: 100%; max-width: 230px; aspect-ratio: 3/4; border-width: 8px; margin-inline: auto; align-self: start; }
.theme-b .feed .post img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.theme-b .feed .post-text { max-width: 270px; margin-inline: auto; }
.theme-b .feed .post h3 { text-wrap: balance; }
@media (max-width: 800px) { .theme-b .about-illustration { max-width: none; margin-top: 24px; } }
.voices { background: #fff1ad; border-block: 1px solid #eadb91; }
.voices-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; }
.voices-heading > p { max-width: 430px; color: #344b86; font-size: 18px; }
.voice-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; margin-top: 35px; }
.voice-card { display: flex; flex-direction: column; padding: 31px 33px; border: 1px solid #d5c97d; border-radius: 16px; background: #fffdf7; box-shadow: 0 5px 0 #173e8510; }
.voice-card.cafe-voice { background: #edf3ff; border-color: #b5c6eb; }
.voice-label { font-size: 14px; color: #4b5f86; }
.voice-card blockquote { margin: 24px 0 18px; font-size: 25px; font-weight: 800; line-height: 1.8; color: #12368d; }
.voice-card blockquote::before { content: '“'; display: block; font: 700 54px/.8 Georgia, serif; color: #1648ce; margin-bottom: 10px; }
.voice-card blockquote span { display: block; }
.voice-card > p:not(.voice-label) { font-size: 17px; color: #344b86; }
.voice-source { display: flex; flex-wrap: wrap; gap: 5px 17px; align-items: center; border-top: 1px solid #cbd6e9; padding-top: 18px; margin-top: auto; font-size: 14px; }
.voice-source time { color: #4b5f86; font-variant-numeric: tabular-nums; }
.voice-source a { text-decoration: underline; text-underline-offset: 4px; }
.voice-card > p + .voice-source { margin-top: 24px; }
.voices-note { margin-top: 25px; color: #554c29; font-size: 14px; font-weight: 500; }
.organization-teaser { display: grid; grid-template-columns: .45fr 1fr; gap: 55px; align-items: center; }
.teaser-photo { width: 100%; max-width: 320px; margin: 0; transform: rotate(-3deg); border: 12px solid #fff; box-shadow: 0 3px 25px #173d8516; background: #fff; }
.teaser-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 25%; }
.teaser-photo figcaption { padding-top: 10px; font-size: 14px; text-align: center; }
.teaser-photo figcaption small { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; }
.organization-teaser p:not(.eyebrow) { margin-top: 20px; font-size: 18px; }
.organization-teaser .button { margin-top: 25px; }
.theme-b .footer-organization { text-decoration: underline; text-underline-offset: 4px; }
.theme-b .back-to-top { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; margin-left: auto; padding: 12px 14px 12px 24px; border: 1px solid #c4d1ec; border-radius: 999px; background: #fffdf5; color: #102b81; text-decoration: none; transition: border-color .2s, background-color .2s; }
.theme-b .back-to-top .back-to-top-label { flex: 0 1 auto; font-size: 14px; line-height: 1.7; text-align: left; }
.theme-b .back-to-top-label small { display: block; margin-bottom: 2px; font-size: 10px; font-weight: 500; letter-spacing: .15em; }
.theme-b .back-to-top .back-to-top-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: #102b81; color: #fffdf5; transition: background-color .2s, color .2s; }
.theme-b .back-to-top-icon svg { width: 24px; height: 24px; transition: transform .2s; }
.theme-b .back-to-top:hover { background: #fff7d7; border-color: #102b81; }
.theme-b .back-to-top:hover .back-to-top-icon { background: #ffd652; color: #102b81; }
.theme-b .back-to-top:hover svg { transform: translateY(-3px); }
.theme-b .back-to-top:focus-visible { outline: 2px solid #1648ce; outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) { .theme-b .back-to-top, .theme-b .back-to-top-icon, .theme-b .back-to-top-icon svg { transition: none; } .theme-b .back-to-top:hover svg { transform: none; } }
.organization-hero { background: #edf3ff; padding: 67px 0 75px; border-bottom: 1px solid #cbd8f0; }
.organization-hero .breadcrumb { margin-bottom: 35px; }
.theme-b .organization-hero h1 { font-size: clamp(36px,4vw,57px); line-height: 1.6; }
.organization-hero .lead { max-width: 740px; margin-top: 22px; }
.representative-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 62px; align-items: start; }
.representative-portrait { margin: 0; padding: 13px; background: #fff; border: 1px solid #cbd8f0; border-radius: 16px; transform: rotate(-2deg); box-shadow: 0 7px 0 #edf3ff; }
.representative-portrait img { display: block; width: 100%; height: auto; border-radius: 7px; }
.representative-portrait figcaption { font-size: 13px; text-align: center; margin: 13px 0 3px; }
.representative-copy .role { display: inline-block; padding: 5px 13px; background: #fff0a8; border-radius: 5px; font-size: 15px; }
.theme-b .representative-copy h2 { margin-top: 17px; font-size: 43px; }
.representative-copy .representative-name-en { font-size: 14px; color: #4b5f86; letter-spacing: .13em; }
.representative-copy > p:not(.role):not(.eyebrow):not(.representative-name-en):not(.representative-name-reading):not(.representative-affiliation) { margin-top: 25px; font-size: 18px; color: #344b86; }
.representative-copy .representative-name-reading { margin-top: 4px; font-size: 15px; letter-spacing: .12em; color: #4b5f86; }
.representative-copy .representative-affiliation { margin-top: 20px; font-size: 16px; color: #344b86; }
.representative-copy .text-link { display: inline-block; margin-top: 27px; }
.organization-info { background: #edf3ff; border-block: 1px solid #d5def2; }
.organization-info-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 55px; }
.organization-info-intro p:not(.eyebrow) { margin-top: 22px; font-size: 18px; }
.organization-facts { margin: 0; background: #fff; border: 1px solid #c4d1ec; border-radius: 14px; overflow: hidden; }
.organization-facts > div { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 15px; padding: 21px 25px; }
.organization-facts > div + div { border-top: 1px solid #dce4f3; }
.organization-facts dt { font-size: 15px; color: #4b5f86; }
.organization-facts dd { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.organization-facts small { display: block; font-size: 13px; font-weight: 500; margin-top: 5px; color: #4b5f86; }
.organization-contacts { border-bottom: 1px solid #dce4f3; }
.organization-contact-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 55px; align-items: start; }
.organization-contacts .contact-intro { font-size: 18px; color: #344b86; margin-top: 22px; }
.organization-contact-card { background: #edf3ff; border: 1px solid #c4d1ec; border-radius: 15px; padding: 30px; }
.organization-contact-card .contact-tag { display: inline-block; background: #1648ce; color: white; border-radius: 4px; padding: 3px 10px; font-size: 13px; margin-bottom: 14px; }
.organization-contact-card > p:not(.contact-tag) { font-size: 16px; color: #344b86; margin-top: 18px; }
.organization-contact-card dl { margin: 20px 0 25px; }
.organization-contact-card dl > div { display: grid; grid-template-columns: 98px minmax(0,1fr); gap: 15px; padding: 15px 0; border-bottom: 1px solid #c6d3eb; }
.organization-contact-card dt { font-size: 14px; color: #4b5f86; }
.organization-contact-card dd { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.organization-contact-card dd a { text-decoration: underline; text-underline-offset: 4px; font-variant-numeric: tabular-nums; }
.organization-return { padding: 45px 0 65px; border-top: 1px solid #dce4f3; }
@media(min-width:801px) and (max-width:1350px) {
 .theme-b .header { flex-wrap: wrap; }
 .theme-b .header nav { width: 100%; order: 3; justify-content: center; }
}
@media(max-width:800px) {
 .theme-b .back-to-top { margin-left: 0; margin-top: 8px; }
 .theme-b .header nav a:last-child { grid-column: 1/-1; }
 .theme-b .feed { max-width: none; grid-template-columns: 1fr; gap: 30px; }
 .theme-b .feed .post { display: grid; grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
 .theme-b .feed .post-image { max-width: 180px; margin: 0; border-width: 6px; }
 .theme-b .feed .post-text { padding: 0; margin: 0; }
 .theme-b .feed .post h3 { margin-top: 8px; font-size: 18px; }
 .theme-b .feed .post p { font-size: 16px; }
 .theme-b .feed .post-link { font-size: 14px; }
 .philosophy-layout, .representative-message-layout { grid-template-columns: 1fr; gap: 30px; }
 .philosophy-body { padding-left: 20px; }
 .theme-b .philosophy h2, .theme-b .representative-message h2 { font-size: 28px; }
 .message-body p { font-size: 18px; }
 .representative-message .eyebrow { letter-spacing: .1em; font-size: 11px; }
 .voices-heading { display: block; }
 .voices-heading > p { margin-top: 20px; }
 .voice-grid { grid-template-columns: 1fr; gap: 22px; }
 .voice-card { padding: 25px 23px; }
 .voice-card blockquote { font-size: 23px; }
 .voice-card > p:not(.voice-label) { font-size: 17px; }
 .voice-source { font-size: 13px; }
 .voices-note { font-size: 13px; }
 .organization-teaser { grid-template-columns: 1fr; gap: 40px; }
 .teaser-photo { max-width: 250px; margin-inline: auto; }
 .organization-hero { padding: 35px 0 48px; }
 .organization-hero .breadcrumb { margin-bottom: 28px; }
 .theme-b .organization-hero h1 { font-size: 32px; }
 .representative-layout { grid-template-columns: 1fr; gap: 40px; }
 .representative-portrait { max-width: 300px; margin-inline: auto; }
 .theme-b .representative-copy h2 { font-size: 37px; }
 .organization-info-grid { grid-template-columns: 1fr; gap: 35px; }
 .organization-facts > div { grid-template-columns: 1fr; gap: 6px; padding: 19px 22px; }
 .organization-contact-grid { grid-template-columns: 1fr; gap: 22px; }
 .organization-contact-card { padding: 25px 22px; }
 .organization-contact-card dl > div { grid-template-columns: 1fr; gap: 5px; }
}
