@charset "utf-8";

/*------------------- ヘッダー -------------------*/

header {
	position: absolute;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	box-sizing: border-box;
	padding: 0 3% ;

}
header .h_inbox {
	display: flex;
	justify-content: space-between;
}
header .h_left {
	position: relative;
	width: 35%;
	margin-top: 1em;
}
header .h_right {
	width: 50%;
	max-width: 576px;
	box-sizing: border-box;
  margin-right: 20px;
}
header .h_left .h_logo {
	margin-bottom: 1em;
}
header .h_left .h_logo img {
	margin-left: 0;
}
header .h_left .h_logo span {
	display: block;
	width: 54%;
	margin-bottom: 1em;
}
header h1 {
	color: #2f3131;
	font-size: min(1.2vw,82%);
	letter-spacing: .14em;
	line-height: 1.4em;
}

header .h_contact {
	display: flex;
    justify-content: space-between;
    align-items: flex-end;
	text-align: center;
	position: relative;
	color: #fff;
}
header .h_contact .h_tel {
	width: 56%;
	max-width: 315px;
}
header .h_contact .h_web {
	width: 100%;
	max-width: 150px;
}
header .h_tel dl {
	position: relative;
}
header .h_tel dt {
	text-align: left;
	color:#4a90e2;
	font-size: min(1.4vw,94%);
  font-weight: 600;
	letter-spacing: .14em;
	margin-bottom: .2em;
}
header .h_tel dt span {
	font-size: 80%;
	color: #2f3131;
}
header .h_tel dt,
header .h_tel .phone_num {
	padding-left: 20%;
}
header .h_tel img {
    margin: 0;
}
header .h_tel .phone_num {
	font-size: min(1.8vw,130%);
}
header .h_tel .icon {
    left: 0;
    top: auto;
	bottom: 0;
    transform: none;
}
header .h_tel .h_time {
	margin-top: .8em;
}
/* header .h_web a {
	padding: .8em .8em .7em;
} */
header .h_web a > div {
	position: relative;
	box-sizing: border-box;
	padding-left: 25%;
}
header .h_web .icon_web {
	position: absolute;
	width: 23%;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
header .h_web .com_web_style {
	width: 96%;
  max-width: 154px;
	padding-left: 4%;
	padding-bottom: .6em;
	transition: all .5s;
	overflow: hidden;
}
header .h_web .com_web_style::before {
	position: absolute;
	content: "";
	background-color: #FFF;
	width: 100%;
	height: 1px;
	left: 0;
	bottom: 0;
}
header .h_web .com_arrow2 {
	bottom: .5em;
}
header .h_web .h_web_txt {
	width: 84%;
    margin: .7em auto 0;
}
.line-icon {
  width: 40%;
  margin: 0 auto;
}
.line-reservation{
  color: #fff;
  font-weight: 500;
  background-color: #4a90e2;
  margin-top: 10px;
  border-radius: 5px;
} 
/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {

header {
    padding-top: 2%;
}
header .h_left {
	margin-top: .5em;
}
header .h_left .h_logo span {
    margin-bottom: .6em;
}
header .h_right {
	width: 60%;
}
header h1 {
	letter-spacing: .1em;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 767px) {

header {
	padding: 3% 3% 0;
}
/* header .h_inbox {
	display: block;
} */
header .h_left {
	width: 65%;
	margin-top: 0;
}
header .h_left .h_logo {
	margin-bottom: .6em;
  width: 180px;
}
header .h_left .h_logo span {
	margin-bottom: .4em;
}
/* header .h_contact {
	display: none !important;
} */
header h1 {
	font-size: 65%;
	letter-spacing: normal;
}
.spnone {
  display: none;
}
.line-icon {
  width: 30%;
}
.line-reservation{
  font-size: 10px;
  margin-top: 2px;
  max-width: 100px;
  margin: 5px auto 0;
}
header .h_tel dt,
header .h_tel .phone_num {
	padding-left: 0;
}
header .h_contact .h_tel {
  margin: 0 auto;
}
header .h_contact {
	display: block;
}
.h_webcom_web {
  display: none;
}
}
/*------------------- メニュー -------------------*/
/* 最初は通常の位置に */
.nav {
  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: relative; /* 最初は relative */
  transition: all 0.3s ease-in-out;
}

/* 固定されるときのスタイル */
.nav.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-list {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 1200px;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

/* メニューリンク */
.nav-item 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-item 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-item a:hover::after {
  width: 100%;
}

.nav-item 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: 1;
}

/* ハンバーガーメニュー（スマホ対応） */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-item 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-item a.active:hover {
  background-color: rgba(74, 144, 226, 0.2); /* ホバー時に背景色を少し濃くする */
}

/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
  .nav {
    position: relative;
    justify-content: space-between;
    padding: 10px 0;
  }

  .nav-list {
    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;
  }

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

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

  .nav-item 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;
} */
}


/*------------------- ファーストビューブロック -------------------*/
.main-visual {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #e1f6ffff;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 2s ease-in-out; /* ふわっとフェードする */
}

.background-image.active {
  opacity: 1;
  z-index: 2;
}

.image1 {
  background-image: url('../images/main.png');
}

.image2 {
  background-image: url('../images/main2.png');
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.21);
  z-index: 3;
}

.text-content {
  position: relative;
  z-index: 4;
  text-align: center;
  color: white;
  top: 36%;
  background: rgba(194, 237, 255, 0.9) ;/* 背景色 */
  padding: 0.5em;
}

.white {
  color: white;
}
.tel {
  font-size: 30px;
  color: #2f3131;
}
.size3rem.white {
  font-family: "Kiwi Maru", serif;
  color: white;
}
.size1-5rem.white {
  color: #666666;
}
.fv-image {
  display: flex;
  justify-content: flex-end;
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 2s ease-in-out; /* ふわっとフェードする */
}

.background-image.active {
  opacity: 1;
  z-index: 2;
}

.image1 {
  background-image: url('../images/main-sp.png');
}

.image2 {
  background-image: url('../images/main2-sp.png');
}
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
.tel {
  font-size: 10px;
}
.phone_num p {
  font-size: 10px; 
}
.size3rem.white {
  font-size: 2.2rem;
}
.size1-5rem.white {
  font-size: 0.8rem;
}
  .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 2s ease-in-out; /* ふわっとフェードする */
}

.background-image.active {
  opacity: 1;
  z-index: 2;
}

.image1 {
  background-image: url('../images/main-sp.png');
}

.image2 {
  background-image: url('../images/main2-sp.png');
}

}

/*-------------------------------------- お知らせブロック --------------------------------------*/

.newsttl {
  font-family: "Kiwi Maru", serif;;
  font-size: 50px;
  color: #3b89d1b9;
}
/* お知らせブロック全体 */
.news {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  /* background: #f9f9f9; */
  /* border-radius: 8px; */
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

/* タイトル */
.news-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #2D5A8E;
  margin-bottom: 15px;
}

/* お知らせリスト */
.news-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

/* お知らせアイテム */
.news-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  transition: background 0.3s ease;
}

