@charset "utf-8";

header {
    background-color: #E1F6FF;
}
/* -------------------パンくずリスト------------------- */
/* パンくず全体 */
.breadcrumb {
  font-size: 14px;
  margin: 20px 0;
  color: #555;
  padding-left: 40px;
}

/* ol（リスト）を横並びにする */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap; /* 折り返しもOK */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 各 li */
.breadcrumb li {
  display: flex;
  align-items: center;
  color: #555;
}

/* 区切り記号（›） */
.breadcrumb li:not(:last-child)::after {
  content: "›"; /* ▶ や / に変更可 */
  margin: 0 8px;
  color: #aaa;
  font-weight: bold;
}

/* リンク部分のスタイル */
.breadcrumb a {
  color: #007acc;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: #005b99;
}

/* 最後の要素（現在ページ） */
.breadcrumb li:last-child {
  color: #333;
  font-weight: bold;
  pointer-events: none; /* 現在地はクリック不可に */
}


/*------------------- メニュー -------------------*/
/* 最初は通常の位置に */

.nav-under {
  width: 100%;
  background: #fff;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: static;
  transition: all 0.3s ease-in-out;
  margin-top: 100px;
  z-index: 10;
}

/* 固定されるときのスタイル */
.nav-under.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); */
  background: #ffffff;
  transition: all 0.3s ease-in-out;
  z-index: 15;
}


/* メニューリスト */
.nav-underlist {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 1200px;
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

/* メニュー項目 */
.nav-underitem {
	position: relative;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-weight: bold;

}

/* メニューリンク */
.nav-underitem a {
  text-decoration: none;
  color: #666;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 20px;
  display: block;
  position: relative;
  transition: color 0.3s ease;
}

/* ホバー時のエフェクト（下線アニメーション） */
.nav-underitem a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: #4A90E2;
  transition: all 0.3s ease-out;
  transform: translateX(-50%);
}

.nav-underitem a:hover::after {
  width: 100%;
}

.nav-underitem a:hover {
  color: #4A90E2;
}

/* プルダウンメニュー */
.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* プルダウンメニュー項目 */
.dropdown li {
  padding: 12px 20px;
}

.dropdown li a {
  text-decoration: none;
  color: #666;
  display: block;
  font-size: 14px;
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.dropdown li a:hover {
  background: #f4f4f4;
  padding-left: 25px;
}

/* ホバー時にプルダウンを表示 */
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  z-index: 5;
}

/* ハンバーガーメニュー（スマホ対応） */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-underitem a.active {
  color: #333333; /* テキスト色 */
  background-color: rgba(74, 144, 226, 0.1); /* 薄いブルーの背景色 */
  border-radius: 50%; /* 円形にする */
  padding: 10px; /* 上下左右に均等なパディング */
  display: inline-flex; /* flexを使用して中央揃えを容易に */
  justify-content: center; /* 横軸中央揃え */
  align-items: center; /* 縦軸中央揃え */
  min-width: 30px; /* 最小幅を指定 */
  height: 30px; /* 高さを指定 */
  transition: background-color 0.3s ease; /* 背景色の変化にトランジションを適用 */
  text-align: center; /* テキストを中央揃えに */
  white-space: nowrap; /* テキストを折り返さない */
}
.nav-underitem a.active:hover {
  background-color: rgba(74, 144, 226, 0.2); /* ホバー時に背景色を少し濃くする */
}
.h_webcom_web {
    margin: auto;
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .nav-underitem a {
    font-size: 10px;
  }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
  .nav-under {
    padding: 0;
    background: #E1F6FF;
    margin-top:0px;
  }

  .nav-underlist {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;                      /* ← 上部に固定 */
    left: 0;
    width: 100%;
    height: 100vh;              /* ← 全画面に広がる */
    overflow-y: auto;           /* ← スクロール可 */
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    justify-content: center;
	  margin-top:0px;
  }

  .nav-underlist.active {
    display: flex;
  }

  .nav-underitem {
    text-align: center;
	display:block;
  }

  .nav-underitem a {
    display: block;
    padding: 15px;
    width: 100%;
  }

  /* ▼ スマホ用プルダウンメニュー：最初は非表示 */
  .has-dropdown .dropdown {
    display: none;
    background: #fff;
    padding: 0;
    margin: 0;
  }

  /* ▼ JSで.open付与時に表示 */
  .has-dropdown.open .dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    position: static; /* ← 画面の幅に対して自然に展開 */
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: #e5f2f5;
  }

  /* ハンバーガーボタン左上固定 */
  .menu-toggle {
    display: block;
    position: fixed;
    top: 10px;
    right: 15px;
    z-index: 9999;
    background-color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
  }
  .has-dropdown:hover .dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .dropdown li {
    padding: 0px 20px;
}
/* .dropdown li a {
  color: #2D5A8E;
} */
}
/*------------------- メイン画像 -------------------*/
.lowerlayer-fv {
    background-color:#E1F6FF ;
    padding: 39px 2.9% 83px;
    position: relative;
}

.lowerlayer-fvsp {
    display: none;
}
.lowerlayer-fvpc {
    margin: 0 auto;
    position: relative;
}
.titleunit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,45%);
}
.lowerlayer-title {
    color:  #4A90E2;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    line-height: normal;
	font-family: 'Kiwi Maru', serif;
}
.title-icon {
    margin: 0 auto;
    width: 48px;
}
.titlesp {
    display: none;
}
.title-back {
  position: absolute;
  bottom:2%; 
  left: 50%;
  transform: translateX(-50%)translateY(-10%);
  width: 300px;
  height: 150px;
  background-color: #E1F6FF;
  border-top-left-radius: 150px;
  border-top-right-radius: 150px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lowerlayer-titleunit {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%) translateY(55%);
  text-align: center;
  z-index: 3;
}

