/*
    Theme Name: SWELL CHILD - GBC GIFU
    Template: swell
    Description: 銀座美容クリニック岐阜院 子テーマ
    Version: 1.0.0
*/

/* ===========================
   Google Fonts
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Shippori+Mincho:wght@400;500;600&display=swap');

/* ===========================
   全体ベース
=========================== */
:root {
  --gbc-gold: #b8935b;
  --gbc-gold-dark: #8f6f3f;
  --gbc-brown: #7f7465;
  --gbc-brown-dark: #2a241e;
  --gbc-beige: #f5f0e8;
  --gbc-text: #333;
  --gbc-text-sub: #6b5e52;
}

body {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: var(--gbc-text);
  background-color: #fdfdfd;
}

/* ===========================
   セクションタイトル共通
=========================== */
.top_title_en {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gbc-gold);
  font-weight: 400;
}

.top_title_ja {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gbc-text);
  background: none !important;
  padding: 0 !important;
  border: none !important;
}
.top_title_ja::before,
.top_title_ja::after {
  display: none !important;
}

/* ===========================
   ヘッダーカスタマイズ
=========================== */
.l-header {
  font-family: "Shippori Mincho", serif;
}
.l-header__bar {
  background: var(--gbc-brown-dark);
  color: #c5b8a8;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.c-gnav a {
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ===========================
   メインビジュアル非表示
=========================== */
.p-mainVisual {
  display: none !important;
}

/* ===========================
   フルワイドセクション
=========================== */
.swell-block-fullWide {
  padding: 80px 0;
}
@media (max-width: 768px) {
  .swell-block-fullWide {
    padding: 56px 0;
  }
}

/* ===========================
   施術メニューカード
=========================== */
.menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  background: var(--gbc-brown);
  color: #fff;
  text-align: center;
  transition: transform 0.3s, opacity 0.3s;
  min-height: 140px;
}
.menu-card:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}
.menu-card .en {
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  opacity: 0.8;
  margin-bottom: 8px;
}
.menu-card .ja {
  font-size: 16px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ===========================
   特長セクション
=========================== */
.strength-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--gbc-gold);
  text-align: center;
}
.strength-num::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gbc-gold);
  margin: 0 auto 12px;
}

