@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ----------------------------------------------------------------------------------
 * リセット 
---------------------------------------------------------------------------------- */
#main_visual {
  background-color: #f5f5f5;
}

.top #content,
.l-content {
  padding-top: 0;
  margin-bottom: 0 !important;
}

#before_footer_widget {
	margin-top: 0 !important;
}
/* リセット終わり */

/* ----------------------------------------------------------------------------------
 * 共通
---------------------------------------------------------------------------------- */
.media-text-block__text-left .wp-block-media-text__content {
  max-width: 600px;
  margin-left: auto !important;
}

.media-text-block__text-right .wp-block-media-text__content {
  max-width: 600px;
  margin-right: auto !important;
}

.wp-block-image img {
  width: 100%;
}

.access-columns .swell-block-column:first-child {
  max-width: 600px;
  margin-left: auto;
  padding-left: 48px;
}

.access-columns .swell-block-column iframe {
  width: 100%;
}

.price-table.wp-block-table.is-style-stripes thead th {
	text-align: center !important;
}

.price-table.price-table--salon.wp-block-table.is-style-stripes thead th {
	background-color: #D1CB17;
}

.price-table.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: rgba(150, 16, 29, 0.1);
}

.price-table.price-table--salon.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #D1CB1710;
}

.price-table.wp-block-table>table tr>:first-child {
	width: 25%;
}

.price-table.wp-block-table>table tr>:nth-of-type(2) {
	width: 15%;
}

.price-table.wp-block-table>table tr>:last-child {
	width: 60%;
	text-align: left;
}
/* 共通終わり */

/* ----------------------------------------------------------------------------------
 * トップページ 
---------------------------------------------------------------------------------- */
.choosing-count {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.1;
}

.choosing-count.choosing-count--left {
  left: 0;
  right: unset;
}

.access-table th {
  background-color: unset;
  border: unset;
  border-right: 1px solid #333;
}

.access-table td {
  border: unset;
}

/* トップページ終わり */

/* ----------------------------------------------------------------------------------
 * サービス接骨院
---------------------------------------------------------------------------------- */
.service-chiropractic-clinic__menus .menu-item {
  position: relative;
  border: 1px solid #d1cb17 !important;
  background-color: #fff;
}

.service-chiropractic-clinic__menus .menu-item__arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 5%;
  height: auto;
  min-width: 50px;
  min-height: 30px;
  display: flex;
}

.service-chiropractic-clinic__voices .voice-item {
  border: 1px solid #96101d !important;
  background-color: #fff;
}

.service-chiropractic-clinic__voices .voice-item .wp-block-media-text__media {
  max-width: 200px;
  margin-inline: auto;
}

.service-chiropractic-clinic__voices .voice-tag {
  background-color: #96101d;
  padding-inline: 10px;
  border-radius: 15px;
  font-size: 13px;
  font-family: "Noto Serif JP", serif;
  color: #fff;
  display: inline-block;
}
/* 接骨院メニュー終わり */

/* ----------------------------------------------------------------------------------
 * サービスVRC
---------------------------------------------------------------------------------- */
.vrc-result .cap_box_ttl {
  border-radius: 12px 12px 0 0;
}

.vrc-result .cap_box_content {
  padding: unset;
  border-radius: 0 0 12px 12px;
}

.vrc-result .wp-block-separator {
  border-bottom: 1px dotted #96101d;
}

.vrc-result .wp-block-media-text {
  padding: 1.5em 3em;
}

.vrc-training-care .swell-block-column {
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}

.vrc-training-care .wp-block-group {
  padding: 1rem;
}
/* サービスVRC終わり */

/* ----------------------------------------------------------------------------------
 * サービスLumea
---------------------------------------------------------------------------------- */
.lumea-menu .swell-block-column {
  border-color: #D1CB17 !important;
}

.lumea-voice .voice-tag--yallow {
  background-color: #D1CB17 !important;
}

.lumea-voice .swell-block-column {
  border-color: #D1CB17 !important;
}
/* サービスLumea終わり */

/* ----------------------------------------------------------------------------------
 * 料金
---------------------------------------------------------------------------------- */
.pay-title {
  border-radius: 20px;
  padding: 0 !important;
}
/* 料金終わり */

/* ----------------------------------------------------------------------------------
 * 当院について
---------------------------------------------------------------------------------- */
.about-staff>.swell-block-columns__inner>.swell-block-column>.about-staff-text {
  margin-left: -2rem;
  margin-top: 3rem !important;
  position: relative;
}

.about-staff-arrow {
  width: 56px;
  height: 30px;
  position: absolute;
  top: 40px;
  left: -55px;
}

.about-staff-arrow__inner {
  position: relative;
}

.about-staff-arrow span {
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  width: 55px;
  height: 30px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #D1CB17;
}

.about-staff-arrow span:first-child {
  background-color: #96101D;
}

