/* 柴垣医院 テストサイト 共通スタイル（現サイトのテーマ値を踏襲：main #6F8A8C / sub #4B3D35 / text #424242） */
:root {
  --main: #6F8A8C;
  --main-20: rgba(111, 138, 140, 0.125);
  --sub: #4B3D35;
  --text: #424242;
  --muted: #697475;
  --line: #ddd;
  --footer-bg: #eef3f3;
  --btn: #526C6E;
  --bg: #fcfcfa;
  --font: "Zen Old Mincho", "BIZ UDPMincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.8; letter-spacing: 0.09em; word-wrap: break-word; }
img { max-width: 100%; height: auto; }
a { color: var(--main); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 20000; }
.skip-link:focus { left: 8px; top: 8px; }
#test-banner { background: #4B3D35; color: #fff; font-size: 12px; letter-spacing: 0.12em; text-align: center; padding: 4px 10px; }
#wrapper { width: 100%; min-height: 100%; margin: 0 auto; text-align: left; overflow-x: clip; }

/* ---------- header ---------- */
#header { position: relative; max-width: 1600px; margin: 0 auto; padding: 20px 20px 0; }
.header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; }
.header__logo { margin: 0; }
.header__logo img { display: block; max-height: 120px; width: auto; }
.header-contact { display: flex; align-items: center; gap: 24px; margin: 0; }
.header-clinic-phones { display: grid; grid-template-columns: repeat(2, max-content); gap: 5px 18px; text-align: left; }
.header-clinic-phones a { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text); line-height: 1.4; text-decoration: none; white-space: nowrap; }
#wrapper .header-clinic-phones a:hover { color: var(--main-text); text-decoration: underline; }
.header-clinic-phones span { color: var(--main); font-size: 12px; font-weight: 600; }
.header-clinic-phones strong { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.header-contact__label { display: inline-flex; align-items: center; justify-content: center; min-width: 170px; min-height: 46px; padding: 8px 22px; border: 1px solid var(--main); border-radius: 4px; background: #fff; color: var(--main); font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: 0.06em; text-decoration: none; transition: background-color .2s, color .2s; }
.header-contact__label:hover { background: var(--main); color: #fff; }
#mobile { display: none; }

/* ---------- global nav (PC) ---------- */
#gNav { display: flex; justify-content: center; position: relative; background: transparent; }
#gNav.is-fixed { position: fixed; top: 0; left: 0; width: 100%; margin: 0; background: #fff; box-shadow: 0 0 5px rgba(0,0,0,.125); z-index: 999; }
body.nav-fixed { padding-top: 56px; }
#gNav #nav { display: flex; flex-flow: wrap; justify-content: space-around; width: 90%; max-width: 1600px; margin: 0; padding: 13px 0; list-style: none; }
#gNav #nav > li { flex-grow: 1; position: static; border-left: 1px solid var(--line); }
#gNav #nav > li:last-child { border-right: 1px solid var(--line); }
#gNav #nav li a, #gNav #nav li button { color: var(--text); font-weight: 500; line-height: 1.2; text-decoration: none; transition: .3s; font-family: inherit; font-size: 16px; letter-spacing: inherit; }
#gNav #nav > li > a, #gNav #nav > li > button { display: flex; flex-flow: column; justify-content: center; align-items: center; width: 100%; height: 2.5em; margin: 0; padding: 0 6px; background: none; border: 0; cursor: pointer; text-align: center; }
#gNav #nav > li > a:hover, #gNav #nav > li:hover > button, #gNav #nav > li > a[aria-current="page"], #gNav #nav > li.is-current > button { color: var(--main); }
#gNav #nav > li.menu-item-has-children > button::after { content: ""; display: block; width: 7px; height: 7px; margin-top: 5px; border-right: 1.5px solid var(--main); border-bottom: 1.5px solid var(--main); transform: rotate(45deg); }
#gNav #nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; width: 100%; margin: 0; padding: 36px 10% 36px; list-style: none; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 3px 3px rgba(0,0,0,.06); z-index: 50; }
#gNav #nav > li:hover > .sub-menu, #gNav #nav > li:focus-within > .sub-menu, #gNav #nav > li.is-open > .sub-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
#gNav #nav .sub-menu > li { border-bottom: 1px solid var(--line); }
#gNav #nav .sub-menu > li > a { display: block; position: relative; padding: 13px 24px 13px 0; }
#gNav #nav .sub-menu > li > a::after { content: ""; position: absolute; top: 50%; right: 6px; width: 8px; height: 8px; border-top: 1.5px solid var(--main); border-right: 1.5px solid var(--main); transform: translateY(-50%) rotate(45deg); }
#gNav #nav .sub-menu > li > a:hover { color: var(--main); }

/* ---------- mobile drawer ---------- */
#sidr { display: none; }

/* ---------- hero slider (top) ---------- */
#images { position: relative; margin: 0 auto; background: #fff; overflow: hidden; }
.hero-slider { position: relative; max-width: 1600px; margin: 0 auto; aspect-ratio: 1784 / 882; }
.hero-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slider__slide.is-active { opacity: 1; z-index: 2; }
.hero-slider__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-slider__caption { position: absolute; left: 0; right: 0; bottom: 34px; padding: 10px 90px; color: var(--main); text-align: center; text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 6px #fff, 1px 1px 2px #fff, -1px -1px 2px #fff; z-index: 3; }
.hero-slider__title { font-size: 28px; font-weight: 500; line-height: 1.5; }
.hero-slider__desc { margin-top: 8px; font-size: 15px; line-height: 1.7; }
.hero-slider__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; z-index: 4; margin: 0; padding: 0; list-style: none; }
.hero-slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(111,138,140,.35); cursor: pointer; }
.hero-slider__dots button[aria-current="true"] { background: var(--main); }
.hero-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.75); color: var(--main); font-size: 22px; cursor: pointer; }
.hero-slider__nav--prev { left: 14px; } .hero-slider__nav--next { right: 14px; }

