@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* KMC article/category archive cards: start */
#body_wrap.category-column .p-postList__thumb,
#body_wrap.category-case .p-postList__thumb {
  display: none !important;
}
#body_wrap.category-column .p-postList,
#body_wrap.category-case .p-postList {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-left: 0;
}
#body_wrap.category-column .p-postList__item,
#body_wrap.category-case .p-postList__item {
  width: auto !important;
  margin: 0 !important;
}
#body_wrap.category-column .p-postList__link,
#body_wrap.category-case .p-postList__link {
  height: 100%;
  padding: 22px;
  border: 1px solid #dfe6ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 38, 63, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
#body_wrap.category-column .p-postList__link:hover,
#body_wrap.category-case .p-postList__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 38, 63, .10);
}
#body_wrap.category-column .p-postList__body,
#body_wrap.category-case .p-postList__body {
  padding: 0 !important;
}
#body_wrap.category-column .p-postList__title,
#body_wrap.category-case .p-postList__title {
  color: #10263f;
  font-size: 18px;
  line-height: 1.55;
}
#body_wrap.category-column .p-postList__excerpt,
#body_wrap.category-case .p-postList__excerpt {
  margin-top: 10px;
  color: #5f6f7e;
  line-height: 1.85;
}
@media (max-width: 640px) {
  #body_wrap.category-column .p-postList,
  #body_wrap.category-case .p-postList {
    grid-template-columns: 1fr;
  }
  #body_wrap.category-column .p-postList__link,
  #body_wrap.category-case .p-postList__link {
    padding: 18px;
  }
}
/* KMC article/category archive cards: end */

