@charset "UTF-8";

/* =========================================================
   12-c2-akashi.css
   イルチブレインヨガ明石スタジオ C2 / 店舗固有CSS

   使用範囲:
   - 明石固有ヘッダー
   - PC通常ヘッダー
   - 追従ヘッダー
   - 375px調整
   - 明石固有のSiteOrigin/テーマ差分

   重要:
   - 現時点では意図的に有効なヘッダー指定を入れていません。
   - 実DOM / class / id / body class を確認後に追加します。
   - 地域名、予約URL、page ID、CF7 IDは確認前に記述しません。
========================================================= */

/* 明石固有調整はここから追加 */
/* =========================================================
   明石C2 / studio
   スマホ：アクセス地図下の余白を削除
========================================================= */

@media screen and (max-width: 767px) {

  body.ilchi-second-layer-studio
  .mainSection
  .ilchi-access-card {
    padding-bottom: 0 !important;
  }

  body.ilchi-second-layer-studio
  .mainSection
  .ilchi-access-card__body {
    margin-bottom: 0 !important;
  }

  body.ilchi-second-layer-studio
  .mainSection
  .ilchi-map-wrap {
    margin-bottom: 0 !important;
  }

  /* WordPressがiframeをpで包んだ場合の余白も消す */
  body.ilchi-second-layer-studio
  .mainSection
  .ilchi-map-wrap p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
  }

}
/* =========================================================
   明石C2 / privacy
   実DOM対応：ページ内メニュー PC 3列×2段
========================================================= */

@media screen and (min-width: 768px) {

  body.ilchi-second-layer-privacy
  nav.ilchi-page-anchor-nav {
    display: block !important;
    width: 100% !important;
    max-width: 660px !important;
    margin: 28px auto 40px !important;
    padding: 0 !important;
  }

  body.ilchi-second-layer-privacy
  nav.ilchi-page-anchor-nav > p {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.ilchi-second-layer-privacy
  nav.ilchi-page-anchor-nav > p > br {
    display: none !important;
  }

  body.ilchi-second-layer-privacy
  nav.ilchi-page-anchor-nav > p > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    margin: 0 !important;
  }

}
/* =========================================================
   明石C2 / privacy
   ページ内メニュー 実DOM対応 FINAL
   nav > p > a 対応
========================================================= */

/* SiteOrigin / WordPress が自動生成した p をレイアウト上なくす */
body.ilchi-second-layer-privacy
nav.ilchi-page-anchor-nav > p {
  display: contents !important;
}

body.ilchi-second-layer-privacy
nav.ilchi-page-anchor-nav br {
  display: none !important;
}


/* -------------------------
   PC：3列 × 2段
------------------------- */

@media screen and (min-width: 768px) {

  body.ilchi-second-layer-privacy
  nav.ilchi-page-anchor-nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px 12px !important;

    width: 100% !important;
    max-width: 660px !important;

    margin: 28px auto 40px !important;
    padding: 0 !important;
  }

  body.ilchi-second-layer-privacy
  nav.ilchi-page-anchor-nav > p > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;

    margin: 0 !important;
    padding: 7px 12px !important;

    box-sizing: border-box !important;

    font-size: 13px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }

}
/* =========================================================
   明石C2 / sitemap
   リスト先頭の丸印を削除
========================================================= */

body.ilchi-second-layer-sitemap
.mainSection li {
  padding-left: 0 !important;
}

body.ilchi-second-layer-sitemap
.mainSection li::before {
  content: none !important;
  display: none !important;
}

/* -------------------------
   スマホ：2列 × 3段
------------------------- */

@media screen and (max-width: 767px) {

  body.ilchi-second-layer-privacy
  nav.ilchi-page-anchor-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px 10px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 20px auto 28px !important;
    padding: 0 !important;
  }

  body.ilchi-second-layer-privacy
  nav.ilchi-page-anchor-nav > p > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;

    margin: 0 !important;
    padding: 7px 6px !important;

    box-sizing: border-box !important;

    font-size: 12.5px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;

    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

}
/* =========================================================
   明石C2 / HERO 体験談カード FINAL
   左：体験談　右：明石海峡大橋
========================================================= */

