/* =========================================================
   ILCHI Brain Yoga Renewal CSS
   整理版
   元CSSを Common / A-1 / A-2 / B-1 / B-2予定枠 に分割
   作成日: 2026-06-10
   注意: 既存表示を崩さないため、セレクタ名と !important は原則維持
========================================================= */

/* =========================
   Common 共通CSS
========================= */


/* --- ILCHI Brain Yoga Renewal / Common --- */

.iby-page {
  overflow: hidden;
  color: #222;
}

.iby-section {
  padding: 72px 24px;
}

.iby-section > .wp-block-group__inner-container {
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .iby-section {
      padding: 48px 20px;
    }
}
/* =========================
   Common 今月のキャンペーンバナー
========================= */

.ilchi-monthly-campaign {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

.ilchi-monthly-campaign__link {
  display: block !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 34px rgba(80, 50, 20, 0.10) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.ilchi-monthly-campaign__link:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 42px rgba(80, 50, 20, 0.14) !important;
}

.ilchi-monthly-campaign__img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

@media (max-width: 767px) {
  .ilchi-monthly-campaign {
    padding: 0 18px !important;
  }

  .ilchi-monthly-campaign__link {
    border-radius: 16px !important;
  }
}
/* =========================================================
   YAGA C1 HEADER FRANCHISE BADGE
   矢賀スタジオ C1 独立加盟店ラベル
   2026-06-29
========================================================= */

/* ヘッダーのスタジオ名横に独立加盟店ラベルを表示 */
html body .siteHeader .siteHeader_logo,
html body .siteHeader_logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

/* C1：落ち着いた緑系ラベル */
html body .siteHeader .siteHeader_logo::after,
html body .siteHeader_logo::after {
  content: "独立加盟店" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 3px 10px !important;
  border: 1px solid #C8D6AA !important;
  border-radius: 999px !important;
  background: #F3F7EE !important;
  color: #2F4635 !important;

  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
}

/* スマホでは少し小さくして、ヘッダーを圧迫しない */
@media screen and (max-width: 767px) {
  html body .siteHeader .siteHeader_logo,
  html body .siteHeader_logo {
    gap: 6px !important;
  }

  html body .siteHeader .siteHeader_logo::after,
  html body .siteHeader_logo::after {
    padding: 2px 8px !important;
    font-size: 10px !important;
  }
}
/* =========================================================
   YAGA C1 HEADER FRANCHISE BADGE FINAL
   Lightningヘッダー用 独立加盟店ラベル 強化版
   2026-06-29
========================================================= */

/* サイト名リンクの横に独立加盟店ラベルを表示 */
html body .siteHeader_logo a,
html body .site-header-logo a,
html body .navbar-brand,
html body .site-title a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  text-decoration: none !important;
}

/* C1：独立加盟店ラベル */
html body .siteHeader_logo a::after,
html body .site-header-logo a::after,
html body .navbar-brand::after,
html body .site-title a::after {
  content: "独立加盟店" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 3px 10px !important;
  border: 1px solid #C8D6AA !important;
  border-radius: 999px !important;
  background: #F3F7EE !important;
  color: #2F4635 !important;

  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

/* スマホ調整 */
@media screen and (max-width: 767px) {
  html body .siteHeader_logo a,
  html body .site-header-logo a,
  html body .navbar-brand,
  html body .site-title a {
    gap: 6px !important;
  }

  html body .siteHeader_logo a::after,
  html body .site-header-logo a::after,
  html body .navbar-brand::after,
  html body .site-title a::after {
    padding: 2px 8px !important;
    font-size: 10px !important;
  }
}
/* =========================================================
   YAGA C1 HEADER FRANCHISE BADGE FINAL 2
   最後のヘッダーメニュー「独立加盟店」をバッジ化
   2026-06-29
========================================================= */

/* PC：ヘッダー最後のメニュー項目を独立加盟店バッジにする */
html body .global-nav-list > li:last-child > a,
html body .gMenu > li:last-child > a,
html body .siteHeader .menu > li:last-child > a,
html body .site-header .menu > li:last-child > a,
html body #menu-main-menu > li:last-child > a,
html body .nav > li:last-child > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin-left: 8px !important;
  padding: 4px 11px !important;

  border: 1px solid #C8D6AA !important;
  border-radius: 999px !important;
  background: #F3F7EE !important;
  color: #2F4635 !important;

  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
  text-decoration: none !important;

  pointer-events: none !important;
  cursor: default !important;
}

/* 下線・ホバー線を消す */
html body .global-nav-list > li:last-child > a::before,
html body .global-nav-list > li:last-child > a::after,
html body .gMenu > li:last-child > a::before,
html body .gMenu > li:last-child > a::after,
html body .siteHeader .menu > li:last-child > a::before,
html body .siteHeader .menu > li:last-child > a::after,
html body .site-header .menu > li:last-child > a::before,
html body .site-header .menu > li:last-child > a::after,
html body #menu-main-menu > li:last-child > a::before,
html body #menu-main-menu > li:last-child > a::after {
  content: none !important;
  display: none !important;
}

/* スマホ：メニュー内でも小さなラベル表示 */
@media screen and (max-width: 767px) {
  html body .global-nav-list > li:last-child > a,
  html body .gMenu > li:last-child > a,
  html body .siteHeader .menu > li:last-child > a,
  html body .site-header .menu > li:last-child > a,
  html body #menu-main-menu > li:last-child > a,
  html body .nav > li:last-child > a {
    display: inline-flex !important;
    width: auto !important;
    margin: 8px 16px !important;
    padding: 4px 10px !important;
    font-size: 10px !important;
  }
}