/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.0
*/

/* ==================================================
   HIDE整骨院 - style.css
   整理版

   1. 全ページ共通
      - 基本設定
      - Header
      - Mobile Navigation
      - Hamburger Animation
      - Page Top
      - Fixed CTA

   2. トップページ
      - FV
      - 「そのお悩み、HIDE整骨院にお任せください」
      - HIDE整骨院の特徴
      - お知らせ
      - 院概要・受付時間・アクセス
================================================== */

/* ==================================================
   01. 全ページ共通
================================================== */

/* ==================================================
   基本設定
================================================== */

:root {
  --hide-green: #0f5b3b;
  --hide-green-dark: #0b4f33;
  --hide-card-bg: #f6f4f1;
  --hide-border: rgba(15, 81, 50, 0.14);
}

/* ==================================================
   Header
================================================== */

.site-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(15, 91, 59, 0.12);
  box-shadow: 0 3px 14px rgba(15, 59, 41, 0.04);
}


/* ==================================================
   PC Header
================================================== */

@media (min-width: 992px) {

  .site-header .container {
    min-height: 82px;
  }


  /* ------------------------------
     ロゴ
  ------------------------------ */

  .site-header-logo {
    display: flex;
    align-items: center;
    margin: 0;
  }

  .site-header-logo img {
    display: block;
    width: auto;
    max-height: 58px;
  }


  /* ------------------------------
     グローバルナビ
  ------------------------------ */

  .global-nav-list {
    align-items: stretch;
  }

  .global-nav-list > li {
    position: relative;
  }

  .global-nav-list > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 82px;
    padding-right: 22px;
    padding-left: 22px;
    color: #26362f;
    text-decoration: none;
    transition:
      color 0.25s ease,
      background-color 0.25s ease;
  }


  /* ------------------------------
     メニュー文字
  ------------------------------ */

  .global-nav-name {
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.08em;
  }


  /* ------------------------------
     通常メニュー hover
     下線はLightning標準を使用
  ------------------------------ */

  .global-nav-list > li:not(:last-child) > a:hover {
    color: #0f5b3b;
  }


  /* ------------------------------
     お問い合わせだけボタン化
  ------------------------------ */

  .global-nav-list > li:last-child {
    display: flex;
    align-items: center;
    margin-left: 10px;
  }

  .global-nav-list > li:last-child > a {
    height: auto;
    min-width: 150px;
    padding: 14px 24px;
    color: #fff !important;
    background-color: #0f5b3b;
    border: 1px solid #0f5b3b;
  }

  .global-nav-list > li:last-child > a:hover {
    color: #0f5b3b !important;
    background-color: #fff;
  }

  .global-nav-list > li:last-child .global-nav-name {
    color: inherit;
  }


  /* お問い合わせではLightningの下線を出さない */
  .global-nav-list > li:last-child > a::before,
  .global-nav-list > li:last-child > a::after {
    display: none !important;
    content: none !important;
  }
}


/* ==================================================
   小さめPC
   992px〜1199px
================================================== */

@media (min-width: 992px) and (max-width: 1199px) {

  .site-header .container {
    min-height: 74px;
  }

  .site-header-logo img {
    max-height: 50px;
  }

  .global-nav-list > li > a {
    height: 74px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .global-nav-name {
    font-size: 0.8rem;
  }

  .global-nav-list > li:last-child {
    margin-left: 5px;
  }

  .global-nav-list > li:last-child > a {
    min-width: 125px;
    padding: 12px 16px;
  }
}

/* ==================================================
   Mobile Navigation
================================================== */

@media (max-width: 991px) {

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

  #vk-mobile-nav-menu-btn {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(15, 91, 59, 0.18);
    background-color: #fff;
    color: #0f5b3b;
    box-shadow: 0 2px 8px rgba(15, 59, 41, 0.06);
    transition:
      border-color 0.25s ease,
      box-shadow 0.25s ease;
  }


  /* --------------------------------
     モバイルナビ本体
  -------------------------------- */

  #vk-mobile-nav {
    background-color: #fff;
  }

  #vk-mobile-nav .vk-mobile-nav-menu-outer {
    padding: 24px 20px 34px;
  }

  #vk-mobile-nav .menu {
    margin: 0;
    padding: 0;
  }


  /* --------------------------------
     メインメニュー共通
  -------------------------------- */

  #vk-mobile-nav .menu > li {
    margin: 0;
    border: 0 !important;
  }

  #vk-mobile-nav .menu > li > a {
    position: relative;
    display: block;
    padding: 16px 38px 16px 14px;
    color: #26362f;
    background-color: #fff;
    font-size: 0.95rem;
    line-height: 1.5;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 0 !important;
    border-bottom: 1px solid rgba(15, 91, 59, 0.22) !important;
  }

  #vk-mobile-nav .menu > li:first-child > a {
    border-top: 1px solid rgba(15, 91, 59, 0.22) !important;
  }


  /* --------------------------------
     通常メニュー右側の矢印
  -------------------------------- */

  #vk-mobile-nav .menu > li:not(.menu-item-has-children) > a::after {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 7px;
    height: 7px;
    border-top: 1px solid #0f5b3b;
    border-right: 1px solid #0f5b3b;
    content: "";
    transform: translateY(-50%) rotate(45deg);
  }


  /* --------------------------------
     現在地
  -------------------------------- */

  #vk-mobile-nav .menu > li.current-menu-item > a,
  #vk-mobile-nav .menu > li.current_page_item > a {
    color: #0f5b3b;
    background-color: #f7f9f6;
    font-weight: 600;
  }


  /* --------------------------------
     症例 親メニュー
  -------------------------------- */

  #vk-mobile-nav .menu > li.menu-item-has-children {
    position: relative;
    border: 0 !important;
  }

  #vk-mobile-nav .menu > li.menu-item-has-children > a {
    color: #0f5b3b;
    background-color: #fff;
    font-weight: 600;
    border-bottom: 1px solid rgba(15, 91, 59, 0.22) !important;
  }


  /* --------------------------------
     子メニュー
  -------------------------------- */

  #vk-mobile-nav .sub-menu {
    margin: 0;
    padding: 0;
    background-color: #f7f9f6;
    border-bottom: 1px solid rgba(15, 91, 59, 0.22) !important;
  }

  #vk-mobile-nav .sub-menu li {
    margin: 0;
    border: 0 !important;
  }

  #vk-mobile-nav .sub-menu li:not(:last-child) > a {
    border-bottom: 1px solid rgba(15, 91, 59, 0.14) !important;
  }

  #vk-mobile-nav .sub-menu li:last-child > a {
    border-bottom: 0 !important;
  }

  #vk-mobile-nav .sub-menu a {
    position: relative;
    display: block;
    padding: 11px 30px 11px 28px;
    color: #415148;
    background-color: transparent;
    font-size: 0.84rem;
    line-height: 1.5;
    letter-spacing: 0.03em;
    text-decoration: none;
  }

  #vk-mobile-nav .sub-menu a::before {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 6px;
    height: 1px;
    background-color: rgba(15, 91, 59, 0.7);
    content: "";
    transform: translateY(-50%);
  }


  /* --------------------------------
     お問い合わせ
  -------------------------------- */

  #vk-mobile-nav #menu-item-71 {
    margin-top: 18px;
    border: 0 !important;
  }

  #vk-mobile-nav #menu-item-71 > a {
    padding: 15px 38px 15px 20px;
    color: #fff;
    background-color: #0f5b3b;
    text-align: center;
    border: 1px solid #0f5b3b !important;
  }

  #vk-mobile-nav #menu-item-71 > a::after {
    right: 18px;
    border-color: #fff;
  }


  /* --------------------------------
     個人情報保護方針
  -------------------------------- */

  #vk-mobile-nav #menu-item-72 {
    margin-top: 8px;
    border: 0 !important;
  }

  #vk-mobile-nav #menu-item-72 > a {
    padding: 12px 10px;
    color: #748078;
    background-color: transparent;
    font-size: 0.76rem;
    text-align: center;
    border: 0 !important;
  }

  #vk-mobile-nav #menu-item-72 > a::after {
    display: none;
    content: none;
  }
}


