@charset "UTF-8";

:root {
  --base-bg: #ffffff;
  --text-color: #464040;
  --line-color: #d1d1d1;
  --accent: #b45b97;
  --accent-light: #b8a4dd;
  --accent-dark: #7c5aa8;
  --header-max-width: 1900px;
  --content-max-width: 1200px;
  --content-padding: 40px;
  --transition: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-color);
  background: var(--base-bg);
  font-family: "Zen Kaku Gothic New", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

a {
  color: #684f9c;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #b34f8c;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.font-b{ font-weight: bold;}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

.font-hiragino {
  font-family: "Klee One", cursive;
}

.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header__inner {
  max-width: var(--header-max-width);
  margin: 0 auto;
  padding: 24px var(--content-padding) 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  margin: 0;
  flex: 0 0 min(16vw, 240px);
}

.site-logo img {
  width: 100%;
}

.site-header__right {
  flex: 1 1 auto;
  min-width: 0;
}

.site-header__topline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: #4b4b4b;
  font-family: "hiragino-kaku-gothic-pron", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
}

.site-header__address,
.site-header__tel {
  margin: 0;
  white-space: nowrap;
}

.access-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 5px 18px;
  border: 1px solid #d8d0de;
  color: #5c5770;
  font-size: 0.95rem;
  background: #fff;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.access-button:hover {
  background-color: #f3efff;
  color: #5c5770;
}

.access-button img {
  width: 18px;
  flex: 0 0 auto;
}

.global-nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.global-nav li {
  position: relative;
}

.global-nav li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 30px;
  background: #d7d7d7;
  transform: translateY(-50%);
}

.global-nav a {
  display: block;
  padding: 0 20px;
  color: #403f40;
  font-size: 1rem;
  line-height: 1.4;
  white-space: nowrap;
  transition: color var(--transition);
}

.global-nav a:hover {
  color: #8c80d9;
}

.hero {
  width: 100%;
}

.hero img {
  width: 100%;
  object-fit: cover;
  max-height: 580px;
}

.content-wrap {
  max-width: calc(var(--content-max-width) + (var(--content-padding) * 2));
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

.top-menu {
  padding: 70px 0 58px;
}

.top-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: stretch;
}

.top-menu__item {
  display: flex;
  flex-direction: column;
  align-items: center;
/*  text-align: right;*/
  padding: 0 16px;
  color: var(--text-color);
  transition: opacity var(--transition);
  height: 100%;
}

.top-menu__icon {
  display: flex;
  align-items: center;
  justify-content: center;
/*  height: 120px;
  margin-bottom: 18px;*/
  transition: transform var(--transition);
}

.top-menu__icon img {
  max-height: 92px;
  width: auto;
}

.top-menu__item h2 {
  margin: 0 0 12px;
  color: #5c5556;
  font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: clamp(1.6rem, 1.3vw, 2rem);
  font-weight: 400;
  line-height: 1.45;
  transition: transform var(--transition), color var(--transition);
  min-height: 3.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}
/*
.top-menu__item a:hover h2 {
	color: #b8a4dd;
}*/

.top-menu__item p {
  margin: 0;
  color: var(--accent);
  font-size: 0.98rem;
  line-height: 1.6;
  transition: transform var(--transition), color var(--transition);
  min-height: 3.2em;
  margin-bottom: 20px;
}

.top-menu__line {
  width: 100%;
  height: 1px;
  background: var(--line-color);
  margin-top: auto;
  transition: transform var(--transition);
}

.top-menu__arrow {
  width: 0;
  height: 0;
  margin-top: 14px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 10px solid #c7b7e7;
  transition: transform var(--transition);
}

.top-menu__item:hover {
  opacity: 0.8;
}

.top-menu__item:hover .top-menu__icon,
.top-menu__item:hover h2,
.top-menu__item:hover p,
.top-menu__item:hover .top-menu__line,
.top-menu__item:hover .top-menu__arrow {
  transform: translateY(6px);
}

.info-access {
  padding: 24px 0 110px;
}

.info-access__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 64px;
  align-items: start;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  color: #5f5a5a;
  font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
}

.section-title img {
  width: 23px;
  flex: 0 0 auto;
}

.reception__text {
/*  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;*/
}

.reception__text p {
  margin: 0 0 10px;
  font-size: 1.15rem;
  color: #4c4747;
}
  .reception__text p.font-num {
    font-family: "hiragino-kaku-gothic-pron", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
  }

.reception__text p.font-num.ampm {
  padding-left: 2.5em;   /* 「平日：」の幅分だけ余白 */
  text-indent: -2.5em;   /* 1行目だけ左に戻す */
}
span.time_head {
  margin-left: 0.8em; 
}

.reception__text p.font-num.mar-bm {
  margin: 0 0 15px;
}
.reception__note {
  margin-top: 20px;
  color: #c04444 !important;
  font-size: 1rem !important;
  font-weight: bold;
}

.reception__link {
  margin-top: 8px !important;
  color: #59588e;
  font-size: 0.98rem !important;
}

.pdf-button-wrap {
  margin: 30px 0 0;
}

.pdf-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  border: 1px solid #cfc8d9;
  color: #8a78bb;
  background: transparent;
  font-size: 1.15rem;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.pdf-button:hover {
  background-color: #f3efff;
  color: #8a78bb;
}
.pdf-button::after {
  content: "›";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  line-height: 1;
}

.access-map img {
  width: 100%;
  margin: 
}

.access__link {
  margin: 18px 0 0;
  text-align: right;
  color: #5b59a0;
  font-size: 1rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: #fcf9f6;
}