/* ---------- contents ---------- */
#contents { position: relative; max-width: 1600px; margin: 0 auto; padding: 80px 5% 0; }
#wrapper.page_weverysub #contents { padding-top: 40px; }
#main { width: 100%; container-type: inline-size; }
#main #breadcrumbs { margin: 0 auto 10px; font-size: 14px; }
#main #breadcrumbs a { text-decoration: none; }
#main #breadcrumbs a:hover { opacity: .7; }
#main article h2 { margin: 0 0 1.5em; padding-left: 50px; color: var(--text); font-size: 34px; font-weight: 500; line-height: 1.4; text-align: left; clear: both; background: url("/assets/img/header_icon.png") no-repeat left center / 32px 32px; }
#main article h2 small { font-size: .6em; font-weight: normal; }
#main article h3 { position: relative; margin: 2em 0 1em; padding: 10px 0; color: var(--text); font-size: 26px; font-weight: 500; line-height: 1.4; clear: both; }
#main article h4 { margin: 2em 0 1em; color: var(--sub); font-size: 24px; font-weight: 500; line-height: 1.4; clear: both; }
#main article h5 { position: relative; margin: 1.5em 0 .7em; color: var(--text); font-size: 20px; font-weight: 500; line-height: 1.4; }
#main article h5::before { content: ""; display: inline-block; width: .5em; height: .5em; margin: 0 .5em .1em 0; background: var(--sub); }
#main article h6 { margin: 1.5em 0 .7em; font-size: 18px; font-weight: 500; line-height: 1.4; }
#main article p { margin: 0 0 15px; }
#main article ul { list-style-type: disc; margin: 0 0 15px 1.5em; padding: 0; }
#main article ol { margin: 0 0 15px 1.5em; padding: 0; }
#main article ul li, #main article ol li { position: relative; color: var(--text); font-size: 16px; }
#main article ul ul { margin: 0 0 .6em 2em; }
#main article section { margin: 0 0 25px; }
#main article table { border-collapse: collapse; margin: 10px 0 20px; }
#main article table th { background: #efefef; border: 1px solid #ccc; text-align: center; padding: 9px; }
#main article table td { background: #fff; border: 1px solid #ccc; padding: 9px; }
#main article table p { margin: 0; }
#main article .table_scroll { overflow: auto; }
#main article iframe { max-width: 100%; }
#main article img.alignnone, #main article img.aligncenter { display: block; max-width: 100%; height: auto; margin: 0 auto; }