@media screen and (min-width: 768px) {

  html body .iby-page.iby-design-c2
  .iby-c2-hero__visual
  .iby-c2-hero__voice {
    display: grid !important;
    grid-template-columns: minmax(240px, 1fr) 150px !important;
    grid-template-rows: auto auto !important;
    column-gap: 20px !important;
    align-items: center !important;

    width: min(520px, 92%) !important;
    min-height: 0 !important;

    /* C2共通の右118px余白を完全解除 */
    padding: 20px 22px !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  html body .iby-page.iby-design-c2
  .iby-c2-hero__voice-text {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 0 7px !important;
    padding: 0 !important;

    font-size: 17px !important;
    line-height: 1.65 !important;

    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  html body .iby-page.iby-design-c2
  .iby-c2-hero__voice-meta {
    grid-column: 1 !important;
    grid-row: 2 !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 11px !important;
    line-height: 1.55 !important;

    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    word-break: normal !important;
  }

  html body .iby-page.iby-design-c2
  .iby-c2-hero__local-icon {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;

    position: static !important;
    align-self: center !important;

    width: 150px !important;
    margin: 0 !important;
    padding: 5px !important;

    box-sizing: border-box !important;

    background: #fff !important;
    border: 1px solid rgba(199, 173, 118, 0.35) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 20px rgba(47, 70, 53, 0.10) !important;
  }

  html body .iby-page.iby-design-c2
  .iby-c2-hero__local-icon img {
    display: block !important;
    width: 100% !important;
    height: 92px !important;
    margin: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 11px !important;
  }
}
/* =========================================================
   明石C2 / トレーナー紹介画像
   下の角丸部分まで画像をしっかり埋める
========================================================= */

html body .iby-page.iby-design-c2 .iby-c2-trainer__photo {
  overflow: hidden !important;
  border-radius: 32px !important;
  line-height: 0 !important;
  background: #eef2ea !important;
}

html body .iby-page.iby-design-c2 .iby-c2-trainer__photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 0 !important;
}

/* 念のため figure / 画像周りの余白を消す */
html body .iby-page.iby-design-c2 .iby-c2-trainer__photo,
html body .iby-page.iby-design-c2 .iby-c2-trainer__photo img {
  margin-bottom: 0 !important;
}
/* =========================================================
   明石C2 / Information
   3つのリンクをボタン化
========================================================= */

html body .iby-page.iby-design-c2
.iby-c2-info-card__link,
html body .iby-page.iby-design-c2
.iby-c2-info-card__link:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 42px !important;
  margin-top: 12px !important;
  padding: 9px 20px !important;

  background: #6f8f5f !important;
  border: 1px solid #6f8f5f !important;
  border-radius: 999px !important;

  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;

  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(47, 70, 53, 0.12) !important;
}

html body .iby-page.iby-design-c2
.iby-c2-info-card__link::after {
  content: " →" !important;
  margin-left: 6px !important;
}

html body .iby-page.iby-design-c2
.iby-c2-info-card__link:hover {
  background: #58784d !important;
  border-color: #58784d !important;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
}
/* =========================================================
   明石C2 / HERO体験談
   スマホ中央寄せ
========================================================= */