/* 日付 */
.news-date {
  font-size: 14px;
  color: #938068;
  margin-right: 15px;
  min-width: 100px;
}

/* 記事リンク */
.news-link {
  text-decoration: none;
  color: #666;
  font-size: 16px;
  transition: color 0.3s ease;
}

.news-link:hover {
  color: #4A90E2;
  text-decoration: underline;
}

.news-more:hover {
  text-decoration: underline;
}


/*矢印、リンク
---------------------------------------------------------*/

.custom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.button-text {
  font-size: 16px;
  color: #666;
  margin-right: 10px;
}

.circlebtn {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgb(255 255 255) ;/* 薄い丸 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.arrow {
  position: relative;
  width: 70%;
  height: 0.5px;
  background-color: #938068;
  transition: transform 0.3s ease;
}

.arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #938068;
  border-right: 1px solid #938068;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.custom-button:hover .arrow {
  transform: translateX(3px);
}

.custom-button:hover .arrow::after {
  transform: translateY(-50%) rotate(45deg) translateX(1px);
}


/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .nav-item a {
    font-size: 10px;
  }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 767px) {
  .news {
      padding: 15px;
  }

  .news-item {
      flex-direction: column;
      align-items: flex-start;
  }

  .news-date {
      margin-bottom: 5px;
  }
  .newsttl {
  font-size: 30px;
}
}

/*-------------------------------------- お知らせ --------------------------------------*/


/*------------------------------------- 特徴キャッチコピーブロック --------------------------------------*/
.flex {
  display: flex;
}
.leftbox, .rightbox {
  width: 50%;
}
.leftbox {
  margin-top: 50px;
}

.featureimg {
  margin: 0 auto;
  border-radius: 30px;
}
.featurep {
  padding: 50px;
  line-height: 2;
}
.intro_section {
  width: 100%;
  max-width: 762px;
  line-height: 1;
  margin: 0 auto 30px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

.intro_section p {
  position: relative;
  line-height: 1.8;
  white-space: normal; /* nowrap解除 */
  display: inline-block; /* 要素をインラインブロックにする */
  margin: 0 auto; /* 余白を均等にする */
}

.intro_section p:last-of-type {
  font-size: 35px;
  line-height: 1.4;
}

.intro_section img {
  position: relative;
  width: 35%;
  display: inline-block;
  transform: translate(-1em, 0.5em);
  transition: all 1s;
  opacity: 0;
}

.intro_section img.animation_on {
  transform: translate(0, 0);
  opacity: 1;
}

.intro_section img.effect_txt2 {
  width: 33%;
  transition-delay: 0.5s;
}
/* 文字 */
.text_container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Serif JP', serif;
  font-size: 3rem;
  line-height: 1.5;
}

.text_container p {
  position: relative;
  margin: 0;
  font-size: 50px;
}

.gradient_text {
  font-family: "Kiwi Maru", serif;
  display: inline-block;
  background: linear-gradient(135deg, #5bcce0 0%, #59c5e0 40%, #a2dee8 100%);
  background-clip: text; 
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 700;
}

.gradient_text::after {
  content: '';
  display: block;
  width: 100%;
  height: 0.5px;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.normal_text {
  font-size: 1em;
  color: #666;
  transform: none; 
}

/* 背景 */
.catch {
  background-color:#e1f6ff;
  padding: 100px 0;
  position: relative; /* セクションを基準にする */
  z-index: 0;
}
.catch .catchcopy {
  position: absolute;
  top: 0;
  /* left: calc(-50vw + 45rem); */
  z-index: -1;
}
picture.catchcopy.sp {
  display: none;
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .featurep {
    padding: 0 50px;
  }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
  /* 見出し */
  .intro_section p:last-of-type{
    font-size: 25px;
  }
  .text_container p  {
    font-size: 25px;
  }
  .flex {
    display: block;
  }
  .leftbox, .rightbox {
    width: 100%;
  }
  .featurep {
    padding: 10px;
  }
  
  .catch .catchcopy {
      left: 0;
      top: 0;
  }

  .catchn .catchcopy img {
      width: 100vw;
  }
  .intro_section {
    width: 100%; /* スマホ幅でも全幅にする */
    padding: 0 10px; /* 端に余白を追加 */
  }
  .intro_section p:last-of-type {
  font-size: 20px;
  }
}


/*-------------------------------------- 特徴ブロック --------------------------------------*/

/* ---------title部分--------- */
.feature {
  justify-content: center;
  align-items: center;
}

.title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  font-family: "Noto Sans JP", serif;
  font-size: 2rem; 
}
.title-container::after {
  content: "Point"; 
  font-family: 'Great Vibes', cursive;
  font-size: 10rem;
  color: rgb(178 228 248 / 50%);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}


/* 左側のテキスト */
.ttleleft {
  color: #666;
  line-height: 1.6;
}

/* 数字 */
.number {
  font-size: 10rem;
  color: #1F3A93;
  position: relative;
}

/* 背景の装飾テキスト */
.script-text {
  font-family: 'Great Vibes', cursive;
  font-size: 10rem;
  color: rgba(70, 130, 180, 0.2);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

/* 数字と特徴のセット */
.number-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 「つの特徴」部分 */
.horizontal {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
}


/* ---------コンテンツ部分--------- */
.featurebox {
  position: relative;
  /* height: 350px; */
}

.featurebox::before {
  position: absolute;
  content: "";
  width: 50%;
  height: 100%;
  top: 0;
  z-index: -1;
}

.feature-box1::before,
.feature-box3::before{
  right: 0;
}
.feature-box2::before {
  left: 0;
}

.feature-box2 {
  position: relative;
  background: url(../images/bg2-2.png) no-repeat right bottom;
  background-size: 55% auto;
}
.feature-img-sp {
  display: none;
}
.feature-img-pc {
  width: 100%;
  max-width: 500px;
  margin-top: 10px;
}
.container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 3%;
  max-width: 1300px;
  margin: 0 auto;
  min-width: 100%;
  height: 400px;
}
.feature-unit {
  width: 100%;
  max-width: 600px;
}
.feature-subtitle span {
  color: #1F3A93;
  font-size: 40px
}
/* 一つ目のコンテンツ */
.feature-box1 .feature-content {
  width: 60%;
  padding-left: 6%;
  margin-bottom: 70px;
}
/* 二つ目のコンテンツ（さらに右寄せ） */
.feature-box2 .container {
    display: flex;
    justify-content: center;
    max-width: 1000px; /* 最大幅を少し狭くする */
    margin-left: auto; /* 左側の余白を増やして、右側に寄せる */
    flex-direction: row-reverse;
    margin-top: 100px;
}
.feature-unit2 {
  width: 100%;
  max-width: 600px;
  padding-left: 80px;
}


/* 三つ目のコンテンツ（さらに右寄せ） */
.feature-box3 .feature-content {
  width: 60%;
  margin-bottom: 70px;
}

.feature-box2 .feature-content {
    text-align: left;
}

/* タイトル・番号 */
span.feature-number {
  font-size: 35px;
  padding-right: 5px;
}

.feature-title {
  position: relative;
  color: #03a7ea;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 15px;
}

.feature-subtitle {
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: .1em;
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .featurebox {
    height: auto;
  }
  .featurebox::before {
    top: 24%;
  }
  .feature-subtitle {
    white-space: nowrap;
  }
  .feature-subtitle span {
    font-size: 30px;
  }
  .feature-unit2 {
    padding-left: 10px;
  }
  .feature-img-sp img{
    margin: 0 auto;
  }
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
	.mw100 {
		width:100%;
	}
  .mfs13 {
    font-size: 12px;
  }
  .mfs40 {
    font-size: 40px;
  }
  .number {
    font-size: 3.5rem;
  }
	.container {
		height:auto;
	}
  .title-container {
    font-size: 0;
    padding: 0 15px;
  }
  .title-container::after {
  font-size: 5rem;
}

  .feature-box1 .feature-content {
    width: 100%;
    padding: 0;
  }
  .feature-box1::before {
    left: 0;
    width: 90%;
  }
  /* .feature-box1 .feature-content::before {
  left: 20%;
  bottom: 70%;
  transform: translate(50%, -50%);
} */
  /* 選ばれる理由2つ目 */
  .feature-box2 .feature-content {
    width: 100%;
  }
  .feature-box2 {
    padding: 0;
  }
  .feature-unit2 {
  padding-left: 0;
  }
  .feature-box2 .container {
    margin-top: 50px;
  }
  /* .feature-box2 .feature-content::before {
  left: 50%;
  top: -170px;
  transform: translate(10%, 30%);
  z-index: -1;
  } */

  .feature-subtitle span {
  color: #1F3A93;
  font-size: 25px
}
    /* 選ばれる理由3つ目 */
    .featurebox {
      height: auto;
    }
    .feature-box3 .feature-content {
      width: 100%;
      padding-left: 0;
    }
    .size35 {
      font-size: 20px;
    }
    .size50 {
      font-size: 30px;
    }
    .feature-title {
      font-size: 16px;
      margin-bottom: 5px;
    }
    .feature-subtitle {
      font-size: 22px;
      letter-spacing: normal;
    }
    .feature-img-sp {
      display: block;
      margin-top: 20px;
    }
    .feature-img-pc {
      display: none;
    }
  }

/*-------------------------------------- 選ばれる理由ブロック --------------------------------------*/

/* --------- タイトル部分 --------- */
.top50 {
  top: 50px;
}
.reasonttl {
line-height: 1.2;
color: #666;
}

.readonnumber {
  font-family: 'Noto sans jp';
  color: #6d92d0;
}
.txcenter {
  position: relative; 
}

/* .reasonttl::after {
  content: "Reason"; 
  font-family: 'Great Vibes', cursive;
  font-size: 10rem; 
  color: rgba(70, 130, 180, 0.2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  white-space: nowrap;
} */

.reason {
  position: relative;
  /* margin-top: max(8.929vw, 116px); */
	padding: max(6.571vw, 85px) 0 0;
	background-image: url(../images/bg3.png);
	background-size: cover;
	background-position: center top;
	box-sizing: border-box;
	/* aspect-ratio: 1400 / 1086; */
}

.reason::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 120px; /* さらに短く */
  background: linear-gradient(to bottom,
        #E5EEFB 0%,
        #ECF2FC 40%,
        #F4F7FD 70%,
        #FFFFFF 100%
    );
  pointer-events: none;
  z-index: -2;
}


/* --------- コンテンツ部分 --------- */
.team-section {
  background: url(../images/setumei.png) no-repeat top right 4.571% / max(57.071vw, 741.927px);
  margin-bottom: max(7.143vw, 92.857px);
}

.team-title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: max(.786vw, 10.214px);
  margin-bottom: max(2.214vw, 28.786px);
margin-top:120px;
font-family:Noto Serif JP;
}
.team-title h2 {
  padding: 0 .5em;
}

