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

  *基本設定

==================================================================================================================================*/
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 500;
  background-color: #f9f9f9;
  color: #1A3651;
}

body,
html {
  overflow-x: hidden;
}

h1 {
    font-family: 'Noto Serif', serif;
    font-size: 15px;
}

@media screen and (max-width: 768px) {
h1 {
    font-size: 13px;
}
}

h2 {
  font-family: 'Noto Serif', serif;
}

p {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 500;
  color: #1A3651;
　z-index: 1;
}

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

  *改行設定

==================================================================================================================================*/
/* デスクトップだけ改行させる */
.pc-br {
  display: block;
}

@media (max-width: 768px) {
  .pc-br {
    display: none;
  }
}

.sp-br {
  display: none;
}

/* モバイルだけ改行させる */
@media (max-width: 768px) {
  .sp-br {
    display: block;
  }
}

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

  *メイン画像

==================================================================================================================================*/
/* ベーススタイル */
.main-image {
  padding: 0
}

.main-image img {
  width: 100%;
  /* 画像の幅を親要素に合わせる */
  height: auto;
  /* 画像の高さを自動調整 */
}

/* デスクトップ版画像（初期設定：表示） */
.desktop-image {
  display: block;
}

/* モバイル版画像（初期設定：非表示） */
.mobile-image {
  display: none;
}

/* モバイルサイズ用スタイル */
@media only screen and (max-width: 767px) {

  /* モバイル版画像を表示 */
  .mobile-image {
    display: block;
  }

  /* デスクトップ版画像を非表示 */
  .desktop-image {
    display: none;
  }
}

/* デスクトップ版のメディアクエリ（767px以上） */
@media only screen and (min-width: 768px) {

  /* デスクトップ版画像を表示 */
  .desktop-image {
    display: block;
  }

  /* モバイル版画像を非表示 */
  .mobile-image {
    display: none;
  }
}

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

  *メニュー

==================================================================================================================================*/
.global-nav {
  position: relative;
  z-index: 999;
  background: #fff;
  border-top: 1px solid #f2dfe3;
  border-bottom: 1px solid #f2dfe3;
  transition: box-shadow 0.2s ease;
}

.global-nav.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  margin-top: 10px;
}

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

.nav-list>li {
  position: relative;
}

/* 日本語＋英語2段 */
.nav-list>li>a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 15px;
  text-decoration: none;
  color: #444;
  letter-spacing: 0.05em;
  border-bottom: 3px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-ja {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.nav-en {
  font-size: 11px;
  margin-top: 2px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8a5a9;
}

.nav-list>li>a:hover,
.nav-list>li>a:focus {
  background: #fff5f7;
  border-bottom-color: #b35e6d;
  color: #b35e6d;
}

.nav-list>li>a:hover .nav-en,
.nav-list>li>a:focus .nav-en {
  color: #b35e6d;
}

/* ▼付き */
.has-submenu>a::after {
  content: "▼";
  font-size: 9px;
  margin-top: 3px;
}

/* サブメニュー（PC基準） */
.submenu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #f1d6dd;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
}

.submenu li a:hover,
.submenu li a:focus {
  background: #fff5f7;
  color: #b35e6d;
}

/* ハンバーガーボタン（PCでは非表示） */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #b35e6d;
  margin: 2px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #b35e6d;
  margin-top: 2px;
}

/* 開いている時の×表現 */
.global-nav.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.global-nav.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.global-nav.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ======================
   共通（PC/スマホ両方で使う）
   ====================== */

/* 婦人科案内のサブメニュー：PC用の絶対配置はそのまま */
.submenu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #f1d6dd;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
}

/* PC：ホバー／キーボード操作で開く */
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ======================
   モバイル用レイアウト
   ====================== */
@media (max-width: 768px) {

  /* ナビ全体：上部固定＋背景は透明 */
  .global-nav {
    display: none;
  }
}

/*==================================================================================================================================
  PC 用（769px 以上）
==================================================================================================================================*/
@media (min-width: 769px) {
  .nav-inner {
    padding: 0 15px;
  }

  .nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
  }

  .nav-toggle {
    display: none;
  }
}

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

  *お知らせ

==================================================================================================================================*/
.news-section {
  width: 100%;
  padding: 40px 0;
  /* 上下だけ余白。左右は内側で取る */
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background-color: #fff;
}

/* 内側：コンテンツを中央寄せ＋最大1000px */
.news-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  /* 左右の余白 */
}