@media screen and (max-width: 640px) {

  html body .iby-page.iby-design-c2
  .iby-c2-hero__voice {
    display: block !important;
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 20px 20px 22px !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  html body .iby-page.iby-design-c2
  .iby-c2-hero__voice-text,
  html body .iby-page.iby-design-c2
  .iby-c2-hero__voice-meta {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  html body .iby-page.iby-design-c2
  .iby-c2-hero__local-icon {
    width: 170px !important;
    max-width: 70% !important;
    margin: 16px auto 0 !important;
  }

}
/* =========================================================
   明石C2 / HERO体験談
   スマホ中央配置 FINAL
========================================================= */

@media screen and (max-width: 640px) {

  html body .iby-page.iby-design-c2
  .iby-c2-hero__voice {
    display: block !important;
    width: calc(100% - 32px) !important;
    max-width: none !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 22px 18px 24px !important;
    box-sizing: border-box !important;

    text-align: center !important;
  }


  /* 体験談タイトル */
  html body .iby-page.iby-design-c2
  .iby-c2-hero__voice
  .iby-c2-hero__voice-text {
    display: block !important;

    width: 100% !important;
    max-width: 280px !important;

    margin: 0 auto 8px !important;
    padding: 0 !important;

    font-size: 16px !important;
    line-height: 1.7 !important;

    text-align: center !important;
  }

  html body .iby-page.iby-design-c2
  .iby-c2-hero__voice-text a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

  html body .iby-page.iby-design-c2
  .iby-c2-hero__voice-text span {
    display: inline-block !important;
    white-space: nowrap !important;
  }


  /* 注記 */
  html body .iby-page.iby-design-c2
  .iby-c2-hero__voice
  .iby-c2-hero__voice-meta {
    display: block !important;

    width: 100% !important;
    max-width: 250px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    font-size: 12px !important;
    line-height: 1.55 !important;

    text-align: center !important;
  }


  /* 明石海峡大橋 */
  html body .iby-page.iby-design-c2
  .iby-c2-hero__voice
  .iby-c2-hero__local-icon {
    display: block !important;
    position: static !important;

    width: 170px !important;
    max-width: 170px !important;

    margin: 18px auto 0 !important;
    padding: 5px !important;

    box-sizing: border-box !important;
  }

  html body .iby-page.iby-design-c2
  .iby-c2-hero__local-icon a {
    display: block !important;
    width: 100% !important;
  }

  html body .iby-page.iby-design-c2
  .iby-c2-hero__local-icon img {
    display: block !important;

    width: 100% !important;
    height: 100px !important;

    margin: 0 auto !important;

    object-fit: cover !important;
    object-position: center !important;
  }

}
/* =========================================================
   明石C2 / HERO VOICE MOBILE
   広島用の右108px予約領域を解除 FINAL
========================================================= */

@media screen and (max-width: 767px) {

  html body
  .iby-page.iby-design-c2
  .iby-c2-hero__visual
  .iby-c2-hero__voice {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    width: calc(100% - 32px) !important;
    max-width: none !important;
    min-height: 0 !important;

    margin: 14px auto 0 !important;

    /* ★広島用の右108px余白を解除 */
    padding: 22px 18px 24px !important;

    text-align: center !important;
    box-sizing: border-box !important;
  }


  html body
  .iby-page.iby-design-c2
  .iby-c2-hero__visual
  .iby-c2-hero__voice
  .iby-c2-hero__voice-text {
    width: 100% !important;
    max-width: 290px !important;

    margin: 0 auto 7px !important;
    padding: 0 !important;

    font-size: 15px !important;
    line-height: 1.65 !important;
    text-align: center !important;
  }


  html body
  .iby-page.iby-design-c2
  .iby-c2-hero__visual
  .iby-c2-hero__voice
  .iby-c2-hero__voice-meta {
    width: 100% !important;
    max-width: 260px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    font-size: 11px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }


  html body
  .iby-page.iby-design-c2
  .iby-c2-hero__visual
  .iby-c2-hero__voice
  .iby-c2-hero__local-icon {
    position: static !important;

    width: 170px !important;
    max-width: 170px !important;

    margin: 18px auto 0 !important;
    padding: 5px !important;

    align-self: center !important;
    box-sizing: border-box !important;
  }


  html body
  .iby-page.iby-design-c2
  .iby-c2-hero__visual
  .iby-c2-hero__voice
  .iby-c2-hero__local-icon img {
    display: block !important;
    width: 100% !important;
    height: 100px !important;
    margin: 0 auto !important;

    object-fit: cover !important;
    object-position: center !important;
  }

}
/* =========================================================
   明石C2 / 体験レッスン見出し
   スマホ2行固定 FINAL
========================================================= */

@media screen and (max-width: 640px) {

  html body .iby-page.iby-design-c2
  .iby-c2-flow
  .iby-c2-section-head__title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 12px !important;

    box-sizing: border-box !important;

    font-size: 24px !important;
    line-height: 1.5 !important;

    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  html body .iby-page.iby-design-c2
  .iby-c2-flow
  .iby-c2-section-head__title span {
    display: inline-block !important;
    white-space: nowrap !important;
  }

}
/* =========================================================
   明石C2 / PC通常ヘッダー
   実DOM確認済み
========================================================= */

@media screen and (min-width: 1200px) {

  /* ヘッダー全体を1列に */
  html body.ilchi-site-akashi
  header.siteHeader
  > .container.siteHeadContainer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    max-width: 1320px !important;

    min-height: 92px !important;

    margin: 0 auto !important;
    padding: 12px 24px !important;

    box-sizing: border-box !important;
  }


  /* ---------------------------------
     左：スタジオ名
  ---------------------------------- */

  html body.ilchi-site-akashi
  header.siteHeader
  .navbar-header {
    display: flex !important;
    align-items: center !important;

    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }


  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo {
    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 1.4 !important;
  }


  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #253f31 !important;
    text-decoration: none !important;
  }


  /* 地域名 */
  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a::before {
    content: "［明石市］" !important;

    display: block !important;

    margin: 0 0 3px !important;

    color: #6f8f5f !important;

    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.08em !important;
  }


  /* スタジオ名 */
  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a > span {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #253f31 !important;

    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;

    white-space: nowrap !important;
  }


  /* 独立加盟店 */
  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a::after {
    content: "独立加盟店" !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin-top: 6px !important;
    padding: 2px 8px !important;

    border: 1px solid #c8d6aa !important;
    border-radius: 999px !important;

    background: #f3f7ee !important;
    color: #496542 !important;

    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;

    white-space: nowrap !important;
  }


  /* ---------------------------------
     右：グローバルメニュー
  ---------------------------------- */

  html body.ilchi-site-akashi
  header.siteHeader
  #gMenu_outer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    flex: 1 1 auto !important;

    width: auto !important;

    margin: 0 0 0 30px !important;
    padding: 0 !important;
  }


  html body.ilchi-site-akashi
  header.siteHeader
  #gMenu_outer
  .gMenu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;

    flex-wrap: nowrap !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  html body.ilchi-site-akashi
  header.siteHeader
  #gMenu_outer
  .gMenu > li {
    flex: 0 0 auto !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  html body.ilchi-site-akashi
  header.siteHeader
  #gMenu_outer
  .gMenu > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 44px !important;

    padding: 0 11px !important;

    color: #25352c !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;

    white-space: nowrap !important;

    text-decoration: none !important;
  }


  /* 体験のご予約 */
  html body.ilchi-site-akashi
  header.siteHeader
  #gMenu_outer
  .gMenu > li:last-child > a {
    min-height: 42px !important;

    margin-left: 7px !important;
    padding: 0 17px !important;

    border-radius: 999px !important;

    background: #6f8f5f !important;
    color: #ffffff !important;

    box-shadow: none !important;
  }


  html body.ilchi-site-akashi
  header.siteHeader
  #gMenu_outer
  .gMenu > li:last-child > a:hover {
    background: #58784d !important;
    color: #ffffff !important;
  }

}
/* =========================================================
   明石C2 / PC通常ヘッダー
   2行化 + メニュー間隔調整
========================================================= */