/* ==================================================
   小さいスマホ
   390px以下
================================================== */

@media (max-width: 390px) {

  #vk-mobile-nav-menu-btn {
    top: 10px;
    right: 10px;
  }

  #vk-mobile-nav .vk-mobile-nav-menu-outer {
    padding-right: 14px;
    padding-left: 14px;
  }

  #vk-mobile-nav .menu > li > a {
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 0.9rem;
  }

  #vk-mobile-nav .sub-menu a {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.8rem;
  }
}

/* ==================================================
   Hamburger Animation
   外枠は固定・中のアイコンだけアニメーション
================================================== */

@media (max-width: 991px) {

  /* --------------------------------
     ハンバーガーボタン本体
     外枠は回転させない
  -------------------------------- */

  #vk-mobile-nav-menu-btn {
    position: fixed;
    overflow: hidden;

    /* Lightning標準のMENU / ×画像を消す */
    background-image: none !important;

    /* HTML内の「MENU」文字を見えなくする */
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;

    transform: none !important;

    transition:
      border-color 0.25s ease,
      background-color 0.25s ease,
      box-shadow 0.25s ease;
  }

  #vk-mobile-nav-menu-btn.menu-open {
    border-color: rgba(15, 91, 59, 0.3);
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(15, 59, 41, 0.1);
    transform: none !important;
  }


  /* --------------------------------
     三本線 / × 共通
  -------------------------------- */

  #vk-mobile-nav-menu-btn::before,
  #vk-mobile-nav-menu-btn::after {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 18px;
    height: 18px;

    content: "";
    pointer-events: none;

    transition:
      opacity 0.2s ease,
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }


  /* --------------------------------
     閉じている時：三本線
  -------------------------------- */

  #vk-mobile-nav-menu-btn::before {
    opacity: 1;

    background:
      linear-gradient(#0f5b3b, #0f5b3b) center 3px / 18px 1px no-repeat,
      linear-gradient(#0f5b3b, #0f5b3b) center center / 18px 1px no-repeat,
      linear-gradient(#0f5b3b, #0f5b3b) center calc(100% - 3px) / 18px 1px no-repeat;

    transform:
      translate(-50%, -50%)
      rotate(0deg)
      scale(1);
  }


  /* --------------------------------
     閉じている時：×は非表示
  -------------------------------- */

  #vk-mobile-nav-menu-btn::after {
    opacity: 0;

    background:
      linear-gradient(
        45deg,
        transparent 47%,
        #0f5b3b 47%,
        #0f5b3b 53%,
        transparent 53%
      ),
      linear-gradient(
        -45deg,
        transparent 47%,
        #0f5b3b 47%,
        #0f5b3b 53%,
        transparent 53%
      );

    transform:
      translate(-50%, -50%)
      rotate(-45deg)
      scale(0.72);
  }


  /* --------------------------------
     開いた時：三本線を回転しながら消す
  -------------------------------- */

  #vk-mobile-nav-menu-btn.menu-open::before {
    opacity: 0;

    transform:
      translate(-50%, -50%)
      rotate(45deg)
      scale(0.72);
  }


  /* --------------------------------
     開いた時：×を回転しながら表示
  -------------------------------- */

  #vk-mobile-nav-menu-btn.menu-open::after {
    opacity: 1;

    transform:
      translate(-50%, -50%)
      rotate(0deg)
      scale(1);
  }


  /* --------------------------------
     モバイルナビ本体
     Lightning標準の横移動を活かしつつフェード
  -------------------------------- */

  #vk-mobile-nav {
    opacity: 0;

    transition:
      left 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease;
  }

  #vk-mobile-nav.vk-mobile-nav-open {
    opacity: 1;
  }


  /* --------------------------------
     メニュー内容
     少し遅れて滑らかに入る
  -------------------------------- */

  #vk-mobile-nav .vk-mobile-nav-menu-outer {
    opacity: 0;
    transform: translateX(12px);

    transition:
      opacity 0.28s ease 0.06s,
      transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
  }

  #vk-mobile-nav.vk-mobile-nav-open .vk-mobile-nav-menu-outer {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ==================================================
   アニメーションを減らす設定
================================================== */

@media (prefers-reduced-motion: reduce) {

  #vk-mobile-nav-menu-btn,
  #vk-mobile-nav-menu-btn::before,
  #vk-mobile-nav-menu-btn::after,
  #vk-mobile-nav,
  #vk-mobile-nav .vk-mobile-nav-menu-outer {
    transition: none !important;
  }
}

/* ==================================================
   Page Top
================================================== */

#page_top.page_top_btn {
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #0f5b3b;
  border: 1px solid #0f5b3b;
  box-shadow: 0 3px 10px rgba(15, 59, 41, 0.14);
  opacity: 0.92;
  transition:
    background-color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

#page_top.page_top_btn span {
  display: none;
}

#page_top.page_top_btn::before {
  width: 9px;
  height: 9px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  content: "";
  transform: translateY(3px) rotate(45deg);
}

@media (hover: hover) {

  #page_top.page_top_btn:hover {
    background-color: #0b4f33;
    opacity: 1;
    transform: translateY(-2px);
  }
}

