/* WP「追加CSS」（wp-custom-css） */



.highlight {
  font-size: 24px;
  color: #f186a0;
}


/* ナビゲーションボタン共通スタイル */
.swiper-button-prev-three,
.swiper-button-next-three {
  position: absolute; /* 親要素内で固定 */
  top: 50%; /* 垂直方向で中央揃え */
  transform: translateY(-50%); /* 中央揃え */
  z-index: 10; /* 他の要素より前面に表示 */
  width: 30px; /* ボタンの幅 */
  height: 30px; /* ボタンの高さ */
  background: rgba(66, 65, 65, 0.5); /* 半透明の背景 */
  border-radius: 50%; /* 丸い形状 */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff; /* 矢印の色 */
  cursor: pointer; /* クリック可能にする */
}

/* 左矢印の位置 */
.swiper-button-prev-three {
  left: 10px; /* 親要素の左から10pxの位置 */
}

/* 右矢印の位置 */
.swiper-button-next-three {
  right: 10px; /* 親要素の右から10pxの位置 */
}

/* 矢印の見た目を調整 */
.swiper-button-prev-three::after,
.swiper-button-next-three::after {
  font-size: 20px; /* 矢印のサイズ */
  color: #fff; /* 矢印の色 */
  content: ''; /* 必要に応じてカスタムアイコンを設定 */
}


.swiper-pagination {
  position: static; /* 位置を親要素内に固定しない */
  margin-top: 10px; /* バナーとの間隔を設定 */
  text-align: center; /* 水平中央揃え */
}

.swiper-pagination-bullet {
  background-color: #ddd; /* 通常時の色 */
  opacity: 0.6;
  width: 10px;
  height: 10px;
  margin: 0 5px; /* バレット同士の間隔 */
  border-radius: 50%;
}

.swiper-pagination-bullet-active {
  background-color: #f49cb1; /* アクティブ時の色 */
  opacity: 1;
}



/* Swiper全体のコンテナ */
.custom-swiper-container {
  width: 100%;
  overflow: hidden; /* はみ出る部分を隠す */
	position: relative;
}

/* 各スライド */
.custom-swiper-container .swiper-slide {
  width: 100%; /* 各スライドが100%幅になるよう設定 */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* スライド内の画像 */
.custom-swiper-container picture img {
  width: 100%; /* 親要素に合わせる */
  height: auto; /* 縦横比を保持 */
  object-fit: cover;
}


.custom-swiper-container picture img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .custom-swiper-container {
    padding: 0; /* スライダー周辺の余白を調整 */
  }

  .custom-swiper-container picture img {
    max-width: 100%; /* 横幅を超えないようにする */
    height: auto;
  }
}

.custom-swiper-container .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.top_sns_list01 {
      display: flex;
      /*flex-wrap: wrap;*/
      gap: 36px;
    }
    .top_sns_list01 a {
      transition: .3s;
    }
    .top_sns_list01 a:hover {
      opacity: .6;
    }
    @media (max-width: 767px) {
      .top_sns_list01 {
        padding: 0 30px;
        gap: 30px;
      }
    }


p.eng {
        width: auto;
        padding:0;
        font-size: 8.0vw;
        color: #dadada;
        line-height: 1.0em;
        letter-spacing: .03em;
        font-family: 'Cormorant Infant', serif;
}

@media (max-width: 767px) {
      p.eng {
        font-size: 13.0vw;
      }
    }

@media (max-width: 767px) {
  .top_sns_list01 {
    flex-direction: column; /* 縦並びにする */
    align-items: center; /* 中央揃え */
    padding: 0 30px;
    gap: 20px; /* 間隔を調整 */
  }
  .top_sns_list01 img {
    max-width: 100%; /* 画面幅に収める */
    height: auto; /* アスペクト比を維持 */
  }
	div#official_sns .inner {
    width: 100%;
}
}


.Treatmenu_wrapp .hoken {
	display:none;
}


.contents_wrapp{
        width: 90%;
        margin: 0 auto;
        padding: 0 0 0px 0;
    }


/*TOP*/
.bannerinner
{
	width: auto;
  padding: 60px 0 0 0;
}

@media (max-width: 768px) { 
  .bannerinner{
	width: auto;
  padding: 120px 0 0 0;
}
}


.face_inner img {
	width:100%;
}

.reason_img img{
	padding-top:60px;
	width:100%;
}

.box_inner h3 {
        width: auto;
        font-size: 24px;
        color: #464646;
        letter-spacing: 0.1em;
        font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Noto Serif JP", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	text-align:center;
    }