@media screen and (min-width: 1200px) {

  /* 左側を2段構成に */
  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a {
    display: grid !important;
    grid-template-columns: auto auto !important;
    grid-template-rows: auto auto !important;
    justify-content: start !important;
    align-items: center !important;
    column-gap: 8px !important;
    row-gap: 3px !important;
  }

  /* 1段目左：地域名 */
  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a::before {
    grid-column: 1 !important;
    grid-row: 1 !important;

    margin: 0 !important;
  }

  /* 1段目右：独立加盟店 */
  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a::after {
    grid-column: 2 !important;
    grid-row: 1 !important;

    margin: 0 !important;
    padding: 2px 8px !important;
  }

  /* 2段目：スタジオ名 */
  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a > span {
    grid-column: 1 / 3 !important;
    grid-row: 2 !important;

    font-size: 20px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }


  /* ---------------------------------
     メニューを左へ寄せる
  ---------------------------------- */

  html body.ilchi-site-akashi
  header.siteHeader
  #gMenu_outer {
    justify-content: flex-start !important;

    margin-left: 18px !important;
  }

  html body.ilchi-site-akashi
  header.siteHeader
  #gMenu_outer
  .gMenu {
    justify-content: flex-start !important;
  }

}
/* =========================================================
   明石C2 / PC通常ヘッダー
   ブランド＋メニュー全体を中央配置
========================================================= */