.site-footer__bg {
  width: 100%;
  height: 100px;
  background: url("../img/bg_footer.webp") repeat-x center top;
  background-size: auto 100px;
}

.site-footer__bg img {
  display: none;
}

.site-footer__inner {
  max-width: calc(var(--content-max-width) + (var(--content-padding) * 2));
  margin: 0 auto;
  padding: 54px var(--content-padding) 24px;
  background: #fcf9f6;
}

.site-footer__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding-bottom: 36px;
  border-bottom: 1px solid #cfcfcf;
	font-family:  "hiragino-kaku-gothic-pron", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
}

.site-footer__logo img {
  width: 328px;
}

.site-footer__address {
  font-size: 1.08rem;
  line-height: 1.6;
  text-align: right;
}

.site-footer__tel a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
}

.site-footer__tel img {
  width: 29px;
}

.site-footer__tel span {
/*  font-size: clamp(1.7rem, 2.4vw, 3rem);*/
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.site-footer__tel small {
  /*color: #9b7fa9;*/
  font-size: 0.9rem;
  font-weight: 700;
  align-self: flex-end;
  padding-bottom: 6px;
}

.site-footer__copyright {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: #4b4b4b;
}

@media (max-width: 1200px) {
  :root {
    --content-padding: 24px;
  }

  .site-header__inner {
    padding-top: 18px;
  }

  .site-logo img {
    width: min(18vw, 220px);
  }

  .site-header__topline {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-bottom: 18px;
  }

  .global-nav a {
    padding: 0 18px;
    font-size: 0.93rem;
  }

  .top-menu__grid {
    gap: 20px;
  }

  .top-menu__item h2 {
/*    font-size: 1.75rem;*/
  }

  .info-access__grid {
    gap: 36px;
    grid-template-columns: 1fr 0.9fr;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .site-header {
    position: sticky;
  }

  .site-header__inner {
    position: relative;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 10px 12px;
  }

  .site-logo img {
    width: 44vw;
    max-width: 150px;
  }

  .site-header__right {
    padding-top: 0;
/*    padding-right: 62px;*/
    padding-right: 0;
  }

  .site-header__topline {
    display: inherit;
    justify-content: flex-end;
    gap: 8px 12px;
    margin:50px 0 0;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .site-header__address,
  .site-header__tel {
    white-space: normal;
    text-align: right;
  }

  .access-button {
    position: absolute;
    top: 18px;
    right: 70px;
    min-height: 32px;
    padding: 5px 8px;
    font-size: 0.8rem;
    gap: 8px;
  }

  .access-button img {
    width: 15px;
  }

  .menu-button {
    position: absolute;
    top: 14px;
    right: 10px;
    width: 42px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    position: absolute;
    left: 6px;
    width: 30px;
    height: 4px;
    background: #8d7eb1;
    transition: transform var(--transition), opacity var(--transition), top var(--transition);
  }

  .menu-button span:nth-child(1) { top: 8px; }
  .menu-button span:nth-child(2) { top: 17px; }
  .menu-button span:nth-child(3) { top: 26px; }

  .menu-button.is-open span:nth-child(1) {
    top: 17px;
    transform: rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    top: 17px;
    transform: rotate(-45deg);
  }

  .sp-nav {
    border-top: 1px solid #e7e1ec;
    border-bottom: 1px solid #e7e1ec;
    background: #fff;
  }

  .sp-nav[hidden] {
    display: none;
  }

  .sp-nav ul {
    padding: 10px 0;
  }

  .sp-nav li + li {
    border-top: 1px solid #f0edf3;
  }

  .sp-nav a {
    display: block;
    padding: 15px 16px;
    font-size: 1rem;
    color: #4b4848;
  }

  .content-wrap {
    padding: 0 25px;
  }

  .top-menu {
    padding: 40px 0 18px;
  }

  .top-menu__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 24px;
  }

  .top-menu__item {
    padding: 0;
/*    margin-bottom: 20px;*/
  }

  .top-menu__icon {
    height: 88px;
    margin-bottom: 14px;
  }

  .top-menu__icon img {
    max-height: none;
  }

  .top-menu__item h2 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    line-height: 1.2;
    min-height: 2.2em;
    padding: 0 10px;
  }

  .top-menu__item p {
/*    min-height: 56px;*/
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0px;
    padding: 0 10px;
  }

  .top-menu__line {
    margin-top: 14px;
  }

  .top-menu__arrow {
    margin-top: 10px;
    border-left-width: 12px;
    border-right-width: 12px;
    border-top-width: 8px;
  }

  .info-access {
    padding: 18px 0 64px;
  }

  .info-access__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-title {
    margin-bottom: 10px;
    font-size: 1.55rem;
    gap: 10px;
  }

  .site-footer__bg {
    height: 92px;
    background-size: auto 92px;
  }

  .section-title img {
    width: 20px;
  }

  .reception__text p {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .reception__note {
    margin-top: 12px;
    font-size: 0.92rem !important;
    line-height: 1.7;
  }

  .reception__link {
    font-size: 0.92rem !important;
  }

  .pdf-button-wrap {
    margin-top: 20px;
  }

  .pdf-button {
    min-height: 48px;
    padding: 10px 44px 10px 16px;
    font-size: 0.98rem;
    text-align: center;
  }

  .pdf-button::after {
    right: 14px;
    font-size: 1.6rem;
  }

  .access__link {
    margin-top: 12px;
    font-size: 0.95rem;
  }

  .site-footer__inner {
    padding: 30px 16px 18px;
  }

  .site-footer__main {
    gap: 18px;
    padding-bottom: 22px;
  }

  .site-footer__logo img {
    width: 210px;
  }

  .site-footer__address {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .site-footer__tel img {
    width: 21px;
  }

  .site-footer__tel span {
    font-size: 1.75rem;
  }

  .site-footer__tel small {
    font-size: 0.76rem;
    padding-bottom: 3px;
  }

  .site-footer__copyright {
    margin-top: 16px;
    font-size: 0.66rem;
  }
}
/*
.top-menu__item:hover h2,
.top-menu__item:hover p {
  color: inherit;
}*/
.top-menu__item:hover h2,
.top-menu__item:hover p {
/*  color: #684f9c !important;*/
  color: #b8a4dd !important;
}

@media (max-width: 1400px) {
  .site-header__inner {
    gap: 18px;
  }

  .site-header__topline {
    gap: 14px;
    font-size: 0.75rem;
  }

  .global-nav a {
    padding: 0 14px;
    font-size: 0.92rem;
  }
}
/* =====================
   下層ページ：外来受診される方
===================== */

.lower-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #f8f8f8;
}

.lower-hero img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  object-position: center center;
}

.lower-hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  max-width: calc(var(--content-max-width) + (var(--content-padding) * 2));
  margin: 0 auto;
  padding: 0 var(--content-padding);
  left: 0;
  right: 0;
}

