* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
}
a {
  text-decoration: none;
  color: inherit;
  letter-spacing: 1.2px;
}
li {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: 500;
}
h1,
h2,
h3,
h4,
h5,
p {
  letter-spacing: 1.2px;
}

/*header*/
header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 99;
  background-color: #fff;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: 0 auto;
  height: 120px;
}
.header-logo {
  background-color: #fff;
  border-radius: 0 0 1rem 0;
  display: flex;
  align-items: center;
}
.header-logo img {
  width: 450px;
}

.header-nav {
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  background-color: #fff;
  width: 100%;
}
.header-nav .main-menu {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  /* margin-top: 0.5rem; */
}
.header-nav .main-menu > li {
  position: relative;
}
.header-nav .main-menu > li + li {
  margin-left: 2.5rem;
}

.main-menu a {
  transition: 0.3s ease;
}
.main-menu > li.active > a {
  color: #005184;
}
.main-menu > li.active {
  position: relative;
}
.main-menu > li::after {
  content: "";
  width: 100%;
  height: 3px;
  background-color: #005184;
  position: absolute;
  bottom: -3px;
  left: 0;
  transform: scaleX(0);
  transition: 0.3s ease;
}
.main-menu > li.active::after {
  transform: scaleX(1);
}
.sub-menu a:hover {
  color: #005184;
}