@media screen and (min-width: 1200px) {

  html body.ilchi-site-akashi
  header.siteHeader
  > .container.siteHeadContainer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 28px !important;

    width: calc(100% - 48px) !important;
    max-width: 1600px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 0 !important;
    padding-right: 0 !important;
  }


  /* 左：スタジオ名 */
  html body.ilchi-site-akashi
  header.siteHeader
  .navbar-header {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
  }


  /* 右：メニュー
     flex:1 を解除して、ブランドと一緒に中央へ */
  html body.ilchi-site-akashi
  header.siteHeader
  #gMenu_outer {
    flex: 0 0 auto !important;
    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    justify-content: center !important;
  }


  html body.ilchi-site-akashi
  header.siteHeader
  #gMenu_outer
  .gMenu {
    width: auto !important;
    justify-content: center !important;
  }

}
/* =========================================================
   明石C2 / PCヘッダー
   1段目：［明石市］＋独立加盟店
   2段目：スタジオ名
========================================================= */

@media screen and (min-width: 1200px) {

  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 300px !important;
    column-gap: 7px !important;
    row-gap: 3px !important;
  }

  /* ［明石市］ */
  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a::before {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
  }

  /* 独立加盟店 */
  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a::after {
    order: 2 !important;
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 2px 8px !important;
  }

  /* スタジオ名を必ず2段目へ */
  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a > span {
    order: 3 !important;
    flex: 0 0 100% !important;

    width: 100% !important;
    margin: 0 !important;

    white-space: nowrap !important;
  }

}
/* =========================================================
   明石C2 / PCヘッダー
   地域名＋独立加盟店を同じ1段目に固定
========================================================= */

@media screen and (min-width: 1200px) {

  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    column-gap: 7px !important;
    row-gap: 3px !important;
  }

  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a::before {
    order: 1 !important;
    flex: 0 0 auto !important;
  }

  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a::after {
    order: 2 !important;
    flex: 0 0 auto !important;
  }

  html body.ilchi-site-akashi
  header.siteHeader
  h1.navbar-brand.siteHeader_logo > a > span {
    order: 3 !important;
    flex: 0 0 100% !important;
  }

}
/* =========================================================
   明石C2 / PC追従ヘッダー FINAL
   全7メニューを1列・中央配置
========================================================= */

@media screen and (min-width: 1200px) {

  /* ---------------------------------
     追従ヘッダー本体
  ---------------------------------- */

  html body.header_scrolled
  header.siteHeader,
  html body
  header.siteHeader.header_scrolled {
    background: #fff !important;
  }

  html body.header_scrolled
  header.siteHeader
  > .container.siteHeadContainer,
  html body
  header.siteHeader.header_scrolled
  > .container.siteHeadContainer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 1400px !important;
    min-height: 62px !important;

    margin: 0 auto !important;
    padding: 0 24px !important;

    box-sizing: border-box !important;
  }


  /* 追従時はサイト名を非表示
     → メニュー7項目を中央へ */
  html body.header_scrolled
  header.siteHeader
  .navbar-header,
  html body
  header.siteHeader.header_scrolled
  .navbar-header {
    display: none !important;
  }


  /* ---------------------------------
     メニュー外枠
  ---------------------------------- */

  html body.header_scrolled
  header.siteHeader
  #gMenu_outer,
  html body
  header.siteHeader.header_scrolled
  #gMenu_outer {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    float: none !important;
    flex: 0 0 auto !important;

    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  html body.header_scrolled
  header.siteHeader
  #gMenu_outer nav,
  html body.header_scrolled
  header.siteHeader
  #gMenu_outer ul,
  html body
  header.siteHeader.header_scrolled
  #gMenu_outer nav,
  html body
  header.siteHeader.header_scrolled
  #gMenu_outer ul {
    width: auto !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  /* ---------------------------------
     7項目を横1列
  ---------------------------------- */

  html body.header_scrolled
  header.siteHeader
  #gMenu_outer .gMenu,
  html body
  header.siteHeader.header_scrolled
  #gMenu_outer .gMenu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex-wrap: nowrap !important;

    width: auto !important;
    table-layout: auto !important;
  }


  html body.header_scrolled
  header.siteHeader
  #gMenu_outer .gMenu > li,
  html body
  header.siteHeader.header_scrolled
  #gMenu_outer .gMenu > li {
    display: block !important;

    float: none !important;
    flex: 0 0 auto !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  html body.header_scrolled
  header.siteHeader
  #gMenu_outer .gMenu > li > a,
  html body
  header.siteHeader.header_scrolled
  #gMenu_outer .gMenu > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    min-height: 44px !important;

    margin: 0 !important;
    padding: 0 12px !important;

    color: #25352c !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;

    white-space: nowrap !important;
    text-decoration: none !important;
  }


  /* ---------------------------------
     体験のご予約
  ---------------------------------- */

  html body.header_scrolled
  header.siteHeader
  #gMenu_outer .gMenu > li:last-child > a,
  html body
  header.siteHeader.header_scrolled
  #gMenu_outer .gMenu > li:last-child > a {
    min-height: 40px !important;

    margin-left: 8px !important;
    padding: 0 18px !important;

    border-radius: 999px !important;
    border: 0 !important;

    background: #6f8f5f !important;
    color: #fff !important;

    box-shadow: none !important;
  }

}
/* =========================================================
   明石C2 / スマホヘッダー共通 FINAL
   TOP・固定ページ・投稿・Information・イベント共通
   実DOM確認済み
========================================================= */