.lower-hero h1 {
  margin: 0;
  color: #4c4747;
  font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: clamp(2rem, 2.4vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.lower-wrap {
  max-width: calc(var(--content-max-width) + (var(--content-padding) * 2));
  margin: 0 auto;
  padding: 28px var(--content-padding) 112px;
}

.breadcrumb {
  margin-bottom: 56px;
  color: #4d4848;
  font-size: 0.86rem;
  font-family: "hiragino-kaku-gothic-pron", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: ">";
  margin-right: 7px;
  color: #777;
}

.breadcrumb a {
  color: #4d4848;
}

.lower-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 76px;
  align-items: start;
}

.lower-content {
  min-width: 0;
}

.lower-title {
  margin: 0 0 24px;
  color: #4c4747;
  font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.55rem;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.lower-content p {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.9;
}

.lower-lead {
  margin-bottom: 2px !important;
}

.symptom-chart {
  margin: 50px 0 0;
}

.symptom-chart img {
  width: 100%;
  max-width: 760px;
}

.lower-side {
  width: 100%;
}

.side-accordion-check,
.side-accordion-label {
  display: none;
}

.side-menu-box {
  margin: 0 0 1px;
  border: 1px solid #d4d4d4;
  background: #fff;
}

.side-menu-box + .side-menu-box {
  margin-top: 0;
}

.side-menu-title {
  position: relative;
  margin: 0;
  padding: 15px 18px 15px 32px;
  color: #4d4848;
  font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.08rem;
  line-height: 1.5;
  border-bottom: 1px solid #d4d4d4;
}

.side-menu-title::before,
.side-menu-box--single .side-menu-list > li > a::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 4px;
  height: 34px;
  background: #9b8ad2;
  border-radius: 4px;
  transform: translateY(-50%);
}

.side-menu-list li + li {
  border-top: 1px solid #e9e9e9;
}

.side-menu-list a {
  position: relative;
  display: block;
  padding: 12px 34px 12px 22px;
  color: #4d4848;
  font-size: 0.98rem;
  line-height: 1.45;
  background: #fff;
  transition: background-color var(--transition), color var(--transition);
}

.side-menu-list a::after {
  content: "≫";
  position: absolute;
  right: 16px;
  top: 50%;
  color: #b8a4dd;
  font-size: 0.7rem;
  font-weight: bold;
  line-height: 1;
  transform: translateY(-50%);
}

.side-menu-list a:hover,
.side-menu-list a.is-current {
  color: #684f9c;
  background: #f3efff;
}

.side-menu-box--single {
  border: 0;
  background: transparent;
}

.side-menu-box--single .side-menu-list li {
  margin-top: 1px;
  border: 1px solid #d4d4d4;
  background: #fff;
}

.side-menu-box--single .side-menu-list li + li {
  border-top: 1px solid #d4d4d4;
}

.side-menu-box--single .side-menu-list a {
  padding: 15px 34px 15px 32px;
  font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.08rem;
}

@media (max-width: 768px) {
  .lower-hero img {
    height: 150px;
    object-position: center center;
  }

  .lower-hero__inner {
    padding: 0 25px;
  }

  .lower-hero h1 {
    font-size: 1.65rem;
    letter-spacing: 0.05em;
  -webkit-text-stroke: 3.5px #fff;
  text-shadow: 0 0 8px rgba(255,255,255,0.8);
  paint-order: stroke;
  }

  .lower-wrap {
    padding: 22px 25px 66px;
  }

  .breadcrumb {
    margin-bottom: 34px;
    font-size: 0.78rem;
    line-height: 1.6;
  }

  .lower-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .lower-content {
    order: 1;
  }

  .lower-side {
    order: 2;
  }

  .lower-title {
    margin-bottom: 18px;
    font-size: 1.32rem;
    line-height: 1.55;
  }

  .lower-content p {
    font-size: 0.94rem;
    line-height: 1.85;
  }

  .symptom-chart {
    margin-top: 30px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .symptom-chart img {
 /*   width: 720px;*/
    max-width: none;
  }

  .side-accordion-label {
    position: relative;
    display: block;
    width: 100%;
    padding: 14px 48px 14px 18px;
    color: #684f9c;
    font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: 1.05rem;
    line-height: 1.5;
    border: 1px solid #d6cdea;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
  }

  .side-accordion-label::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #8c80d9;
    border-bottom: 2px solid #8c80d9;
    transform: translateY(-65%) rotate(45deg);
    transition: transform var(--transition);
  }

  .side-menu-wrap {
    display: none;
    margin-top: 10px;
  }

  .side-accordion-check:checked + .side-accordion-label {
    background: #f7f3fb;
    border-radius: 4px 4px 0 0;
  }

  .side-accordion-check:checked + .side-accordion-label::after {
    transform: translateY(-30%) rotate(-135deg);
  }

  .side-accordion-check:checked ~ .side-menu-wrap {
    display: block;
  }

  .side-menu-box {
    border-color: #d6cdea;
  }

  .side-menu-title {
    display: none;
  }

  .side-menu-list a,
  .side-menu-box--single .side-menu-list a {
    padding: 13px 38px 13px 16px;
    font-family: "Zen Kaku Gothic New", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 0.92rem;
  }

  .side-menu-box--single .side-menu-list a::before {
    display: none;
  }
}

/* =====================
   下層ページ：外来TOP
===================== */
.outpatient-top-wrap {
  padding-bottom: 120px;
}

.outpatient-top-layout {
  gap: 62px;
}

.outpatient-top-content {
  padding-top: 2px;
}

.outpatient-section-title {
  color: #b45b97;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  font-weight: bold;
}

.first-visit {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 38%);
  gap: clamp(28px, 4.8vw, 58px);
  align-items: start;
  margin-bottom: 58px;
}
.first-department {
  display: block;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 38%);
  gap: clamp(28px, 4.8vw, 58px);
  align-items: start;
  margin-bottom: 58px;
}