.news-title {
  text-align: center;
  margin-bottom: 30px;
}

.news-title h2 {
  font-size: 40px !important;
  letter-spacing: 0.1em;
  color: #1A3651 !important;
  font-weight: normal;
  margin-bottom: 5px;
  font-family: 'Noto Serif', serif;
}

.news-title p {
  font-size: 20px !important;
  color: #c97c7c !important;
  font-family: 'Noto Serif', serif;
  margin-top: 0;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  margin-bottom: 20px;
}

.news-list li a {
  display: flex;
  gap: 20px;
  text-decoration: none;
  color: #3a362d;
  font-size: 15px;
  line-height: 1.8;
  transition: background-color 0.2s;
  padding: 10px;
  border-radius: 4px;
}

.news-list li a:hover {
  background-color: #f5f5f5;
}

.news-list .date {
  white-space: nowrap;
  min-width: 100px;
  color: #888;
  font-size: 14px;
}

/* MOREリンク矢印アニメーション */
.news-more {
  text-align: right;
  /* これがポイント */
  margin-top: 20px;
}

.news-more a {
  text-decoration: none;
  color: #1A3651;
  font-size: 18px;
  display: inline-block;
  position: relative;
  padding-right: 18px;
  font-family: 'Noto Serif', serif;
}

.news-more .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  position: absolute;
  right: 0;
  top: 0;
}

.news-more a:hover .arrow {
  transform: translateX(5px);
}

@media screen and (max-width: 768px) {
  .news-section {
    padding: 15px;
    width: auto;
  }

  .news-title h2 {
    font-size: 28px !important;
  }

  .news-title p {
    font-size: 13px;
  }

  .news-list li a {
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    padding: 12px;
  }

  .news-list .date {
    font-size: 13px;
    min-width: auto;
    color: #666;
  }

  .news-more {
    margin-top: 30px;
    text-align: center;
  }

  .news-more a {
    font-size: 16px;
    padding-right: 20px;
  }
}

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

  *YouTube

==================================================================================================================================*/
.youtube-block {
  padding: 100px 20px;
  background-image: url('../images/s-back1.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  /* セクション全体にフィット */
}

.youtube-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  /* ★ 縦方向を中央揃えにする */
  justify-content: space-between;
  flex-wrap: wrap;
}


.youtube-text,
.youtube-video {
  flex: 1 1 0;
  min-width: 320px;
}

/* 見出し・テキスト */
.youtube-title {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #c97c7c;
}

.youtube-desc {
  font-size: 14px;
  line-height: 1.8;
}

/* YouTube 埋め込みのレスポンシブ対応 */
.youtube-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 比率 */
}

.youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* モバイル：縦並び */
@media (max-width: 768px) {
  .youtube-inner {
    flex-direction: column;
    gap: 24px;
  }

  .youtube-title {
    font-size: 23px;
    text-align: center;
  }

  .youtube-desc {
    font-size: 13px;
  }
}

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

  *診療科目

==================================================================================================================================*/
/* セクション全体 */
.dept-section {
  padding: 60px 20px;
  background: linear-gradient(180deg,
      #F4F0F0 0%,
      #FAF5F5 50%,
      #FFFFFF 100%);

}

.dept-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* タイトル（必要なら） */
.dept-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 32px;
}