@media (max-width: 599px) {

  #page_top.page_top_btn {
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
  }
}

/* ==================================================
   Fixed CTA
   TEL / MAIL / LINE
================================================== */


/* ==================================================
   固定表示ブロック全体
================================================== */

.vk_fixed-display-761e9257-32f3-4099-bc95-f5c481166be9 {
  left: 50% !important;
  right: auto !important;
  bottom: 18px !important;

  width: min(calc(100% - 40px), 1180px) !important;
  max-width: 1180px !important;

  margin: 0 !important;

  transform: translateX(-50%);

  background: transparent !important;

  z-index: 9998;
}


/* ==================================================
   3カラム全体
================================================== */

.hide-fixed-cta {
  position: relative;

  display: flex !important;
  flex-wrap: nowrap !important;

  gap: 0 !important;

  width: 100%;

  margin: 0 !important;

  overflow: hidden;

  background-color: #fff;

  border: 1px solid rgba(15, 91, 59, 0.14);
  border-radius: 12px;

  box-shadow:
    0 5px 24px rgba(15, 59, 41, 0.14),
    0 1px 4px rgba(15, 59, 41, 0.06);
}


/* ==================================================
   各カラム共通
================================================== */

.hide-fixed-cta > .wp-block-column {
  position: relative;

  display: flex !important;

  flex: 1 1 0 !important;

  min-width: 0;

  margin: 0 !important;

  overflow: hidden;
}


/* カラムリンクを全面クリック可能に */

.hide-fixed-cta > .wp-block-column > .wp-block-column-vk-link {
  position: absolute !important;
  z-index: 10;

  inset: 0;

  display: block;

  width: 100%;
  height: 100%;
}


/* ==================================================
   各ボタン中身
================================================== */

.hide-fixed-cta > .wp-block-column > .wp-block-group {
  display: flex !important;

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

  flex-wrap: nowrap !important;

  gap: 16px !important;

  width: 100%;
  min-height: 82px;

  margin: 0 !important;

  padding: 10px 24px !important;

  box-sizing: border-box;

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}


/* ==================================================
   TEL
================================================== */

.hide-fixed-cta-tel > .wp-block-group {
  color: #fff !important;

  background-color: #0f5b3b !important;
}


/* ==================================================
   MAIL
================================================== */

.hide-fixed-cta-mail > .wp-block-group {
  color: #0f5b3b !important;

  background-color: #fff !important;
}

.hide-fixed-cta-mail > .wp-block-group p {
  color: #0f5b3b !important;
}


/* ==================================================
   LINE
================================================== */

.hide-fixed-cta-line > .wp-block-group {
  color: #fff !important;

  background-color: #45bd59 !important;
}


/* ==================================================
   アイコン
================================================== */

.hide-fixed-cta .vk_icon {
  flex: 0 0 auto;

  margin: 0 !important;
}

.hide-fixed-cta .vk_icon_frame {
  margin: 0 !important;

  transition: transform 0.25s ease;
}


/* アイコン外円 */

.hide-fixed-cta .vk_icon_border {
  display: flex !important;

  align-items: center;
  justify-content: center;

  width: 52px !important;
  height: 52px !important;

  box-sizing: border-box;

  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 50%;
}


/* アイコン本体 */

.hide-fixed-cta .vk_icon_font {
  font-size: 24px !important;
}


/* MAILだけ緑 */

.hide-fixed-cta-mail .vk_icon_border {
  color: #0f5b3b !important;

  border-color: rgba(15, 91, 59, 0.35) !important;
}

.hide-fixed-cta-mail .vk_icon_font {
  color: #0f5b3b !important;
}


/* ==================================================
   テキスト
================================================== */

.hide-fixed-cta p {
  min-width: 0;

  margin: 0 !important;

  font-size: 0.82rem;
  line-height: 1.45;

  letter-spacing: 0.03em;
}


/* TEL番号 */

.hide-fixed-cta-tel p {
  font-size: 0.82rem;
}

.hide-fixed-cta-tel p br + * {
  margin-top: 2px;
}


/* ==================================================
   PC：テキストの強弱
================================================== */

@media (min-width: 992px) {

  .hide-fixed-cta p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .hide-fixed-cta p strong {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.05em;
  }

  .hide-fixed-cta-tel p {
    font-size: 0.95rem;
  }

  .hide-fixed-cta-mail p,
  .hide-fixed-cta-line p {
    font-size: 0.76rem;
  }
}


/* ==================================================
   区切り線
================================================== */

.hide-fixed-cta-tel {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hide-fixed-cta-mail {
  border-right: 1px solid rgba(15, 91, 59, 0.16);
}


/* ==================================================
   Hover
================================================== */

@media (hover: hover) {

  .hide-fixed-cta-tel:hover > .wp-block-group {
    background-color: #0b4f33 !important;
  }

  .hide-fixed-cta-mail:hover > .wp-block-group {
    background-color: #f6f8f5 !important;
  }

  .hide-fixed-cta-line:hover > .wp-block-group {
    background-color: #39aa4d !important;
  }

  .hide-fixed-cta > .wp-block-column:hover .vk_icon_frame {
    transform: translateY(-1px);
  }
}


/* ==================================================
   閉じる × ボタン
================================================== */

.vk_fixed-display-761e9257-32f3-4099-bc95-f5c481166be9
.vk_fixed-display-close-button {
  top: -30px !important;
  right: 4px !important;

  display: flex !important;

  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  padding: 0 !important;

  color: #fff !important;

  background-color: #0f5b3b !important;

  border: 0 !important;
  border-radius: 50%;

  font-size: 17px !important;
  font-weight: 300;

  line-height: 1;

  box-shadow: 0 2px 8px rgba(15, 59, 41, 0.16);

  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}


@media (hover: hover) {

  .vk_fixed-display-761e9257-32f3-4099-bc95-f5c481166be9
  .vk_fixed-display-close-button:hover {
    background-color: #0b4f33 !important;

    transform: rotate(90deg);
  }
}


/* ==================================================
   Page Top
   固定CTAとの干渉回避
================================================== */

#page_top.page_top_btn {
  bottom: 116px;
}


/* ==================================================
   Tablet
   600px - 991px
================================================== */

@media (min-width: 600px) and (max-width: 991px) {

  .vk_fixed-display-761e9257-32f3-4099-bc95-f5c481166be9 {
    bottom: 14px !important;

    width: calc(100% - 28px) !important;
  }


  .hide-fixed-cta > .wp-block-column > .wp-block-group {
    gap: 10px !important;

    min-height: 74px;

    padding: 8px 14px !important;
  }


  .hide-fixed-cta .vk_icon_border {
    width: 46px !important;
    height: 46px !important;
  }


  .hide-fixed-cta .vk_icon_font {
    font-size: 21px !important;
  }


  .hide-fixed-cta p {
    font-size: 0.72rem;
  }


  #page_top.page_top_btn {
    bottom: 104px;
  }
}


