@charset "UTF-8";
/* =========================================================
   吉野B1 フッター専用調整
========================================================= */

html body.ilchi-yoshino-b1-page footer.iby-studio-footer.is-b1 {
  /* 吉野だけの調整を書く */
}
/* =========================================================
   吉野B1 SP hero ribbon fix
   はじめて歓迎リボン崩れ修正
========================================================= */

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

  html body.ilchi-yoshino-b1-page .iby-page.iby-design-b1 .iby-hero-ribbon {
    display: inline-block !important;
    position: relative !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 34px !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    overflow: visible !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center !important;
  }

  html body.ilchi-yoshino-b1-page .iby-page.iby-design-b1 .iby-hero-ribbon::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: -30px !important;
    bottom: -7px !important;
    width: 10px !important;
    height: auto !important;
    border: 16px solid #f3a2b8 !important;
    border-left-color: transparent !important;
    background: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
  }

  html body.ilchi-yoshino-b1-page .iby-page.iby-design-b1 .iby-hero-ribbon::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    right: -30px !important;
    bottom: -7px !important;
    width: 10px !important;
    height: auto !important;
    border: 16px solid #f3a2b8 !important;
    border-right-color: transparent !important;
    background: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
  }

  html body.ilchi-yoshino-b1-page .iby-page.iby-design-b1 .iby-hero-ribbon span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 2 !important;

    width: auto !important;
    max-width: none !important;
    min-width: 138px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    box-sizing: border-box !important;

    line-height: 34px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    color: #ffffff !important;
    text-align: center !important;
    white-space: nowrap !important;

    background: repeating-linear-gradient(
      -45deg,
      #f78fa9 0px,
      #f78fa9 4px,
      #f9adc0 4px,
      #f9adc0 8px
    ) !important;

    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 7px 14px rgba(244, 95, 134, 0.16) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  html body.ilchi-yoshino-b1-page .iby-page.iby-design-b1 .iby-hero-ribbon span::before,
  html body.ilchi-yoshino-b1-page .iby-page.iby-design-b1 .iby-hero-ribbon span::after {
    content: none !important;
    display: none !important;
  }
}
/* =========================================================
   吉野B1 リボン最終強制修正
   PC・スマホ共通
========================================================= */

html body .iby-page.iby-design-b1 .iby-hero-ribbon {
  display: inline-block !important;
  position: relative !important;

  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 38px !important;

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

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  text-align: center !important;
}

