/**
 *  カスタムCSS - シンプルヘッダー版
 */

/* ========== 変数定義 ========== */
:root {
  --header-bg: #ffffff;
  --contact-btn-bg: #938C87;
  --contact-btn-hover: #6ab3b3;
  --title-primary: #403A3926;
  --text-primary: #403A39;
  --text-wt-primary: #FFFFFF33;
  --text-secondary: #666666;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== ヘッダー基本スタイル(全ページ共通) ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  transition: var(--transition);
  height:106px;
}

.site-header.scrolled {
  /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
  height:106px;
  filter: invert(38%) sepia(26%) saturate(382%) hue-rotate(10deg) brightness(100%);
}

.site-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height:106px;
}

.magin-bottom-0 {
	margin-bottom:0 !important;
}

/* ========== ロゴエリア ========== */
.header-logo {
  flex-shrink: 0;
}

.header-logo a {
  display: block;
  line-height: 0;
}

.header-logo img,
.header-logo .custom-logo {
  height: 61px;
  width: auto;
  transition: var(--transition);
}

.site-header.scrolled .header-logo img,
.site-header.scrolled .header-logo .custom-logo {
  height: 61px;
}

/* ========== ナビゲーションメニュー ========== */
.header-nav {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

.header-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 50px;
  align-items: center;
}

.header-menu li {
  position: relative;
}

.header-menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
  padding: 5px 0;
}

.header-menu .menu-title {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.header-menu .menu-subtitle {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.header-menu a:hover .menu-title {
  color: var(--contact-btn-bg);
}

.header-menu a:hover .menu-subtitle {
  color: var(--contact-btn-bg);
}

.header-menu .current-menu-item .menu-title,
.header-menu .current_page_item .menu-title {
  /*color: var(--contact-btn-bg);*/
}

/* ========== 電話ボタン ========== */
.header-contact {
  flex-shrink: 0;
  display: none;
}

.header-contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--clinic-accent);
  color: white;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 10px;
  transition: var(--transition);
  min-width: 230px;
}

.header-contact-btn:hover {
  background: var(--contact-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127, 196, 196, 0.4);
}

a.header-contact-btn:hover{
	color:#fff;
}

.contact-hours {
  font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 1px;
}

.contact-tel {
  font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 1.1;
}

.site-header.scrolled .header-contact-btn {
  padding: 10px 14px;
  min-width: 230px;
}

.site-header.scrolled .contact-hours {
  font-size: 10px;
}

.site-header.scrolled .contact-tel {
  font-size: 20px;
}

/* ========== ハンバーガーメニュー(SP) ========== */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 29px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger-menu span {
  width: 100%;
  height: 1px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 0;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== SPメニューオーバーレイ ========== */
.sp-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; /* right: 0を削除してwidthで指定 */
  height: 100vh; /* bottom: 0を削除してheightで指定 */
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow: hidden; /* 横スクロール防止 */
}

.sp-menu-overlay.active {
  display: block;
  opacity: 1;
}

.sp-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 400px;
  height: 100%;
  background: white;
  padding: 80px 30px 30px;
  overflow-y: auto;
  overflow-x: hidden; /* 横スクロール防止 */
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box; /* パディングを含めた幅計算 */
}

.sp-menu-overlay.active .sp-menu-content {
  transform: translateX(0);
}

.sp-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  font-family: Arial, sans-serif; /* フォント指定で×を統一 */
  font-weight: 300; /* 細めに */
  transition: transform 0.2s ease;
}

.sp-menu-close:hover {
  transform: rotate(90deg);
}

.sp-menu-close:focus {
  outline: 2px solid var(--contact-btn-bg);
  outline-offset: 2px;
}

.sp-menu-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.sp-menu-list li {
  border-bottom: 1px solid #eee;
}

.sp-menu-list a {
  display: block;
  padding: 18px 0;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.sp-menu-list a:hover {
  color: var(--contact-btn-bg);
}

.sp-contact-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid #eee;
}

.sp-contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--contact-btn-bg);
  color: white;
  text-decoration: none;
  padding: 10px 7px;
  border-radius: 12px;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.sp-contact-hours {
  font-size: 14px;
    margin-bottom: 0px;
}