/* ==================================================
   Smartphone
   599px以下
================================================== */

@media (max-width: 599px) {

  /* --------------------------------
     固定表示ブロック
  -------------------------------- */

  .vk_fixed-display-761e9257-32f3-4099-bc95-f5c481166be9 {
    bottom: 8px !important;

    width: calc(100% - 16px) !important;

    padding-bottom: env(safe-area-inset-bottom);
  }


  /* --------------------------------
     バナー全体
  -------------------------------- */

  .hide-fixed-cta {
    align-items: stretch !important;

    border-radius: 10px;

    box-shadow:
      0 4px 18px rgba(15, 59, 41, 0.16),
      0 1px 3px rgba(15, 59, 41, 0.06);
  }


  /* --------------------------------
     3カラム
  -------------------------------- */

  .hide-fixed-cta > .wp-block-column {
    display: flex !important;

    align-items: stretch !important;

    flex: 1 1 33.333% !important;

    min-width: 0;
  }


  /* --------------------------------
     中身
  -------------------------------- */

  .hide-fixed-cta > .wp-block-column > .wp-block-group {
    display: flex !important;

    flex-direction: column !important;

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

    gap: 5px !important;

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

    min-height: 62px;

    padding: 7px 3px !important;

    text-align: center;
  }


  /* --------------------------------
     アイコン
  -------------------------------- */

  .hide-fixed-cta .vk_icon {
    margin: 0 !important;
  }

  .hide-fixed-cta .vk_icon_frame {
    margin: 0 !important;
  }

  .hide-fixed-cta .vk_icon_border {
    width: auto !important;
    height: auto !important;

    border: 0 !important;
    border-radius: 0;
  }

  .hide-fixed-cta .vk_icon_font {
    font-size: 19px !important;
  }


  /* --------------------------------
     文字を3カラムで完全統一
  -------------------------------- */

  .hide-fixed-cta p {
    width: 100%;

    margin: 0 !important;

    font-size: 0 !important;
    line-height: 1.2;

    text-align: center;

    letter-spacing: 0.02em;
  }


  /* 元テキストは隠して
     SP用ラベルだけ表示 */

  .hide-fixed-cta-tel p::before,
  .hide-fixed-cta-mail p::before,
  .hide-fixed-cta-line p::before {
    display: block;

    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;

    letter-spacing: 0.02em;
  }


  /* TEL */

  .hide-fixed-cta-tel p::before {
    content: "電話で予約";
  }


  /* MAIL */

  .hide-fixed-cta-mail p::before {
    content: "メール";
  }


  /* LINE */

  .hide-fixed-cta-line p::before {
    content: "LINE";
  }


  /* afterは全部使わない */

  .hide-fixed-cta-tel p::after,
  .hide-fixed-cta-mail p::after,
  .hide-fixed-cta-line p::after {
    display: none !important;

    content: none !important;
  }


  /* --------------------------------
     閉じるボタン
  -------------------------------- */

  .vk_fixed-display-761e9257-32f3-4099-bc95-f5c481166be9
  .vk_fixed-display-close-button {
    top: -25px !important;
    right: 2px !important;

    width: 24px;
    height: 24px;

    font-size: 14px !important;
  }


  /* --------------------------------
     Page Top
  -------------------------------- */

  #page_top.page_top_btn {
    bottom: 88px;
  }
}


/* ==================================================
   Small Smartphone
   390px以下
================================================== */

@media (max-width: 390px) {

  .vk_fixed-display-761e9257-32f3-4099-bc95-f5c481166be9 {
    width: calc(100% - 12px) !important;
  }


  .hide-fixed-cta > .wp-block-column > .wp-block-group {
    min-height: 58px;

    gap: 4px !important;

    padding: 6px 2px !important;
  }


  .hide-fixed-cta .vk_icon_font {
    font-size: 18px !important;
  }


  .hide-fixed-cta-tel p::before,
  .hide-fixed-cta-mail p::before,
  .hide-fixed-cta-line p::before {
    font-size: 0.64rem;
  }


  #page_top.page_top_btn {
    bottom: 82px;
  }
}

/* ==================================================
   02. トップページ
================================================== */

/* 見出し用明朝体 */

.fv-main,
.hide-fv-band-pc-title > p:last-child,
.hide-fv-band-sp-title > p:last-child {
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Noto Serif JP",
    serif;
  font-weight: 400;
}


/* FVメインコピー */

.fv-main {
  margin: 0;
  color: #0f5132;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.fv-main mark {
  color: #222;
  background: transparent;
}


/* FVサブコピー */

.fv-sub {
  margin-top: 0;
  color: #222;
  line-height: 1.8;
  letter-spacing: 0.04em;
}


/* ==================================================
   PC・SP表示切り替え
================================================== */

@media (min-width: 992px) {

  .hide-fv-pc,
  .hide-fv-band-pc {
    display: flex !important;
  }

  .hide-fv-sp-photo,
  .hide-fv-sp-content,
  .hide-fv-band-sp {
    display: none !important;
  }
}