.header-tel {
  background-color: #005184;
  display: flex;
  align-items: center;
  margin-left: auto;
  width: fit-content;
  font-size: 1.5rem;
  margin: 0.5rem 0;
  color: #fff;
  padding: 0.75rem 1.5rem 0.75rem 2rem;
  border-radius: 0.5rem;
}
.header-tel img {
  width: 17px;
  margin-right: 0.5rem;
}
.header-tel span {
  font-size: 0.9rem;
  font-weight: normal;
}
.sub-menu {
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 1000px;
  background-color: #fff;
  padding: 3rem;
  border-radius: 0 0 1rem 1rem;
  display: none;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15),
    /* 下側に影 */ 2px 0 4px rgba(0, 0, 0, 0.1),
    /* 右側に影 */ -2px 0 4px rgba(0, 0, 0, 0.1); /* 左側に影 */
}
.sub-menu-title {
  font-weight: bold;
  font-size: 1.5rem;
  border-bottom: 2px solid #005184;
  padding: 0.5rem 0;
}
.sub-menu > ul {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.sub-menu a,
.sub-menu p {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.sub-menu > ul > li {
  width: 48%;
  border-bottom: 2px dotted #959595;
}
.sub-menu > ul > li > a,
.sub-menu > ul > li > p {
  padding: 1rem 0;
}
.sub-menu img {
  display: block;
  width: 20px;
  margin-right: 1rem;
}
.sub-next-menu {
  font-size: 1rem;
  padding-left: 3rem;
}
.sub-next-menu a {
  display: flex;
  align-items: flex-start;
  padding: 0.5rem 0;
  font-weight: 500;
}
.sub-next-menu a::before {
  content: "";
  width: 20px;
  height: 1px;
  background-color: #005184;
  margin: 0.75rem 0.5rem 0 0;
}
.dn {
  display: none;
}
.sub-menu > ul > li.width-max {
  width: 100%;
}

/*fv*/
.fv {
  height: calc(100vh - 120px);
  position: relative;
  margin-top: 120px;
}
.fv-img {
  height: 75vh;
  margin: 0 auto;
  width: 95%;
  overflow: hidden;
  border-radius: 1rem;
  position: relative;
}
.fv-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fv-textwrap {
  position: absolute;
  bottom: 3rem;
  left: 2.5%;
  color: #005184;
  z-index: 3;
}
.fv-sp-textwrap {
  display: none;
}
.fv-title {
  background-color: #fff;
  width: fit-content;
  font-size: 2.3rem;
  padding: 0.25rem 1rem;
  font-weight: 700;
}
.fv-subtitle {
  margin-top: 1rem;
  font-weight: 700;
}
.fv-subtitle span {
  background-color: #fff;
  display: block;
  width: fit-content;
  font-size: 1.1rem;
  padding: 0.15rem 1rem;
  font-feature-settings: "halt"; /* 全角を半角幅に寄せる */
}
.fv-subtitle span + span {
  margin-top: 0.25rem;
}

/*clinic-hours-box*/
.clinic-hours-box {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  background-color: #fff;
  padding: 2rem;
  font-size: 0.9rem;
  width: 450px;
  border-radius: 1rem;
  border: 2px solid #005184;
  z-index: 3;
}
.clinic-hours-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.clinic-hours-item + .clinic-hours-item {
  margin-top: 0.75rem;
}
.clinic-hours-term {
  background-color: #005184;
  font-weight: bold;
  color: #fff;
  width: 70px;
  text-align: center;
  padding: 0.1rem 0;
}

.clinic-hours-desc {
  width: calc(100% - 80px);
}
.time-line {
  width: 100%;
  display: flex;
  align-items: center;
}
.time-period {
  display: flex;
  align-items: center;
}
.time-value {
  width: 47px;
  text-align: right;
  display: block;
}
.time-label {
  width: 110px;
  text-align: right;
}

.time-period .time-label {
  width: 32px;
}
span.dash {
  padding: 0 0.1rem;
  display: block;
  text-align: center;
}

/*main共通*/
section {
  padding: 4rem 0;
}
.section-inner {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title-ja {
  font-size: 2.2rem;
  width: 100%;
}

.section-title-ja span {
  color: #005184;
}
.section-title-ja img {
  display: block;
  width: 35px;
  margin-right: 0.5rem;
}
.section-title-en {
  text-transform: capitalize;
  font-size: 1.4rem;
  color: #005184;
  font-style: italic;
  font-weight: bold;
  display: flex;
  align-items: center;
}
.section-title-en::before {
  content: "";
  height: 2px;
  width: 30px;
  background-color: #005184;
  margin-right: 0.5rem;
}

/*info*/
.info {
  background-color: #f1f8ff;
  margin-top: 3rem;
}

.info .section-inner {
  background-color: #fff;
  padding: 3rem;
  border-radius: 1rem;
}

.info-contents {
  display: flex;
}

.info-contents .section-titlewrap {
  width: 300px;
}
.info-box {
  width: calc(100% - 300px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.info-box ul {
  width: calc(100% - 50px);
  height: 250px; /* スクロール領域の高さ */
  overflow-y: auto; /* 必要なときだけ縦スクロール表示 */
  overflow-x: hidden; /* 横スクロールを非表示にする場合 */
}
.info-box li {
  padding: 1rem 0;
  border-bottom: 0.0625rem solid #ccc;
}
.info-box li span {
  font-weight: bold;
  font-size: 0.9rem;
  color: #005184;
}
.info-box li p {
  margin-top: 0.5rem;
}

.scroll-rec {
  display: block;
  width: 15px;
}

/*about*/
.about-contents {
  display: flex;
  align-items: flex-start;
}
.about-img {
  width: 50%;
  overflow: hidden;
  border-radius: 0 1rem 1rem 0;
  aspect-ratio: 1.4/1;
}
.about-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-textwrap {
  width: 50%;
  padding: 2rem 3rem;
}

.about-text {
  margin-top: 2rem;
  line-height: 2;
  font-size: 1.1rem;
}

/*poster*/
.poster-main {
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
}
.poster-main img {
  display: block;
  width: 100%;
}
/*==================================================
スライダーのためのcss
===================================*/
.poster-section-inner {
  width: 90%;
}
.poster-slider {
  /*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 94%;
  margin: 4rem auto 0;
}

.poster-slider img {
  width: 28vw; /*スライダー内の画像を60vwにしてレスポンシブ化*/
  height: auto;
}

.poster-slider .slick-slide {
  transform: scale(0.8); /*左右の画像のサイズを80%に*/
  transition: all 0.5s; /*拡大や透過のアニメーションを0.5秒で行う*/
  opacity: 0.5; /*透過50%*/
}

.poster-slider .slick-slide.slick-center {
  transform: scale(1); /*中央の画像のサイズだけ等倍に*/
  opacity: 1; /*透過なし*/
}

/*矢印の設定*/

.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.slick-prev {
  left: -50px; /* 左に移動 */
}
.slick-next {
  right: -50px; /* 右に移動 */
}

.slick-prev img,
.slick-next img {
  width: 30px; /* 矢印画像のサイズ */
  height: auto;
  pointer-events: none; /* ←これが効く */
  cursor: default; /* 拡大っぽい見た目にしないなら */
}
/*ドットナビゲーションの設定*/

.slick-dots {
  text-align: center;
  margin: 20px 0 0 0;
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width: 8px; /*ドットボタンのサイズ*/
  height: 8px; /*ドットボタンのサイズ*/
  display: block;
  border-radius: 50%;
  background: #ccc; /*ドットボタンの色*/
}

.slick-dots .slick-active button {
  background: #333; /*ドットボタンの現在地表示の色*/
}
/* ===== Modal base ===== */
.modal {
  position: fixed;
  inset: 0;
  display: grid; /* display:none を使わない */
  place-items: center;
  background: rgba(0, 0, 0, 0.76);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 9999;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}

/* 画像のズーム＋フェード */
.modal-content {
  max-width: min(92vw, 1200px);
  max-height: 90vh;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.28s ease;
}
.modal.is-open .modal-content {
  transform: scale(1);
  opacity: 1;
}

/* × ボタン */
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 34px;
  line-height: 1;
  color: #fff;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.modal-close:hover {
  opacity: 0.85;
}

.no-scroll {
  overflow: hidden;
}
.poster-slider img {
  cursor: zoom-in;
}

/* 低モーション設定尊重 */
@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal-content {
    transition: none !important;
  }
}

/*guide*/
.guide {
  background-color: #f8f4f2;
}
.guide-contents {
  margin-top: 3rem;
}
.guide-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}
.guide-lists a {
  transition: 0.3s ease;
}
.guide-lists a:hover {
  color: #005184;
}
.guide-lists > li {
  width: calc((100% - 6rem) / 3);
}
.guide-img {
  width: 100%;
  aspect-ratio: 1.75/1;
  overflow: hidden;
  border-radius: 0.5rem;
}
.guide-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-item-textwrap h3 {
  padding: 2rem 0;
  border-bottom: 0.0625rem solid #ccc;
}
.guide-item-sublists {
  margin-top: 2rem;
}
.guide-item-sublists > li + li {
  margin-top: 1em;
}
.guide-item-sublists > li > a,
.guide-item-sublists > li > p {
  display: flex;
  align-items: center;
  font-weight: 500;
}
.dli-chevron-round-right {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  position: relative;
  width: 0.5em;
  height: 0.5em;
  transform: translateX(-25%) rotate(45deg);
  margin-right: 1rem;
}

.dli-chevron-round-right::before,
.dli-chevron-round-right::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 0.1em;
}

.dli-chevron-round-right::before {
  top: 0;
  left: 0;
  right: 0;
  height: 0.12em;
}

.dli-chevron-round-right::after {
  top: 0;
  right: 0;
  bottom: 0;
  width: 0.12em;
}
.guide-sublists-next {
  margin: 1rem 0 0 1rem;
}
.guide-sublists-next > li > a {
  font-weight: 400;
  font-size: 0.8rem;
}

.guide-sublists-next > li + li {
  margin-top: 0.5rem;
}
.anc {
  border-bottom: 2px dotted #6b6b6b;
}

/*access*/
.access-contents {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 3rem;
}
.access-textwrap {
  width: 50%;
  padding: 1rem;
}
.access-map {
  width: calc((100% - 70px) / 2);
}
.access-map iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  display: block;
}
.access-item + .access-item {
  margin-top: 2rem;
}
.access-item h3 {
  position: relative;
  padding-bottom: 0.5rem;
}
.access-item h3::before {
  content: "";
  width: 100%;
  height: 2.5px;
  background-color: #ccc;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}
.access-item h3::after {
  content: "";
  width: 100px;
  height: 2.5px;
  background-color: #005184;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.access-inner {
  margin-top: 1rem;
}

.access-item h4 {
  border-left: 5px solid #005184;
  padding-left: 0.5rem;
}

.access-item-box {
  margin-top: 1rem;
}
.access-item-box p {
  margin-top: 1rem;
}

/*footer*/
footer {
  padding: 2rem 0 0;
  border-top: 1px solid #ccc;
  position: relative;
  margin-top: 4rem;
}
.footer-inner {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-logo {
  display: block;
}
.footer-logo img {
  width: 500px;
}
.footer-info p {
  margin-top: 1rem;
}
.footer-info p span + span {
  margin-left: 1rem;
}
.footer-infowrap {
  display: flex;
  align-items: flex-end;
}

.banner img {
  width: 200px;
  display: block;
}
.banner p {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.footer-sns {
  margin-left: 1rem;
}
.footer-sns img {
  display: block;
  width: 120px;
}
.footer-nav {
  border-top: 1px solid #ccc;
  display: flex;
  margin-top: 2rem;
  gap: 2rem;
}
.footer-nav > ul {
  width: calc((100% - 2rem) / 2);
}
.footer-nav > ul > li {
  padding: 1rem;
  border-bottom: 1px solid #ccc;
}
.footer-nav > ul > li > a,
.footer-nav > ul > li > p {
  display: flex;
  align-items: center;
  font-weight: 700;
}
.footer-nav > ul > li > a > img,
.footer-nav > ul > li > p > img {
  display: block;
  width: 18px;
  margin-right: 0.5rem;
}
.footer-sub-lists {
  margin-left: calc(0.5rem + 18px);
}
.footer-sub-lists > li {
  margin-top: 0.5rem;
}
.footer-sub-lists > li > a,
.footer-sub-lists > li > p {
  font-size: 0.9rem;
}
.footer-sub-lists-next {
  font-size: 0.85rem;
  margin-left: 1rem;
}
.footer-sub-lists-next > li {
  margin-top: 0.5rem;
}
.footer-nav a {
  transition: 0.3s ease;
}
.footer-nav a:hover {
  color: #005184;
}

.copyright {
  padding: 2rem 0;
  text-align: center;
  margin: 3rem auto 0;
  width: 95%;
}

#page-top {
  position: absolute; /* フッター内だけど画面右下に固定 */
  bottom: 30px;
  right: 3rem;
  z-index: 999;
}

#page-top img {
  display: block;
  width: 60px;
}

/*==================================================
　5-2-1 3本線が×に
===================================*/
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn {
  /*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
  position: relative;
  background: #005184;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  display: none;
  z-index: 100;
}

/*ボタン内側*/
.openbtn span {
  display: inline-block;
  transition: all 0.4s; /*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

/*activeクラスが付与されると線が回転して×に*/

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0; /*真ん中の線は透過*/
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