.sp-contact-tel {
  font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

/* ========== レスポンシブ対応 ========== */
@media (max-width: 1200px) {
  .header-menu {
    gap: 35px;
  }

  .header-contact-btn {
    min-width: 230px;
    padding: 10px 10px;
  }

  .contact-hours {
    font-size: 10px;
        line-height: 1;
        margin-bottom: 5px;
  }

  .contact-tel {
    font-size: 20px;
  }
}

@media (max-width: 992px) {
	.site-header {
    height: 67px;
}
	
	.site-header.scrolled {
  height:67px;
}
	
	  .site-header-inner {
    padding: 12px 20px;
    height: 67px;
  }

  .header-logo img,
  .header-logo .custom-logo {
    height: 52px;
  }
	
	.site-header.scrolled .header-logo img, .site-header.scrolled .header-logo .custom-logo {
    height: 55px;
}

  .sp-menu-content {
    width: 85%;
    padding: 70px 25px 25px;
  }

  .header-nav {
    display: none;
  }

  .header-contact {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }
}

/* ========== アニメーション ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header {
  animation: fadeIn 0.5s ease;
}

/* ========== アクセシビリティ ========== */
.skip-link {
  display:none;
}

/* ========== プリント対応 ========== */
@media print {
  .site-header {
    position: static;
    box-shadow: none;
  }

  .hamburger-menu,
  .header-contact {
    display: none;
  }
}

/* ========== ヘッダーカーブ装飾 ========== */
.header-curve-wrapper {
  position: fixed;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-header.scrolled .header-curve-wrapper {
  transform: translateY(-100%);
}

.header-curve-image {
  width: 100%;
  height: auto;
  display: block;
}

/* PC版画像の表示制御 */
.header-curve-pc {
  display: block;
}

/* SP版画像の表示制御 */
.header-curve-sp {
  display: none;
}

/* スクロール時のヘッダー高さ変更に対応 */
.site-header.scrolled ~ .header-curve-wrapper {
  top: 106px;
}

/* ========== レスポンシブ対応 ========== */

/* スマホ: 1024px以下 */
@media (max-width: 1024px) {
	  .header-curve-pc {
    display: none;
  }
  
  .header-curve-sp {
    display: block;
  }
	
  .header-curve-wrapper {
    top: 67px;
  }
  
  .header-curve-image {
    max-height: 45px;
  }
}


/* ========== トップページ - メインビジュアルカルーセル ========== */

.hero-carousel {
  position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 700px;
    margin-top: 0;
    margin-bottom: 10% !important;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    background-color: #fff;
}

.hero-swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-carousel .swiper-wrapper {
	margin-top: 0;
    margin-left: 0;
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 背景画像 */
.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* オーバーレイ(画像を少し暗くする) */
.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 固定テキストコンテンツ */
.hero-fixed-content {
  position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 40px 6em;
    pointer-events: none;
}

.hero-content-inner {
  text-align: center;
  color: white;
  max-width: 1200px;
  animation: fadeInUp 1s ease;
}

/* サブタイトル */
.hero-content-inner p.hero-subtitle {
  font-size: 34px;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin: 0 0 40px 0;
    opacity: 1;
    text-align: left;
    color: var(--clinic-white);
}

/* メインタイトル */
.hero-content-inner h1.hero-title {
  font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.20em;
    margin: 0;
    text-align: center;
}

/* ナビゲーションボタン */
.swiper-button-prev,
.swiper-button-next {
  color: white;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 20;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 20px;
  font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ページネーション */
.swiper-pagination {
  bottom: 30px !important;
  z-index: 20;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: white;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--clinic-accent) !important;
  width: 30px;
  border-radius: 6px;
}

/* アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== レスポンシブ対応 ========== */
@media (max-width: 1024px) {
  .hero-carousel {
    min-height: 500px;
	margin-top: 0;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .hero-carousel {
    height: 90vh;
    min-height: 400px;

  }
  
  .hero-swiper {
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    width: 40px;
    height: 40px;
  }
  
  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 13px;
  }
  
  .hero-fixed-content {
    padding: 80px 20px;
  }
  
  .hero-swiper {
  }
}


/* ========== コンセプトセクション ========== */

/* 最上位の親要素に overflow-x: hidden を追加 */
body {
  overflow-x: hidden; /* 横スクロールを防ぐ */
}

/* またはsectionレベルで */
.concept-section {
  max-width: 100%;
  margin: 80px 0;
  padding: 0;
  align-items: center;
}

/* 2カラムレイアウトのコンテナ */
.concept-section .column-wrap {
  display: flex;
  max-width: var(--clinic-max-width);
  margin: 0 auto;
  padding: 0 20px;
  gap: 0;
  position: relative;
}

/* 左カラム：60% */
.concept-section .column-left {
  width: 60%;
  padding-right: 60px;
  flex-shrink: 0;
}

/* 右カラム：40% */
.concept-section .column-right {
  width: 40%;
  margin: 0 !important;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}

/* 各見出しスタイル */
.concept-section h2.concept-title,
.doctor-section h2.wp-block-heading,
.value-section h2.wp-block-heading,
.menu-section h2.wp-block-heading,
.news-section h2.wp-block-heading,
.access-section h2.wp-block-heading {
  font-family: var(--font-english), serif;
    font-size: 116px;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--title-primary);
    margin-bottom: 40px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-left: none;
    padding-left: 0;
    background-color: transparent;
    position: relative;
    display: inline-block;
    max-width: 100%;
	z-index: 9999;
}

.doctor-section h2.wp-block-heading,
.menu-section h2.wp-block-heading {
	color: var(--text-wt-primary);
}

/* 最初の段落：「流行に流されない〜」 */
.concept-section .column-left p:first-of-type {
  font-size: 28px;
    line-height: 52px;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
}

/* その他の段落 */
.concept-section .column-left p {
  margin: 0;
}

/* 画像を右端まで伸ばす（画面外には出さない） */
.concept-section .column-right figure {
  margin: 0;
  position: relative;
  max-width: 100vw;
}

.concept-section .column-right figure img {
  width: auto;
  height: 60vh;
  display: block;
  object-fit: cover;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .concept-section {
    margin: 50px 0;
  }
  
  .concept-section .column-wrap {
    flex-direction: column;
    padding: 0 20px;
  }
  
  .concept-section .column-left {
    width: 100%;
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .concept-section .column-right {
    width: 100%;
  }
  
  .concept-section h2.concept-title {
    font-size: 65px;
        padding: 0;
	    margin: 0 auto;
        margin-bottom: 15px;
  }
  
  .concept-section h2.concept-title::after {
    width: 80px;
  }
  
  .concept-section .column-left p:first-of-type {
    font-size: 20px;
    line-height: 35px;
  }
  
  .concept-section .column-left p {
    font-size: 13px;
    line-height: 28px;
  }
  
  .concept-section .column-right figure {
    width: 100%;
  }
}
/* ========== Shinセクション ========== */
.top_shin {
	position: relative;
    margin: 80px 0;
	margin-bottom: 0 !important;
    overflow: hidden;
    padding: 15vh 0 10vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
    background-color: rgb(227 204 170 / 100%);
}

.top_shin::after {
  content: 'Shin';
    position: absolute;
    color: #403a390f;
    top: -15%;
    left: calc(-6% + 20px);
    transform: translateY(-50%);
    font-size: 294px;
    width: 100%;
    height: 1px;
}

.top_shin p {
	font-size: 26px;
    font-weight: 400;
    line-height: 64px;
    letter-spacing: 0.11em;
}

.top_shin .top_shin-title {
	font-size: 28px;
    line-height: 52px;
}

.top_shin .top_shin-text {
	font-size: 20px;
    line-height: 46px;
}

@media (max-width: 960px) {
	.top_shin .is-layout-flex {
		gap: 0;
	}
	
  .top_shin::after {
    top: -15%;
        font-size: 170px;
        left: calc(-15% + 20px);
}
	.top_shin p {
		    font-size: 20px;
    padding: 0 30px 0 30px;
	}
	
	.top_shin .top_shin-title {
    font-size: 22px;
    line-height: 45px;
    text-align: justify;
}
	
	.top_shin .top_shin-text {
    font-size: 16px;
    line-height: 36px;
    text-align: justify;
}
	
}
/* ========== VALUEセクション ========== */

 .body section.value-section.wp-block-group {
  margin-top: 100px;
    margin-bottom: 100px;
    padding-left: 0;
    padding-right: 0;
}

body .value-section .wp-block-group {
	margin-bottom:100px;
}

/* ========== VALUE・DOCTOR・CAMPAIN見出しスタイル ========== */

.value-section  h2.wp-block-heading,
.campain-section h2.wp-block-heading,
.access-section h2.wp-block-heading {
      padding-left: 0;
    max-width: var(--clinic-max-width);
    width: 100%;
    margin: 0;
    padding-top: 0;
    padding-bottom: 20px;
    background-color: transparent;
    font-size: 116px;
    font-weight: 400;
}

.news-section h2.wp-block-heading::after,
.access-section h2.wp-block-heading::after {
  background-color: var(--clinic-white);
}

/* CAMPAINのサブタイトル */
.campain-section h2.wp-block-heading::before {
  content: 'キャンペーン';
}

/* MENUのサブタイトル */
.menu-section h2.wp-block-heading::after {
  content: '施術メニュー';
  font-size: 16px;
}

/* FAQのサブタイトル */
.faq-section h2.wp-block-heading::before {
  content: 'よくある質問';
}


/* 3カラムグリッド */
.value-section .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--clinic-max-width);
  margin: 0 auto;
}

/* 各カラム（カード） */
.value-section .wp-block-column {
  padding: 0;
  position: relative;
}

/* 画像エリア */
.value-section .wp-block-column figure {
  margin: 0;
  width: 100%;
  height: auto;
}

.value-section .wp-block-column figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px 10px 0 0;
}

/* h3見出し */
.value-section .wp-block-column h3 {
  color: var(--clinic-text);
    margin: 30px 0 30px 0;
    font-size: 23px;
    letter-spacing: 0.2em;
    border: none;
    background: transparent;
	padding:0;
}

/* テキスト */
.value-section .wp-block-column p {
  color: var(--clinic-text);
    margin: 0;
    margin-bottom: 30px !important;
}

.value-section .wp-block-column p:first-child {
	font-family: var(--font-english), serif;
    font-size: 44px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.value-section .wp-block-columns {
        gap: 0;
    }

.value-section .wp-block-columns .wp-block-column {
	padding: 0px 33px;
}

.value-section .wp-block-columns > .wp-block-column:nth-of-type(n+2) {
        border-left: 1px solid #56514F;
        margin-left: 30px;
    }

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .value-section {
    padding: 60px 30px;
  }
	
	.body section.value-section.wp-block-group {
	margin-top: 60px;
    margin-bottom: 0;
}
  
  .value-section .wp-block-columns {
    gap: 20px;
  }
  
  .value-section h2::before {
    left: calc(100% + 90px);
    font-size: 13px;
  }
	
	.value-section .wp-block-column:not(:last-child) {
        margin-bottom: 40px;
    }
	
	.value-section .wp-block-columns .wp-block-column {
		padding: 0 10px;
	}
}