/* グリッドレイアウト */
.dept-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 各カード */
.dept-item a {
  display: block;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px 18px 18px;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dept-item a:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

/* 上部のアイコンエリア */
.dept-thumb {
  background-color: #ebe5dfb2;
  /* 中の淡いピンク枠 */
  border-radius: 18px;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.dept-thumb img {
  max-width: 60%;
  height: auto;
}

/* 下のラベル部分（丸い矢印＋テキスト） */
.dept-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.dept-label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #e86a82;
  /* 矢印のピンク */
  color: #fff;
  font-size: 11px;
  margin-right: 8px;
}

/* タブレット：2列 */
@media (max-width: 1024px) {
  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ：1列 */
@media (max-width: 768px) {
  .dept-section {
    padding: 30px 5px;
  }

  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .dept-item a {
    padding: 18px 10px;
  }

  .dept-thumb {
    min-height: 110px;
  }
}

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

  *当院について

==================================================================================================================================*/
.treatment-section.treatment-reason {
  padding: 50px 0px;
  background-color: #fff;
  /* 画像がない部分の下地色 */
  background-image: url(../images/about-bg.png);
  background-repeat: no-repeat;
  background-position: top center;
  /* 画像の起点を上中央に */
  background-size: cover;
  /* 画面幅いっぱいにフィット */
}

/* コンテンツのラッパー */
.treatment-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 30px 50px 30px 80px;
  /* 左に少し余白 */
  margin-bottom: 40px;
}

/* 画像とテキストの左右入れ替え */
.reverse {
  flex-direction: row-reverse;
}

/* テキストブロック */
.text-container {
  width: 45%;
  padding-right: 20px;
}

/* 画像アイコンが入った場合（このセクション用） */
.treatment-number img {
  display: block;
  margin: 0 auto;
  width: 80px;
  /* お好みで 70〜110px くらい調整 */
  height: auto;
}

/* 見出し */
.treatment-heading {
  font-size: 32px;
  font-family: "shippori-mincho", serif;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 400;
}

/* 共通段落（他のp用） */
.treatment-section p {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

/* 枠付きテキストボックス（元チェックリスト） */
.checklist {
  background-color: #ffffff8f;
  margin: 20px 80px;
  padding: 30px;
  border-left: 6px solid #b35e6d;
  border-top: 1px solid #b35e6d;
  border-right: 1px solid #b35e6d;
  border-bottom: 1px solid #b35e6d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ボックス内の文章 */
.checklist-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  font-family: "shippori-mincho", serif;
  font-weight: 600;
}

/* 画像部分 */
.image-container {
  width: 50%;
  margin-left: 20px;
}

.treatment-img {
  width: 100%;
  height: auto;
}

/* =========================
   タブレット ～1024px
   ========================= */
@media screen and (max-width: 1024px) {
  .treatment-content {
    align-items: center;
    padding: 30px 10px;
    margin-bottom: 40px;
  }

  .treatment-heading {
    font-size: 25px;
    margin-bottom: 20px;
    text-align: center;
  }

  .text-container {
    text-align: center;
    padding-right: 0;
    width: 100%;
  }

  .image-container {
    margin-top: 20px;
    width: 60%;
    margin-left: 0;
  }

  .checklist {
    margin: 20px 10px;
    padding: 25px;
    text-align: left;
  }
}

/* =========================
   モバイル ～600px
   ========================= */
@media screen and (max-width: 600px) {
  .treatment-content {
    flex-direction: column;
    padding: 30px 10px;
    margin-bottom: 40px;
  }

  .treatment-heading {
    font-size: 22px;
  }

  .text-container {
    width: 100%;
    text-align: center;
    padding-right: 0;
  }

  .image-container {
    width: 100%;
    margin-top: 20px;
    margin-left: 0;
  }

  .checklist {
    margin: 20px 10px;
    padding: 20px;
  }

  .checklist-text {
    font-size: 15px;
  }

  .treatment-number img {
    width: 60px;
  }
}

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

  *院長紹介

==================================================================================================================================*/
.greeting-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 60px 60px 120px;
  background: linear-gradient(to right, #fffdfc, #F1E2E1);
  flex-wrap: wrap;
  gap: 40px;
}

.greeting-image {
  flex: 1;
  max-width: 400px;
}

.greeting-image img {
  width: 100%;
  height: auto;
}

.greeting-content {
  flex: 2;
  font-family: 'Noto Serif', serif;
}

.greeting-content h2 {
  font-size: 32px;
  margin-bottom: 10px;
  position: relative;
  font-weight: 400;
}

.greeting-content h2 .en-title {
  font-size: 48px;
  color: #d0afc2;
  letter-spacing: 4px;
  display: block;
  margin-top: 5px;
  font-weight: 400;
  font-style: italic;
}

.greeting-content h3 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 30px;
}

.greeting-content .name {
  display: inline-block;
  font-size: 20px;
  border: 2px solid #333;
  padding: 5px 10px;
  margin-top: 10px;
}

.greeting-content .sign {
  font-family: 'Noto Serif', serif;
  font-size: 24px;
  margin-top: 5px;
  display: block;
  color: #888;
}

.greeting-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 20px;
}