/* ===========================
   FAQ アコーディオン
=========================== */
.swell-block-accordion__title {
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.swell-block-accordion__body {
  font-size: 13px;
  line-height: 2;
  color: var(--gbc-text-sub);
}

/* ===========================
   院長挨拶
=========================== */
.greeting-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-bottom: 24px;
}
.greeting-text {
  font-size: 14px;
  line-height: 2;
  color: var(--gbc-text-sub);
}
.greeting-sign {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e5dccf;
}
.greeting-role {
  font-size: 11px;
  color: var(--gbc-text-sub);
  letter-spacing: 0.2em;
}
.greeting-name {
  font-size: 18px;
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* ===========================
   アクセス
=========================== */
.access-info dt {
  color: var(--gbc-text-sub);
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 4px;
}
.access-info dd {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ===========================
   監修医師
=========================== */
.advisor-note {
  max-width: 720px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--gbc-text-sub);
  line-height: 2;
  text-align: left;
  padding: 24px;
  background: var(--gbc-beige);
}

/* ===========================
   フッター
=========================== */
.l-footer {
  font-family: "Shippori Mincho", serif;
}
.l-footer__nav a {
  font-size: 12px;
  letter-spacing: 0.1em;
}


/* ===========================
   VIEW MORE ボタン共通
=========================== */
.is-style-more_btn .swell-block-button__link {
  border: 1px solid var(--gbc-brown) !important;
  color: var(--gbc-brown) !important;
  background: transparent !important;
  font-size: 13px;
  letter-spacing: 0.15em;
  padding: 12px 40px;
}
.is-style-more_btn .swell-block-button__link:hover {
  background: var(--gbc-brown) !important;
  color: #fff !important;
}

/* ===========================
   SWELLデフォルト見出し装飾上書き
=========================== */
.post_content h2.is-style-section_ttl {
  background: none !important;
  color: var(--gbc-text) !important;
  padding: 0 !important;
  text-align: center;
}
.post_content h2.is-style-section_ttl::before,
.post_content h2.is-style-section_ttl::after {
  display: none !important;
}

/* ===========================
   レスポンシブ調整
=========================== */
@media (max-width: 768px) {
  .top_title_ja {
    font-size: 22px;
  }
  .greeting-title {
    font-size: 18px;
  }
}

/* ===========================
   料金表メニューナビ
=========================== */
.price-menu-nav {
  border: 1px solid #e5dccf;
}
.price-menu-nav .wp-block-buttons {
  gap: 8px !important;
  max-width: 960px;
  margin: 20px auto 0;
}
.price-menu-nav .wp-block-button {
  flex: 0 1 auto;
  margin: 0;
}
.price-menu-nav .wp-block-button__link {
  background: #fff !important;
  color: var(--gbc-brown) !important;
  border: 1px solid var(--gbc-brown) !important;
  font-size: 12px !important;
  letter-spacing: 0.05em;
  padding: 8px 16px !important;
  border-radius: 2px !important;
  transition: all 0.2s;
  white-space: nowrap;
}
.price-menu-nav .wp-block-button__link:hover {
  background: var(--gbc-brown) !important;
  color: #fff !important;
}
.price-menu-nav .wp-block-button.has-custom-width {
  width: auto !important;
}
@media (max-width: 768px) {
  .price-menu-nav .wp-block-button__link {
    font-size: 11px !important;
    padding: 6px 10px !important;
  }
}

/* ===========================
   料金表テーブル
=========================== */
.wp-block-table.is-style-stripes {
  margin-bottom: 32px;
}
.wp-block-table.is-style-stripes table {
  border-collapse: collapse;
  font-size: 14px;
}
.wp-block-table.is-style-stripes thead th {
  background: var(--gbc-brown) !important;
  color: #fff;
  border: none;
  font-weight: 500;
  padding: 12px;
  font-size: 13px;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: #fafaf7 !important;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(even) {
  background-color: #fff !important;
}
.wp-block-table.is-style-stripes td {
  padding: 10px 12px;
  border: 1px solid #e5dccf;
}

/* ===========================
   アンカーリンクのスクロール位置調整
=========================== */
h3[id], h4[id] {
  scroll-margin-top: 100px;
}

/* ===========================
   料金表ページ見出し
=========================== */
.page-id-40 h3.wp-block-heading {
  font-size: 22px;
  color: var(--gbc-brown-dark);
  padding: 12px 20px;
  background: var(--gbc-beige);
  border-left: 4px solid var(--gbc-gold);
  margin: 40px 0 20px;
}
.page-id-40 h4.wp-block-heading {
  font-size: 17px;
  color: var(--gbc-brown);
  border-left: 3px solid var(--gbc-brown);
  padding-left: 12px;
  margin: 24px 0 12px;
}


/* ===========================
   院長写真スタイル（挨拶セクション）
=========================== */
.swell-block-fullWide .wp-block-image img,
.wp-block-group .wp-block-image img {
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(42, 36, 30, 0.12);
}

/* ===========================
   Google Map レスポンシブ
=========================== */
.google-map-wrap {
  box-shadow: 0 2px 12px rgba(42, 36, 30, 0.08);
}
@media (min-width: 768px) {
  .google-map-wrap {
    padding-bottom: 60% !important;
  }
}

/* PC: 右下固定ボタン */
@media (min-width: 960px) {
  
  
}

/* スマホ: 画面下部全幅 */
@media (max-width: 959px) {
  
  
  body {
    padding-bottom: 72px;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

/* 管理画面バー分のオフセット調整 */
.admin-bar 


/* ボディ下部余白（コンテンツがバーの裏に隠れないように） */
body {
  padding-bottom: 72px;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

/* スマホ用微調整 */
@media (max-width: 599px) {
  .gbc-fixed-cta__btn {
    font-size: 14px;
    gap: 8px;
    padding: 14px 10px calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .gbc-fixed-cta__icon svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px;
    max-height: 20px;
  }
  body {
    padding-bottom: 64px;
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

/* 大画面・PC：中央に最大幅で表示 */
@media (min-width: 960px) {
  .gbc-fixed-cta__btn {
    padding: 18px 16px;
    font-size: 16px;
  }
  .gbc-fixed-cta__icon svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px;
    max-height: 24px;
  }
}
/* ===========================
   固定フッターバー（LINE予約 + 電話予約）
   PC・タブレット・スマホ 全デバイスで表示
   SWELL テーマ上書き対策で !important 多用
=========================== */
body .gbc-fixed-cta {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(42, 36, 30, 0.12);
  margin: 0 !important;
  padding: 0 !important;
}

body .gbc-fixed-cta__btn {
  flex: 1 1 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 16px 12px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  text-decoration: none !important;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  letter-spacing: 0.08em !important;
  color: #fff !important;
  transition: filter 0.2s ease, transform 0.2s ease;
  border: none !important;
  min-height: auto !important;
  max-width: none !important;
  width: auto !important;
}

body .gbc-fixed-cta__btn:hover,
body .gbc-fixed-cta__btn:focus {
  filter: brightness(0.92);
  opacity: 1 !important;
  color: #fff !important;
}

body .gbc-fixed-cta__btn:active {
  transform: scale(0.98);
}

body .gbc-fixed-cta__btn--line {
  background: #06C755 !important;
  background-color: #06C755 !important;
}

body .gbc-fixed-cta__btn--tel {
  background: #7f7465 !important;
  background-color: #7f7465 !important;
}

body .gbc-fixed-cta__icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  color: #fff !important;
}

body .gbc-fixed-cta__icon svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  display: block !important;
  fill: currentColor;
}

body .gbc-fixed-cta__btn--tel .gbc-fixed-cta__icon svg {
  fill: none !important;
  stroke: currentColor !important;
}

body .gbc-fixed-cta__label {
  white-space: nowrap !important;
  color: #fff !important;
}

/* ボディ下部余白 */
body {
  padding-bottom: 72px !important;
}

/* スマホ用微調整 */
@media (max-width: 599px) {
  body .gbc-fixed-cta__btn {
    font-size: 14px !important;
    gap: 8px !important;
    padding: 14px 10px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body .gbc-fixed-cta__icon svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
  }
  body {
    padding-bottom: 64px !important;
  }
}

/* 大画面・PC */
@media (min-width: 960px) {
  body .gbc-fixed-cta__btn {
    padding: 18px 16px !important;
    font-size: 16px !important;
  }
  body .gbc-fixed-cta__icon svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
  }
}