.about-staff-arrow span:last-child {
  background-color: #fff;
  left: 3px;
}
/* 当院について終わり */

/* ----------------------------------------------------------------------------------
 * お問い合わせ
---------------------------------------------------------------------------------- */
.contact-faq .custom-faq-question {
  background-color: #f5f5f5;
}
/* お問い合わせ終わり */

/* ----------------------------------------------------------------------------------
 * ユーティリティ 
---------------------------------------------------------------------------------- */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.ff-noto-serif-jp {
  font-family: "Noto Serif JP", serif;
}

.ff-biz-udp-gothic {
  font-family: "BIZ UDPGothic", sans-serif;
} 

.border-dotted {
  border-bottom: 1px dotted #333 !important;
}

.pc-only-custom {
  display: block;
}

.d-hidden {
	display: none;
}

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

  .tb-only-custom {
    display: block;
  }
}

@media (max-width: 480px) {
  .pc-only-custom {
    display: none;
  }

  .tb-only-custom {
    display: none;
  }

  .sp-only-custom {
    display: block;
  }
}
/* ユーティリティ終わり */

/* ----------------------------------------------------------------------------------
 * カスタムページヘッダーのスタイル
---------------------------------------------------------------------------------- */
.l-topTitleArea.-custom-page-header {
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l-topTitleArea.-custom-page-header .l-topTitleArea__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* カスタムオーバーレイのスタイル */
.custom-page-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* デフォルトのオーバーレイを無効にする（カスタムオーバーレイ使用時） */
.l-topTitleArea.-custom-page-header:has(.custom-page-overlay)::before {
  display: none;
}

.l-topTitleArea.-custom-page-header .l-topTitleArea__body {
  position: relative;
  z-index: 3;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.custom-page-header {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.custom-page-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0 0 20px 0;
  line-height: 1.2;
  text-align: center;
}

.custom-page-subtitle {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

/* ロゴ画像用スタイル */
.custom-page-logo {
  text-align: center;
  margin: 0;
}

.page-header-logo {
  max-width: 300px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* service-auto-vrcページ用スタイル（タイトル・サブタイトル入れ替え時） */
.custom-page-header .custom-page-subtitle + .custom-page-title {
  margin-top: 10px;
}

/* タブレット向けスタイル */
@media (max-width: 768px) {
  .l-topTitleArea.-custom-page-header {
    min-height: 300px;
  }

  .custom-page-title {
    font-size: 2rem;
  }

  .custom-page-subtitle {
    font-size: 1rem;
  }

  /* ロゴ画像をモバイルで小さく */
  .page-header-logo {
    max-width: 250px;
    max-height: 150px;
  }
}

/* スマートフォン向けスタイル */
@media (max-width: 480px) {
  .l-topTitleArea.-custom-page-header {
    min-height: 250px;
  }

  .custom-page-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .custom-page-subtitle {
    font-size: 0.9rem;
  }

  .custom-page-header {
    padding: 0 15px;
  }

  /* ロゴ画像をさらに小さく */
  .page-header-logo {
    max-width: 200px;
    max-height: 120px;
  }
}

/* デフォルトのダークオーバーレイ効果（カスタムオーバーレイ未使用時のみ） */
.l-topTitleArea.-custom-page-header:not(:has(.custom-page-overlay))::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
  pointer-events: none;
}

/* ----------------------------------------------------------------------------------
 * FAQブロックのスタイル
---------------------------------------------------------------------------------- */
.custom-faq-container {
  max-width: 100%;
  margin: 2rem 0;
}

.custom-faq-item {
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  margin-bottom: 2rem;
  overflow: hidden;
}

.custom-faq-item:first-child {
  border-radius: 8px 8px 0 0;
}

.custom-faq-item:last-child {
  border-radius: 0 0 8px 8px;
  margin-bottom: 0;
}

.custom-faq-item:only-child {
  border-radius: 8px;
}

.custom-faq-question {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #d9d9d9;
  position: relative;
}

/* .custom-faq-question:hover {
  background-color: #f0f0f0;
} */

.custom-faq-question .faq-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #96101d;
  margin-right: 1rem;
  flex-shrink: 0;
  min-width: 2.5rem;
  font-family: "BIZ UDPGothic", sans-serif;
}

.custom-faq-question .faq-question-text {
  flex: 1;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.4;
}

.faq-toggle-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: #96101d;
  margin-left: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.custom-faq-item.is-open .faq-toggle-icon {
  transform: rotate(45deg);
}

.custom-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: transparent;
}

.custom-faq-item.is-open .custom-faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  display: flex;
  padding: 2rem 1.5rem 2rem 3rem;
  align-items: flex-start;
}

.faq-answer-content .faq-answer-label {
  font-size: 1.25rem;
  font-weight: bold;
  color: #d1cb17;
  margin-right: 1rem;
  flex-shrink: 0;
  min-width: 2.5rem;
  font-family: "BIZ UDPGothic", sans-serif;
}