.title-iconpc,
.title-iconsp {
  width: 30px;
  display: block;
  margin: 0 auto 8px;
}

.title-iconsp {
    display: none;
}

/* ----------------------------------------------------
メイン画像　スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
  .lowerlayer-fv {
    background-color:#E1F6FF ;
    padding: 39px 2.9% 50px;
    position: relative;
    border-radius: 0px 0px 40px 40px;
  }

  .lowerlayer-fvsp {
      display: block;
      margin: 25px auto 0;
      position: relative;
      width: 100%;
  }
  .lowerlayer-fvpc {
      display: none;
  }
 .lowerlayer-titleunit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,45%);
}
.lowerlayer-title {
    color:  #4A90E2;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    line-height: normal;
}
.title-back {
  position: absolute;
  bottom:0; 
  left: 50%;
  transform: translateX(-50%)translateY(-30%);
  width: 220px;
  height: 100px;
  background-color: #E1F6FF;
  border-top-left-radius: 150px;
  border-top-right-radius: 150px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lowerlayer-titleunit {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%) translateY(80%);
  text-align: center;
  z-index: 3;
}

.title-icon {
  width: 19px;
  display: block;
  margin: 0 auto;
}


}
/* ----------------------------------------------------
メイン画像　426-768用
---------------------------------------------------- */
@media screen and (min-width: 426px) and (max-width: 768px) {
.lowerlayer-titleunit {
    transform: translateX(-50%) translateY(100%);
  }
}
/*------------------- 院内紹介・設備紹介 -------------------*/
.fx-title{     
    padding: 1em 1em;     
    margin: 2em auto;     
    color: #474747;     
    background: rgba(225, 246, 255, 0.55);/*背景色*/    
    border-left: double 7px #4A90E2;/*左線*/    
    border-right: double 7px #4A90E2;/*右線*/
    max-width: 841px;
}

.fx-title h2 {     
    margin: 10px;      
    padding: 0; 
    color: #000;
    font-family: "Kiwi Maru";
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: center;
    white-space: nowrap;
}
.fx-title span {
    color: #000;
    font-family: "Kiwi Maru";
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: inline-block;
}
.fxfv-sp {
    display: none;
}
.fxfv-pc {
    max-width: 501px;
}
.fv-txt {
    display: flex;
    align-items: center;
    gap: 88px;
    align-self: stretch;
    margin:129px 0 20px 0;
}
.facili-subtitle {
  display: flex;
  max-width: 260px;
  height: 78px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #4A90E2;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  color:#FFF;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 55px auto;
}
.facili-subtitle-2 {
  display: flex;
  max-width: 260px;
  height: 78px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--darkblue, #2D5A8E);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  color:#FFF;
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 55px auto;
}

.introduction {
    display: flex;
    width: 382px;
    flex-direction: column;
    align-items: center;
}
.intoro-sp {
    display: none;
}
.introduction-title {
    color: #4A90E2;
    font-family: "Kiwi Maru";
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.introduction-txt {
    color: #666;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 25px; /* 156.25% */
    margin-top: 16px;
}
.introduction-unit {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列にする */
  row-gap: 40px;
  column-gap: 2%;
  max-width: 1200px;
  margin: 55px auto;
}
.introduction2 {
    display: flex;
    width: 382px;
    flex-direction: column;
    align-items: center;
}
.introduction-unit2 {
    display: flex;
    justify-content: center;
    column-gap: 2%;
    margin: 55px auto;
}

/* ----------------------------------------------------
メイン画像　スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {

/* .firstexamination-text {
    padding: 36px 9.1%;
} */
.fx-title{     
    padding: 1em 1em;     
    margin: 2em auto;     
    color: #474747;     
    background: rgba(225, 246, 255, 0.55);/*背景色*/    
    border-left: double 7px #4A90E2;/*左線*/    
    border-right: double 7px #4A90E2;/*右線*/
    max-width: 320px;
    height: 113px;
}

.fx-title h2 {     
    font-size: 16px;
    margin: 0px auto;
}
.fx-title span {
    font-size: 18px;
    text-align: center;
}
.fxfv-sp {
    display: none;
}
.fxfv-pc {
  display: none;
}
.fxfv-sp {
  display: block;
  margin: 45px auto;
}
.fv-txt {
    display: block;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 25px; /* 156.25% */
    max-width: 290px;
    margin: 0 auto;
}
.facili-subtitle {
  display: flex;
  max-width: 150px;
  height: 55px;
  font-size: 24px;
  margin: 55px auto;
}
.facili-subtitle-2 {
  display: flex;
  max-width: 150px;
  height: 55px;
  font-size: 24px;
  margin: 55px auto;
}

.introduction {
    display: block;
    width: 382px;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}
.intoro-pc {
  display: none;
}
.intoro-sp {
    display: block;
}
.br-pc {
  display: none;
}
.introduction-title {
    font-size: 24px;
}
.introduction-txt {
    color: #666;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 25px; /* 156.25% */
    margin-top: 16px;
    max-width: 295px;
}
.introduction-unit {
  display: block;
  max-width: 1200px;
  margin: 55px auto;
}
.introduction2 {
    display: block;
    width: 382px;
    flex-direction: column;
    align-items: center;
}
.introduction-unit2 {
    display: block;
    margin: 55px auto;
}
.introduction figure {
  margin: 0 auto;
  max-width: 293px;
}
.introduction2 figure {
  margin: 0 auto;
  max-width: 293px;
}
.introduction {
  margin: 25px auto;
}
.introduction2 {
  margin: 25px auto;
} 
}