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

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

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;
}

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: #fff;
  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: 42%;
  max-width: 237px;
}

header .h_tel dl {
  position: relative;
}

header .h_tel dt {
  text-align: left;
  color: #FAAF18;
  font-size: min(1.4vw, 94%);
  letter-spacing: .14em;
  margin-bottom: .2em;
}

header .h_tel dt span {
  font-size: 80%;
  color: #fff;
}

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_time {
  color: #fff;
}

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;
}

/* 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: 768px) {

  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;
  }

  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;
  }

}

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

.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('https://shiratori-shika.net/wp-content/uploads/2025/06/1-2.png');
}

.image2 {
  background-image: url('https://shiratori-shika.net/wp-content/uploads/2025/06/2-3.png');
}

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

.text-content {
  position: relative;
  z-index: 4;
  text-align: center;
  color: white;
  top: 36%;
}

@media (max-width: 767px) {
  .image1 {
    background-image: url('https://shiratori-shika.net/wp-content/uploads/2025/06/1-3.png');
  }

  .image2 {
    background-image: url('https://shiratori-shika.net/wp-content/uploads/2025/06/2-4.png');
  }

  .text-content {
    top: 35%;
  }
}


.white {
  color: white;
}

.tel {
  font-size: 30px;
  color: white;
}

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

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

/* お知らせとカレンダー2カラム親ラップ */
.news-info-wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  max-width: 1600px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* ラップ用の背景色セクションを追加 */
.news-info-bg {
  background: linear-gradient(to bottom, #E9F8F8 0%, #DFF1E9 100%);
  width: 100%;
}

/* お知らせとカレンダー共通の幅 */
.news,
.calendar {
  flex: 1 1 48%;
  padding: 60px;
  box-sizing: border-box;
}

/* カレンダー内のiframe */
.calendar-embed iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* モバイル対応 */
@media (max-width: 767px) {
  .news-info-wrap {
    display: block;
    /* ← flexを解除する最も確実な方法 */
  }

  .news,
  .calendar {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }
}



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

.newsttl {
  font-size: 50px;
  color: #21BDBD;
}

@media (max-width: 767px) {
  .newsttl {
    font-size: 40px;
  }
}

/* お知らせブロック全体 */
.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: #21BDBD;
  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: #FAAF18;
  margin-right: 15px;
  min-width: 100px;
}

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

.news-link:hover {
  color: #21BDBD;
  text-decoration: underline;
}

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


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

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

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

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

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

.arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #FAAF18;
  border-right: 1px solid #FAAF18;
  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) {}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 767px) {

  .news,
  .calendar {
    padding: 15px;
  }

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

  .news-date {
    margin-bottom: 5px;
  }
}


/*-------------------------------------- お知らせ --------------------------------------*/
/*-------------------------------------- banner --------------------------------------*/
.banner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 60px;
  /* ← 上の余白を追加 */
  margin-bottom: 80px;
}

/* 各バナーのスタイル */
.banner-item {
  flex: 1 1 calc(100% - 48px);
  max-width: 400px;
  min-width: 280px;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-item:hover {
  transform: scale(1.03);
}

/* バナー画像を全幅表示 */
.banner-item img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
}

@media screen and (max-width: 767px) {
  .banner-item {
    max-width: 90%;
    /* 横幅を狭める */
    flex: 1 1 90%;
    margin: 0 auto;
    /* 中央寄せ */
  }

  .banner-row {
    gap: 16px;
    /* バナー同士の隙間も少し狭く */
    margin-top: 40px;
    /* 上余白も調整（必要なら） */
    margin-bottom: 60px;
  }
}


/* -------------------厚労省------------------- */
.certification-box {
  border: 1px solid #ccc;
  padding: 40px 20px;
  max-width: 960px;
  margin: 40px auto;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  /* 影で浮かせる */
}

.certification-inner {
  text-align: center;
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  color: #333;
}

.certification-lead {
  font-size: 25px;
  margin-bottom: 24px;
  line-height: 1.8;
}

.certification-lead .underline {
  text-decoration: underline;
  text-decoration-color: #21BDBD;
  /* 下線の色のみ指定 */
  font-weight: bold;
}


.certification-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  text-align: left;
  display: inline-block;
}

.certification-list li {
  position: relative;
  padding-left: 28px;
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 12px;
  display: block;
  /* ← 横並びから縦並びに変更 */
}

.certification-inner {
  text-align: center;
}

.certification-list li::before {
  content: "☑";
  position: absolute;
  left: 0;
  top: 0;
  color: #178484;
  font-size: 20px;
}