.read {
        width: auto;
        padding: 30px 0 60px 0;
        font-size: 15px;
        /* color: #7b7b7b; */
        line-height: 2.1em;
        letter-spacing: 0.01em;
        font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Noto Serif JP", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	text-align:center;
	
    }



/*アコーディオン*/


.accordion-title {
  cursor: pointer;
  background-color: none;
  padding: 10px;
  border: 1px solid #ffffff;
  margin: 5px 0;
  display: flex;
  justify-content: space-between; /* 矢印を右端に配置 */
  align-items: center;
}

.accordion-arrow {
  transition: transform 0.3s ease; /* 回転アニメーション */
  font-size: 14px; /* 矢印のサイズ */
}

.accordion-arrow.open {
  transform: rotate(180deg); /* 開いたときに反転 */
}

.accordion-content {
 display: none; /* 初期状態で非表示 */
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

@media (max-width: 768px) { /* スマートフォンやタブレットサイズ */
  .accordion-arrow {
    display: none;
  }
}

/*アコーディオンここまで*/

.swiper-container {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  overflow: hidden; /* 横スクロール防止 */
	position:relative;
}

.swiper-wrapper {
  display: flex; /* 横並びの保持 */
}

.swiper-slide {
  text-align: center;
  box-sizing: border-box;
  flex-shrink: 0; /* スライドのサイズを固定 */
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .swiper-slide {
    width: auto;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .swiper-slide {
    width: auto;
    padding: 0 5px;
  }
}
/* 目次の番号や丸を消す */
#toc_container ul, 
#toc_container ol {
  list-style: none !important;
  padding-left: 0 !important;
}

#toc_container li::before {
  content: none !important;
}

.campaign-more {
  text-align: center;
  margin: 32px 0 56px;
}

.campaign-more a {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid #d99aaa;
  border-radius: 999px;
  color: #c36b83;
  font-size: 15px;
  letter-spacing: .08em;
  text-decoration: none;
}

.campaign-list {
  margin-top: 20px;
}

.campaign-list h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .18em;
  margin-bottom: 28px;
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.campaign-grid .item img {
  width: 100%;
  display: block;
}

@media screen and (max-width: 767px) {
  .campaign-more {
    margin: 24px 0 40px;
  }

  .campaign-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .campaign-more a {
    width: 90%;
    padding: 13px 20px;
  }
}

/* =========================
   キャンペーンブロック
========================= */

/* FVと8月キャンペーンの間 */
#campaign .august-campaign-block {
  padding-top: 110px;
}

/* 8月と9月・10月キャンペーンの間 */
#campaign .anniversary-campaign-block {
  margin-top: 140px;
  padding-top: 0;
}


/* =========================
   タイトル
========================= */

#campaign .campaign-block .common_title {
  margin-bottom: 40px;
}