.first-visit__text p {
  line-height: 2.05;
}

.first-visit__image {
  margin: 0;
  padding-top: 32px;
}

.first-visit__image img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.outpatient-link-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin: 0 0 72px;
}

.outpatient-link-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 74px;
  padding: 0 5px 10px;
  color: #4c4747;
  font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.15rem;
  font-weight: bold;
  line-height: 1.35;
  border-bottom: 1px solid #bcbcbc;
}

.outpatient-link-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 9px solid #c9c0e6;
  transform: translateX(-50%);
  transition: transform var(--transition);
}

.outpatient-link-nav a:hover {
  color: #8c80d9;
}

.outpatient-link-nav a:hover::after {
  transform: translate(-50%, 4px);
}

.outpatient-link-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.outpatient-link-nav__icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.flow-section {
  margin-top: 0;
}

.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-item {
  position: relative;
  margin: 0 0 58px;
  border: 1px solid #d5d5d5;
  background: #fff;
}

.flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -35px;
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 14px solid #f3dbe7;
  transform: translateX(-50%);
}

.flow-item__head {
  display: grid;
  grid-template-columns: 54px 1fr;
  min-height: 52px;
  border-bottom: 1px solid #d5d5d5;
}

.flow-item__num {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #e7bdd1;
  font-size: 1.25rem;
  font-weight: 700;
}

.flow-item__head h3 {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 10px 24px;
  color: #4c4747;
  font-size: 1rem;
  font-weight: 700;
}

.flow-item__body {
  padding: 24px 28px 25px;
}

.flow-item__body p {
  margin: 0 0 8px;
  font-size: 0.96rem;
  line-height: 1.9;
}

.flow-item__body p:last-child {
  margin-bottom: 0;
}

.outpatient-link-nav--bottom {
  margin: 76px 0 0;
}


@media (max-width: 980px) and (min-width: 769px) {
  .first-visit {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 36%);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .outpatient-top-wrap {
    padding-bottom: 70px;
  }

  .outpatient-top-content {
    padding-top: 0;
  }

  .outpatient-section-title {
    font-size: 1.22rem;
  }

  .first-visit {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 42px;
  }

  .first-visit__image {
    padding-top: 0;
  }

  .first-visit__image img {
    width: min(100%, 360px);
    max-width: 100%;
    margin: 0 auto;
  }

  .outpatient-link-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 52px;
  }

  .outpatient-link-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    min-height: 88px;
    padding: 0 2px 10px;
    font-size: 1.0rem;
    line-height: 1.35;
    text-align: center;
  }

  .outpatient-link-nav__icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .outpatient-link-nav__icon img {
    width: 38px;
    height: 38px;
  }

  .outpatient-link-nav a::after {
    bottom: -15px;
    border-left-width: 11px;
    border-right-width: 11px;
    border-top-width: 8px;
  }

  .flow-item {
    margin-bottom: 46px;
  }

  .flow-item:not(:last-child)::after {
    bottom: -28px;
    border-left-width: 20px;
    border-right-width: 20px;
    border-top-width: 12px;
  }

  .flow-item__head {
    grid-template-columns: 46px 1fr;
  }

  .flow-item__head h3 {
    padding: 10px 16px;
  }

  .flow-item__body {
    padding: 18px 16px 20px;
  }

  .flow-item__body p {
    font-size: 0.9rem;
  }

  .outpatient-link-nav--bottom {
    margin-top: 54px;
  }
}

/* =====================
   ページトップボタン
===================== */

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  background: #b8a4dd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 表示状態 */
.page-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 矢印 */
.page-top__arrow {
  width: 14px;
  height: 14px;
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
  transform: rotate(45deg);
  margin-top: 6px;
}

/* hover */
.page-top:hover {
  background: #8c80d9;
  transform: translateY(-4px);
}

/* SP */
@media (max-width: 768px) {
  .page-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}
/* =====================
   下層ページ：受付・救急・フロアマップ
===================== */
.reception-wrap {
  padding-bottom: 102px;
}