@media (max-width: 767px) {
  .certification-box {
    padding: 24px 16px;
    margin: 24px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .certification-lead {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .certification-list li {
    font-size: 16px;
    padding-left: 24px;
    margin-bottom: 10px;
  }

  .certification-list li::before {
    font-size: 16px;
  }
}


/*------------------------------------- 特徴キャッチコピーブロック --------------------------------------*/
.flex {
  display: flex;
}

.leftbox,
.rightbox {
  width: 50%;
}

.featureimg {
  margin: 0 auto;
}

.featurep {
  padding: 50px;
  line-height: 2;
}

.intro_section {
  width: 64%;
  max-width: 762px;
  line-height: 1;
  white-space: nowrap;
  margin: 0 auto 30px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-style: normal;
}

.intro_section p {
  position: relative;
  text-align: center;
  line-height: 1.8;
}

.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: 20px;
  font-family: 'Noto Serif JP', serif;
  font-size: 3rem;
  line-height: 1.5;
}

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

.gradient_text {
  display: inline-block;
  background: linear-gradient(135deg, #178484 0%, #21BDBD 40%, #E9F8F8 100%);
  -webkit-background-clip: text;
  color: transparent;
  transform: rotate(-2deg);
  /* 斜めの角度 */
  font-weight: 700;
}

.gradient_text::after {
  content: '';
  display: block;
  width: 100%;
  height: 0.5px;
  background-color: #666;
  position: absolute;
  bottom: -5px;
  left: 0;
  transform: rotate(-3deg);
  /* 下線も斜めに */
}

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

/* 背景 */
.catch {
  background: radial-gradient(circle, #fff 20%, #f0f0f0 80%);
  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 (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;
  }
}


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

/* ---------title部分--------- */
.feature {
  /* display: flex; */
  justify-content: center;
  align-items: center;
  padding-bottom: 0;
}

.title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
}

.title-container::after {
  content: "Point";
  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;
}


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

/* 数字 */
.number {
  font-family: "Lora", serif;
  font-size: 10rem;
  color: #21BDBD;
  position: relative;
}

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

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

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


/* ---------コンテンツ部分--------- */
.featurebox {
  position: relative;
  padding-top: 50px;
  margin-bottom: 30px;
  /* 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-box1::before {
  background: url(https://shiratori-shika.net/wp-content/uploads/2025/06/2-2.png) no-repeat right top;
  top: auto;
  bottom: 0;
  background-position: right bottom;
  background-size: 80% auto;
}

.feature-box2::before {
  background: url(https://shiratori-shika.net/wp-content/uploads/2025/05/bg2.png) no-repeat right top;
  background-size: 100% auto;
}

.feature-box3::before {
  background: url(https://shiratori-shika.net/wp-content/uploads/2025/06/6.png) no-repeat right top;
  background-size: 100% auto;
}

.feature-box2 {
	  z-index: -2;
  position: relative;
  background: url(https://shiratori-shika.net/wp-content/uploads/2025/06/img-4.png) no-repeat right bottom;
  background-size: 55% auto;
  padding-bottom: 230px;
  /* margin-bottom: 80px; */
}

.container {
  width: 94%;
  padding: 0 3%;
  max-width: 1300px;
  margin: 0 auto;
  min-width: 100%;
  height: 400px;
}

/* 一つ目のコンテンツ */
.feature-box1 .feature-content {
  width: 60%;
  padding-left: 6%;
  margin-bottom: 70px;
}

/* 二つ目のコンテンツ（さらに右寄せ） */
.feature-box2 .container {
  display: flex;
  justify-content: flex-end;
  /* コンテンツを右側に寄せる */
  max-width: 1100px;
  /* 最大幅を少し狭くする */
  margin-left: auto;
  /* 左側の余白を増やして、右側に寄せる */
}

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

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

/* feature-content 内の背景数字（デフォルト：左下） */
.feature-content::before {
  content: attr(data-number);
  position: absolute;
  font-size: 150px;
  color: #E9F8F8;
  font-weight: bold;
  z-index: -1;
}

/* 1つ目と3つ目（左下） */
.feature-box1 .feature-content::before {
  left: 10%;
  bottom: 0;
  transform: translate(-10%, 30%);
}

/* 2つ目（右下） */
.feature-box2 .feature-content::before {
  right: 10%;
  bottom: 200px;
  transform: translate(10%, 30%);
}

/* 3つ目（右下） */
.feature-box3 .feature-content::before {
  left: 10%;
  bottom: 0;
  transform: translate(-10%, 30%);
}


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

.feature-title {
  position: relative;
  color: #178484;
  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-box2 {
    padding-bottom: 85px;
  }
}

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

  .mfs13 {
    font-size: 13px;
  }

  .mfs40 {
    font-size: 40px;
  }

  .number {
    font-size: 4rem;
  }

  .container {
    height: auto;
  }

  .title-container {
    font-size: 0;
  }

  .feature-box1 .feature-content {
    width: 100%;
    padding: 0;
  }

  .feature-box1::before {
    left: 0;
    width: 90%;
    display: none;
  }

  /* 選ばれる理由2つ目 */
  .feature-box2 .container {
    display: block;
  }

  .feature-box2 .feature-content {
    width: 100%;
  }

  .feature-box2 {
    padding: 0;
  }

  .feature-box2 img {
    width: 100%;
    height: auto;
    display: block;
  }


  /* 選ばれる理由3つ目 */
  .featurebox {
    height: auto;
  }

  .feature-box3 .feature-content {
    width: 100%;
    padding-left: 0;
  }

  .feature-box3 .feature-content .m40 {
    width: 100%;
    box-sizing: border-box;
  }

  .feature-box3 .feature-content .wi85 {
    width: 100%;
  }

}

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

/* --------- タイトル部分 --------- */
.top50 {
  top: 50px;
}

.reasonttl {
  line-height: 1.2;
  color: #666;
}

.readonnumber {
  color: #21BDBD;
  text-shadow: 2px 4px 3px rgb(126 126 126 / 30%);
}

@media (max-width: 767px) {
  .readonnumber {
    font-size: 28px;
  }
}


.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(https://shiratori-shika.net/wp-content/uploads/2025/06/img-1.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,
      #e9f8f8 0%,
      #f1fbfb 40%,
      #f9fefe 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: max(3.714vw, 48.286px);
}

.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: max(1.5vw, 20px);
  margin-bottom: .25em;
  letter-spacing: .08em;
}