@media (max-width: 1024px) {
  .value-section {
    border-radius: 50px 50px 0 0;
    padding: 50px 20px;
    margin-top: 60px;
  }
  
  .value-section h2 {
    font-size: 20px;
    margin-bottom: 40px;
  }
  
  .value-section .wp-block-columns {
    grid-template-columns: 1fr;
    gap: 30px;
	width:85%;
  }
  
  .value-section .wp-block-column::before {
font-size: 80px;
        top: 61vw;
        left: 15px;
  }
  
  .value-section .wp-block-column h3 {
    font-size: 16px;
    margin: 25px 20px 15px 20px;
    border: none;
  }
  
  .value-section .wp-block-column p {
    font-size: 13px;
    line-height: 1.8;
    margin: 0 !important;
  }
	
	 .value-section {
    border-radius: 50px 50px 0 0;
    padding: 50px 20px;
    margin-top: 60px;
  }
  
  .value-section h2 {
    font-size: 20px;
    margin-bottom: 40px;
  }
  
  /* GridをSwiperに変更 */
  .value-section .wp-block-columns {
    display: block !important; /* Gridを解除 */
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden; /* はみ出し防止 */
  }
  
  /* Swiperラッパー化 */
  .value-section .wp-block-columns.swiper-initialized {
    padding-bottom: 50px;
	width: 85%;
  }
  
  /* 各カラムをスライド化 */
  .value-section .wp-block-column {
    width: 85%;
    margin: 0 auto;
  }
  
  .value-section .wp-block-column h3 {
    font-size: 16px;
    margin: 25px 20px 15px 20px;
    border: none;
  }
  
  .value-section .wp-block-column p {
    font-size: 13px;
    line-height: 1.8;
    margin: 0 20px 25px 20px;
  }
  
  /* Swiperページネーション */
  .value-section .swiper-pagination {
    bottom: 10px !important;
  }
  
  .value-section .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--clinic-primary);
    opacity: 0.3;
  }
  
  .value-section .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 5px;
  }
}

@media (max-width: 480px) {
  .value-section {
    border-radius: 30px 30px 0 0;
  }
	
	  .value-section .wp-block-column::before {
    font-size: 60px;
    top: 260px;
    left: 15px;
  }
}

@media screen and (min-width: 1024px) {
   .value-section .wp-block-column::before {
    font-size: 60px;
    top: 170px;
}
}

@media screen and (min-width: 992px) {
.value-section .wp-block-column::before {
    font-size: 75px;
        top: 220px;
}
}


@media screen and (min-width: 1200px) {
    .value-section .wp-block-column::before {
    font-size: 80px;
    top: 260px;
}
}

@media (max-width: 992px) {
	body .value-section .wp-block-group {
    margin-bottom: 20px;
}
}

/* ========== 医院雰囲気写真カルーセル ========== */

.atmosphere-carousel-section {
  overflow: hidden;
    padding: 80px 0;
    background-color: var(--clinic-bg);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
}

.atmosphere-carousel-wrapper {
  width: 100%;
  /*overflow: hidden;*/
  position: relative;
}

.atmosphere-carousel-track {
  display: flex;
  gap: 30px; /* 写真間の間隔 */
  animation: scroll-left 30s linear infinite; /* 30秒で1周（ゆっくり） */
  width: fit-content;
}

/* アニメーション：右から左へスクロール */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ホバーで一時停止 */
.atmosphere-carousel-track:hover {
  animation-play-state: paused;
}

.atmosphere-item {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバーエフェクト */
.atmosphere-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.atmosphere-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 写真をトリミングして収める */
  display: block;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .atmosphere-item {
    width: 350px;
    height: 263px;
  }
}

@media (max-width: 1024px) {
  .atmosphere-carousel-section {
    padding: 60px 0;
  }
  
  .atmosphere-carousel-track {
    gap: 20px;
    animation-duration: 25s; /* スマホでは少し速く */
  }
  
  .atmosphere-item {
    width: 280px;
    height: 210px;
  }
}

@media (max-width: 480px) {
  .atmosphere-carousel-section {
    padding: 40px 0;
  }
  
  .atmosphere-carousel-track {
    gap: 15px;
    animation-duration: 20s;
  }
  
  .atmosphere-item {
    width: 240px;
    height: 180px;
  }
}

/* ========== ドクターセクション ========== */