.team-title h2 {
  font-size: max(3.276vw,42.584px);
  line-height: 1.1em;
  height: 1.35em;
  color: #fff;
  display: inline-flex;
  align-items: flex-end;
  background: url(../images/image_with_92B9AA_and_729889_stripes.png) repeat top left / max(.429vw, 5.571px);
  letter-spacing: .06em;
}
.team-title p {
  font-size: max(3.276vw,42.584px);
  line-height: 1.1em;
  height: 1.35em;
  color: #fff;
  display: inline-flex;
  align-items: flex-end;
  background: url(../images/image_with_92B9AA_and_729889_stripes.png) repeat top left / max(.429vw, 5.571px);
  letter-spacing: .06em;
}

.team-cont {
  /* background: linear-gradient(to top, #fff 15%, transparent 15%), url(../images/dot.png) repeat top left / max(.571vw, 7.429px);
  padding: max(2.143vw, 27.857px) 0 0; */
  margin-top: 90px;
}
.team-item-list {
  display: flex;
  justify-content: center;
  column-gap: 1.5%;
}
.team-item {
  width: max(25.000vw, 325.000px);
  aspect-ratio: 350 / 400;
  background: #fff;
  box-shadow: 0px 4px 7px 0px rgba(67, 67, 67, .16);
  position: relative;
  padding: max(1.714vw, 22.286px) max(3vw, 39.000px);
  box-sizing: border-box;
}
.team-num {
  display: block;
  width: max(3.929vw, 51.071px);
  position: absolute;
  top: -1.25%;
  left: 4.857%;
  mix-blend-mode: multiply;
}
.team-num img {
width: 110px;
}
.team-category {
  text-align: center;
  line-height: 1.3em;
  font-size: 22px;
  margin-bottom: .25em;
}
.team-item figure {
  margin-bottom: max(1.214vw, 15.786px);
}
ol, ul { list-style: none; }
.team-item:after {
  content: \"\";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 18px 18px;
  border-color: transparent transparent #acacac;
  position: absolute;
  bottom: 7px;
  right: 7px;
}
.team-item01 h3 .team-en { color: #add9e2; }
.team-category .team-en {
  display: block;
  line-height: 1.17em;
  font-size: 62%; /* サイズはそのまま */
  text-align: center; /* 中央揃え */
  margin-top: 0.2em; /* 日本語との間隔を調整 */
  color: #add9e2; /* 色は既存のものを維持 */
}
.team-txt62 { font-size: 62%; }
.team-txt-list li {
font-size: 15px;
line-height: 2;
}



.team-item01 li .team-underline,
.team-item02 li .team-underline,
.team-item03 li .team-underline{ border-bottom: 2px solid #add9e2; }
.team-item li .team-underline { text-decoration: none; }
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	.team-title h2,
	.team-title p{
		font-size: 25px;
	}
	.team-num img {
		max-width: 40px;
    width: 100%;
	}
  .team-category  {
    font-size: 17px;
}
  .team-num {
    width: 100%;
    max-width: 30px;
  }
  .team-item {
    padding: 2%;
  }

.team-item {
  max-width: 300px;
  aspect-ratio: 350 / 400;
  background: #fff;
  box-shadow: 0px 4px 7px 0px rgba(67, 67, 67, .16);
  position: relative;
  padding: max(1.714vw, 22.286px) max(3vw, 39.000px);
  box-sizing: border-box;
}
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width:768px) {
	.mfs27 {
		font-size:27px;
	}
	.mfs30 {
		font-size: 30px;
	}
.team-num img {
  width: 60px;
}
.team-title h2,
.team-title p{
  font-size: 25px;
}

.team-desc {
  padding:15px 5px;
  margin:0;
  width:100%;
  font-size: 15px;
}
.team-title h2{
  padding: 0;
}
.m40 p {
  text-align: start;
}
.m40 br {
  display: none;
}
}
@media screen and (max-width:543px) {
.team-title h2,
.team-title p{
  font-size: 19px;
}
.team-item-list{
  flex-direction: column; 
      justify-content: center;
      align-items: center; 
      row-gap: max(3.714vw, 48.286px); 
      column-gap: 0; 
}
}
/* ----------------------------------------------------
542px以上768px以下の画面に適用 
---------------------------------------------------- */
@media (min-width: 542px) and (max-width: 768px) {
  .team-num img {
		max-width: 30px;
    width: 100%;
	}
  .team-category  {
    font-size: 14px;
}
}

/*-------------------------------------- ピックアップブロック --------------------------------------*/

/* 見出し */
.picuph2 {
  font-size: 50px;
  font-weight: normal;
  text-align: center;
  padding-top: 70px;
}
/* .picuph2 .size20 {
  font-size: 50px;
} */
.colgr {
  color: #666;
}

.highlight {
  color: #3b89d1;
  font-size: 50px;
}

.underline {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.dots,
.dots1 {
  position: relative;
}
.dots1::before{
  content: "・・";
    position: absolute;
    top: -40px;
    left: 52%;
    transform: translateX(-50%);
    font-size: 50px;
    letter-spacing: 4px;
    color: #6d92d0;
}
.dots::before {
  content: "・・・・";
    position: absolute;
    top: -40px;
    left: 52%;
    transform: translateX(-50%);
    font-size: 50px;
    letter-spacing: 4px;
    color: #6d92d0;
}


.flex_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background-color: #fff;
  position: relative;
  border-radius: 10px;
}
.flex_box2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background-color: #fff;
  position: relative;
  border-radius: 10px;
  gap: 20px;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #3b9ad188;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #3b89d1;
  /* padding-left: 5px; */
}
.vertical-text2 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #3b9ad188;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  right: 60%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #3b89d1;
}
.vertical-text2-2 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #b5a9c9;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  right: 59%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #6f45b4;
}
.pickupbox2 {
  width: 60%;
  padding-right: 20px;
  background-color: rgb(178 228 248 / 50%);
  border-radius: 5px;
  margin: 0 0 0 15px;
  padding: 15px 20px;
}