/* KMC contrast guardrails: start */
.kmc,.kmc-form-page,.kmc-post,body:has(.kmc__hero),body:has(.kmc__subhero),body:has(.kmc-post),body:has(.kmc-form-page){--ink:#10263f;--navy:#123a5c;--sea:#2f6f73;--sage:#edf4ef;--ivory:#faf7f0;--gold:#b58a45;--text:#243246;--muted:#6b7686;--line:#dfe6ea;--kmc-ink:#10263f;--kmc-body:#243246;--kmc-muted:#4e6070;--kmc-gold:#b58a45;--kmc-gold-bright:#f2d39a;--kmc-line:#dfe6ea;color:var(--kmc-body)}
.kmc :where(.kmc__hero,.kmc__subhero,.kmc__cta,.kmc__band,.kmc__band-content,.kmc__note-band,.kmc__fee-zero,.kmc__local-panel),
:where(.kmc__hero,.kmc__subhero,.kmc__cta,.kmc__band,.kmc__band-content,.kmc__note-band,.kmc__fee-zero,.kmc__local-panel),
.kmc-form-page .kmc-form-hero,
.kmc-post .kmc-post-cta{background-color:var(--kmc-ink);color:#fff}
.kmc :where(.kmc__hero,.kmc__subhero,.kmc__cta,.kmc__band,.kmc__band-content,.kmc__note-band,.kmc__fee-zero,.kmc__local-panel) :where(h1,h2,h3,h4,p,li,span,small,strong,b),
:where(.kmc__hero,.kmc__subhero,.kmc__cta,.kmc__band,.kmc__band-content,.kmc__note-band,.kmc__fee-zero,.kmc__local-panel) :where(h1,h2,h3,h4,p,li,span,small,strong,b),
.kmc-form-page .kmc-form-hero :where(h1,h2,h3,h4,p,span,strong,b),
.kmc-post .kmc-post-cta :where(h2,h3,p,a,strong,b){color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.18)}
.kmc :where(.kmc__hero,.kmc__subhero,.kmc__fee-zero,.kmc__local-panel) :where(.kmc__kicker,.kmc__eyebrow),
:where(.kmc__hero,.kmc__subhero,.kmc__fee-zero,.kmc__local-panel) :where(.kmc__kicker,.kmc__eyebrow),
.kmc-form-page .kmc-form-kicker{color:var(--kmc-gold-bright)!important;text-shadow:0 1px 2px rgba(0,0,0,.16)}
.kmc .kmc__fee-number strong,.kmc .kmc__fee-list b,.kmc__fee-number strong,.kmc__fee-list b{color:#d7ad63!important;text-shadow:none!important}
.kmc :where(.kmc__card,.kmc__mini-card,.kmc__area-card,.kmc__route-card,.kmc__step,.kmc__table,.kmc__notice,.kmc__fee-compare,.kmc__season-box,.kmc__season-list span,.kmc__diagnostic dl,.kmc__assurance span),
:where(.kmc__card,.kmc__mini-card,.kmc__area-card,.kmc__route-card,.kmc__step,.kmc__table,.kmc__notice,.kmc__fee-compare,.kmc__season-box,.kmc__season-list span,.kmc__diagnostic dl,.kmc__assurance span),
.kmc-form-page :where(.kmc-form-panel,.kmc-form-intro article,.kmc-form-note),
.kmc-post :where(.kmc-post-note,.kmc-post-summary div,.kmc-post-check,.kmc-post-faq){background-color:#fff;color:var(--kmc-body);text-shadow:none}
.kmc :where(.kmc__card,.kmc__mini-card,.kmc__area-card,.kmc__route-card,.kmc__step,.kmc__table,.kmc__notice,.kmc__fee-compare,.kmc__season-box,.kmc__season-list span,.kmc__diagnostic dl,.kmc__assurance span) :where(h2,h3,h4,strong,b,th,dt),
:where(.kmc__card,.kmc__mini-card,.kmc__area-card,.kmc__route-card,.kmc__step,.kmc__table,.kmc__notice,.kmc__fee-compare,.kmc__season-box,.kmc__season-list span,.kmc__diagnostic dl,.kmc__assurance span) :where(h2,h3,h4,strong,b,th,dt),
.kmc-form-page :where(.kmc-form-panel,.kmc-form-intro article,.kmc-form-note) :where(h2,h3,h4,strong,b,label,.kmc-label-row),
.kmc-post :where(.kmc-post-note,.kmc-post-summary div,.kmc-post-check,.kmc-post-faq) :where(h2,h3,h4,strong,b){color:var(--kmc-ink)!important;text-shadow:none!important}
.kmc :where(.kmc__card,.kmc__mini-card,.kmc__area-card,.kmc__route-card,.kmc__step,.kmc__table,.kmc__notice,.kmc__fee-compare,.kmc__season-box,.kmc__season-list span,.kmc__diagnostic dl,.kmc__assurance span) :where(p,li,small,td,dd),
:where(.kmc__card,.kmc__mini-card,.kmc__area-card,.kmc__route-card,.kmc__step,.kmc__table,.kmc__notice,.kmc__fee-compare,.kmc__season-box,.kmc__season-list span,.kmc__diagnostic dl,.kmc__assurance span) :where(p,li,small,td,dd),
.kmc-form-page :where(.kmc-form-panel,.kmc-form-intro article,.kmc-form-note) :where(p,small,.kmc-form-assist,.kmc-form-submit-note),
.kmc-post :where(.kmc-post-note,.kmc-post-summary div,.kmc-post-check,.kmc-post-faq) :where(p,li,small){color:var(--kmc-muted)!important;text-shadow:none!important}
.kmc a.kmc__card,a.kmc__card{background:#fff;color:var(--kmc-body)!important;text-shadow:none!important}
.kmc a.kmc__card :where(h2,h3,h4,strong,b),a.kmc__card :where(h2,h3,h4,strong,b){color:var(--kmc-ink)!important}
.kmc a.kmc__card :where(p,small,li),a.kmc__card :where(p,small,li){color:var(--kmc-muted)!important}
.kmc .kmc__pill,.kmc__pill{background:#fff!important;color:var(--kmc-ink)!important;border-color:var(--kmc-line)!important}
.kmc .kmc__actions .kmc__btn,.kmc .kmc__btn,.kmc__actions .kmc__btn,.kmc__btn{color:#fff!important;text-shadow:none!important}
.kmc .kmc__actions a.kmc__btn.kmc__btn--primary,.kmc a.kmc__btn.kmc__btn--primary,.kmc .kmc__btn.kmc__btn--primary,.kmc__actions a.kmc__btn.kmc__btn--primary,a.kmc__btn.kmc__btn--primary,.kmc__btn.kmc__btn--primary,.kmc-form-page .kmc-form-submit{background:#b58a45!important;background-color:#b58a45!important;background-image:none!important;color:#10263f!important;border-color:#b58a45!important;text-shadow:none!important;box-shadow:0 10px 24px rgba(0,0,0,.22)!important;opacity:1!important;filter:none!important}
.kmc .kmc__actions .kmc__btn--primary :where(span,strong,b),.kmc .kmc__btn.kmc__btn--primary :where(span,strong,b){color:var(--kmc-ink)!important;text-shadow:none!important}
.kmc :where(.kmc__hero,.kmc__subhero,.kmc__cta,.kmc__fee-zero,.kmc__local-panel) .kmc__btn:not(.kmc__btn--primary),:where(.kmc__hero,.kmc__subhero,.kmc__cta,.kmc__fee-zero,.kmc__local-panel) .kmc__btn:not(.kmc__btn--primary){background:#fff!important;color:var(--kmc-ink)!important;border-color:#fff!important;text-shadow:none!important}
.kmc .kmc__mobile-bar a:first-child,.kmc__mobile-bar a:first-child{background:var(--kmc-ink)!important;color:#fff!important}
.kmc .kmc__mobile-bar a:last-child,.kmc__mobile-bar a:last-child{background:var(--kmc-gold)!important;color:var(--kmc-ink)!important}
.kmc-form-page .kmc-contact-form :where(input,select,textarea){background:#fff!important;color:var(--kmc-body)!important;border-color:#cad5dc!important;text-shadow:none!important}
.kmc-form-page .kmc-contact-form ::placeholder{color:#7b8a96!important;opacity:1}
.kmc-form-page .kmc-tag{background:#fff0de!important;color:#7a4c00!important}
.kmc-form-page .kmc-tag--optional{background:#e8f0f1!important;color:#36545a!important}
.kmc-post :where(h1,h2,h3,h4){color:var(--kmc-ink)!important}
.kmc-post :where(h1,h2,h3,h4):not(.kmc-post-cta :where(h1,h2,h3,h4)){background:transparent!important;background-image:none!important;border-color:var(--kmc-line)!important;box-shadow:none!important;text-shadow:none!important}
.kmc-post :where(h1,h2,h3,h4):before,.kmc-post :where(h1,h2,h3,h4):after{display:none!important;content:none!important}
.kmc-post .kmc-post-cta :where(h1,h2,h3,h4){background:transparent!important;background-image:none!important;color:#fff!important}
.kmc-post :where(p,li){color:var(--kmc-body)!important}
@media (forced-colors:active){.kmc *,.kmc-form-page *,.kmc-post *{text-shadow:none!important}}
/* KMC contrast guardrails: end */

/* KMC accessibility enhancements: start */
.kmc-skip-link{position:fixed;left:16px;top:16px;z-index:99999;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:8px;background:#10263f;color:#fff!important;font-weight:900;text-decoration:none;transform:translateY(-150%);transition:transform .16s ease;box-shadow:0 12px 28px rgba(0,0,0,.28)}
.kmc-skip-link:focus,.kmc-skip-link:focus-visible{transform:translateY(0);outline:3px solid #f2d39a;outline-offset:3px}
#main_content:focus{outline:0}
:where(.kmc,.kmc-form-page,.kmc-post) :where(a,button,input,select,textarea,[tabindex]):focus-visible,.kmc-skip-link:focus-visible{outline:3px solid #f2d39a!important;outline-offset:3px!important;box-shadow:0 0 0 5px rgba(16,38,63,.28)!important}
:where(.kmc,.kmc-form-page,.kmc-post) :where(input,select,textarea):focus-visible{border-color:#10263f!important}
.kmc-form-error-summary{margin:0 0 14px;padding:12px 14px;border-radius:8px;background:#fff0f0;color:#8a2e2e;font-weight:900}
.kmc-form-error-summary[hidden]{display:none!important}
.kmc-contact-form :where(input,select,textarea)[aria-invalid="true"]{border-color:#b42318!important;box-shadow:0 0 0 4px rgba(180,35,24,.16)!important}
.kmc-contact-form :where(input,select,textarea)[aria-invalid="true"]:focus-visible{outline-color:#b42318!important}
.kmc__menu-toggle{min-width:44px;min-height:44px}
.kmc :where(.kmc__btn,.kmc__nav-cta),.kmc-form-submit{min-height:44px}
@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto!important}.kmc *,.kmc-form-page *,.kmc-post *,.kmc-skip-link{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
@media (forced-colors:active){.kmc-skip-link,:where(.kmc,.kmc-form-page,.kmc-post) :where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid CanvasText!important;box-shadow:none!important}}
/* KMC accessibility enhancements: end */

/* KMC legal form notices: start */
.kmc-form-legal-note{margin:18px 0 10px;padding:14px 16px;border-radius:8px;background:#fffaf0;border:1px solid #ead7aa;color:#334b5d;font-size:14px;line-height:1.75}
.kmc-form-legal-note a,.kmc-form-privacy a{color:#10263f;font-weight:900;text-decoration:underline;text-underline-offset:3px}
.kmc-form-privacy-link{margin:0 2px}
/* KMC legal form notices: end */

/* KMC header/footer polish: start */
body .l-header,body #fix_header,body .l-footer,body #post_slider,body .p-postSlider,body .p-pickupBanners{display:none!important}
body.home #content{padding-top:0!important}
.kmc-shell-wrap{width:min(1180px,calc(100% - 48px));margin:0 auto}
.kmc-shell-header{position:sticky;top:0;z-index:60;background:#fff;color:#10263f;font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;box-shadow:0 10px 34px rgba(16,38,63,.12)}
.admin-bar .kmc-shell-header{top:32px}
.kmc-shell-top{background:#0b1e33;color:#fff;border-bottom:1px solid rgba(255,255,255,.14);font-size:12px;font-weight:800}
.kmc-shell-top .kmc-shell-wrap{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.kmc-shell-top p{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0;color:#fff}
.kmc-shell-top strong{color:#f2d39a}
.kmc-shell-top a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.45)}
.kmc-shell-nav{background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(16,38,63,.10)}
.kmc-shell-nav-inner{min-height:78px;display:grid;grid-template-columns:minmax(230px,310px) 1fr;align-items:center;gap:18px;position:relative}
.kmc-shell-brand{display:grid;grid-template-columns:1fr;gap:5px;align-items:center;text-decoration:none;color:#10263f;line-height:1.2}
.kmc-shell-brand img{display:block;width:min(300px,100%);height:auto}
.kmc-shell-brand span{font-size:11px;font-weight:900;color:#2f6f73}
.kmc-shell-links{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;font-size:13px;font-weight:900}
.kmc-shell-links a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 10px;border-radius:8px;color:#10263f;text-decoration:none;transition:background-color .18s ease,color .18s ease,transform .18s ease}
.kmc-shell-links a:hover,.kmc-shell-links a:focus-visible,.kmc-shell-links a[aria-current="page"]{background:#edf4ef;color:#0b1e33;transform:translateY(-1px)}
.kmc-shell-links .kmc-shell-cta,.kmc-shell-cta{background:#b58a45!important;color:#10263f!important;border:1px solid #d9bf86;font-weight:900;box-shadow:0 9px 22px rgba(181,138,69,.22)}
.kmc-shell-toggle{display:none;width:46px;height:46px;border:1px solid #10263f;border-radius:8px;background:#10263f;color:#fff;align-items:center;justify-content:center}
.kmc-shell-toggle span,.kmc-shell-toggle span:before,.kmc-shell-toggle span:after{display:block;width:20px;height:2px;border-radius:2px;background:#fff;content:"";position:relative}
.kmc-shell-toggle span:before{position:absolute;top:-7px}.kmc-shell-toggle span:after{position:absolute;top:7px}
.kmc-shell-footer{background:#0b1e33;color:#dbe5ef;font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;padding:42px 0 94px;position:relative}
.kmc-shell-footer:before,.kmc__footer:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#b58a45,#2f6f73,#f2d39a)}
.kmc-shell-footer-cta{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;margin-bottom:34px;padding:28px 0;border-bottom:1px solid rgba(255,255,255,.16)}
.kmc-shell-kicker,.kmc__footer-kicker{margin:0 0 8px;color:#f2d39a;font-size:12px;font-weight:900;letter-spacing:0}
.kmc-shell-footer h2,.kmc-shell-footer h3,.kmc-shell-footer p,.kmc-shell-footer a{color:inherit}
.kmc-shell-footer-cta h2{margin:0;color:#fff;font-size:25px;line-height:1.45}
.kmc-shell-footer-cta p{max-width:760px;margin:10px 0 0;color:#dbe5ef}
.kmc-shell-footer-actions,.kmc__footer-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.kmc-shell-btn,.kmc__footer-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 16px;border-radius:8px;border:1px solid rgba(255,255,255,.32);color:#fff!important;text-decoration:none;font-weight:900}
.kmc-shell-btn-primary,.kmc__footer-btn-primary{background:#b58a45;border-color:#b58a45;color:#10263f!important}
.kmc-shell-footer-grid{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:28px}
.kmc-shell-footer h2,.kmc-shell-footer h3{margin:0 0 12px;color:#fff;font-size:17px}
.kmc-shell-footer p,.kmc-shell-footer li,.kmc-shell-footer a{font-size:14px;line-height:1.8}
.kmc-shell-footer ul{margin:0;padding-left:1.05em}
.kmc-shell-footer a{text-decoration:none}
.kmc-shell-footer a:hover,.kmc-shell-footer a:focus-visible,.kmc__footer a:hover,.kmc__footer a:focus-visible{text-decoration:underline;text-underline-offset:4px}
.kmc-shell-operated{margin-top:14px;color:#b8c7d8!important}
.kmc-shell-footer-bottom,.kmc__footer-bottom{display:flex;justify-content:space-between;gap:16px;margin-top:32px;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);color:#b8c7d8}
.kmc-shell-footer-bottom p,.kmc__footer-bottom p{margin:0;font-size:12px!important;color:#b8c7d8!important}
.kmc-shell-mobile-bar{display:none}
.kmc__topline{background:#0b1e33!important;color:#fff!important;border-bottom:1px solid rgba(255,255,255,.14);box-shadow:inset 0 -1px rgba(255,255,255,.06)}
.kmc__topline .kmc__wrap{min-height:36px!important}
.kmc__topline b{color:#f2d39a!important}
.kmc__nav{z-index:55!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(16px);box-shadow:0 12px 30px rgba(16,38,63,.11);border-top:3px solid #b58a45;border-bottom:1px solid rgba(16,38,63,.10)!important}
.kmc__nav-inner{min-height:78px!important;display:grid!important;grid-template-columns:minmax(230px,300px) 1fr!important;align-items:center!important;gap:18px!important}
.kmc__brand--image{min-width:0!important}
.kmc__brand-img{width:min(300px,100%)!important}
.kmc__links{justify-content:flex-end!important;gap:6px!important;font-size:13px!important;white-space:normal!important}
.kmc__links a{display:inline-flex!important;align-items:center;justify-content:center;min-height:38px;padding:7px 10px!important;border:0!important;border-radius:8px;color:#10263f!important;text-decoration:none!important}
.kmc__links a:hover,.kmc__links a:focus-visible,.kmc__links a[aria-current="page"]{background:#edf4ef!important;color:#0b1e33!important}
.kmc__links .kmc__nav-cta{background:#b58a45!important;border:1px solid #d9bf86!important;color:#10263f!important;box-shadow:0 9px 22px rgba(181,138,69,.22)}
.kmc__nav-proof{display:flex;align-items:center;justify-content:center;gap:10px;min-height:34px;padding:5px 20px;background:#f7faf9;border-top:1px solid #dfe6ea;color:#334b5d;font-size:12px;font-weight:900}
.kmc__nav-proof span{display:inline-flex;align-items:center;gap:5px}.kmc__nav-proof b{color:#b58a45}
.kmc__footer{position:relative!important;background:#0b1e33!important;color:#dbe5ef!important;padding-top:42px!important}
.kmc__footer-hero{width:min(1120px,calc(100% - 48px));margin:0 auto 34px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.16)}
.kmc__footer-hero h2{margin:0;color:#fff!important;font-size:25px!important;line-height:1.45}
.kmc__footer-hero p{max-width:760px;margin:10px 0 0;color:#dbe5ef!important}
.kmc__footer-grid{gap:28px!important}
.kmc__footer h2,.kmc__footer h3{color:#fff!important}
.kmc__footer p,.kmc__footer li,.kmc__footer a{color:#dbe5ef!important;line-height:1.8}
.kmc__mobile-bar a,.kmc-shell-mobile-bar a{min-height:56px}
@media(max-width:1050px){.kmc-shell-nav-inner,.kmc__nav-inner{grid-template-columns:minmax(210px,260px) 1fr!important}.kmc-shell-links,.kmc__links{font-size:12px!important}.kmc-shell-links a,.kmc__links a{padding:7px 8px!important}.kmc__nav-proof{display:none}}
@media(max-width:900px){.admin-bar .kmc-shell-header{top:46px}.kmc-shell-wrap{width:min(100%,calc(100% - 32px))}.kmc-shell-top .kmc-shell-wrap{justify-content:center;text-align:center}.kmc-shell-top a,.kmc-shell-top span:nth-child(n+3){display:none}.kmc-shell-nav-inner,.kmc__nav-inner{display:flex!important;min-height:66px!important;padding:10px 0!important;gap:12px!important}.kmc-shell-brand,.kmc__brand--image{flex:1;min-width:0}.kmc-shell-brand img,.kmc__brand-img{width:min(250px,calc(100vw - 112px))!important}.kmc-shell-brand span{display:none}.kmc-shell-toggle,.kmc__menu-toggle{display:inline-flex!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;flex:0 0 46px;background:#10263f!important;border-color:#10263f!important}.kmc__menu-toggle span{background:#fff!important;box-shadow:0 6px 0 #fff,0 -6px 0 #fff!important}.kmc-shell-links,.kmc__links{display:none!important;position:absolute!important;left:0!important;right:0!important;top:100%!important;width:100%!important;padding:12px!important;border:1px solid #dfe6ea!important;border-radius:8px!important;background:#fff!important;box-shadow:0 18px 38px rgba(16,38,63,.18)!important;z-index:70!important}.kmc-shell-header.is-open .kmc-shell-links,.kmc__nav.is-open .kmc__links{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.kmc-shell-links a,.kmc__links a{min-height:46px!important;border:1px solid #dfe6ea!important;background:#f8fbfb!important;text-align:center!important}.kmc-shell-links .kmc-shell-cta,.kmc-shell-cta,.kmc__links .kmc__nav-cta{grid-column:1/-1!important;background:#10263f!important;color:#fff!important;border-color:#10263f!important}.kmc-shell-footer-cta,.kmc-shell-footer-grid,.kmc__footer-hero,.kmc__footer-grid{grid-template-columns:1fr!important}.kmc-shell-footer-actions,.kmc__footer-actions{justify-content:flex-start}.kmc-shell-footer-bottom,.kmc__footer-bottom{display:block}.kmc-shell-footer-bottom p+ p,.kmc__footer-bottom p+ p{margin-top:8px}.kmc-shell-mobile-bar{position:fixed;left:0;right:0;bottom:0;z-index:80;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 -10px 30px rgba(16,38,63,.18)}.kmc-shell-mobile-bar a{display:flex;align-items:center;justify-content:center;padding:12px 8px;background:#10263f;color:#fff!important;font-weight:900;text-decoration:none}.kmc-shell-mobile-bar a+ a{background:#b58a45;color:#10263f!important}}
@media(max-width:620px){.kmc-shell-top{font-size:11px}.kmc-shell-top p{gap:8px}.kmc-shell-brand img,.kmc__brand-img{width:min(230px,calc(100vw - 104px))!important}.kmc-shell-header.is-open .kmc-shell-links,.kmc__nav.is-open .kmc__links{grid-template-columns:1fr!important}.kmc-shell-footer,.kmc__footer{padding-bottom:116px!important}.kmc-shell-footer-cta h2,.kmc__footer-hero h2{font-size:21px!important}.kmc__footer-hero{width:min(100%,calc(100% - 32px))}}
@media (prefers-reduced-motion:reduce){.kmc-shell-links a,.kmc__links a{transition:none!important;transform:none!important}}
/* KMC header/footer polish: end */

/* KMC text/button contrast tightening: start */
.kmc{--muted:#536273}
.kmc__section--sage .kmc__lead,
.kmc__section--sage .kmc__card p,
.kmc__section--sage .kmc__card li,
.kmc__section--ivory .kmc__lead{color:#334b5d!important}
.kmc__subhero,
.kmc__fee-zero,
.kmc__fee-main,
.kmc__local-panel,
.kmc__note-band,
.kmc__band-content{background-color:#10263f!important}
.kmc__note-band,
.kmc__band-content{background-image:linear-gradient(135deg,#10263f,#2f6f73)!important}
.kmc__fee-zero :where(h1,h2,h3,p,span,small,strong),
.kmc__fee-main :where(h1,h2,h3,p,span,small,strong),
.kmc__local-panel :where(h1,h2,h3,p,span,small,strong),
.kmc__note-band :where(h1,h2,h3,p,span,small,strong){color:#fff!important}
.kmc .kmc__card .kmc__actions .kmc__btn,
.kmc .kmc__section .kmc__card .kmc__btn:not(.kmc__btn--primary),
.kmc .kmc__contact-chooser .kmc__btn:not(.kmc__btn--primary){background:#10263f!important;border-color:#10263f!important;color:#fff!important}
.kmc .kmc__card .kmc__actions .kmc__btn--primary,
.kmc .kmc__section .kmc__card .kmc__btn--primary,
.kmc .kmc__contact-chooser .kmc__btn--primary,
.kmc__footer .kmc__footer-btn-primary,
.kmc-shell-footer .kmc-shell-btn-primary{background:#b58a45!important;border-color:#b58a45!important;color:#10263f!important}
.kmc__footer .kmc__footer-btn:not(.kmc__footer-btn-primary),
.kmc-shell-footer .kmc-shell-btn:not(.kmc-shell-btn-primary){background:transparent!important;border-color:rgba(255,255,255,.46)!important;color:#fff!important}
.c-pagination .page-numbers,
.page-numbers{background:#10263f!important;color:#fff!important;border:1px solid #10263f!important}
.c-pagination .page-numbers.current,
.page-numbers.current{background:#b58a45!important;border-color:#b58a45!important;color:#10263f!important}
.kmc-shell-links .kmc-shell-cta,
.kmc__links .kmc__nav-cta,
.kmc-form-submit,
.kmc__mobile-bar a+ a,
.kmc-shell-mobile-bar a+ a{background:#b58a45!important;color:#10263f!important}
.kmc__mobile-bar a:first-child,
.kmc-shell-mobile-bar a:first-child{background:#10263f!important;color:#fff!important}
.kmc :where(a,button,.kmc__btn,.kmc__nav-cta,.kmc-form-submit,.kmc__footer-btn):focus-visible,
.kmc-shell-header :where(a,button):focus-visible,
.kmc-shell-footer :where(a,button):focus-visible{outline:3px solid #f2d39a!important;outline-offset:3px!important}
/* KMC text/button contrast tightening: end */

/* KMC sitewide spacing polish: start */
html body:has(.kmc__nav) :where(.c-pageTitle,.p-articleHead,.p-breadcrumb),
html body:has(.kmc-form-page) :where(.c-pageTitle,.p-articleHead,.p-breadcrumb),
html body:has(.kmc-post) :where(.c-pageTitle,.p-articleHead){display:none!important}

html body:has(.kmc__nav) :where(#content,.l-content,.l-mainContent,.post_content),
html body:has(.kmc-form-page) :where(#content,.l-content,.l-mainContent,.post_content),
html body:has(.kmc-post) :where(#content,.l-content,.l-mainContent,.post_content){margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important}

html body:has(.kmc__nav) :where(.l-content,.l-mainContent,.post_content),
html body:has(.kmc-form-page) :where(.l-content,.l-mainContent,.post_content),
html body:has(.kmc-post) :where(.l-content,.l-mainContent,.post_content){max-width:none!important;width:100%!important}

html body:has(.kmc-shell-header) .l-sidebar,
html body:has(.kmc-form-page) .l-sidebar,
html body:has(.kmc-post) .l-sidebar,
html body:has(.kmc__nav) .l-sidebar{display:none!important}

html body:has(.kmc-shell-header) .l-content{display:block!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
html body:has(.kmc-shell-header):not(:has(.kmc-form-page)):not(:has(.kmc-post)) .l-mainContent{width:min(1120px,calc(100% - 48px))!important;max-width:1120px!important;margin:0 auto!important;padding-top:34px!important;padding-bottom:38px!important}
html body:has(.kmc-shell-header):not(:has(.kmc-form-page)):not(:has(.kmc-post)) .p-archiveHead{margin-top:0!important;margin-bottom:24px!important}
html body:has(.kmc-shell-header):not(:has(.kmc-form-page)):not(:has(.kmc-post)) .p-postList{margin-bottom:0!important}

html body:has(.kmc-form-page) .l-mainContent,
html body:has(.kmc-form-page) .post_content,
html body:has(.kmc-form-page) .post_content>*{max-width:none!important;width:100%!important}
html body:has(.kmc-form-page) .kmc-form-page{margin:0!important}
html body:has(.kmc-form-page) .kmc-form-hero{padding-top:46px!important;padding-bottom:32px!important}
html body:has(.kmc-form-page) .kmc-form-section{padding-top:34px!important;padding-bottom:46px!important}

html body .kmc__subhero + .kmc__section{padding-top:58px!important}
html body .kmc__subhero + .kmc__section .kmc__split{align-items:start!important}
html body .kmc__section:first-child{margin-top:0!important}
html body .kmc__footer{margin-top:0!important}

html body:has(.kmc-post) .l-content{display:block!important}
html body:has(.kmc-post) .l-mainContent{width:min(980px,calc(100% - 48px))!important;max-width:980px!important;margin:0 auto!important}
html body:has(.kmc-post) .kmc-post{margin-bottom:38px!important}
html body:has(.kmc-post) .p-authorBox{display:none!important}
html body:has(.kmc-post) :where(.p-relatedPosts,.c-commentArea){width:min(900px,100%)!important;max-width:900px!important;margin:36px auto!important}
html body:has(.kmc-post) .p-relatedPosts + .c-commentArea{margin-top:28px!important}
html body:has(.kmc-post) .kmc-shell-footer{margin-top:0!important}

@media(max-width:720px){
  html body:has(.kmc-shell-header):not(:has(.kmc-form-page)):not(:has(.kmc-post)) .l-mainContent{width:min(100%,calc(100% - 30px))!important;padding-top:24px!important;padding-bottom:30px!important}
  html body:has(.kmc-form-page) .kmc-form-hero{padding-top:34px!important;padding-bottom:24px!important}
  html body:has(.kmc-form-page) .kmc-form-section{padding-top:26px!important;padding-bottom:36px!important}
  html body .kmc__subhero{padding-top:58px!important;padding-bottom:44px!important}
  html body .kmc__subhero + .kmc__section{padding-top:42px!important}
  html body:has(.kmc-post) .l-mainContent{width:min(100%,calc(100% - 28px))!important}
  html body:has(.kmc-post) :where(.p-relatedPosts,.c-commentArea){margin:28px auto!important}
}
/* KMC sitewide spacing polish: end */

/* KMC readability overlap guard: start */
html{scroll-padding-top:140px;scroll-padding-bottom:88px}
body:has(.kmc),body:has(.kmc-shell-header),body:has(.kmc-form-page),body:has(.kmc-post){overflow-x:hidden}
.kmc__nav,.kmc-shell-header,.kmc-shell-nav{background:#fff!important;backdrop-filter:none!important}
.kmc__topline,.kmc-shell-top{background:#0b1e33!important;color:#fff!important}
.kmc__nav,.kmc-shell-header{box-shadow:0 10px 28px rgba(16,38,63,.10)!important}
.kmc,.kmc-form-page,.kmc-post,.kmc-shell-header,.kmc-shell-footer{overflow-wrap:break-word;word-break:normal}
.kmc :where(h1,h2,h3,h4,p,li,a,button,small,strong,span,dt,dd,th,td),
.kmc-form-page :where(h1,h2,h3,h4,p,li,a,button,label,small,strong,span,input,select,textarea),
.kmc-post :where(h1,h2,h3,h4,p,li,a,small,strong,span),
.kmc-shell-header :where(a,p,span,strong),
.kmc-shell-footer :where(a,p,span,strong,li){overflow-wrap:anywhere;word-break:normal}
.kmc :where(.kmc__btn,.kmc__nav-cta,.kmc__mobile-bar a,.kmc__floating-consult a),
.kmc-form-page :where(.kmc-form-submit),
.kmc-shell-header :where(.kmc-shell-cta),
.kmc-shell-mobile-bar a{white-space:normal;text-align:center;line-height:1.35}
.kmc__brand--image,.kmc-shell-brand{background-image:url("https://kamakura-ma-center.jp/wp-content/uploads/2026/05/kamakura-ma-speed-logo-nav.png");background-repeat:no-repeat;background-position:left center}
.kmc__brand--image{background-size:contain}
.kmc-shell-brand{background-size:auto 72px}
.kmc__brand--image .kmc__brand-img,.kmc-shell-brand img{opacity:0!important}
.kmc__hero:before{content:"";position:absolute;inset:0;z-index:0;background:url("https://kamakura-ma-center.jp/wp-content/uploads/2026/05/kamakura-ma-speed-hero.jpg") center/cover no-repeat;animation:kmcKen 18s ease-out forwards}
.kmc__hero-img{opacity:0!important}
.kmc__detail-media:has(img[src*="kamakura-ma-speed-detail-valuation"]),
.kmc__detail-media:has(img[data-src*="kamakura-ma-speed-detail-valuation"]),
.kmc__media:has(img[src*="kamakura-ma-speed-detail-valuation"]),
.kmc__media:has(img[data-src*="kamakura-ma-speed-detail-valuation"]),
.kmc__photo:has(img[src*="kamakura-ma-speed-detail-valuation"]),
.kmc__photo:has(img[data-src*="kamakura-ma-speed-detail-valuation"]){background-image:url("https://kamakura-ma-center.jp/wp-content/uploads/2026/05/kamakura-ma-speed-detail-valuation.jpg");background-size:cover;background-position:center}
.kmc__detail-media:has(img[src*="kamakura-ma-speed-detail-consultation"]),
.kmc__detail-media:has(img[data-src*="kamakura-ma-speed-detail-consultation"]),
.kmc__photo:has(img[src*="kamakura-ma-speed-detail-consultation"]),
.kmc__photo:has(img[data-src*="kamakura-ma-speed-detail-consultation"]){background-image:url("https://kamakura-ma-center.jp/wp-content/uploads/2026/05/kamakura-ma-speed-detail-consultation.jpg");background-size:cover;background-position:center}
.kmc__detail-media img.lazyload:not(.lazyloaded),
.kmc__detail-media img.lazyloading,
.kmc__media img.lazyload:not(.lazyloaded),
.kmc__media img.lazyloading,
.kmc__photo img.lazyload:not(.lazyloaded),
.kmc__photo img.lazyloading,
.kmc__detail-media:has(img[src*="kamakura-ma-speed-detail-valuation"]) img,
.kmc__detail-media:has(img[data-src*="kamakura-ma-speed-detail-valuation"]) img,
.kmc__media:has(img[src*="kamakura-ma-speed-detail-valuation"]) img,
.kmc__media:has(img[data-src*="kamakura-ma-speed-detail-valuation"]) img,
.kmc__photo:has(img[src*="kamakura-ma-speed-detail-valuation"]) img,
.kmc__photo:has(img[data-src*="kamakura-ma-speed-detail-valuation"]) img,
.kmc__detail-media:has(img[src*="kamakura-ma-speed-detail-consultation"]) img,
.kmc__detail-media:has(img[data-src*="kamakura-ma-speed-detail-consultation"]) img,
.kmc__photo:has(img[src*="kamakura-ma-speed-detail-consultation"]) img,
.kmc__photo:has(img[data-src*="kamakura-ma-speed-detail-consultation"]) img{opacity:0!important}
.kmc__detail-media img.lazyloaded,
.kmc__media img.lazyloaded,
.kmc__photo img.lazyloaded{opacity:1!important}

@media(max-width:900px){
  html{scroll-padding-top:124px;scroll-padding-bottom:92px}
  body:has(.kmc__mobile-bar),body:has(.kmc-shell-mobile-bar){padding-bottom:0!important}
  .kmc__footer,.kmc-shell-footer{padding-bottom:72px!important}
  .kmc__mobile-bar,.kmc-shell-mobile-bar{position:static!important;min-height:56px;padding-bottom:env(safe-area-inset-bottom);background:#0b1e33;box-shadow:none!important}
  .kmc__mobile-bar a,.kmc-shell-mobile-bar a{min-height:56px;padding:10px 8px!important}
  .kmc__floating-consult{display:none!important}
}
@media(max-width:620px){
  html{scroll-padding-top:116px}
  .kmc__hero .kmc__trust-row{display:none!important}
  .kmc__hero-copy{padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}
  .kmc__hero h1{font-size:clamp(30px,9vw,36px)!important}
  .kmc__hero-lead{font-size:15.5px!important;line-height:1.78!important}
  .kmc__actions{gap:10px!important}
  .kmc__actions .kmc__btn{width:100%;min-height:52px}
  .kmc-form-privacy{padding-bottom:14px!important}
}
@media(max-width:390px){
  .kmc__brand--image,.kmc-shell-brand{background-size:auto 51px}
  .kmc-shell-brand img,.kmc__brand-img{width:min(214px,calc(100vw - 104px))!important}
  .kmc__topline,.kmc-shell-top{font-size:10.5px!important}
  .kmc__mobile-bar a,.kmc-shell-mobile-bar a{font-size:14px!important}
}
/* KMC readability overlap guard: end */