.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;
}

@media (min-width: 768px) and (max-width: 1050px) {}

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

  .team-title h2,
  .team-title p {
    font-size: 25px;
  }

  .team-num img {
    width: 60px;
  }
}

/* ----------------------------------------------------
スマホ用（〜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;
  }
}

@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;
  }
}

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

/* 見出し */
.picuph2 {
  font-size: 50px;
  font-weight: normal;
  text-align: center;
}

.colgr {
  color: #666;
}

.highlight {
  color: #21BDBD;
  text-shadow: 2px 4px 3px rgb(126 126 126 / 30%);
}

@media (max-width: 767px) {
  .highlight {
    font-size: 28px;
  }
}


.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: #21BDBD;
}

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


.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: #21BDBD;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #21BDBD;
  /* padding-left: 5px; */
}

.vertical-text2 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #64D1D1;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  right: 60%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #21BDBD;
}

.vertical-text2-2 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #FCC75D;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  right: 59%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #FAAF18;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #64D1D1;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #21BDBD;
  /* padding-left: 5px; */
}

.vertical-text2 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #64D1D1;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  right: 60%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #21BDBD;
}

.vertical-text3 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #5EBE8D;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #428563;
  /* padding-left: 5px; */
}

.pickupbox2 {
  width: 60%;
  padding-right: 20px;
  background-color: rgba(33, 189, 189, 0.05);
  border-radius: 5px;
  margin: 0 0 0 15px;
  padding: 15px 20px;
}

.pickupbox2 h3 {
  font-size: 24px;
  color: #21BDBD;
  border-bottom: 2px solid #64D1D1;
  padding-bottom: 5px;
  display: inline-block;
}

.pickupbox2-2 {
  width: 60%;
  padding-right: 20px;
  background-color: rgba(250, 175, 24, 0.1);
  /* #FAAF18ベース */
  border-radius: 5px;
  margin: 0 0 0 15px;
  padding: 15px 20px;
}

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

.pickupbox3 {
  width: 60%;
  padding-right: 20px;
  background-color: rgba(163, 217, 177, 0.1);
  border-radius: 5px;
  margin: 0 0 0 15px;
  padding: 15px 20px;
}