@media (max-width: 991px) {

  .hide-fv-pc,
  .hide-fv-band-pc {
    display: none !important;
  }

  .hide-fv-sp-photo {
    display: flex !important;
  }

  .hide-fv-sp-content,
  .hide-fv-band-sp {
    display: block !important;
  }

  .hide-fv-sp-photo .fv-main,
  .hide-fv-sp-photo .fv-sub {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
}


/* ==================================================
   PC用FV
   幅はブロックのalignwideに任せる
================================================== */

.hide-fv-pc {
  position: relative;
  min-height: 640px !important;
  overflow: hidden;
}

.hide-fv-pc .wp-block-cover__image-background {
  object-position: 73% 52% !important;
}

.hide-fv-pc .wp-block-cover__inner-container {
  width: 100%;
}

.hide-fv-pc-layout {
  min-height: 640px;
  margin-bottom: 0 !important;
  align-items: center;
}

.hide-fv-pc-content {
  max-width: 560px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.hide-fv-pc .fv-main {
  margin-bottom: 22px;
  font-size: clamp(3rem, 3.6vw, 4.2rem);
}

.hide-fv-pc .fv-main mark {
  font-size: 0.72em;
}

.hide-fv-pc .fv-sub {
  margin-bottom: 26px;
  font-size: 1rem;
}


/* ==================================================
   PC用：3つのカード
================================================== */

.hide-fv-pc-cards {
  display: flex !important;
  gap: 12px;
  max-width: 520px;
  margin-bottom: 0 !important;
}

.hide-fv-pc-cards > .wp-block-column {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 150px;
  padding: 14px 8px 16px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid var(--hide-border) !important;
}

.hide-fv-pc-cards figure {
  margin: 0 0 5px;
}

.hide-fv-pc-cards img {
  display: block;
  width: 76px !important;
  height: 76px !important;
  margin-right: auto;
  margin-left: auto;
  object-fit: contain;
}

.hide-fv-pc-cards p {
  margin: 0;
  color: #0f5132;
  font-size: 0.95rem;
  line-height: 1.55;
}


/* ==================================================
   PC用：深緑帯
   幅はブロックのalignwideに任せる
================================================== */

.hide-fv-band-pc {
  position: relative;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 20px 26px !important;
  box-sizing: border-box;
  background-color: var(--hide-green) !important;
}

.hide-fv-band-pc-title {
  display: flex;
  flex: 0 0 245px;
  flex-direction: column;
  justify-content: center;
  min-width: 245px;
  padding-right: 28px;
  box-sizing: border-box;
}

.hide-fv-band-pc-title > p:first-child {
  margin: 0 0 4px;
  font-size: 0.72rem !important;
}

.hide-fv-band-pc-title > p:last-child {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.35 !important;
  letter-spacing: 0.1em !important;
}

.hide-fv-band-pc-items {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0 !important;
}

.hide-fv-band-pc-item {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px;
  min-width: 0;
  padding: 0 18px;
  box-sizing: border-box;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.hide-fv-band-pc-item figure {
  flex: 0 0 62px;
  margin: 0;
}

.hide-fv-band-pc-item img {
  display: block;
  width: 62px !important;
  height: 62px !important;
  object-fit: contain;
}

.hide-fv-band-pc-item p {
  min-width: 0;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.65;
  white-space: nowrap;
}


/* ==================================================
   小さめPC
   992px〜1199px
================================================== */

@media (min-width: 992px) and (max-width: 1199px) {

  .hide-fv-pc {
    min-height: 600px !important;
  }

  .hide-fv-pc-layout {
    min-height: 600px;
  }

  .hide-fv-pc-content {
    max-width: 500px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hide-fv-pc .fv-main {
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 4vw, 3.3rem);
  }

  .hide-fv-pc .fv-sub {
    margin-bottom: 22px;
    font-size: 0.9rem;
  }

  .hide-fv-pc-cards {
    max-width: 470px;
    gap: 10px;
  }

  .hide-fv-pc-cards > .wp-block-column {
    min-height: 135px;
    padding: 12px 6px 14px;
  }

  .hide-fv-pc-cards img {
    width: 66px !important;
    height: 66px !important;
  }

  .hide-fv-pc-cards p {
    font-size: 0.84rem;
  }

  .hide-fv-band-pc {
    padding: 16px 14px !important;
  }

  .hide-fv-band-pc-title {
    flex: 0 0 230px;
    min-width: 230px;
    padding-right: 16px;
  }

  .hide-fv-band-pc-title > p:first-child {
    font-size: 0.66rem !important;
  }

  .hide-fv-band-pc-title > p:last-child {
    font-size: 1.32rem;
    letter-spacing: 0.07em !important;
  }

  .hide-fv-band-pc-item {
    gap: 7px;
    padding: 0 8px;
  }

  .hide-fv-band-pc-item figure {
    flex-basis: 48px;
  }

  .hide-fv-band-pc-item img {
    width: 48px !important;
    height: 48px !important;
  }

  .hide-fv-band-pc-item p {
    font-size: 0.68rem;
    line-height: 1.55;
  }
}


/* ==================================================
   PC切り替え直後
   992px〜1080px
================================================== */

@media (min-width: 992px) and (max-width: 1080px) {

  .hide-fv-pc {
    min-height: 570px !important;
  }

  .hide-fv-pc-layout {
    min-height: 570px;
  }

  .hide-fv-pc-content {
    max-width: 450px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .hide-fv-pc .fv-main {
    margin-bottom: 16px;
    font-size: 2.45rem;
  }

  .hide-fv-pc .fv-sub {
    margin-bottom: 18px;
    font-size: 0.82rem;
  }

  .hide-fv-pc-cards {
    max-width: 430px;
    gap: 8px;
  }

  .hide-fv-pc-cards > .wp-block-column {
    min-height: 125px;
    padding: 10px 4px 12px;
  }

  .hide-fv-pc-cards img {
    width: 58px !important;
    height: 58px !important;
  }

  .hide-fv-pc-cards p {
    font-size: 0.76rem;
  }

  .hide-fv-band-pc {
    padding: 14px 10px !important;
  }

  .hide-fv-band-pc-title {
    flex: 0 0 205px;
    min-width: 205px;
    padding-right: 10px;
  }

  .hide-fv-band-pc-title > p:first-child {
    font-size: 0.6rem !important;
  }

  .hide-fv-band-pc-title > p:last-child {
    font-size: 1.18rem;
    letter-spacing: 0.05em !important;
  }

  .hide-fv-band-pc-item {
    gap: 5px;
    padding: 0 5px;
  }

  .hide-fv-band-pc-item figure {
    flex-basis: 42px;
  }

  .hide-fv-band-pc-item img {
    width: 42px !important;
    height: 42px !important;
  }

  .hide-fv-band-pc-item p {
    font-size: 0.61rem;
    line-height: 1.5;
  }
}


/* ==================================================
   タブレット・スマホ用FV
================================================== */

.hide-fv-sp-photo {
  position: relative;
  align-items: flex-start !important;
  width: 100vw !important;
  max-width: none !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  overflow: hidden;
}

.hide-fv-sp-photo .wp-block-cover__image-background {
  object-position: 65% 50% !important;
}

.hide-fv-sp-photo .wp-block-cover__inner-container {
  width: 100%;
  box-sizing: border-box;
}


/* FVテキストの白い外側光彩 */

.hide-fv-sp-photo .fv-main,
.hide-fv-sp-photo .fv-sub {
  position: relative;
  z-index: 2;

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

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

  text-align: left !important;

  text-shadow:
    -2px -2px 0 rgba(255, 255, 255, 0.95),
     2px -2px 0 rgba(255, 255, 255, 0.95),
    -2px  2px 0 rgba(255, 255, 255, 0.95),
     2px  2px 0 rgba(255, 255, 255, 0.95),
     0 0 5px #fff,
     0 0 10px #fff,
     0 0 16px rgba(255, 255, 255, 0.95);
}

.hide-fv-sp-photo .fv-main {
  margin-bottom: 12px;
}

.hide-fv-sp-photo .fv-main mark {
  font-size: 0.8em;
}

.hide-fv-sp-photo .fv-sub {
  margin-bottom: 0;
}


/* ==================================================
   タブレット・スマホ用：3カード背景
================================================== */

.hide-fv-sp-content {
  position: relative;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 calc(50% - 50vw) !important;
  box-sizing: border-box;
  background-color: var(--hide-card-bg) !important;
}

.hide-fv-sp-cards {
  display: flex !important;
  width: 100%;
  max-width: 880px;
  margin: 0 auto !important;
}

.hide-fv-sp-cards > .wp-block-column {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid var(--hide-border) !important;
}

.hide-fv-sp-cards figure {
  margin-top: 0;
}

.hide-fv-sp-cards img {
  display: block;
  margin-right: auto;
  margin-left: auto;
  object-fit: contain;
}

.hide-fv-sp-cards p {
  margin: 0;
  color: #0f5132;
  line-height: 1.5;
}


/* ==================================================
   タブレット・スマホ用：深緑帯
================================================== */

.hide-fv-band-sp {
  position: relative;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 calc(50% - 50vw) !important;
  box-sizing: border-box;
  background-color: var(--hide-green) !important;
}

.hide-fv-band-sp-title,
.hide-fv-band-sp-items {
  width: min(100%, 880px);
  margin-right: auto !important;
  margin-left: auto !important;
}

.hide-fv-band-sp-title {
  text-align: center;
}

.hide-fv-band-sp-title > p:first-child {
  margin: 0 0 4px;
}

.hide-fv-band-sp-title > p:last-child {
  margin: 0;
  line-height: 1.4 !important;
  letter-spacing: 0.1em !important;
}

.hide-fv-band-sp-title > p:last-child br {
  display: none;
}

.hide-fv-band-sp-items {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
}

.hide-fv-band-sp-item {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0;
  margin: 0 !important;
  box-sizing: border-box;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
}


/* 上段の上罫線 */

.hide-fv-band-sp-item:nth-child(-n + 2) {
  border-top: 1px dotted rgba(255, 255, 255, 0.3);
}


/* 右列の縦罫線 */

.hide-fv-band-sp-item:nth-child(even) {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.hide-fv-band-sp-item figure {
  flex: 0 0 auto;
  margin: 0;
}

.hide-fv-band-sp-item img {
  display: block;
  object-fit: contain;
}

.hide-fv-band-sp-item p {
  min-width: 0;
  margin: 0;
  font-weight: 600;
  line-height: 1.55;
}


/* ==================================================
   タブレット
   600px〜991px
================================================== */

@media (min-width: 600px) and (max-width: 991px) {

  .hide-fv-sp-photo {
    min-height: 620px !important;
  }

  .hide-fv-sp-photo .wp-block-cover__image-background {
    object-position: 66% 48% !important;
  }

  .hide-fv-sp-photo .wp-block-cover__inner-container {
    padding: 50px 34px 30px;
  }

  .hide-fv-sp-photo .fv-main {
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 12px;
    font-size: 3.45rem;
    line-height: 1.32 !important;
    text-align: left !important;
  }

  .hide-fv-sp-photo .fv-sub {
    width: 100% !important;
    max-width: none !important;
    font-size: 1rem;
    line-height: 1.75;
    text-align: left !important;
  }

  .hide-fv-sp-content {
    padding: 22px 42px 26px !important;
  }

  .hide-fv-sp-cards {
    gap: 12px;
  }

  .hide-fv-sp-cards > .wp-block-column {
    min-height: 145px;
    padding: 14px 8px 16px;
  }

  .hide-fv-sp-cards figure {
    margin-bottom: 6px;
  }

  .hide-fv-sp-cards img {
    width: 68px !important;
    height: 68px !important;
  }

  .hide-fv-sp-cards p {
    font-size: 0.88rem;
  }

  .hide-fv-band-sp {
    padding: 30px 34px 34px !important;
  }

  .hide-fv-band-sp-title {
    margin-bottom: 20px !important;
  }

  .hide-fv-band-sp-title > p:first-child {
    font-size: 0.76rem !important;
  }

  .hide-fv-band-sp-title > p:last-child {
    font-size: 1.55rem !important;
  }

  .hide-fv-band-sp-item {
    gap: 14px;
    min-height: 90px;
    padding: 14px 22px !important;
  }

  .hide-fv-band-sp-item figure {
    flex-basis: 58px;
  }

  .hide-fv-band-sp-item img {
    width: 58px !important;
    height: 58px !important;
  }

  .hide-fv-band-sp-item p {
    font-size: 0.84rem !important;
  }
}


/* ==================================================
   スマホ
   599px以下
================================================== */

@media (max-width: 599px) {

  .hide-fv-sp-photo {
    min-height: 435px !important;
  }

  .hide-fv-sp-photo .wp-block-cover__image-background {
    object-position: 65% 50% !important;
  }

  .hide-fv-sp-photo .wp-block-cover__inner-container {
    padding: 42px 18px 20px;
  }

  .hide-fv-sp-photo .fv-main {
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 9px;
    font-size: 3rem;
    line-height: 1.32 !important;
    letter-spacing: 0.04em !important;
    text-align: left !important;
  }

  .hide-fv-sp-photo .fv-sub {
    width: 100% !important;
    max-width: none !important;
    font-size: 1rem;
    line-height: 1.65;
    letter-spacing: 0 !important;
    text-align: left !important;
  }

  .hide-fv-sp-content {
    padding: 16px 18px 20px !important;
  }

  .hide-fv-sp-cards {
    gap: 8px;
  }

  .hide-fv-sp-cards > .wp-block-column {
    min-height: 116px;
    padding: 10px 3px 12px;
  }

  .hide-fv-sp-cards figure {
    margin-bottom: 5px;
  }

  .hide-fv-sp-cards img {
    width: 50px !important;
    height: 50px !important;
  }

  .hide-fv-sp-cards p {
    font-size: 0.67rem;
  }

  .hide-fv-band-sp {
    padding: 26px 16px 30px !important;
  }

  .hide-fv-band-sp-title {
    margin-bottom: 17px !important;
  }

  .hide-fv-band-sp-title > p:first-child {
    font-size: 0.66rem !important;
  }

  .hide-fv-band-sp-title > p:last-child {
    font-size: 1.25rem !important;
  }

  .hide-fv-band-sp-item {
    gap: 8px;
    min-height: 72px;
    padding: 11px 7px !important;
  }

  .hide-fv-band-sp-item figure {
    flex-basis: 46px;
  }

  .hide-fv-band-sp-item img {
    width: 46px !important;
    height: 46px !important;
  }

  .hide-fv-band-sp-item p {
    font-size: 0.66rem !important;
  }
}


/* ==================================================
   小さいスマホ
   390px以下
================================================== */

@media (max-width: 390px) {

  .hide-fv-sp-photo {
    min-height: 410px !important;
  }

  .hide-fv-sp-photo .wp-block-cover__image-background {
    object-position: 64% 50% !important;
  }

  .hide-fv-sp-photo .wp-block-cover__inner-container {
    padding: 36px 14px 16px;
  }

  .hide-fv-sp-photo .fv-main {
    width: 100% !important;
    max-width: none !important;
    font-size: 2rem;
    text-align: left !important;
  }

  .hide-fv-sp-photo .fv-sub {
    width: 100% !important;
    max-width: none !important;
    font-size: 1rem;
    text-align: left !important;
  }

  .hide-fv-sp-content {
    padding: 14px 12px 17px !important;
  }

  .hide-fv-sp-cards {
    gap: 5px;
  }

  .hide-fv-sp-cards > .wp-block-column {
    min-height: 108px;
    padding: 8px 2px 10px;
  }

  .hide-fv-sp-cards img {
    width: 43px !important;
    height: 43px !important;
  }

  .hide-fv-sp-cards p {
    font-size: 0.59rem;
  }

  .hide-fv-band-sp {
    padding: 23px 11px 26px !important;
  }

  .hide-fv-band-sp-title > p:last-child {
    font-size: 1.12rem !important;
  }

  .hide-fv-band-sp-item {
    gap: 6px;
    min-height: 67px;
    padding: 9px 4px !important;
  }

  .hide-fv-band-sp-item figure {
    flex-basis: 40px;
  }

  .hide-fv-band-sp-item img {
    width: 40px !important;
    height: 40px !important;
  }

  .hide-fv-band-sp-item p {
    font-size: 0.6rem !important;
  }
}

/* ==================================================
   「そのお悩み、HIDE整骨院にお任せください」
================================================== */

.hide-solution {
  position: relative;
  overflow: visible;
  isolation: isolate;
}


/* 薄緑背景の右側からはみ出す植物のあしらい */

.hide-solution::after {
  position: absolute;
  z-index: 2;
  right: -34px;
  bottom: 12px;
  width: 150px;
  height: 220px;
  background-image:
    url("https://hide-seikotsuin.com/wp/wp-content/uploads/solution-item-2.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  content: "";
  pointer-events: none;
}

.hide-solution .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
}


/* ==================================================
   2カラムレイアウト
================================================== */

.hide-solution-layout {
  align-items: stretch !important;
  gap: 48px !important;
  margin-bottom: 0 !important;
}

.hide-solution-photo,
.hide-solution-content {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.hide-solution-photo {
  flex-basis: 40% !important;
}

.hide-solution-content {
  display: flex;
  flex-basis: 60% !important;
  flex-direction: column;
  justify-content: center;
}


/* ==================================================
   写真
================================================== */

.hide-solution-photo > .wp-block-cover {
  width: 100%;
  min-height: 420px !important;
}

.hide-solution-photo .wp-block-cover__image-background {
  object-position: 50% 50% !important;
}


/* ==================================================
   見出し・本文
================================================== */

.hide-solution-content h2 {
  margin-top: 0;
  margin-bottom: 24px;
  color: #0f5132;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.hide-solution-content > p {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 2;
}


/* ==================================================
   白い案内枠
================================================== */

.hide-solution-message {
  position: relative;
  z-index: 3;
  display: flex !important;
  align-items: center !important;
  gap: 18px;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 0 !important;
  padding: 22px 28px !important;
  box-sizing: border-box;
}


/* 白い案内枠内には植物を表示しない */

.hide-solution-message::after {
  display: none !important;
  content: none !important;
}

.hide-solution-message figure {
  flex: 0 0 64px;
  margin: 0;
}

.hide-solution-message img {
  display: block;
  width: 64px !important;
  height: auto;
}

.hide-solution-message p {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.8;
}


/* ==================================================
   小さめPC
   992px〜1199px
================================================== */

@media (min-width: 992px) and (max-width: 1199px) {

  .hide-solution::after {
    right: -28px;
    bottom: 10px;
    width: 125px;
    height: 185px;
  }

  .hide-solution-layout {
    gap: 34px !important;
  }

  .hide-solution-photo {
    flex-basis: 38% !important;
  }

  .hide-solution-content {
    flex-basis: 62% !important;
  }

  .hide-solution-photo > .wp-block-cover {
    min-height: 390px !important;
  }

  .hide-solution-content h2 {
    margin-bottom: 18px;
    font-size: 1.75rem;
  }

  .hide-solution-content > p {
    margin-bottom: 14px;
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .hide-solution-message {
    gap: 14px;
    padding: 18px 20px !important;
  }

  .hide-solution-message figure {
    flex-basis: 54px;
  }

  .hide-solution-message img {
    width: 54px !important;
  }

  .hide-solution-message p {
    font-size: 0.88rem !important;
  }
}


/* ==================================================
   タブレット
   600px〜991px
================================================== */

@media (min-width: 600px) and (max-width: 991px) {

  .hide-solution::after {
    right: -24px;
    bottom: 14px;
    width: 105px;
    height: 155px;
  }

  .hide-solution-layout {
    display: grid !important;
    grid-template-columns: minmax(220px, 38%) minmax(0, 62%);
    align-items: center !important;
    gap: 36px !important;
    padding-right: 30px !important;
    padding-left: 30px !important;
  }

  .hide-solution-photo,
  .hide-solution-content {
    width: 100%;
    max-width: none;
  }

  .hide-solution-photo {
    flex-basis: auto !important;
  }

  .hide-solution-content {
    flex-basis: auto !important;
  }

  .hide-solution-photo > .wp-block-cover {
    min-height: 360px !important;
  }

  .hide-solution-photo .wp-block-cover__image-background {
    object-position: 50% 45% !important;
  }

  .hide-solution-content h2 {
    margin-bottom: 18px;
    font-size: clamp(1.55rem, 3.4vw, 2rem);
    line-height: 1.5;
  }

  .hide-solution-content > p {
    margin-bottom: 14px;
    font-size: 0.86rem;
    line-height: 1.9;
  }

  .hide-solution-message {
    gap: 12px;
    width: 100%;
    padding: 16px 18px !important;
  }

  .hide-solution-message figure {
    flex-basis: 48px;
  }

  .hide-solution-message img {
    width: 48px !important;
  }

  .hide-solution-message p {
    font-size: 0.82rem !important;
    line-height: 1.75;
  }
}


/* ==================================================
   スマホ
   599px以下
================================================== */

@media (max-width: 599px) {

  /*
   スマホでは植物のあしらいを非表示
  */

  .hide-solution::after {
    display: none !important;
    content: none !important;
  }

  .hide-solution {
    overflow: hidden;
  }

  .hide-solution-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  .hide-solution-photo,
  .hide-solution-content {
    width: 100% !important;
    max-width: none !important;
    flex-basis: auto !important;
  }

  .hide-solution-photo {
    margin-bottom: 0 !important;
  }

  .hide-solution-photo > .wp-block-cover {
    min-height: 280px !important;
    margin-bottom: 0 !important;
  }

  .hide-solution-photo .wp-block-cover__image-background {
    object-position: 50% 35% !important;
  }

  .hide-solution-content h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: clamp(1.55rem, 7vw, 1.9rem);
    line-height: 1.5;
    letter-spacing: 0.06em;
  }

  .hide-solution-content > p {
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .hide-solution-message {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center !important;
    gap: 12px;
    width: 100% !important;
    max-width: none !important;
    margin-top: 4px;
    padding: 18px 16px !important;
  }

  .hide-solution-message figure {
    width: 48px;
    flex-basis: auto;
  }

  .hide-solution-message img {
    width: 48px !important;
  }

  .hide-solution-message p {
    min-width: 0;
    font-size: 0.86rem !important;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }
}


/* ==================================================
   小さいスマホ
   390px以下
================================================== */

@media (max-width: 390px) {

  .hide-solution-layout {
    gap: 20px !important;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  .hide-solution-photo > .wp-block-cover {
    min-height: 240px !important;
  }

  .hide-solution-content h2 {
    margin-bottom: 16px;
    font-size: 1.45rem;
  }

  .hide-solution-content > p {
    margin-bottom: 14px;
    font-size: 0.84rem;
  }

  .hide-solution-message {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    width: 100% !important;
    padding: 15px 12px !important;
  }

  .hide-solution-message figure,
  .hide-solution-message img {
    width: 40px !important;
  }

  .hide-solution-message p {
    font-size: 0.79rem !important;
  }
}

/* ==================================================
   HIDE整骨院の特徴
================================================== */

/* PC */
.hide-features-list {
  gap: 56px !important;
}


/* 小さめPC */
@media (min-width: 992px) and (max-width: 1199px) {

  .hide-features-list {
    gap: 24px !important;
  }

  .hide-features-list > .wp-block-column > .wp-block-group {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .hide-features-list h3 {
    font-size: 1.15rem !important;
    line-height: 1.5;
  }

  .hide-features-list h3 + p {
    font-size: 0.88rem;
    line-height: 1.8;
  }
}


/* タブレット */
@media (min-width: 600px) and (max-width: 991px) {

  .hide-features-list {
    gap: 16px !important;
  }

  .hide-features-list > .wp-block-column > .wp-block-cover {
    min-height: 170px !important;
  }

  .hide-features-list > .wp-block-column > .wp-block-group {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .hide-features-list .wp-block-image img {
    width: 58px;
    height: auto;
  }

  .hide-features-list h3 {
    font-size: 1rem !important;
    line-height: 1.5;
  }

  .hide-features-list h3 + p {
    font-size: 0.78rem;
    line-height: 1.75;
  }
}


/* スマホ */
@media (max-width: 599px) {

  .hide-features-list {
    flex-direction: column !important;
    gap: 24px !important;
  }

  .hide-features-list > .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
  }

  .hide-features-list > .wp-block-column > .wp-block-cover {
    min-height: 210px !important;
  }

  .hide-features-list > .wp-block-column > .wp-block-group {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .hide-features-list .wp-block-image img {
    width: 64px;
    height: auto;
  }

  .hide-features-list h3 {
    font-size: 1.2rem !important;
    line-height: 1.5;
  }

  .hide-features-list h3 + p {
    font-size: 0.9rem;
    line-height: 1.8;
  }
}


/* 小さいスマホ */
@media (max-width: 390px) {

  .hide-features-list {
    gap: 20px !important;
  }

  .hide-features-list > .wp-block-column > .wp-block-cover {
    min-height: 185px !important;
  }

  .hide-features-list > .wp-block-column > .wp-block-group {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .hide-features-list .wp-block-image img {
    width: 58px;
  }

  .hide-features-list h3 {
    font-size: 1.1rem !important;
  }

  .hide-features-list h3 + p {
    font-size: 0.84rem;
  }
}

/* ==================================================
   お知らせ一覧ボタン
================================================== */

.hide-news-more {
  margin-top: 24px !important;
  text-align: right !important;
}

.hide-news-more a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 12px 42px 12px 24px;
  border: 1px solid #0f5b3b;
  color: #0f5b3b !important;
  background-color: #fff;
  font-size: 0.9rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

/* 矢印 */
.hide-news-more a::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

/* PC hover */
@media (hover: hover) {

  .hide-news-more a:hover {
    color: #fff !important;
    background-color: #0f5b3b;
  }
}


/* スマホ */
@media (max-width: 599px) {

  .hide-news-more {
    margin-top: 20px !important;
    text-align: center !important;
  }

  .hide-news-more a {
    width: min(100%, 260px);
    min-width: 0;
    padding: 12px 40px 12px 20px;
    font-size: 0.85rem;
  }
}

/* ==================================================
   院概要・受付時間・アクセス
   h3見出し装飾
================================================== */

.hide-info-section h3 {
  position: relative;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  padding: 4px 0 10px 16px;
  color: #0f5b3b !important;
  font-size: 1.45rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: left !important;
  border-bottom: 1px solid rgba(15, 91, 59, 0.18);
}

/* 左のアクセントライン */
.hide-info-section h3::before {
  position: absolute;
  top: 3px;
  bottom: 10px;
  left: 0;
  width: 4px;
  background-color: #0f5b3b;
  content: "";
}


/* ==================================================
   タブレット
================================================== */

@media (min-width: 600px) and (max-width: 991px) {

  .hide-info-section h3 {
    margin-bottom: 20px !important;
    padding-left: 14px;
    font-size: 1.3rem;
  }

  .hide-info-section h3::before {
    width: 3px;
  }
}


/* ==================================================
   スマホ
================================================== */

@media (max-width: 599px) {

  .hide-info-section h3 {
    margin-bottom: 18px !important;
    padding: 3px 0 9px 12px;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
  }

  .hide-info-section h3::before {
    top: 2px;
    bottom: 9px;
    width: 3px;
  }
}
