/*
Theme Name: Lightning Child
Template: lightning
Version: 0.1
*/

/* ============================
   0) 変数 / 全体
============================ */
:root{--header-h:95px;--svaha-gap-to-map:22px;}
html,body{overflow-x:hidden!important;}
body{background-color:#792077!important;margin:0!important}
.site-footer{background-color:#3f113e!important}
body,p,a,h1,h2,h3,h4,h5,h6,.wp-block-rss__item-title a{color:#fff!important}
.wp-block-rss__item-publish-date{color:#fff!important}
.wp-block-heading{color:#fff!important}

/* ============================
   1) ヘッダー / グロナビ
============================ */
#site-header,body.header_scrolled #site-header,.header_scrolled #site-header{
  position:fixed!important;top:0;left:0;width:100%;z-index:9999!important;
  background-color:rgba(255,255,255,.8)!important;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(212,212,212,.5);height:var(--header-h)!important;
}
#site-header-container,body.header_scrolled #site-header-container,.header_scrolled #site-header-container{
  height:var(--header-h)!important;display:flex;align-items:center!important;justify-content:flex-start;
  position:relative;padding-right:56px!important;
}
#site-header .site-header-logo{margin-right:auto}
#site-header .site-header-logo img{max-height:65px!important;width:auto!important;height:auto!important;margin:10px 0!important}
#global-nav{margin-left:auto}

body.header_scrolled #site-header .site-header-logo,
.header_scrolled #site-header .site-header-logo,
.site-header.site-header--scrolled .site-header-logo{display:block!important;visibility:visible!important;opacity:1!important}
body.header_scrolled #site-header-container,
.header_scrolled #site-header-container,
.site-header.site-header--scrolled #site-header-container,
.site-header.site-header--scrolled .site-header-container{display:flex!important;align-items:center!important;justify-content:flex-start!important}
body.header_scrolled #site-header .site-header-logo,
.header_scrolled #site-header .site-header-logo,
.site-header.site-header--scrolled .site-header-logo{margin-right:auto!important}
body.header_scrolled #site-header .global-nav,
.header_scrolled #site-header .global-nav,
.site-header.site-header--scrolled .global-nav{margin-left:auto!important}
body.header_scrolled #site-header .site-header-logo img,
.header_scrolled #site-header .site-header-logo img,
.site-header.site-header--scrolled .site-header-logo img{max-height:65px!important}

.global-nav-list>li>a{
  padding:20px 20px 14px 20px!important;font-size:17px!important;color:#333!important;text-align:center!important;
  background:transparent!important;box-shadow:none!important;transform:none!important;border-bottom:3px solid transparent!important;box-sizing:border-box!important
}
.global-nav-list>li>a:hover{color:#7b1fa2!important;background:transparent!important;box-shadow:none!important;transform:none!important}
.global-nav-list>li.current-menu-item>a,.global-nav-list>li:hover>a{border-bottom-color:#d44bd4!important}
.global-nav-list>li.menu-item-has-children>a .global-nav-name::after{content:" ▼";font-size:10px;margin-left:4px;color:#555}
.global-nav .sub-menu a{background:#4e004e!important;color:#fff!important;padding:14px 18px!important;border-bottom:1px solid rgba(255,255,255,.3)}
.global-nav .sub-menu a:hover{background:#6a0a6a!important}
.global-nav-list>li>a .nav-desc,.global-nav-list>li>a .menu-item-description{display:block;font-size:11px;color:#666;margin-top:3px;text-align:center}
.global-nav-list .global-nav-description{display:block;font-size:11px;color:#666;margin-top:3px;text-align:center;line-height:1}
.global-nav-list>li.menu-item-home>a .global-nav-name::after{content:"";display:block;height:11px;margin-top:3px}

/* 検索ボタン */
.svaha-search-btn{position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;z-index:10002;text-decoration:none;font-size:20px;line-height:1;color:#333}
.svaha-search-btn:hover{color:#7b1fa2}

/* 非HOME：固定ヘッダー分の上余白 */
@media (min-width:769px){body:not(.home){padding-top:var(--header-h)!important;}}

/* タブレット以下：中央ロゴ + 左ハンバーガー + 右検索 */
@media (max-width:1024px){
  #global-nav{display:none!important}#vk-mobile-nav-menu-btn{display:none!important}
  #site-header-container{display:grid!important;grid-template-columns:48px 1fr 48px!important;align-items:center!important;padding:0 8px!important}
  #site-header .site-header-logo{grid-column:2!important;justify-self:center!important;margin:0!important}
  #site-header .site-header-logo img{max-height:44px!important;margin:0!important}
  .svaha-mobile-menu-btn{display:flex!important;grid-column:1!important;justify-self:start!important;align-items:center!important;justify-content:center!important;width:48px!important;height:48px!important;background:transparent!important;border:0!important;font-size:24px!important;color:#333!important;padding:0!important}
  .svaha-search-btn{display:flex!important;grid-column:3!important;justify-self:end!important;align-items:center!important;justify-content:center!important;position:static!important;transform:none!important;width:48px!important;height:48px!important}
}

/* スマホ：ヘッダー固定をやめる（現状仕様） */
@media (max-width:768px){
  #site-header,body.header_scrolled #site-header,.header_scrolled #site-header{position:static!important}
  #site-header{background-color:rgba(231,219,233,.92)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}

/* PC(>=1025px)：ロゴを固定ページのコンテンツ左端（パンくず内側）に揃える */
@media (min-width:1025px){
  #site-header-container{max-width:1280px!important;padding-left:16px!important;}
  #site-header .site-header-logo img{transform:translateX(-5px)!important;}
}

/* ============================
   2) ドロワー
============================ */
.svaha-mobile-menu-btn{display:none}
@media (max-width:1024px){
  .svaha-mobile-drawer{position:fixed!important;inset:0!important;z-index:10050!important}
  .svaha-mobile-drawer__backdrop{position:absolute!important;inset:0!important;background:rgba(10,10,10,.38)!important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
  .svaha-mobile-drawer__panel{
    position:absolute!important;left:0!important;top:var(--header-h)!important;height:calc(100% - var(--header-h))!important;
    width:min(84vw, 420px)!important;background:#fff!important;color:#333!important;overflow:auto!important;-webkit-overflow-scrolling:touch;
    padding:14px 14px calc(22px + env(safe-area-inset-bottom))!important;border-right:1px solid rgba(0,0,0,.08);
    box-shadow:14px 0 34px rgba(0,0,0,.28);border-radius:0 16px 16px 0;box-sizing:border-box!important
  }
  @media (max-width:768px){.svaha-mobile-drawer__panel{top:0!important;height:100%!important;border-radius:0 14px 14px 0}}
  .svaha-mobile-drawer__close{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(0,0,0,.12);background:rgba(255,255,255,.92);color:#333!important;margin-left:auto;box-shadow:0 10px 22px rgba(0,0,0,.16)}
  .svaha-mobile-nav-list{list-style:none!important;margin:10px 0 0!important;padding:0!important}
  .svaha-mobile-nav-list>li>a{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:13px 12px!important;border-bottom:1px solid rgba(0,0,0,.08)!important;color:#222!important;text-decoration:none!important;font-size:16px!important;font-weight:700!important;border-radius:10px}
  .svaha-mobile-nav-list>li>a:hover{background:rgba(122,31,162,.08)!important}
  .svaha-mobile-nav-list .sub-menu{list-style:none!important;padding:6px 0 10px 10px!important;margin:0!important;border-left:2px solid rgba(122,31,162,.18)}
  .svaha-mobile-nav-list .sub-menu a{display:block!important;padding:11px 12px!important;border-bottom:1px solid rgba(0,0,0,.06)!important;color:#333!important;text-decoration:none!important;font-size:14.5px!important;border-radius:10px;background:rgba(0,0,0,.02)}
  .svaha-mobile-nav-list .sub-menu a:hover{background:rgba(122,31,162,.08)!important}
  html.svaha-drawer-open,html.svaha-drawer-open body{overflow:hidden!important}
}

/* ============================
   3) TOPスライダー（Aのまま）
============================ */
.wp-block-vk-blocks-slider.alignfull .wp-block-cover{min-height:800px!important}
@media (max-width:768px){.wp-block-vk-blocks-slider.alignfull .wp-block-cover{min-height:640px!important}}
@media (max-width:480px){.wp-block-vk-blocks-slider.alignfull .wp-block-cover{min-height:350px!important}}
.wp-block-vk-blocks-slider .wp-block-cover__image-background{object-fit:cover!important}
.wp-block-vk-blocks-slider .wp-block-cover__background,.wp-block-vk-blocks-slider .wp-block-cover__gradient-background{opacity:0!important;background:none!important}
.wp-block-vk-blocks-slider .vk_slider_item_container.container{width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important}
.wp-block-vk-blocks-slider .swiper-button-prev,.wp-block-vk-blocks-slider .swiper-button-next{top:50%!important;transform:translateY(-50%)!important;margin-top:0!important}
@media (max-width:600px){.wp-block-vk-blocks-slider .swiper-button-prev,.wp-block-vk-blocks-slider .swiper-button-next{display:none!important}}
@media (min-width:769px){body.home .wp-block-vk-blocks-slider{margin-top:calc(var(--header-h) * -1)!important}}
body.home .wp-block-vk-blocks-slider .wp-block-cover{display:flex!important;align-items:center!important;justify-content:center!important}
body.home .wp-block-vk-blocks-slider .wp-block-cover__inner-container{
  width:100%!important;max-width:none!important;box-sizing:border-box!important;margin:0 auto!important;
  padding-left:calc(12px + env(safe-area-inset-left))!important;padding-right:calc(12px + env(safe-area-inset-right))!important;text-align:center!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
}
body.home .wp-block-vk-blocks-slider .wp-block-cover__inner-container>p{
  margin:0!important;padding:0!important;width:100%!important;max-width:1100px!important;margin-left:auto!important;margin-right:auto!important;
  box-sizing:border-box!important;text-align:center!important;color:#ff4fa1!important;font-weight:700!important;line-height:1.25!important;
  background:transparent!important;text-shadow:none!important;text-wrap:normal!important;white-space:normal!important;line-break:strict!important;word-break:keep-all!important;overflow-wrap:normal!important
}
body.home .wp-block-vk-blocks-slider .wp-block-cover__inner-container>p:nth-of-type(2){white-space:nowrap!important}
body.home .wp-block-vk-blocks-slider .wp-block-cover__inner-container>p + p{margin-top:.22em!important;}
@media (min-width:601px){body.home .wp-block-vk-blocks-slider .wp-block-cover__inner-container>p{font-size:clamp(1.55rem, 2.7vw, 2.35rem)!important}}
@media (max-width:600px){
  body.home .wp-block-vk-blocks-slider .wp-block-cover__inner-container{padding-left:calc(10px + env(safe-area-inset-left))!important;padding-right:calc(10px + env(safe-area-inset-right))!important}
  body.home .wp-block-vk-blocks-slider .wp-block-cover__inner-container>p{font-size:clamp(1.10rem, 4.8vw, 1.55rem)!important;line-height:1.22!important}
}
.vk_slider_item_container>p{margin:0!important;padding:0!important;height:0!important}

/* HOME：余白/透明 */
body.home .site-body,body.home .site-body-container.container,body.home .main-section,body.home .entry,body.home .entry-body,body.home #main{margin-top:0!important;padding-top:0!important}
body.home .site-body[style*="margin-top"]{margin-top:0!important}
body.home #site-header,body.home #site-header-container{margin-bottom:0!important;padding-bottom:0!important}
body.home .site-body-container.container,body.home .entry-body,body.home .main-section,body.home .wp-block-group,body.home .wp-block-group.is-layout-constrained,body.home .wp-block-group.is-layout-grid{background:transparent!important}

/* HOME：ブログ見出しの上に余白 */
body.home .svaha-home-news-title{margin:clamp(28px,5vw,70px) auto 16px!important;}
@media (max-width:768px){body.home .svaha-home-news-title{margin:clamp(44px,10vw,96px) auto 16px!important;}}

/* ============================
   4) HOME：home-news（Aのハス背景）
============================ */
body.home ul.svaha-home-news.wp-block-rss::before,
body.home ul.svaha-home-news.wp-block-rss::after,
body.home .svaha-home-news::before,
body.home .svaha-home-news::after{content:none!important;display:none!important}
body.home .svaha-home-news-title{
  width:min(980px, calc(100% - 32px))!important;margin:0 auto 16px!important;padding:18px 0 16px!important;
  text-align:center!important;font-weight:700!important;border-bottom:1px solid rgba(255,255,255,.75)!important
}
body.home ul.svaha-home-news.wp-block-rss,
body.home ul.has-dates.svaha-home-news.wp-block-rss{
  width:min(980px, calc(100% - 32px))!important;margin:0 auto!important;padding:22px 26px!important;border-radius:10px!important;list-style:none!important;
  position:relative!important;overflow:hidden!important;
  background-image:linear-gradient(90deg, rgba(121,32,119,.92) 0%, rgba(121,32,119,.82) 55%, rgba(121,32,119,.15) 100%), url("/wp-content/uploads/2025/11/ameba_bg2.jpg") !important;
  background-repeat:no-repeat,no-repeat!important;background-size:cover, contain!important;background-position:0 0, right bottom!important;background-color:transparent!important
}
@media (max-width:768px){
  body.home ul.svaha-home-news.wp-block-rss,
  body.home ul.has-dates.svaha-home-news.wp-block-rss{
    background-image:none!important;
    background-color:rgba(121,32,119,.92)!important;
  }
}

/* HOME：メニュー画像(5枚)〜「ブログ 新着情報」見出しの“間”を安定化 */
body.home .wp-block-group.wp-block-group-is-layout-grid:has(figure.menu-tile){
  margin-bottom:clamp(40px,5vw,80px)!important;
}
body.home .wp-block-group.wp-block-group-is-layout-grid:has(figure.menu-tile) > p:empty{
  display:none!important;margin:0!important;padding:0!important;
}
body.home h3.wp-block-heading.svaha-home-news-title{margin-top:0!important;}

/* ============================
   5) TOP：メニュー画像ホバー文字（A）
============================ */
.wp-block-group.is-layout-grid figure.menu-tile{position:relative;overflow:hidden;cursor:pointer}
.wp-block-group.is-layout-grid figure.menu-tile img{width:100%;height:260px;object-fit:cover;display:block;transition:transform .4s ease}
.wp-block-group.is-layout-grid figure.menu-tile:hover img{transform:scale(1.07);filter:brightness(60%)}
.wp-block-group.is-layout-grid figure.menu-tile::after{
  content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  color:#fff!important;font-size:1.0rem;font-weight:700;opacity:0;transition:opacity .3s ease;
  z-index:3;pointer-events:none;white-space:nowrap;text-shadow:0 0 5px rgba(0,0,0,.35)
}
.wp-block-group.is-layout-grid figure.menu-tile:hover::after{opacity:1}
@media (max-width:600px){
  .wp-block-group.is-layout-grid figure.menu-tile::after{opacity:1!important;background:rgba(0,0,0,.25);padding:2px 8px;border-radius:3px;font-size:.9rem}
}
.wp-block-group.is-layout-grid figure.menu-tile-ito::after{content:"糸つなぎ＊糸かけ曼荼羅"}
.wp-block-group.is-layout-grid figure.menu-tile-baby::after{content:"ベビー＆キッズ"}
.wp-block-group.is-layout-grid figure.menu-tile-sango::after{content:"産後ケア"}
.wp-block-group.is-layout-grid figure.menu-tile-maternity::after{content:"マタニティケア"}
.wp-block-group.is-layout-grid figure.menu-tile-kodakara::after{content:"子宝ケア"}

/* ============================
   6) map
============================ */
.svaha-map-wrap{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding:0!important;margin-bottom:0!important}
.svaha-map-wrap iframe{width:100vw!important;max-width:100vw!important;border:0!important;display:block!important;margin:0!important;padding:0!important}
.svaha-map-wrap+p{display:none!important}
@media (max-width:600px){.svaha-map-wrap iframe{height:380px!important}}

/* ============================
   7) ページ可読性
============================ */
body.page:not(.home) .entry-body>.wp-block-heading,body.page:not(.home) .entry-body>h2,body.page:not(.home) .entry-body>h3{line-height:1.25!important;margin:56px auto 18px!important;letter-spacing:.04em}
@media (min-width:769px){body.page:not(.home) .entry-body>.wp-block-heading{margin-top:120px!important}}
@media (max-width:600px){body.page:not(.home) .entry-body>.wp-block-heading,body.page:not(.home) .entry-body>h2,body.page:not(.home) .entry-body>h3{margin-top:40px!important}}
body.page:not(.home) .entry-body>p,body.page:not(.home) .entry-body>ul,body.page:not(.home) .entry-body>ol{
  width:min(1100px, calc(100% - 32px))!important;margin-left:auto!important;margin-right:auto!important;padding-left:16px!important;padding-right:16px!important;
  line-height:1.9!important;font-size:clamp(1.0rem, 1.05vw, 1.1rem)!important
}
@media (max-width:600px){
  body.page:not(.home) .entry-body>p,body.page:not(.home) .entry-body>ul,body.page:not(.home) .entry-body>ol{
    width:calc(100% - 24px)!important;padding-left:12px!important;padding-right:12px!important;font-size:1.02rem!important
  }
}

/* hero文字黒 */
body.svaha-hero-text-black .entry-body>.wp-block-cover:first-child .wp-block-cover__inner-container,
body.svaha-hero-text-black .entry-body>.wp-block-cover:first-child .wp-block-cover__inner-container *{color:#111!important;text-shadow:none!important}
body.svaha-hero-text-black .entry-body>.wp-block-cover:first-child .wp-block-cover__inner-container a{color:#111!important;text-decoration:underline!important}

/* ============================
   8) 固定ページ：profilelike（B寄せ）
============================ */
body.svaha-profilelike{--svaha-gap-to-map:0px;}
body.svaha-profilelike .page-header,body.svaha-profilelike .site-body-header,body.svaha-profilelike #breadcrumb,body.svaha-profilelike .breadcrumb,body.svaha-profilelike .bread-crumb{display:none!important}
body.svaha-profilelike .sub-section{display:none!important}
body.svaha-profilelike .site-body,body.svaha-profilelike .site-body-container,body.svaha-profilelike .site-body-container.container,body.svaha-profilelike .main-section,body.svaha-profilelike #main,body.svaha-profilelike .entry,body.svaha-profilelike .entry-body{max-width:none!important;width:100%!important;overflow:visible!important}
body.svaha-profilelike .site-body-container.container{padding-left:0!important;padding-right:0!important}
@media (min-width:769px){body.svaha-profilelike{padding-top:var(--header-h)!important}}

body.svaha-profilelike .entry-body>.wp-block-cover:first-child,
body.svaha-profilelike .wp-block-cover.svaha-profile-hero{
  width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;
  border-radius:0!important;min-height:360px!important;margin-top:0!important
}
@media (min-width:769px){
  body.svaha-profilelike .entry-body>.wp-block-cover:first-child,
  body.svaha-profilelike .wp-block-cover.svaha-profile-hero{margin-top:calc(var(--header-h) * -1)!important}
}
@media (max-width:768px){
  body.svaha-profilelike .entry-body>.wp-block-cover:first-child,
  body.svaha-profilelike .wp-block-cover.svaha-profile-hero{min-height:220px!important}
}
body.svaha-profilelike .entry-body>.wp-block-cover:first-child .wp-block-cover__background,
body.svaha-profilelike .entry-body>.wp-block-cover:first-child .wp-block-cover__gradient-background{opacity:0!important}
body.svaha-profilelike .entry-body>.wp-block-cover:first-child .wp-block-cover__image-background{object-fit:cover!important;object-position:35% 12%!important}

body.svaha-profilelike .svaha-profile-layout{
  width:min(1280px, calc(100% - 32px))!important;margin:22px auto var(--svaha-gap-to-map)!important;padding:0 16px!important;box-sizing:border-box!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start
}
@media (max-width:1024px){body.svaha-profilelike .svaha-profile-layout{grid-template-columns:1fr!important;gap:18px!important}}
body.svaha-profilelike .svaha-profile-card{
  background:#f2dbe7!important;border:1px solid rgba(255,255,255,.55)!important;box-shadow:0 12px 26px rgba(0,0,0,.18)!important;
  padding:22px 38px 28px!important;margin:0!important;box-sizing:border-box!important
}
body.svaha-profilelike .svaha-profile-card,body.svaha-profilelike .svaha-profile-card *{color:#333!important}
body.svaha-profilelike .svaha-profile-card a{color:#7b1fa2!important;text-decoration:underline!important}
body.svaha-profilelike .svaha-profile-side{color:#fff!important;display:flex!important;flex-direction:column!important;gap:18px!important}
@media (min-width:1025px){body.svaha-profilelike .svaha-profile-side{position:sticky;top:calc(var(--header-h) + 18px)}}
@media (max-width:768px){
  body.svaha-profilelike .svaha-profile-layout{width:100%!important;max-width:none!important;margin:14px 0 var(--svaha-gap-to-map)!important;padding:0!important;grid-template-columns:1fr!important;gap:16px!important}
  body.svaha-profilelike .svaha-profile-card{border-radius:0!important;padding:16px 14px 18px!important}
  body.svaha-profilelike .svaha-profile-side{margin:0!important;padding:0 12px 18px!important}
}

body.svaha-profilelike .entry-body>p:empty,body.svaha-profilelike .entry-body .wp-block-spacer{display:none!important;height:0!important;margin:0!important;padding:0!important}
body.svaha-profilelike .entry,body.svaha-profilelike .entry-body{margin-bottom:0!important;padding-bottom:0!important}
body.svaha-profilelike .site-body-bottom{margin-top:0!important;padding-top:var(--svaha-gap-to-map)!important;padding-bottom:0!important;background:transparent!important}
body.svaha-profilelike .site-body-bottom .container{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
body.svaha-profilelike .site-body-bottom .widget,body.svaha-profilelike .site-body-bottom .textwidget{margin:0!important;padding:0!important}

/* profilelike：表をMutation風に（79/77含む共通） */
body.svaha-profilelike .svaha-profile-card table{
  width:100%!important;border-collapse:separate!important;border-spacing:0!important;
  margin:18px 0!important;background:#fff!important;border:1px solid rgba(0,0,0,.12)!important;
}
body.svaha-profilelike .svaha-profile-card th,
body.svaha-profilelike .svaha-profile-card td{
  padding:14px 16px!important;border-bottom:1px solid rgba(0,0,0,.08)!important;color:#333!important;vertical-align:middle!important;
}
body.svaha-profilelike .svaha-profile-card th{
  background:#f3f3f3!important;width:140px!important;text-align:center!important;font-weight:800!important;
}
body.svaha-profilelike .svaha-profile-card tr:last-child th,
body.svaha-profilelike .svaha-profile-card tr:last-child td{border-bottom:0!important;}
@media (max-width:768px){
  body.svaha-profilelike .svaha-profile-card th{width:84px!important;word-break:break-all!important;}
}

/* profilelike：bgwaku（Mutation風のピンク枠）共通 */
body.svaha-profilelike .svaha-profile-card .bgwaku{
  background:#fff!important;border:2px solid #792077 !important;border-radius:18px!important;
  padding:22px 24px!important;margin:10px 0 22px!important;line-height:1.9!important;
}
@media (max-width:600px){
  body.svaha-profilelike .svaha-profile-card .bgwaku{padding:18px 18px!important;border-radius:16px!important;}
}

/* 固定ページ：パンくず（Mutation風） */
body.svaha-profilelike .svaha-breadcrumb{margin:0!important;padding:18px 0 14px!important;border-bottom:1px solid rgba(255,255,255,.55)!important;}
body.svaha-profilelike .svaha-breadcrumb__inner{width:min(1280px, calc(100% - 32px))!important;margin:0 auto!important;padding:0 16px!important;box-sizing:border-box!important;}
body.svaha-profilelike .svaha-breadcrumb a,body.svaha-profilelike .svaha-breadcrumb span{color:#fff!important;font-size:14px!important;}
body.svaha-profilelike .svaha-breadcrumb .sep{margin:0 .6em!important;opacity:.9;}
@media (max-width:600px){
  body.svaha-profilelike .svaha-breadcrumb{padding:16px 0 12px!important;}
  body.svaha-profilelike .svaha-breadcrumb__inner{padding:0 14px!important;}
}

/* 固定ページ：見出し装飾（title_bg-1.png） */
body.svaha-profilelike .svaha-profile-head{
  margin:0 0 18px!important;min-height:56px!important;display:flex!important;align-items:center!important;
  padding:0 18px 0 72px!important;box-sizing:border-box!important;
  background:url("https://svaha.asia/wp-content/uploads/2025/11/title_bg-1.png") no-repeat center/100% 100%!important;
}
body.svaha-profilelike .svaha-profile-head__text{font-weight:700!important;font-size:1.4rem!important;line-height:1!important;color:#3f113e!important;}
@media (max-width:600px){
  body.svaha-profilelike .svaha-profile-head{
    min-height:48px!important;margin:0 0 14px!important;
    padding:0 64px!important;justify-content:center!important;
    background-position:center!important;background-size:100% 100%!important;
  }
  body.svaha-profilelike .svaha-profile-head__text{width:100%!important;text-align:center!important;font-size:1.2rem!important;}
}

/* スマホ：ナビ（ヘッダー）とトップ画像の間の「紫の隙間」を消す */
@media (max-width:768px){
  body.svaha-profilelike .site-body{padding-top:0!important;margin-top:0!important;}
  body.svaha-profilelike .site-body-container.container{padding-top:0!important;margin-top:0!important;}
}

/* profilelike：クラシックの画像回り込み（PC）＋スマホは中央寄せ */
body.svaha-profilelike .svaha-profile-card img{max-width:100%;height:auto;}
@media (min-width:769px){
  body.svaha-profilelike .svaha-profile-card img.alignleft{float:left!important;margin:0 24px 18px 0!important;}
  body.svaha-profilelike .svaha-profile-card img.alignright{float:right!important;margin:0 0 18px 24px!important;}
  body.svaha-profilelike .svaha-profile-card img.aligncenter{display:block!important;margin:0 auto 18px!important;}
  body.svaha-profilelike .svaha-profile-card::after{content:"";display:block;clear:both;}
}
@media (max-width:768px){
  body.svaha-profilelike .svaha-profile-card img.alignleft,
  body.svaha-profilelike .svaha-profile-card img.alignright,
  body.svaha-profilelike .svaha-profile-card img.aligncenter{float:none!important;display:block!important;margin:0 auto 14px!important;}
}

/* 77/79：メイン画像類に白フレーム＋影（Mutation寄せ） */
body.svaha-profilelike.svaha-pageid-77 .svaha-profile-card img.alignleft,
body.svaha-profilelike.svaha-pageid-77 .svaha-profile-card img.alignright,
body.svaha-profilelike.svaha-pageid-77 .svaha-profile-card img.aligncenter,
body.svaha-profilelike.svaha-pageid-79 .svaha-profile-card img.alignleft,
body.svaha-profilelike.svaha-pageid-79 .svaha-profile-card img.alignright,
body.svaha-profilelike.svaha-pageid-79 .svaha-profile-card img.aligncenter{
  border:6px solid #fff!important;
  box-shadow:0 10px 18px rgba(0,0,0,.18)!important;
}

/* wp-caption も回り込み対象 */
@media (min-width:769px){
  body.svaha-profilelike .svaha-profile-card .wp-caption.alignleft{float:left!important;margin:0 24px 18px 0!important;}
  body.svaha-profilelike .svaha-profile-card .wp-caption.alignright{float:right!important;margin:0 0 18px 24px!important;}
  body.svaha-profilelike .svaha-profile-card .wp-caption{max-width:100%!important;}
  body.svaha-profilelike .svaha-profile-card .wp-caption img{display:block!important;max-width:100%!important;height:auto!important;}
}
@media (max-width:768px){
  body.svaha-profilelike .svaha-profile-card .wp-caption.alignleft,
  body.svaha-profilelike .svaha-profile-card .wp-caption.alignright{float:none!important;display:block!important;margin:0 auto 14px!important;}
}

/* profilelike：本文下部のSNSアイコン（Mutation風の四角ボタン） */
body.svaha-profilelike .oi_post_share_icons{margin-top:22px!important}
body.svaha-profilelike .oi_post_share_icons .oi_soc_icons{display:flex!important;flex-wrap:wrap!important;gap:10px!important;}
body.svaha-profilelike .oi_post_share_icons .oi_soc_icons a{
  width:54px!important;height:54px!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(63,17,62,.35)!important;background:rgba(255,255,255,.22)!important;text-decoration:none!important;
  box-shadow:0 2px 0 rgba(0,0,0,.08)!important;line-height:1!important;padding:0!important;
}
body.svaha-profilelike .oi_post_share_icons .oi_soc_icons a:hover{background:rgba(255,255,255,.32)!important;}
body.svaha-profilelike .oi_post_share_icons .oi_soc_icons a,
body.svaha-profilelike .oi_post_share_icons .oi_soc_icons a i{color:#7b1fa2!important;}
body.svaha-profilelike .oi_post_share_icons .oi_soc_icons i{font-size:24px!important;line-height:1!important;transform:translateY(-1px)!important;}
body.svaha-profilelike .oi_post_share_icons .oi_soc_icons a span{display:block!important;margin:0!important;padding:0!important;line-height:1!important;}

/* はてな（span.icon-hatebu）を B! 表示に寄せる */
body.svaha-profilelike .oi_post_share_icons .oi_soc_icons .icon-hatebu{display:block!important;line-height:1!important;}
body.svaha-profilelike .oi_post_share_icons .oi_soc_icons .icon-hatebu::before{
  content:"B!"!important;font-weight:800!important;font-size:20px!important;display:block!important;line-height:1!important;transform:translateY(-1px)!important;
}

/* profile hero（is-light対策）：ヒーローh2は基本白。ただし黒運用ページは除外 */
body:not(.svaha-hero-text-black) .wp-block-cover.svaha-profile-hero.is-light .wp-block-cover__inner-container,
body:not(.svaha-hero-text-black) .wp-block-cover.svaha-profile-hero.is-light .wp-block-cover__inner-container *{color:#fff!important;text-shadow:none!important;}

/* ============================
   9) 右サイド：メニュー紹介 + SNS（移動済み想定）
============================ */
body.svaha-profilelike .svaha-profile-side .widget_link_list{
  background:#f3f3f3!important;border:1px solid rgba(255,255,255,.6)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.18)!important;padding:14px 14px 10px!important;border-radius:0!important
}
body.svaha-profilelike .svaha-profile-side .widget_link_list .sub-section-title{
  margin:0 0 10px!important;padding:0 0 8px!important;border-bottom:1px solid rgba(0,0,0,.12)!important
}
body.svaha-profilelike .svaha-profile-side .widget_link_list .sub-section-title a{color:#7b1fa2!important;font-weight:800!important;text-decoration:none!important}
body.svaha-profilelike .svaha-profile-side .widget_link_list ul{list-style:none!important;margin:0!important;padding:0!important}
body.svaha-profilelike .svaha-profile-side .widget_link_list li{margin:0!important;padding:0!important}
body.svaha-profilelike .svaha-profile-side .widget_link_list li>a{
  display:flex!important;gap:10px!important;align-items:center!important;
  padding:9px 10px!important;text-decoration:none!important;color:#333!important;
  border-bottom:1px solid rgba(0,0,0,.08)!important;border-radius:8px!important
}
body.svaha-profilelike .svaha-profile-side .widget_link_list li>a::before{
  content:"";width:8px;height:8px;border-radius:999px;border:2px solid rgba(0,0,0,.2);flex:0 0 8px
}
body.svaha-profilelike .svaha-profile-side .widget_link_list li.current_page_item>a,
body.svaha-profilelike .svaha-profile-side .widget_link_list li>a:hover{background:rgba(212,75,212,.14)!important;color:#7b1fa2!important}
body.svaha-profilelike .svaha-profile-side .widget_link_list li.current_page_item>a::before{border-color:#d44bd4!important;background:#d44bd4!important}
body.svaha-profilelike .svaha-profile-side .widget_link_list ul.children{
  margin:6px 0 10px 18px!important;padding:0!important;border-left:2px solid rgba(212,75,212,.22)!important
}
body.svaha-profilelike .svaha-profile-side .widget_link_list ul.children li>a{font-size:.95em!important;padding:8px 10px!important;border-bottom:1px solid rgba(0,0,0,.06)!important}
body.svaha-profilelike .svaha-profile-side .svaha-sns-box{background:transparent!important;border:0!important;box-shadow:none!important}

/* スマホ：サイドメニューの子階層開閉ボタン（JS側が付与する想定） */
@media (max-width:768px){
  body.svaha-profilelike .svaha-profile-side .widget_link_list li{position:relative!important;}
  body.svaha-profilelike .svaha-profile-side .widget_link_list li>a{padding-right:54px!important;}
  body.svaha-profilelike .svaha-profile-side .widget_link_list .svaha-acc-btn{
    position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;
    width:34px!important;height:34px!important;border-radius:999px!important;
    border:1px solid rgba(212,75,212,.35)!important;background:#fff!important;
    display:grid!important;place-items:center!important;cursor:pointer!important;
  }
  body.svaha-profilelike .svaha-profile-side .widget_link_list .svaha-acc-btn::before{content:"+";font-weight:900!important;font-size:18px!important;color:#d44bd4!important;line-height:1!important;}
  body.svaha-profilelike .svaha-profile-side .widget_link_list li.is-open>.svaha-acc-btn::before{content:"−";}
  body.svaha-profilelike .svaha-profile-side .widget_link_list .svaha-acc-panel{margin-top:6px!important;}
}

/* ============================
   10) PC：丸画像（乳幼児LABO / キッズアカデミー）横並び
============================ */
@media (min-width:769px){
  body.svaha-profilelike .svaha-profile-card h4.img_left{float:left!important;width:200px!important;margin:0 24px 14px 0!important}
  body.svaha-profilelike .svaha-profile-card h4.img_left a{display:block!important}
  body.svaha-profilelike .svaha-profile-card h4.img_left img{width:200px!important;height:200px!important;object-fit:cover!important;border-radius:999px!important;display:block!important}
  body.svaha-profilelike .svaha-profile-card h4.img_left + p{margin-top:6px!important}
  body.svaha-profilelike .svaha-profile-card hr{clear:both!important}
  body.svaha-profilelike .svaha-profile-card::after{content:"";display:block;clear:both}
}

/* ============================
   11) HOME：末尾1文字落ち回避
============================ */
@media (max-width:600px){
  body.home .entry-body > h3.wp-block-heading.has-text-align-center.vk_block-margin-lg--margin-top + p.has-text-align-center{font-size:0.99em;}
}

/* ============================
   12) page-id-12（メニュー紹介）スマホ：丸画像を中央＋見出しとの隙間を整える
============================ */
@media (max-width:768px){
  body.svaha-pageid-12 .svaha-profile-card h4.img_left{margin:18px 0 10px!important;text-align:center!important;}
  body.svaha-pageid-12 .svaha-profile-card h4.img_left img{display:block!important;margin:0 auto!important;width:min(200px,70vw)!important;height:auto!important;border-radius:999px!important;}
  body.svaha-pageid-12 .svaha-profile-card h4.padTop50{padding-top:0!important;margin:12px 0 8px!important;text-align:left!important;}
  body.svaha-pageid-12 .svaha-profile-card h4.img_left + h4{display:none!important;margin:0!important;padding:0!important;height:0!important;}
}

/* ============================
   13) 57（子宝ケア）スマホ：画像を中央揃え
============================ */
@media (max-width:768px){
  body.svaha-pageid-57 .svaha-profile-card h4.img_left{margin:18px 0 10px!important;text-align:center!important;}
  body.svaha-pageid-57 .svaha-profile-card h4.img_left img{display:block!important;margin:0 auto!important;width:min(200px,70vw)!important;height:auto!important;border-radius:999px!important;}
}

/* ============================
   14) imgBox：全ページ共通（profilelike内）
============================ */
body.svaha-profilelike .svaha-profile-card .imgBox{
  background:#fff!important;border-radius:26px!important;padding:22px 26px!important;margin:22px 0!important;
  box-shadow:0 10px 24px rgba(0,0,0,.14)!important;overflow:hidden!important;
  display:grid!important;grid-template-columns:112px 1fr!important;column-gap:24px!important;row-gap:8px!important;align-items:center!important;
}
body.svaha-profilelike .svaha-profile-card .imgBox>p{margin:0!important;min-width:0!important;}
body.svaha-profilelike .svaha-profile-card .imgBox>p:first-child{grid-column:1;grid-row:1 / span 2;}
body.svaha-profilelike .svaha-profile-card .imgBox>p:nth-child(2){grid-column:2;grid-row:1;margin-top:2px!important;}
body.svaha-profilelike .svaha-profile-card .imgBox>p:nth-child(3){
  grid-column:2;grid-row:2;margin-top:0!important;line-height:1.7!important;
  overflow-wrap:anywhere!important;word-break:break-word!important;
}
body.svaha-profilelike .svaha-profile-card .imgBox img{
  float:none!important;margin:0!important;width:112px!important;height:112px!important;aspect-ratio:1/1!important;
  max-width:none!important;object-fit:cover!important;border-radius:999px!important;display:block!important;
}
body.svaha-profilelike .svaha-profile-card .pink{color:#ff4fa1!important;font-weight:800!important;}

/* 「次へ」画像→三角に置換（profilelike内で共通） */
body.svaha-profilelike .svaha-profile-card p > img[alt="次へ"]{display:none!important;}
body.svaha-profilelike .svaha-profile-card p:has(> img[alt="次へ"]){margin:10px 0 14px!important;text-align:center!important;}
body.svaha-profilelike .svaha-profile-card p:has(> img[alt="次へ"])::after{
  content:"";display:inline-block;width:0;height:0;
  border-left:18px solid transparent;border-right:18px solid transparent;border-top:22px solid #ff4fa1;opacity:.9;
}

@media (max-width:768px){
  body.svaha-profilelike .svaha-profile-card .imgBox{
    grid-template-columns:88px 1fr!important;column-gap:16px!important;row-gap:6px!important;align-items:start!important;
    padding:18px 16px!important;
  }
  body.svaha-profilelike .svaha-profile-card .imgBox img{
    width:88px!important;height:88px!important;aspect-ratio:1/1!important;border-radius:999px!important;object-fit:cover!important;
  }
}

/* ============================
   15) フッター
============================ */
.site-footer .site-footer-title,.site-footer .widget-title{color:#fff!important;font-weight:700;letter-spacing:.02em;padding-bottom:12px;margin-bottom:18px;border-bottom:1px solid rgba(255,255,255,.25)}
.site-footer .widget_nav_menu .menu{margin:0;padding:0;list-style:none}
.site-footer .widget_nav_menu .menu>li>a{display:block;padding:10px 0 10px 18px;border-bottom:1px solid rgba(255,255,255,.18);color:#fff!important;text-decoration:none;position:relative}
.site-footer .widget_nav_menu .menu>li>a::before{content:"›";position:absolute;left:0;top:50%;transform:translateY(-50%);opacity:.9}
.site-footer .widget_nav_menu .menu li ul{margin:0;padding:0 0 0 14px;list-style:none}
.site-footer .widget_nav_menu .menu li ul a{display:block;padding:9px 0 9px 18px;border-bottom:1px solid rgba(255,255,255,.12);color:#fff!important;text-decoration:none;position:relative;font-size:.95em;opacity:.95}
.site-footer .widget_nav_menu .menu li ul a::before{content:"›";position:absolute;left:0;top:50%;transform:translateY(-50%);opacity:.85}
.site-footer-copyright{text-align:center;position:relative;border-top:1px solid rgba(255,255,255,.18);margin-top:24px;padding-top:28px}
.svaha-footer-logo{display:block;text-align:center;margin:0 auto 14px}
.svaha-footer-logo img{width:160px;height:auto;max-width:70vw;opacity:.95}

/* ============================
   16) pagetop
============================ */
.svaha-pagetop{
  position:fixed;right:22px;bottom:22px;width:56px;height:56px;display:none;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.22);background:linear-gradient(135deg, rgba(255,79,161,.92), rgba(106,27,106,.92));
  box-shadow:0 14px 30px rgba(0,0,0,.28);border-radius:999px;z-index:10040;cursor:pointer;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:transform .18s ease, box-shadow .18s ease, filter .18s ease
}
html.svaha-show-pagetop .svaha-pagetop{display:flex}
.svaha-pagetop:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(0,0,0,.34);filter:brightness(1.03)}
.svaha-pagetop:active{transform:translateY(0)}
.svaha-pagetop:focus-visible{outline:3px solid rgba(255,255,255,.65);outline-offset:3px}
.svaha-pagetop__arrow{width:14px;height:14px;border-top:3px solid rgba(255,255,255,.95);border-right:3px solid rgba(255,255,255,.95);transform:rotate(-45deg);margin-top:4px}
@media (max-width:768px){.svaha-pagetop{right:14px;bottom:14px;width:50px;height:50px}}
@media (prefers-reduced-motion:reduce){.svaha-pagetop{transition:none}}

/* ============================
   17) 69（マタニティケア）スマホ画像を中央揃え
============================ */
@media (max-width:768px){
  body.svaha-pageid-69 .svaha-profile-card h4.img_left{margin:18px 0 10px!important;text-align:center!important;}
  body.svaha-pageid-69 .svaha-profile-card h4.img_left img{display:block!important;margin:0 auto!important;width:min(200px,70vw)!important;height:auto!important;border-radius:999px!important;}
}

/* ============================
   18) [2column] 復元（83/85 含む profilelike）
============================ */
body.svaha-profilelike .svaha-2col-wrap{display:grid!important;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0!important;}
body.svaha-profilelike .svaha-2col-wrap p{margin:0!important;padding:0!important}
body.svaha-profilelike .svaha-2col-item{display:block}
body.svaha-profilelike .svaha-2col-wrap img{
  display:block!important;width:100%!important;height:auto!important;border:6px solid #fff!important;
  box-shadow:0 10px 18px rgba(0,0,0,.18)!important;
}
@media (max-width:768px){
  body.svaha-profilelike .svaha-2col-wrap{grid-template-columns:1fr!important;gap:14px!important}
}

/* 乳幼児LABO(83) / キッズアカデミー(85)：表をMutation風に */
body.svaha-pageid-83 .svaha-profile-card table,
body.svaha-pageid-85 .svaha-profile-card table{
  width:100%!important;border-collapse:separate!important;border-spacing:0!important;
  margin:18px 0!important;background:#fff!important;border:1px solid rgba(0,0,0,.12)!important;
}
body.svaha-pageid-83 .svaha-profile-card th,
body.svaha-pageid-83 .svaha-profile-card td,
body.svaha-pageid-85 .svaha-profile-card th,
body.svaha-pageid-85 .svaha-profile-card td{
  padding:14px 16px!important;border-bottom:1px solid rgba(0,0,0,.08)!important;color:#333!important;vertical-align:middle!important;
}
body.svaha-pageid-83 .svaha-profile-card th,
body.svaha-pageid-85 .svaha-profile-card th{
  background:#f3f3f3!important;width:140px!important;text-align:center!important;font-weight:800!important;
}
body.svaha-pageid-83 .svaha-profile-card tr:last-child th,
body.svaha-pageid-83 .svaha-profile-card tr:last-child td,
body.svaha-pageid-85 .svaha-profile-card tr:last-child th,
body.svaha-pageid-85 .svaha-profile-card tr:last-child td{border-bottom:0!important}

@media (max-width:768px){
  body.svaha-profilelike .svaha-profile-card figure.wp-block-image,
  body.svaha-profilelike .svaha-profile-card .wp-block-image{margin-left:auto!important;margin-right:auto!important;text-align:center!important;}
  body.svaha-profilelike .svaha-profile-card figure.wp-block-image img{margin-left:auto!important;margin-right:auto!important;display:block!important;}
}

@media (max-width:768px){
  body.svaha-profilelike.svaha-pageid-83 .svaha-profile-card h4.img_left,
  body.svaha-profilelike.svaha-pageid-85 .svaha-profile-card h4.img_left{
    float:none!important;
    width:auto!important;
    margin:18px 0 10px!important;
    text-align:center!important;
  }
  body.svaha-profilelike.svaha-pageid-83 .svaha-profile-card h4.img_left img,
  body.svaha-profilelike.svaha-pageid-85 .svaha-profile-card h4.img_left img{
    display:block!important;
    margin:0 auto!important;
    width:min(200px,70vw)!important;
    height:min(200px,70vw)!important;
    aspect-ratio:1/1!important;
    object-fit:cover!important;
    border-radius:999px!important;
  }
}

/* ============================
   19) 71（胎教ヨガ）：左画像をa1の矩形レイアウトに（回り込み落ち対策）
============================ */
@media (min-width:769px){
  body.svaha-profilelike.svaha-pageid-71 .svaha-profile-card h4.img_left{
    float:left!important;
    width:min(320px, 38%)!important;
    margin:0 28px 18px 0!important;
  }

  body.svaha-profilelike.svaha-pageid-71 .svaha-profile-card h4.img_left img{
    width:100%!important;
    height:auto!important;
    border-radius:0!important;
    object-fit:cover!important;
    border:0!important;
    box-shadow:none!important;
    margin:0!important;
    display:block!important;
  }

  body.svaha-profilelike.svaha-pageid-71 .svaha-profile-card h4.img_left + p{display:none!important;}

  body.svaha-profilelike.svaha-pageid-71 .svaha-profile-card h4.img_left ~ p{overflow:hidden!important;}

  body.svaha-profilelike.svaha-pageid-71 .svaha-profile-card h4.img_left + p + p{margin-top:0!important;}

  body.svaha-profilelike.svaha-pageid-71 .svaha-profile-card table.clears{clear:both!important;}
}

/* ============================
   20) 730（糸つなぎ＊糸かけ曼荼羅）：画像レイアウト最適化（仕上げ版）
============================ */
body.svaha-profilelike.svaha-pageid-730 .wp-block-cover.svaha-profile-hero .wp-block-cover__image-background{
  object-position:50% 50%!important;
}

/* バナー（821/913）：中央寄せ */
body.svaha-profilelike.svaha-pageid-730 .svaha-profile-card img.wp-image-821,
body.svaha-profilelike.svaha-pageid-730 .svaha-profile-card img.wp-image-913{
  float:none!important;
  display:block!important;
  margin:6px auto 12px!important;
  width:min(405px, 100%)!important;
  height:auto!important;
}

/* 上の丸画像2枚（736/735）：PCは横並び、スマホは縦 */
@media (min-width:769px){
  body.svaha-profilelike.svaha-pageid-730
  .svaha-profile-card p:has(> img.wp-image-736):has(> img.wp-image-735){
    overflow:hidden!important;
  }

  body.svaha-profilelike.svaha-pageid-730
  .svaha-profile-card p:has(> img.wp-image-736):has(> img.wp-image-735) img.wp-image-736,
  body.svaha-profilelike.svaha-pageid-730
  .svaha-profile-card p:has(> img.wp-image-736):has(> img.wp-image-735) img.wp-image-735{
    float:left!important;
    width:calc(50% - 10px)!important;
    max-width:280px!important;
    height:auto!important;
    margin:0 20px 14px 0!important;
  }

  body.svaha-profilelike.svaha-pageid-730
  .svaha-profile-card p:has(> img.wp-image-736):has(> img.wp-image-735) img.wp-image-735{
    margin-right:0!important;
  }

  body.svaha-profilelike.svaha-pageid-730
  .svaha-profile-card p:has(> img.wp-image-736):has(> img.wp-image-735) br{
    display:block!important;
    clear:both!important;
    margin-bottom:8px!important;
  }
}

@media (max-width:768px){
  body.svaha-profilelike.svaha-pageid-730 .svaha-profile-card img.wp-image-736,
  body.svaha-profilelike.svaha-pageid-730 .svaha-profile-card img.wp-image-735{
    display:block!important;
    float:none!important;
    margin:0 auto 14px!important;
    width:min(340px, 100%)!important;
    height:auto!important;
  }
}

/* ★kit画像2枚（876/879）：PC/SPとも「横2枚」を中央揃え固定 */
body.svaha-profilelike.svaha-pageid-730 .svaha-profile-card
p:has(img.wp-image-876):has(img.wp-image-879){
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  gap:clamp(10px, 3vw, 16px)!important;
  margin:0 auto 14px!important;
  padding:0!important;
  font-size:0!important;
  line-height:0!important;
}
body.svaha-profilelike.svaha-pageid-730 .svaha-profile-card
p:has(img.wp-image-876):has(img.wp-image-879) br{display:none!important;}

body.svaha-profilelike.svaha-pageid-730 .svaha-profile-card
p:has(img.wp-image-876):has(img.wp-image-879) > a{
  display:block!important;
  flex:0 0 auto!important;
}

body.svaha-profilelike.svaha-pageid-730 .svaha-profile-card img.wp-image-876,
body.svaha-profilelike.svaha-pageid-730 .svaha-profile-card img.wp-image-879{
  float:none!important;
  display:block!important;
  width:150px!important;
  max-width:min(42vw, 150px)!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  margin:0!important;
}

@media (max-width:360px){
  body.svaha-profilelike.svaha-pageid-730 .svaha-profile-card img.wp-image-876,
  body.svaha-profilelike.svaha-pageid-730 .svaha-profile-card img.wp-image-879{
    width:140px!important;
  }
}

/* ============================
   21) 826（糸つなぎ 生徒募集）：画像レイアウト最適化（FIX反映済み）
============================ */
body.svaha-profilelike.svaha-pageid-826 .svaha-profile-card p:has(> img.wp-image-834){
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  margin:14px 0 10px!important;
}

body.svaha-profilelike.svaha-pageid-826 .svaha-profile-card img.wp-image-834{
  width:300px!important;
  max-width:min(300px, 46%)!important;
  height:auto!important;
  border:6px solid rgba(121,32,119,.90)!important;
  box-shadow:0 10px 18px rgba(0,0,0,.18)!important;
  background:#fff!important;
  display:block!important;
  margin:0!important;
}

body.svaha-profilelike.svaha-pageid-826 .svaha-profile-card img.wp-image-836,
body.svaha-profilelike.svaha-pageid-826 .svaha-profile-card img.wp-image-821{
  float:none!important;
  display:block!important;
  margin:10px auto 14px!important;
  width:min(560px, 100%)!important;
  height:auto!important;
}

body.svaha-profilelike.svaha-pageid-826 .svaha-profile-card #attachment_759.wp-caption.alignleft{
  float:left!important;
  width:min(360px, 46%)!important;
  margin:6px 22px 14px 0!important;
  background:#fff!important;
  border:6px solid #fff!important;
  box-shadow:0 10px 18px rgba(0,0,0,.18)!important;
  box-sizing:border-box!important;
}

body.svaha-profilelike.svaha-pageid-826 .svaha-profile-card #attachment_759 .wp-caption-text{
  margin:8px 0 0!important;
  font-size:.95em!important;
  line-height:1.6!important;
  color:#333!important;
}

body.svaha-profilelike.svaha-pageid-826 .svaha-profile-card #attachment_759 ~ p{overflow:hidden!important;}

@media (max-width:768px){
  body.svaha-profilelike.svaha-pageid-826 .svaha-profile-card p:has(> img.wp-image-834){
    flex-direction:column!important;
    align-items:center!important;
    text-align:center!important;
    gap:10px!important;
  }

  body.svaha-profilelike.svaha-pageid-826 .svaha-profile-card img.wp-image-834{
    max-width:100%!important;
    width:min(320px, 100%)!important;
  }

  body.svaha-profilelike.svaha-pageid-826 .svaha-profile-card #attachment_759.wp-caption.alignleft{
    float:none!important;
    width:100%!important;
    margin:10px auto 14px!important;
  }
}

body.svaha-profilelike.svaha-pageid-826 .svaha-profile-card{overflow-wrap:anywhere!important;}
body.svaha-profilelike.svaha-pageid-826 .svaha-profile-card a{overflow-wrap:anywhere!important;word-break:break-all!important;}

/* ============================
   10) PC：丸画像（必要ページだけ） + プロフィール(14)は1カラム
============================ */

/* ▼丸サムネが必要なページだけ（14は除外） */
@media (min-width:769px){
  body.svaha-profilelike.svaha-pageid-12 .svaha-profile-card h4.img_left,
  body.svaha-profilelike.svaha-pageid-57 .svaha-profile-card h4.img_left,
  body.svaha-profilelike.svaha-pageid-69 .svaha-profile-card h4.img_left,
  body.svaha-profilelike.svaha-pageid-83 .svaha-profile-card h4.img_left,
  body.svaha-profilelike.svaha-pageid-85 .svaha-profile-card h4.img_left{
    float:left!important;width:200px!important;margin:0 24px 14px 0!important;
  }
  body.svaha-profilelike.svaha-pageid-12 .svaha-profile-card h4.img_left img,
  body.svaha-profilelike.svaha-pageid-57 .svaha-profile-card h4.img_left img,
  body.svaha-profilelike.svaha-pageid-69 .svaha-profile-card h4.img_left img,
  body.svaha-profilelike.svaha-pageid-83 .svaha-profile-card h4.img_left img,
  body.svaha-profilelike.svaha-pageid-85 .svaha-profile-card h4.img_left img{
    width:200px!important;height:200px!important;object-fit:cover!important;border-radius:999px!important;display:block!important;
  }
}

/* ▼プロフィール（page-id-14）：1カラムでバーン（回り込みも丸も無効） */
@media (min-width:769px){
  body.svaha-profilelike.svaha-pageid-14 .svaha-profile-card h4.img_left{
    float:none!important;width:100%!important;margin:0 0 16px!important;
  }
  body.svaha-profilelike.svaha-pageid-14 .svaha-profile-card h4.img_left img{
    float:none!important;width:100%!important;height:auto!important;max-width:100%!important;
    border-radius:0!important;object-fit:cover!important;
  }
  body.svaha-profilelike.svaha-pageid-14 .svaha-profile-card h4.img_left + p{margin-top:0!important;}
}

/* FIX: page-id-64（子宝ボディワーク）STEP見出しを復活して page-id-62 と同じ並びにする */
body.svaha-pageid-64 .svaha-profile-card .imgBox>p:nth-child(2){
  display:block!important;
  grid-column:2!important;
  grid-row:1!important;
  margin-top:2px!important;
}
body.svaha-pageid-64 .svaha-profile-card .imgBox>p:nth-child(3){
  grid-column:2!important;
  grid-row:2!important;
  margin-top:0!important;
  line-height:1.7!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}

/* ============================
   22) 75/81 スマホ：丸画像を中央揃え
============================ */
@media (max-width:768px){
  body.svaha-pageid-75 .svaha-profile-card h4.img_left,
  body.svaha-pageid-81 .svaha-profile-card h4.img_left{
    float:none!important;
    width:auto!important;
    margin:18px 0 10px!important;
    text-align:center!important;
  }
  body.svaha-pageid-75 .svaha-profile-card h4.img_left img,
  body.svaha-pageid-81 .svaha-profile-card h4.img_left img{
    display:block!important;
    margin:0 auto!important;
    width:min(200px,70vw)!important;
    height:min(200px,70vw)!important;
    aspect-ratio:1/1!important;
    object-fit:cover!important;
    border-radius:999px!important;
  }
}

/* ============================
   23) 🔍/☰ の初回ロード“丸枠→通常”を根絶
   - body直下にいる間は一切見せない（移動後にヘッダー側スタイルで表示）
============================ */
body > .svaha-search-btn,
body > .svaha-mobile-menu-btn{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* ============================
   24) img_left：デフォは矩形（新規ページはこれ）
   - 丸にしたいページIDだけ後で丸へ戻す
============================ */

/* デフォ：img_left内の画像は矩形に戻す */
@media (min-width:769px){
  body.svaha-profilelike .svaha-profile-card h4.img_left img{
    border-radius:0!important;
    width:100%!important;
    height:auto!important;
    object-fit:cover!important;
  }
}

/* 丸運用が必要な既存IDだけ：200x200丸に戻す（既存運用維持） */
@media (min-width:769px){
  body.svaha-profilelike.svaha-pageid-12 .svaha-profile-card h4.img_left img,
  body.svaha-profilelike.svaha-pageid-57 .svaha-profile-card h4.img_left img,
  body.svaha-profilelike.svaha-pageid-69 .svaha-profile-card h4.img_left img,
  body.svaha-profilelike.svaha-pageid-75 .svaha-profile-card h4.img_left img,
  body.svaha-profilelike.svaha-pageid-81 .svaha-profile-card h4.img_left img,
  body.svaha-profilelike.svaha-pageid-83 .svaha-profile-card h4.img_left img,
  body.svaha-profilelike.svaha-pageid-85 .svaha-profile-card h4.img_left img{
    width:200px!important;
    height:200px!important;
    border-radius:999px!important;
    object-fit:cover!important;
  }
}

/* page-id-24（予約・お問い合わせ）：スマホだけ本文の中央揃えを解除 */
@media (max-width:768px){
  body.svaha-pageid-24 .svaha-profile-card p,
  body.svaha-pageid-24 .svaha-profile-card div,
  body.svaha-pageid-24 .svaha-profile-card span{
    text-align:left !important;
  }

  /* Gutenberg の has-text-align-center を明示的に潰す */
  body.svaha-pageid-24 .svaha-profile-card .has-text-align-center{
    text-align:left !important;
  }

  /* 念のため：style属性でcenter指定されている要素も確実に左へ */
  body.svaha-pageid-24 .svaha-profile-card [style*="text-align: center"]{
    text-align:left !important;
  }
}

  /* 小さいデバイスの見出し調整 */
@media (max-width:480px){
  body.svaha-pageid-85 .svaha-profile-head,
  body.svaha-pageid-730 .svaha-profile-head{
    padding:0 44px!important;
  }

  body.svaha-pageid-85 .svaha-profile-head__text,
  body.svaha-pageid-730 .svaha-profile-head__text{
    white-space:nowrap!important;
    font-size:clamp(1.02rem,4.2vw,1.18rem)!important;
    letter-spacing:.01em!important;
  }
}