.reception-content {
  padding-top: 0;
}

.reception-main-title {
  margin-bottom: 18px;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 0 0 58px;
  font-size: 0.94rem;
  font-family: "hiragino-kaku-gothic-pron", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
}

.anchor-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4c4747;
}

.anchor-nav a:hover {
  color: #8c80d9;
}

.anchor-nav img {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}
.link-ex img {
  width: 16px;
  height: 16px;
	margin: 0 0 -3px 5px; 
	display: inline-block;
}

.reception-section {
  margin: 0 0 68px;
}

.reception-section-title {
  margin: 0 0 24px;
  color: #b45b97;
  font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.time-table-wrap {
  margin: 0 0 30px;
  /*max-width: 700px;*/
}

.time-table {
  /*width: 100%;*/
  border-collapse: collapse;
  border: 1px solid #d3d3d3;
  color: #4c4747;
  font-family: "hiragino-kaku-gothic-pron", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
}

.time-table th,
.time-table td {
  border: 1px solid #d3d3d3;
  padding: 14px 24px;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
  vertical-align: middle;
}
.time-table td.holyday {
  text-align: center;
}

.time-table th {
  /*width: 210px;*/
  text-align: center;
  background: #e5dcee;
}

.time-table__label {
  width: 116px;
  text-align: center;
  background: #fbfbfb;
}
.time-table .font-s {
  font-size: 85%;
}

.reception-section p {
  line-height: 1.9;
}

.text-accent {
  color: #c04444;
  font-weight: 700;
}

.reception-note-lead {
  margin-top: 24px !important;
  font-weight: 700;
}

.emergency-list {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
  color: #4c4747;
  font-size: 0.94rem;
  line-height: 1.8;
}

.emergency-list li {
  position: relative;
  padding-left: 1em;
}

.emergency-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.emergency-contact {
  margin: 34px 0 0;
  padding: 24px 34px 26px;
  border: 1px solid #d8a7c4;
  border-radius: 8px;
  text-align: center;
  background: #fff;
}

.emergency-contact p {
  margin: 0 0 18px;
  font-size: 0.96rem;
}

.emergency-contact__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: "hiragino-kaku-gothic-pron", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
}

.emergency-contact__row span {
  font-size: 0.98rem;
}

.emergency-contact__row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b45b97;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.emergency-contact__row a:hover {
  color: #8c80d9;
}

.emergency-contact__row img {
  width: 25px;
  height: auto;
}

.emergency-contact__row small {
  font-size: 0.82rem;
  font-weight: 700;
  align-self: flex-end;
  padding-bottom: 4px;
}

.floor-map-section {
  margin-bottom: 0;
}

.floor-map {
  margin: 0 auto;
  max-width: 590px;
  text-align: center;
}

.floor-map a {
  display: block;
}

.floor-map > a img {
  width: 100%;
  margin: 0 auto;
}

.floor-map figcaption {
  margin-top: 18px;
  color: #4c4747;
  font-size: 0.92rem;
  text-align: center;
}

.side-menu-title a {
  color: inherit;
}

@media (max-width: 768px) {
  .reception-wrap {
    padding-bottom: 72px;
  }

  .reception-main-title {
    margin-bottom: 14px;
  }

  .anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 42px;
  }

  .anchor-nav a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.86rem;
    line-height: 1.5;
    white-space: nowrap;
  }

  .anchor-nav img {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
  }

  .reception-section {
    margin-bottom: 52px;
  }

  .reception-section-title {
    margin-bottom: 18px;
    font-size: 1.18rem;
  }

  .time-table-wrap {
    overflow-x: visible;
    margin-bottom: 22px;
  }

  .time-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .time-table th,
  .time-table td {
    padding: 10px 8px;
    font-size: 0.82rem;
    line-height: 1.45;
    word-break: keep-all;
  }

  .time-table th {
    width: 31%;
  }

  .time-table__label {
    width: 18%;
  }

  .reception-section p {
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .emergency-list {
    margin: 18px 0 24px;
    font-size: 0.88rem;
  }

  .emergency-contact {
    padding: 20px 14px 22px;
    border-radius: 6px;
  }

  .emergency-contact__row {
    gap: 12px;
  }

  .emergency-contact__row span {
    width: 100%;
    font-size: 0.84rem;
  }

  .emergency-contact__row a {
    font-size: 1.55rem;
  }

  .emergency-contact__row img {
    width: 20px;
  }

  .floor-map {
    max-width: 100%;
  }

  .floor-map figcaption {
    margin-top: 12px;
    font-size: 0.84rem;
  }
}

/* フロアマップ拡大リンク：虫眼鏡アイコン画像 */
.floor-map-caption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  text-align: center;
}

.floor-map-caption__icon {
  display: inline-block;
  width: 15px !important;
  height: 15px;
  margin: 0;
  object-fit: contain;
  flex: 0 0 15px;
}

@media (max-width: 768px) {
  .floor-map-caption {
    gap: 3px;
  }

  .floor-map-caption__icon {
    width: 14px !important;
    height: 14px;
    flex-basis: 14px;
  }
}

/* =====================
   下層ページ：患者サポート
===================== */
.support-content {
  padding-top: 0;
}

.support-main-title {
  margin-bottom: 22px;
}

.support-intro {
  margin-bottom: 34px;
}

.support-intro a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-section {
  margin: 0 0 68px;
}