/* ---------- お知らせ ---------- */
#main article .infoSec h2 { margin-bottom: .8em; }
.news-list { margin: 0 0 20px; padding: 0; list-style: none; }
.news-list__item { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: baseline; padding: 14px 4px; border-bottom: 1px solid #e3e6e6; }
.news-list__date { flex: 0 0 auto; min-width: 9.5em; color: var(--muted); font-size: 14px; letter-spacing: .06em; }
.news-list__category { flex: 0 0 auto; display: inline-block; min-width: 6em; padding: 1px 10px; border: 1px solid var(--main); border-radius: 3px; color: var(--main); font-size: 12px; line-height: 1.6; text-align: center; }
.news-list__title { flex: 1 1 24em; }
.news-list__title a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #c8d1d2; }
.news-list__title a:hover { color: var(--main); }
.news-list__more { text-align: right; }
.news-list__more a, .wv-button { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-width: 180px; min-height: 46px; padding: 8px 22px; border: 1px solid var(--main); border-radius: 4px; background: #fff; color: var(--main); font-size: 15px; font-weight: 600; text-decoration: none; transition: .2s; }
.news-list__more a:hover, .wv-button:hover { background: var(--main); color: #fff; }
.news-empty { padding: 20px; background: #fff; border: 1px dashed #c8d1d2; color: var(--muted); text-align: center; }
.news-post__meta { display: flex; gap: 18px; align-items: center; margin: -1em 0 1.5em; color: var(--muted); font-size: 14px; }
.news-post__body { padding: 30px 32px; background: #fff; box-shadow: 0 10px 30px rgba(50,50,50,.06); }
.news-post__body h3:first-child { margin-top: 0; }
.news-post__back { margin-top: 30px; }

/* ---------- 採用 募集要項（JSON から生成） ---------- */
.recruit-position + .recruit-position { margin-top: 36px; }
.recruit-position__title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.recruit-position__status { display: inline-block; padding: 1px 12px; border-radius: 3px; background: var(--main); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.recruit-position__status--closed { background: #9aa5a6; }

/* ---------- forms（自前・PHP なし） ---------- */
.wv-form { max-width: 820px; margin: 0 auto 30px; padding: 34px 36px; background: #fff; box-shadow: 0 10px 30px rgba(50,50,50,.06); }
.wv-form__intro { margin-bottom: 24px; }
.wv-form__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 10px 24px; padding: 16px 0; border-top: 1px solid #e3e6e6; }
.wv-form__row:last-of-type { border-bottom: 1px solid #e3e6e6; }
.wv-form__label { font-weight: 600; line-height: 1.6; padding-top: 8px; }
.wv-form__req { display: inline-block; margin-left: 8px; padding: 0 7px; border-radius: 3px; background: #c9655a; color: #fff; font-size: 11px; font-weight: 600; vertical-align: 2px; }
.wv-form__opt { display: inline-block; margin-left: 8px; padding: 0 7px; border-radius: 3px; background: #9aa5a6; color: #fff; font-size: 11px; font-weight: 600; vertical-align: 2px; }
.wv-form__field input[type="text"], .wv-form__field input[type="tel"], .wv-form__field input[type="email"], .wv-form__field select, .wv-form__field textarea { width: 100%; padding: 10px 12px; border: 1px solid #c8d1d2; border-radius: 4px; background: #fff; color: var(--text); font: inherit; font-size: 16px; letter-spacing: .04em; }
.wv-form__field textarea { min-height: 180px; resize: vertical; }
.wv-form__field input:focus, .wv-form__field select:focus, .wv-form__field textarea:focus { outline: 2px solid var(--main); outline-offset: 1px; border-color: var(--main); }
.wv-form__field small, .wv-form__note { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.wv-form__choices { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 6px; }
.wv-form__choices label { display: inline-flex; align-items: center; gap: 6px; }
.wv-form__consent { margin: 22px 0 10px; text-align: center; }
.wv-form__consent label { display: inline-flex; align-items: flex-start; gap: 8px; text-align: left; }
.wv-form__actions { text-align: center; margin-top: 18px; }
.wv-form__submit { min-width: 240px; min-height: 52px; padding: 10px 28px; border: 1px solid var(--btn); border-radius: 4px; background: var(--btn); color: #fff; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: .08em; cursor: pointer; transition: .2s; }
.wv-form__submit:hover { background: #fff; color: var(--btn); }
.wv-form__submit[disabled] { opacity: .6; cursor: default; }
.wv-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wv-form__error { display: none; margin: 0 0 16px; padding: 10px 14px; border: 1px solid #c9655a; border-radius: 4px; color: #b04a3f; background: #fff6f5; }
.wv-form.has-error .wv-form__error { display: block; }
.wv-form__field .is-invalid { border-color: #c9655a; }
.wv-form__field .wv-form__fielderror { display: block; margin-top: 4px; color: #b04a3f; font-size: 13px; }
.form-preview-note { max-width: 820px; margin: 0 auto 18px; padding: 10px 14px; border: 1px solid #e0b96a; border-radius: 4px; background: #fff9ea; color: #7a5a12; font-size: 14px; }
.contact-guide { max-width: 820px; margin: 0 auto 26px; }
.contact-guide__tel { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 10px; padding: 0; list-style: none; }
.contact-guide__tel li { padding: 12px 14px; background: #fff; border: 1px solid #e3e6e6; border-radius: 4px; font-size: 14px; line-height: 1.6; }
.contact-guide__tel span { display: block; color: var(--main); font-size: 12px; font-weight: 600; }
.contact-guide__tel a { color: var(--text); font-size: 17px; font-weight: 600; text-decoration: none; letter-spacing: .03em; }
.contact-guide__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; padding: 0; list-style: none; }
.contact-guide__links li a { display: inline-block; padding: 6px 14px; border: 1px solid var(--main); border-radius: 20px; color: var(--main); font-size: 14px; text-decoration: none; }
.contact-guide__links li a:hover { background: var(--main); color: #fff; }
.thanks-box { max-width: 720px; margin: 0 auto 40px; padding: 40px 36px; background: #fff; box-shadow: 0 10px 30px rgba(50,50,50,.06); text-align: center; }
.thanks-box p { margin-bottom: 14px; }

/* ---------- page top ---------- */
.pagetop { margin: 45px 0 0; }
.pagetop a { position: fixed; bottom: 65px; right: 40px; width: 50px; height: 50px; border-radius: 50px; background: var(--sub); box-shadow: 0 3px 3px rgba(0,0,0,.17); color: #fff; font-size: 0; text-decoration: none; z-index: 900; transition: .3s; }
.pagetop a::before { content: ""; position: absolute; left: 50%; top: 55%; width: 12px; height: 12px; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: translate(-50%, -50%) rotate(45deg); }
.pagetop a:hover { opacity: .8; }

/* ---------- footer（現サイトの clinic-footer を踏襲） ---------- */
#footer { background: var(--footer-bg); color: var(--text); }
#footer .clinic-footer { width: 100%; }
#footer .clinic-footer__inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; max-width: 1080px; margin: 0 auto; padding: 48px 20px 42px; }
#footer .clinic-footer__brand { grid-column: span 2; min-width: 0; }
#footer .clinic-footer__logo-link { display: inline-block; margin: 0 0 24px; }
#footer .clinic-footer__logo { display: block; width: 260px; max-width: 100%; height: auto; }
#footer .clinic-footer__clinics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin: 0; font-size: 14px; line-height: 1.6; }
#footer .clinic-footer__clinics dt { margin: 0; color: var(--main); font-size: 15px; font-weight: 600; line-height: 1.5; }
#footer .clinic-footer__clinics dd { margin: 0; }
#footer .clinic-footer__clinics a { color: inherit; text-decoration: none; }
#footer .clinic-footer__phone { margin-top: 3px; }
#footer .clinic-footer__phone a { display: inline-block; font-size: 15px; font-weight: 600; letter-spacing: .04em; }
#footer .clinic-footer__location { margin-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.65; }
#footer .clinic-footer__clinics a:hover { color: var(--main); text-decoration: underline; text-underline-offset: 3px; }
#footer .clinic-footer__menus { display: grid; grid-column: span 3; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-content: start; min-width: 0; }
#footer .clinic-footer__menu-column { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
#footer .clinic-footer__heading { margin: 4px 0 18px; padding: 0 0 10px; border-bottom: 1px solid #aebfc0; color: var(--main); font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: .05em; }
#footer .clinic-footer__list { margin: 0; padding: 0; list-style: none; }
#footer .clinic-footer__list a { display: block; position: relative; padding: 7px 0 7px 15px; color: var(--text); font-size: 14px; line-height: 1.6; text-decoration: none; }
#footer .clinic-footer__list a::before { content: "›"; position: absolute; top: 7px; left: 1px; color: var(--main); font-weight: 700; }
#footer .clinic-footer__list a:hover { color: var(--main); text-decoration: underline; text-underline-offset: 3px; }
#footer .clinic-footer__contact { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 8px 20px; border: 1px solid var(--btn); border-radius: 4px; background: var(--btn); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .05em; text-decoration: none; transition: .2s; }
#wrapper #footer .clinic-footer__contact:hover { background: #fff; color: var(--btn); }
#footer .address { display: block; margin: 0; padding: 16px 20px; background: var(--btn); color: #fff; font-size: 12px; font-style: normal; line-height: 1.6; text-align: center; }

/* ---------- responsive ---------- */
@media screen and (max-width: 1050px) {
  .header-contact { gap: 12px; }
  .header-clinic-phones { gap: 2px 8px; }
  .header-clinic-phones span { font-size: 10px; }
  .header-clinic-phones strong { font-size: 12px; }
  .header-contact__label { min-width: 150px; font-size: 14px; padding-left: 14px; padding-right: 14px; }
}
@media screen and (max-width: 900px) {
  #footer .clinic-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 40px; padding-top: 40px; }
  #footer .clinic-footer__brand, #footer .clinic-footer__menus { grid-column: 1 / -1; }
  .hero-slider__caption { padding: 10px 60px; }
  .hero-slider__title { font-size: 22px; }
}
@media screen and (max-width: 800px) {
  #contents { padding-inline: 20px; }
  .pagetop a { right: 20px; bottom: 30px; width: 44px; height: 44px; }
}
@media screen and (max-width: 768px) {
  body.nav-fixed { padding-top: 0; }
  #header { padding: 10px 72px 0 10px; }
  .header__inner { min-height: 0; }
  .header__logo img { max-height: 90px; }
  .header-contact { display: none; }
  #gNav { display: none !important; }
  #mobile { display: block; position: fixed; top: calc(10px + var(--banner-h, 24px)); right: 10px; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 6px; background: var(--sub); color: #fff; cursor: pointer; z-index: 10001; font-family: inherit; }
  #mobile .mobile_menu__bars { display: block; width: 26px; margin: 6px auto 0; }
  #mobile .mobile_menu__bars i { display: block; height: 2px; margin: 5px 0; background: #fff; }
  #mobile .mobile_menu__text { display: block; margin-top: 1px; font-size: 10px; font-weight: 700; letter-spacing: 0; line-height: 1; }
  #mobile.side-open { opacity: 0; visibility: hidden; pointer-events: none; }
  #sidr { display: block; position: fixed; inset: 0; width: 100%; min-height: 100vh; padding: 68px 0 28px; overflow-y: auto; background: #fff; color: var(--text); opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(100%); transition: opacity .3s, transform .3s, visibility .3s; z-index: 10000; }
  #sidr.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); }
  #sidr p.close { position: absolute; top: 10px; right: 10px; margin: 0; z-index: 2; }
  #sidr p.close button { position: relative; display: block; width: 48px; height: 48px; border: 0; border-radius: 6px; background: var(--sub); cursor: pointer; }
  #sidr p.close button::before, #sidr p.close button::after { content: ""; position: absolute; top: 23px; left: 10px; width: 28px; height: 2px; background: #fff; }
  #sidr p.close button::before { transform: rotate(45deg); } #sidr p.close button::after { transform: rotate(-45deg); }
  #sidr .mobile-clinic-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 20px; padding: 8px 0; border-bottom: 1px solid var(--line); list-style: none; }
  #sidr .mobile-clinic-phones a { display: block; padding: 12px 10px; color: var(--text); font-size: 13px; line-height: 1.5; text-align: center; text-decoration: none; }
  #sidr .mobile-clinic-phones span, #sidr .mobile-clinic-phones strong { display: block; }
  #sidr .mobile-clinic-phones span { color: var(--main); font-size: 12px; font-weight: 600; }
  #sidr .mobile-clinic-phones strong { font-size: 14px; font-weight: 600; }
  #sidr #menu-main_menu { margin: 0; padding: 0 20px; list-style: none; }
  #sidr #menu-main_menu > li { position: relative; border-bottom: 1px solid var(--line); }
  #sidr #menu-main_menu li a, #sidr #menu-main_menu li button.accordion-elm { position: relative; display: block; width: 100%; padding: 18px 20px; color: var(--text); font-size: 16px; font-weight: 600; line-height: 1.5; text-decoration: none; }
  #sidr #menu-main_menu li.menu-item-has-children > button.accordion-elm { display: flex; justify-content: space-between; align-items: center; border: 0; background: none; font-family: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
  #sidr #menu-main_menu li.menu-item-has-children > button.accordion-elm::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid var(--main); border-bottom: 1.5px solid var(--main); transform: rotate(45deg); transition: .2s; }
  #sidr #menu-main_menu li.menu-item-has-children.is-open > button.accordion-elm::after { transform: rotate(-135deg); }
  #sidr #menu-main_menu > li .sub-menu { display: none; margin: 0 0 10px; padding: 0 20px; list-style: none; }
  #sidr #menu-main_menu > li.is-open .sub-menu { display: block; }
  #sidr #menu-main_menu > li .sub-menu li { border-bottom: 1px solid var(--line); }
  #sidr #menu-main_menu > li .sub-menu li:last-child { border-bottom: 0; }
  #sidr #menu-main_menu > li .sub-menu a { padding: 12px 10px; font-weight: 500; }
  #sidr .mobile-contact-menu-item { padding: 20px; margin: 0; }
  #sidr .mobile-contact-menu-item a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid var(--main); border-radius: 4px; color: var(--main); font-size: 16px; font-weight: 600; text-decoration: none; }
  body.menu-open { overflow: hidden; }
  .hero-slider { aspect-ratio: auto; }
  .hero-slider__slide { position: relative; display: none; opacity: 1; }
  .hero-slider__slide.is-active { display: block; }
  .hero-slider__slide img { aspect-ratio: 4 / 3; }
  .hero-slider__caption { position: static; padding: 16px 20px 6px; text-shadow: none; }
  .hero-slider__title { font-size: 18px; }
  .hero-slider__desc { font-size: 14px; }
  .hero-slider__nav { display: none; }
  .hero-slider__dots { position: static; padding: 6px 0 14px; }
}
@media screen and (max-width: 600px) {
  #main article h2 { padding-left: 0; background: none; font-size: 26px; text-align: center; margin-bottom: 1em; }
  #main article h3 { font-size: 22px; }
  #main article h4 { font-size: 19px; }
  #footer .clinic-footer__inner { grid-template-columns: 1fr; gap: 30px; padding: 36px 5% 34px; }
  #footer .clinic-footer__brand, #footer .clinic-footer__menus { grid-column: auto; }
  #footer .clinic-footer__clinics, #footer .clinic-footer__menus { grid-template-columns: 1fr; }
  .wv-form { padding: 24px 18px; }
  .wv-form__row { grid-template-columns: 1fr; gap: 6px; padding: 12px 0; }
  .wv-form__label { padding-top: 0; }
  .news-list__date { min-width: 0; }
  .news-post__body { padding: 22px 18px; }
}
@media print { #test-banner, #mobile, #sidr, .pagetop, .hero-slider__nav, .hero-slider__dots { display: none !important; } }

/* ---------- 修正依頼リスト対応（261025） ---------- */
/* No.68 文字の色：本文・リンク・ボタンの文字はブランド色より濃い同系色（4.5:1 以上）。ロゴ・飾りの線はそのまま */
:root { --main-text: #526C6E; }
a, #wrapper a { color: var(--main-text); }
.header-clinic-phones span, .header-contact__label, .header-clinic-phones a:hover, #gNav #nav > li > a:hover, #gNav #nav > li:hover > button, #gNav #nav > li > a[aria-current="page"], #gNav #nav > li.is-current > button, #gNav #nav .sub-menu > li > a:hover,
.news-list__category, .news-list__more a, .wv-button, .news-list__title a:hover, #footer .clinic-footer__clinics dt, #footer .clinic-footer__heading, #footer .clinic-footer__list a::before, #footer .clinic-footer__clinics a:hover, #footer .clinic-footer__list a:hover,
.contact-guide__tel span, .contact-guide__links li a, #sidr .mobile-clinic-phones span, #sidr .mobile-contact-menu-item a, .hero-slider__caption { color: var(--main-text); }
.header-contact__label, .news-list__category, .news-list__more a, .wv-button, .contact-guide__links li a, #sidr .mobile-contact-menu-item a { border-color: var(--main-text); }
#wrapper .header-contact__label:hover, #wrapper .news-list__more a:hover, #wrapper .wv-button:hover, #wrapper .contact-guide__links li a:hover, #wrapper .header-contact__label:focus-visible { background: var(--main-text); color: #fff; }
.recruit-position__status { background: var(--main-text); }
/* No.68 最小 12px・押す場所は 44px 以上 */
.wv-form__req, .wv-form__opt { font-size: 12px; }
.header-clinic-phones span { font-size: 12px; }
#gNav #nav > li > a, #gNav #nav > li > button { min-height: 44px; }
#footer .clinic-footer__list a { min-height: 44px; display: flex; align-items: center; }
@media screen and (max-width: 1050px) { .header-clinic-phones span { font-size: 12px; } .header-clinic-phones strong { font-size: 13px; } }
@media screen and (max-width: 768px) { #mobile .mobile_menu__text { font-size: 12px; } }
/* No.76 ページの大見出しは h1（見た目は従来の h2 と同じ） */
#main article h1 { margin: 0 0 1.5em; padding-left: 50px; color: var(--text); font-size: 34px; font-weight: 500; line-height: 1.4; text-align: left; clear: both; background: url("/assets/img/header_icon.png") no-repeat left center / 32px 32px; }
@media screen and (max-width: 600px) { #main article h1 { padding-left: 0; background: none; font-size: 26px; text-align: center; margin-bottom: 1em; } }
/* No.55/16/69 電話ブロック（各ページの冒頭と末尾） */
.tel-block { margin: 0 0 32px; padding: 18px 20px; background: #fff; border: 1px solid #dfe6e6; border-radius: 6px; }
.tel-block--bottom { margin: 40px 0 10px; }
.tel-block__lead { margin: 0 0 10px; font-size: 15px; }
#main article .tel-block__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
#main article .tel-block__list li { list-style: none; margin: 0; padding: 0; }
.tel-block__item a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 14px; border: 1px solid var(--main-text); border-radius: 4px; background: #fff; color: var(--text); text-decoration: none; transition: .2s; }
#wrapper .tel-block__item a:hover, #wrapper .tel-block__item a:focus-visible { background: var(--main-text); color: #fff; }
#wrapper .tel-block__item a:hover .tel-block__name, #wrapper .tel-block__item a:focus-visible .tel-block__name { color: #fff; }
.tel-block__name { color: var(--main-text); font-size: 12px; font-weight: 600; line-height: 1.4; }
.tel-block__number { font-size: 19px; font-weight: 600; letter-spacing: .04em; line-height: 1.3; }
.tel-block__number::before { content: "☎ "; font-size: 15px; }
.tel-block__note { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.tel-block__note strong { color: var(--text); }
.next-links { margin: 28px 0 0; padding: 0 0 0 1.2em; }
.next-links__title { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
#main article .next-links ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
#main article .next-links li { list-style: none; margin: 0; }
.next-links li a { display: inline-flex; align-items: center; min-height: 44px; }
.next-links li a::before { content: "›"; margin-right: 6px; color: var(--main-text); font-weight: 700; }
/* No.26 実際の撮影でない画像の注記（本文と同じ大きさ） */
.img-note { margin: 6px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; text-align: left; }
figure .img-note { padding: 6px 8px 0; }
.hero-slider__note { position: absolute; left: 0; bottom: 0; z-index: 4; margin: 0; padding: 4px 12px; background: rgba(255,255,255,.85); color: var(--text); font-size: 16px; line-height: 1.5; }
.hero-slider__link { display: block; color: inherit; text-decoration: none; }
.hero-slider__link:hover .hero-slider__title { text-decoration: underline; text-underline-offset: 4px; }
@media screen and (max-width: 768px) { .hero-slider__note { position: static; background: none; padding: 0 20px; font-size: 14px; } }
/* フォーム：利用目的・注意書き（No.9/No.74） */
.wv-form__purpose { margin: 0 0 12px; padding: 12px 14px; background: #f5f8f8; border-radius: 4px; font-size: 15px; line-height: 1.7; text-align: left; }
.wv-form__caution { padding: 10px 14px; border-left: 4px solid var(--main-text); background: #f5f8f8; font-size: 15px; }
.wv-form__req--either { background: #c98a3a; }
.thanks-box__guide a { font-weight: 600; }
.recruitment-page__job-closed { margin: 4px 0 12px; padding: 6px 10px; background: #f3f3f1; color: var(--muted); font-size: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- AI7役レビュー（261025）対応 ---------- */
/* A-02 ラジオ・チェック群は fieldset/legend（見た目は従来の行と同じ） */
.wv-form fieldset.wv-form__row { border: 0; margin: 0; min-width: 0; }
.wv-form fieldset.wv-form__row legend { display: contents; }
.wv-form fieldset.wv-form__row > .wv-form__label { padding-top: 0; }
.wv-form__choices label { min-height: 44px; display: inline-flex; align-items: center; }
.wv-form__choices.is-invalid { outline: 2px solid #c9655a; outline-offset: 4px; border-radius: 4px; }
/* A-09 在宅看護師の節（折りたたみ） */
.recruitment-page__job-closed-box { margin: 10px 0 0; }
.recruitment-page__job-closed-box summary { cursor: pointer; font-weight: 600; padding: 12px 0; min-height: 44px; color: var(--muted); }
.recruitment-page__job-closed-box[open] summary { margin-bottom: 10px; }
/* B-06 冒頭の要約 */
#main article .page-summary { margin: 0 0 1.5em; font-size: 16px; line-height: 1.9; }
#main .page-summary { margin: 0 0 1.5em; font-size: 16px; line-height: 1.9; }
/* B-09 ページ内目次とアンカー位置 */
:target { scroll-margin-top: 90px; }
.page-jump { margin: -14px 0 28px; }
/* B-10 繰り上げた見出しの見た目は従来どおり */
#main article h2.h-sec { margin: 2em 0 1em; padding: 10px 0; background: none; color: var(--text); font-size: 26px; font-weight: 500; line-height: 1.4; text-align: left; }
#main article h3.h-sub { margin: 2em 0 1em; padding: 0; color: var(--sub); font-size: 24px; font-weight: 500; line-height: 1.4; }
#main article h4.h-min { position: relative; margin: 1.5em 0 .7em; color: var(--text); font-size: 20px; font-weight: 500; line-height: 1.4; }
#main article h4.h-min::before { content: ""; display: inline-block; width: .5em; height: .5em; margin: 0 .5em .1em 0; background: var(--sub); }
@media screen and (max-width: 600px) { #main article h2.h-sec { font-size: 22px; text-align: left; } #main article h3.h-sub { font-size: 19px; } }
/* B-13 バッジ・脚注のコントラスト */
.wv-form__req { background: #b04a3f; }
.wv-form__opt, .recruit-position__status--closed { background: #5c6a6b; }
.wv-form__req--either { background: #8a5a1a; }
#footer .clinic-footer__location { color: #5d6869; }
/* C-04 スライダーのドットのタップ領域 */
.hero-slider__dots button { position: relative; }
.hero-slider__dots button::before { content: ""; position: absolute; inset: -17px; }
/* C-06 トップの募集職種1行 */
.recruitment-top__positions { margin: 0 0 14px; font-weight: 600; }
/* お問い合わせページの電話一覧・リンク一覧の点を消す（本文の ul ルールより強く） */
#main article .contact-guide__tel, #main article .contact-guide__links { list-style: none; margin-left: 0; padding-left: 0; }
#main article .contact-guide__tel li, #main article .contact-guide__links li { list-style: none; margin: 0; }
#main article .contact-guide__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* 3院の比較表 */
#main article .clinics-compare { width: 100%; min-width: 640px; font-size: 15px; }
#main article .clinics-compare th[scope="row"] { background: #f5f8f8; text-align: left; white-space: nowrap; }
#main article .clinics-compare thead th { background: var(--navy, #0F2238); color: #fff; }
