/* 看板下部の柔らかな色の重なりを、白い余白と曲線の帯で表現する。 */
:root {
  --green: #21735f;
  --green2: #308d70;
  --deep: #215448;
  --orange: #ad521e;
  --cream: #fff;
  --sign-orange-light: #fff8f2;
  --sign-green-light: #f4faf7;
  --sign-yellow-light: #fffdf6;
  --sign-gradient: linear-gradient(115deg,#ffd4b7 0%,#f9e9b0 48%,#bce4d3 100%);
  --sign-rule: #e4ebe7;
}
body#top .header { border-bottom-color: var(--sign-rule); }
body#top .header .contact-button { background: var(--deep); color: #fff; border-radius: 8px; }
body#top .header .phone-button { background: #f6f9f7; color: var(--deep); }
body#top .preview-ribbon { background: #f5f7f6; color: #56635d; }
body#top .topbar { background: var(--deep); }
body#top .quick-link.orange { background: #ed984e; border-color: transparent; color: #fff; }
body#top .quick-link.orange :is(svg,.arrow) { color: #fff; }
body#top .quick-link.orange:hover { background: #e58b40; }
.home-page .quick { border-color: var(--sign-rule); border-radius: 16px; box-shadow: 0 12px 38px rgba(35,72,57,.045); }
.home-page .quick-link { border-color: var(--sign-rule); border-radius: 8px; }
.home-page .hero { background: #fff; }
.home-page .hero-copy h1 { color: #20352e; }
.home-page .hero-copy h1 em { color: var(--green); }
.home-page .hero-photo::after { background-image: linear-gradient(90deg,#fff,rgba(255,255,255,.75) 8%,rgba(255,255,255,.08) 31%,transparent 45%); }
.home-page .hero::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 145px; z-index: 0; background: url('/assets/img/sign-ribbon.svg') center bottom / 100% 100% no-repeat; pointer-events: none; }
.home-page .news-ticker { background: #fff; border-block: 1px solid var(--sign-rule); border-radius: 0; }
.home-page .service-card { border-color: var(--sign-rule); }
.home-page .service-card .service-icon { background: #f6faf8; color: var(--green); }
.home-page .service-card .service-category { background: #f4f8f6; color: var(--deep); }
.home-editorial .home-trust { background: radial-gradient(ellipse at 0 100%,#fff1e5,transparent 60%),radial-gradient(ellipse at 100% 100%,#e9f5ef,transparent 65%),#fffefa; }
.home-editorial .home-careers { background: radial-gradient(ellipse at 0 100%,#fff3e8,transparent 65%),radial-gradient(ellipse at 100% 0,#e8f6f0,transparent 65%),#fff; }
.home-editorial .home-button { border-radius: 8px; }
.home-editorial .home-button-filled { background: var(--deep); border-color: var(--deep); color: white; }
.home-editorial .home-button-filled:hover { background: var(--green); color: white; }
.home-editorial .home-eyebrow { color: var(--green); }
.facility-page .facility-title-band { background: radial-gradient(ellipse at 5% 100%,#fff4ea,transparent 50%),radial-gradient(ellipse at 100% 100%,#edf8f3,transparent 55%),#fff; }
.facility-page .facility-title-cat { background: #f0f7f3; color: var(--deep); }
.facility-page .feature-card { border-top-color: #c9dfd4; }
.facility-page .feature-number { color: var(--green); }
.facility-page .facility-facts { background: #f7faf8; }
.facility-page .facility-contact-band { background: var(--sign-gradient); }
.price-highlight { background: #f6faf8; border-color: #dfeae4; }
.price-highlight-question { margin-top: 0; font-size: 20px; }
.content-section-heading { border-left-color: #8fcbb3; }
/* 看板の帯を全ページの終わりに。本文は白地に濃色で読む。 */
body#top .footer { background: #f8fbf9; color: var(--deep); border-top: 0; padding-top: 120px; }
body#top .footer::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 90px; background: #fff url('/assets/img/sign-ribbon.svg') center / 100% 100% no-repeat; pointer-events: none; }
body#top .footer :is(.brand-copy,.footer-address,.footer-col a,.footer-bottom) { color: #385b4e; }
body#top .footer .footer-col h3 { color: #214b3b; }
body#top .footer .footer-bottom { border-top-color: #d8e7df; }
body#top .footer .footer-contact { border-color: #c9ded2; }
body#top .footer .footer-contact > a { background: var(--deep); color: #fff; }
body#top .footer .to-top { color: var(--deep); border-color: #9cbcaf; background: #fff; }
body#top .footer-watermark { filter: brightness(0); opacity: .035; }
body#top :is(a,button,summary):focus-visible { outline-color: var(--deep); }
@media(max-width:767px) {
  .home-page .hero-photo::after { background-image: linear-gradient(180deg,rgba(255,255,255,0) 38%,rgba(255,255,255,.86) 70%,#fff 96%); }
  .home-page .hero::after { height: 80px; }
  /* 看板の帯と同じ順序：淡いオレンジ → 黄色 → グリーン。 */
  body#top .mobile-fixed-phone { background: #ffdab9; color: #62452f; }
  body#top .mobile-fixed-contact { background: #f7edbc; color: #58512b; }
  body#top .mobile-fixed-recruit { background: #bedfcb; color: #285842; }
  .home-page .quick { border-radius: 12px; }
  body#top .footer { padding-top: 86px; }
  body#top .footer::before { height: 62px; }
}

/* 2026-09-15: 本文・施設名はゴシック。明朝は理念などのメッセージに限定。 */
:root {
  --font-body: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-message: "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-brand: "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --cta-peach: #ffdab9;
  --cta-peach-ink: #62452f;
  --cta-yellow: #f7edbc;
  --cta-yellow-ink: #58512b;
  --cta-leaf: #bedfcb;
  --cta-leaf-ink: #285842;
}
body#top { font-family: var(--font-body); }
body#top :is(.brand-copy small,.brand-copy strong) { font-family: var(--font-brand); }
body#top :is(.facility-title-band h1,.facility-hero-info h2,.facility-card h3,.facility-group h2,.service-card h3,.worksite-card h3,.services .section-title,.content-section-heading,.quick-label,.ticker-head > span,.recruit-v5-stat-card strong,.recruit-hero-proof-card strong) { font-family: var(--font-body); }
/* 淡い背景に濃色の文字を置き、PC・モバイルで同じ3色を使う。 */
body#top :is(.header .contact-button,.mobile-drawer-actions .contact-button,.quick-link.orange,.cta-contact,.home-consult .home-button[href="/contact/"],.facility-contact-button,.footer .footer-contact > a,.home-button-filled,.recruit-cta-primary,.cta-primary) { background: var(--cta-peach); color: var(--cta-peach-ink); border-color: transparent; border-radius: 8px; box-shadow: none; }
body#top :is(.quick-link.orange svg,.quick-link.orange .arrow) { color: inherit; }
body#top :is(.header .contact-button,.mobile-drawer-actions .contact-button,.quick-link.orange,.cta-contact,.home-consult .home-button[href="/contact/"],.facility-contact-button,.footer .footer-contact > a,.home-button-filled,.recruit-cta-primary,.cta-primary):hover { background: #f7cba6; color: var(--cta-peach-ink); }
body#top :is(.mini-button,.recruit-button,.cta-recruit,.service-filters button[aria-pressed="true"],.endayori-filters button[aria-pressed="true"],.list-tabs a.active,.job-filter-btn.is-active,.recruit-stats-tabs button.is-active,.recruit-day-tabs button.is-active) { background: var(--cta-leaf); color: var(--cta-leaf-ink); border-color: #a7c9b5; box-shadow: none; }
body#top :is(.facility-group-icon,.facility-cat,.facility-title-cat,.service-icon,.flow-steps li > span,.heart-list li > span,.faq-q,.worksite-card h3 small,.recruit-v5-job-media .badge) { background: #e5f1e8; color: var(--cta-leaf-ink); box-shadow: none; }
body#top :is(.facility-contact-band,.simple-cta,.pro-b-response) { background: #f5f8ef; color: var(--deep); }
body#top .facility-contact-band { background: linear-gradient(115deg,#fff2e6,#fbf8e5 52%,#e7f3eb); }
body#top :is(.facility-contact-copy,.simple-cta,.pro-b-response) p { color: #526359; }
body#top .facility-contact-phone { background: #fffdfa; color: var(--deep); border-color: #d3dfd5; }
body#top .topbar { background: #f1f6f1; color: #456052; }
body#top .outline-button:hover,body#top .home-button:not(.home-button-filled):hover { background: #e5f1e8; color: var(--deep); }
body#top .ticker-head > span { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
body#top .ticker-head-leaf { display: block; width: 23px; height: 23px; flex: 0 0 23px; transform: rotate(15deg); color: #6d9a79; margin: 0; }
body#top .section-title-leaf:not(.ticker-head-leaf) { transform: rotate(-35deg); }
body#top .section-title-leaf-end { transform: scaleX(-1) rotate(-35deg); }
.services-brand { display: flex; align-items: center; justify-content: center; gap: 36px; padding: 8px 0 48px; }
.services-brand-mark { width: 160px; height: auto; flex: none; }
.services-brand p { font-family: var(--font-message); font-size: clamp(18px,2vw,26px); letter-spacing: .06em; line-height: 1.9; color: #38584b; margin: 0; }
.brand-mobile-break { display: none; }
/* TOPの採用3項目は採用FVと同じデータを明朝で表示。 */
body#top .home-careers-facts { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr) minmax(0,1fr); gap: 14px; font-family: var(--font-message); }
body#top .home-careers-facts > div { min-width: 0; }
body#top .home-careers-facts > div + div { padding-left: 14px; }
body#top .home-careers-facts dt { font-size: 12px; line-height: 1.7; }
body#top .home-careers-facts dd { font-family: var(--font-message); font-size: clamp(26px,2.8vw,38px); font-weight: 500; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 2px; }
body#top .home-careers-facts dd span { font-size: inherit; padding: 0; white-space: nowrap; }
body#top .home-careers-facts dd small { font-size: 15px; white-space: nowrap; }
body#top .footer-brand .brand { display: inline-flex; align-items: center; gap: 12px; }
body#top .footer-brand .brand-mark { display: block; width: 58px; height: auto; }
@media(max-width:767px) {
 body#top .home-careers-facts { gap: 10px; }
 body#top .home-careers-facts > div + div { padding-left: 10px; }
 body#top .home-careers-facts dt { font-size: 11px; }
 body#top .home-careers-facts dd { font-size: clamp(20px,6vw,27px); }
 body#top .home-careers-facts dd small { font-size: 13px; }
 body#top .footer-brand .brand-mark { width: 48px; }
}
.facility-recruit-link { font-size: 14px; line-height: 1.8; padding-top: 28px; }
.facility-recruit-link a { text-decoration: underline; text-underline-offset: 4px; }
/* 自立支援のストーリー。実際の事例写真とイメージ写真を混同させない。 */
.care-hero { padding: 28px 0 68px; background: #fff; position: relative; }
.care-hero::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 50px; background: url('/assets/img/sign-ribbon.svg') center / 100% 100% no-repeat; pointer-events: none; }
.care-hero .container,.jiritsu-page .content-section .container,.dream-project .container { max-width: 1160px; }
.care-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; margin-top: 36px; }
.care-eyebrow { color: #54755f; font: 700 13px/1.7 var(--font-body); letter-spacing: .08em; margin: 0 0 16px; }
.care-hero h1 { font: 500 clamp(26px,3vw,40px)/1.7 var(--font-message); color: #304d40; letter-spacing: .03em; margin: 0 0 24px; }
.care-hero-grid p:not(.care-eyebrow) { line-height: 2; font-size: 15px; }
.care-hero-grid .care-hero-lead { font-weight: 700; font-size: 20px; }
.care-hero .outline-button { margin-top: 20px; }
.care-hero figure { margin: 0; }
.care-hero figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.care-hero figcaption { color: #667168; font-size: 11px; text-align: right; padding-top: 8px; }
.jiritsu-page .content-section,.dream-project { padding: 76px 0; }
body#top .care-reading { max-width: 860px; }
.care-heading { font: 500 clamp(25px,2.7vw,36px)/1.7 var(--font-message); letter-spacing: .03em; color: #304d40; margin: 0 0 26px; }
.care-intro { max-width: 760px; line-height: 2.1; font-size: 16px; }
.care-steps { list-style: none; padding: 0; margin: 40px 0 0; }
.care-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 24px; border-top: 1px solid #e1e9e2; padding: 26px 0; }
.care-steps li > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #f8eccd; color: #70613c; font-size: 15px; }
.care-steps li:nth-child(even) > span { background: #e1efe5; color: #466952; }
.care-steps h3 { font-size: 19px; margin: 6px 0 10px; color: #354f41; }
.care-steps p { font-size: 15px; line-height: 2; margin: 0; }
.care-basics { background: #f8faf5; }
.care-basics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 36px; }
.care-basics-grid article { border-top: 2px solid #cbded0; padding-top: 22px; }
.care-basics-grid article > span { color: #657e62; font-size: 13px; }
.care-basics-grid h3 { font-size: 22px; color: #3a5948; margin: 12px 0; }
.care-basics-grid p { font-size: 15px; line-height: 2; }
.dream-project { background: radial-gradient(ellipse at 0 0,#ffeddd,transparent 65%),radial-gradient(ellipse at 100% 100%,#e7f2e7,transparent 65%),#fdfbf0; }
.dream-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 60px; }
.dream-intro .care-heading span { display: block; font: 700 14px/1.8 var(--font-body); margin-top: 22px; color: #72613e; letter-spacing: .13em; }
.dream-intro p:not(.care-eyebrow),.dream-process > p:not(.care-eyebrow) { font-size: 15px; line-height: 2.1; }
.dream-process { margin-top: 26px; padding: 34px 40px; background: rgba(255,255,255,.9); border-radius: 14px; }
.dream-process h3 { font-size: 23px; color: #3d5544; margin: 12px 0 18px; }
.dream-process ol { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 22px; list-style: none; padding: 0; margin: 26px 0 0; }
.dream-process li { border-top: 2px solid #d4e2d0; padding-top: 14px; }
.dream-process small { display: block; color: #687767; font-size: 12px; margin-bottom: 8px; }
.dream-process strong { font-size: 15px; color: #3d5544; }
.dream-link { margin-top: 32px; text-align: center; }
/* 固定高さとpaddingの競合を、全ページの枠線ボタンで解消する。 */
body#top .outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: auto; min-height: 48px; min-width: 0; max-width: 100%; padding: 12px 24px; font-size: 14px; line-height: 1.7; text-align: center; }
body#top .outline-button > span { flex: none; }
.jiritsu-page .all-services { flex-wrap: wrap; gap: 16px; }
@media(max-width:767px) {
 .jiritsu-page .all-services { flex-direction: column; align-items: stretch; }
 .jiritsu-page .all-services .outline-button { width: 100%; }
}
.footer-identity { margin-bottom: 24px; }
body#top .footer-identity .brand { margin-bottom: 10px; }
.footer-tagline { font-family: var(--font-message); font-size: 16px; line-height: 1.8; margin: 0; }
.footer-tagline span { display: block; }
.facility-flow-note { line-height: 1.9; margin-bottom: 28px; }
@media(max-width:767px) {
 .services-brand { gap: 20px; padding: 0 0 32px; }
 .services-brand-mark { width: 102px; height: auto; }
 .services-brand p { font-size: 15px; letter-spacing: .01em; }
 .brand-mobile-break { display: initial; }
 body#top .footer { padding-bottom: 16px; }
 body#top .footer-main { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 16px; align-items: start; }
 body#top .footer-brand { grid-column: 1/-1; margin: 0; padding: 0; }
 body#top .footer-col { padding: 10px 0 0; margin: 0; min-width: 0; border-top: 1px solid #d8e7df; }
 body#top .footer-col h3 { font-size: 13px; margin: 0 0 8px; padding: 0; }
 body#top .footer-col a { display: block; font-size: 12px; line-height: 1.65; min-height: 0; padding: 5px 0; margin: 0; }
 body#top .footer-contact { grid-column: 1/-1; padding: 18px 0 0; margin: 0; }
 body#top .footer-bottom { margin-top: 22px; padding-top: 18px; gap: 12px; }
 body#top .footer-address { font-size: 12px; line-height: 1.8; margin-top: 12px; }
 body#top .mobile-drawer-nav a { padding-block: 12px; min-height: 44px; }
 body#top .mobile-fixed-bar { min-height: 58px; }
 body#top .mobile-fixed-phone { background: var(--cta-yellow); color: var(--cta-yellow-ink); }
 body#top .mobile-fixed-contact { background: var(--cta-peach); color: var(--cta-peach-ink); border-radius: 0; }
 body#top .mobile-fixed-recruit { background: var(--cta-leaf); color: var(--cta-leaf-ink); }
 .care-hero { padding: 20px 0 60px; }
 .care-hero-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 24px; }
 .care-hero h1 { font-size: clamp(24px,6.3vw,31px); }
 .care-hero-grid p:not(.care-eyebrow) { font-size: 14px; }
 .care-hero-grid .care-hero-lead { font-size: 18px; }
 .jiritsu-page .content-section,.dream-project { padding: 44px 0; }
 .care-heading { font-size: 25px; }
 .care-intro { font-size: 14px; }
 .care-steps li { grid-template-columns: 36px 1fr; gap: 16px; padding: 22px 0; }
 .care-steps li > span { width: 36px; height: 36px; font-size: 12px; }
 .care-steps h3 { font-size: 17px; margin-top: 3px; }
 .care-steps p,.care-basics-grid p { font-size: 14px; }
 .care-basics-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
 .dream-intro { grid-template-columns: 1fr; gap: 8px; }
 .dream-process { padding: 24px 20px; }
 .dream-process h3 { font-size: 19px; line-height: 1.8; }
 .dream-process ol { grid-template-columns: 1fr; gap: 18px; }
 .dream-process li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
 .dream-process small { margin: 0; }
 .dream-process strong { font-size: 14px; }
}

.facility-page .timeline-item time.time-range { flex-direction: column; justify-content: center; align-items: flex-end; height: auto; min-height: 40px; align-self: start; font-size: 14px; line-height: 1.4; }
.facility-page .time-range span { white-space: nowrap; }
@media(max-width:767px) {
 .facility-page .timeline-item time.time-range { font-size: 11px; line-height: 1.6; }
}

/* モバイルでもロゴに端の余白を確保する。 */
@media(max-width:767px) {
 body#top .header .container { padding-left: 16px; }
 body#top .footer-identity .brand { margin-bottom: 8px; }
 .footer-identity { margin-bottom: 24px; }
}
@media(max-width:374px) {
 body#top .header .phone-button { width: 48px; display: flex; align-items: center; justify-content: center; }
 body#top .header .phone-button > span { display: none; }
}

/* 理事長あいさつと、見学案内のサラちゃん。 */
.greeting-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 36px; align-items: start; }
.chairman-portrait { margin: 0; }
.chairman-portrait img { display: block; width: 100%; height: auto; }
.chairman-portrait figcaption { text-align: center; font-size: 14px; line-height: 1.9; margin-top: 16px; }
.about-page .greeting-copy p { white-space: pre-line; margin-bottom: 24px; }
.about-page .greeting-copy .greeting-verse { font-family: var(--font-message); padding: 16px 20px; background: #faf7ee; border-left: 2px solid #e4cc98; }
.home-consult-intro { display: flex; align-items: center; gap: 22px; }
.home-sara { margin: 0; flex: 0 0 120px; text-align: center; }
.home-sara-photo { display: block; width: 120px; height: 120px; border-radius: 48% 52% 46% 54%; overflow: hidden; border: 5px solid #fff1d9; }
.home-sara img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 47% 52%; transform: scale(1.9); transform-origin: 48% 46%; }
.home-consult-intro h2 span { display: inline-block; }
.home-sara figcaption { margin-top: 8px; font-size: 12px; color: #54755f; }
@media(max-width:767px) {
 .greeting-layout { grid-template-columns: 1fr; gap: 28px; }
 .chairman-portrait { width: min(220px,100%); margin-inline: auto; }
 .home-consult-intro { gap: 16px; align-items: flex-start; }
 .home-sara { flex-basis: 82px; }
 .home-sara-photo { width: 82px; height: 82px; border-width: 3px; }
 .home-editorial .home-consult-intro h2 { font-size: clamp(18px,5.3vw,23px); }
}

/* 正式データのマーク＋法人名。タグラインはフッターの別テキストで表示。 */
body#top .brand-official { display: block; width: 230px; height: auto; flex: none; mix-blend-mode: multiply; }
body#top .footer .brand-official { width: 240px; }
@media(max-width:767px) {
 body#top .brand-official { width: 132px; }
 body#top .footer .brand-official { width: 230px; }
}

/* Shared footer: keep the contact panel at the right instead of wrapping below the logo. */
body#top .footer-main { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 24px; min-height: 0; }
body#top .footer-brand { flex: 1 1 250px; }
body#top .footer-col { flex: 1 0 max-content; }
body#top .footer-col :is(h3,a) { white-space: nowrap; }
body#top .footer-contact { display: block; flex: 0 0 230px; align-self: flex-start; min-height: 0; height: auto; padding: 14px; }
@media(min-width:768px) {
 body#top .footer-main { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) 250px; gap: 24px; }
 body#top .footer-brand { grid-column: 1/3; grid-row: 1; min-width: 0; }
 body#top .footer-col:nth-child(2) { grid-column: 1; grid-row: 2; }
 body#top .footer-col:nth-child(3) { grid-column: 2; grid-row: 2; }
 body#top .footer-col:nth-child(4) { grid-column: 1; grid-row: 3; }
 body#top .footer-col:nth-child(5) { grid-column: 2; grid-row: 3; }
 body#top .footer-contact { grid-column: 3; grid-row: 1; }
}
@media(min-width:1200px) {
 body#top .footer-main { display: grid; grid-template-columns: 260px repeat(2,minmax(max-content,1fr)) 250px; align-items: center; gap: 24px; }
 body#top .footer-brand { grid-column: 1; grid-row: 1/3; min-width: 0; }
 body#top .footer-col:nth-child(2) { grid-column: 2; grid-row: 1; }
 body#top .footer-col:nth-child(3) { grid-column: 3; grid-row: 1; }
 body#top .footer-col:nth-child(4) { grid-column: 2; grid-row: 2; }
 body#top .footer-col:nth-child(5) { grid-column: 3; grid-row: 2; }
 body#top .footer-contact { grid-column: 4; grid-row: 1/3; }
}
@media(min-width:1600px) {
 body#top .footer-main { grid-template-columns: 260px repeat(4,minmax(max-content,1fr)) 250px; }
 body#top .footer-brand { grid-row: 1; }
 body#top .footer-col:nth-child(4) { grid-column: 4; grid-row: 1; }
 body#top .footer-col:nth-child(5) { grid-column: 5; grid-row: 1; }
 body#top .footer-contact { grid-column: 6; grid-row: 1; }
}
.facility-page .facility-name-part { display: block; white-space: nowrap; }
@media (max-width: 767px) {
 body#top .footer-brand { flex-basis: 100%; }
 body#top .footer-contact { flex: 1 1 100%; padding: 16px; }
 .facility-page .facility-title-band h1:has(.facility-name-part) { font-size: clamp(20px,5.4vw,26px); }
}

/* 法人共通の受付とサービスの目的別導線。 */
body#top .footer-contact { flex-basis: 250px; }
body#top .footer-contact :is(p,b,small,a) { white-space: nowrap; }
.service-purpose .purpose-quick { grid-template-columns: repeat(3,minmax(0,1fr)); }
.service-purpose .purpose-label { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
.service-purpose .purpose-link { grid-column: auto; min-width: 0; white-space: normal; }
.jka-support { padding: 32px 0; border-top: 1px solid #dce3db; background: #fff; }
.jka-support h2 { font-size: 18px; margin: 0 0 20px; }
.jka-support-links { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: start; }
.jka-support-links a { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; }
.jka-support-links img { width: auto; height: 50px; max-width: 100%; object-fit: contain; }
.jka-report img { max-width: 100%; height: auto; }
.jka-report p { margin-bottom: 20px; }
@media(max-width:767px) {
 body#top .footer-contact { flex-basis: 100%; }
 .service-purpose .purpose-quick { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .jka-support-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
 .jka-support-links img { height: auto; max-height: 50px; }
}
@media(max-width:374px) { .service-purpose .purpose-quick { grid-template-columns: 1fr; } }


/* 2026-11-02 法人からの図示に合わせたタグラインとフッター。 */
@font-face { font-family: "Zen Maru Gothic Tagline"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/zen-maru-gothic-tagline.ttf") format("truetype"); }
.services-brand p { font-family: "Zen Maru Gothic Tagline", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif; font-weight: 400; }
.footer-tagline { width: max-content; max-width: 100%; }
.footer-tagline span:last-child { text-align: right; }
@media(min-width:768px) {
 body#top .footer-main { align-items: center; }
 body#top .footer-contact { align-self: center; }
}
.document-facility { padding: 28px; border: 1px solid var(--line); border-radius: 12px; }
.document-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.document-links .outline-button { width: 100%; font-size: 15px; }
.document-meta { color: var(--muted); font-size: 13px; margin-top: 10px; }
@media(max-width:767px) {
 .document-facility { padding: 22px 18px; }
 .document-links { grid-template-columns: 1fr; }
}

/* 書類一覧: 施設ごとの間隔と固定ヘッダー下のアンカー位置。 */
.document-facility { scroll-margin-top: 180px; }
.document-facility + .document-facility { margin-top: 24px; }

/* フッター見出しは各項目の行数に関係なく同じ上端に揃える。 */
@media(min-width:768px) {
 body#top .footer-main { align-items: start; }
}

/* スマートフォンでもスクロール途中からメニューへアクセスできるようにする。 */
@media(max-width:767px) {
 html { scroll-padding-top: 88px; }
 body#top .header { position: sticky; top: 0; }
}
