/* ------------------------------
   ベース
------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "游ゴシック体", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333;
  line-height: 1.7;
  background-color: #ffffff;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: inherit;
  text-decoration: none;
  transition: all .3s;
}
a:hover {
  opacity: 0.8;
  transition: all .3s;
}
/* コンテンツの共通幅 */
.section {
  padding: 80px 30px;
}
@media (max-width: 599px) {
  .section {
    padding: 50px 30px;
  }
}
.section__inner {
  max-width: 1080px;
  margin: 0 auto;
}
/* セクション見出し */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
@media (max-width: 599px) {
  .section-header {
    margin-bottom: 30px;
  }
}
.section-header__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #76c3cf;
}
@media (max-width: 599px) {
  .section-header__label {
    margin-bottom: -5px;
  }
}
.section-header__title {
  font-size: 1.6rem;
  font-weight: 600;
}
/* ------------------------------
   Header
------------------------------ */
.site-header {
  position: absolute; /* ヒーロー画像の上に乗る */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 12px 24px;
  /* 青緑の帯（ヘッダー本体の色） */
  background-color: rgba(64, 177, 189, 0.6); /* #40B1BD 不透明 */
  backdrop-filter: blur(6px);
  overflow: visible; /* ロゴを少しはみ出させてもOKにする保険 */
}
/* 中身を並べるコンテナ */
.site-header__inner {
  max-width: none; /* 1080px 制限を外す */
  width: 100%;
  margin: 0;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  position: relative;
  z-index: 1; /* 帯(::before) の手前 */
}
/* ロゴを左端固定＋帯より前面に */
.site-logo {
  position: relative;
  z-index: 2; /* header__inner よりさらに前 */
}
.site-logo img {
  height: 50px;
  display: block; /* 余計な隙間を消す */
}
/* ------------------------------
   Hero
------------------------------ */
.hero {
  position: relative;
  min-height: 520px;
  color: #ffffff;
  overflow: hidden;
}
/* 背景写真 */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 全体をうっすら青でトーン合わせ */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 60%);
  z-index: 1;
}
/* テキストボックス */
.hero__content {
  position: relative; /* ::before, ::afterの上にくる */
  max-width: 1080px;
  margin: 0;
  padding: 200px 80px 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
/* 左下に白ベースのボックスを作る */
.hero__content-inner {
  background: rgba(255, 255, 255, 0.7);
  color: #333333;
  padding: 24px 28px;
  max-width: 420px;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 3;
}
/* HTML側で .hero__content-inner を囲んでおく前提 */
.hero__label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: #57b7c8;
  margin-bottom: 8px;
}
.hero__title {
  font-size: 1.8rem;
  margin: 0 0 12px;
}
.hero__lead {
  font-size: 0.9rem;
  margin: 0 0 20px;
  font-weight: 600;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 600;
  margin: 0 0 25px;
}
.hero__info {
  font-size: 0.8rem;
  font-weight: 600;
}
.hero__info dl {
  margin: 0;
  text-align: center;
  border: solid 1px #57b7c8;
  margin-bottom: 10px;
  border-radius: 5px;
}
.hero__info dl dt {
  margin: 0;
  background-color: #57b7c8;
  color: #fff;
  padding: 5px 15px;
}
.hero__info dl dd {
  margin: 0;
  text-align: center;
  background-color: #fff;
  padding: 5px 15px;
  border-radius: 0 0 5px 5px;
}
/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
  width: 170px;
}
.btn--primary {
  background-color: #57b7c8;
  color: #fff;
}
.btn--secondary {
  background-color: #ffffff;
  color: #57b7c8;
  border-color: #57b7c8;
}
.btn:active {
  transform: translateY(1px);
}
/* スマホ時レイアウト調整 */
@media (max-width: 767px) {
  .hero {
    min-height: 460px;
  }
  .hero__content {
    padding: 150px 30px 48px;
  }
  .hero__content-inner {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero__title {
    font-size: 1.5rem;
  }
  .btn {
    width: 100%;
  }
}
/* ==============================
   FEATURE
============================== */
.section--feature {
  background-color: #ffffff;
}
.feature-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.feature-card:nth-child(odd) {
  flex-direction: row-reverse;
}
.feature-card:last-child {
  margin-bottom: 0;
}
.feature-card__figure {
  width: 48%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  margin: 0;
}
.feature-card__body {
  width: 48%;
}
.feature-card__title {
  font-size: 1.4rem;
  margin: 0 0 10px;
  font-weight: 600;
  color: #76c3cf;
}
.feature-card__text {
  font-size: 0.92rem;
  color: #555;
  margin: 0;
}
/* スマホ・タブレット時は1列 or 2列に落とす */
@media (max-width: 599px) {
  .feature-card {
    display: block;
  }
  .feature-card__figure {
    width: 100%;
    margin-bottom: 20px;
  }
  .feature-card__body {
    width: 100%;
  }
  .feature-card__title {
    font-size: 1.2rem;
  }
}
/* ==============================
   FLOW
============================== */
.section--flow {
  background-color: #f6fafb;
}
/* カードを並べるグリッド */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
/* カード本体 */
.flow-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px 20px 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: left;
  position: relative;
  overflow: hidden;
}
/* アイコン（丸い背景の中にピクト） */
.flow-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden; /* ← 丸からはみ出た部分をカット */
  background-color: #e1f3f6; /* 無くしてもOK。薄い縁っぽく残したいならこのまま */
  margin-bottom: 14px;
}
.flow-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← 正方形じゃなくてもきれいにトリミング */
  display: block;
}
/* STEP 表示 */
.flow-card__step {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #76c3cf;
  margin: 0 0 6px;
}
/* 見出し */
.flow-card__title {
  font-size: 1rem;
  margin: 0 0 10px;
  font-weight: 600;
}
/* テキスト */
.flow-card__text {
  font-size: 0.86rem;
  color: #555;
  margin: 0;
}
/* タブレット：2列 */
@media (max-width: 959px) {
  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* スマホ：1列 */
@media (max-width: 599px) {
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .flow-card {
    padding: 20px 18px 22px;
  }
}
/* ==============================
   DOCTOR
============================== */
.section--doctor {
  background-color: #ffffff;
}
.doctor-main {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  background-color: #f6fafb;
  border-radius: 16px;
  padding: 50px 50px;
}
.doctor-main:last-child {
  margin-bottom: 0;
}
/* 左側の大きい写真 */
.doctor-main__photo {
  flex: 1 1 38%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  height: 450px;
}
.doctor-main__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 右側テキストエリア */
.doctor-main__content {
  flex: 1 1 62%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.doctor-main__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #76c3cf;
}
.doctor-main__name {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.doctor-main__text {
  font-size: 0.92rem;
  color: #555;
  margin: 0;
}
.doctor-main .content.hide {
  height: 350px;
  overflow: hidden;
  position: relative;
}
.doctor-main .content .more {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 20px;
  text-align: center;
  background: linear-gradient(to bottom, rgb(246, 250, 251, 0) 0%, rgb(246, 250, 251, 1) 70%);
  cursor: pointer;
}
.doctor-main .content .more .btn {
  width: 150px;
  padding: 10px 0;
  border-radius: 50px;
  background-color: #57b7c8;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all .3s;
}
.doctor-main .content .more .btn:hover {
  opacity: 0.8;
  transition: all .3s;
}
/* ------------------------------
   レスポンシブ
------------------------------ */
/* タブレット以下：メインを縦並びに */
@media (max-width: 959px) {
  .doctor-main {
    display: block;
  }
  .doctor-main__photo {
    width: 250px;
    height: 300px;
    margin: 0 auto 20px;
  }
}
/* スマホ：カードを1列に */
@media (max-width: 599px) {
  .doctor-main {
    padding: 20px 18px;
  }
  .doctor-main__name {
    font-size: 1.2rem;
  }
}
/* ==============================
   衛生・設備
============================== */
/* バッジを重ねるために figure を基準にする */
.facility-card__figure {
  margin: 0;
  position: relative; /* ★ これが重要 */
}
/* バッジ共通スタイル */
.facility-badge {
  position: absolute;
  top: -18px; /* もう少し下にしたかったら -10px〜0px に調整 */
  right: 32px;
  width: 90px;
  height: auto;
  z-index: 5;
  pointer-events: none;
}
/* 必要なら個別調整用（今は共通と同じ） */
.facility-badge--mekkin {
  /* 個別に位置を微調整したくなったらここに書く */
}
.section--facility {
  background-color: #ffffff;
}
/* 3カードを並べるグリッド */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
/* カード本体 */
.facility-card {
  background-color: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* 写真部分 */
.facility-card__figure {
  margin: 0;
  position: relative;
}
/* 写真だけに適用する */
.facility-card__image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 18px 18px 0 0; /* ← ここを追加 */
}
/* 下のキャプション帯 */
.facility-card__caption {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 16px;
  background-color: #f3fafb;
  color: #333;
}
/* 説明文 */
.facility-card__text {
  padding: 12px 16px 18px;
  font-size: 0.86rem;
  color: #555;
  flex: 1 1 auto;
}
/* ------------------------------
   レスポンシブ
------------------------------ */
/* タブレット：2列 */
@media (max-width: 959px) {
  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* スマホ：1列 */
@media (max-width: 599px) {
  .facility-grid {
    grid-template-columns: 1fr;
  }
}
/* ==============================
   QUALITY & SAFETY（10の評価表）
============================== */
.safety-table__no {
  margin-right: 6px;
  font-size: 17px;
  position: relative;
  top: 1px;
}
.safety-table__no.no_10 {
  font-size: 19px;
}
.section--safety {
  background-color: #f6fafb;
  padding-top: 80px;
  padding-bottom: 80px;
}
/* 見出し下のリード文 */
.safety-lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  text-align: center;
}
.safety-lead + .safety-lead {
  margin-top: 4px;
  margin-bottom: 32px;
}
/* 表ブロック */
.safety-layout__table {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
/* テーブル本体 */
.safety-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.85rem;
}
/* ヘッダー行 */
.safety-table thead th {
  background-color: #40b1bd;
  color: #ffffff;
  font-weight: 600;
  padding: 10px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.safety-table thead th:last-child {
  border-right: none;
}
/* 各セル共通 */
.safety-table th, .safety-table td {
  border-bottom: 1px solid #e1eef0;
  padding: 10px 12px;
  vertical-align: middle;
}
/* 左列の「①〜⑩＋項目名」セル */
.safety-table tbody th {
  background-color: #40b1bd;
  color: #ffffff;
  font-weight: 600;
  text-align: left;
}
/* 左列（10の評価ポイント & 各行の①〜⑩）の右側にも縦罫線を付ける */
.safety-table thead th:nth-child(1), .safety-table tbody th[scope="row"] {
  border-right: 1px solid #e1eef0;
}
/* 右側のコメント列 */
.safety-table tbody td {
  color: #333;
}
/* ============================
   列幅調整（評価ポイント列＋有無列）
============================ */
/* 左列（10の評価ポイント）を細くする */
.safety-table thead th:nth-child(1), .safety-table tbody th[scope="row"] {
  width: 40%;
}
/* ------------------------------
   レスポンシブ
------------------------------ */
@media (max-width: 599px) {
  .safety-table thead th, .safety-table th, .safety-table td {
    padding: 8px 10px;
  }
  .safety-table thead th:nth-child(1), .safety-table tbody th[scope="row"] {
    width: 50%;
  }
}
/* ==============================
   バナー
============================== */
.section--banner {
  background-color: #ffffff;
}
.section--banner .banner {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.section--banner .banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
/* ==============================
   ACCESS
============================== */
.section--access {
  background-color: #e5f4f7;
}
/* 情報＋地図の2カラム */
.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
/* 左：医院情報ブロック */
.access-layout__info {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px 24px 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
/* 説明リスト */
.access-list {
  margin: 0;
  padding: 0;
}
.access-list__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid #eef4f5;
}
.access-list__row:last-child {
  border-bottom: none;
}
.access-list__row dt {
  font-weight: 600;
  color: #666;
}
.access-list__row dd {
  margin: 0;
  color: #333;
}
.access-list__row a[href^="tel:"] {
  font-weight: 600;
  color: #57b7c8;
}
/* 右：地図エリア */
.access-layout__map {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.map-wrapper {
  width: 100%;
  height: 100%;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}
/* ------------------------------
   レスポンシブ
------------------------------ */
/* タブレット以下：縦並び */
@media (max-width: 959px) {
  .map-wrapper {
    height: 350px;
  }
  .access-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .access-layout__map {
    order: -1; /* 先に地図を見せたいなら -1、後ろなら消してOK */
  }
}
/* スマホ：角丸や高さを少し調整 */
@media (max-width: 599px) {
  .map-wrapper {
    height: 250px;
  }
  .access-layout__info {
    padding: 20px 18px 18px;
  }
  .access-list__row {
    display: block;
  }
}
/* ==============================
   予約CTAボックス
============================== */
.section--reservation {
  background: linear-gradient(135deg, #e5f4f7 0%, #f6fbfc 40%, #ffffff 100%);
  padding-top: 60px;
  padding-bottom: 80px;
}
/* 真ん中のボックス */
.reservation-box {
  max-width: 720px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 18px;
  padding: 28px 32px 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  text-align: center;
  position: relative;
}
/* 上側にうっすら色帯を入れてアクセント（いらなければ削除OK） */
.reservation-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 2px solid rgba(87, 183, 200, 0.12);
  pointer-events: none;
}
.reservation-box__title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: #333;
}
.reservation-box__text {
  font-size: 0.92rem;
  color: #555;
  font-weight: 600;
  margin: 0 0 22px;
}
/* ボタン並び */
.reservation-box__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
/* 既存 .btn を利用して少しだけ強調変更 */
.section--reservation .btn--primary {
  min-width: 210px;
  font-weight: 600;
}
.section--reservation .btn--secondary {
  min-width: 210px;
  font-weight: 600;
}
/* TELボタンをちょっと目立たせる */
.section--reservation .btn--primary {
  background: linear-gradient(135deg, #57b7c8, #3fa5b7);
}
/* ------------------------------
   レスポンシブ
------------------------------ */
@media (max-width: 767px) {
  .reservation-box {
    padding: 22px 18px 26px;
    border-radius: 16px;
  }
  .reservation-box__title {
    font-size: 1.25rem;
  }
  .reservation-box__text {
    font-size: 0.9rem;
  }
  .reservation-box__buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .section--reservation .btn--primary, .section--reservation .btn--secondary {
    width: 100%;
  }
}
/* ==============================
   404
============================== */
.section--notfound {
  padding-top: 200px;
}
/* ==============================
   Communication Gear footer
============================== */
.site-footer--communication {
  background-color: #7fc5cd;
  color: #ffffff;
  padding: 56px 32px 32px;
  font-size: 0.95rem;
}
/* ─ PCレイアウト（デフォルト）──────────── */
/* 左：ロゴ、右：ナビ3カラム（添付1枚目） */
.site-footer--communication .site-footer__inner {
  max-width: 1000px;
  margin: 0 auto;
}
/* 左ロゴエリア */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.site-footer__brand-main img {
  display: block;
  max-width: 260px;
  height: auto;
}
.site-footer__brand-keep img {
  display: block;
  max-width: 220px;
  height: auto;
}
/* コピーライト（フッター下部センター） */
.site-footer--communication .site-footer__copyright {
  grid-column: 1 / -1; /* ロゴ＋ナビを横断して全幅 */
  margin: 32px 0 0;
  padding-top: 12px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
/* ==============================
   @media (max-width: 959px)
   ロゴを中央・その下にナビ3カラム（添付2枚目）
============================== */
@media (max-width: 959px) {
  .site-footer--communication {
    padding: 40px 40px 28px;
  }
  .site-footer--communication .site-footer__inner {
    grid-template-columns: 1fr; /* 1カラムにして上下に積む */
    row-gap: 32px;
  }
  .site-footer__brand {
    align-items: center;
  }
  .site-footer__brand-main img {
    max-width: 260px;
  }
  .site-footer__brand-keep img {
    max-width: 230px;
  }
  /* ナビ3カラムをロゴの下にセンター配置 */
  .site-footer__nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    column-gap: 18px;
    justify-content: center;
  }
  .site-footer__nav-col {
    align-items: flex-start; /* テキストは左揃え */
  }
  .site-footer__link {
    white-space: nowrap;
    text-align: left;
  }
  .site-footer--communication .site-footer__copyright {
    margin-top: 28px;
  }
}
/* ==============================
   @media (max-width: 599px)
   ロゴ上・ナビは1カラムで縦並び（添付3枚目）
============================== */
@media (max-width: 599px) {
  .site-footer--communication {
    padding: 32px 40px 24px;
  }
  /* ナビは1カラムで縦並びに */
  .site-footer__nav {
    width: 100%;
    display: block;
  }
  .site-footer__nav-col {
    margin-bottom: 16px;
  }
  .site-footer__link {
    white-space: normal; /* 折り返しOK */
    line-height: 1.8;
  }
  .site-footer--communication .site-footer__copyright {
    margin-top: 24px;
  }
}