.support-section-title {
  margin: 0 0 20px;
  color: #b45b97;
  font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.support-dot-list,
.support-plain-list {
  margin: 14px 0 20px;
  padding: 0;
  list-style: none;
  font-size: 0.96rem;
  line-height: 1.85;
}

.support-dot-list li,
.support-plain-list li {
  position: relative;
  padding-left: 1em;
}

.support-dot-list li::before,
.support-plain-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.support-note {
  margin-top: 18px !important;
  font-size: 0.94rem !important;
}

.content-image {
  margin: 45px auto 45px;
  max-width: 700px;
  text-align: center;
}
.access-section .content-image {
  max-width: 1000px;
  margin: 45px auto 10px;
}

.content-image img {
  width: 100%;
}

.support-contact-box {
  max-width: 800px;
  margin: 34px 0 0;
  padding: 24px 26px 26px;
  border: 1px solid #d8a7c4;
  border-radius: 7px;
  text-align: center;
  background: #fff;
  font-family: "hiragino-kaku-gothic-pron", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
}

.support-contact-box__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  color: #5b5555;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.25;
}

.support-contact-box__tel img {
  width: 24px;
  height: auto;
}

.support-contact-box__tel a,
.support-contact-box__tel span {
  color: #5b5555;
}

.support-contact-box p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.75;
}

.support-contact-box p:last-child {
  margin-bottom: 0;
}

.support-small-heading {
  margin-top: 22px !important;
  font-weight: 700;
}

.support-flow {
  margin-top: 46px;
}

.support-flow-title {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 13px;
  color: #b45b97;
  font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  border-bottom: 3px dotted #efd8e5;
}

.support-flow-list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 800px;
}

.support-flow-item {
  position: relative;
  margin: 0 0 58px;
  border: 1px solid #d5d5d5;
  background: #fff;
}

.support-flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 14px solid #d7d0ef;
  transform: translateX(-50%);
}

.support-flow-item__head {
  display: grid;
  grid-template-columns: 54px 1fr;
  min-height: 54px;
  border-bottom: 1px solid #d5d5d5;
}

.support-flow-item__num {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #b8a4dd;
  font-size: 1.25rem;
  font-weight: 700;
}

.support-flow-item__head h5 {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 10px 22px;
  color: #4c4747;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.support-flow-item__body {
  padding: 22px 26px 24px;
}

.support-flow-item__body p {
  margin: 0 0 8px;
  font-size: 0.94rem;
  line-height: 1.85;
}

.support-flow-item__body ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 28px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.75;
}

.support-flow-item__body li {
  position: relative;
  padding-left: 1em;
}

.support-flow-item__body li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.support-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #684f9c;
}

.support-pdf-link img {
  width: 18px;
  height: auto;
}

.support-note--bottom {
  margin: 22px 0 0 0 !important;
  padding-left: 0;
}

.support-contact-box--bottom {
  margin-top: 34px;
}

@media (max-width: 768px) {
  .support-section {
    margin-bottom: 52px;
  }

  .support-section-title {
    margin-bottom: 16px;
    font-size: 1.18rem;
  }

  .support-dot-list,
  .support-plain-list {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .support-note {
    font-size: 0.86rem !important;
  }

  .content-image {
    margin-top: 30px;
  }

  .support-contact-box {
    padding: 20px 14px 22px;
    border-radius: 6px;
  }

  .support-contact-box__tel {
    gap: 6px;
    font-size: 1.42rem;
  }

  .support-contact-box__tel img {
    width: 20px;
  }

  .support-contact-box p {
    font-size: 0.84rem;
    line-height: 1.75;
  }

  .support-flow {
    margin-top: 34px;
  }

  .support-flow-title {
    font-size: 1rem;
  }

  .support-flow-item {
    margin-bottom: 46px;
  }

  .support-flow-item:not(:last-child)::after {
    bottom: -28px;
    border-left-width: 20px;
    border-right-width: 20px;
    border-top-width: 12px;
  }

  .support-flow-item__head {
    grid-template-columns: 46px 1fr;
  }

  .support-flow-item__head h5 {
    padding: 10px 14px;
    font-size: 0.92rem;
  }

  .support-flow-item__body {
    padding: 18px 14px 20px;
  }

  .support-flow-item__body p {
    font-size: 0.88rem;
  }

  .support-flow-item__body ul {
    grid-template-columns: 1fr;
    gap: 0;
    font-size: 0.86rem;
  }
}



/* =====================
   下層ページ：交通アクセス
===================== */
.access-section .content-image {
  margin: 45px auto 14px;
}

.access-map-figure {
  position: relative;
}

.access-map-anchor {
  position: absolute;
  display: block;
  z-index: 2;
  border-radius: 6px;
}

.access-map-anchor:focus-visible {
  outline: 3px solid #b8a4dd;
  outline-offset: 2px;
}

.access-map-anchor--parking01 {
  left: 8%;
  bottom: 8%;
  width: 26%;
  height: 16%;
}

.access-map-anchor--parking02 {
  left: 40%;
  bottom: 28%;
  width: 12.5%;
  height: 9%;
}

.access-map-anchor--bicycle {
  right: 47%;
  top: 23%;
  width: 12%;
  height: 9%;
}

.access-address-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 12px 0 0 !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
}

.map-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
/*  padding: 2px 14px;
  border: 1px solid #d8a7c4;*/
  color: #684f9c;
  font-size: 0.9rem;
  line-height: 1.4;
  background: #fff;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.map-link-button:hover {
/*  border-color: #b8a4dd;
  background-color: #f7f3fb;
  color: #684f9c;*/
}

.map-link-button img {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.access-howto {
  margin-top: 34px;
}

.access-parking {
  margin-top: 46px;
  padding: 0;
/*  border: 1px solid #e8a1a8;*/
  background: #fff;
}

.access-parking__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 40%);
  gap: 34px;
  align-items: start;
  scroll-margin-top: 140px;
}