/* 院長挨拶モバイル */
@media screen and (max-width: 768px) {
  .greeting-image {
    order: 2;
  }

  .greeting-content {
    order: 1;
  }

  .greeting-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .greeting-image,
  .greeting-content {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .greeting-content h2 .en-title {
    font-size: 36px;
  }

  .greeting-content h3 {
    font-size: 22px;
    text-align: left;
  }

  .greeting-content p {
    font-size: 15px;
    text-align: left;
  }

  .greeting-content .name {
    font-size: 18px;
  }

  .greeting-content .sign {
    font-size: 20px;
  }
}

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

  *公式Instagram

==================================================================================================================================*/
/* セクション全体 */
.top-ig-section {
  padding: 60px 0;
  background: #fff5f7;
  /* 全体の背景色（お好みで） */
}

.top-ig-section .width__90per {
  max-width: 1100px;
  margin: 0 auto;
}

/* 見出し */
.top_title {
  text-align: center;
  font-size: 26px;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
  font-weight: 600;
  color: #333;
}

.top_title span {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #b35e6d;
}

/* Instagram プラグイン周りの調整 */
.top-ig-inner {
  margin: 10px auto 0;  /* 上 10px / 左右 自動 / 下 0 */
  width: 80%;
}

/* ヘッダー（アイコン＋アカウント名） */
#sb_instagram .sb_instagram_header {
  border-radius: 16px;
  background: #fff;
  padding: 16px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
}

/* アカウント名 */
#sb_instagram .sbi_feedtheme_header_text h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

/* プロフィール文は少し小さめ */
#sb_instagram .sbi_bio {
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}

/* 画像グリッドの余白（プラグインの inline style 上書き） */
#sbi_images {
  gap: 10px !important;
}

/* 各サムネをカードっぽく */
#sbi_images .sbi_item .sbi_photo_wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

/* 画像は100%表示 */
#sbi_images img {
  display: block;
  width: 100%;
  height: auto;
}

/* フォローボタンを中央に */
#sbi_load {
  text-align: center;
  margin-top: 20px;
}

#sbi_load .sbi_follow_btn a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 999px;
  background: #b35e6d !important;
  border: none;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

#sbi_load .sbi_follow_btn svg {
  width: 16px;
  height: 16px;
}

/* ====== レスポンシブ ====== */
@media (max-width: 768px) {
  .top-ig-section {
    padding: 40px 0;
  }

  .top_title {
    font-size: 22px;
  }
}

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

  *診療時間/支払い

==================================================================================================================================*/
/* セクション全体 */
.clinic-info-section {
  padding: 60px 0;
  background-color: #fff;
}

.clinic-info-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  position: relative;
}

/* 真ん中の点線の区切り */
.clinic-info-inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: 1px dotted #d9d9d9;
}

/* カラム */
.clinic-info-left,
.clinic-info-right {
  width: 50%;
}

/* 共通タイトル（既存の .news-title に追加調整） */
.clinic-info-section .news-title {
  text-align: center;
  margin-bottom: 24px;
}

/* ========== 診療時間テーブル ========== */

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
  text-align: center;
}

.hours-dept-row th {
  background-color: #f8cfcf;
  color: #444;
  padding: 10px 0;
  font-weight: 600;
}

.hours-head-row th {
  background-color: #fff6f6;
  color: #666;
  padding: 8px 0;
  font-weight: 500;
}

.hours-time {
  width: 110px;
  background-color: #fff6f6;
  font-weight: 500;
}

.hours-table td,
.hours-table th {
  border-bottom: 1px dotted #f0c7c7;
  padding: 10px 0;
}

/* ○マーク */
.circle {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #8fd3c5;
}

.circle.on {
  background-color: #8fd3c5;
}

/* 診療時間の注意書き */
.hours-note {
  font-size: 13px;
  line-height: 1.7;
  color: #555;
  margin-top: 8px;
}

/* 休診日ボックス */
.closed-box {
  margin-top: 18px;
  padding: 12px 18px;
  background-color: #fff6f6;
  border-left: 5px solid #f2a5aa;
  text-align: center;
  font-weight: 600;
  color: #444;
  font-size: 14px;
}

/* ========== お支払い方法 ========== */

.payment-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

.payment-list li::before {
  content: "●";
  color: #f2a5aa;
  margin-right: 6px;
  font-size: 10px;
}

.payment-card-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 18px;
  background-color: #e0f4f0;
}

.payment-card-label {
  font-size: 13px;
  margin: 0;
}

/* ========== アクセス ========== */

.access-list {
  margin: 8px 0 0;
  padding: 0;
}

.access-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.access-row dt {
  flex: 0 0 70px;
  background-color: #f8cfcf;
  color: #444;
  font-size: 13px;
  text-align: center;
  padding: 6px 8px;
  margin-right: 10px;
}