@media screen and (max-width: 767px) {

  /* ---------------------------------
     ヘッダー本体
  ---------------------------------- */
  html body.ilchi-site-akashi
  header.siteHeader {
    background: #fff !important;
  }

  html body.ilchi-site-akashi
  header.siteHeader
  > .container.siteHeadContainer {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 94px !important;

    margin: 0 auto !important;
    padding: 10px 52px !important;

    box-sizing: border-box !important;
  }


  /* ---------------------------------
     タイトル部分
     h1 / p どちらにも対応
  ---------------------------------- */
  html body.ilchi-site-akashi
  header.siteHeader
  .navbar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    float: none !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
  }


  html body.ilchi-site-akashi
  header.siteHeader
  .navbar-brand.siteHeader_logo {
    display: block !important;

    float: none !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
    line-height: 1.4 !important;
  }


  html body.ilchi-site-akashi
  header.siteHeader
  .navbar-brand.siteHeader_logo > a {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #25352c !important;
    text-decoration: none !important;
  }


  html body.ilchi-site-akashi
  header.siteHeader
  .navbar-brand.siteHeader_logo > a > span {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #25352c !important;

    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;

    text-align: center !important;

    white-space: normal !important;
    word-break: keep-all !important;
  }


  /* PC用の地域名・独立加盟店はスマホでは出さない */
  html body.ilchi-site-akashi
  header.siteHeader
  .navbar-brand.siteHeader_logo > a::before,
  html body.ilchi-site-akashi
  header.siteHeader
  .navbar-brand.siteHeader_logo > a::after {
    content: none !important;
    display: none !important;
  }


  /* ---------------------------------
     通常グローバルメニューはスマホでは非表示
  ---------------------------------- */
  html body.ilchi-site-akashi
  header.siteHeader
  #gMenu_outer {
    display: none !important;
  }

}
/* =========================================================
   明石C2 / スマホヘッダー最終調整
   全ページ共通
========================================================= */

@media screen and (max-width: 767px) {

  /* ヘッダー */
  html body.ilchi-site-akashi
  header.siteHeader
  > .container.siteHeadContainer {
    position: relative !important;
    min-height: 94px !important;
    padding: 10px 48px !important;
  }


  /* ---------------------------------
     サイト名を指定位置で2行固定
  ---------------------------------- */

  html body.ilchi-site-akashi
  header.siteHeader
  .navbar-brand.siteHeader_logo > a > span {
    font-size: 0 !important;
    line-height: 1 !important;
  }

  html body.ilchi-site-akashi
  header.siteHeader
  .navbar-brand.siteHeader_logo > a > span::after {
    content: "イルチブレインヨガ明石\Aスタジオ" !important;

    display: block !important;

    color: #25352c !important;

    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;

    white-space: pre-line !important;
    text-align: center !important;
  }


  /* ---------------------------------
     ハンバーガーボタン
  ---------------------------------- */

  html body.ilchi-site-akashi
  #vk-mobile-nav-menu-btn {
    display: block !important;

    position: absolute !important;
    top: 50% !important;
    left: 10px !important;
    right: auto !important;

    transform: translateY(-50%) !important;

    margin: 0 !important;

    z-index: 9999 !important;
  }

}