.access-parking__item + .access-parking__item {
  margin-top: 54px;
}

.access-parking__text .support-section-title {
  margin-bottom: 12px;
}

.access-parking__text p {
  margin: 0;
}

.access-parking__image {
  margin: 0;
  text-align: center;
}

.access-parking__image > a {
  display: block;
}

.access-parking__image img {
  width: 100%;
}

.access-parking__image figcaption {
  margin-top: 9px;
  text-align: center;
}

.zoom-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #684f9c;
  font-size: 0.86rem;
  line-height: 1.5;
}

.zoom-link img {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

@media (max-width: 768px) {
  .access-section .content-image {
    margin: 30px auto 12px;
  }

  .access-address-row {
    display: block;
    font-size: 0.92rem !important;
  }

  .map-link-button {
    margin-top: 8px;
    min-height: 30px;
    padding: 3px 12px;
    font-size: 0.84rem;
  }

  .access-parking {
    margin-top: 36px;
    padding: 0;
  }

  .access-parking__item {
    grid-template-columns: 1fr;
    gap: 16px;
    scroll-margin-top: 110px;
  }

  .access-parking__item + .access-parking__item {
    margin-top: 40px;
  }

  .access-parking__image {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* =====================
   画像拡大モーダル
===================== */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.image-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.image-modal__window {
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  max-height: 88vh;
  padding: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.image-modal__img {
  width: 100%;
  max-height: calc(88vh - 48px);
  object-fit: contain;
}

.image-modal__close {
  position: absolute;
  right: -14px;
  top: -14px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #8c80d9;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.image-modal__close:hover {
  background: #684f9c;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .image-modal {
    padding: 22px;
  }

  .image-modal__window {
    width: 94vw;
    padding: 14px;
  }

  .image-modal__img {
    max-height: calc(86vh - 28px);
  }

  .image-modal__close {
    right: -10px;
    top: -10px;
    width: 34px;
    height: 34px;
    font-size: 23px;
  }
}

/* =====================
   下層ページ：病院概要
===================== */
.guide-content {
  padding-top: 0;
}

.guide-section {
  margin: 0 0 64px;
}

.guide-section--last {
  margin-bottom: 0;
}

.guide-table-wrap{
  max-width: 760px;
  margin: 0;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  color: #4c4747;
  font-family: "hiragino-kaku-gothic-pron", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
  border-top: 1px solid #d7d7d7;
}

.guide-table th,
.guide-table td {
  border-bottom: 1px solid #d7d7d7;
  padding: 17px 24px;
  font-size: 1rem;
  line-height: 1.6;
  vertical-align: top;
}
.guide-table.price-list th,
.guide-table.price-list td {
  border-bottom: 1px solid #d7d7d7;
  padding: 8px 24px;
  font-size: 0.85rem;
  line-height: 1.6;
  vertical-align: middle;
}
.guide-table.price-list td:nth-child(2),
.guide-table.price-list td:nth-child(3){
  text-align: center;
}
.guide-table th {
  width: 170px;
  color: #4c4747;
  text-align: center;
  font-weight: 700;
  background: #f3efff;
}
.guide-table.price-list th {
  width: auto;
  color: #4c4747;
  text-align: center;
  font-weight: 700;
  background: #f3efff;
}
.guide-table-wrap .scroll-note{
  display:none;
}

.guide-table td {
  background: #fff;
}

.guide-table tr:nth-child(even) td {
  background: #fbfafc;
}

.guide-dot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 34px;
  max-width: 760px;
  margin: 0;
  padding: 24px 28px;
  list-style: none;
  border: 1px solid #d7d7d7;
  background: #fff;
  font-size: 0.95rem;
  line-height: 1.75;
}
.guide-poster-list {
  max-width: 760px;
  margin: 0;
  padding: 0 0;
  list-style: none;
  font-size: 0.95rem;
  line-height: 1.75;
}

.guide-dot-list li,
.guide-poster-list li{
  position: relative;
  padding-left: 1em;
}

.guide-dot-list li::before,
.guide-poster-list li::before{
  content: "・";
  position: absolute;
  left: 0;
  color: #b45b97;
}
.shihyo-wrap .shihyo-list{
	margin: 0 0;
}
.shihyo-wrap ol.shihyo-list{
	padding-inline-start: 25px;
}
.shihyo-wrap .shihyo-list li{
	list-style: decimal;
}
.shihyo-table {
  width: 100%;
  border-collapse: collapse;
  color: #4c4747;
  font-family: "hiragino-kaku-gothic-pron", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
  /*border: 1px solid #d7d7d7;*/
}
.shihyo-table th,
.shihyo-table td {
  border: 1px solid #d7d7d7;
  padding: 8px 24px;
  font-size: 0.85rem;
  line-height: 1.6;
  vertical-align: middle;
}
.shihyo-table th {
  width: auto;
  color: #4c4747;
  text-align: center;
  font-weight: 700;
  background: #f3efff;
}
.shihyo-comment {
  /*max-width: 760px;*/
  margin: 25px 0 0;
  padding: 20px 25px;
  border: 1px solid #d8a7c4;
  border-radius: 7px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.file-dl-button {
  position: relative;
  display: inline-block;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfc8d9;
  color: #8a78bb;
  background: transparent;
  font-size: 0.9rem;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  padding: 5px 30px 5px 10px;
  margin: 0 0 20px;
}
.file-dl-button:hover {
  background-color: #f3efff;
  color: #8a78bb;
}
.file-dl-button::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 48%;
  transform: translateY(-50%);
  font-size: 2rem;
  line-height: 1;
  width: 12px;
  height: 14px;

  background: url("../img/icon_dll_arrow.png") center center / contain no-repeat;
}

@media (max-width: 768px) {
  .guide-section {
    margin-bottom: 52px;
  }

  .guide-table-wrap {
/*    max-width: 100%;*/
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.guide-table-wrap .scroll-note{
	display:block;
    font-size:12px;
    margin-bottom:5px;
}
  .guide-table th,
  .guide-table td {
    padding: 12px 10px;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .guide-table th {
    width: 34%;
  }

  .guide-dot-list {
    grid-template-columns: 1fr;
    gap: 4px;
    max-width: 100%;
    padding: 18px 16px;
    font-size: 0.88rem;
    line-height: 1.7;
  }
.guide-table.price-list {
  min-width: 700px;
}
.guide-table.price-list td:nth-child(1){
  width: 45%;
}

  .shihyo-wrap {
/*    max-width: 100%;*/
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
}

/* =====================
   下層ページ：診療科・部門 一覧
===================== */
.department-wrap {
  padding-bottom: 112px;
}

.department-content {
  max-width: 1000px;
  margin: 0 auto;
}
.guide-shihyo-content {
/*  max-width: 1000px;*/
  margin: 0 auto;
}
/*
.department-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 72px;
  padding-bottom: 10px;
  color: #4c4747;
  font-family: "Klee One", serif;
  font-size: 1.6rem;
  font-weight: 400;
}

.department-title::before,
.department-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
}

.department-title::before {
  left: 50%;
  width: 100px;
  margin-left: -105px;
  background: #efc9d8;
}

.department-title::after {
  left: 50%;
  width: 100px;
  margin-left: px; 
  background: #cfcfcf;
}
.department-title img {
  width: 30px;
  height: auto;
  flex: 0 0 30px;
}
.department-title img.dicon {
  width: 40px;
  height: auto;
}
*/
.department-title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  
  margin: 0 0 50px;
  padding: 0 20px 12px;

  color: #4c4747;
  font-family: "Klee One", serif;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
}

.department-title::before,
.department-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 3px;
  width: calc(50% - 3px);
}

.department-title::before {
  left: 0;
  background: #efc9d8;
}

.department-title::after {
  right: 0;
  background: #cfcfcf;
}

.department-title img {
  width: 30px;
  height: auto;
  flex: 0 0 30px;
}

.department-title img.dicon {
  width: 40px;
  height: auto;
}

.department-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 62px 56px;
}
.dep_notice{
/*	font-size: 0.95rem;*/
	text-align: left;
	padding: 0 0 20px;
}
.department-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 10px 8px;
  color: #4c4747;
/*  font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;*/
  font-size: 1.18rem;
  font-weight: normal;
  line-height: 1.35;
  border-bottom: 1px solid #bcbcbc;
}
.department-card-nolink {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 10px 8px;
  color: #4c4747;
/*  font-family: "Klee One", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;*/
  font-size: 1.18rem;
  font-weight: normal;
  line-height: 1.35;
  border-bottom: 1px solid #bcbcbc;
}

.department-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 9px solid #d3c9ed;
  transform: translateX(-50%);
  transition: transform var(--transition), border-top-color var(--transition);
}