.access-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

/* =========================
   レスポンシブ
   ========================= */
@media (max-width: 900px) {
  .clinic-info-inner {
    flex-direction: column;
    gap: 40px;
  }

  .clinic-info-inner::before {
    display: none;
    /* 点線の区切りは非表示 */
  }

  .clinic-info-left,
  .clinic-info-right {
    width: 100%;
  }
}

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

  *フッター

==================================================================================================================================*/
.site-footer {
  background: linear-gradient(135deg, #fbe9ec, #fdf7f7);
  /* やさしいピンク系 */
  padding: 40px 15px 30px;
  color: #555;
  font-size: 14px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* ロゴ */
.footer-logo {
  text-align: center;
  margin-bottom: 24px;
}

.footer-logo img {
  display: block;
  max-width: 220px; /* ロゴの最大幅 */
  width: 100%;
  height: auto;
  margin: 0 auto;   /* ここで中央寄せ */
}

/* メニュー（サイトマップ） */
.footer-nav {
  margin-bottom: 24px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer-nav a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* バナー3つ */
.footer-banners {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-banner {
  display: block;
  max-width: 260px;
  flex: 1 1 30%;
}

.footer-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* コピーライト */
.footer-copy {
  font-size: 12px;
  color: #888;
  margin: 0;
}

/* =====================
   スマホ対応
   ===================== */
@media (max-width: 768px) {
  .footer-nav ul {
    gap: 8px 16px;
  }

  .footer-banner {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

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

  *固定CTAラッパー

==================================================================================================================================*/
.fixed-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 9999;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

/* 各ボタン共通スタイル */
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
  border: 2px solid;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cta-btn i {
  font-size: 1.3em;
}

/* 中絶手術WEB予約 */
.cta-abortion {
  color: #b35e6d;
  border-color: #b35e6d;
}

.cta-abortion:hover {
  background: #b35e6d;
  color: #fff;
}

/* ピル処方外来予約 */
.cta-pill {
  color: #c97c7c;
  border-color: #c97c7c;
}

.cta-pill:hover {
  background: #c97c7c;
  color: #fff;
}

/* 医療相談掲示板 */
.cta-board {
  color: #1A3651;
  border-color: #1A3651;
}

.cta-board:hover {
  background: #1A3651;
  color: #fff;
}

/* TOPボタン（丸ボタン） */
.cta-top {
  color: #fff;
  border-color: #c8a88b;
  background-color: #c8a88b;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  font-size: 1rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cta-top:hover {
  background-color: #e9d8c5;
  border-color: #e9d8c5;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .fixed-cta {
    bottom: 0;
    left: 0;
    transform: none;
    width: 97%;
    padding: 5px;
    justify-content: space-between;
    gap: 0px;
  }

  .cta-btn {
    width: 32%;
    /* 3つ並べる想定 */
    padding: 10px 0;
    font-size: 0.68rem;
    text-align: center;
  }

  .cta-btn span {
    display: block;
    text-align: center;
  }

  .cta-top {
    position: absolute;
    top: -55px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1rem;
  }
}

/* PC版 */
@media (min-width: 769px) {
  .fixed-cta {
    bottom: 20px;
    left: 0;
    width: auto;
    justify-content: flex-end;
    gap: 5px;
  }

  .cta-btn {
    width: auto;
    padding: 15px 25px;
    font-size: 1.1rem;
  }

  .cta-top {
    width: 70px;
    height: 70px;
    font-size: 1.2rem;
    position: relative;
  }
}
/*==================================================================================================================================

  *Instagramのプラグイン

==================================================================================================================================*/
#top_ig {
  width: 100%;
  clear: both;
  margin: 0px auto;
}

#top_ig .top-ig-inner {
  display: block;
}

/* テーマ側で ul, li に強すぎる指定がある場合に壊れにくくする例 */
#top_ig ul,
#top_ig li {
  box-sizing: border-box;
}
/* 新しいバージョン系 */
#top_ig .sbi_items {
  display: block !important;
}

/* 古いバージョン系（ul/liのやつ） */
#top_ig .sbi_images {
  display: block !important;
}


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

  *ハンバーガーメニュー

==================================================================================================================================*/
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
/* ハンバーガーアイコン */
.drawer-hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #DEA099;
  width: 60px;
  height: 60px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10001;
  cursor: pointer;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}