/* 左側のリボン */
html body .iby-page.iby-design-b1 .iby-hero-ribbon::before {
  content: "" !important;
  display: block !important;

  position: absolute !important;
  left: -34px !important;
  bottom: -8px !important;
  z-index: 1 !important;

  width: 10px !important;
  height: 0 !important;

  border: 18px solid #f3a2b8 !important;
  border-left-color: transparent !important;

  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* 右側のリボン */
html body .iby-page.iby-design-b1 .iby-hero-ribbon::after {
  content: "" !important;
  display: block !important;

  position: absolute !important;
  right: -34px !important;
  bottom: -8px !important;
  z-index: 1 !important;

  width: 10px !important;
  height: 0 !important;

  border: 18px solid #f3a2b8 !important;
  border-right-color: transparent !important;

  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* 中央のピンク帯 */
html body .iby-page.iby-design-b1 .iby-hero-ribbon > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  position: relative !important;
  z-index: 2 !important;

  width: auto !important;
  min-width: 158px !important;
  max-width: none !important;
  height: 38px !important;
  min-height: 38px !important;

  margin: 0 !important;
  padding: 0 26px !important;
  box-sizing: border-box !important;

  background: repeating-linear-gradient(
    -45deg,
    #f78fa9 0,
    #f78fa9 4px,
    #f9adc0 4px,
    #f9adc0 8px
  ) !important;

  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 38px !important;
  letter-spacing: 0.04em !important;
  text-align: center !important;
  white-space: nowrap !important;

  border: none !important;
  border-radius: 0 !important;
  box-shadow: 0 7px 14px rgba(244, 95, 134, 0.16) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* 中央帯に余計な装飾を出さない */
html body .iby-page.iby-design-b1 .iby-hero-ribbon > span::before,
html body .iby-page.iby-design-b1 .iby-hero-ribbon > span::after {
  content: none !important;
  display: none !important;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  html body .iby-page.iby-design-b1 .iby-hero-ribbon {
    height: 34px !important;
    margin-bottom: 18px !important;
  }

  html body .iby-page.iby-design-b1 .iby-hero-ribbon::before {
    left: -30px !important;
    bottom: -7px !important;
    border-width: 16px !important;
  }

  html body .iby-page.iby-design-b1 .iby-hero-ribbon::after {
    right: -30px !important;
    bottom: -7px !important;
    border-width: 16px !important;
  }

  html body .iby-page.iby-design-b1 .iby-hero-ribbon > span {
    min-width: 138px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 22px !important;
    font-size: 13px !important;
    line-height: 34px !important;
  }
}
/* =========================================================
   吉野B1 リボン確定版
   中央帯を親要素に直接表示
========================================================= */

html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-hero .iby-hero-content
.iby-hero-ribbon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;

  width: auto !important;
  min-width: 158px !important;
  max-width: none !important;
  height: 38px !important;
  min-height: 38px !important;

  margin: 0 0 24px !important;
  padding: 0 26px !important;
  box-sizing: border-box !important;
  overflow: visible !important;

  background: repeating-linear-gradient(
    -45deg,
    #f78fa9 0,
    #f78fa9 4px,
    #f9adc0 4px,
    #f9adc0 8px
  ) !important;

  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
  text-align: center !important;
  white-space: nowrap !important;

  border: none !important;
  border-radius: 0 !important;
  box-shadow: 0 7px 14px rgba(244, 95, 134, 0.16) !important;
}

/* spanが残っていても親の表示をそのまま使用 */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-hero .iby-hero-content
.iby-hero-ribbon > span {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  box-shadow: none !important;
}

/* 左のリボン */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-hero .iby-hero-content
.iby-hero-ribbon::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 7px !important;
  left: -28px !important;

  width: 34px !important;
  height: 38px !important;

  background: #f3a2b8 !important;
  border: none !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 45% 50%) !important;

  opacity: 1 !important;
  visibility: visible !important;
  z-index: 0 !important;
}

/* 右のリボン */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-hero .iby-hero-content
.iby-hero-ribbon::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 7px !important;
  right: -28px !important;

  width: 34px !important;
  height: 38px !important;

  background: #f3a2b8 !important;
  border: none !important;
  clip-path: polygon(0 0, 100% 0, 55% 50%, 100% 100%, 0 100%) !important;

  opacity: 1 !important;
  visibility: visible !important;
  z-index: 0 !important;
}

html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-hero .iby-hero-content
.iby-hero-ribbon > span::before,
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-hero .iby-hero-content
.iby-hero-ribbon > span::after {
  content: none !important;
  display: none !important;
}