.department-card:hover {
  color: #8c80d9;
}

.department-card:hover::after {
  border-top-color: #b8a4dd;
  transform: translate(-50%, 4px);
}

.department-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.department-card__icon img {
  max-width: 46px;
  max-height: 46px;
  object-fit: contain;
}

.department-card__name {
  display: block;
}

.department-schedule {
  max-width: 590px;
  margin: 94px auto 0;
}

@media (max-width: 980px) and (min-width: 769px) {
  .department-content {
    max-width: 760px;
  }
  .guide-shihyo-content {
    max-width: 760px;
  }

  .department-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 54px 42px;
  }
}

@media (max-width: 768px) {
  .department-wrap {
    padding-bottom: 72px;
  }

  .department-title {
    margin-bottom: 42px;
    padding-bottom: 10px;
    font-size: 1.28rem;
  }

  .department-title img {
    width: 26px;
    flex-basis: 26px;
  }

  .department-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
  }

  .department-card {
    grid-template-columns: 36px 1fr;
    gap: 8px;
    min-height: 48px;
    padding: 0 2px 0 0;
    font-size: 0.98rem;
    line-height: 1.35;
	text-align: center;
  }

  .department-card::after {
    bottom: -13px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-top-width: 7px;
  }

  .department-card__icon {
    width: 36px;
    height: 36px;
  }

  .department-card__icon img {
    max-width: 34px;
    max-height: 34px;
  }

  .department-schedule {
    margin-top: 58px;
  }
}

/*-- 制作中アナウンス　--*/
.lower-content .under-construction {
  max-width: 840px;
  margin: 80px auto;
  padding: 0 20px;
}

.lower-content .under-construction__inner {
  padding: 40px 35px;
  text-align: center;
  background: #fff;
  border: 1px solid #eadfea;
  border-radius: 14px;
}

.lower-content p.under-construction__label {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 700;
  color: #8c80d9;
  letter-spacing: 0.08em;
}

.lower-content p.under-construction__label::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 18px auto 0;
  background: #f0a6c8;
  border-radius: 999px;
}

.lower-content .under-construction__text {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: #333;
}

@media screen and (max-width: 768px) {
.lower-content .under-construction {
    margin: 50px auto;
  	padding: 0 0;
  }

}