.drawer-hamburger-icon {
  width: 24px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: all 0.3s ease;
  top: 8px;
}
span.menu_txt {
  top: 12px;
  position: relative;
}
.drawer-hamburger-icon::before,
.drawer-hamburger-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}
.drawer-hamburger-icon::before {
  top: -8px;
}
.drawer-hamburger-icon::after {
  top: 8px;
}
.menu_txt::before {
  content: 'MENU';
  font-size: 10px;
  margin-top: 6px;
}
#drawer-checkbox:checked + #drawer-icon .drawer-hamburger-icon {
  background: transparent;
}
#drawer-checkbox:checked + #drawer-icon .drawer-hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
}
#drawer-checkbox:checked + #drawer-icon .drawer-hamburger-icon::after {
  transform: rotate(-45deg);
  top: 0;
}
#drawer-checkbox:checked + #drawer-icon .menu_txt::before {
  content: 'CLOSE';
}

/* メニュー全体 */
#drawer-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
	position: fixed; 
	top: -100px; 
	left: -9999px;
}
#drawer-content {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fffef7;
  z-index: 10000;
  overflow-y: auto;
  padding: 2rem 1rem;
}
#drawer-checkbox:checked ~ #drawer-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ベース装飾 */
.drw_index {
  font-weight: bold;
  font-size: 1.2em;
  margin: 1.5em 0 0.5em;
  color: #DEA099;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

.com_sp_menu li,
.com_medical li {
	margin-bottom: 0.6em;
	font-size: 1rem;
}

/* com_sp_menu内のリンクの文字色 */
.com_sp_menu a {
  color: #444; /* リンクのデフォルト色（グレー） */
  text-decoration: none; /* リンクの下線を消す */
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

/* com_sp_menu内のリンクの文字色 */
.com_medical a {
  color: #444; /* リンクのデフォルト色（グレー） */
  text-decoration: none; /* リンクの下線を消す */
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

li.littl {
	font-size:1.2rem;
	font-weight:600;
    color: #444;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

.com_sp_menu li:not(.littl),
.com_medical li:not(.littl) {
  position: relative;
  padding-left: 1.4em;
  list-style: none;
}

.com_sp_menu li:not(.littl)::before,
.com_medical li:not(.littl)::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.5em;
  height: 0.5em;
  background-color: #DEA099;
  border-radius: 50%;
}

.tel {
  font-size: 1em;
  margin-top: 1.5em;
}

.drw_info .schedule-table{
  margin: 10px 0;
}
.telp {
  font-size: 1.5rem;
}
.telp i {
  margin: 0 5px 0 0;
}
.web-reserve a {
  display: inline-block;
  font-size: 1.2rem;
  margin-top: 0.5em;
  background: #DEA099;
  color: #fff;
  padding: 0.6em 1.2em;
  border-radius: 30px;
  text-decoration: none;
}
/* 診療案内（横並び） */
.drw-medical{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* SP: 2列 */
  gap: 0.6em 1.2em;
  margin: 0.6em 0 1.2em;
  padding-left: 0; /* ULの左右余白を詰める */
  list-style: none;
}

/* ドット位置の微調整（既存ルールを踏襲） */
.drw-medical li{
	position: relative;
	padding-left: 1.4em;
	font-size: 1rem;
}
.drw-medical li::before{
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.5em;
  height: 0.5em;
  background-color: #DEA099;
  border-radius: 50%;
}
}
/* ============ PC(デスクトップ)では非表示 ============ */
.drawer-hamburger,
#drawer-content {
  display: none;        /* PCではハンバーガーもドロワーも出さない */
}

#drawer-checkbox {
  display: none;        /* PCではハンバーガーもドロワーも出さない */
}

/* ============ SPだけ表示 ============ */
@media (max-width: 768px){
  .drawer-hamburger {
    display: flex;      /* ここで表示（あなたの既存スタイルが効く） */
  }
  #drawer-content {
    display: block;     /* ドロワーの土台を出す（checkedで開閉） */
  }
}
.footer-schedule {
  text-align: center;
  flex-grow: 1;
  margin: 0 20px;
  padding: 15px;
  border-radius: 8px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

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


.note {
  font-size: 12px;
  margin-top: 5px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
}

address {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック", "Yu Gothic", Meiryo, sans-serif;
    font-size: 1rem; /* フォントサイズ */
    color: #333; /* フォントカラー */
    line-height: 1.5; /* 行間の調整 */
}

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