.body section.doctor-section.wp-block-group {
  position: relative;
    margin: 0;
    overflow: hidden;
    padding: 15vh 0 10vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
    background-color: rgb(100 98 96);
    background-image: url(http://shinclinic-plasticsurgery.com/wp-content/uploads/2026/04/AdobeStock_1149173753-2.png);
}

.doctor-section .wp-block-columns {
  max-width: var(--clinic-max-width);
  margin: 0 auto;
}

.doctor-section h2.wp-block-heading{
	max-width: var(--clinic-max-width);
    margin: 0 auto;
    width: 100%;
	display: flex;
}

.doctor-section p {
	color: var(--clinic-white);
}


/* 上段：医師の写真とプロフィール */
.doctor-section > .wp-block-columns:first-of-type {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 80px;
}

/* 左カラム */
.doctor-section > .wp-block-columns:first-of-type > .wp-block-column:first-child {
  flex-shrink: 0;
  z-index: 9999;
}

.doctor-section > .wp-block-columns:first-of-type > .wp-block-column:first-child figure {
  margin: 0;
}

.doctor-section > .wp-block-columns:first-of-type > .wp-block-column:first-child img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* 右カラム */
.doctor-section > .wp-block-columns:first-of-type > .wp-block-column:last-child {
  width: 65%;
  margin: 0 !important;
    padding: 0;
    position: relative;
    flex-shrink: 0;
}

.doctor-section .docter-pic:nth-of-type(2) figure:nth-of-type(1) {
    margin: 0;
    position: absolute;
    width: 1118px;
    bottom: -130px;
    right: -57%;
    max-width: 100vw;
    z-index: 0;
}

.doctor-section .docter-pic:nth-of-type(2) figure:nth-of-type(2) {
    margin: 0;
    position: absolute;
    width: 546px;
    height: auto;
    top: 190px;
    left: 0px;
    max-width: 100vw;
    z-index: 0;
}

/* 「2種専門医を持つ医学博士」 */
.doctor-section > .wp-block-columns:first-of-type > .wp-block-column:last-child > p:first-of-type {
  font-size: 1.4em;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

/* 院長名のセクション */
.doctor-section .wp-block-column > .docter-name:nth-of-type(1) {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(1) p {
  margin: 0;
  line-height: 1.6;
}

/* 「酒井　新介」 */
.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(1) > .wp-block-column:nth-child(1) p {
  font-size: 34px;
}

/* 「sakai shinsuke」 */
.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(1) > .wp-block-column:nth-child(2) p {
  font-size: 14px;
    letter-spacing: 0.1em;
}

/*  */
.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(1) > .wp-block-column:nth-child(3) p {
  font-family: var(--font-english), serif;
  font-size: 12px;
  letter-spacing: 0.13em;
}

/* 経歴セクション */
.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(2) {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 0;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(2) p {
  margin: 0;
  font-size: 14px;
  line-height: 32px;
}

/* 「経歴」 */
.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(1) p {
  font-size: 16px;
}

/* 年号 */
.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(2) p {
}

/* 保有資格セクション */
.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(3) {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
}

.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(3) p {
  margin: 0;
  font-size: 14px;
  line-height: 32px;
}

/* 「保有資格」 */
.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(3) > .wp-block-column:nth-child(1) p {
  font-size: 16px;
}

/* Messageセクション */
.doctor-section > .wp-block-columns:last-of-type {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-top: 80px;
}

/* 左カラム：Messageテキスト */
.doctor-section > .wp-block-columns:last-of-type > .wp-block-column:first-child {
  width: 55%;
}

.doctor-section > .wp-block-columns:last-of-type h3 {
  font-family: var(--font-english), serif;
    font-size: 2.0em;
    letter-spacing: 0.1em;
    color: var(--clinic-primary);
    margin-bottom: 20px;
    border: none;
}

.doctor-section > .wp-block-columns:last-of-type > .wp-block-column:first-child p {
  margin-bottom: 20px;
}

/* 右カラム：医師の写真2 */
.doctor-section > .wp-block-columns:last-of-type > .wp-block-column:last-child {
  width: 45%;
}

.doctor-section > .wp-block-columns:last-of-type > .wp-block-column:last-child figure {
  margin: 0;
}

.doctor-section > .wp-block-columns:last-of-type > .wp-block-column:last-child img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.doctor-section .top_social-media {
	width: 200px;
    margin-left: 0;
    font-family: var(--font-english), serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0em;
    line-height: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .doctor-section {
    padding: 60px 30px;
  }
  
  .doctor-section > .wp-block-columns:first-of-type,
  .doctor-section > .wp-block-columns:last-of-type {
    gap: 40px;
  }
	
	.doctor-section .docter-pic:nth-of-type(2) figure:nth-of-type(1) {
	top: -50px;
    right: 0;
    width: 100%;
	}
	
	.doctor-section .docter-pic:nth-of-type(2) figure:nth-of-type(2) {
    width: 100%;
        top: 1000px;
        left: 0;
}
	
	.docter-pic figure:first-of-type img {
		height: 370px;
    width: 350px;
    margin: 0 auto;
    object-fit: cover;
	}
}

@media (max-width: 1024px) {
  .doctor-section {
    padding: 50px 20px;
  }
	
  /* 上段を縦並びに */
  .doctor-section > .wp-block-columns:first-of-type {
    flex-direction: column-reverse;
    margin-bottom: 60px;
  }
  
  .doctor-section > .wp-block-columns:first-of-type > .wp-block-column:first-child,
  .doctor-section > .wp-block-columns:first-of-type > .wp-block-column:last-child {
    width: 100%;
  }
	
	.doctor-section > .wp-block-columns:first-of-type > .wp-block-column:first-child {
		margin-top:310px;
	}
  
  /* 院長名のセクション */
  .doctor-section .wp-block-column > .wp-block-columns:nth-of-type(1) {
    flex-wrap: wrap;
    gap: 0;
        display: flex;
        flex-direction: column;
        margin: 0;
  }
	
  .doctor-section .wp-block-column > .wp-block-columns.top_social-media:nth-of-type(1) {
    gap: 20px;
        display: flex;
        flex-direction: row;
        margin: 0;
  }
  
  .doctor-section .wp-block-column > .wp-block-columns:nth-of-type(1) > .wp-block-column:nth-child(2) p {
    font-size: 18px;
  }
  
  /* 経歴セクション */
  .doctor-section .wp-block-column > .wp-block-columns:nth-of-type(2) {
    grid-template-columns: 60px 50px 1fr;
    gap: 0;
  }
  
  /* 保有資格セクション */
  .doctor-section .wp-block-column > .wp-block-columns:nth-of-type(3) {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  /* Messageセクションを縦並びに */
  .doctor-section > .wp-block-columns:last-of-type {
    flex-direction: column;
    margin-top: 73vw;
  }
  
  .doctor-section > .wp-block-columns:last-of-type > .wp-block-column:first-child,
  .doctor-section > .wp-block-columns:last-of-type > .wp-block-column:last-child {
    width: 100%;
  }
  
  .doctor-section > .wp-block-columns:last-of-type > .wp-block-column:first-child p {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
	.body section.doctor-section.wp-block-group {
    border-radius: 0;
	margin-bottom: 0;
		padding: 80px 30px;
}
	
  .doctor-section {
    padding: 40px 15px;
  }
  
  .doctor-section h2 {
    font-size: 20px;
  }
  
  .doctor-section > .wp-block-columns:first-of-type > .wp-block-column:last-child > p:first-of-type {
    font-size: 16px;
	 margin-bottom:7px;
  }
	
	body.body section.doctor-section .wp-block-columns .wp-block-column:nth-child(1) {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
  
  .doctor-section .wp-block-column > .wp-block-columns:nth-of-type(2) {
    grid-template-columns: 1fr;
	  padding: 0;
  }
  
  .doctor-section .wp-block-column > .wp-block-columns:nth-of-type(2) p,
  .doctor-section .wp-block-column > .wp-block-columns:nth-of-type(3) p {
    font-size: 10px;
	line-height: 22px;
  }
	
		body.body section.doctor-section .wp-block-columns .wp-block-column {
  flex-basis: auto !important;
			flex-grow: 0;
}
	
	body.body section.doctor-section .wp-block-columns .wp-block-column:nth-child(2) {
        flex-shrink: 0;
        flex-grow: 0;
		  grid-column: 1;
}
	
	body.body section.doctor-section .wp-block-columns .wp-block-column:nth-child(3) {
  grid-column: 2;
}
	
	.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(2) > .wp-block-column:nth-child(1) p {
    font-size: 10px;
}
	
	.doctor-section .wp-block-column > .wp-block-columns:nth-of-type(3) > .wp-block-column:nth-child(1) p {
    font-size: 10px;
}
}

/* ========== キャンペーセクション ========== */

.body section.campain-section.wp-block-group {
    background-color: var(--clinic-white);
    padding: 15vh 0 10vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
}

.campain-section figure.wp-block-gallery {
}

@media (max-width: 1024px) {
		.campain-section figure.wp-block-gallery {
	width: 85%;
}
	.campain-section p {
		width: 85%;
    text-align: left;
	}
	
}
	

  /* 見出しは上VALUEと合わせて設定 */

/* ========== MENUセクション ========== */

.menu-section {
}

section.menu-section {
	position: relative;
    margin: 0;
	margin-bottom: 0 !important;
    overflow: hidden;
    padding: 15vh 0 20vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 0;
    padding-right: 0;
    background-color: rgb(100 98 96);
    background-image: url(http://shinclinic-plasticsurgery.com/wp-content/uploads/2026/04/AdobeStock_1149173753-2.png);
}

/* 見出しはVALUEで設定 */
.menu-section h2.wp-block-heading {
      padding: 0;
    padding-left: 0;
    max-width: var(--clinic-max-width);
    width: 100%;
    margin: 0 auto 70px;
    display: flex;
    flex-direction: column;
}

.menu-section .wp-block-columns {
	max-width: var(--clinic-max-width);
}

.menu-section .wp-block-column figure {
	margin-bottom: 0 !important;
}

/* 画像ホバーエフェクト */
.menu-section .wp-block-column:first-child figure:hover img {
  transform: scale(1.05);
}

.menu-section .wp-block-column {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* h3見出し「クマ取り」 */
.menu-section h3.wp-block-heading {
  font-weight: 500;
    line-height: 1.6;
    margin: 0;
    border-bottom: 1px solid var(--clinic-border);
    padding-bottom: 20px;
}

/* テキスト */
.menu-section .wp-block-column:last-child > p {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.10em;
  color: var(--clinic-text);
  margin: 0;
}

/* MOREボタン */
.menu-section .wp-block-buttons {
  margin-top: auto; /* 下に配置 */
}

.menu-section .wp-block-button__link {
  background-color: var(--clinic-primary);
    font-family: var(--font-english), serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    padding: 12px 30px;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-section .wp-block-button__link:hover {
  background-color: var(--clinic-secondary);
  color: var(--clinic-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(158, 196, 198, 0.3);
}

/* ALL MENUボタン */
.menu-section .wp-block-buttons.is-content-justification-center {
  margin-top: 60px;
}

.menu-section .wp-block-buttons.is-content-justification-center .wp-block-button__link {
  background-color: var(--clinic-primary);
    color: var(--clinic-white);
    font-family: var(--font-english), serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 7px 50px;
    border-radius: 30px;
    border: 2px solid var(--clinic-primary);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-section .wp-block-buttons.is-content-justification-center .wp-block-button__link:hover {
  background-color: transparent;
    color: var(--clinic-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(158, 196, 198, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  section.menu-section {
    padding: 60px 30px;
  }
  
  .menu-section .wp-block-columns {
    gap: 40px;
  }
  
  .menu-section h3.wp-block-heading {
    font-size: 22px;
  }
}

@media (max-width: 1024px) {
  section.menu-section {
    padding: 50px 0;
    width: 100%;
    margin: 0 auto;
  }
  
  .menu-section .wp-block-columns {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
  }
	
	.menu-section h2.wp-block-heading {
	    margin-top: 0;
}
  
  .menu-section .wp-block-column {
    width: 80%;
	margin: 0 auto;
  }
  
  .menu-section h3.wp-block-heading {
    font-size: 16px;
    padding-bottom: 20px;
  }
  
  .menu-section h3.wp-block-heading::after {
    width: 50px;
  }
  
  .menu-section .wp-block-column:last-child > p {
    font-size: 13px;
  }
  
  .menu-section .wp-block-buttons {
    
  }
	
	.menu-section .wp-block-button__link {
    font-size: 9.99px;
    padding: 6px 30px;
}
}

/* ========== NEWSセクション ========== */

.news-section {
  position: relative;
    margin: 80px 0 150px !important;
    width: 100%;
    max-width: var(--clinic-max-width);
}

.news-section table tr:nth-of-type(2n+1) {
	background-color: transparent;
}

/* 2カラムレイアウト */
.news-section .wp-block-columns {
  max-width: var(--clinic-max-width);
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* 左カラム：NEWS見出し（33.33%） */
.news-section .wp-block-column:first-child {
  width: 33.33%;
  flex-shrink: 0;
}

/* 右カラム：ニュース一覧（66.66%） */
.news-section .wp-block-column:last-child {
  width: 66.66%;
}

/* ニュース一覧 */
.news-section .wp-block-flexible-table-block-table {
    margin: 0;
    max-height: 420px;
    overflow-y: auto;
	max-width: var(--clinic-max-width);
}

/* スクロールバーのスタイル */
.news-section .wp-block-flexible-table-block-table::-webkit-scrollbar {
  width: 8px;
}

.news-section .wp-block-flexible-table-block-table::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.news-section .wp-block-flexible-table-block-table::-webkit-scrollbar-thumb {
  background: var(--clinic-primary);
  border-radius: 4px;
}

.news-section .wp-block-flexible-table-block-table::-webkit-scrollbar-thumb:hover {
  background: var(--clinic-secondary);
}

/* テーブルスタイル */
.news-section table {
  width: 100%;
  border-collapse: collapse;
}

.news-section table tbody tr {
  border-bottom: 1px solid var(--clinic-border);
  transition: background-color 0.2s ease;
  display:flex;
  align-items: center;
}

.news-section table td {
  padding: 20px 0;
  vertical-align: middle;
  background-color: transparent !important; /* 既存のCSSを上書き */
}

/* 日付セル（詳細度を上げた版） */
.news-section .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table > table tr td:first-child {
  width: 120px;
    font-family: var(--font-japanese), serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2em;
    border: 1px solid var(--clinic-primary) !important;
    padding: 3px 12px;
    white-space: nowrap;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

/* タイトルセル */
.news-section table td:last-child {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--clinic-text);
  padding-left: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .news-section {
    padding: 80px 30px;
  }
  
  .news-section .wp-block-columns {
    gap: 40px;
  }
  
  .news-section h2.wp-block-heading {
    font-size: 3em;
  }
}

@media (max-width: 1024px) {
	.news-section {
    padding: 0 15px;
  }
	
	.news-section table tbody tr {
    display: flex;
    flex-direction: row;
	align-items: center;
}
  
  .news-section .wp-block-columns {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }
  
  .news-section .wp-block-column:first-child,
  .news-section .wp-block-column:last-child {
    width: 100%;
  }
  
  .news-section h2.wp-block-heading {
    font-size: 2.5em;
    text-align: center;
  }
  
  .news-section h2.wp-block-heading::after {
    text-align: center;
  }
  
  .news-section .wp-block-flexible-table-block-table {
    max-height: 421px;
        padding: 20px;
        border-radius: 10px;
  }
  
  .news-section table td:last-child {
    font-size: 10px;
    padding-left: 15px;
  }
  
  .news-section h2.wp-block-heading {
    font-size: 2em;
  }
  
  .news-section .wp-block-flexible-table-block-table {
    padding: 15px;
  }
  
  .news-section table td {
    padding: 15px 0;
    display: block;
    width: 100%;
  }
  
  .news-section .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table > table tr td:first-child {
    width: auto !important;
        margin: 30px 0;
        padding: 5px 10px;
        height: 35px;
  }
}

/* ========== FAQセクション ========== */
.faq-section {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-section h2 {
  font-family: var(--font-english), serif;
  font-size: 48px;
  font-weight: 400;
  text-align: center;
  color: var(--clinic-text-dark);
  margin-bottom: 60px;
  letter-spacing: 0.05em;
}

/* トグルボックスのラッパー */
.faq-section .toggle-wrap {
 border-radius: 8px;
    max-width: 100%;
    overflow: hidden;
}

/* チェックボックスを非表示 */
.faq-section .toggle-checkbox {
  display: none;
}

/* 質問ボタン */
.faq-section .toggle-button {
  display: flex;
    align-items: center;
    padding: 14px 60px 14px 24px;
    border-radius: 8.18px;
    font-size: 16px;
    font-weight: 400;
    border: solid 0.5px var(--clinic-gray-30);
    cursor: pointer;
    position: relative;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

.faq-section .toggle-button:hover {
  background-color: #f9f9f9;
}

/* Qマーク */
.faq-section.wp-block-group .toggle-wrap .toggle-button::before {
  content: 'Q.';
    font-family: var(--font-english), serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--clinic-primary);
    margin-right: 16px;
    flex-shrink: 0;
    z-index: 10;
	opacity: 1;
}

/* トグルアイコン（右端） */
.faq-section .toggle-button::after {
  content: '—';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--clinic-text-dark);
  transition: transform 0.3s ease;
}

/* 閉じている状態のアイコン（縦線を追加して+にする） */
.faq-section .toggle-checkbox:not(:checked) + .toggle-button::after {
  content: '+';
}

/* 開いている状態 */
.faq-section .toggle-checkbox:checked + .toggle-button::after {
  content: '—';
}

/* 回答コンテンツ */
.faq-section .toggle-content {
  display: none;
  padding: 0 24px 24px 24px;
  background-color: #ffffff;
}

.faq-section .toggle-checkbox:checked ~ .toggle-content {
 display: block;
    border-color: #fff;
    border-left: solid 0.5px var(--clinic-gray-30);
    border-right: solid 0.5px var(--clinic-gray-30);
    border-bottom: solid 0.5px var(--clinic-gray-30);
    border-radius: 0 0 8px 8px;
    padding: 24px 60px 24px 24px;
    background-color: var(--clinic-white);
}

.faq-section .toggle-content p {
  display: flex;
    align-items: center;
    margin: 0;
    padding-left: 0;
}

/* Aマーク */
.faq-section .toggle-content p::before {
  content: 'A.';
    font-family: var(--font-english), serif;
    font-size: 40px;
    font-weight: 400;
    margin-right: 16px;
    flex-shrink: 0;
    padding-top: 2px;
    color: var(--clinic-primary);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .faq-section {
    padding: 60px 0;
        width: 85%;
        margin: 0 auto;
  }
  
  .faq-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
  }
	
	.faq-section.wp-block-group .toggle-wrap .toggle-button::before {
    font-size: 25px;
}
  
  .faq-section .toggle-button {
    padding: 20px 45px 20px 20px;
        font-size: 10px;
  }
  
  .faq-section .toggle-button::before {
    font-size: 18px;
    margin-right: 12px;
  }
  
  .faq-section .toggle-button::after {
    right: 20px;
    font-size: 20px;
  }
  
  .faq-section .toggle-content {
    padding: 0 20px 20px 20px;
  }
  
  .faq-section .toggle-content p {
    font-size: 10px;
  }
  
  .faq-section .toggle-content p::before {
    font-size: 25px;
    margin-right: 12px;
  }
}

/* ========== ACCESSセクション ========== */
.body section.access-section.wp-block-group {
  position: relative;
    margin: 0;
    overflow: hidden;
    padding: 15vh 0 10vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: rgb(239 225 207);
    background-image: url(http://shinclinic-plasticsurgery.com/wp-content/uploads/2026/04/AdobeStock_1149173753-4-1-scaled.png);
}

.access-section a {
	color:#fff;
}

.access-section .wp-block-columns {
  gap: 60px;
  align-items: stretch;
  max-width: 90%;
}

/* 左カラム */
.access-section .wp-block-column:first-child {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ACCESS見出しはVALUEに記載 */
/* ACCESSセクションの見出しのみ調整 */
.access-section h2.wp-block-heading {
  padding-left: 0;
  max-width: fit-content; /* 追加 */
}

/* アクセス情報テキスト */
.access-section .wp-block-column:first-child > p:first-of-type {
  font-size: 15px;
    line-height: 34px;
    letter-spacing: 0.2em;
}

/* クリニック名を太字に */


/* SNS情報テキスト */
.access-section .wp-block-column:first-child > p:nth-of-type(2) {
  font-size: 20px;
    letter-spacing: 0.2em;
    color: #ffffff;
    margin: 0 0 16px 0;
}

/* SNSボタンコンテナ */
.access-section .wp-block-column:first-child > .wp-block-columns {
  gap: 16px;
  margin-top: auto;
}

/* SNSボタン */
.access-section .wp-block-column:first-child .wp-block-column {
  padding: 12px 0px;
    transition: all 0.3s ease;
    cursor: pointer;
	max-width: 130px;
}

.access-section .wp-block-column:first-child .wp-block-column:hover {
}

/* SNSボタンテキスト */
.access-section .wp-block-column:first-child .wp-block-column p {
  font-family: var(--font-japanese), serif;
  font-size: 14px;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: start;
}

/* Instagramアイコン */
.access-section .wp-block-column:first-child .wp-block-column:first-child p::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1);
}

/* LINEアイコン */
.access-section .wp-block-column:first-child .wp-block-column:last-child p::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1);
}

/* 右カラム - Googleマップ */
.access-section .wp-block-column:last-child {
  display: flex;
  align-items: center;
  justify-content: start;
}

.access-section iframe {
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: 2px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
	.body section.access-section.wp-block-group {
    position: relative;
    margin: 0;
    overflow: hidden;
    padding: 9vh 0 10vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
	
  .access-section {
    padding: 60px 20px;
  }
  
  .access-section .wp-block-columns {
    flex-direction: column;
    gap: 40px;
	  max-width:85%;
  }
  
  .access-section h2 {
    font-size: 36px;
    margin-bottom: 16px;
  }
  
  .access-section h2::after {
    font-size: 12px;
  }
  
  .access-section .wp-block-column:first-child > p:first-of-type {
    font-size: 13px;
        margin-bottom: 25px;
        line-height: 26px;
  }
  
  .access-section iframe {
    height: 300px !important;
        width: 100% !important;
  }
	
	.access-section .wp-block-column:first-child .wp-block-column {
    padding: 0;
}
	
	.access-section .wp-block-column:first-child .wp-block-column p {
		font-size:12px;
		margin-bottom: 0;
	}
}


/* ========== プライバシーポリシー ========== */

section.page-privacypolicy h3,
section.menu-detail h3 {
	color: var(--clinic-text);
    border-left: 5px solid var(--clinic-primary);
    border-top: 0;
    border-bottom: 0;
    padding-left: 4%;
    padding-bottom: 0;
    padding-top: 0;
    margin-top: 7%;
    margin-bottom: 4%;
    line-height: 1.5;
    letter-spacing: 0.2em;
    font-size: 1.2em;
    font-weight: 400;
    font-family: var(--font-japanese), serif;
}

/* ========== 料金ページカスタムボタン ========== */
body .entry-content .wp-block-columns.price-menu {
    margin-bottom: 8em;
}

.custom-btn {
  display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: #9EC4C6;
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    margin-bottom: 5vh;
    border-radius: 10px;
    width: 100%;
    max-height: 100px;
    height: 100px;
    transition: all 0.3s ease;
    position: relative;
    gap: 15px;
}

.custom-btn:hover {
  background-color: #8ab4b6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(158, 196, 198, 0.3);
}

a.custom-btn:hover {
	color: #ffffff;
}

/* アイコン */
.custom-btn__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.custom-btn__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* テキスト */
.custom-btn__text {
  flex: 1;
  font-family: var(--font-japanese), serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: left;
  line-height: 1.5;
}

/* 矢印 */
.custom-btn__arrow {
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.custom-btn:hover .custom-btn__arrow {
  transform: translateY(3px);
}

/* カスタムボタンのテキスト内のsmallタグ */
.custom-btn__text small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 4px;
  opacity: 0.9;
  line-height: 1.4;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .custom-btn {
    min-width: 100%;
    max-width: 100%;
    padding: 15px 20px;
  }
  
  .custom-btn__icon {
    width: 40px;
    height: 40px;
  }
  
  .custom-btn__text {
    font-size: 14px;
  }
  
  .custom-btn__arrow {
    font-size: 18px;
  }
	
	  .custom-btn__text small {
    font-size: 11px;
  }
}

/* ============================================
   PRICE TABLE
   ============================================ */
#post-151 .entry-content.cf {
	width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.price-table {
  background: #FCFBF8;
  padding: 0;
  font-family: 'Noto Serif JP', 'Noto Sans JP', serif;
}

/* ---- 大カテゴリ アコーディオン ---- */
.price-accordion {
  margin-bottom: 12px;
}

.price-accordion__btn {
  display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: var(--clinic-h3-border);
    border-radius: 5px 5px 0 0;
    color: var(--clinic-white);
    border: none;
    padding: 26px 40px;
    font-size: 24.55px;
    letter-spacing: .2em;
    cursor: pointer;
    text-align: left;
    transition: background .25s;
}

.price-accordion__btn:hover {
  background: #9A9490;
}

.price-accordion__btn[aria-expanded="true"] .price-accordion__icon {
  transform: rotate(45deg);
}

.price-accordion__icon {
  font-style: normal;
    font-weight: 100;
    font-size: 40px;
    line-height: 1;
    transition: transform .3s;
    flex-shrink: 0;
    margin-left: 12px;
}

.price-accordion__body {
  background: #FCFBF8;
  padding: 20px 60px 8px;
}

/* ---- 中カテゴリ（施術部位） ---- */
.price-category {
  display: flex;
    align-items: center;
    gap: 8px;
    border-left: 5px solid var(--clinic-h3-border);
    padding: 0px 0 0px 16px;
    margin: 60px 0 30px;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: .2em;
}

/* ---- 小カテゴリ（施術部位） ---- */
.price-small-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 40px 0 0;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .2em;
}

.price-small-category__dot {
  width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--clinic-bg-light);
    flex-shrink: 0;
}

/* ---- 施術行 ---- */
.price-method {
  display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 0.5px solid var(--clinic-text-light);
    gap: 12px;
}

.price-method:last-of-type {
  border-bottom: none;
}

.price-method__name {
    font-size: 16px;
    letter-spacing: .1em;
    flex: 1;
    line-height: 1.5;
}

.price-method__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}

.price-method__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-method__label {
  font-size: .68rem;
  color: #8E867F;
  white-space: nowrap;
}

.price-method__amount {
  font-size: 16px;
    letter-spacing: .1em;
    white-space: nowrap;
}

.price-method__amount--monitor {
  color: #7B9E9B;
}

/* ---- ノート ---- */
.price-method__note {
  font-size: 12px;
    color: #7F7770;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    border-radius: 4px;
}

/* ---- キャプション ---- */
.price-caption {
  font-size: .72rem;
  color: #7F7770;
  text-align: right;
  margin: 12px 0 4px;
}

/* ---- テキスト ---- */
.price-text {
  font-size: .85rem;
  color: #5B5652;
  line-height: 1.8;
  margin: 8px 0;
}

/* ---- SP対応 ---- */
@media (max-width: 640px) {
  .price-accordion__btn { padding: 14px 16px; font-size: .95rem; }
  .price-accordion__body { padding: 16px 14px 6px; }
  .price-method { flex-direction: column; gap: 4px; }
  .price-method__prices { align-items: flex-start; }
}

/* ============================================================
   MENU PAGE - メニューボタンカード デザイン
   ============================================================ */

/* --- ① カード全体：角丸・overflow隠し・ホバーアニメ --- */
.menu--btn {
  border-radius: 20px;
    overflow: hidden;
    background-color: #8F8A87;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

.menu--btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
}

.menu--btn > .wp-block-group {
  display: flex !important;
  flex-direction: column;
  margin-bottom: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

/* ============================================================
   ③ 上部：背景画像エリア
   ============================================================ */
.menu--btn > .wp-block-group > .wp-block-columns {
  position: relative;
    width: 100%;
    min-height: 210px;
    padding: 30px 28px 24px 32px;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    margin-bottom: 0;
    flex: 1;
    --wp--style--block-gap: 0;
    gap: 0;
}

/* 半透明オーバーレイ */
.menu--btn > .wp-block-group > .wp-block-columns::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(70, 62, 58, 0.22);
  pointer-events: none;
  z-index: 0;
}

/* 左カラム：テキスト */
.menu--btn > .wp-block-group > .wp-block-columns > .wp-block-column:first-child {
  position: relative;
  z-index: 1;
  flex-grow: 2;
}

/* 日本語タイトル */
.menu--btn > .wp-block-group > .wp-block-columns > .wp-block-column:first-child > p:first-child {
  font-size: 24px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.2em;
    line-height: 1.4;
    margin-bottom: 0;
}

/* 英語サブタイトル */
.menu--btn > .wp-block-group > .wp-block-columns > .wp-block-column:first-child > p:last-child {
  font-size: 18px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

/* 右カラム：View more */
.menu--btn > .wp-block-group > .wp-block-columns > .wp-block-column:last-child {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: flex-end;
  justify-content: flex-end;
  margin-bottom: 0 !important;
}

.menu--btn > .wp-block-group > .wp-block-columns > .wp-block-column:last-child > p {
  display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

/* View more の丸矢印アイコン（::after pseudo要素） */
.menu--btn > .wp-block-group > .wp-block-columns > .wp-block-column:last-child > p::after {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* ============================================================
   ④ 下部：グレーのテーブルエリア
   ============================================================ */
.menu--btn > .wp-block-group > .wp-block-flexible-table-block-table {
  background-color: #8F8A87;
    padding: 18px 32px 24px 32px;
}

/* テーブルのリセット */
.menu--btn .wp-block-flexible-table-block-table table {
  border-collapse: collapse !important;
  border: none !important;
  width: 100%;
  background: transparent !important;
}

table tr:nth-of-type(2n+1) {
	background-color: transparent !important;
}

/* テーブルセル */
.menu--btn .wp-block-flexible-table-block-table table tr td {
  color: #fff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 27px;
    padding: 0;
    border: none;
    background: transparent;
    white-space: nowrap;
    vertical-align: middle;
}

/* ============================================================
   ⑤ 各施術の背景画像
   ============================================================ */

/* 目元形成 */
.eye-surgery > .wp-block-group > .wp-block-columns {
  background-image: url('https://shinclinic-plasticsurgery.com/images/01_eye.png');
}

/* クマ、目の下の治療 */
.under-eye > .wp-block-group > .wp-block-columns {
  background-image: url('https://shinclinic-plasticsurgery.com/images/02_undereye.png');
}

/* 鼻整形（追加時） */
.nose-surgery > .wp-block-group > .wp-block-columns {
  background-image: url('https://shinclinic-plasticsurgery.com/images/03_nose.png');
}

/* 輪郭（追加時） */
.facial-contouring > .wp-block-group > .wp-block-columns {
  background-image: url('https://shinclinic-plasticsurgery.com/images/04_facial.png');
}

/* 口元・耳・エクボ形成（追加時） */
.mouth-ear > .wp-block-group > .wp-block-columns {
  background-image: url('https://shinclinic-plasticsurgery.com/images/05_mouth.png');
}

/* ボディメイク（追加時） */
.body-sculpting > .wp-block-group > .wp-block-columns {
  background-image: url('https://shinclinic-plasticsurgery.com/images/06_body.png');
}

/* 美容皮膚・注入治療（追加時） */
.skin-treatment > .wp-block-group > .wp-block-columns {
  background-image: url('https://shinclinic-plasticsurgery.com/images/07_skin.png');
}

/* ============================================================
   ⑥ レスポンシブ（SP対応）
   ============================================================ */
@media (max-width: 1024px) {
  .menu--btn > .wp-block-group > .wp-block-columns {
    min-height: 170px;
    padding: 22px 20px 18px 22px !important;
  }
  .menu--btn .wp-block-flexible-table-block-table {
    padding: 14px 22px 18px !important;
  }
}



/* ========== 施術ページカスタム ========== */

.body section.trouble-section.wp-block-group {
	background-color: var(--clinic-secondary);
    padding: 15vh;
	border-radius: 20px;
	margin-top:10em;
}

.body section.trouble-section.wp-block-group h2 {
	border:none;
	letter-spacing:5px;
}

.body section.trouble-section.wp-block-group figure {
	width: 60vh;
	height:auto;
}

body .entry-content section.reason-section.wp-block-group > h2,
body .entry-content section.reason-section.wp-block-group > h3,
body .entry-content section.reason-section.wp-block-group > h4,
body .entry-content section.reason-section.wp-block-group > p,
body .entry-content section.reason-section.wp-block-group > div,
body .entry-content section.point-section.wp-block-group > h2,
body .entry-content section.point-section.wp-block-group > h3,
body .entry-content section.point-section.wp-block-group > h4,
body .entry-content section.point-section.wp-block-group > p,
body .entry-content section.point-section.wp-block-group > div,
body .entry-content section.point-section.wp-block-group > figure,
div.page-accordion-out h2,
div.page-accordion-out h3,
div.page-accordion-out h4,
div.page-accordion-out p,
div.page-accordion-out div,
section.flow-section div {
    max-width: 100%;
}

/* reason-section内のh3に自動ナンバリング */

/* カウンターをリセット(セクションの開始時) */
body .entry-content section.reason-section.wp-block-group {
    counter-reset: reason-counter;
}

/* h3にカウンターを適用 */
body .entry-content section.reason-section.wp-block-group h3 {
    position: relative;
    padding-left: 80px;
    counter-increment: reason-counter;
}

/* ::before擬似要素で番号を表示 */
body .entry-content section.reason-section.wp-block-group h3::before {
    content: "0" counter(reason-counter);
    position: absolute;
    left: 0;
    bottom: 15%;
    font-size: 3rem;
    color: var(--clinic-primary);
    font-family: var(--font-japanese), sans-serif;
    line-height: 1;
}

/* 10以降の番号(2桁)に対応 */
body .entry-content section.reason-section.wp-block-group h3:nth-of-type(n+10)::before {
    content: counter(reason-counter);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
	.body section.trouble-section.wp-block-group {
    padding: 6vh;
    margin-top: 5em;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 25px !important;
    padding-right: 25px !important;
}
	
    body .entry-content section.reason-section.wp-block-group h3 {
        padding-left: 60px;
    }
	
	.body section.trouble-section.wp-block-group figure {
		width: 35vh;
	}
    
    body .entry-content section.reason-section.wp-block-group h3::before {
        font-size: 2rem;
    }
}

/* page-accordion アコーディオン機能 */

/* アコーディオンアウター */
.page-accordion-out {
        overflow: hidden;
    background-color: #938C87;
    border-radius: 5px;
}

/* h3見出し(クリック可能) */
.page-accordion-out > h3 {
    position: relative;
    margin: 0 !important;
    padding: 25px 60px 25px 35px !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
    border: none !important;
	color: #fff !important;
	letter-spacing: 0.2em !important;
    font-size: 24.55px;
}

/* h3ホバー時 */
.page-accordion-out > h3:hover {
    background-color: rgb(175 168 168 / 87%);
}

/* プラス/マイナスマークのベース */
.page-accordion-out > h3::before,
.page-accordion-out > h3::after {
    content: "";
    position: absolute;
    right: 25px;
    top: 50%;
    width: 20px;
    height: 1px;
    background-color: var(--clinic-text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* マイナスマーク(横線) */
.page-accordion-out > h3::before {
    transform: translateY(-50%);
}

/* プラスマーク(縦線) */
.page-accordion-out > h3::after {
    transform: translateY(-50%) rotate(90deg);
}

/* 開いている時は縦線を非表示(マイナスマークのみ表示) */
.page-accordion-out.is-open > h3::after {
    opacity: 0;
    transform: translateY(-50%) rotate(0deg);
}

/* アコーディオンインナー(コンテンツ部分) */
.page-accordion-in {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px !important;
}

/* 開いている時 */
.page-accordion-out.is-open .page-accordion-in {
    max-height: 5000px !important;
    padding: 50px 50px !important;
    background-color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .page-accordion-out > h3 {
        padding: 15px 50px 15px 20px !important;
    }
    
    .page-accordion-out > h3::before,
    .page-accordion-out > h3::after {
        right: 20px;
        width: 16px;
    }
    
    .page-accordion-out.is-open .page-accordion-in {
        padding: 20px 15px !important;
    }
}

/* ========================================
   予約セクション(Reservation)デザイン
======================================== */

/* セクション全体 */
body.body section.section-resave {
    position: relative;
    margin: 0;
    overflow: hidden;
    padding: 15vh 0 10vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 20px;
    padding-right: 20px;
	background: #FFFFFF;
}

/* 不要な背景オーバーレイを削除 */
.section-resave::after {
    display: none;
}

/* "Reservation"テキスト（小さい英語） */
.section-resave > p:first-of-type {
    font-family: var(--font-english), serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #5B5652;
    letter-spacing: 0.15em;
    margin: 0 auto 8px;
    text-align: center;
    padding: 0;
    border: none;
    width: auto;
}

/* "無料カウンセリングを予約する"（大きい日本語タイトル） */
.section-resave > p:nth-of-type(2) {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #4F4A46;
    margin: 0 auto 50px;
    line-height: 1.5;
    text-align: center;
    width: auto;
}

/* ボタンエリア(2カラム) */
.section-resave .wp-block-columns {
    max-width: 900px;
    margin: 0 auto;
    gap: 30px;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

/* 各ボタンカラム */
.section-resave .wp-block-column {
    flex-basis: 50%;
    max-width: 420px;
}

/* ボタンラッパー */
.section-resave .button-block {
    margin: 0;
}

/* ボタン共通スタイル */
.section-resave .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100% !important;
    padding: 18px 60px 18px 60px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    position: relative;
    box-shadow: none;
    color: #FFFFFF !important;
}

/* 左側アイコン（Web・LINE） */
.section-resave .btn::before {
    content: '';
    width: 22px;
    height: 22px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    flex-shrink: 0;
    position: absolute;
    left: 30px;
}

/* 右側矢印アイコン（円で囲まれた矢印） */
.section-resave .btn::after {
    content: '＞';
    align-items: center;
    line-height: 19px;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1.0px solid #fff;
    border-radius: 50%;
    font-size: 0.55rem;
    padding-left: 1px;
    color: #FFFFFF;
    position: absolute;
    right: 22px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

/* Webボタン（左側・ベージュグレー） */
.section-resave .wp-block-column:first-child .btn {
    background-color: #B5AA9F !important;
}

.section-resave .wp-block-column:first-child .btn::before {
    background-image: url('../img/icon_web.png');
}

.section-resave .wp-block-column:first-child .btn:hover {
    background-color: #A39890 !important;
    transform: translateY(-1px);
}

.section-resave .wp-block-column:first-child .btn:hover::after {
    transform: translateX(3px);
    border-color: rgba(255, 255, 255, 0.8);
	right: 15px;
}

/* LINEボタン（右側・ダークグレー） */
.section-resave .wp-block-column:last-child .btn {
    background-color: #6B6662 !important;
}

.section-resave .wp-block-column:last-child .btn::before {
    background-image: url('../img/icon_line.png');
}

.section-resave .wp-block-column:last-child .btn:hover {
    background-color: #5B5652 !important;
    transform: translateY(-1px);
}

.section-resave .wp-block-column:last-child .btn:hover::after {
    transform: translateX(3px);
    border-color: rgba(255, 255, 255, 0.8);
	right: 15px;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    body.body section.section-resave {
        margin: 60px auto 0px;
        padding: 60px 20px;
        margin-left: calc(50% - 50vw);
    }
    
    .section-resave > p:first-of-type {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    .section-resave > p:nth-of-type(2) {
        font-size: 1.3rem;
        margin-bottom: 40px;
    }
    
    /* ボタンを縦並びに */
    .section-resave .wp-block-columns {
        flex-direction: column;
        gap: 18px;
    }
    
    .section-resave .wp-block-column {
        flex-basis: 100%;
        max-width: 100%;
    }
    
    .section-resave .btn {
        padding: 16px 55px;
        font-size: 0.95rem;
    }

    .section-resave .btn::before {
        width: 20px;
        height: 20px;
        left: 24px;
    }

    .section-resave .btn::after {
        width: 26px;
        height: 26px;
        right: 18px;
        font-size: 0.8rem;
    }
}
/* ========================================
   Point Section - カウンター初期化
======================================== */
body.body section.point-section {
    counter-reset: point-counter;
}

/* ========================================
   Point Section - h3見出し(横並びレイアウト)
======================================== */
body.body section.point-section h3 {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 0;
    counter-increment: point-counter;
}

/* 「point」部分(小さい文字) - 2番目に配置 */
.point-section h3::before {
    content: counter(point-counter, decimal-leading-zero);
    position: static;
    display: inline-block;
    font-family: var(--font-japanese);
    font-size: 48px;
    color: var(--clinic-primary);
    line-height: 1;
    letter-spacing: 0em;
    white-space: nowrap;
    flex-shrink: 0;
    order: -1;
    margin-right: 20px;
}

.point-section h3::after {
	content: "point";
    position: static;
    display: inline-block;
    font-family: var(--font-japanese);
    font-size: 18px;
    line-height: 1;
    color: var(--clinic-primary);
    letter-spacing: 0em;
    white-space: nowrap;
    flex-shrink: 0;
    order: -2;
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
    body.body section.point-section h3 {
        font-size: 20px;
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .point-section h3::before {
        font-size: 30px;
    }
    
    .point-section h3::after {
        font-size: 15px;
    }
}


/* ========================================
   追加レスポンシブ設定
======================================== */

@media (max-width: 1024px) {
	.column-wrap {
    flex-direction: column;
}
	
	.column-2-3-2-1 .column-left {
    width: 85% !important;
}
	
	.column-2-3-2-1 .column-right {
    width: 85% !important;
}
	
    .column-2-3-2-1 .column-right figure {
    border-radius:10px;
}
	
	.hero-fixed-content {
    align-items: center;
}
	
	.hero-content-inner p.hero-subtitle {
    font-size: 30px;
        font-weight: 400;
        line-height: 1.5em;
        margin: 0 0 0 0;
        opacity: 1;
}
	
	.hero-content-inner h1.hero-title {
    font-size: 15px;
        text-align: left;
        line-height: 1.5;
        margin: 15px 0 0 0;
}
	
.value-section h2.wp-block-heading, .doctor-section h2.wp-block-heading, .campain-section h2.wp-block-heading, .menu-section h2.wp-block-heading, .news-section h2.wp-block-heading, .faq-section h2.wp-block-heading, .access-section h2.wp-block-heading {
    font-size: 70px;
    padding-right: 0;
	display: flex;
    justify-content: center;
}

.value-section h2.wp-block-heading::after, .doctor-section h2.wp-block-heading::after, .campain-section h2.wp-block-heading::after, .menu-section h2.wp-block-heading::after, .news-section h2.wp-block-heading::after, .faq-section h2.wp-block-heading::after, .access-section h2.wp-block-heading::after {
    left: calc(90% + 5px);
    width: 100%;
}
	
	.value-section h2.wp-block-heading::before, .doctor-section h2.wp-block-heading::before, .campain-section h2.wp-block-heading::before, .menu-section h2.wp-block-heading::before, .news-section h2.wp-block-heading::before, .faq-section h2.wp-block-heading::before, .access-section h2.wp-block-heading::before {
    left: calc(90% + 36px);
    font-size: 12px;
}
	
	.body section.value-section.wp-block-group {
}
	
}

/* ============================================
   SCROLL FADE-IN ANIMATION
   ============================================ */

/* 初期状態：非表示（下に20px ずれた状態） */
.js-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.1s ease, transform 1.1s ease;
}

/* 遅延バリエーション（連続する要素のずらし表示） */
.js-fade.delay-1  { transition-delay: 0.15s; }
.js-fade.delay-2  { transition-delay: 0.30s; }
.js-fade.delay-3  { transition-delay: 0.45s; }
.js-fade.delay-4  { transition-delay: 0.60s; }
.js-fade.delay-5  { transition-delay: 0.75s; }

/* 表示状態（JSでこのクラスを付与） */
.js-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* アクセシビリティ：アニメーション無効設定のユーザーには即時表示 */
@media (prefers-reduced-motion: reduce) {
    .js-fade {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