/* スマートフォン */
@media screen and (max-width: 767px) {

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-hero .iby-hero-content
  .iby-hero-ribbon {
    min-width: 138px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 auto 18px !important;
    padding: 0 20px !important;
    font-size: 13px !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-hero .iby-hero-content
  .iby-hero-ribbon::before {
    top: 6px !important;
    left: -25px !important;
    width: 30px !important;
    height: 34px !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-hero .iby-hero-content
  .iby-hero-ribbon::after {
    top: 6px !important;
    right: -25px !important;
    width: 30px !important;
    height: 34px !important;
  }
}
/* =========================================================
   吉野B1 体験の流れ
   アイコン上下の余白調整
========================================================= */

html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-flow-list > .wp-block-group h2,
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-flow-list > .wp-block-group h3,
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-flow-list > .wp-block-group .wp-block-heading {
  padding-top: 78px !important;
  margin-bottom: 24px !important;
}

html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-flow-list > .wp-block-group h2::before,
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-flow-list > .wp-block-group h3::before,
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-flow-list > .wp-block-group .wp-block-heading::before {
  top: 6px !important;
  width: 48px !important;
  height: 48px !important;
}
/* =========================================================
   吉野B1 フッター上の大きな余白を削除
========================================================= */

html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
footer.iby-studio-footer.is-b1 {
  margin-top: 0 !important;
}

/* フッター直前のブロック下余白を削除 */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
> .wp-block-group:last-of-type,
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.wp-block-html:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* フッターを包む親ブロックの余白も削除 */
html body.ilchi-yoshino-b1-page
.wp-block-group:has(> footer.iby-studio-footer.is-b1),
html body.ilchi-yoshino-b1-page
.wp-block-html:has(> footer.iby-studio-footer.is-b1) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
/* =========================================================
   吉野B1 Lightning標準フッター領域の整理
========================================================= */

/* 独自フッターが入っている下部ウィジェット領域の余白を削除 */
html body.ilchi-yoshino-b1-page .site-body-bottom,
html body.ilchi-yoshino-b1-page .site-body-bottom .container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* フッターHTMLを入れているウィジェットの余白を削除 */
html body.ilchi-yoshino-b1-page .site-body-bottom .widget,
html body.ilchi-yoshino-b1-page .site-body-bottom .widget_block,
html body.ilchi-yoshino-b1-page .site-body-bottom .wp-block-group {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 独自フッター上の余白を削除 */
html body.ilchi-yoshino-b1-page
.site-body-bottom footer.iby-studio-footer {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* =========================================================
   吉野B1 フッター上余白の修正
   site-footer本体は表示したまま余白だけ削除
========================================================= */

html body.ilchi-yoshino-b1-page footer.site-footer {
  display: block !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Lightning標準の著作権部分だけ非表示 */
html body.ilchi-yoshino-b1-page
footer.site-footer .site-footer-copyright {
  display: none !important;
}
/* =========================================================
   吉野B1 フッター前の空ウィジェットを削除
========================================================= */

/* フッター前に残っている空のブロック */
html body.ilchi-yoshino-b1-page
.site-body-bottom #block-5 {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 独自フッターが入っているブロック */
html body.ilchi-yoshino-b1-page
.site-body-bottom #block-6 {
  margin: 0 !important;
  padding: 0 !important;
}

/* 下部ウィジェット領域全体 */
html body.ilchi-yoshino-b1-page
.site-body-bottom,
html body.ilchi-yoshino-b1-page
.site-body-bottom > .container {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Lightningフッターの上余白 */
html body.ilchi-yoshino-b1-page
footer.site-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* =========================================================
   吉野B1 フッター上余白 最終修正
========================================================= */

/* Lightning下部領域 */
html body.ilchi-yoshino-b1-page .site-body-bottom,
html body.ilchi-yoshino-b1-page .site-body-bottom > .container,
html body.ilchi-yoshino-b1-page footer.site-footer,
html body.ilchi-yoshino-b1-page footer.site-footer > .container,
html body.ilchi-yoshino-b1-page .site-footer-content {
  min-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 茶色い独自フッター本体 */
html body.ilchi-yoshino-b1-page
.iby-studio-footer.iby-studio-footer.is-b1 {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* 独自フッターを包むウィジェット */
html body.ilchi-yoshino-b1-page
.site-footer-content .widget,
html body.ilchi-yoshino-b1-page
.site-footer-content .widget_block,
html body.ilchi-yoshino-b1-page
.site-footer-content .wp-block-group,
html body.ilchi-yoshino-b1-page
.site-footer-content .wp-block-html {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
/* =========================================================
   吉野B1 フッター位置・余白 最終版
========================================================= */

/* 本文末尾の余白を削除 */
html body .site-body,
html body .site-body .siteContent,
html body .site-body .siteContent > .container,
html body .site-body-bottom,
html body .site-body-bottom > .container {
  min-height: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Lightningフッター外枠 */
html body footer.site-footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Lightningフッター内側の幅制限を解除 */
html body footer.site-footer > .container,
html body footer.site-footer .site-footer-content,
html body footer.site-footer .container.site-footer-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ウィジェット由来の余白を削除 */
html body footer.site-footer .widget,
html body footer.site-footer .widget_block,
html body footer.site-footer .wp-block-group,
html body footer.site-footer .wp-block-html {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* =========================================================
   吉野B1 フッターを画面中央へ配置
========================================================= */

@media screen and (min-width: 768px) {
  html body footer.site-footer .iby-studio-footer.is-b1 {
    display: block !important;
    position: relative !important;

    left: 50vw !important;
    transform: translateX(-50%) !important;

    width: min(1120px, calc(100vw - 64px)) !important;
    max-width: min(1120px, calc(100vw - 64px)) !important;

    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;

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

@media screen and (max-width: 767px) {
  html body footer.site-footer .iby-studio-footer.is-b1 {
    position: relative !important;
    left: auto !important;
    transform: none !important;

    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  html body footer.site-footer footer.iby-studio-footer.is-b1,
  html body footer.site-footer .iby-studio-footer.is-b1 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}
/* =========================================================
   吉野B1 フッター上の残り余白を削除
========================================================= */

html body.ilchi-yoshino-b1-page .site-body-bottom,
html body.ilchi-yoshino-b1-page .site-body-bottom > .container,
html body.ilchi-yoshino-b1-page footer.site-footer,
html body.ilchi-yoshino-b1-page footer.site-footer > .container,
html body.ilchi-yoshino-b1-page footer.site-footer .site-footer-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 独自フッター直前の空白を詰める */
html body.ilchi-yoshino-b1-page
footer.site-footer .iby-studio-footer.is-b1 {
  top: -56px !important;
  margin-bottom: -56px !important;
}
/* =========================================================
   吉野B1 フッター両脇に本体背景色を表示
========================================================= */

/* Lightningフッター外側を本体と同じ背景色に */
html body footer.site-footer {
  background: #fff8f3 !important;
}

/* フッター内側も同色でつなぐ */
html body footer.site-footer > .container,
html body footer.site-footer .site-footer-content,
html body footer.site-footer .container.site-footer-content {
  background: #fff8f3 !important;
}

/* 茶色い独自フッター本体はそのまま */
html body footer.site-footer .iby-studio-footer.is-b1 {
  background: #51423d !important;
}
/* =========================================================
   吉野B1 スマホ
   ヒーロー文字の読みやすさ改善
========================================================= */

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

  /* 写真全体を少し明るくする */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-hero .wp-block-cover__background {
    background: rgba(255, 250, 247, 0.35) !important;
    opacity: 1 !important;
  }

  /* 文字部分に半透明の白背景 */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-hero .iby-hero-content {
    width: calc(100% - 28px) !important;
    max-width: 350px !important;

    margin: 18px auto 24px !important;
    padding: 24px 18px 26px !important;

    background: rgba(255, 255, 255, 0.84) !important;
    border: 1px solid rgba(255, 255, 255, 0.92) !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 28px rgba(80, 55, 40, 0.12) !important;

    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;

    box-sizing: border-box !important;
  }

  /* メイン見出し */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-hero .iby-hero-content h1,
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-hero .iby-hero-content h2 {
    margin: 0 0 20px !important;

    color: #2d241f !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.02em !important;
    text-align: center !important;

    text-shadow: none !important;
  }

  /* 説明文 */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-hero .iby-hero-content > p {
    margin: 0 auto 20px !important;

    color: #332b27 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 2 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;

    text-shadow: none !important;
  }

  /* 説明文内の改行をスマホでは自然に折り返す */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-hero .iby-hero-content > p br {
    display: none !important;
  }

  /* 3つのポイントを少しはっきり表示 */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-hero .iby-hero-point {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(95, 127, 69, 0.28) !important;
    color: #54713f !important;
    box-shadow: 0 5px 14px rgba(70, 60, 45, 0.08) !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-hero .iby-hero-point,
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-hero .iby-hero-point * {
    font-weight: 800 !important;
  }
}
/* =========================================================
   吉野B1 アクセス情報
   左側テキストの整列・読みやすさ調整
========================================================= */

html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-access-v2-info {
  min-width: 0 !important;
}

/* 教室名 */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-access-v2-info h3 {
  margin: 0 0 24px !important;
  padding: 0 0 12px !important;

  color: #5a3b2e !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.02em !important;

  border: none !important;
  border-bottom: 2px solid #e9c7b7 !important;
  background: none !important;
  box-shadow: none !important;
}

/* Lightning由来の青い下線・装飾を削除 */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-access-v2-info h3::before,
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-access-v2-info h3::after {
  content: none !important;
  display: none !important;
}

/* 情報一覧 */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-access-v2-list {
  display: grid !important;
  gap: 0 !important;
  width: 100% !important;
}

/* 1項目ずつ横並び */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-access-v2-row {
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: start !important;

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

  border-bottom: 1px solid #eee1da !important;
  box-sizing: border-box !important;
}

/* 項目名 */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-access-v2-label {
  color: #765548 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.7 !important;
  white-space: nowrap !important;
}

/* 内容 */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-access-v2-value {
  min-width: 0 !important;

  color: #332b27 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.85 !important;

  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

/* 電話番号 */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-access-v2-value a {
  color: #5f7f45 !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* 最後の項目は下線なし */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-access-v2-row:last-child {
  border-bottom: none !important;
}

/* =========================================================
   スマートフォン
========================================================= */

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

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-access-v2-info h3 {
    margin-bottom: 18px !important;
    font-size: 20px !important;
    text-align: left !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-access-v2-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
    padding: 13px 0 !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-access-v2-label {
    font-size: 13px !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-access-v2-value {
    font-size: 14px !important;
    line-height: 1.8 !important;
  }
}
/* =========================================================
   吉野B1 トレーナー写真
   横幅を狭くして余白色の差を解消
========================================================= */

/* 写真カラム */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-teacher-profile
.wp-block-column.iby-teacher-photo {
  flex-basis: 300px !important;
  max-width: 300px !important;
  min-width: 300px !important;

  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  background: transparent !important;
}

/* figure */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-teacher-profile
figure.iby-teacher-photo {
  width: 300px !important;
  height: 320px !important;

  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 22px !important;
  background: transparent !important;
}

/* 写真 */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-teacher-profile
figure.iby-teacher-photo img {
  display: block !important;

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

  margin: 0 !important;

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

  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* 写真と文章の間隔 */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-teacher-profile {
  grid-template-columns: 300px minmax(0, 1fr) !important;
  gap: 38px !important;
  justify-content: center !important;
}

/* スマートフォン */
@media screen and (max-width: 767px) {

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  .wp-block-column.iby-teacher-photo,
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  figure.iby-teacher-photo {
    width: 100% !important;
    max-width: 300px !important;
    min-width: 0 !important;
    height: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  figure.iby-teacher-photo img {
    object-position: center 25% !important;
  }
}
/* =========================================================
   吉野B1 トレーナー紹介
   本文を左寄せ
========================================================= */

html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-teacher-message,
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-teacher-message p {
  text-align: left !important;
}

html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-teacher-message p {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 最後の緑文字も左寄せ */
html body.ilchi-yoshino-b1-page
.iby-page.iby-design-b1
.iby-teacher-message p:last-child {
  text-align: left !important;
}
/* =========================================================
   吉野B1 ヘッダーメニュー
   「体験のご予約」をボタン化
========================================================= */

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

  /* 最後のメニュー項目をボタン化 */
  html body.ilchi-yoshino-b1-page .gMenu_outer nav ul li:last-child > a,
  html body.ilchi-yoshino-b1-page .global-nav-list > li:last-child > a,
  html body.ilchi-yoshino-b1-page .vk-menu-acc li:last-child > a,
  html body.ilchi-yoshino-b1-page .menu > li:last-child > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 42px !important;
    padding: 0 20px !important;
    border-radius: 999px !important;

    background: #f48aa8 !important;
    border: 1px solid #f48aa8 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    line-height: 1 !important;

    box-shadow: 0 6px 14px rgba(244, 138, 168, 0.22) !important;
    transition: all 0.2s ease !important;
  }

  html body.ilchi-yoshino-b1-page .gMenu_outer nav ul li:last-child > a:hover,
  html body.ilchi-yoshino-b1-page .global-nav-list > li:last-child > a:hover,
  html body.ilchi-yoshino-b1-page .vk-menu-acc li:last-child > a:hover,
  html body.ilchi-yoshino-b1-page .menu > li:last-child > a:hover {
    background: #ee789a !important;
    border-color: #ee789a !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    opacity: 1 !important;
  }

  /* 下線やテーマ標準装飾を消す */
  html body.ilchi-yoshino-b1-page .gMenu_outer nav ul li:last-child > a::after,
  html body.ilchi-yoshino-b1-page .global-nav-list > li:last-child > a::after,
  html body.ilchi-yoshino-b1-page .vk-menu-acc li:last-child > a::after,
  html body.ilchi-yoshino-b1-page .menu > li:last-child > a::after {
    display: none !important;
    content: none !important;
  }

  /* ボタンだけ少し左に余白を取る */
  html body.ilchi-yoshino-b1-page .gMenu_outer nav ul li:last-child,
  html body.ilchi-yoshino-b1-page .global-nav-list > li:last-child,
  html body.ilchi-yoshino-b1-page .vk-menu-acc li:last-child,
  html body.ilchi-yoshino-b1-page .menu > li:last-child {
    margin-left: 10px !important;
  }
}
/* =========================================================
   吉野B1 スマホ
   トレーナー紹介レイアウト調整
========================================================= */

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

  /* セクション全体 */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher {
    padding: 42px 18px 46px !important;
  }

  /* 白い外枠 */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher > .wp-block-group__inner-container {
    padding: 32px 18px 28px !important;
    border-radius: 20px !important;
  }

  /* 見出し */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher .iby-teacher-heading,
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher .iby-section-title {
    margin: 0 0 26px !important;

    font-size: 26px !important;
    line-height: 1.45 !important;
    letter-spacing: 0.02em !important;
    text-align: center !important;

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

  /* 写真と文章を縦並び */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
    width: 100% !important;
  }

  /* 写真枠 */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  .wp-block-column.iby-teacher-photo,
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  figure.iby-teacher-photo {
    width: 100% !important;
    max-width: 260px !important;
    min-width: 0 !important;
    height: 260px !important;

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

    border-radius: 18px !important;
    overflow: hidden !important;
  }

  /* 写真 */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  figure.iby-teacher-photo img {
    width: 100% !important;
    height: 100% !important;

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

    border-radius: 0 !important;
  }

  /* 文章カード */
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-message {
    width: 100% !important;
    margin: 0 !important;
    padding: 24px 20px !important;

    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-message h3 {
    margin-bottom: 16px !important;
    font-size: 21px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-message p {
    font-size: 14px !important;
    line-height: 1.9 !important;
    text-align: left !important;
  }
}
/* =========================================================
   吉野B1 スマホ
   トレーナー紹介の中央位置を統一
========================================================= */

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

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile {
    align-items: center !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  .wp-block-column.iby-teacher-photo,
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  figure.iby-teacher-photo,
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-message {
    width: 100% !important;
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher .iby-teacher-heading,
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher .iby-section-title {
    width: 100% !important;
    max-width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* =========================================================
   吉野B1 スマホ
   トレーナー写真の角丸調整
========================================================= */

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

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  .wp-block-column.iby-teacher-photo,
  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  figure.iby-teacher-photo {
    overflow: hidden !important;
    border-radius: 20px !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  figure.iby-teacher-photo img {
    display: block !important;
    border-radius: 20px !important;
  }
}
/* =========================================================
   吉野B1 スマホ
   トレーナー写真を中央配置
========================================================= */

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

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile {
    align-items: center !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  .wp-block-column.iby-teacher-photo {
    width: 260px !important;
    max-width: 260px !important;
    flex: 0 0 260px !important;

    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  figure.iby-teacher-photo {
    width: 260px !important;
    max-width: 260px !important;

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

    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  html body.ilchi-yoshino-b1-page
  .iby-page.iby-design-b1
  .iby-teacher-profile
  figure.iby-teacher-photo img {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}