.faq-answer-text {
  flex: 1;
  line-height: 1.6;
  font-size: 1rem;
}

.faq-answer-text p {
  margin: 0 0 1rem 0;
}

.faq-answer-text p:last-child {
  margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .custom-faq-question {
    padding: 1rem;
  }

  .custom-faq-question .faq-number {
    font-size: 1rem;
    margin-right: 0.8rem;
    min-width: 2rem;
  }

  .custom-faq-question .faq-question-text {
    font-size: 1rem;
  }

  .faq-answer-content {
    padding: 1.5rem 1rem;
  }

  .faq-answer-content .faq-answer-label {
    font-size: 1rem;
    margin-right: 0.8rem;
    min-width: 2rem;
  }

  .faq-answer-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .custom-faq-question {
    padding: 0.8rem;
  }

  .custom-faq-question .faq-number {
    font-size: 0.9rem;
    margin-right: 0.6rem;
    min-width: 1.8rem;
  }

  .custom-faq-question .faq-question-text {
    font-size: 0.9rem;
  }

  .faq-toggle-icon {
    font-size: 1.2rem;
    margin-left: 0.5rem;
  }

  .faq-answer-content {
    padding: 1rem 0.8rem;
  }

  .faq-answer-content .faq-answer-label {
    font-size: 0.9rem;
    margin-right: 0.6rem;
    min-width: 1.8rem;
  }

  .faq-answer-text {
    font-size: 0.85rem;
  }
}

/* ----------------------------------------------------------------------------------
 * ヘッダーCTAボタンのスタイル（画像通りのデザイン）
---------------------------------------------------------------------------------- */
.c-gnavWrap a {
  padding-block: 12px !important;
}

/* CTAエリア全体 */
.header-cta-area {
  margin-bottom: 8px;
}

/* CTAボタンコンテナ */
.header-cta-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-cta-buttons.header-cta-buttons--sp {
  flex-direction: column;
}


/* CTAボタンの基本スタイル */
.header-cta-btn {
  padding: 14px 8px 8px 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: none;
  color: #fff;
  text-align: center;
  min-width: 120px;
  display: inline-block;
  position: relative;
}

.header-cta-btn.header-cta-btn--sp {
  padding: 8px;
  border-radius: 4px;
  width: 100%;
  color: #fff;
}

/* 接骨院ボタン（赤） - 画像と同じ色 */
.btn-clinic {
  background-color: #96101D;
  border-radius: 0 0 4px 4px; /* 左側のボタンのみ左端を角丸 */
}

.btn-clinic:hover {
  background-color: #7a0d17;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* エステボタン（黄緑） - 画像と同じ色 */
.btn-beauty {
  background-color: #D1CB17;
  border-radius: 0 0 4px 4px; /* 右側のボタンのみ右端を角丸 */
}

.btn-beauty:hover {
  background-color: #8fa530;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 追従ヘッダー用のスタイル */
.header-cta-area--fix {
  margin-bottom: 0;
}

/* .header-cta-area--fix .header-cta-buttons {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
} */

/* ヘッダー全体のレイアウト調整 */
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.l-header__logo {
  flex: 0 0 auto;
}

.l-header__menu {
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  align-items: flex-end !important;
  margin-left: auto !important;
}

/* グローバルナビのスタイル調整 */
.l-header__gnav {
  margin: 0;
}

/* スマホ表示時の調整 */
@media (max-width: 768px) {
  .header-cta-area {
    display: none; /* スマホでは非表示 */
  }

  .l-header__menu {
    flex-direction: row !important;
    align-items: center !important;
    display: none !important;
  }

  .l-header__gnav {
    order: -1;
  }
}

/* タブレット表示時の調整 */
@media (min-width: 769px) and (max-width: 1024px) {
  .header-cta-btn {
    padding: 6px 16px;
    font-size: 0.85rem;
    min-width: 100px;
  }
}

/* PC大画面での調整 */
@media (min-width: 1200px) {
  .header-cta-btn {
    padding: 10px 24px;
    font-size: 1rem;
    min-width: 130px;
  }
}

/* ヘッダーが固定されている時の調整 */
/* .l-fixHeader .l-fixHeader__menu {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  align-items: flex-end !important;
  margin-left: auto !important;
} */

/* .l-fixHeader .header-cta-area {
  margin-bottom: 4px;
}

.l-fixHeader .header-cta-btn {
  padding: 6px 16px;
  font-size: 0.85rem;
} */

/* ウィジェットエリアとの調整 */
/* .w-header {
  display: none;
} */

/* ヘッダーの高さ調整 */
/* .l-header {
  min-height: auto;
}

.l-header__inner {
  padding-top: 15px;
  padding-bottom: 15px;
} */