.pickupbox2 h3 {
  font-size: 24px;
  color: #3b89d1;
  border-bottom: 2px solid #3b89d1;
  padding-bottom: 5px;
  display: inline-block;
}

.pickupbox2-2 {
  width: 60%;
  padding-right: 20px;
  background-color: #b5a9c92e;
  border-radius: 5px;
  margin: 0 0 0 15px;
  padding: 15px 20px;
}
.pickupbox2-2 h3 {
  font-size: 24px;
  color: #9773d1;
  border-bottom: 2px solid #6f45b4;
  padding-bottom: 5px;
  display: inline-block;
}

.pickupbox1 {
  width: 40%;
  display: flex;
  justify-content: center;
  margin: 10px;
}

.pickup-image {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* リストのデザイン */
.picup-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.picup-list li,
.picup-list2 li{
  font-size: 16px;
  color: #666;
  padding-left: 25px;
  position: relative;
  margin-bottom: 8px;
}

.picup-list li::before {
  content: '✔'; /* チェックマーク */
  position: absolute;
  left: 0;
  color: #3b89d1;
  font-weight: bold;
}

.picup-list2 li::before {
  content: '✔'; /* チェックマーク */
  position: absolute;
  left: 0;
  color: #6f45b4;
  font-weight: bold;
}

/* 強調デザイン */
.pickupbox2 p span {
  font-size: 20px;
  color: #3b89d1;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.pickupbox2 p span::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background-color: #3b89d15b;
  position: absolute;
  bottom: 5px;
  /* left: -5px; */
  z-index: 0;
  /* border-radius: 4px; */
}

.pickupbox2-2 p span {
  font-size: 20px;
  color: #a88fd1;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.pickupbox2-2 p span::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background-color: #b5a9c93b;
  position: absolute;
  bottom: 5px;
  /* left: -5px; */
  z-index: 0;
  /* border-radius: 4px; */
}

/* buttonデザイン 青 */
.pickup-btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.pickup-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.pickup-btn:hover {
  color: white;
  background: linear-gradient(135deg, #00c6ff, #007bff);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.5);
}

.pickup-btn:active {
  transform: translateY(2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.pickup-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* buttonデザイン　紫 */
.pickup-btn-purple {
  display: inline-block;
  padding: 12px 24px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #9A7BBF, #C8A2C8); /* 上品なくすみ紫 */
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(154, 123, 191, 0.4);
}

.pickup-btn-purple::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.pickup-btn-purple:hover {
  color: white;
  background: linear-gradient(135deg, #C8A2C8, #9A7BBF);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(154, 123, 191, 0.5);
}

.pickup-btn-purple:active {
  transform: translateY(2px);
  box-shadow: 0 4px 8px rgba(154, 123, 191, 0.3);
}

.pickup-btn-purple:hover::before {
  transform: translate(-50%, -50%) scale(1);
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .vertical-text2-2 {
    right: 57%;
  }
  .spnone {
    display: none;

  }
   .picuph2 {
    font-size: 35px;
  }
  .picuph2 .size20 {
    font-size: 20px;
  }
  .picuph2 .size35 {
    font-size: 35px;
  }
  .highlight {
    font-size: 38px;
  }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */

@media screen and (max-width: 768px) {

  .picuph2 {
    font-size: 24px;
    padding: 20px 2%;
  }
  .dots::before {
    content: none;
  }
  .dots1::before {
    content: none;
  }
  .highlight {
  font-size: 24px;
  }
  .picuph2 .size20 {
    font-size: 14px;
  }
  .picuph2 .size35 {
    font-size: 16px;
  }
  spbr {
    display: block;
  }
  /* 強調デザイン */
  .pickupbox2 p span {
    font-size: 20px;
    padding: 0;
  }
  /* 1つ目 */
  .flex_box {
      flex-direction: column-reverse;
      align-items: stretch;
      padding: 15px;
  }
  /* 2つ目 */
  .flex_box2 {
    flex-direction: column;
    padding: 15px;
  }
  .pickupbox2-2 {
    width: 100%;
    margin: 0;
    padding: 10px;
  }
  .pickupbox2, .pickupbox1 {
      width: 100%;
      padding: 20px;
      margin: 0;
  }
  .pickupbox2 {
      padding: 10px;
      border-left: none;
  }
  .vertical-text {
      position: relative;
      left: auto;
      top: auto;
      transform: none;
      margin-bottom: 10px;
  }
}
/*-------------------------------------- 診療案内 --------------------------------------*/
.medicalflex {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}

.service-box {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  width: 30%;
  padding: 20px;
  text-align: left;
  transition: box-shadow 0.3s ease-in-out;
}


.service-header {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.hexagon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin: 0 auto;
  background: linear-gradient(135deg, #B5A9C9 0%, #8D80A6 100%);
  /* background: linear-gradient(135deg, #678ac4 0%, #3c5c9e 100%); */
  /* box-shadow: inset 0 4px 10px rgba(255, 255, 255, 0.3), inset 0 -4px 10px rgba(0, 0, 0, 0.3); */
}
.blue .hexagon { 
  background: linear-gradient(135deg, #7a92b8 0%, #6c98ca 100%);
  /* background: linear-gradient(135deg, #678ac4 0%, #3c5c9e 100%); */
  /* box-shadow: inset 0 4px 10px rgba(255, 255, 255, 0.3), inset 0 -4px 10px rgba(0, 0, 0, 0.3); */
}
.orange .hexagon { 
  background: linear-gradient(135deg, #D3B196 0%, #B18561 100%);
  /* background: linear-gradient(135deg, #d8a05e 0%, #a8652d 100%); */
  /* box-shadow: inset 0 4px 10px rgba(255, 255, 255, 0.3), inset 0 -4px 10px rgba(0, 0, 0, 0.3); */
}
.hexagon p{
  color: white;
}
.service-box {
  background-color: #ffffffe0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 8px 8px; 
}

/* h3 のスタイルを調整 */
.service-box h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

/* h3 内の a をブロック化し、クリック範囲を拡大 */
.service-box h3 a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #666;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* h3 内の a のホバー時エフェクト */
.service-box h3 a:hover {
  transform: translateX(5px);
  color: #444;
}

/* ul li の余白を調整 */
.service-box ul li {
  margin-bottom: 25px;
}


.icon {
  width: 30px;
  height: 30px;
  background: #6AABE4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  margin-right: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
.blue .icon { background: #6AABE4; }
.icon { background: #8D80A6; }
.orange .icon { background: #B18561; }
.descgreen {
  font-size: 14px;
  color: #6AABE4;
  margin-top: 5px;
}
.descblue {
  font-size: 14px;
  color: #8D80A6;
  margin-top: 5px;
}
.descorange {
  font-size: 14px;
  color: #B18561;
  margin-top: 5px;
}


/* === Section背景のスタイル === */
.medical {
  position: relative;
  background-image: url('../images/medicalbg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0; /* 上下の余白を増やす */
}

/* 背景画像の上に半透明のオーバーレイを追加 */
.medical::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(244 241 225 / 71%);
  z-index: 0;
}

.medical > * {
  position: relative;
  z-index: 1; /* コンテンツを背景より前に */
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
.medicalflex {
  padding: 15px;
  flex-direction: column;
}
.service-box {
  width: 100%;
}
}

/*------------------- 院長紹介 -------------------*/
/* === 全体のレイアウト === */
.intyou {
  background: #e1f6ff;
  padding: 40px;
  backdrop-filter: blur(10px);
  position: relative;
}

.intyou::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#2f6b7c56 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.2; /* 控えめなテクスチャ */
  z-index: 0;
}
.profile-container {
  display: flex;
  max-width: 1200px;
  margin: 20px auto;
  align-items: center;
  gap: 40px;
  padding: 60px;
  background: #ffffff91;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* === 左側の画像エリア === */
.profile-image {
  flex: 1;
  max-width: 450px;
  position: relative;
}

.profile-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

/* === 右側のテキストエリア === */
.profile-text {
  flex: 2;
  padding: 10px;
}

/* === 見出しデザイン === */
.clinic-name {
  font-size: 20px;
  font-weight: bold;
  color: #555;
}

.position {
  font-size: 18px;
  font-weight: normal;
  color: #777;
}

.doctor-name {
  font-size: 26px;
  font-weight: bold;
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.jp-name {
  font-size: 32px;
  font-weight: bold;
  margin: 0 10px;
}

.en-name {
  font-size: 16px;
  font-weight: normal;
  color: #977c4c;
}

/* === 罫線デザイン === */
.profile-line {
  width: 100%;
  border: 1px solid #ddd;
  margin: 20px 0;
}
/* `.profile-details` を2カラムレイアウトにする */
.profile-details li {
  font-size: 12px;
}

/* 各セクションのスタイル */
.profile-section {
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 見出しデザイン */
.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #977c4c;
  margin-bottom: 10px;
}

/* 略歴は1列全体を使う */
.profile-section.history {
  grid-column: span 2; /* 2カラムをまたぐ */
}


/* === 略歴・学会・講演情報のデザイン === */
.profile-section {
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #977c4c;
  margin-bottom: 10px;
}

.profile-info {
  list-style: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.profile-info li {
  margin-bottom: 8px;
}

.year {
  font-weight: bold;
  color: #977c4c;
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .intyou {
    padding: 15px;
  }

  .profile-details {
      grid-template-columns: 1fr; /* 1カラムに変更 */
  }

  .profile-section.history {
      grid-column: span 1; /* 1カラムで表示 */
  }

  .profile-container {
      flex-direction: column;
      text-align: center;
      padding: 0;
  }

  .profile-image {
      max-width: 80%;
      margin-top: 30px;
  }

  .profile-text {
      padding: 15px;
      width: 90%;
  }
  .profile-section {
    padding: 10px;
  }

  .doctor-name {
      flex-direction: column;
      text-align: center;
  }

  .jp-name {
      font-size: 28px;
  }

  .en-name {
      font-size: 14px;
  }

  .section-title {
      font-size: 18px;
  }
  .clinic-name {
  font-size: 18px;
}
}

/*------------------- 医院紹介 -------------------*/


/* -------------------フォトギャラリー------------------- */
/* ギャラリー全体 */
.gallery {
  text-align: center;
  padding: 50px;
}

.galleryttl {
  font-size: 50px;
  color: #81AADE;
  font-family:'Kiwi Maru', serif;
}

/* スライドショー＋サムネイルを横並びに */
.gallery-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto;
}

/* 左側のスライドショー */
.gallery-slideshow {
  position: relative;
  width: 600px; /* 任意のサイズ */
  height: 400px; /* 任意のサイズ */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.gallery-slideshow::before {
  content: "";
    position: absolute;
    top: min(-1vw, -13px);
    left: max(1vw, 13px);
    width: 100%;
    height: 100%;
    border: 1px solid #938068;
    z-index: 2;
}

/* メインスライドの画像 */
.gallery-slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
/* 最初の画像だけ表示 */
.gallery-slideshow img.active {
  opacity: 1;
}

/* 右側のサムネイル一覧 */
/* .gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 15px;
} */
/* 右側のサムネイル一覧 */
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2列 */
  gap: 15px;
}


/* サムネイル画像 */
.gallery-thumbnails img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.2s ease-in-out, border 0.3s ease-in-out;
  border-radius: 5px;
}

/* 選択されたサムネイルの強調 */
.gallery-thumbnails img.active {
  /* border-color: #977c4c; */
  transform: scale(1.1);
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
	.gallery {
		padding:30px;
	}
	.galleryttl {
		font-size: 30px;
		line-height: 1;
	}
	
.gallery-container {
    flex-direction: column;
    align-items: center;
  }

  .gallery-slideshow {
    width: 100%;
    height: auto;
    position: relative; /* ← 必須！ */
    aspect-ratio: 4 / 3; /* ← 画像比率を維持して高さを自動計算 */
  }

  .gallery-slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
  }

  .gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    padding: 10px 0;
    margin-top: 20px;
  }

  .gallery-thumbnails img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 5px;
  }
}
/*==================================================================

	ペルソナブロック

==================================================================*/
/* セクションの背景 */
.sedai {
  padding: 50px 0;
  position: relative;
  background: linear-gradient(to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(234, 240, 246, 0.9) 20%,  /* #eaf0f6（明るめ）*/
    rgba(245, 247, 250, 0.9) 80%,  /* #f5f7fa（ほぼ白）*/
    rgba(255, 255, 255, 1) 100%
  );
  z-index: 0;
  overflow: hidden;
}

.sedai::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: 1;
}

.sedai::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px; 
  background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: 1;
}

.idx_inr {
  position: relative;
  display: block;
  margin: 0 auto;
}

.idx_box {
  display: block;
  position: relative
}

.idx_lst li {
  position: relative;
  display: block;
  padding-left: 1.4em;
  margin-bottom: .5em;
  background-repeat: no-repeat;
  background-position: 0 .4em;
  background-size: .8em auto
}

.sedai .idx_inr {
  max-width: 1360px;
  width: 100%;
  padding: 36px 0;
  margin-bottom: 30px;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-color: #fff;
  background-position: 100% 0
}

.sedai .idx_inr:nth-of-type(2) {
  background-position: 0 0
}

.sedai .idx_box {
  color: #2e2e2e;
  background-color: #ffffff61;
  box-shadow: 3px 3px 5px rgba(162,162,162,.2);
  max-width: 858px;
  margin: 0 auto 0 0;
  padding: 30px 24px 24px 65px;
}

.sedai .idx_inr:nth-of-type(2) .idx_box {
  box-shadow: -3px 3px 5px rgba(162,162,162,.2);
  margin: 0 0 0 auto
}

.sedai_ttl {
  position: relative;
  font-size: 26.87px;
  margin: 0 0 24px
}

.sedai_ttl:before {
  content: "";
  display: block;
  position: absolute;
  width: 99px;
  aspect-ratio: 1/1;
  left: -45px;
  top: -24px;
  background-repeat: no-repeat;
  background-size: 100% 100%
}
.sedaittl01:before{
  background-image: url(../images/top/h-img.png);
  background-repeat: no-repeat;
}
.sedaittl02:before{
  background-image: url(../images/top/h-img2.png);
  background-repeat: no-repeat;
}
.sedaittl03:before{
  background-image: url(../images/top/h-img3.png);
  background-repeat: no-repeat;
}

.sedai_ttl span{
  position: relative;
  z-index: 3;
  display: inline-block;
  mix-blend-mode: multiply;
}
.sedaittl01 span {
  border-bottom: 1px solid #a460aa;
}
.sedaittl02 span {
  border-bottom: 1px solid #4b90cf;
}
.sedaittl03 span {
  border-bottom: 1px solid #977c4c;
}

.sedai_lead {
  display: flex;
  align-items: center;
  padding: 0 0 16px;
  margin: 0 auto 15px 0;
  /* border-bottom: 1px solid #2e2e2e */
}

.sedai_lead p {
  display: block;
  text-align: center
}

.sedai_lead p i {
  display: block
}

.sedai_lead p .ja {
  font-size: 27.52px
}

.sedai_lead p .en {
  font-size: 39.63px;
  font-weight: 700
}

.sedai_lead figure {
  flex: 1
}

.sedai .idx_lst {
	font-size: 15px;
	width: 47%;
}
.sedai .idx_lst li {
  line-height: 1.3;
  letter-spacing: -.06em
}
.sedai01 li {
    background-image: url(../images/top/check.png);
    background-repeat: no-repeat;
    line-height: 1.3;
    letter-spacing: -.06em;
}
.sedai02 li {
  background-image: url(../images/top/check2.png);
  background-repeat: no-repeat;
  line-height: 1.3;
  letter-spacing: -.06em
}
.sedai03 li {
  background-image: url(../images/top/check3.png);
  background-repeat: no-repeat;
  line-height: 1.3;
  letter-spacing: -.06em
}

.sedai .idx_lst li span {
  display: block
}
.sedai .idx_lst li em {
    font-weight: 600
}
.sedai01 li em{
  color: #a460aa;
}
.sedai02 li em{
    color: #4b90cf;
}
.sedai03 li em{
    color: #977c4c;
}

.sedai_fig {
  position: absolute
}

.sedai .idx_gnr_btn {
  width: unset;
  left: unset;
  right: 36px;
  bottom: 20px
}

.idx_gnr_01 {
  background-image: url(../images/kodomo.png);
  background-repeat: no-repeat;
}


.idx_gnr_01 .sedai_lead p {
  margin-right: 42px
}

.idx_gnr_01 .sedai_lead figure img {
  width: 109px;
  aspect-ratio: 109/149
}

.idx_gnr_01 .idx_lst li:nth-of-type(3) {
  padding-left: .8em
}

.idx_gnr_01 .sedai_fig {
  width: 366px;
  bottom: 40px;
  right: 0px;
}

.idx_gnr_01 .sedai_fig img {
  aspect-ratio: 366/272
}

.idx_gnr_02 {
  background-image: url(../images/adalt.png);
  background-repeat: no-repeat;
}

.idx_gnr_02 .sedai_lead p {
  margin-right: 36px
}

.idx_gnr_02 .sedai_lead figure img {
  width: 103px;
  aspect-ratio: 103/138
}

.idx_gnr_02 .idx_lst li:nth-of-type(2) span:nth-of-type(2) {
  margin-left: -.4em
}

.idx_gnr_02 .sedai_fig {
  width: 378px;
  bottom: 40px;
  right: 42px
}

.idx_gnr_02 .sedai_fig img {
  aspect-ratio: 378/269
}

.idx_gnr_03 {
  background-image: url(../images/kourei.png);
  background-repeat: no-repeat;
}


.idx_gnr_03 .sedai_lead p {
  margin-right: 30px
}

.idx_gnr_03 .sedai_lead figure img {
  width: 117px;
  aspect-ratio: 117/144
}

.idx_gnr_03 .idx_lst li:nth-of-type(2),.idx_gnr_03 .idx_lst li:nth-of-type(3) {
  padding-left: 1em
}

.idx_gnr_03 .sedai_fig {
  width: 377px;
  bottom: 40px;
  right: 42px
}

.idx_gnr_03 .sedai_fig img {
  aspect-ratio: 377/269
}


/*------------------------------
ボタン
------------------------------*/

.btn03 {
  position: relative;
}
.btn03 a {
  display: flex;  /* Flexboxを使用 */
  justify-content: center;  /* 横方向の中央揃え */
  align-items: center;  /* 縦方向の中央揃え */
  position: relative;
  width: 250px;
  box-sizing: border-box;
  padding: 17px 38px 17px 25px;
  margin: 20px 0;
  line-height: 1;
  border-radius: 40px;
  text-align: center; /* テキストを中央に配置 */
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
}
.btn03 a:hover::before {
  right: 20px;
}

.btn03 a:hover::before{
	right: 20px;
}

.btn03 a:hover::after{
	left:0;
	top:0;
}
.btn03 a i{
	margin-right: 7px;
	font-size: 12px;
}

/* お子さまボタン */
.sedaibtv01 a {
	border: 1px solid #a460aa;
	color: #a460aa;
	transition: background-color 1s ease, color 1s ease;
}
.sedaibtv01 a:hover {
	color: #fff;
	background:#a460aa;
}

/* 大人ボタン */
.sedaibtv02 a {
  border: 1px solid #4b90cf;
  color: #4b90cf;
	transition: background-color 1s ease, color 1s ease;
}
.sedaibtv02 a:hover {
	color:#fff;
	background:#4b90cf;
}

/* 高齢者の方ボタン */
.sedaibtv03 a {
	border: 1px solid #977c4c;
	color: #977c4c;
	transition: background-color 1s ease, color 1s ease;
}

.sedaibtv03 a:hover{
	color:#fff;
	background-color:#977c4c;
}
.sedaibtv03 a:hover::before{
	border-color:#977c4c;
  color: #fff;
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media only screen and (min-width: 768px) and (max-width: 959px) {
/* 大人　背景位置 */
.sedai .idx_inr:nth-of-type(2) {
  background-position: right;
}
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .sedai .idx_lst {
	font-size: 15px;
	width: auto;
}
/* ボタン中央揃え */
.sedaibtv01 {
  text-align: center;
}
.sedaibtv02 {
  text-align: center;
}
.sedaibtv03 {
  text-align: center;
}
.btn03 a {
    display: inline-block; /* ボタンをインラインブロックにして中央揃え */
    margin: 0 auto; /* ボタンを中央に配置 */
  }

}
/*------------------- 症例ブロック -------------------*/
.case-slider {
  background-image: url("../images/footerbg.jpeg"); 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  padding: 60px 0;
  display: flex;
  justify-content: center;
}
.case-slider::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #173c676b;
  z-index: 1;
}
.case-slider > * {
  position: relative;
  z-index: 2;
}

.case-inner {
  display: flex;
  gap: 40px;
  max-width: 1250px;
  width: 100%;
  padding: 0 20px;
}

.case-title-area {
  width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.case-title-area > * {
	color:#fff;
}

.case-main-title {
  font-size: 35px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-align: center;
}

.case-sub-title {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

.case-description {
  font-size: 16px;
  line-height: 1.8;
}

.case-carousel {
  width: 65%;
  overflow: hidden;
  position: relative;
}
.case-carousel::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -30px;
  right: -30px;
  bottom: -20px;
  background: rgba(255, 255, 255, 0.8); /* 半透明の白 */
  border-radius: 16px;
	z-index: -1;
}

.case-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.case-carousel-slide {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 100%;
  box-sizing: border-box;
}

.case-slide {
  display: flex;
  justify-content: center;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
	margin: 20px;
}

.case-image-area {
  width: 40%;
  position: relative;
  overflow: hidden;
  padding: 15px;
}

.case-image-area img {
  width: 100%;
  height: 100%;
  display: block;
}

.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px 15px;
  font-size: 14px;
}

.case-tag {
  font-size: 14px;
  margin-bottom: 4px;
  color: #fff;
}

.case-cta {
  font-size: 12px;
  opacity: 0.8;
  color: #fff;
}

.case-location {
  font-size: 12px;
  color: #333;
  background: #f2f2f2;
  padding: 6px 10px;
  text-align: center;
}

.case-info {
  width: 60%;
  padding: 15px;
}

.case-heading {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.case-text {
  line-height: 1.6;
  color: #444;
  margin-bottom: 15px;
}

.case-before-after {
  display: flex;
  gap: 10px;
}

.case-before-after img {
  border-radius: 4px;
}

/* ナビ */
.case-carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  box-sizing: border-box;
  pointer-events: none;
}

.case-carousel-nav button {
  background: #335899fa;
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s;
}

.case-carousel-nav button:hover {
  background: #618cd578;
}

.case-carousel-nav .dott {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.dott span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dott span.active {
  background: #335899;
}
.carousel-dots-wrapper {
  text-align: center;
  margin-top: 20px;
}

.casebutton {
  margin: 20px 0;
}
.casebutton .button-text {
	color:#fff;
}

/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .featurep {
    padding: 0 50px;
  }
  .case-main-title .size18 {
    font-size: 12px;
  }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .case-inner {
    flex-direction: column;
    padding: 0 15px;
    gap: 30px;
  }

  .case-title-area,
  .case-carousel {
    width: 100%;
  }

  .case-carousel-slide {
    gap: 14px;
  }

  .case-slide {
    padding: 12px;
    gap: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
  }

  .case-image-area {
    width: 40%;
    padding: 10px;
  }

  .case-image-area img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
  }

  .case-overlay {
    font-size: 12px;
    padding: 6px 10px;
  }

  .case-info {
    width: 60%;
    padding: 10px;
  }

  .case-heading {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .case-text {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .case-before-after {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-direction: row;
  }

  .case-before-after img {
    width: 100%;
    max-width: 100px;
    object-fit: cover;
    border-radius: 4px;
  }

  .case-before-after p {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .case-carousel-nav {
    top: auto;
    bottom: 45%;
    transform: translateY(50%);
    padding: 0 10px;
  }

  .carousel-dots-wrapper {
    margin-top: 12px;
  }
  .case-main-title .size18 {
    font-size: 14px;
  }
}

/*------------------- 症例ブロックここまで -------------------*/

/* -------------------支払方法------------------- */
.paymentsec {
  background: linear-gradient(to bottom, #ffffff, #f5f7fa); 
  padding: 80px 0;
}

.payout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  padding: 40px;
  max-width: 1000px;
  margin: 20px auto;
}

.paytxtbox {
  display: flex;
  justify-content: space-between;
  flex: 1 1 55%;
  padding: 20px 30px;
}
.payment {
  margin: 0 auto;
}
.payttl span {
  background: linear-gradient(transparent 70%, #d9e8ff 70%);
  padding-bottom: 5px;
  font-weight: bold;
  font-size: 20px;
}

.marker {
  margin-bottom: 16px;
  line-height: 1.6;
  position: relative;
  font-size: 20px;
  padding-left: 30px;
}

.marker::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  color: #6ca0dc;
  font-size: 18px;
}

.payp {
  padding-top: 20px;
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

.payimg {
  flex: 1 1 40%;
  padding: 20px;
  text-align: center;
}

/* 流れる画像 */
.payimg img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.flowing-images {
  overflow: hidden;
  width: 100%;
  background: #fff; /* 背景色はお好みで */
  padding: 30px 0;
  margin-top: -30px;
}

.flow-track {
  display: flex;
  width: calc(200%); /* 2倍に伸ばすことでループ */
  animation: scroll-left 30s linear infinite;
}

.flow-track img {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-right: 30px;
}

/* アニメーション設定 */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .tbnone {
    display: none;
  }
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
.payout {
  display: block;
  padding: 15px;
  margin: 15px;
}
.paytxtbox {
  padding: 15px;
}
.sedai .idx_box {
  padding: 15px;
  background-color: #ffffffc9;
}
.paytxtbox {
  display: block;
}
}

/* -------------------比較表------------------- */
.comparison-table {
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  white-space: nowrap;
  font-family: 'Noto Serif JP';
  padding: 15px;
}

.header-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 0;
  position: relative;
  min-width: 900px;
  padding-left: 12%;
}

.circle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.5;
  font-size: 18px;
  border: 1px solid #999;
  background-color: #fff;
}

.circle.allon4 {
  background-color: #47a9c5;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  border: none;
}

.line-down {
  width: 2px;
  height: 40px;
  background-color: #999;
  margin: 0 auto;
}

.line-down.blue {
  background-color: #47a9c5;
}

.row {
  display: flex;
  align-items: stretch;
  min-width: 900px;
  margin-bottom: 10px;
}

.label {
  width: 160px;
  background-color: #47a9c5;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.label-inner {
  text-align: center;
  padding: 10px;
}

.comp_icon {
  font-size: 30px;
  margin-bottom: 8px;
}

.text {
  font-weight: bold;
  font-size: 16px;
}

.content {
  width: 50%;
  border: 1px solid #ccc;
  padding: 20px;
  background-color: #fff;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  position: relative;
}

.content.blue {
  border: 1px solid #47a9c5;
  background-color: #f1fafd;
}

.content strong {
  font-weight: bold;
}

.content .blue {
  color: #47a9c5;
  font-weight: bold;
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
  .circle {
    width: 100px;
    height: 100px;
    font-size: 12px;
  }
  .circle.allon4{
    font-size: 12px;
  }
  .comparison-table {
    overflow-x: auto;
  }
  .header-row {
    justify-content: center;
    gap: 20%;
  }

  .header-row,
  .row {
    flex-wrap: nowrap;
    min-width: 100%; 
  }

  .label, .content {
    white-space: normal;
  }
  .content {
    padding: 20px 10px;
    font-size: 13px;
    text-align: left;
  }
}



/* -------------------footer------------------- */
/* フッター全体 */

.footer {
  position: relative; /* 疑似要素を適切に配置するために relative を設定 */
  padding: 40px 20px;
  background: url(../images/footerbg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* グラデーションを背景として追加 */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 半透明の白レイヤーを背景画像の上に配置 */
.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #e1f6ff;
  z-index: 0; /* グラデーションの上、コンテンツの下 */
}

/* フッター内のテキストを前面に配置 */
.footerinner {
  position: relative;
  z-index: 2; /* コンテンツを最前面に */
  color: #363636;
}

/* フッター内のテキストの視認性を確保 */
.footer-content {
  position: relative;
  z-index: 3; /* テキストを最前面に */
  color: #363636; /* 適宜調整 */
}

/* フッター上部（ロゴ・住所・予約） */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
}

.footer-logo img {
  width: 300px;
  margin: 0 auto;
}

/* フッターの情報エリア */
.footer-info {
  text-align: left;
  font-size: 14px;
  color: #363636;
}

/* 各項目のアイコン */
.footer-info p {
  position: relative;
  padding-left: 25px;
  margin: 5px 0;
}

/* 住所アイコン */
.footer-info p:nth-child(1)::before {
  content: "\f3c5"; /* FontAwesomeのマップピンアイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #2D5A8E;
}

/* アクセス方法アイコン */
.footer-info p:nth-child(2)::before {
  content: "\f3c5"; /* 同じくマップピンアイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #2D5A8E;
}

/* モノレールアイコン */
.footer-info p:nth-child(3)::before {
  content: "\f238"; /* FontAwesomeの電車アイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #2D5A8E;
}

/* 電話番号アイコン */
.footer-info p:nth-child(4)::before {
  content: "\f095"; /* FontAwesomeの電話アイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #2D5A8E;
}


/* 診療時間表 */
.footer-schedule {
  text-align: center;
  flex-grow: 1;
  margin: 0 20px;
  padding: 15px;
  border-radius: 8px;
}

.footer-schedule h3 {
  font-size: 18px;
  color: #2D5A8E;
  margin-bottom: 10px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.schedule-table th, .schedule-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
}

.schedule-table th {
  background: linear-gradient(to bottom, #4A82A8, #3F6E8E);
  color: #fff;
  font-weight: bold;
}

.schedule-table td {
  background: #fff;
  color: #666;
}

.schedule-table .sat {
  color: #4A82A8;
  font-weight: bold;
}

.schedule-table .closed {
  background: #eee;
  color: #2D5A8E;
}

.note {
  font-size: 12px;
  color: #363636;
  margin-top: 5px;
}
/* LINEアイコン */
.footer-reservation {
  display: flex;
  justify-content: center; 
  align-items: center; 
  flex-direction: column; /* アイコンとテキストを縦並びに */
  text-align: center; 
  margin-top: 10px; 
}

.footer-reservation .line-icon {
  width: 60px; /* アイコンのサイズ調整 */
  height: 60px;
  margin-bottom: 10px; /* アイコンとテキストの間に余白を追加 */
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */

@media (max-width: 768px) {
  .footer-top {
    display: block;
  }
  .footer-schedule {
      margin: 15px 0;
  }

  .schedule-table th, .schedule-table td {
      font-size: 12px;
      padding: 6px;
  }
}


.footer-reservation .web-reserve {
  display: inline-block;
  background: #4A90E2;
  color: #fff;
  padding: 0px 5px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 5px;
}

/* ナビゲーションメニュー */
.footer-nav {
  text-align: center;
  margin: 20px 0;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav ul li {
  display: inline-block;
  margin: 0 10px;
}

.footer-nav ul li a {
  text-decoration: none;
  color: #666;
  font-size: 16px;
}

/* 診療内容のリンク */
.footer-links {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 200px;
}

.footer-section {
  width: 30%;
}

.footer-section h4 {
  font-size: 18px;
  color: #2D5A8E;
  margin-bottom: 10px;
  border-bottom: 2px solid #2D5A8E;
  padding-bottom: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  display: grid;
  text-align: start;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #363636;
  font-size: 14px;
}

/* フッターのバナー */
.footer-banners {
  text-align: center;
  margin: 20px 0;
}

.footer-banners a {
  display: inline-block;
  margin: 0 10px;
}

.footer-banners img {
  width: 250px;
  border-radius: 5px;
  transition: transform 0.3s ease-in-out;
}

.footer-banners img:hover {
  transform: scale(1.05);
}

/* フッター下部（著作権） */
.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #555;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}


/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .footer-links {
  padding: 0 150px;
  }
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 767px) {
  .footer-links {
  padding: 0 20px;
  }
.footer-section {
  width: initial;
  }
}