/* 施術の分類ページ（/treatment/cosmetic-surgery/nose/ など）の施術メニュー。src/lib/rehype-category-menu.mjs が作る（2026-11-28） */
#CATEGORY .category-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 30px 0 60px; padding: 0; list-style: none; }
#CATEGORY .category-menu li { margin: 0; }
#CATEGORY .category-menu a { display: block; border: 1px solid #e6dfe3; border-radius: 12px; overflow: hidden; color: #4d4d4d; text-decoration: none; background: #fff; transition: opacity .2s; }
#CATEGORY .category-menu a:hover { opacity: .75; }
#CATEGORY .category-menu img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
#CATEGORY .category-menu span { display: block; padding: 12px 14px; font-size: 15px; line-height: 1.5; }
#CATEGORY .category-menu-empty { margin: 30px 0 60px; text-align: center; }
@media screen and (max-width: 900px) { #CATEGORY .category-menu { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media screen and (max-width: 600px) { #CATEGORY .category-menu { grid-template-columns: 1fr; } }
#CATEGORY .category-menu-noimg { display: block; aspect-ratio: 16 / 9; background: linear-gradient(112.5deg, #e3f1f5, #f8e3eb); }
/* 症例の個別ページ（src/layouts/Case.astro）：一覧用の2列の箱を1件だけ中央に大きく見せる（2026-11-28 院長指摘：写真が消えてレイアウトが崩れていた） */
#CASE_DETAIL .case-single { max-width: 820px; margin: 0 auto; }
#CASE_DETAIL .case-single div.case_wrapp { display: block; }
#CASE_DETAIL .case-single div.case_wrapp div.case_block { width: 100% !important; margin: 0 !important; }
#CASE_DETAIL .case-single div.case_wrapp div.case_block div.img_box { justify-content: center; gap: 4%; }
#CASE_DETAIL .case-single div.case_wrapp div.case_block div.img_box div.img { width: 42%; max-width: 340px; }
#CASE_DETAIL .case-single .case-single-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
#CASE_DETAIL .case-single .case-single-tags a { display: inline-block; font-size: 13px; padding: 5px 14px; border: 1px solid #e3c3d1; border-radius: 999px; color: #b65f80; text-decoration: none; background: #fff; }
#CASE_DETAIL .case-single .case-single-tags a:hover { background: #fbeff4; }
#CASE_DETAIL .case-single .case-single-links { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 36px 0 72px; }
#CASE_DETAIL .case-single .case-single-btn { display: inline-block; min-width: 320px; padding: 14px 28px; text-align: center; font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(90deg, #8fb8cf, #ee8daf); border-radius: 999px; text-decoration: none; }
#CASE_DETAIL .case-single .case-single-btn:hover { opacity: .85; color: #fff; }
#CASE_DETAIL .case-single .case-single-sub { font-size: 14px; color: #b65f80; text-decoration: none; }
@media screen and (max-width: 768px) {
  #CASE_DETAIL .case-single div.case_wrapp div.case_block div.img_box div.img { width: 46%; }
  #CASE_DETAIL .case-single .case-single-btn { min-width: 0; width: 100%; box-sizing: border-box; }
  #CASE_DETAIL .case-single .case-single-tags, #CASE_DETAIL .case-single .case-single-links { padding: 0 16px; }
}
/* 症例の表（施術内容・リスク・ダウンタイム・費用）の共通デザイン（2026-11-28 院長「このデザインをフォーマットに」）
   症例の詳しいページ・症例一覧・施術ページの症例欄すべて。見出しはボタン/AIチャットと同じ青→ピンクの薄いグラデ、字はゴシックで濃いめ */
html body :is(#CASE_DETAIL, #CASE) div.case_wrapp div.case_block.case_block div.detail_box.detail_box div.table_wrapp table { border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; border: 1px solid #ecdde3; }
html body :is(#CASE_DETAIL, #CASE) div.case_wrapp div.case_block.case_block div.detail_box.detail_box div.table_wrapp table tbody tr { border: 0; }
html body :is(#CASE_DETAIL, #CASE) div.case_wrapp div.case_block.case_block div.detail_box.detail_box div.table_wrapp table tbody tr th.name { background: linear-gradient(115deg, #a7c4d6 0%, #c9b3cc 50%, #eaa9c0 100%); border: 0; border-bottom: 1px solid rgba(255,255,255,.6); }
html body :is(#CASE_DETAIL, #CASE) div.case_wrapp div.case_block.case_block div.detail_box.detail_box div.table_wrapp table tbody tr td.detail { border: 0; border-bottom: 1px solid #f1e6ea; background: #fff; padding-left: 16px; padding-right: 12px; }
html body :is(#CASE_DETAIL, #CASE) div.case_wrapp div.case_block.case_block div.detail_box.detail_box div.table_wrapp table tbody tr:last-child th.name, html body :is(#CASE_DETAIL, #CASE) div.case_wrapp div.case_block.case_block div.detail_box.detail_box div.table_wrapp table tbody tr:last-child td.detail { border-bottom: 0; }
html body :is(#CASE_DETAIL, #CASE) div.case_wrapp div.case_block.case_block div.detail_box.detail_box div.table_wrapp table tbody tr th.name p { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .1em; text-shadow: 0 1px 2px rgba(120,80,110,.18); }
html body :is(#CASE_DETAIL, #CASE) div.case_wrapp div.case_block.case_block div.detail_box.detail_box div.table_wrapp table tbody tr td.detail p { font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif; font-size: 14px; font-weight: 500; color: #444; line-height: 1.8; letter-spacing: .03em; }
/* 2列並びの一覧では少し小さく */
html body :is(#CASE_DETAIL, #CASE) div.case_wrapp:not(.case-single div.case_wrapp) div.case_block.case_block div.detail_box.detail_box div.table_wrapp table tbody tr :is(th.name, td.detail) p { font-size: 13px; }
@media screen and (max-width: 768px) {
  html body :is(#CASE_DETAIL, #CASE) div.case_wrapp div.case_block.case_block div.detail_box.detail_box div.table_wrapp table tbody tr :is(th.name, td.detail) p { font-size: 13px; }
}