.pickupbox3 h3 {
  font-size: 24px;
  color: #5EBE8D;
  border-bottom: 2px solid #8ED2AF;
  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,
.picup-list3 li {
  font-size: 16px;
  color: #666;
  padding-left: 25px;
  position: relative;
  margin-bottom: 8px;
}

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

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

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

/* 強調デザイン */
.pickupbox2 p span {
  font-size: 20px;
  color: #21BDBD;
  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: rgba(33, 189, 189, 0.15);
  /* ← 少し濃く */
  position: absolute;
  bottom: 5px;
  /* left: -5px; */
  z-index: 0;
  /* border-radius: 4px; */
}

.pickupbox2-2 p span {
  font-size: 20px;
  color: #FAAF18;
  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: rgba(250, 175, 24, 0.15);
  /* ← #FAAF18を元に透過 */
  position: absolute;
  bottom: 5px;
  /* left: -5px; */
  z-index: 0;
  /* border-radius: 4px; */
}

.pickupbox3 p span {
  font-size: 20px;
  color: #5EBE8D;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.pickupbox3 p span::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background-color: rgba(163, 217, 177, 0.15);
  /* #A3D9B1をベースに */
  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, #21BDBD, #A6E5E5);
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px 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 {
  background: linear-gradient(135deg, #A6E5E5, #21BDBD);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.5);
}

.pickup-btn:active {
  transform: translateY(2px);
  box-shadow: 0 6px 12px 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, #FAAF18, #FDDFA3);
  /* 上品なくすみ紫 */
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(250, 175, 24, 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 {
  background: linear-gradient(135deg, #FDDFA3, #FAAF18);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(250, 175, 24, 0.5);
}

.pickup-btn-purple:active {
  transform: translateY(2px);
  box-shadow: 0 5px 15px rgba(250, 175, 24, 0.3);
}

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

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

.pickup-btn-green::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-green:hover {
  background: linear-gradient(135deg, #BFE5D1, #5EBE8D);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(163, 217, 177, 0.5);
}

.pickup-btn-green:active {
  transform: translateY(2px);
  box-shadow: 0 6px 12px rgba(163, 217, 177, 0.3);
}

.pickup-btn-green: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%;
  }
}

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

@media (max-width: 768px) {

  .picuph2 {
    font-size: 24px;
  }

  .dots::before {
    content: none;
  }

  .dots1::before {
    content: none;
  }

  /* 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,
  .pickupbox3,
  .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;
  }
}

/*------------------- 院長紹介 -------------------*/
/* === 全体のレイアウト === */
.intyou {
  background: linear-gradient(to bottom,
      rgba(225, 247, 247, 0.4) 0%,
      /* 明るい青緑系（#E1F7F7） */
      rgba(173, 229, 229, 0.4) 40%,
      /* 中間（#ADE5E5） */
      rgba(33, 189, 189, 0.2) 100%
      /* メインカラー #21BDBD */
    );
  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;
}

@media (max-width: 767px) {
  .profile-container {
    gap: 0;
    /* ← gapを消す */
  }
}


/* === 左側の画像エリア === */
.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: #FAAF18;
}

/* === 罫線デザイン === */
.profile-line {
  height: 1px;
  background-color: #ddd;
  margin: 20px 0;
  border: none;
  /* ← 念のため消しておく */
}

/* `.profile-details` を2カラムレイアウトにする */
.profile-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.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: #FAAF18;
  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: #FAAF18;
  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: #FAAF18;
}

/* ----------------------------------------------------
スマホ用（〜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;
    padding: 0;
  }

  .profile-image {
    max-width: 80%;
  }

  .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;
  }
}



/*==================================================================

	ペルソナブロック

==================================================================*/
/* セクションの背景 */
.sedai {
  padding: 50px 0;
  position: relative;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(233, 248, 248, 0.9) 20%,
      /* ← #e9f8f8 を反映 */
      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 #21BDBD;
}

.sedaittl02 span {
  border-bottom: 1px solid #FAAF18;
}

.sedaittl03 span {
  border-bottom: 1px solid #5EBE8D;
}

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

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

.sedai_lead p i {
  display: block
}

.sedai_lead .ja {
  font-style: normal;
  /* 斜体を解除（念のため） */
  font-size: 27.52px;
  text-align: center;
}

.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 p {
  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: #21BDBD;
}

.sedai02 li em {
  color: #FAAF18;
}

.sedai03 li em {
  color: #5EBE8D;
}

.sedai_fig {
  position: absolute
}

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

.idx_gnr_01 {
  background-image: url(https://shiratori-shika.net/wp-content/uploads/2025/06/1.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(https://shiratori-shika.net/wp-content/uploads/2025/06/3.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(https://shiratori-shika.net/wp-content/uploads/2025/06/2.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: inline-block;
  position: relative;
  min-width: 250px;
  box-sizing: border-box;
  padding: 17px 38px 17px 25px;
  margin: 20px 0;
  line-height: 1;
  border-radius: 40px;
  text-align: left;
  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 #21BDBD;
  color: #21BDBD;
  transition: background-color 1s ease, color 1s ease;
}

.sedaibtv01 a:hover {
  color: #fff;
  background: #21BDBD;
}

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

.sedaibtv02 a:hover {
  color: #fff;
  background: #FAAF18;
}

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

.sedaibtv03 a:hover {
  color: #fff;
  background-color: #5EBE8D;
}

.sedaibtv03 a:hover::before {
  border-color: #5EBE8D;
  color: #fff;
}

/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {}


@media (max-width: 767px) {
  .sedai .idx_box {
    padding: 20px 16px;
    /* 左右バランスよく */
  }

  .sedai .idx_lst {
    width: 100%;
    /* フル幅で可読性向上 */
  }

  .sedai .idx_lst p {
    text-align: left;
    /* 右寄りになっていたら修正 */
  }
}

@media (max-width: 767px) {
  .btn03 {
    text-align: center;
    /* ボタンを中央に配置 */
  }

  .btn03 a {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    /* ブロックで中央にできるように */
  }
}



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

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

.paytxtbox {
  flex: 1 1 55%;
  padding: 20px 30px;
}

.payttl span {
  background: linear-gradient(transparent 70%, #E9F8F8 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: #21BDBD;
  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;
}

@media (max-width: 767px) {
  .payout {
    flex-direction: column;
    /* ← 上から下への縦並び */
  }

  .payimg {
    order: 1;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }

  .payttl {
    order: 2;
    margin-bottom: 16px;
  }

  .payp {
    order: 3;
  }
}


/* 流れる画像 */
.payimg img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.flowing-images {
  overflow: hidden;
  width: 100%;
  background: #fff;
  /* 背景色はお好みで */
  padding: 30px 0;
}

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

@media (max-width: 767px) {
  .flow-track {
    animation-duration: 8s;
    /* モバイルでは速く流れる */
  }
}

.flow-track img {
  width: 300px;
  /* ← ここを調整 */
  height: auto;
  object-fit: cover;
  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 (max-width: 768px) {
  .payout {
    padding: 15px;
    margin: 15px;
  }

  .paytxtbox {
    padding: 15px;
  }

  .sedai .idx_box {
    padding: 15px;
    background-color: #ffffffc9;
  }
}

.access-map {
  width: 100%;
  background: #fff;
  padding: 60px 0;
  box-sizing: border-box;
}

.access-header {
  text-align: center;
  margin-bottom: 30px;
}

.access-header h2 {
  font-size: 36px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #444;
  position: relative;
}

.access-header h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #444;
  margin: 12px auto 0;
}

.access-header p {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

.access-map-iframe iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

/* 診療科目 */

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* PCは3カラム */
  gap: 32px;
  max-width: 1200px;
  /* 横幅制限 */
  margin: 0 auto;
  /* 中央寄せ */
  padding: 40px 0;
  /* 中の余白 */
}

.treatment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid #ddd;
  position: relative;
  gap: 16px;
}

/* 下線ベース */
.treatment-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: #ddd;
  z-index: 1;
}

/* アニメーション用の色付きライン */
.treatment-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background-color: #21BDBD;
  transition: width 0.8s ease;
  z-index: 2;
}

/* ホバーでアニメーション実行 */
.treatment-item:hover::before {
  width: 100%;
}

.icon-wrap {
  min-width: 56px;
  height: 56px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.6s ease-in-out;
  /* 変更点 */
}

.treatment-item:hover .icon-wrap {
  background-color: #A6E5E5;
}

.icon-wrap img {
  width: 28px;
  height: 28px;
}

.treatment-text {
  flex: 1;
}

.treatment-desc {
  font-size: 15px;
  color: #6b6b6b;
  margin: 0;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.treatment-title {
  font-size: 25px;
  font-weight: 600;
  color: #1e1e1e;
  margin: 4px 0 0;
}

.arrow-icon {
  font-size: 30px;
  color: #1e1e1e;
  transition: transform 0.2s ease;
}

.title-row:hover .arrow-icon {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .treatment-item {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .icon-wrap {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    min-width: 22px;
    /* ← 上書きが必要！ */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
  }

  .icon-wrap img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    display: block;
  }

  .treatment-text {
    flex: 1;
    min-width: 0;
  }

  .treatment-title {
    font-size: 16px;
    white-space: normal;
  }

  .treatment-desc {
    font-size: 10px;
    white-space: normal;
    /* 説明文は折り返してOK */
  }

  .arrow-icon {
    font-size: 20px;
  }

  .title-row {
    gap: 4px;
  }

}