/*
Theme Name: レゾナンス v3.3.88 理由3写真差し替え版
Description: レゾナンス固定ページ編集版。トップページは「固定ページ→ホーム」で管理できます。
Author: Resonance
Version: 3.3.97
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: resonance-visual-fixed-page
*/
:where(.wp-site-blocks>*,.wp-block-group>*,.res-home>*,.res-home p,.res-home figure){margin-block-start:0;margin-block-end:0}

:root{--bg:var(--wp--preset--color--ivory,#fffdfa);--paper:#fff;--soft:#f8f4ed;--soft2:#fcfaf6;--gold:var(--wp--preset--color--gold,#b99550);--gold2:#d9c08a;--goldD:var(--wp--preset--color--gold-dark,#84662e);--ink:var(--wp--preset--color--brown,#251f1a);--muted:#716a62;--line:#e8e0d3;--green:#2fb862;--shadow:0 18px 55px rgba(53,39,18,.08);--shadow2:0 8px 24px rgba(53,39,18,.07);--serif:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;--sans:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:86px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);line-height:1.75;-webkit-font-smoothing:antialiased}body.menu-open{overflow:hidden}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}button,input{font:inherit}.container{width:min(1120px,calc(100% - 40px));margin:auto}.section{padding:88px 0}.soft{background:var(--soft2)}.ivory{background:var(--soft)}.kicker{margin:0 0 8px;color:var(--goldD);font-size:11px;font-weight:700;letter-spacing:.24em;text-align:center}.section-title{margin:0 0 18px;text-align:center;font-family:var(--serif);font-size:clamp(30px,4vw,48px);font-weight:500;line-height:1.35;letter-spacing:.04em}.lead{max-width:720px;margin:0 auto 38px;text-align:center;color:var(--muted);font-size:15px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:54px;padding:0 24px;border:1px solid transparent;border-radius:999px;font-weight:700;letter-spacing:.03em;transition:.2s ease}.btn:hover{transform:translateY(-1px)}.btn-gold{color:#fff;background:linear-gradient(135deg,var(--gold2),var(--goldD));box-shadow:0 12px 28px rgba(132,102,46,.2)}.btn-white{background:#fff;border-color:var(--line);color:var(--ink)}.btn-line{background:var(--green);color:#fff}.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--goldD);font-weight:700;font-size:13px}.arrow{font-size:18px}.reveal{opacity:1;transform:none}.reveal.is-visible{opacity:1;transform:none}

.site-header{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.93);backdrop-filter:blur(13px);border-bottom:1px solid rgba(232,224,211,.75)}.header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:11px;min-width:230px}.brand-mark{width:29px;height:41px;position:relative}.brand-mark:before,.brand-mark:after{content:"";position:absolute;border:2px solid var(--gold);border-radius:75% 18% 75% 18%;transform:rotate(-27deg)}.brand-mark:before{inset:2px 8px 13px 2px}.brand-mark:after{inset:15px 1px 1px 12px}.brand-name{font-family:var(--serif);font-size:20px;letter-spacing:.19em;line-height:1}.brand-sub{display:block;margin-top:6px;color:#867e74;font-size:8px;letter-spacing:.08em}.desktop-nav{display:flex;align-items:center;gap:22px}.desktop-nav a{font-size:12px;color:#5d564e}.desktop-nav a:hover{color:var(--goldD)}.header-book{min-height:42px;padding:0 17px;font-size:12px}.menu-toggle{display:none;position:relative;width:46px;height:46px;border:0;background:transparent;cursor:pointer}.menu-toggle span{position:absolute;left:9px;right:9px;height:1.5px;background:var(--ink);transition:.25s}.menu-toggle span:nth-child(1){top:14px}.menu-toggle span:nth-child(2){top:22px}.menu-toggle span:nth-child(3){top:30px}.menu-open .menu-toggle span:nth-child(1){top:22px;transform:rotate(45deg)}.menu-open .menu-toggle span:nth-child(2){opacity:0}.menu-open .menu-toggle span:nth-child(3){top:22px;transform:rotate(-45deg)}.mobile-nav{display:none;position:fixed;inset:78px 0 0;z-index:85;padding:30px 22px 120px;background:rgba(255,253,250,.985);overflow:auto}.mobile-nav a{display:block;padding:15px 4px;border-bottom:1px solid var(--line);font-family:var(--serif);font-size:18px}

.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 84% 14%,rgba(217,192,138,.24),transparent 30%),linear-gradient(180deg,#fff 0%,#faf6ee 100%)}.hero:before{content:"";position:absolute;left:-140px;top:110px;width:340px;height:340px;border:1px solid rgba(185,149,80,.13);border-radius:50%}.hero-inner{min-height:690px;display:grid;grid-template-columns:.94fr 1.06fr;align-items:center;gap:56px;padding:48px 0 62px}.hero-copy{position:relative;z-index:2}.hero-eyebrow{margin:0 0 12px;color:var(--goldD);font-size:11px;font-weight:700;letter-spacing:.22em}.hero h1{margin:0;font-family:var(--serif);font-size:clamp(45px,5vw,72px);font-weight:500;line-height:1.34;letter-spacing:.035em}.hero h1 span{display:block}.hero-text{max-width:570px;margin:22px 0 26px;color:#615950;font-size:16px}.hero-trust{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px;padding:0;list-style:none}.hero-trust li{padding:7px 11px;background:rgba(255,255,255,.78);border:1px solid var(--line);border-radius:999px;color:#6f6558;font-size:11px}.hero-actions{display:flex;flex-wrap:wrap;gap:11px}.hero-photo{position:relative;min-height:585px;overflow:hidden;border-radius:36px 36px 130px 36px;box-shadow:var(--shadow)}.hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 44%}.hero-photo:after{content:"";position:absolute;inset:52% 0 0;background:linear-gradient(transparent,rgba(41,31,17,.28))}.hero-caption{position:absolute;left:24px;right:24px;bottom:23px;z-index:2;display:flex;justify-content:space-between;align-items:end;gap:20px;color:#fff}.hero-caption strong{display:block;font-family:var(--serif);font-size:19px;font-weight:500}.hero-caption span{font-size:11px;opacity:.9}.hero-float{position:absolute;right:-2px;top:34px;z-index:3;padding:13px 16px;border-radius:15px 0 0 15px;background:rgba(255,255,255,.92);box-shadow:var(--shadow2);font-size:11px;color:#645844}.hero-float b{display:block;color:var(--goldD);font-family:var(--serif);font-size:20px;font-weight:500}

.proof-wrap{position:relative;z-index:4;margin-top:-26px}.proof{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow2);overflow:hidden}.proof-item{padding:22px 18px;text-align:center;border-right:1px solid var(--line)}.proof-item:last-child{border-right:0}.proof-item b{display:block;font-family:var(--serif);font-size:18px;font-weight:500}.proof-item span{display:block;margin-top:3px;color:var(--muted);font-size:11px}

.issue-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.issue-card{position:relative;min-height:150px;padding:24px;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:var(--shadow2);overflow:hidden}.issue-card:after{content:"";position:absolute;right:-38px;top:-44px;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,rgba(217,192,138,.3),transparent 69%)}.issue-card .num{display:block;margin-bottom:20px;color:var(--goldD);font-size:11px;letter-spacing:.18em}.issue-card strong{font-family:var(--serif);font-size:20px;font-weight:500}.issue-card p{margin:5px 0 0;color:var(--muted);font-size:12px}

.intro-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:58px}.intro-copy h2{margin:0 0 18px;font-family:var(--serif);font-size:clamp(30px,4vw,48px);font-weight:500;line-height:1.45}.intro-copy p{color:var(--muted)}.steps{display:grid;gap:10px}.step{display:grid;grid-template-columns:54px 1fr;gap:16px;align-items:center;padding:18px 20px;border:1px solid var(--line);border-radius:17px;background:#fff}.step-n{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#f3e7cc,#d6b76f);color:#765a27;font-family:var(--serif)}.step strong{font-family:var(--serif);font-size:18px;font-weight:500}.step small{display:block;color:var(--muted);margin-top:2px}

.reasons{display:grid;gap:20px}.reason-card{display:grid;grid-template-columns:minmax(300px,.85fr) 1.15fr;min-height:280px;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow2)}.reason-media{position:relative;min-height:260px;background:#f5f0e6;overflow:hidden}.reason-media>img{width:100%;height:100%;object-fit:cover}.reason-media.contain>img{object-fit:contain;padding:28px}.reason-num{position:absolute;left:18px;top:18px;z-index:3;width:57px;height:57px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(135deg,var(--gold2),var(--goldD));font-family:var(--serif);font-size:19px;box-shadow:0 7px 20px rgba(84,62,24,.18)}.reason-copy{display:flex;flex-direction:column;justify-content:center;padding:32px 38px}.reason-copy h3{margin:0 0 11px;font-family:var(--serif);font-size:clamp(22px,2.5vw,29px);font-weight:500;line-height:1.4}.reason-copy p{margin:0;color:var(--muted);font-size:14px}.mini-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.mini-pair img{width:100%;height:108px;object-fit:contain;border:1px solid var(--line);border-radius:10px;background:#fff;padding:5px}.mid-cta{margin-top:28px;padding:28px;border:1px solid #e5d6b8;border-radius:23px;background:linear-gradient(135deg,#fffaf0,#f1e3c5);display:flex;align-items:center;justify-content:space-between;gap:24px}.mid-cta strong{font-family:var(--serif);font-size:23px;font-weight:500}.mid-cta p{margin:3px 0 0;color:var(--muted);font-size:13px}

.voice-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(320px,38%);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 18px;scrollbar-width:none}.voice-track::-webkit-scrollbar{display:none}.voice-card{scroll-snap-align:start;display:grid;grid-template-columns:82px 1fr;gap:16px;padding:22px;border:1px solid var(--line);border-radius:21px;background:#fff;box-shadow:var(--shadow2)}.voice-photo{width:82px;height:82px;border-radius:50%;overflow:hidden;background:var(--soft)}.voice-photo img{width:100%;height:100%;object-fit:cover}.voice-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.voice-meta strong{font-family:var(--serif);font-weight:500}.stars{color:#d9a722;font-size:13px;letter-spacing:.06em}.voice-card p{grid-column:1/-1;margin:0;color:#5d554d;font-size:13px}.voice-note{margin-top:14px;text-align:right;color:var(--muted);font-size:11px}

.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.service-card{position:relative;min-height:340px;overflow:hidden;border-radius:23px;background:#302b25;color:#fff;box-shadow:var(--shadow)}.service-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.66}.service-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(25,21,16,.05),rgba(25,21,16,.8))}.service-body{position:absolute;z-index:2;left:24px;right:24px;bottom:24px}.service-tag{font-size:10px;letter-spacing:.18em;color:#ead8af}.service-body h3{margin:5px 0 8px;font-family:var(--serif);font-size:25px;font-weight:500}.service-body p{margin:0 0 14px;color:rgba(255,255,255,.82);font-size:12px}.service-body a{font-size:12px;font-weight:700}

.recommend-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.recommend-card{padding:26px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow2)}.recommend-top{display:flex;justify-content:space-between;gap:16px}.quote{color:var(--gold);font-family:Georgia,serif;font-size:50px;line-height:.7}.recommend-card h3{margin:0;font-family:var(--serif);font-size:18px;font-weight:500}.recommend-card small{display:block;margin-top:3px;color:var(--muted)}.recommend-card p{margin:18px 0 0;color:#5e564e;font-size:13px}

.facility-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}.facility-photo{position:relative;min-height:390px;overflow:hidden;border-radius:24px}.facility-photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.facility-photo:nth-child(2){min-height:390px}.facility-label{position:absolute;left:18px;bottom:18px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.88);backdrop-filter:blur(7px);font-size:11px;color:#5d5449}

.check-wrap{max-width:850px;margin:auto;padding:36px;border:1px solid var(--line);border-radius:27px;background:#fff;box-shadow:var(--shadow)}.check-item{padding:17px 0;border-bottom:1px solid var(--line)}.check-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.check-top label{font-weight:700}.check-value{min-width:40px;height:31px;display:grid;place-items:center;border-radius:999px;background:var(--soft);color:var(--goldD);font-weight:700}.check-range{width:100%;margin-top:14px;accent-color:var(--gold)}.check-scale{display:flex;justify-content:space-between;color:#9e958a;font-size:10px}.check-result{margin-top:24px;padding:22px;border-radius:17px;background:linear-gradient(135deg,#fbf6ea,#f0e0ba);text-align:center}.check-result small{display:block;color:var(--muted);margin-bottom:7px}.check-result strong{font-family:var(--serif);font-size:22px;font-weight:500}.check-note{max-width:690px;margin:15px auto 0;text-align:center;color:var(--muted);font-size:11px}

.faq{max-width:860px;margin:auto;border-top:1px solid var(--line)}.faq-item{border-bottom:1px solid var(--line)}.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 3px;border:0;background:transparent;text-align:left;color:var(--ink);cursor:pointer}.faq-q span:first-child{font-family:var(--serif);font-size:18px}.faq-plus{color:var(--goldD);font-size:24px;transition:.2s}.faq-a{display:grid;grid-template-rows:0fr;transition:.25s}.faq-a>div{overflow:hidden}.faq-a p{margin:0;padding:0 3px 22px;color:var(--muted);font-size:13px}.faq-item.open .faq-a{grid-template-rows:1fr}.faq-item.open .faq-plus{transform:rotate(45deg)}

.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.news-card{padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff}.news-card time{font-size:10px;color:var(--goldD);letter-spacing:.1em}.news-card h3{margin:8px 0 10px;font-family:var(--serif);font-size:18px;font-weight:500;line-height:1.5}.news-card p{margin:0;color:var(--muted);font-size:12px}

.access-card{display:grid;grid-template-columns:1fr .9fr;overflow:hidden;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:var(--shadow)}.map-wrap{min-height:440px}.map-wrap iframe{width:100%;height:100%;min-height:440px;border:0}.access-info{padding:38px}.access-info h3{margin:0 0 18px;font-family:var(--serif);font-size:28px;font-weight:500}.access-list{display:grid;gap:13px}.access-row b{display:block;color:var(--goldD);font-size:10px;letter-spacing:.12em}.access-row span,.access-row a{display:block;margin-top:2px;color:#5d554d;font-size:13px}.access-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}

.site-footer{padding:50px 0 106px;background:#2c2823;color:#f9f6f0}.footer-inner{display:flex;align-items:end;justify-content:space-between;gap:24px}.footer-brand{font-family:var(--serif);font-size:23px;letter-spacing:.2em}.footer-sub,.footer-copy{color:#c8c0b5;font-size:11px}.mobile-cta{display:none;position:fixed;left:0;right:0;bottom:0;z-index:110;height:67px;background:#fff;box-shadow:0 -8px 28px rgba(43,32,16,.12)}.mobile-cta a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:700}.mobile-cta .book{color:#fff;background:linear-gradient(135deg,var(--gold2),var(--goldD))}.mobile-cta .call{background:#fff}.blog-list{padding:70px 0}.blog-card{padding:22px 0;border-bottom:1px solid var(--line)}.blog-card h2{font-family:var(--serif);font-weight:500}
@media(max-width:1000px){.desktop-nav,.header-book{display:none}.menu-toggle{display:block}.menu-open .mobile-nav{display:block}.hero-inner{grid-template-columns:1fr;gap:28px;padding-top:28px}.hero-photo{order:1;min-height:550px}.hero-copy{order:2}.proof{grid-template-columns:repeat(2,1fr)}.proof-item:nth-child(2){border-right:0}.proof-item:nth-child(-n+2){border-bottom:1px solid var(--line)}.issue-grid{grid-template-columns:repeat(2,1fr)}.intro-grid{grid-template-columns:1fr}.service-grid{grid-template-columns:1fr 1fr}.access-card{grid-template-columns:1fr}.map-wrap,.map-wrap iframe{min-height:340px}.voice-track{grid-auto-columns:minmax(310px,72%)}}
@media(max-width:700px){body{padding-bottom:67px}.container{width:min(100% - 28px,1120px)}.section{padding:62px 0}.header-inner{height:70px}.mobile-nav{inset:70px 0 0}.brand{min-width:0}.brand-name{font-size:17px}.brand-sub{font-size:7px}.hero-inner{padding:20px 0 44px}.hero-photo{min-height:475px;border-radius:22px 22px 82px 22px}.hero-photo img{object-position:center 46%}.hero h1{font-size:clamp(39px,11.8vw,55px)}.hero-text{font-size:14px;margin:17px 0 20px}.hero-actions .btn{width:100%}.hero-float{top:17px}.proof-wrap{margin-top:-18px}.proof-item{padding:16px 10px}.proof-item b{font-size:15px}.issue-grid{grid-template-columns:1fr 1fr;gap:9px}.issue-card{min-height:138px;padding:18px}.issue-card strong{font-size:17px}.intro-grid{gap:28px}.reason-card{grid-template-columns:1fr;min-height:0}.reason-media{min-height:210px}.reason-media.contain>img{padding:22px}.reason-copy{padding:23px}.reason-copy h3{font-size:21px}.mini-pair img{height:94px}.mid-cta{display:block;padding:23px}.mid-cta .btn{width:100%;margin-top:16px}.voice-track{grid-auto-columns:86%}.voice-card{grid-template-columns:68px 1fr;padding:18px}.voice-photo{width:68px;height:68px}.service-grid{grid-template-columns:1fr}.service-card{min-height:300px}.recommend-grid{grid-template-columns:1fr}.facility-grid{grid-template-columns:1fr}.facility-photo,.facility-photo:nth-child(2){min-height:270px}.check-wrap{padding:22px 17px}.news-grid{grid-template-columns:1fr}.access-info{padding:27px}.footer-inner{display:block}.footer-copy{margin-top:16px}.mobile-cta{display:flex}}



.header-actions{display:flex;align-items:center;gap:10px}
.header-line{min-height:42px;padding:0 16px;font-size:13px;background:#06c755;color:#fff;border-color:#06c755;box-shadow:none}
.header-line:hover{background:#05b94f;color:#fff}
.recommend-top{align-items:center;gap:14px}
.recommend-person{display:flex;align-items:center;gap:14px;min-width:0}
.recommend-avatar{width:72px;height:72px;border-radius:50%;overflow:hidden;flex:0 0 72px;background:#f3eee5;border:1px solid #e8ddcb}
.recommend-avatar img{width:100%;height:100%;object-fit:cover}
.recommend-person h3{margin:0 0 2px}
.recommend-person small{display:block}
.director-section{background:linear-gradient(180deg,#fffdf9,#f8f2e8)}
.director-card{display:grid;grid-template-columns:minmax(260px,390px) 1fr;gap:52px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:var(--shadow)}
.director-photo{border-radius:22px;overflow:hidden;background:var(--ivory);aspect-ratio:4/4.6}
.director-photo img{width:100%;height:100%;object-fit:cover;object-position:center 22%}
.director-copy .kicker{text-align:left;margin-bottom:8px}
.director-copy h2{margin:0 0 8px;font-family:var(--serif);font-size:clamp(30px,4vw,46px);font-weight:500;line-height:1.35}
.director-name{font-family:var(--serif);font-size:20px;margin-bottom:18px}
.director-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.director-tags span{font-size:12px;padding:7px 12px;border-radius:999px;background:var(--ivory);color:var(--gold-dark);border:1px solid #eadfc9}
.director-copy p{color:#5d554c;margin:0 0 14px}
.line-qr{display:flex;align-items:center;gap:12px;margin-top:18px;padding:12px 14px;border-radius:16px;background:#f4fff7;border:1px solid #d7f2dd;width:max-content;max-width:100%}
.line-qr img{width:72px;height:72px;border-radius:8px;background:#fff}
.line-qr span{font-size:12px;color:#4c6651;line-height:1.5}
.mobile-cta .line{background:#06c755;color:#fff}
@media (max-width:960px){.header-actions{display:none}.director-card{grid-template-columns:1fr;gap:28px}.director-photo{max-width:420px;width:100%;margin:0 auto}.recommend-avatar{width:64px;height:64px;flex-basis:64px}}
@media (max-width:700px){.director-card{padding:18px;border-radius:22px}.director-copy h2{font-size:30px}.recommend-avatar{width:58px;height:58px;flex-basis:58px}.line-qr{display:none}}


.hero .hero-inner{display:block;min-height:0;padding:48px 0 44px}.hero .hero-copy{max-width:850px;margin:auto}.hero .hero-text{max-width:760px}.hero-text p{margin:0 0 16px}.hero-text p:last-child{margin-bottom:0}.hero-text .hero-credentials{font-size:12px;line-height:1.9;color:var(--goldD)}.hero .hero-actions{margin-top:24px}.proof-wrap{margin-top:0}
@media(max-width:700px){.hero .hero-inner{padding:32px 0}.hero h1{font-size:clamp(30px,8.5vw,48px);letter-spacing:.02em}.hero-eyebrow{font-size:9px;letter-spacing:.12em}.hero .hero-text{margin:18px 0 0;font-size:14px;line-height:1.9}.hero .hero-actions{margin-top:22px}.hero-text .hero-credentials{font-size:11px}}

.res-symptoms{background:#faf7f1;color:#38271e;padding:48px 16px;font-family:-apple-system,BlinkMacSystemFont,'Noto Sans JP',sans-serif}.res-symptoms *{box-sizing:border-box}.res-symptoms__inner{max-width:880px;margin:auto}.res-symptoms__eyebrow{text-align:center;color:#a88954;letter-spacing:.24em;font-size:12px;margin:0 0 15px}.res-symptoms h2{text-align:center;font-weight:500;line-height:1.5;letter-spacing:.03em;font-size:clamp(21px,4.7vw,34px);margin:0 0 10px}.res-symptoms__lead{text-align:center;font-size:13px;color:#73675b;margin:0 0 27px;line-height:1.8}.res-symptoms__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.res-symptoms__card{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;color:#38271e;background:#fffdf9;border:1px solid #d8bc86;border-radius:15px;min-height:170px;padding:18px 8px 23px;transition:background .2s,border-color .2s,transform .2s}.res-symptoms__card:hover{background:#f6eee0;border-color:#ad8b50;transform:translateY(-2px)}.res-symptoms__card:focus-visible{outline:3px solid #87652e;outline-offset:3px}.res-symptoms__icon{display:grid;place-items:center;width:61px;height:61px;background:#f8f2e9;border-radius:50%;color:#94703e;margin-bottom:13px}.res-symptoms__icon svg{width:35px;height:35px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.res-symptoms__name{font-size:14px;font-weight:600;text-align:center;line-height:1.5}.res-symptoms__desc{font-size:11px;text-align:center;color:#76695b;line-height:1.55;margin-top:7px}.res-symptoms__arrow{position:absolute;right:10px;bottom:11px;font-size:17px;color:#a88954}@media(min-width:720px){.res-symptoms{padding:65px 28px}.res-symptoms__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.res-symptoms__card{min-height:205px;padding:23px 14px}.res-symptoms__icon{width:72px;height:72px}.res-symptoms__icon svg{width:42px;height:42px}.res-symptoms__name{font-size:17px}.res-symptoms__desc{font-size:12px}}@media(max-width:355px){.res-symptoms__name{font-size:12px}.res-symptoms__desc{font-size:10px}.res-symptoms__card{padding-left:5px;padding-right:5px}}
/* Native block markup; all values remain overridable in the visual editor. */
:where(.wp-site-blocks){padding:0}

:where(.res-home figure){margin-inline:0}
:where(.wp-block-image img){max-width:100%;height:auto}
:where(.res-home .hero-text p){margin-bottom:16px}
:where(.res-header-inner){display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:78px;padding-block:12px}
:where(.res-brand){flex-shrink:0}
:where(.res-brand p){margin:0}
:where(.res-navigation){font-size:12px}
:where(.res-navigation .wp-block-navigation__container){gap:20px}
:where(.res-symptoms__card p){margin:0}
:where(.res-symptoms__icon figure){margin:0;line-height:0}
:where(.res-symptoms__icon img){width:35px;height:35px}
:where(.res-symptoms__desc){margin-top:7px}
:where(.res-symptoms__card .block-editor-inner-blocks){width:100%}
:where(.res-symptoms__card .block-editor-block-list__layout){display:flex;flex-direction:column;align-items:center}
:where(.res-symptoms__card){text-decoration:none}
:where(.reason-media>figure){height:100%;width:100%}
:where(.reason-media>figure img){width:100%;height:100%;object-fit:cover}
:where(.reason-media.contain>figure img){object-fit:contain;padding:28px}
:where(.voice-photo figure,.recommend-avatar figure,.director-photo figure){height:100%;width:100%}
:where(.res-home .voice-meta p){grid-column:auto}
:where(.res-home .quote){margin:0}
:where(.res-home .res-faq){border-bottom:1px solid var(--line);padding:21px 3px}
:where(.res-faq summary){font-family:var(--serif);font-size:18px;cursor:pointer}
:where(.res-faq p){padding-top:16px;color:var(--muted);font-size:14px}
:where(.wp-block-buttons){gap:11px}
:where(.res-btn .wp-block-button__link){min-height:54px;display:flex;align-items:center;justify-content:center;padding:13px 24px;border-radius:999px;font-weight:700;text-decoration:none}
:where(.res-btn-gold .wp-block-button__link){color:#fff;background:linear-gradient(135deg,var(--gold2),var(--goldD));box-shadow:0 12px 28px rgba(132,102,46,.2)}
:where(.res-btn-white .wp-block-button__link){background:#fff;border:1px solid var(--line);color:var(--ink)}
:where(.res-btn-line .wp-block-button__link){background:var(--green);color:#fff}
:where(.res-mobile-cta){display:none}
:where(.wp-block-post-template.news-grid){padding:0;list-style:none}
:where(.wp-block-post-template.news-grid>li){margin:0}
:where(.editor-styles-wrapper .res-mobile-cta){position:static;display:flex}
:where(.wp-block-resonance-self-check input[type=range]){width:100%;accent-color:var(--gold)}
@media(min-width:720px){:where(.res-symptoms__icon img){width:42px;height:42px}}
@media(max-width:700px){
 :where(.res-header-inner){min-height:70px;gap:12px}
 :where(.hero-actions .wp-block-button,.mid-cta .wp-block-button){width:100%}
 :where(.res-mobile-cta){display:flex;position:fixed;bottom:0;left:0;right:0;z-index:100;gap:0;margin:0;background:#fff}
 :where(.res-mobile-cta .wp-block-button){flex:1}
 :where(.res-mobile-cta .wp-block-button__link){min-height:67px;display:flex;align-items:center;justify-content:center;border-radius:0;padding:12px;font-size:14px}
 :where(.res-sticky-line .wp-block-button__link){background:var(--green);color:white}
 :where(.res-sticky-book .wp-block-button__link){background:linear-gradient(135deg,var(--gold2),var(--goldD));color:white}
 :where(.reason-media.contain>figure img){padding:22px}
}

:where(.res-home) .wp-block-image{margin:0}

/* Preserve the original left-aligned introduction label. */
:where(.intro-copy .kicker){text-align:left}

/* Match original typography after converting inline labels to editable paragraphs. */
.res-home .proof-caption{display:block;margin:3px 0 0;color:var(--muted);font-size:11px;line-height:1.75}
.res-home .step .res-strong{font-size:18px;line-height:1.75}
.res-home .step .res-small{font-size:13.333333px;line-height:1.75;margin:2px 0 0;color:var(--muted)}
.res-home .step .res-small small{font-size:inherit;margin:0}
.res-home .mid-cta .res-strong{font-size:23px;line-height:1.75;margin:0}
.res-home .voice-meta .res-strong{font-size:16px;line-height:1.75}
.res-home .voice-card .res-small{font-size:13.333333px;line-height:1.75;margin:0}
.res-home .res-small small{font-size:inherit}
.res-home .service-body .service-tag{font-size:10px;line-height:1.75;margin:0;color:#ead8af}
.res-home .recommend-person .res-small{font-size:13.333333px;line-height:1.75;margin:3px 0 0;color:var(--muted)}
.res-home .recommend-person .res-small small{margin:0}
.res-home .recommend-card .quote{font-size:50px;line-height:.7;margin:0;color:var(--gold)}
.res-home .director-tags p{padding:7px 11px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px;line-height:1.75;margin:0}
.res-home .access-value{font-size:13px;line-height:1.75;margin:2px 0 0;color:#5d554d}
.res-home .line-qr{font-size:12px;line-height:1.5}
.res-home .intro-copy .kicker{text-align:left}
.res-home .res-symptoms__card .res-symptoms__desc{margin-top:7px}
.res-home .check-wrap>.wp-block-buttons{margin-top:20px}
.res-home .hero-text p:last-child{margin-bottom:0}
/* Newly selected block layouts take precedence over the initial arrangement. */
.wp-site-blocks .wp-block-group.is-layout-flex{display:flex}
.wp-site-blocks .wp-block-group.is-layout-grid{display:grid}


/* v3.1 旧サイトのグローバルナビ。すべて標準ブロックとして編集可能 */
.res-legacy-header{position:relative;z-index:100;background:#fff;color:#393737;font-family:var(--sans);line-height:1.5}
.res-legacy-header :where(.wp-block-group,.wp-block-navigation){margin-block:0}
.res-legacy-top{max-width:1440px;margin:0 auto!important;min-height:115px;padding:13px 24px;gap:32px;display:flex;align-items:center;justify-content:space-between}
.res-legacy-identity{flex:0 0 205px}.res-legacy-logo{margin:0 0 4px}.res-legacy-header .res-legacy-brand{font-family:var(--sans);font-weight:300;font-size:25px;letter-spacing:-.075em;margin:0;line-height:1.15}
.res-legacy-header .res-legacy-sub{font-size:12px;font-weight:700;margin:3px 0 0}.res-legacy-hours{flex:1;max-width:650px}.res-legacy-hours p{font-weight:700;font-size:14px;line-height:1.5;margin:0}
.res-legacy-contact{text-align:right;flex:0 0 240px}.res-legacy-contact-buttons{justify-content:flex-end}.res-legacy-inquiry .wp-block-button__link{background:#c9b096!important;color:white!important;border-radius:0;padding:10px 23px;font-weight:700}
.res-legacy-navwrap{border-top:1px solid #eee;border-bottom:1px solid #e5e2df;padding:0 24px}.res-legacy-navigation{max-width:1440px;margin:0 auto!important;width:100%;font-size:15px;font-weight:700}.res-legacy-navigation .wp-block-navigation__container{width:100%;gap:0!important;justify-content:space-between}
.res-legacy-navigation .wp-block-navigation-item{flex:1;min-width:0;justify-content:center;position:relative}.res-legacy-navigation .wp-block-navigation-item__content{padding:15px 7px;justify-content:center;white-space:nowrap}.res-legacy-navigation .wp-block-navigation-item:not(:last-child):after{content:'';position:absolute;right:0;top:25%;height:50%;border-right:2px dotted #ddd;pointer-events:none}
.res-legacy-navigation .wp-block-navigation-item.has-child .wp-block-navigation__submenu-container{background:#fff;border:1px solid #e9dfd3;min-width:240px;box-shadow:0 12px 30px rgba(0,0,0,.09);z-index:150}.res-legacy-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content{justify-content:flex-start;white-space:normal;padding:12px 16px;font-size:13px}.res-legacy-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item:after{display:none}
.res-legacy-service-strip{background:rgba(195,166,140,.85);padding:0 30px}.res-legacy-service-navigation{max-width:1440px;margin:0 auto!important;color:#fff;font-size:15px;font-weight:700}.res-legacy-service-navigation .wp-block-navigation__container{gap:16px!important;width:100%;justify-content:space-between}.res-legacy-service-navigation .wp-block-navigation-item__content{padding:25px 4px;white-space:nowrap}
@media(max-width:1100px){.res-legacy-top{gap:16px}.res-legacy-hours p{font-size:12px}.res-legacy-identity{flex-basis:170px}.res-legacy-contact{flex-basis:200px}.res-legacy-navigation{font-size:12px}.res-legacy-service-navigation{font-size:12px}}
@media(max-width:780px){.res-legacy-top{min-height:72px;padding:11px 16px}.res-legacy-identity{flex-basis:auto}.res-legacy-header .res-legacy-brand{font-size:22px}.res-legacy-header .res-legacy-sub{font-size:10px}.res-legacy-hours{display:none}.res-legacy-contact{flex-basis:auto}.res-legacy-inquiry{display:none}.res-legacy-navwrap{position:absolute;right:15px;top:23px;border:0;padding:0}.res-legacy-navigation .wp-block-navigation__responsive-container-open{display:flex!important}.res-legacy-navigation .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}.res-legacy-navigation .wp-block-navigation__responsive-container.is-menu-open{padding:65px 23px 35px!important;z-index:999;background:#fff;color:#393737}.res-legacy-navigation .wp-block-navigation-item{justify-content:flex-start}.res-legacy-navigation .wp-block-navigation-item__content{padding:11px 0;font-size:16px}.res-legacy-navigation .wp-block-navigation-item:after{display:none!important}.res-legacy-service-strip{display:none}.res-legacy-contact{margin-right:55px!important}}

/* v3.2.1: original reference symptom artwork/layout; resist theme/block image overrides. */
.res-home .res-symptoms .res-symptoms__inner {max-width:880px;margin-inline:auto;}
.res-home .res-symptoms .res-symptoms__grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.res-home .res-symptoms .res-symptoms__card {display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;min-width:0;min-height:170px;padding:18px 8px 23px;border:1px solid #d8bc86;border-radius:15px;background:#fffdf9;color:#38271e;text-decoration:none;}
.res-home .res-symptoms .res-symptoms__card .res-symptoms__icon {display:grid;place-items:center;flex:none;width:61px;height:61px;margin:0 0 13px;padding:0;border-radius:50%;background:#f8f2e9;overflow:hidden;}
.res-home .res-symptoms .res-symptoms__card .res-symptoms__icon figure {display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0;margin:0;background:transparent;border:0;}
.res-home .res-symptoms .res-symptoms__card .res-symptoms__icon img {display:block;width:35px;height:35px;max-width:35px;max-height:35px;object-fit:contain;margin:0;border:0;border-radius:0;background:none;box-shadow:none;}
.res-home .res-symptoms .res-symptoms__card .res-symptoms__name {margin:0;font-family:var(--sans);font-size:14px;font-weight:600;line-height:1.5;color:#38271e;text-align:center;}
.res-home .res-symptoms .res-symptoms__card .res-symptoms__desc {margin:7px 0 0;font-family:var(--sans);font-size:11px;font-weight:400;line-height:1.55;color:#76695b;text-align:center;}
.res-home .res-symptoms .res-symptoms__card::after {content:'›';position:absolute;right:10px;bottom:11px;font:400 17px/1 var(--sans);color:#a88954;}
@media (min-width:720px) {
 .res-home .res-symptoms .res-symptoms__grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
 .res-home .res-symptoms .res-symptoms__card {min-height:205px;padding:23px 14px;}
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__icon {width:72px;height:72px;}
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__icon img {width:42px;height:42px;max-width:42px;max-height:42px;}
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__name {font-size:17px;}
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__desc {font-size:12px;}
}
@media (max-width:355px) {
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__name {font-size:12px;}
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__desc {font-size:10px;}
}

/* v3.2.3: fixed-page theme preview + brand/header responsiveness */
.res-legacy-header .res-legacy-brand{font-family:'Century Gothic','Helvetica Neue',Arial,sans-serif;font-size:clamp(21px,2.4vw,30px);font-weight:300;letter-spacing:-.065em;line-height:1.05;color:#272522;white-space:nowrap}
@media(max-width:980px){
  .res-legacy-header .res-legacy-top{min-height:72px;padding:10px 54px 10px 16px;gap:8px}
  .res-legacy-header .res-legacy-hours,.res-legacy-header .res-legacy-contact{display:none!important}
  .res-legacy-header .res-legacy-navwrap{position:absolute;right:14px;top:50%;transform:translateY(-50%);border:0;padding:0;width:auto}
  .res-legacy-header .res-legacy-service-strip{display:none!important}
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-open{display:flex!important}
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container.is-menu-open{padding:66px 20px 26px!important;background:#fff;color:#393737;z-index:999}
  .res-legacy-header .res-legacy-navigation .wp-block-navigation-item__content{font-size:15px;padding:12px 0}
  .res-legacy-header .res-legacy-identity{flex-basis:auto;min-width:0}
  .res-legacy-header .res-legacy-brand{font-size:clamp(21px,5.9vw,29px)}
}


/* Ver 3.2.4 — symptom images are ordinary replaceable Gutenberg image blocks. */
.res-home .res-symptoms__inner{max-width:1200px;margin-inline:auto}
.res-home .res-symptoms__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.res-home .res-symptoms__card{min-height:300px;padding:25px 14px 30px;border:1px solid #d9b36b;border-radius:25px;justify-content:flex-start;background:#fffdfa;min-width:0;box-sizing:border-box;}
.res-home .res-symptoms__card .res-symptoms__icon{display:block;width:min(185px,68%);height:auto!important;max-width:100%;padding:0;margin:2px auto 12px;background:none;border:0;overflow:visible;border-radius:0;flex:none}
.res-home .res-symptoms__card .res-symptoms__icon figure{display:block;width:100%;height:auto;margin:0;padding:0;line-height:0;}
.res-home .res-symptoms__card .res-symptoms__icon img{display:block;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;border-radius:0!important;margin:0;box-shadow:none;}
.res-home .res-symptoms__card .res-symptoms__name{font-family:Georgia,'Yu Mincho','Hiragino Mincho ProN',serif;font-size:clamp(18px,1.9vw,27px);font-weight:500;line-height:1.45;letter-spacing:.02em;color:#38271e;margin:0;text-align:center}
.res-home .res-symptoms__card .res-symptoms__desc{font-size:14px;line-height:1.65;color:#796c60;max-width:280px;margin:14px auto 0;text-align:center;}
.res-home .res-symptoms__card::after{font-size:27px;right:12px;bottom:50%;transform:translateY(50%);color:#a47b33;}
@media(max-width:700px){
 .res-home .res-symptoms{padding:39px 14px 45px}
 .res-home .res-symptoms__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .res-home .res-symptoms__card{min-height:252px;padding:16px 7px 18px;border-radius:19px;}
 .res-home .res-symptoms__card .res-symptoms__icon{width:min(126px,90%);margin:0 auto 9px;}
 .res-home .res-symptoms__card .res-symptoms__name{font-size:14px;line-height:1.5;font-weight:500;letter-spacing:0;}
 .res-home .res-symptoms__card .res-symptoms__desc{font-size:11px;line-height:1.6;margin:10px 3px 0;}
 .res-home .res-symptoms__card::after{font-size:19px;right:5px;}
}
@media(min-width:701px) and (max-width:900px){.res-home .res-symptoms__grid{gap:14px}.res-home .res-symptoms__card{min-height:260px}.res-home .res-symptoms__card .res-symptoms__desc{font-size:12px}}

/* Mobile menu restyled to resemble the original site's off-canvas drawer.
   One editable core/navigation block is used. The desktop service strip is hidden on mobile. */
@media(max-width:780px){
 .res-legacy-header .res-legacy-service-strip{display:none!important}
 .res-legacy-header .res-legacy-top{min-height:72px;padding:11px 64px 11px 16px}
 .res-legacy-header .res-legacy-navwrap{position:absolute;right:14px;top:34px;transform:translateY(-50%);width:auto;padding:0;margin:0;border:0}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-open{display:flex!important;color:#a98a6e!important;align-items:center;justify-content:center}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container.is-menu-open{
   display:block!important;position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-height:100dvh!important;
   background:rgba(0,0,0,.78)!important;padding:0!important;margin:0!important;overflow-y:auto!important;z-index:999999!important;
 }
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog{
   width:calc(100% - 72px)!important;max-width:520px;min-height:100dvh;margin:0 0 0 auto!important;background:#fff;padding:0!important;position:relative;
 }
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-close{
   position:fixed!important;left:0!important;right:auto!important;top:0!important;width:72px!important;height:72px!important;display:flex!important;align-items:center;justify-content:center;
   color:#fff!important;background:#cbb29a!important;padding:17px!important;z-index:1000001!important;border:0!important;
 }
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-close svg{height:34px;width:34px}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-content{padding:0!important;margin:0!important}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__container{width:100%!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;padding:0!important;margin:0!important}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation-item{width:100%!important;flex:none!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;position:relative!important;border-bottom:1px solid #dedede}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation-item:after{display:none!important}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation-item__content{
   padding:22px 48px 22px 82px!important;display:block!important;width:100%;min-height:76px;box-sizing:border-box;line-height:1.4;
   font-family:'Noto Sans JP',-apple-system,BlinkMacSystemFont,sans-serif!important;font-weight:700!important;font-size:16px!important;color:#333!important;text-align:left!important;white-space:normal!important;
 }





 .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item:after{content:'›'!important;display:block!important;position:absolute;right:14px;top:24px;font-size:29px;color:#cbb29a;border:0!important;height:auto!important;line-height:1!important;pointer-events:none}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item.has-child:after{content:'⌄'!important}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation-submenu__toggle{position:absolute!important;right:0!important;top:0!important;min-height:76px!important;width:56px!important;z-index:3!important;background:transparent!important;opacity:0;cursor:pointer}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__submenu-container{
   position:static!important;visibility:visible!important;opacity:1!important;min-width:100%!important;width:100%!important;padding:0!important;margin:0!important;box-shadow:none!important;border:0!important;background:#fff!important;display:none!important;
 }
 .res-legacy-header .res-legacy-navigation .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container,
 .res-legacy-header .res-legacy-navigation .wp-block-navigation-item.has-child.is-menu-open > .wp-block-navigation__submenu-container{display:block!important}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item{padding:0 0 0 70px!important;margin:0!important;min-height:56px;}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content{font-size:14px!important;padding:16px 8px!important;min-height:56px;border-bottom:0!important;}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item:before,.res-legacy-header .res-legacy-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item:after{display:none!important;content:none!important}
}

@media(max-width:780px){
.res-legacy-header{z-index:9999!important;}
.res-legacy-header .res-legacy-navwrap{top:22px!important;transform:none!important;}
.res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container.is-menu-open{box-sizing:border-box!important;}
.res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog{box-sizing:border-box!important;}
}

/* Final specificity guard: prevents older theme rules from shrinking replacement illustrations. */
.res-home .res-symptoms .res-symptoms__card .res-symptoms__icon{
 width:min(190px,75%)!important;height:auto!important;max-width:100%!important;
 margin:0 auto 11px!important;border-radius:0!important;background:none!important;overflow:visible!important;
}
.res-home .res-symptoms .res-symptoms__card .res-symptoms__icon figure{display:block!important;width:100%!important;height:auto!important;}
.res-home .res-symptoms .res-symptoms__card .res-symptoms__icon img{
 width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;
 object-fit:contain!important;
}
.res-home .res-symptoms .res-symptoms__card .res-symptoms__name{
 font-family:Georgia,'Yu Mincho','Hiragino Mincho ProN',serif!important;
 font-weight:500!important;font-size:23px!important;
}
.res-home .res-symptoms .res-symptoms__card .res-symptoms__desc{font-size:14px!important;}
@media(max-width:700px){
 .res-home .res-symptoms .res-symptoms__card{min-height:258px!important;}
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__icon{width:min(118px,88%)!important;margin:0 auto 10px!important;}
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__name{font-size:15px!important;line-height:1.5!important;}
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__desc{font-size:11px!important;}
}

/* v3.2.6 – mobile first view inspired by the supplied reference.
   The background is a Gutenberg IMAGE block, not baked-in lettering.
   Copy, buttons and four trust cards remain Gutenberg blocks. */
.res-home .resonance-hero{isolation:isolate}
.res-home .resonance-hero>.res-hero-bg-image{display:none}
.res-home .proof-item .res-hero-proof-icon{display:none}

@media(max-width:767px){
 body.home .res-legacy-header{position:absolute!important;top:var(--wp-admin--admin-bar--height,0px);left:0;right:0;width:100%;background:transparent!important;border:0!important;box-shadow:none!important;z-index:9999;}
 body.home .res-legacy-header .res-legacy-top{min-height:74px!important;padding:13px 62px 8px 16px!important;align-items:center}
 body.home .res-legacy-header .res-legacy-identity{display:block;position:relative;padding-left:27px;max-width:calc(100% - 30px);}
 body.home .res-legacy-header .res-legacy-identity:before,
 body.home .res-legacy-header .res-legacy-identity:after{content:"";position:absolute;left:0;top:4px;width:12px;height:27px;border:1.4px solid #a87d3c;border-radius:60% 40% 55% 45%;transform:rotate(-12deg);pointer-events:none}
 body.home .res-legacy-header .res-legacy-identity:after{left:9px;top:12px;transform:rotate(12deg)}
 body.home .res-legacy-header .res-legacy-brand{font-family:Georgia,'Times New Roman',serif!important;letter-spacing:.15em!important;font-size:clamp(16px,5vw,23px)!important;text-transform:uppercase!important;font-weight:400!important;color:#32231d!important;}
 body.home .res-legacy-header .res-legacy-sub{font-size:clamp(8px,2.15vw,10px)!important;font-weight:400!important;letter-spacing:.02em!important;color:#44342a!important;line-height:1.3!important;margin:5px 0 0!important;}
 body.home .res-legacy-header .res-legacy-navwrap{top:22px!important;right:14px!important}
 body.home .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-open{color:#30231c!important}

 .res-home .resonance-hero{background:#faf7f1!important;position:relative;overflow:hidden}
 .res-home .resonance-hero>.res-hero-bg-image{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:0!important;pointer-events:none;margin:0!important;padding:0!important;border:0!important;}
 .res-home .resonance-hero>.res-hero-bg-image img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center top!important;}
 .res-home .resonance-hero::before{content:""!important;position:absolute!important;inset:0!important;left:0!important;top:0!important;width:100%!important;height:100%!important;border:0!important;border-radius:0!important;z-index:1!important;background:linear-gradient(to bottom,rgba(250,247,241,.63) 0%,rgba(250,247,241,.72) 42%,rgba(250,247,241,.96) 86%,#faf7f1 100%)!important;pointer-events:none!important;}
 .res-home .resonance-hero::after{content:"";position:absolute;z-index:1;top:135px;left:-230px;width:370px;height:370px;border:1px solid rgba(195,158,87,.23);border-radius:50%;pointer-events:none;}
 .res-home .resonance-hero .hero-inner{position:relative!important;z-index:2!important;display:block!important;min-height:0!important;max-width:none!important;width:calc(100% - 44px)!important;margin-inline:auto!important;gap:0!important;padding:155px 0 21px!important;}
 .res-home .resonance-hero .hero-copy{position:relative!important;z-index:3!important;max-width:100%;width:100%}
 .res-home .resonance-hero .hero-eyebrow{color:#9a6d33!important;font-size:clamp(8px,2.14vw,10px)!important;letter-spacing:.18em!important;line-height:1.5!important;margin:0 0 13px!important;white-space:nowrap;}
 .res-home .resonance-hero h1{font-size:clamp(29px,8.0vw,39px)!important;line-height:1.27!important;letter-spacing:.015em!important;font-weight:500!important;margin:0!important;color:#322019!important;}
 .res-home .resonance-hero h1 span{display:block!important;white-space:nowrap}
 .res-home .resonance-hero .hero-text{margin:11px 0 13px!important;max-width:100%!important;font-size:12.2px!important;color:#382d28!important;line-height:1.64!important;}
 .res-home .resonance-hero .hero-text p{font-size:inherit!important;line-height:inherit!important;margin:0 0 10px!important;}
 .res-home .resonance-hero .hero-text .hero-credentials{font-size:10.4px!important;line-height:1.55!important;color:#966e3b!important;margin-top:11px!important;letter-spacing:.035em!important;}
 .res-home .resonance-hero .hero-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;max-width:100%!important;width:100%!important;justify-items:stretch!important;}
 .res-home .resonance-hero .hero-actions>.wp-block-button{width:100%!important;max-width:100%!important;display:block!important;margin:0!important;}
 .res-home .resonance-hero .hero-actions .wp-block-button__link{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:100%!important;min-height:44px!important;padding:9px 12px!important;border-radius:999px!important;white-space:normal!important;line-height:1.35!important;font-size:clamp(12px,3.6vw,15px)!important;font-weight:500!important;letter-spacing:.015em!important;box-sizing:border-box!important;}
 .res-home .resonance-hero .hero-actions .res-btn-white .wp-block-button__link{border:1.2px solid #99712f!important;background:rgba(255,255,255,.65)!important;color:#7b5325!important;}
 .res-home .resonance-hero .hero-actions .res-btn-gold .wp-block-button__link{background:linear-gradient(110deg,#d9af69,#94703a)!important;color:#fff!important;}
 .res-home .resonance-hero .hero-actions .arrow{margin-left:14px;font-size:18px!important;font-weight:400!important;}

 /* Make the four trust icons part of the same quiet premium first view. */
 .res-home .proof-wrap{margin:0!important;padding:0 10px 12px!important;position:relative!important;z-index:4!important;background:#faf7f1!important;max-width:100%!important;width:100%!important;}
 .res-home .proof{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;align-items:start!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;}
 .res-home .proof-item{padding:4px 4px 9px!important;border:0!important;border-right:1px solid #e8d8bb!important;text-align:center!important;min-width:0!important;}
 .res-home .proof-item:last-child{border-right:0!important;}
 .res-home .proof-item .res-hero-proof-icon{display:block!important;width:48px!important;height:48px!important;max-width:90%!important;margin:0 auto 6px!important;}
 .res-home .proof-item .res-hero-proof-icon img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;border-radius:50%;}
 .res-home .proof-item .res-bold{margin:0!important;}
 .res-home .proof-item .res-bold b{display:block!important;font-family:var(--sans)!important;font-weight:600!important;font-size:clamp(8px,2.23vw,11px)!important;line-height:1.42!important;color:#292521!important;letter-spacing:-.025em!important;}
 .res-home .proof-item .proof-caption{display:block!important;font-size:clamp(7px,1.92vw,9px)!important;line-height:1.48!important;margin:5px 0 0!important;color:#72685e!important;}
}
@media(max-width:350px){
 .res-home .resonance-hero .hero-inner{width:calc(100% - 32px)!important;padding-top:124px!important;}
 .res-home .resonance-hero h1{font-size:clamp(25px,7.7vw,29px)!important;}
 .res-home .resonance-hero .hero-eyebrow{font-size:7px!important;}
 .res-home .proof-item{padding-inline:2px!important;}
}
/* The image can be selected via block list view even if it is behind the copy.
   In editor, make its selection outline and toolbars available. */
.editor-styles-wrapper .resonance-hero>.res-hero-bg-image{pointer-events:auto!important;}

/* Make the hero's picture easy to find and replace in the desktop page editor.
   The front-end still uses the full-bleed photo and fade on mobile. */
@media(min-width:768px){
 .editor-styles-wrapper .res-home .resonance-hero>.res-hero-bg-image{
   display:block!important;position:relative!important;inset:auto!important;
   width:min(320px,100%)!important;height:auto!important;margin:16px 0!important;
   z-index:5!important;pointer-events:auto!important;
 }
 .editor-styles-wrapper .res-home .resonance-hero>.res-hero-bg-image img{
   display:block!important;width:100%!important;height:auto!important;object-fit:cover!important;
 }
}


/* v3.2.7 – remove stray top line in symptom illustrations via updated images,
   and make mobile symptom cards closer to squares for readability. */
@media(max-width:700px){
 .res-home .res-symptoms__grid{gap:12px!important;}
 .res-home .res-symptoms .res-symptoms__card{
  aspect-ratio:1 / 1.05!important;
  min-height:0!important;
  height:auto!important;
  padding:14px 8px 16px!important;
  border-radius:20px!important;
  justify-content:flex-start!important;
 }
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__icon{
  width:min(112px,82%)!important;
  margin:0 auto 10px!important;
 }
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__name{
  font-size:14px!important;
  line-height:1.45!important;
  margin:0 auto!important;
 }
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__desc{
  font-size:11px!important;
  line-height:1.5!important;
  margin:8px 2px 0!important;
 }
 .res-home .res-symptoms .res-symptoms__card::after{
  font-size:20px!important;
  right:7px!important;
  bottom:10px!important;
  transform:none!important;
 }
}


/* v3.2.8 – genuinely square mobile symptom cards with inset arrow.
   Deliberately last in the stylesheet: override the historical min-height:258px
   and the intermediate v3.2.7 1:1.05 rule. Only the symptoms block changes. */
@media (max-width: 960px) {
  .res-home .res-symptoms .res-symptoms__grid {
    align-items: start !important;
  }
  .res-home .res-symptoms .res-symptoms__card {
    box-sizing: border-box !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    padding: 6px 8px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
  }
  .res-home .res-symptoms .res-symptoms__card .res-symptoms__icon {
    display: block !important;
    flex: 0 0 auto !important;
    width: min(48%, 162px) !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto 4px !important;
  }
  .res-home .res-symptoms .res-symptoms__card .res-symptoms__icon img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    object-fit: contain !important;
  }
  .res-home .res-symptoms .res-symptoms__card .res-symptoms__name {
    font-size: clamp(11px, 3.13vw, 17px) !important;
    line-height: 1.3 !important;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
  .res-home .res-symptoms .res-symptoms__card .res-symptoms__desc {
    font-size: clamp(9px, 2.56vw, 13px) !important;
    line-height: 1.32 !important;
    text-align: center !important;
    margin: 5px auto 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }
  .res-home .res-symptoms .res-symptoms__card::after {
    content: '›' !important;
    position: absolute !important;
    display: block !important;
    font: 400 20px/1 Georgia, serif !important;
    right: 12px !important;
    bottom: 10px !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 !important;
    color: #a47b33 !important;
    pointer-events: none !important;
  }
}
@media (max-width: 350px) {
  .res-home .res-symptoms .res-symptoms__card {
    padding: 3px 5px 15px !important;
  }
  .res-home .res-symptoms .res-symptoms__card .res-symptoms__icon {
    width: 40% !important;
    margin-bottom: 2px !important;
  }
  .res-home .res-symptoms .res-symptoms__card .res-symptoms__name {
    font-size: 11px !important;
    line-height: 1.22 !important;
  }
  .res-home .res-symptoms .res-symptoms__card .res-symptoms__desc {
    font-size: 9px !important;
    line-height: 1.25 !important;
    margin-top: 3px !important;
  }
  .res-home .res-symptoms .res-symptoms__card::after {
    bottom: 7px !important;
    right: 9px !important;
    font-size: 17px !important;
  }
}

/* Keep the same square composition on desktop too; users may inspect the
   responsive page editor at a large browser width. */
@media (min-width: 961px) {
  .res-home .res-symptoms .res-symptoms__grid { align-items: start !important; }
  .res-home .res-symptoms .res-symptoms__card {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
    justify-content: center !important;
    padding: 16px 14px 28px !important;
  }
  .res-home .res-symptoms .res-symptoms__card .res-symptoms__icon {
    width: min(45%, 162px) !important;
    margin: 0 auto 9px !important;
  }
  .res-home .res-symptoms .res-symptoms__card .res-symptoms__name {
    font-size: clamp(17px, 1.9vw, 24px) !important;
    line-height: 1.4 !important;
  }
  .res-home .res-symptoms .res-symptoms__card .res-symptoms__desc {
    font-size: clamp(12px, 1.25vw, 14px) !important;
    line-height: 1.5 !important;
    margin-top: 10px !important;
  }
  .res-home .res-symptoms .res-symptoms__card::after {
    right: 16px !important;
    bottom: 14px !important;
    transform: none !important;
    font: 400 24px/1 Georgia, serif !important;
  }
}


/* v3.2.9 — mobile polish: symptoms, recommendations, reasons, first visit */
.res-home, .res-home .wp-block-group { min-width:0; }
.res-home .container { max-width:1120px; margin-inline:auto; }
.res-home .reason-card, .res-home .recommend-card,
.res-home .step { box-sizing:border-box; }

/* Symptom artwork: unify image and card tones, suppress stray image framing. */
.res-home .res-symptoms .res-symptoms__card {
 background:#fffcf7 !important;
 overflow:hidden !important;
}
.res-home .res-symptoms .res-symptoms__icon,
.res-home .res-symptoms .res-symptoms__icon figure {
 background:transparent !important;
 border:0 !important;
 box-shadow:none !important;
}
.res-home .res-symptoms .res-symptoms__icon img {
 mix-blend-mode:multiply;
 border:0 !important;
 outline:0 !important;
 box-shadow:none !important;
}
.res-home .res-symptoms .res-symptoms__icon::before,
.res-home .res-symptoms .res-symptoms__icon::after { content:none !important; }

/* Recommendations use the same horizontal gesture as testimonials. */
.res-home .recommend-grid {
 display:grid !important;
 grid-auto-flow:column !important;
 grid-template-columns:none !important;
 grid-auto-columns:minmax(270px, 40%) !important;
 gap:16px !important;
 overflow-x:auto !important;
 overscroll-behavior-inline:contain;
 scroll-snap-type:x mandatory;
 scroll-padding-inline:2px;
 padding:6px 3px 22px !important;
 scrollbar-width:thin;
 -webkit-overflow-scrolling:touch;
}
.res-home .recommend-grid > .recommend-card {
 scroll-snap-align:start;
 min-width:0;
 align-self:stretch;
}
.res-home .recommend-card { padding:23px !important; }

/* Reason cards: refined Japanese typography and framed photographic compositions. */
.res-home .reasons { gap:24px; }
.res-home .reason-card {
 padding:16px !important;
 gap:20px !important;
 border:1px solid #e4d7c5 !important;
 border-radius:22px !important;
 background:#fffdf9 !important;
 overflow:hidden !important;
}
.res-home .reason-media {
 min-height:0 !important;
 border-radius:16px !important;
 overflow:hidden !important;
 background:#f6f1e9 !important;
}
.res-home .reason-media > figure {
 margin:0 !important;
 width:100% !important;
 height:100% !important;
}
.res-home .reason-media > figure img {
 display:block !important;
 width:100% !important;
 height:100% !important;
 object-fit:cover !important;
 object-position:center !important;
 border:0 !important;
}
.res-home .reason-media.contain > figure img { object-fit:contain !important; padding:12px !important; }
.res-home .reason-copy { min-width:0; padding:14px 18px !important; }
.res-home .reason-copy h3 {
 font-family:"Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif !important;
 font-weight:500 !important;
 font-size:clamp(20px,2.5vw,27px) !important;
 letter-spacing:.025em !important;
 line-height:1.65 !important;
 overflow-wrap:anywhere;
}
.res-home .reason-copy p {
 font-size:clamp(13px,1.25vw,15px) !important;
 line-height:1.95 !important;
 overflow-wrap:anywhere;
}
.res-home .reason-num {
 width:46px !important;height:46px !important;
 left:12px !important;top:12px !important;
 font-size:16px !important;
}
/* First-visit steps: aligned numbered tiles with breathing room. */
.res-home .steps { gap:12px !important; }
.res-home .step {
 display:grid !important;
 grid-template-columns:48px minmax(0,1fr) !important;
 align-items:center !important;
 column-gap:16px !important;
 padding:18px !important;
 background:#fffefa !important;
 border:1px solid #e1d1b4 !important;
 border-radius:17px !important;
 box-shadow:0 5px 19px rgba(80,62,36,.045);
}
.res-home .step .step-n {
 display:grid !important;
 place-items:center !important;
 margin:0 !important;
 width:45px !important;height:45px !important;
 border-radius:13px !important;
 color:#866a3d !important;
 background:#f6ebd6 !important;
 font:500 19px/1 Georgia,serif !important;
}
.res-home .step > .wp-block-group { min-width:0; }
.res-home .step strong {font-family:"Hiragino Mincho ProN","Yu Mincho",serif !important; font-size:18px !important; }
.res-home .step small {line-height:1.65 !important;}

@media(max-width:700px) {
 .res-home .section { padding-top:54px !important; padding-bottom:54px !important; }
 .res-home .container, .res-home .reasons,
 .res-home .recommend-grid, .res-home .steps {
   max-width:100%; min-width:0;
 }
 .res-home .container { width:calc(100% - 36px) !important; margin-inline:auto !important; }
 .res-home .res-symptoms {padding:42px 18px 48px !important;}
 .res-home .res-symptoms__inner {max-width:100% !important;}
 .res-home .res-symptoms .res-symptoms__grid {gap:12px !important;}
 .res-home .res-symptoms .res-symptoms__card {
   min-height:0 !important; aspect-ratio:1 / 1.08 !important;
   padding:13px 9px 28px !important; justify-content:center !important;
   border-radius:19px !important;
 }
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__icon {
   width:min(80px,64%) !important;
   margin:0 auto 7px !important;
 }
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__name {
   font-size:clamp(12px,3.65vw,15px) !important;
   line-height:1.45 !important;
 }
 .res-home .res-symptoms .res-symptoms__card .res-symptoms__desc {
   font-size:clamp(10px,2.7vw,11px) !important;
   line-height:1.5 !important;
   margin:6px 1px 0 !important;
 }
 .res-home .res-symptoms .res-symptoms__card::after {
   right:0 !important;left:0 !important;bottom:7px !important;
   width:100% !important; text-align:center !important;
   transform:none !important;font-size:19px !important;
 }
 .res-home .recommend-grid {
   grid-auto-columns:86% !important;
   margin-right:-18px !important;
   padding-right:18px !important;
 }
 .res-home .recommend-card {padding:19px !important; border-radius:18px !important;}
 .res-home .recommend-person {gap:10px !important;}
 .res-home .recommend-avatar {width:56px !important;height:56px !important;flex-basis:56px !important;}
 .res-home .reason-card {
   display:flex !important;flex-direction:column !important;
   padding:13px !important;gap:0 !important;
   border-radius:19px !important;
 }
 .res-home .reason-media {
   width:100% !important;
   height:auto !important; aspect-ratio: 16 / 10 !important;
   max-height:230px !important;
   min-height:0 !important;
   border-radius:13px !important;
 }
 .res-home .reason-media > figure,
 .res-home .reason-media > figure img {
   width:100% !important;height:100% !important;
 }
 .res-home .reason-media.contain > figure img {padding:12px !important;}
 .res-home .reason-card:nth-child(3) .reason-media {
   aspect-ratio:16 / 9 !important;max-height:190px !important;
 }
 .res-home .reason-copy {padding:19px 7px 10px !important;}
 .res-home .reason-copy h3 {
   font-size:clamp(19px,5.3vw,23px) !important;
   line-height:1.55 !important;
   margin-bottom:12px !important;
 }
 .res-home .reason-copy p {font-size:14px !important;line-height:1.9 !important;}
 .res-home .step {padding:15px 14px !important;grid-template-columns:42px minmax(0,1fr) !important;gap:13px !important;}
 .res-home .step .step-n {width:40px !important;height:40px !important;font-size:17px !important;}
 .res-home .step strong {font-size:17px !important;}
}
@media(max-width:360px) {
 .res-home .res-symptoms {padding-inline:12px !important;}
 .res-home .res-symptoms .res-symptoms__grid{gap:9px !important;}
 .res-home .res-symptoms .res-symptoms__card{padding-inline:6px !important;}
}


/* v3.3.0 — editable grouped home sections, improved safe mobile layout */
.res-home {width:100%;max-width:100%;min-width:0;overflow-x:clip;}
.res-home > section {min-width:0;}
.res-home .res-reasons-section .container,
.res-home .res-firstvisit-section .container,
.res-home .res-concept-section .container{width:min(1040px,calc(100% - 36px));max-width:100%;margin-inline:auto;}
.res-home .res-reasons-section .reasons {display:grid;gap:20px;}
.res-home .res-reasons-section .reason-card {display:grid;grid-template-columns:minmax(0, 0.9fr) minmax(0, 1.1fr);align-items:stretch;padding:14px!important;gap:16px;}
.res-home .res-reasons-section .reason-card .reason-media {width:100%;height:100%;max-height:310px;position:relative;aspect-ratio: 5 / 3;}
.res-home .res-reasons-section .reason-card .reason-media .reason-num {position:absolute;top:10px;left:10px;z-index:2;margin:0;background:#fff9ef;border:1px solid #e5d3ad;border-radius:10px;min-width:42px;min-height:42px;display:grid;place-items:center;font:500 15px/1 Georgia,serif;color:#8d713c;}
.res-home .res-reasons-section .reason-card .reason-copy {min-width:0;display:flex;flex-direction:column;justify-content:center;padding:16px 22px!important;}
.res-home .res-reasons-section .reason-card h3 {font-family:var(--serif)!important;font-weight:500!important;font-size:clamp(20px,2.5vw,27px)!important;line-height:1.65!important;}
.res-home .res-reasons-section .reason-card p:not(.reason-num) {font-size:14px!important;line-height:1.9!important;}
.res-home .res-video-placeholder {background:linear-gradient(135deg,#f7f1e8,#fffefa);border:1px dashed #bea77b;border-radius:20px;padding:36px 24px;text-align:center;max-width:800px;margin:0 auto;}
.res-home .res-video-placeholder h3 {font-family:var(--serif);font-weight:500;font-size:22px;margin-bottom:10px;}
.res-home .res-video-placeholder p {font-size:13px;color:#756d62;line-height:1.8;}
.res-home .res-firstvisit-section .steps {max-width:800px;margin:0 auto 26px;}
.res-home .res-firstvisit-section .step {max-width:100%;min-width:0;}
.res-home .res-firstvisit-section .step h3 {margin:0;font-family:var(--serif);font-weight:500;font-size:19px;line-height:1.5;}
.res-home .res-firstvisit-image {max-width:800px;margin:20px auto 0;}
.res-home .res-firstvisit-image img {width:100%;height:auto;border-radius:16px;}
.res-home .res-map-note {margin:12px 0 20px;padding:14px 18px;background:#fffdf8;border:1px solid #e2d5bd;border-radius:12px;font-size:13px;line-height:1.8;color:#665b4d;}
.res-home .res-map-note a {color:#8b6b32;text-decoration:underline;text-underline-offset:3px;}
.res-home .recommend-grid {scroll-snap-type:x mandatory;}
@media(max-width:700px){
 .res-home > section {padding-left:0;padding-right:0;}
 .res-home .res-reasons-section .container,
 .res-home .res-firstvisit-section .container,
 .res-home .res-concept-section .container {width:calc(100% - 36px)!important;}
 .res-home .res-reasons-section .reason-card {display:flex!important;flex-direction:column!important;padding:12px!important;gap:0!important;}
 .res-home .res-reasons-section .reason-card .reason-media {height:auto!important;aspect-ratio:16 / 10!important;max-height:210px!important;min-height:0!important;}
 .res-home .res-reasons-section .reason-card:nth-child(3) .reason-media {aspect-ratio:16 / 9!important;max-height:174px!important;}
 .res-home .res-reasons-section .reason-card .reason-copy {padding:18px 8px 12px!important;}
 .res-home .res-reasons-section .reason-card h3 {font-size:clamp(19px,5.1vw,23px)!important;}
 .res-home .res-firstvisit-section .steps {gap:12px!important;}
 .res-home .res-firstvisit-section .step {grid-template-columns:44px minmax(0,1fr)!important;padding:14px!important;}
 .res-home .res-firstvisit-section .step h3 {font-size:17px;}
 .res-home .res-firstvisit-image {margin-top:20px;}
 .res-home .res-video-placeholder {padding:28px 18px;}
 .res-home .res-map-note {font-size:12px;}
}

/* v3.3.2: Hero benefits / seamless illustration surfaces / first-visit CTA */
.res-home .res-symptoms .res-symptoms__card {background:#fffcf7!important;}
.res-home .res-symptoms .res-symptoms__icon,
.res-home .res-symptoms .res-symptoms__icon figure,
.res-home .res-symptoms .res-symptoms__icon img {background:transparent!important;box-shadow:none!important;border:0!important;}
.res-home .resonance-hero .proof-wrap {position:relative;z-index:3;margin:0 auto;padding:8px max(18px,calc((100vw - 1120px)/2)) 28px;max-width:1200px;background:transparent;}
.res-home .resonance-hero .proof {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;align-items:start;}
.res-home .resonance-hero .proof-item {min-width:0;text-align:center;padding:10px 10px;border-right:1px solid #e8d9be;}
.res-home .resonance-hero .proof-item:last-child {border-right:none;}
.res-home .resonance-hero .proof-item .res-hero-proof-icon {display:block!important;width:64px;height:64px;margin:0 auto 10px;}
.res-home .resonance-hero .proof-item .res-hero-proof-icon img {width:100%;height:100%;object-fit:contain;}
.res-home .resonance-hero .proof-item .res-bold {margin:0!important;}
.res-home .resonance-hero .proof-item .res-bold b {font-family:var(--sans);font-size:clamp(12px,1.45vw,15px);font-weight:600;line-height:1.5;}
.res-home .resonance-hero .proof-item .proof-caption {font-size:12px;color:#786d63;line-height:1.5;margin:7px 0 0;}
.res-home .res-firstvisit-image {display:grid;gap:22px;justify-items:center;max-width:800px;}
.res-home .res-firstvisit-image .res-firstvisit-photo {display:block;width:100%;aspect-ratio:4/3;margin:0;overflow:hidden;border-radius:18px;}
.res-home .res-firstvisit-image .res-firstvisit-photo img {display:block;width:100%;height:100%;object-fit:cover;border-radius:0;}
.res-home .res-firstvisit-image .res-firstvisit-banner {display:block;width:min(100%,650px);margin:0 auto;border-radius:16px;overflow:hidden;}
.res-home .res-firstvisit-image .res-firstvisit-banner a {display:block;transition:opacity .2s ease;}
.res-home .res-firstvisit-image .res-firstvisit-banner a:hover {opacity:.88;}
.res-home .res-firstvisit-image .res-firstvisit-banner img {display:block;width:100%;height:auto;}
@media(max-width:767px){
 .res-home .resonance-hero .proof-wrap {width:100%!important;margin:0!important;padding:6px 12px 19px!important;background:#faf7f1!important;}
 .res-home .resonance-hero .proof {grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;}
 .res-home .resonance-hero .proof-item {padding:5px 3px 8px!important;border-right:1px solid #e8d9be!important;}
 .res-home .resonance-hero .proof-item:last-child {border-right:0!important;}
 .res-home .resonance-hero .proof-item .res-hero-proof-icon {display:block!important;width:40px!important;height:40px!important;margin:0 auto 6px!important;}
 .res-home .resonance-hero .proof-item .res-bold b {font-size:clamp(8px,2.24vw,10px)!important;line-height:1.4!important;letter-spacing:-.035em!important;}
 .res-home .resonance-hero .proof-item .proof-caption {font-size:clamp(7px,1.85vw,9px)!important;line-height:1.38!important;margin:5px 0 0!important;}
 .res-home .res-firstvisit-image {gap:16px!important;margin-top:23px!important;}
 .res-home .res-firstvisit-image .res-firstvisit-photo {aspect-ratio:4/3!important;border-radius:15px!important;}
 .res-home .res-firstvisit-image .res-firstvisit-banner {border-radius:12px!important;}
}
@media(max-width:350px){.res-home .resonance-hero .proof-wrap{padding-inline:6px!important}.res-home .resonance-hero .proof-item{padding-inline:2px!important}}

/* v3.3.3 — photo -> three steps -> description -> image link */
.res-home .res-firstvisit-section .res-firstvisit-image {max-width:850px; margin:28px auto 0; display:grid;gap:18px;}
.res-home .res-firstvisit-section .res-firstvisit-steps {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;max-width:none!important;margin:0!important;align-items:stretch;}
.res-home .res-firstvisit-section .res-firstvisit-steps .step {min-width:0!important;min-height:105px!important;padding:15px 8px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:10px!important;text-align:center!important;border-radius:13px!important;border:1px solid #e9d5b3!important;background:#fffdfb!important;box-shadow:none!important;}
.res-home .res-firstvisit-section .res-firstvisit-steps .step-n {width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;margin:0!important;border-radius:0!important;background:transparent!important;color:#ab8952!important;font:500 21px/1.1 Georgia,serif!important;}
.res-home .res-firstvisit-section .res-firstvisit-steps .step h3 {font-family:var(--serif)!important;line-height:1.5!important;margin:0!important;font-size:clamp(14px,1.75vw,18px)!important;font-weight:500!important;overflow-wrap:anywhere;}
.res-home .res-firstvisit-section .res-firstvisit-explanation {text-align:center!important;font-size:clamp(13px,1.6vw,17px)!important;line-height:1.95!important;color:#685e54!important;margin:0 auto!important;max-width:780px!important;padding:0 3px!important;}
.res-home .res-reasons-section .reason-card:nth-child(2) .reason-media > figure img {object-fit:contain!important;background:#fff!important;padding:14px!important;}
@media (max-width:700px) {
 .res-home .res-firstvisit-section .res-firstvisit-image {gap:14px!important;margin-top:22px!important;}
 .res-home .res-firstvisit-section .res-firstvisit-steps {gap:7px!important;}
 .res-home .res-firstvisit-section .res-firstvisit-steps .step {min-height:85px!important;padding:9px 3px!important;gap:7px!important;border-radius:11px!important;}
 .res-home .res-firstvisit-section .res-firstvisit-steps .step-n {font-size:17px!important;}
 .res-home .res-firstvisit-section .res-firstvisit-steps .step h3 {font-size:clamp(11px,3vw,13px)!important;line-height:1.4!important;letter-spacing:-.02em!important;}
 .res-home .res-firstvisit-section .res-firstvisit-explanation {font-size:13px!important;line-height:1.85!important;}
 .res-home .res-reasons-section .reason-card:nth-child(2) .reason-media {aspect-ratio:4 / 3!important;max-height:260px!important;background:#fff!important;}
 .res-home .res-reasons-section .reason-card:nth-child(2) .reason-media > figure img {padding:6px!important;object-fit:contain!important;}
}

/* v3.3.5 — scoped mobile-first updates */
.res-home .proof-wrap {display:none !important;} /* fallback for older personalized home pages */
.res-home .res-reasons-section .reason-media figure {margin:0;overflow:hidden;border-radius:15px;background:#f7f3ee;}
.res-home .res-reasons-section .reason-media img{width:100% !important;height:100% !important;display:block;object-fit:cover !important;object-position:center !important;}
.res-home .res-reasons-section .reason-card:nth-child(2) .reason-media img{object-fit:contain !important;background:#f5f2ec;}
.res-home .res-reasons-section .reason-card:nth-child(3) .reason-media img{object-position:center 38% !important;}
.res-home .res-access-original{background:#f6f6f5 !important;padding-block:66px 74px !important;}
.res-home .res-access-original-inner{max-width:740px !important;margin-inline:auto !important;}
.res-home .res-access-logo{font-family:'Century Gothic','Avenir Next',sans-serif!important;text-transform:uppercase;letter-spacing:.045em;font-size:clamp(30px,6vw,53px)!important;font-weight:400!important;text-align:center!important;line-height:1.15!important;}
.res-home .res-access-sub{text-align:center!important;letter-spacing:.075em;font-size:15px!important;margin:3px auto 28px!important;}
.res-home .res-access-service{background:#fff!important;padding:25px!important;display:grid!important;gap:18px!important;border-radius:4px!important;}
.res-home .res-access-service-label{font-size:16px!important;font-weight:600!important;}
.res-home .res-access-buttons{display:grid!important;gap:10px!important;}
.res-home .res-access-buttons .wp-block-button{width:100%!important;}
.res-home .res-access-buttons .wp-block-button__link{display:flex!important;align-items:center;justify-content:center;min-height:54px;width:100%!important;border-radius:4px!important;background:#bea78b!important;color:white!important;}
.res-home .res-access-buttons .res-btn-line .wp-block-button__link{background:#fff!important;color:#886e50!important;border:1px solid #cabbab!important;}
.res-home .res-access-hours{font-size:16px!important;font-weight:650!important;line-height:1.7!important;}
.res-home .res-access-closed{font-size:14px!important;line-height:1.65!important;color:#504940!important;}
.res-home .res-access-privacy{font-size:15px!important;margin:22px 0!important;text-align:left!important;}
.res-home .res-access-privacy a{color:#51463b!important;text-decoration:none!important;}
.res-home .res-access-map{display:grid!important;gap:9px!important;}
.res-home .res-access-map .map-wrap{width:100%!important;border-radius:6px!important;overflow:hidden!important;background:#edeae4!important;}
.res-home .res-access-map iframe{display:block;width:100%!important;height:330px!important;border:0!important;}
.res-home .res-access-address{font-size:15px!important;border-bottom:1px dotted #c9c2b8!important;padding-bottom:8px!important;}
.res-home .res-access-floor{color:#766a59!important;font-size:12px!important;line-height:1.7!important;}
@media(max-width:700px){
 .res-home .res-reasons-section .reason-card .reason-media{aspect-ratio:4/3!important;height:auto!important;max-height:250px!important;}
 .res-home .res-reasons-section .reason-card:nth-child(3) .reason-media{aspect-ratio:4/3!important;max-height:240px!important;}
 .res-home .res-access-original{padding:55px 0 68px!important;}
 .res-home .res-access-original-inner{width:calc(100% - 32px)!important;margin-inline:auto!important;}
 .res-home .res-access-service{padding:17px!important;gap:14px!important;}
 .res-home .res-access-logo{font-size:38px!important;}
 .res-home .res-access-sub{font-size:13px!important;}
 .res-home .res-access-buttons .wp-block-button__link{min-height:50px!important;font-size:15px!important;}
}

/* 3.3.6: removed optional first-visit portrait and unnecessary floor note. */
.res-home .res-firstvisit-section .res-firstvisit-image {margin-top:22px!important;}
.res-home .res-access-map .map-wrap, .res-home .res-access-map iframe { min-height:260px; }


/* v3.3.7 — Global floating scroll-to-top button, separate from Gutenberg content. */
.res-scroll-to-top {
 position:fixed; right:clamp(16px,4vw,28px);
 bottom:calc(24px + env(safe-area-inset-bottom,0px));
 z-index:120; display:flex; align-items:center; justify-content:center;
 width:58px; height:58px; padding:0;
 border:1px solid rgba(255,255,255,.58); border-radius:50%;
 background:#c4aa8f; color:#fff; cursor:pointer;
 box-shadow:0 7px 22px rgba(57,45,31,.18);
 opacity:0; visibility:hidden; pointer-events:none;
 transform:translateY(12px);
 transition:opacity .24s ease, transform .24s ease, visibility .24s;
 -webkit-tap-highlight-color:transparent;
}
.res-scroll-to-top.is-visible {
 opacity:1; visibility:visible; pointer-events:auto;
 transform:translateY(0);
}
.res-scroll-to-top svg {display:block;width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round;}
.res-scroll-to-top:hover {background:#ad8d6e;box-shadow:0 9px 25px rgba(57,45,31,.22);}
.res-scroll-to-top:focus-visible {outline:3px solid #7b5b35;outline-offset:4px;}
@media(max-width:700px){
 .res-scroll-to-top {width:54px;height:54px;right:17px;bottom:calc(23px + env(safe-area-inset-bottom,0px));}
 /* Leave space for the theme's sticky reservation/LINE strip when present. */
 body:has(.res-mobile-cta) .res-scroll-to-top,
 body:has(.mobile-cta) .res-scroll-to-top {bottom:calc(85px + env(safe-area-inset-bottom,0px));}
}
@media(prefers-reduced-motion:reduce){
 .res-scroll-to-top {transition:none!important;}
}


/* v3.3.8 — Director portrait & exact star-to-scroll-top color matching. */
.res-home .director-photo {
  border:1px solid #ddc8a8;
  border-radius:22px;
  background:#fffcf7;
  padding:6px;
  box-shadow:0 10px 28px rgba(63,42,23,.085);
  overflow:hidden;
}
.res-home .director-photo figure,
.res-home .director-photo .wp-block-image { display:block; margin:0!important; width:100%; height:100%; overflow:hidden; border-radius:16px; }
.res-home .director-photo img { display:block; width:100%!important; height:100%!important; object-fit:cover!important; object-position:center 20%!important; border-radius:16px; }
/* A star paragraph can inherit the general voice-card text color: override it specifically. */
.res-home .voice-track .voice-card .stars,
.res-home .voice-track .voice-card p.stars,
.res-home .voice-track .voice-card .voice-meta .stars,
.res-home .voice-card .stars { color:#c4aa8f!important; }
@media (max-width:700px) {
  .res-home .director-card { display:flex!important; flex-direction:column!important; gap:21px!important; padding:20px 17px!important; align-items:stretch!important; }
  .res-home .director-photo { flex:none!important; width:214px!important; max-width:min(214px,100%)!important; height:auto!important; aspect-ratio:180/197!important; margin:0 auto!important; border-radius:20px!important; padding:5px!important; }
  .res-home .director-photo figure, .res-home .director-photo .wp-block-image, .res-home .director-photo img {border-radius:15px!important;}
  .res-home .director-copy {width:100%; min-width:0;}
}

/* v3.3.9: Native editable Gutenberg video block */
.res-home .res-concept-section .res-concept-video { max-width:820px; margin:24px auto 16px; overflow:hidden; border-radius:18px; background:#191919; box-shadow:0 9px 30px rgba(49,38,24,.09); }
.res-home .res-concept-section .res-concept-video video { display:block; width:100%; height:auto; max-height:72vh; aspect-ratio:16 / 9; object-fit:contain; }
@media(max-width:700px) { .res-home .res-concept-section .res-concept-video { width:100%; border-radius:14px; margin-block:18px; } }

/* v3.3.10: mobile navigation accordion, consistent compact rows. */
@media (max-width:780px) {
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item {
    min-height:60px!important;
  }
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
    min-height:60px!important;
    padding:16px 44px 16px 68px!important;
    display:flex!important;
    align-items:center!important;
    line-height:1.4!important;
  }

  .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item:after {
    top:15px!important;right:14px!important;font-size:25px!important;
  }
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item.has-child.res-submenu-expanded:after {
    content:'⌃'!important;
  }
  .res-legacy-header .res-legacy-navigation .wp-block-navigation-submenu__toggle {
    min-height:60px!important;height:60px!important;width:50px!important;
    z-index:4!important;
  }
  /* Do not trust lingering core is-menu-open / aria-expanded styles. Our class is the single source of truth. */
  .res-legacy-header .res-legacy-navigation .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container,
  .res-legacy-header .res-legacy-navigation .wp-block-navigation-item.has-child.is-menu-open > .wp-block-navigation__submenu-container,
  .res-legacy-header .res-legacy-navigation .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    overflow:hidden!important;
  }
  .res-legacy-header .res-legacy-navigation .wp-block-navigation-item.has-child.res-submenu-expanded > .wp-block-navigation__submenu-container,
  .res-legacy-header .res-legacy-navigation .wp-block-navigation-item.has-child.res-submenu-expanded.is-menu-open > .wp-block-navigation__submenu-container,
  .res-legacy-header .res-legacy-navigation .wp-block-navigation-item.has-child.res-submenu-expanded > .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
    display:block!important;
    visibility:visible!important;
    height:auto!important;
    overflow:visible!important;
  }
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item {
    min-height:43px!important;padding:0 0 0 60px!important;
  }
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    min-height:43px!important;padding:12px 8px!important;font-size:14px!important;
    line-height:1.35!important;display:flex!important;align-items:center!important;
  }
}

/* v3.3.11 — independently clickable top-level submenu headings. */
.res-mobile-submenu-button{display:none}
@media(max-width:780px){
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation-item__content,
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation-submenu__toggle {display:none!important}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item.has-child > .res-mobile-submenu-button{
   display:flex!important;position:relative!important;z-index:10!important;align-items:center!important;justify-content:center!important;
   box-sizing:border-box!important;width:100%!important;min-height:60px!important;padding:12px 44px 12px 68px!important;
   border:0!important;border-radius:0!important;background:transparent!important;color:#34302c!important;
   font-size:15px!important;font-weight:700!important;line-height:1.4!important;font-family:inherit!important;text-align:center!important;cursor:pointer!important;
 }
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item.has-child > .res-mobile-submenu-button::after{
   content:'⌄';position:absolute;right:14px;top:50%;transform:translateY(-55%);color:#c4aa8f;font-size:24px;
 }
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item.has-child > .res-mobile-submenu-button[aria-expanded="true"]::after{content:'⌃'}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item.has-child::after{content:none!important}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation-item.has-child > .wp-block-navigation__submenu-container{display:none!important;visibility:hidden!important;height:0!important;overflow:hidden!important}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation-item.has-child.res-submenu-expanded > .wp-block-navigation__submenu-container{display:block!important;visibility:visible!important;height:auto!important;overflow:visible!important}
}


/* v3.3.12: common editorial presentation on all posts and regular pages.
   Front page is intentionally excluded to preserve its bespoke layout and editor. */
body.single-post main.res-article-layout,
body.page:not(.home):not(.front-page) main.res-article-layout {
  box-sizing:border-box; width:min(100% - 40px,800px)!important;
  max-width:800px!important; margin:0 auto!important;
  padding:44px 0 72px!important;
}
body.single-post main.res-article-layout .wp-block-post-title,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-title {
  max-width:100%;font-size:clamp(27px,3.6vw,37px);line-height:1.5;
  margin:0 0 14px!important;overflow-wrap:anywhere;
}
body.single-post main.res-article-layout .wp-block-post-date {
 color:#86796d; font-size:13px; margin-bottom:32px!important;
}
body.single-post main.res-article-layout .wp-block-post-content,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content {
 max-width:100%!important;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
 font-size:16px!important;line-height:1.9!important;color:#302a25;
 overflow-wrap:anywhere; word-break:normal;
}
body.single-post main.res-article-layout .wp-block-post-content :is(p,ul,ol),
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(p,ul,ol) {
 margin-top:0;margin-bottom:1.5em;
}
body.single-post main.res-article-layout .wp-block-post-content :is(h2,h3,h4,h5,h6),
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(h2,h3,h4,h5,h6) {
 max-width:100%;line-height:1.5;overflow-wrap:anywhere;
}
body.single-post main.res-article-layout .wp-block-post-content h2,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content h2 {
 font-size:clamp(22px,3vw,29px);margin:2.2em 0 1em!important;
 border-left:4px solid #c4aa8f;padding-left:14px;
}
body.single-post main.res-article-layout .wp-block-post-content h3,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content h3 {
 font-size:clamp(19px,2.4vw,23px);margin:1.9em 0 .85em!important;
}
body.single-post main.res-article-layout .wp-block-post-content :is(h4,h5,h6),
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(h4,h5,h6) {
 font-size:17px;margin:1.7em 0 .7em!important;
}
body.single-post main.res-article-layout .wp-block-post-content :is(figure,.wp-block-image,.wp-block-video),
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(figure,.wp-block-image,.wp-block-video){
 margin-top:1.7em;margin-bottom:1.7em;
}
body.single-post main.res-article-layout .wp-block-post-content :is(img,video,iframe),
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(img,video,iframe){
 max-width:100%;height:auto;
}
body.single-post main.res-article-layout .wp-block-post-content .aligncenter,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content .aligncenter{margin-left:auto;margin-right:auto;text-align:center;}
body.single-post main.res-article-layout .wp-block-post-content :is(.wp-block-group,.wp-block-columns) {
 max-width:100%;
}
@media(max-width:767px){
 body.single-post main.res-article-layout,
 body.page:not(.home):not(.front-page) main.res-article-layout {
   width:calc(100% - 36px)!important;padding:30px 0 56px!important;
 }
 body.single-post main.res-article-layout .wp-block-post-content,
 body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content {font-size:15px!important;line-height:1.85!important;}
}

/* v3.3.13: booking summary and clickable identity */
.res-legacy-brand a { color:inherit; text-decoration:none; display:inline-block; }
.res-legacy-brand a:hover { opacity:.8; }
.res-legacy-brand a:focus-visible {outline:2px solid #c4aa8f;outline-offset:4px;}
.res-firstvisit-pricing { max-width:740px; margin:26px auto 14px!important; padding:24px 22px!important; background:#faf7f3; border:1px solid #e8dcd0; border-radius:16px; text-align:center; }
.res-firstvisit-pricing h3 { margin:0 0 12px!important; font-size:clamp(19px,3.5vw,23px); }
.res-firstvisit-pricing p { margin:8px auto 14px!important;line-height:1.8; }
.res-firstvisit-booking a {background:#987c61!important;color:white!important;border-radius:50px!important;padding:13px 42px!important;}
@media(max-width:767px){.res-firstvisit-pricing{margin:22px 14px 12px!important;padding:20px 16px!important;} }

/* v3.3.14 latest articles and search: separate from Gutenberg block layout */
.res-blog-discovery{background:#fbf9f4;padding:62px 20px 70px;color:#342f2b}
.res-blog-discovery-inner{max-width:1000px;margin:auto}
.res-blog-heading{text-align:center;margin-bottom:28px}
.res-blog-heading>span{display:block;color:#c6ae94;font-family:Georgia,serif;font-size:clamp(56px,10vw,100px);line-height:1;letter-spacing:.08em;opacity:.5}
.res-blog-heading h2{margin:-24px auto 6px;position:relative;font-size:clamp(23px,3vw,30px);font-weight:700}
.res-blog-heading p{font-size:13px;color:#777;margin:0}
.res-blog-post{display:grid;grid-template-columns:136px minmax(0,1fr);gap:22px;align-items:center;padding:20px 0;border-bottom:1px solid #e4ded5}
.res-blog-post-img{display:block;width:136px;height:110px;background:#f0ebe2;overflow:hidden}
.res-blog-post-img img{width:100%;height:100%;object-fit:cover}
.res-blog-noimage{display:grid;place-items:center;height:100%;font-size:11px;letter-spacing:.12em;color:#bfa68b}
.res-blog-post-copy time{display:block;font-size:13px;color:#716962}
.res-blog-post-copy h3{font-size:19px;line-height:1.5;margin:5px 0 8px;font-weight:700}
.res-blog-post-copy h3 a:hover{color:#b79d83}
.res-blog-label{display:inline-block;padding:4px 11px;background:#c6ad94;color:white;font-size:12px;font-weight:700}
.res-blog-search-area{margin:34px auto 0;padding:25px;background:#f4efe7;border-radius:8px}
.res-blog-search-area h3{font-size:19px;margin:0 0 12px}
.res-blog-search-form label{display:block;font-size:13px;color:#70665d;margin-bottom:9px}
.res-blog-search-fields{display:flex;gap:10px}
.res-blog-search-fields input[type=search]{flex:1;min-width:0;min-height:52px;padding:12px 15px;border:1px solid #dfd6c8;border-radius:4px;background:white;font-size:15px}
.res-blog-search-fields button{min-height:52px;padding:0 24px;background:#c5aa90;color:#fff;border:0;border-radius:4px;font-weight:700;cursor:pointer;white-space:nowrap}
.res-blog-search-fields button:hover{background:#ae9278}
@media(max-width:600px){.res-blog-discovery{padding:46px 18px 56px}.res-blog-heading h2{margin-top:-16px}.res-blog-post{grid-template-columns:104px minmax(0,1fr);gap:16px;padding:18px 0}.res-blog-post-img{width:104px;height:95px}.res-blog-post-copy h3{font-size:15px}.res-blog-search-area{padding:18px 14px}.res-blog-search-fields{gap:7px}.res-blog-search-fields button{padding:0 15px}.res-blog-search-fields input[type=search]{font-size:14px}}



/* v3.3.16 — mobile hero: less zoom, clearly visible subject on the RIGHT.
 * The actual photo remains the editable Gutenberg hero image. Only presentation changes.
 * Image is shown with object-fit:contain, not cover, to prevent unwanted enlargement/crop.
 * Right-side photograph remains visible; light veil stays mainly behind LEFT text.
 */
@media (max-width: 767px) {
  body.home .res-home .resonance-hero > .res-hero-bg-image {
    display: block !important;
    position: absolute !important;
    z-index: 0 !important;
    inset: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    pointer-events: none !important;
  }
  body.home .res-home .resonance-hero > .res-hero-bg-image img {
    position: absolute !important;
    left: auto !important;
    right: 0% !important;
    top: clamp(135px, 38vw, 155px) !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: min(82vw, 335px) !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: right center !important;
    transform: none !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 77%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 77%, transparent 100%);
  }
  body.home .res-home .resonance-hero::before {
    content: '' !important;
    z-index: 1 !important;
    position: absolute !important;
    inset: 0 !important;
    background:
      linear-gradient(90deg,
        rgba(250,247,241,.83) 0%,
        rgba(250,247,241,.68) 40%,
        rgba(250,247,241,.28) 75%,
        rgba(250,247,241,.10) 100%),
      linear-gradient(180deg,
        rgba(250,247,241,.12) 0%,
        rgba(250,247,241,.12) 51%,
        rgba(250,247,241,.34) 72%,
        rgba(250,247,241,.78) 91%,
        #faf7f1 100%) !important;
    pointer-events: none !important;
  }
  body.home .res-home .resonance-hero .hero-copy,
  body.home .res-home .resonance-hero .hero-actions,
  body.home .res-home .resonance-hero .hero-inner {position:relative!important;z-index:2!important;}
}


/* v3.3.17: Reference-faithful mobile first view.
   The supplied reference includes the patient's back, full ceiling, three
   credentials and two examination photographs as one composed image.
   It is displayed without object-fit cropping. The photo area has a subtle
   CSS white veil. Booking and menu retain actual usable controls. */
.res-reference-mobile{display:none}
@media(max-width:767px){
  body.home .res-home .resonance-hero{
    display:block!important; position:relative!important; overflow:visible!important;
    background:#fff!important; margin:0!important; padding:0!important;
    min-height:0!important; width:100%!important; isolation:isolate!important;
  }
  body.home .res-home .resonance-hero::before,
  body.home .res-home .resonance-hero::after{display:none!important;content:none!important;}
  body.home .res-home .resonance-hero > .hero-inner,
  body.home .res-home .resonance-hero > .res-hero-bg-image,
  body.home .res-home .resonance-hero > .proof-wrap{display:none!important;}
  body.home .res-home .resonance-hero > .res-reference-mobile {
    display:block!important; width:100%!important; position:relative!important;
    aspect-ratio: 1024 / 1536!important; overflow:hidden!important;
    margin:0!important; padding:0!important; z-index:1!important;
  }
  body.home .res-reference-mobile > img{
    display:block!important; position:absolute!important; inset:0!important;
    width:100%!important; height:100%!important; max-width:none!important;
    object-fit:fill!important; object-position:center!important; margin:0!important;
  }
  /* Softening affects only the photo portion. Never the 3 icons or exam photos. */
  body.home .res-reference-mobile .res-reference-soft-veil{
    position:absolute!important;inset:0!important;z-index:2!important;pointer-events:none!important;
    background:linear-gradient(90deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.14) 39%,rgba(255,255,255,.33) 65%,rgba(255,255,255,.42) 100%)!important;
    clip-path:none!important;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 27%,transparent 49%)!important;
    mask-image:linear-gradient(to bottom,#000 0%,#000 27%,transparent 49%)!important;
  }
  body.home .res-reference-mobile .res-reference-link{
    position:absolute!important;display:block!important;z-index:6!important;
    background:transparent!important;color:transparent!important;overflow:hidden!important;
  }
  body.home .res-reference-mobile .res-reference-link:focus-visible{
    outline:3px solid #6d4da6!important; outline-offset:-4px!important;border-radius:8px!important;
  }
  body.home .res-reference-mobile .res-reference-home-link {left:2%;top:0.5%;width:52%;height:8%;}
  body.home .res-reference-mobile .res-reference-booking-link {left:5.2%;top:48.5%;width:72%;height:7.1%;border-radius:60px;}
  /* Header is still mounted to keep WordPress's real mobile navigation working.
     Its button sits above the drawn hamburger, and is visually transparent. */
  body.home .res-legacy-header {position:absolute!important;top:var(--wp-admin--admin-bar--height,0px)!important;left:0!important;right:0!important;z-index:9999!important;pointer-events:none!important;background:transparent!important;box-shadow:none!important;border:0!important;}
  body.home .res-legacy-header .res-legacy-top {opacity:0!important;pointer-events:none!important;}
  body.home .res-legacy-header .res-legacy-navwrap{pointer-events:auto!important;top:6px!important;right:2%!important;}
  body.home .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-open{
    opacity:0!important;min-width:50px!important;min-height:49px!important;cursor:pointer!important;
  }
  body.home .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container.is-menu-open{opacity:1!important;}
  body.home .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-close{opacity:1!important;}
}

/* v3.3.20 — new hero visual and supplied identity icon; back-to-top retained. */
@media(max-width:767px){body.home .res-home .resonance-hero > .res-reference-mobile{aspect-ratio:1091 / 1655!important;}
body.home .res-reference-mobile .res-reference-soft-veil{display:none!important;}
body.home .res-reference-mobile .res-reference-booking-link{left:4%;top:48%;width:75%;height:7%;}
}
.res-legacy-identity .res-legacy-brand a{display:inline-flex;align-items:center;gap:.35em;}
.res-legacy-identity .res-legacy-brand a::before{content:"";display:inline-block;width:2.38em;height:1.19em;flex:none;background:url('assets/images/new-logo-icon.png') left center / contain no-repeat;}


/* v3.3.21 — Article typography only (posts and ordinary pages).
 * Keep homepage, headings' existing decoration, hero, menu and CTA unchanged.
 * Chosen Japanese Gothic stack matches the supplied former-site screenshots.
 * WordPress user-selected individual text colors remain respected.
 */
body.single-post main.res-article-layout,
body.page:not(.home):not(.front-page) main.res-article-layout {
  --res-article-font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
body.single-post main.res-article-layout .wp-block-post-content,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content {
  font-family:var(--res-article-font)!important;
  font-size:16px!important;
  line-height:2.0!important;
  color:#404040;
}
body.single-post main.res-article-layout .wp-block-post-content :is(p,li,h2,h3,h4,h5,h6),
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(p,li,h2,h3,h4,h5,h6) {
  font-family:var(--res-article-font)!important;
  line-height:inherit;
}
body.single-post main.res-article-layout .wp-block-post-content :is(p,ul,ol),
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(p,ul,ol) {
  margin-bottom:2em;
}
body.single-post main.res-article-layout .wp-block-post-content :is(h2,h3,h4,h5,h6),
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(h2,h3,h4,h5,h6) {
  line-height:1.6;
}
@media (max-width:767px) {
  body.single-post main.res-article-layout .wp-block-post-content,
  body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content {
    font-size:16px!important;
    line-height:2.03!important;
  }
}


/* ===========================================================
   v3.3.22 — Previously approved UI, scoped to its components.
   No edits to site content, home blocks, other page sections.
   =========================================================== */

/* Logo and EN switch share one real site header (no baked-in header image). */
.res-legacy-identity .res-legacy-brand a::before {
 background-image:url('assets/images/new-logo-icon.png')!important;
 width:2.38em!important;height:1.19em!important;
 background-position:left center!important;
 background-size:contain!important; flex:none!important;
}
.res-legacy-header .res-legacy-brand a {text-transform:uppercase!important;letter-spacing:.17em!important;}
.res-legacy-header .res-legacy-sub {line-height:1.38!important;}
.res-legacy-header {position:relative;}
.res-language-switch {
 position:absolute;top:16px;right:78px;z-index:10001;
 box-sizing:border-box;min-width:88px;height:40px;padding:0 13px;
 display:inline-flex;justify-content:center;align-items:center;gap:9px;
 white-space:nowrap;border:1.5px solid #b6c8c2;border-radius:999px;
 background:rgba(255,255,255,.96);color:#17513c!important;
 font:700 15px/1 "Hiragino Kaku Gothic ProN",Arial,sans-serif;
 box-shadow:0 2px 7px rgba(32,48,40,.07);text-decoration:none!important;
}
.res-language-switch svg {width:20px;height:20px;display:block;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.res-language-switch:hover {background:#f3f7f4}
.res-language-switch:focus-visible{outline:3px solid #b99550;outline-offset:3px}
@media (min-width:981px){.res-language-switch{top:30px;right:26px}.res-legacy-contact{padding-right:105px}}
@media (max-width:980px) {
 .res-legacy-header {z-index:90!important;}
 .res-legacy-header .res-legacy-top {min-height:76px!important;padding:9px 158px 9px 13px!important;gap:0!important;opacity:1!important;pointer-events:auto!important;background:#fcfaf7!important}
 .res-legacy-header .res-legacy-brand {font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(14px,4.2vw,20px)!important;line-height:1.1!important;letter-spacing:.15em!important;font-weight:400!important;white-space:nowrap!important;}
 .res-legacy-header .res-legacy-sub {font-size:clamp(7px,1.85vw,9px)!important;line-height:1.3!important;white-space:normal!important;letter-spacing:0!important;color:#403a33!important;}
 .res-legacy-header .res-legacy-identity {max-width:100%!important;min-width:0!important;padding-left:0!important;flex:1 1 auto!important;}
 .res-legacy-header .res-legacy-identity::before,.res-legacy-header .res-legacy-identity::after{display:none!important;content:none!important}
 .res-legacy-header .res-legacy-navwrap {position:absolute!important;top:16px!important;right:13px!important;left:auto!important;width:44px!important;height:44px!important;margin:0!important;padding:0!important;transform:none!important;pointer-events:auto!important;border:0!important;z-index:10002!important;}
 .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-open {border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;opacity:1!important;min-width:44px!important;min-height:44px!important;color:#302820!important;background:transparent!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;}
 .res-language-switch{top:18px;right:66px;height:40px;min-width:82px;padding:0 12px;font-size:15px}
 .res-legacy-header .res-legacy-navwrap .wp-block-navigation__responsive-container.is-menu-open{opacity:1!important;z-index:10010!important}
}
@media (max-width:767px) {
 /* Restores live, visible header even on the home page; the JPEG now excludes it. */
 body.home .res-legacy-header {position:relative!important;top:auto!important;right:auto!important;left:auto!important;z-index:95!important;pointer-events:auto!important;background:#fcfaf7!important;border-bottom:1px solid #ece5dc!important}
 body.home .res-legacy-header .res-legacy-top {opacity:1!important;pointer-events:auto!important;min-height:76px!important;padding:9px 158px 9px 13px!important;}
 body.home .res-legacy-header .res-legacy-navwrap {top:16px!important;right:13px!important;pointer-events:auto!important}
 body.home .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-open {opacity:1!important;}
 body.home .res-home .resonance-hero>.res-reference-mobile {aspect-ratio:1091 / 1320!important;}
 body.home .res-reference-mobile>img {object-fit:fill!important;}
 body.home .res-reference-mobile .res-reference-soft-veil {display:none!important;}
 /* The embedded photo is already softly whitened and its booking button stays opaque. */
 body.home .res-reference-mobile .res-reference-home-link {display:none!important;}
 body.home .res-reference-mobile .res-reference-booking-link {left:18.5%!important;top:49.4%!important;width:75%!important;height:9.1%!important;border-radius:60px!important;}
 /* Three credentials and examination photos retain their source gold coloring.
    The source image has NO explanatory subcaptions. */
}

/* Bottom actions replace—not overlay—the old LINE / WEB予約 full-width strip. */
@media(max-width:767px){
 body{padding-bottom:calc(87px + env(safe-area-inset-bottom,0px))!important}
 .res-mobile-cta,.mobile-cta {display:none!important;}
 .res-scroll-to-top{display:none!important;}
 .res-sticky-actions{position:fixed;left:0;right:0;bottom:0;z-index:130;
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 padding:13px 18px calc(13px + env(safe-area-inset-bottom,0px));
 background:linear-gradient(to bottom,rgba(252,249,245,.87),rgba(250,247,242,.98));
 box-shadow:0 -8px 25px rgba(45,35,23,.08);pointer-events:none;}
 .res-sticky-actions a,.res-sticky-actions button {pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:10px;
 border-radius:999px;min-height:54px;padding:0 19px;box-sizing:border-box;cursor:pointer;
 font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
 font-size:17px;font-weight:800;line-height:1;letter-spacing:.02em;white-space:nowrap;text-decoration:none!important;
 box-shadow:0 6px 19px rgba(49,40,25,.24),0 2px 5px rgba(49,40,25,.1)}
 .res-sticky-actions svg{width:22px;height:22px;display:block;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
 .res-sticky-actions .res-sticky-top{color:#fff;background:linear-gradient(145deg,#27382f,#11231c);border:2px solid #c99c3a;min-width:138px;}
 .res-sticky-actions .res-sticky-top svg{color:#edc45a;}
 .res-sticky-actions .res-sticky-reserve{color:#17251d;background:linear-gradient(135deg,#f8db7b,#d1a333);border:3px solid #fffef9;min-width:145px;}
 .res-sticky-actions a:focus-visible,.res-sticky-actions button:focus-visible{outline:3px solid #87642f;outline-offset:3px}
}
@media(max-width:350px){.res-sticky-actions{gap:7px;padding-left:9px;padding-right:9px}.res-sticky-actions a,.res-sticky-actions button{padding:0 12px;font-size:14px;min-width:0!important}}
@media(min-width:768px){.res-sticky-actions{display:none!important}}

/* Use the same legible Japanese Gothic stack in all article descendants.
   Hiragino wins on macOS; Noto Sans CJK JP on Linux/Android. */
body.single-post main.res-article-layout,
body.page:not(.home):not(.front-page) main.res-article-layout {
 --res-article-font: "Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Noto Sans CJK JP","Yu Gothic",Meiryo,sans-serif;
}

/* Editorial headings: H1/H2 = fine-grid major titles. H3/H4 = left-ruled minor titles.
   This matches the OLD article's mixed WP heading levels (H1 in content, H4 subheads).
   These selectors never touch home page headings or the article's outer page title. */
body.single-post main.res-article-layout .wp-block-post-content :is(h1,h2),
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(h1,h2) {
 display:block!important;
 border:0!important;border-radius:0!important;
 padding:20px 20px!important;
 background-color:#f7f3e7!important;
 background-image:repeating-linear-gradient(0deg,transparent 0,transparent 10px,rgba(214,199,167,.23) 10px,rgba(214,199,167,.23) 11px),
                  repeating-linear-gradient(90deg,transparent 0,transparent 10px,rgba(214,199,167,.23) 10px,rgba(214,199,167,.23) 11px)!important;
 color:#373737;
 font-size:clamp(24px,3.5vw,31px)!important;
 font-weight:750!important;line-height:1.45!important;
 letter-spacing:0!important;
 margin:2.4em 0 1.5em!important;
 box-shadow:none!important;
}
body.single-post main.res-article-layout .wp-block-post-content :is(h3,h4),
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(h3,h4) {
 display:block!important;
 border:0!important;border-left:5px solid #c4aa8f!important;
 border-bottom:2px solid #dedede!important;
 border-radius:0!important;background:transparent!important;
 padding:0 0 10px 15px!important;
 color:#404040;font-size:clamp(19px,2.5vw,25px)!important;
 font-weight:750!important;line-height:1.5!important;
 margin:2.7em 0 1.25em!important;
}
body.single-post main.res-article-layout .wp-block-post-content,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content{
 font-family:var(--res-article-font)!important;
 font-size:16px!important;line-height:2.08!important;
}
body.single-post main.res-article-layout .wp-block-post-content :is(p,ul,ol),
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(p,ul,ol){margin-bottom:2.15em!important;}
@media(max-width:767px){
 body.single-post main.res-article-layout .wp-block-post-content :is(h1,h2),
 body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(h1,h2){font-size:24px!important;padding:17px 15px!important;}
 body.single-post main.res-article-layout .wp-block-post-content :is(h3,h4),
 body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content :is(h3,h4){font-size:19px!important;margin-top:2.4em!important;}
}

/* v3.3.32 — consistent, label-specific outline navigation icons */
@media (max-width:980px){
.res-legacy-navigation .res-menu-graphic{display:inline-flex!important;vertical-align:middle;align-items:center;justify-content:center;width:27px;height:27px;flex:0 0 27px;margin-right:10px;color:#a78342}
.res-legacy-navigation .res-menu-graphic svg{width:23px;height:23px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.res-legacy-navigation .wp-block-navigation-item__content:has(> .res-menu-graphic),.res-legacy-navigation .res-mobile-submenu-button:has(> .res-menu-graphic){display:inline-flex;align-items:center}
}
@media (min-width:981px){.res-menu-graphic{display:none!important}}


/* v3.3.33 — header logo uses the supplied Resonance logo; CTA/button color matched to first view. */
.res-firstvisit-booking a {
  background:#987c61!important;
  color:#fff!important;
  border-radius:50px!important;
  padding:13px 42px!important;
  box-shadow:none!important;
}
.res-firstvisit-booking a:hover{background:#80644d!important;color:#fff!important}
.res-firstvisit-booking a:focus-visible{outline:3px solid #34291d;outline-offset:4px}
@media (max-width:980px){
 .res-legacy-identity .res-legacy-brand a::before{
   width:2.15em!important;
   height:1.08em!important;
 }
}

/* v3.3.35: original warm-taupe booking color in BOTH places. */
body .res-fixed-booking a, body .res-fixed-booking a:visited {background:#987c61!important;color:#fff!important}
body .res-fixed-booking a:hover {background:#80644d!important}
.res-firstvisit-booking a, .res-firstvisit-booking a:visited {background:#987c61!important;color:#fff!important}
.res-firstvisit-booking a:hover {background:#80644d!important}

/* Media list and staff entrance: same champagne/gold/ivory design language. */
.res-media-brief{background:#fffdfa!important;padding:48px 20px 10px!important}
.res-media-brief .res-info-inner, .res-staff-nav .res-info-inner{max-width:920px;margin:0 auto}
.res-media-brief .res-info-heading,.res-staff-nav .res-info-heading{font-family:var(--serif);font-weight:500;text-align:center;font-size:clamp(23px,3.4vw,33px);line-height:1.5;margin:0 0 25px}
.res-media-brief .res-info-kicker,.res-staff-nav .res-info-kicker{color:#a8864d;font-size:11px;font-weight:700;letter-spacing:.22em;text-align:center;margin:0 0 4px}
.res-media-list{border-top:1px solid #e9e0d2}
.res-media-list p{margin:0!important;border-bottom:1px solid #e9e0d2}
.res-media-list p a{display:block;padding:14px 12px;color:#4d443c;text-decoration:none;font-size:14px;line-height:1.75;transition:background .2s}
.res-media-list p a:hover,.res-media-list p a:focus-visible{background:#fbf6eb;color:#84662e}
.res-staff-nav{background:#fffdfa!important;padding:25px 20px 72px!important}
.res-staff-nav .res-info-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 36px;background:#f9f5ee;border:1px solid #e7dcca;border-radius:17px}
.res-staff-nav .res-info-kicker,.res-staff-nav .res-info-heading{text-align:left}
.res-staff-nav .res-info-heading{margin:0 0 8px;font-size:clamp(22px,3vw,29px)}
.res-staff-nav .res-info-sub{margin:0!important;color:#70685e;font-size:14px;line-height:1.75}
.res-staff-nav .res-staff-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:48px;padding:10px 24px;background:#987c61;border-radius:999px;color:#fff!important;text-decoration:none;font-size:14px;font-weight:600;flex-shrink:0}
.res-staff-nav .res-staff-link:hover{background:#80644d}
.res-staff-nav .res-staff-link:focus-visible{outline:3px solid #ae8851;outline-offset:3px}
@media(max-width:650px){.res-media-brief{padding:32px 16px 10px!important}.res-staff-nav{padding:15px 16px 48px!important}.res-staff-nav .res-info-inner{display:block;padding:25px 22px}.res-staff-nav .res-staff-link{margin-top:20px;width:100%}}

/* Article text colors: leave Gutenberg class/inline color declarations in control. */
body.single-post main.res-article-layout .wp-block-post-content .has-ivory-color,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content .has-ivory-color{color:#fffdfa}
body.single-post main.res-article-layout .wp-block-post-content .has-brown-color,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content .has-brown-color{color:#251f1a}
body.single-post main.res-article-layout .wp-block-post-content .has-gold-color,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content .has-gold-color{color:#b99550}
body.single-post main.res-article-layout .wp-block-post-content .has-gold-dark-color,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content .has-gold-dark-color{color:#84662e}
body.single-post main.res-article-layout .wp-block-post-content .has-white-color,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content .has-white-color{color:#ffffff}
body.single-post main.res-article-layout .wp-block-post-content .has-article-charcoal-color,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content .has-article-charcoal-color{color:#404040}
body.single-post main.res-article-layout .wp-block-post-content .has-soft-beige-color,
body.page:not(.home):not(.front-page) main.res-article-layout .wp-block-post-content .has-soft-beige-color{color:#c4aa8f}

/* Staff directory page (all blocks editable in the native page editor). */
.res-staff-page-intro{max-width:790px;margin:0 auto 30px!important;text-align:center;color:#61564b;line-height:1.9}
.res-staff-profiles{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px!important;max-width:960px!important;margin:0 auto!important}
.res-staff-profile{padding:26px 19px!important;border:1px solid #e8dcc9;background:#fffefa;border-radius:15px;box-shadow:0 6px 18px rgba(67,49,23,.06);min-width:0}
.res-staff-profile .res-staff-role{font-size:11px!important;letter-spacing:.12em;color:#a08252!important;margin:0 0 8px!important}
.res-staff-profile h3{border:0!important;padding:0!important;margin:0 0 12px!important;color:#40392f;font-family:var(--serif)!important;font-size:21px!important;font-weight:500!important}
.res-staff-profile p{font-size:13px!important;line-height:1.85!important;margin:0!important;color:#675e54}
@media(max-width:720px){.res-staff-profiles{grid-template-columns:1fr!important}.res-staff-profile{padding:24px!important}}

/* Directly editable video explanation block, below the video. */
.res-home .res-concept-description{max-width:810px;margin:25px auto 0!important;text-align:center;color:#62594f;font-size:clamp(14px,1.45vw,16px);line-height:2.1!important;padding:0 12px}
@media(max-width:670px){.res-home .res-concept-description{text-align:left;line-height:1.9!important}}


/* v3.3.36 | Old staff gallery layout, retaining editability of image/name blocks. */
.res-staff-template .res-staff-crumb-wrap{background:#f8f5ee!important;padding:14px max(18px,calc((100vw - 1120px) / 2))!important;}
.res-staff-template .res-staff-breadcrumb{font-size:13px;color:#b49b7b;margin:0!important;line-height:1.65}
.res-staff-template .res-staff-breadcrumb a{color:#514943;font-weight:650}
.res-staff-template .res-staff-banner{min-height:178px;background:linear-gradient(95deg,#fdfcfa 0%,#f9f6f0 53%,rgba(249,246,240,.65) 100%)!important;display:flex;align-items:center;padding:32px max(22px,calc((100vw - 1120px) / 2))!important;border-bottom:1px solid #f2ede3}
.res-staff-template .res-staff-banner .wp-block-post-title{font-family:var(--serif)!important;font-size:clamp(30px,3.1vw,42px)!important;line-height:1.4;margin:0!important;color:#342e28!important;font-weight:500!important}
.res-staff-template .res-staff-content{width:min(1120px,calc(100% - 34px));margin:0 auto;padding:65px 0 95px!important}
.res-staff-template .res-staff-page-intro{display:none!important}
.res-staff-template .res-staff-profiles{max-width:1120px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;margin:0 auto!important}
.res-staff-template .res-staff-profiles>.res-staff-profile{min-width:0;background:#fff!important;border:1px solid #eeeae4!important;border-radius:2px!important;padding:0!important;box-shadow:0 3px 15px rgba(55,43,31,.08)!important;overflow:hidden}
.res-staff-template .res-staff-portrait{margin:0!important;padding:0!important;aspect-ratio:364/395;overflow:hidden;background:#f5f1ec!important}
.res-staff-template .res-staff-portrait img{height:100%!important;width:100%!important;display:block!important;object-fit:cover!important;object-position:50% 50%!important;border-radius:0!important;margin:0!important}
.res-staff-template .res-staff-profiles .res-staff-profile .res-staff-card-name{margin:0!important;padding:21px 20px 23px!important;font-family:var(--sans);font-weight:650;line-height:1.5}
.res-staff-template .res-staff-profile .res-staff-card-name a{color:#403c38!important;text-decoration:none!important;font-size:16px!important}
.res-staff-template .res-staff-profile .res-staff-card-name a::before{content:'›';color:#bc9f79;margin-right:11px;font-size:23px;font-weight:400;vertical-align:-1px}
.res-staff-template .res-staff-card-name a:hover{color:#987c61!important}
.res-staff-template .res-staff-card-name a:focus-visible{outline:3px solid #b99550;outline-offset:4px}
/* Page/post Gutenberg colors: selected color must win against generic article typography. */
/* Explicit palette colors use WordPress CSS variables, not inheritance. */
body:is(.single-post,.page:not(.home):not(.front-page)) main.res-article-layout .wp-block-post-content .has-ivory-color{color:var(--wp--preset--color--ivory,#fffdfa)!important}
body:is(.single-post,.page:not(.home):not(.front-page)) main.res-article-layout .wp-block-post-content .has-brown-color{color:var(--wp--preset--color--brown,#251f1a)!important}
body:is(.single-post,.page:not(.home):not(.front-page)) main.res-article-layout .wp-block-post-content .has-gold-color{color:var(--wp--preset--color--gold,#b99550)!important}
body:is(.single-post,.page:not(.home):not(.front-page)) main.res-article-layout .wp-block-post-content .has-gold-dark-color{color:var(--wp--preset--color--gold-dark,#84662e)!important}
body:is(.single-post,.page:not(.home):not(.front-page)) main.res-article-layout .wp-block-post-content .has-white-color{color:#fff!important}
body:is(.single-post,.page:not(.home):not(.front-page)) main.res-article-layout .wp-block-post-content .has-article-charcoal-color{color:var(--wp--preset--color--article-charcoal,#404040)!important}
body:is(.single-post,.page:not(.home):not(.front-page)) main.res-article-layout .wp-block-post-content .has-soft-beige-color{color:var(--wp--preset--color--soft-beige,#c4aa8f)!important}
@media(max-width:760px){
 .res-staff-template .res-staff-content{padding:35px 0 62px!important}
 .res-staff-template .res-staff-banner{min-height:130px}
 .res-staff-template .res-staff-profiles{grid-template-columns:1fr!important;max-width:480px!important;gap:20px!important}
 .res-staff-template .res-staff-portrait{aspect-ratio:364/395}
}


/* v3.3.37 — profile button sits at lower right inside the existing greeting card. */
.res-home .director-card .res-director-profile-actions{
  display:flex!important;justify-content:flex-end!important;align-items:center;
  margin:22px 0 0!important;gap:0!important;
}
.res-home .director-card .res-director-profile-actions .res-director-profile-button{margin:0!important}
.res-home .director-card .res-director-profile-button .wp-block-button__link{
  display:inline-flex!important;align-items:center;justify-content:center;
  min-height:48px!important;padding:11px 25px!important;
  background:#987c61!important;color:#fff!important;
  font-size:14px!important;font-weight:600!important;line-height:1.6!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  text-decoration:none!important;
}
.res-home .director-card .res-director-profile-button .wp-block-button__link:hover{background:#80644d!important}
.res-home .director-card .res-director-profile-button .wp-block-button__link:focus-visible{outline:3px solid #b99550;outline-offset:3px}
@media(max-width:600px){
  .res-home .director-card .res-director-profile-actions{justify-content:flex-end!important}
  .res-home .director-card .res-director-profile-button .wp-block-button__link{padding:11px 15px!important;font-size:13px!important}
}


/* v3.3.38 — Use ONLY the inline SVG tied to each menu label. Remove the
   legacy positional icon circles, and left-align the links and accordion. */
@media(max-width:980px){
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item::before,
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item:nth-child(n)::before {
    display:none!important;content:none!important;background:none!important;
    border:0!important;width:0!important;height:0!important;
  }
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__container > .wp-block-navigation-item.has-child > .res-mobile-submenu-button {
    box-sizing:border-box!important;width:100%!important;
    padding-left:20px!important;padding-right:49px!important;
    display:flex!important;justify-content:flex-start!important;
    align-items:center!important;text-align:left!important;gap:0!important;
  }
  .res-legacy-header .res-legacy-navigation .res-menu-graphic {flex:0 0 27px!important;margin:0 13px 0 0!important;}
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item {padding-left:40px!important;}
  .res-legacy-header .res-legacy-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {text-align:left!important;justify-content:flex-start!important;}
}

/* v3.3.38 — Old site's warm ivory/gold archive styling, restored and
   responsive without altering the real post contents or archive query. */
.res-case-archive {width:min(1080px,calc(100% - 36px));margin:0 auto;padding:0 0 68px}
.res-case-breadcrumb {font-size:14px;padding:18px 0;color:#7a7066}
.res-case-breadcrumb a{color:#675d54;text-decoration:none}
.res-case-breadcrumb strong{color:#bda284}
.res-case-header{margin:0 0 40px!important;padding:44px clamp(18px,5vw,62px)!important;background:#f9f7f3;min-height:155px;display:flex;align-items:center}
.res-case-header h1{font-family:var(--sans);font-weight:600;font-size:clamp(28px,4vw,40px);line-height:1.5;margin:0!important;color:#37332e}
.res-case-archive .wp-block-post-template{list-style:none!important;padding:0!important;margin:0!important;display:block!important}
.res-case-archive .wp-block-post{border-bottom:1px dashed #dcd9d4;margin:0 0 25px;padding:0 0 28px;display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:26px;align-items:start}
.res-case-archive .wp-block-post-featured-image{grid-column:1;grid-row:1 / span 3;margin:0!important;max-width:220px}
.res-case-archive .wp-block-post-featured-image img{display:block;width:100%!important;height:auto!important;aspect-ratio:1.48;object-fit:cover}
.res-case-archive .wp-block-post-date{grid-column:2;font-weight:600;font-size:13px;color:#706961;margin:2px 0 8px!important}
.res-case-archive .wp-block-post-terms{grid-column:2;display:block;font-size:12px;line-height:2;margin:0 0 8px!important;color:#ad9076}
.res-case-archive .wp-block-post-terms a{background:#cbb198;color:#fff!important;padding:3px 8px;margin:0 5px 4px 0;display:inline-block;line-height:1.55;text-decoration:none}
.res-case-archive .wp-block-post-title{grid-column:2;font-size:clamp(17px,2.1vw,22px)!important;font-weight:700;line-height:1.65!important;margin:0!important;padding:0!important;overflow-wrap:anywhere}
.res-case-archive .wp-block-post-title a{text-decoration:none!important;color:#353535}
.res-case-archive .wp-block-query-pagination{display:flex;justify-content:center;gap:16px;align-items:center;margin:30px auto}
@media(max-width:700px){
 .res-case-archive{width:calc(100% - 28px)!important}
 .res-case-header{padding:26px 18px!important;min-height:110px;margin-bottom:26px!important}
 .res-case-header h1{font-size:27px!important}
 .res-case-archive .wp-block-post{display:flex!important;flex-direction:column;gap:0!important;margin-bottom:24px;padding-bottom:24px;}
 .res-case-archive .wp-block-post-featured-image{width:100%;max-width:360px;margin:0 auto 15px!important;align-self:center}
 .res-case-archive .wp-block-post-featured-image img{width:100%!important;aspect-ratio:1.5;height:auto!important;object-fit:cover}
 .res-case-archive .wp-block-post-date{font-size:14px;margin:0 0 7px!important}
 .res-case-archive .wp-block-post-terms{margin:0 0 12px!important}
 .res-case-archive .wp-block-post-title{font-size:18px!important;line-height:1.58!important;margin:0!important;}
}

/* v3.3.38 — /access/: render original content as readable mobile blocks.
   Never hard-code the clinic's editable address, timetable or train links. */
.res-legacy-access{width:min(990px,calc(100% - 36px));margin:0 auto;padding:0 0 74px}
.res-legacy-access .res-case-breadcrumb{padding:17px 0}
.res-legacy-access>h1{font-family:var(--sans);font-size:clamp(29px,4vw,38px);font-weight:600;background:#f9f7f3;color:#38332e;padding:40px clamp(20px,4vw,48px);margin:0 0 30px}
.res-legacy-access .wp-block-post-content{font-size:15px;line-height:1.8;color:#423d36;min-width:0;overflow-wrap:anywhere}
.res-legacy-access .wp-block-post-content > *{max-width:100%}
.res-legacy-access :is(.wp-block-image,img){max-width:100%;height:auto}
.res-legacy-access .wp-block-post-content :is(figure,iframe){max-width:100%}
.res-legacy-access .wp-block-post-content iframe{display:block;width:100%;max-width:100%;min-height:300px;border:0}
.res-legacy-access .wp-block-post-content h4{margin:34px 0 16px;padding:12px 14px;background:#f6f2e9;border-left:4px solid #b99550;font-size:19px}
.res-legacy-access .wp-block-post-content :is(table,.wp-block-table){width:100%;max-width:100%;table-layout:auto}
.res-legacy-access .wp-block-post-content table{border-collapse:collapse;width:100%;max-width:100%}
.res-legacy-access .wp-block-post-content :is(td,th){padding:11px 10px;border:1px solid #e4ded5;vertical-align:top;overflow-wrap:anywhere}
.res-legacy-access .wp-block-post-content :is(td,th):first-child{background:#f9f7f3;font-weight:600}
.res-legacy-access .wp-block-post-content a{color:#94703a;text-underline-offset:3px;text-decoration:underline}
.res-legacy-access .wp-block-post-content ul{padding-left:1.3em}
@media(max-width:700px){
 .res-legacy-access{width:calc(100% - 28px)!important;padding-bottom:40px}
 .res-legacy-access>h1{padding:27px 17px;font-size:28px;margin-bottom:22px}
 .res-legacy-access .wp-block-post-content{font-size:14px;line-height:1.8}
 .res-legacy-access .wp-block-post-content :is(table,.wp-block-table){font-size:13px!important}
 .res-legacy-access .wp-block-post-content :is(td,th){padding:9px 6px;word-break:normal}
 .res-legacy-access .wp-block-post-content iframe{height:300px!important;min-height:300px}
 .res-legacy-access .wp-block-post-content .wp-block-table{overflow-x:auto;-webkit-overflow-scrolling:touch;display:block;max-width:100%}
 .res-legacy-access .wp-block-post-content .wp-block-table table{min-width:0;}
}

/* v3.3.39 — mobile menu: retain only semantic SVG icon and label. The old
   generated icon declarations above have been deleted, not just masked. */
@media(max-width:980px){
 body .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation__container > .wp-block-navigation-item::before,
 body .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation__container > .wp-block-navigation-item:nth-child(n)::before{
  content:none!important;display:none!important;width:0!important;height:0!important;border:0!important;
 }
 body .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation__container > .wp-block-navigation-item{
  justify-content:flex-start!important;text-align:left!important;padding-left:0!important;
 }
 body .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content,
 body .res-legacy-header .res-legacy-navigation .wp-block-navigation__responsive-container-content .wp-block-navigation__container > .wp-block-navigation-item.has-child > .res-mobile-submenu-button{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:100%!important;padding-left:24px!important;padding-right:48px!important;
  text-align:left!important;gap:0!important;margin-left:0!important;
 }
 body .res-legacy-header .res-legacy-navigation .res-menu-graphic{margin:0 14px 0 0!important;flex:0 0 27px!important}
}

/* v3.3.39 — old site's director profile layout. Scoped to /staff/nakagome/ only. */
body.page-nakagome .res-profile-breadcrumb{max-width:1050px;margin:0 auto!important;padding:18px 20px!important;background:#f9f6f1;color:#b89977;font-size:14px}
body.page-nakagome .res-profile-breadcrumb a{color:#5b5146;text-decoration:none}
body.page-nakagome .res-director-profile-page{margin:0!important;padding:0!important;background:#fff}
body.page-nakagome .res-director-profile-title{background:linear-gradient(rgba(255,255,255,.84),rgba(255,255,255,.84)),url('assets/images/director-greeting-approved-342.webp') center 37% / cover no-repeat;position:relative;padding:52px clamp(20px,4vw,64px)!important;margin:0!important;isolation:isolate;color:#333;font-size:clamp(27px,3.8vw,39px)!important;font-weight:500!important;border:0!important}

body.page-nakagome .res-director-profile-content{width:min(100% - 40px,1040px);margin:50px auto 90px!important;padding:0!important}
body.page-nakagome .res-profile-portrait{width:min(100%,310px);margin:0 auto 34px!important}
body.page-nakagome .res-profile-portrait img{display:block;width:100%!important;height:auto!important;object-fit:contain!important;box-shadow:none;border-radius:0}
body.page-nakagome .res-profile-facts{border-top:1px solid #e0dad2;border-bottom:1px solid #e0dad2}
body.page-nakagome .res-profile-fact-row{display:grid!important;grid-template-columns:minmax(115px,22%) minmax(0,1fr);align-items:start;gap:18px;margin:0!important;padding:21px 8px!important;border-bottom:1px solid #e8e3dd}
body.page-nakagome .res-profile-fact-row:last-child{border:0}
body.page-nakagome .res-profile-fact-row .res-profile-fact-label{font-size:16px!important;font-weight:700!important;border:0!important;border-left:0!important;border-bottom:0!important;background:transparent!important;margin:0!important;padding:0!important;color:#3c3732!important;line-height:1.7!important;letter-spacing:.03em}
body.page-nakagome .res-profile-fact-row .res-profile-fact-content{font-size:15px!important;line-height:1.9!important;color:#45413d!important;margin:0!important;padding:0!important}
body.page-nakagome .res-profile-fact-row .res-profile-fact-content ul{margin:0!important;padding-left:1.4em!important}
body.page-nakagome .res-profile-fact-row .res-profile-fact-content li{padding:2px 0!important}
body.page-nakagome .res-profile-fact-row .res-profile-fact-content p{margin:0 0 .9em!important;line-height:1.9!important}
body.page-nakagome .res-profile-fact-row .res-profile-fact-content p:last-child{margin-bottom:0!important}
body.page-nakagome .res-director-diploma-title{padding:0 0 10px!important;border:0!important;border-bottom:2px solid #dcc5a6!important;background:none!important;color:#41372e!important;font-size:23px!important;margin:50px 0 24px!important}
body.page-nakagome .res-director-diploma-note{color:#71695f;font-size:14px!important;line-height:1.85!important}
@media(max-width:700px){
 body.page-nakagome .res-director-profile-title{padding:35px 20px!important;font-size:29px!important}
 body.page-nakagome .res-director-profile-content{width:calc(100% - 30px);margin:30px auto 75px!important}
 body.page-nakagome .res-profile-portrait{max-width:290px;margin:0 auto 28px!important}
 body.page-nakagome .res-profile-fact-row{grid-template-columns:1fr;gap:5px;padding:20px 8px!important}
 body.page-nakagome .res-profile-fact-row .res-profile-fact-label{font-size:17px!important}
 body.page-nakagome .res-profile-fact-row .res-profile-fact-content{font-size:14px!important;line-height:1.85!important}
}

/* v3.3.40 — show verified diploma images in the director profile */
body.page-nakagome .res-director-diploma-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0 48px!important;}
body.page-nakagome .res-director-diploma-gallery .res-director-diploma{margin:0!important;border:1px solid #e7dfd4;padding:10px;background:#fff;box-shadow:0 5px 18px rgba(69,49,25,.055)}
body.page-nakagome .res-director-diploma-gallery img{width:100%!important;height:235px!important;object-fit:contain!important;background:#fff}
body.page-nakagome .res-director-diploma-gallery a{display:block!important;}
body.page-nakagome .res-director-diploma-gallery a:focus-visible{outline:3px solid #b99550;outline-offset:4px}
body.page-nakagome .res-director-diploma-admin{font-size:13px}
@media(max-width:767px){body.page-nakagome .res-director-diploma-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0 34px!important}body.page-nakagome .res-director-diploma-gallery .res-director-diploma{padding:5px}body.page-nakagome .res-director-diploma-gallery img{height:180px!important}}

/* v3.3.41 Diploma section: old-site natural image sizing and breathing room. */
body.page-nakagome .res-diploma-original-layout{display:flex!important;align-items:flex-start!important;flex-wrap:wrap!important;gap:18px!important;margin:20px auto 36px!important;}
body.page-nakagome .res-diploma-original-layout .res-director-diploma{width:calc(33.333% - 12px);max-width:340px;margin:0!important;padding:0!important;box-shadow:none!important;border:0!important;background:transparent!important;}
body.page-nakagome .res-diploma-original-layout .res-director-diploma img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;display:block!important;}
@media(max-width:767px){body.page-nakagome .res-diploma-original-layout{gap:12px!important}body.page-nakagome .res-diploma-original-layout .res-director-diploma{width:calc(50% - 6px)}}

/* v3.3.42 — portrait clarity: limit enlargement in greeting. */
.res-home .res-director img[src*="director-greeting"],
.res-home .res-director-photo img[src*="director-greeting"],
.res-home figure:has(img[src*="director-greeting"]) img { object-fit:cover!important; object-position:center top!important; }

/* v3.3.43: old gallery photo grid and keyboard-operable lightbox */
body.page-nakagome .res-diploma-343{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;margin:26px auto 42px!important;align-items:start!important}
body.page-nakagome .res-diploma-343 .res-director-diploma{width:auto!important;max-width:none!important;margin:0!important;padding:8px!important;border:1px solid #eee6dd!important;background:#fff!important;}
body.page-nakagome .res-diploma-343 img{width:100%!important;height:215px!important;object-fit:contain!important;background:#fff!important;}
body.page-nakagome .res-diploma-343 a{display:block!important}
body.res-diploma-open{overflow:hidden!important}
.res-diploma-lightbox[hidden]{display:none!important}
.res-diploma-lightbox{position:fixed!important;inset:0!important;background:rgba(0,0,0,.81)!important;z-index:1000000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:28px 68px!important;box-sizing:border-box!important}
.res-diploma-stage{max-width:min(88vw,1100px);max-height:88vh;display:flex;align-items:center;justify-content:center}
.res-diploma-stage img{display:block;max-width:100%!important;max-height:85vh!important;width:auto!important;height:auto!important;object-fit:contain!important;background:white}
.res-diploma-lightbox button{appearance:none;border:0;background:rgba(0,0,0,.5);color:#fff;cursor:pointer;line-height:1;display:grid;place-items:center;position:absolute}
.res-diploma-lightbox button:focus-visible{outline:3px solid #e2bb7e;outline-offset:3px}
.res-diploma-close{top:15px;right:18px;font-size:48px;width:50px;height:50px}
.res-diploma-prev,.res-diploma-next{top:50%;transform:translateY(-50%);width:45px;height:70px;font-size:56px}
.res-diploma-prev{left:12px}.res-diploma-next{right:12px}
.res-diploma-counter{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);color:#fff;font-size:14px;background:rgba(0,0,0,.3);padding:3px 12px}
@media(max-width:767px){body.page-nakagome .res-diploma-343{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}body.page-nakagome .res-diploma-343 img{height:170px!important}.res-diploma-lightbox{padding:20px 35px!important}.res-diploma-prev,.res-diploma-next{width:30px;font-size:40px}.res-diploma-prev{left:2px}.res-diploma-next{right:2px}}


/* v3.3.44: an unmistakable but understated link to the full price list. */
.res-home .res-firstvisit-pricing p a[href*="/price/"],
body.home .res-firstvisit-pricing p a[href*="/price/"] {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  width:min(100%,340px)!important;
  min-height:48px!important;
  margin:17px auto 12px!important;
  padding:10px 42px 10px 24px!important;
  border:1.5px solid #b99f7f!important;
  border-radius:6px!important;
  color:#594936!important;
  background:#f6eee3!important;
  box-shadow:0 2px 9px rgba(80,53,22,.045)!important;
  font-size:15px!important;
  font-weight:700!important;
  letter-spacing:.05em!important;
  line-height:1.45!important;
  text-decoration:none!important;
  transition:background-color .2s ease, border-color .2s ease!important;
}
.res-home .res-firstvisit-pricing p a[href*="/price/"]::after,
body.home .res-firstvisit-pricing p a[href*="/price/"]::after {
  content:"›"; position:absolute;right:20px;top:50%;transform:translateY(-54%);
  color:#9a7645;font-size:25px;line-height:1;
}
.res-home .res-firstvisit-pricing p a[href*="/price/"]:hover,
body.home .res-firstvisit-pricing p a[href*="/price/"]:hover {
  background:#ebddca!important; border-color:#967346!important;
}
.res-home .res-firstvisit-pricing p a[href*="/price/"]:focus-visible,
body.home .res-firstvisit-pricing p a[href*="/price/"]:focus-visible{
  outline:3px solid #b99550!important;outline-offset:3px!important;
}
@media(max-width:767px){
 body.home .res-firstvisit-pricing p a[href*="/price/"]{width:100%!important;max-width:100%!important;}
}

/* v3.3.44: price page layout closer to the previous site's simple, open
   Japanese headings and well-defined payment tables. Only /price/ is affected. */
body.page-price main.res-article-layout{
 --res-price-ink:#403a35;--res-price-accent:#c6aa8b;
 width:min(100% - 40px,1050px)!important;
 max-width:1050px!important;
 padding:0 0 90px!important;
 margin:0 auto!important;
 color:var(--res-price-ink)!important;
}
body.page-price .res-price-breadcrumb{
 font-size:14px!important;line-height:1.5!important;
 margin:0 calc((min(100vw,1120px) - min(100vw - 40px,1050px)) / -2) 0!important;
 padding:22px max(20px,calc((100vw - 1050px)/2))!important;
 color:#b7997e!important;background:#f9f7f2!important;
}
body.page-price .res-price-breadcrumb a{color:#494039!important;text-decoration:none!important}
body.page-price .res-price-breadcrumb a:hover{text-decoration:underline!important}
body.page-price main.res-article-layout > .wp-block-post-title{
 margin:0 0 44px!important;
 padding:48px 22px!important;
 background:linear-gradient(90deg,rgba(250,248,246,.96),rgba(248,246,243,.67))!important;
 border:0!important;
 font-size:clamp(30px,4vw,40px)!important;
 font-weight:600!important;
 color:#37322f!important;
}
body.page-price .wp-block-post-content{
 width:min(100% - 36px,960px)!important;max-width:960px!important;
 margin:0 auto!important;
 font-size:16px!important;line-height:1.9!important;
}
body.page-price .wp-block-post-content h2{
 display:block!important;
 margin:65px 0 25px!important;
 padding:13px 15px 16px!important;
 border:0!important;border-bottom:3px solid #c9ad90!important;
 border-radius:0!important;
 background:none!important;background-image:none!important;
 color:#403832!important;
 font-size:clamp(23px,3vw,30px)!important;
 font-weight:700!important;
 letter-spacing:.045em!important;
}
body.page-price .wp-block-post-content h4,
body.page-price .wp-block-post-content h3{
 margin:32px 0 18px!important;padding:0 0 10px 15px!important;
 border-left:4px solid #c9ad90!important;border-bottom:1px solid #ddd5cd!important;
 background:none!important;background-image:none!important;
 font-size:clamp(18px,2.6vw,22px)!important;
 line-height:1.5!important;color:#433c36!important;
}
body.page-price .wp-block-post-content p{
 margin-bottom:18px!important;line-height:1.9!important;
}
body.page-price .wp-block-post-content figure.wp-block-table{
 display:block!important;width:100%!important;max-width:100%!important;
 overflow-x:auto!important;-webkit-overflow-scrolling:touch;
 margin:22px 0 26px!important;
}
body.page-price .wp-block-post-content table{
 border-collapse:collapse!important;border-spacing:0!important;
 width:100%!important;max-width:100%!important;
 margin:22px 0 26px!important;
 font-size:clamp(13px,2.5vw,16px)!important;
 text-align:center!important;line-height:1.65!important;
 color:#403832!important;
}
body.page-price .wp-block-post-content figure.wp-block-table table{margin:0!important}
body.page-price .wp-block-post-content table td,
body.page-price .wp-block-post-content table th{
 padding:14px 10px!important;
 border:1px solid #d7ccc0!important;
 vertical-align:middle!important;
 overflow-wrap:anywhere!important;
}
body.page-price .wp-block-post-content table th,
body.page-price .wp-block-post-content table thead td,
body.page-price .wp-block-post-content table tr:first-child td{
 background:#f4ede4!important;font-weight:700!important;
}
body.page-price .wp-block-post-content table tr:nth-child(even) td{
 background:#fffaf5;
}
body.page-price .wp-block-post-content table tr > :first-child{
 font-weight:650!important;text-align:left!important;
}
body.page-price .wp-block-post-content a{color:#96754f;text-decoration:underline;text-underline-offset:3px}
@media(max-width:767px){
 body.page-price main.res-article-layout{width:100%!important;padding:0 0 60px!important}
 body.page-price .res-price-breadcrumb{margin:0!important;padding:16px 20px!important}
 body.page-price main.res-article-layout > .wp-block-post-title{
   padding:36px 22px!important;margin:0 0 28px!important;
   font-size:29px!important;
 }
 body.page-price .wp-block-post-content{width:calc(100% - 34px)!important;max-width:100%!important;font-size:15px!important}
 body.page-price .wp-block-post-content h2{margin:45px 0 19px!important;font-size:24px!important;padding:10px 2px 13px!important}
 body.page-price .wp-block-post-content h3,
 body.page-price .wp-block-post-content h4{font-size:18px!important;margin:27px 0 14px!important}
 body.page-price .wp-block-post-content table{font-size:13px!important}
 body.page-price .wp-block-post-content figure.wp-block-table table{min-width:520px!important}
 body.page-price .wp-block-post-content table td,
 body.page-price .wp-block-post-content table th{padding:10px 8px!important}
}


/* v3.3.47 — diploma gallery uses only approved images and same-size frames like the original site. */
body.page-nakagome .res-director-diploma-gallery.res-diploma-347{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:26px!important;
  margin:22px 0 42px!important;
  align-items:stretch!important;
}
body.page-nakagome .res-diploma-347 .res-director-diploma{
  margin:0!important;
  padding:16px!important;
  border:1px solid #e4ddd4!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.page-nakagome .res-diploma-347 .res-director-diploma a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:310px!important;
  background:#fff!important;
}
body.page-nakagome .res-diploma-347 .res-director-diploma img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:278px!important;
  object-fit:contain!important;
  background:#fff!important;
}
@media(max-width:767px){
  body.page-nakagome .res-director-diploma-gallery.res-diploma-347{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
    margin:16px 0 34px!important;
  }
  body.page-nakagome .res-diploma-347 .res-director-diploma{padding:10px!important}
  body.page-nakagome .res-diploma-347 .res-director-diploma a{min-height:215px!important}
  body.page-nakagome .res-diploma-347 .res-director-diploma img{max-height:193px!important}
}

/* v3.3.54 lightbox: click outside the document image to close. */
.res-diploma-lightbox .res-diploma-stage{width:100%;height:100%;max-height:88vh;cursor:zoom-out}
.res-diploma-lightbox .res-diploma-stage img{cursor:default}

/* v3.3.55: compact the six symptom cards to ~70% of previous area on phones.
   Keep two columns, even card sizes, readable copy, and centered margins. */
@media (max-width:700px) {
 body.home .res-home .res-symptoms .res-symptoms__grid {
   width:84%!important;
   max-width:420px!important;
   margin-left:auto!important;
   margin-right:auto!important;
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:11px!important;
   align-items:stretch!important;
 }
 body.home .res-home .res-symptoms .res-symptoms__card {
   width:100%!important;
   min-width:0!important;
   min-height:0!important;
   height:auto!important;
   aspect-ratio:1 / 1.13!important;
   padding:10px 5px 19px!important;
   border-radius:16px!important;
   justify-content:center!important;
 }
 body.home .res-home .res-symptoms .res-symptoms__card .res-symptoms__icon {
   width:min(55px,45%)!important;
   height:auto!important;
   max-height:55px!important;
   margin:0 auto 5px!important;
 }
 body.home .res-home .res-symptoms .res-symptoms__card .res-symptoms__name {
   font-size:clamp(11px,3.2vw,13px)!important;
   line-height:1.45!important;
   overflow-wrap:anywhere!important;
 }
 body.home .res-home .res-symptoms .res-symptoms__card .res-symptoms__desc {
   font-size:clamp(9px,2.4vw,10px)!important;
   line-height:1.4!important;
   margin:4px 0 0!important;
   overflow-wrap:anywhere!important;
 }
 body.home .res-home .res-symptoms .res-symptoms__card::after {
   bottom:4px!important;
   font-size:16px!important;
 }
}
@media (max-width:360px) {
 body.home .res-home .res-symptoms .res-symptoms__grid{width:90%!important;gap:8px!important}
}



/* v3.3.64 — final approved six-card design. These rules replace the v3.3.63
   variant; earlier legacy visual rules are overridden without changing the six
   icon files, link targets, or the WordPress block structure. */
html body.home .res-home .res-symptoms .res-symptoms__inner{max-width:1120px!important}
html body.home .res-home .res-symptoms .res-symptoms__grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  width:100%!important;max-width:1120px!important;margin:0 auto!important;
  gap:30px 12px!important;align-items:stretch!important;
}
html body.home .res-home .res-symptoms a.res-symptoms__card{
  display:grid!important;grid-template-columns:135px minmax(0,1fr) 55px!important;
  grid-template-rows:minmax(0,auto) minmax(0,auto)!important;
  align-content:center!important;align-items:center!important;justify-items:stretch!important;
  width:100%!important;height:auto!important;min-height:204px!important;max-height:none!important;
  min-width:0!important;aspect-ratio:auto!important;box-sizing:border-box!important;
  padding:19px 18px!important;gap:6px 15px!important;
  background:#fffdfa!important;border:1.3px solid #d9b879!important;border-radius:23px!important;
  color:#352c25!important;box-shadow:none!important;overflow:hidden!important;
  text-decoration:none!important;transform:none!important;
  transition:background .18s ease,box-shadow .18s ease!important;
}
html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__icon{
  grid-column:1!important;grid-row:1/3!important;display:flex!important;
  width:135px!important;max-width:135px!important;height:100%!important;max-height:none!important;
  align-items:center!important;justify-content:center!important;
  margin:0!important;padding:0 13px 0 0!important;
  background:transparent!important;border:0!important;border-right:1px solid #e2d1b3!important;
  border-radius:0!important;box-shadow:none!important;
}
html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__icon figure{
  display:flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;padding:0!important;width:100%!important;height:100%!important;
  background:transparent!important;border:0!important;
}
html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__icon img{
  display:block!important;object-fit:contain!important;width:112px!important;height:112px!important;
  max-width:100%!important;max-height:112px!important;margin:0 auto!important;
  border:0!important;border-radius:0!important;background:transparent!important;
}
html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__name{
  grid-column:2!important;grid-row:1!important;align-self:end!important;
  font-family:var(--serif)!important;font-size:clamp(20px,2.3vw,27px)!important;
  line-height:1.42!important;letter-spacing:0!important;font-weight:500!important;
  margin:0!important;min-height:0!important;text-align:left!important;color:#30251f!important;
  overflow-wrap:anywhere!important;
}
html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__desc{
  grid-column:2!important;grid-row:2!important;align-self:start!important;
  font-family:var(--sans)!important;font-size:clamp(14px,1.55vw,18px)!important;
  font-weight:400!important;line-height:1.48!important;
  margin:0!important;text-align:left!important;color:#786f66!important;overflow-wrap:anywhere!important;
}
html body.home .res-home .res-symptoms a.res-symptoms__card::after{
  content:'▶'!important;display:grid!important;place-items:center!important;
  grid-column:3!important;grid-row:1/3!important;align-self:center!important;justify-self:center!important;
  position:static!important;inset:auto!important;top:auto!important;right:auto!important;
  width:54px!important;height:54px!important;min-height:54px!important;
  box-sizing:border-box!important;margin:0!important;padding:0 0 0 3px!important;
  border:1.1px solid #4b413a!important;border-radius:50%!important;background:transparent!important;
  color:#4b413a!important;font:400 20px/1 system-ui,sans-serif!important;
  box-shadow:none!important;transform:none!important;pointer-events:none!important;
}
html body.home .res-home .res-symptoms a.res-symptoms__card:is(:hover,:focus-visible){
  background:#fff9ef!important;box-shadow:0 7px 23px rgba(69,47,26,.10)!important;
}
html body.home .res-home .res-symptoms a.res-symptoms__card:focus-visible{outline:2px solid #a9854a!important;outline-offset:3px!important}
/* Tablet/mobile: retain the established two-column card grid while avoiding overflow. */
@media(max-width:767px){
  html body.home .res-home .res-symptoms{padding-left:11px!important;padding-right:11px!important}
  html body.home .res-home .res-symptoms .res-symptoms__grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;max-width:430px!important;
  }
  html body.home .res-home .res-symptoms a.res-symptoms__card{
    grid-template-columns:30px minmax(0,1fr) 23px!important;
    min-height:118px!important;padding:10px 6px!important;
    column-gap:5px!important;row-gap:3px!important;border-radius:14px!important;
  }
  html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__icon{
    width:30px!important;max-width:30px!important;padding:0 2px 0 0!important;
  }
  html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__icon img{
    width:28px!important;height:28px!important;max-height:28px!important;
  }
  html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__name{
    font-size:clamp(10px,2.9vw,13px)!important;line-height:1.31!important;
  }
  html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__desc{
    font-size:clamp(8.8px,2.37vw,10.2px)!important;line-height:1.4!important;
  }
  html body.home .res-home .res-symptoms a.res-symptoms__card::after{
    width:23px!important;height:23px!important;min-height:23px!important;
    font-size:10px!important;padding-left:1px!important;border-width:1px!important;
  }
}
@media(max-width:355px){
  html body.home .res-home .res-symptoms{padding-left:8px!important;padding-right:8px!important}
  html body.home .res-home .res-symptoms .res-symptoms__grid{gap:7px!important}
  html body.home .res-home .res-symptoms a.res-symptoms__card{
    grid-template-columns:25px minmax(0,1fr) 20px!important;padding:8px 4px!important;column-gap:3px!important;
  }
  html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__icon{width:25px!important;max-width:25px!important}
  html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__icon img{width:23px!important;height:23px!important}
  html body.home .res-home .res-symptoms a.res-symptoms__card::after{width:20px!important;height:20px!important;min-height:20px!important}
}
/* Certificates in reason #1: never crop the credential text or alter other photos. */
body.home .res-home .res-reasons-section .reason-card:first-child .reason-media{
  background:#eee9df!important;
}
body.home .res-home .res-reasons-section .reason-card:first-child .reason-media figure.res-reason-photo-01{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:100%!important;margin:0!important;
  border-radius:14px!important;overflow:hidden!important;
  background:#eee9df!important;
}
body.home .res-home .res-reasons-section .reason-card:first-child .reason-media figure.res-reason-photo-01 img{
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;object-fit:contain!important;object-position:center!important;
  background:#eee9df!important;
}


/* v3.3.64 — director profile: credential information as quiet framed sections.
   Only /staff/nakagome/ is affected. Image gallery and enlarged view are unchanged. */
body.page-nakagome .res-director-profile-content .res-profile-facts{
  display:block!important;border:0!important;margin:30px 0 44px!important;
}
body.page-nakagome .res-director-profile-content .res-profile-fact-row{
  display:block!important;grid-template-columns:none!important;gap:0!important;
  margin:0 0 18px!important;padding:0!important;
  border:1px solid #dedbd5!important;background:#fff!important;
  box-shadow:none!important;overflow:hidden!important;
}
body.page-nakagome .res-director-profile-content .res-profile-fact-row .res-profile-fact-label{
  display:block!important;margin:0!important;padding:13px 20px!important;
  font-family:var(--sans)!important;font-size:clamp(17px,2vw,21px)!important;
  line-height:1.6!important;font-weight:700!important;letter-spacing:.02em!important;
  background:#f9f7f2!important;color:#342e29!important;
  border:0!important;border-bottom:3px solid #dedbd5!important;
}
body.page-nakagome .res-director-profile-content .res-profile-fact-row .res-profile-fact-content{
  display:block!important;margin:0!important;padding:18px 20px 22px!important;
  background:#fff!important;font-family:var(--sans)!important;
  font-size:clamp(14px,1.7vw,17px)!important;line-height:1.9!important;
  color:#383431!important;
}
body.page-nakagome .res-director-profile-content .res-profile-fact-row .res-profile-fact-content ul{
  margin:0!important;padding:0!important;list-style:none!important;
}
body.page-nakagome .res-director-profile-content .res-profile-fact-row .res-profile-fact-content li{
  position:relative!important;display:block!important;list-style:none!important;
  margin:0!important;padding:5px 0 5px 28px!important;
  line-height:1.85!important;font-weight:650!important;overflow-wrap:anywhere!important;
}
body.page-nakagome .res-director-profile-content .res-profile-fact-row .res-profile-fact-content li::before{
  content:''!important;position:absolute!important;left:0!important;top:1.02em!important;
  width:10px!important;height:10px!important;border-radius:50%!important;
  background:#cbb299!important;
}
body.page-nakagome .res-director-profile-content .res-profile-fact-row .res-profile-fact-content p{
  margin:0 0 14px!important;line-height:1.9!important;font-weight:400!important;
}
body.page-nakagome .res-director-profile-content .res-profile-fact-row .res-profile-fact-content p:last-child{margin-bottom:0!important}
/* The banner is a narrow landscape crop of a portrait photo. Focus on the lower
   white coat rather than the eyes. Keep title legible with a light veil. */
body.page-nakagome .res-director-profile-title{
  background-image:linear-gradient(rgba(255,255,255,.69),rgba(255,255,255,.69)),url('assets/images/director-greeting-approved-342.webp')!important;
  background-size:cover!important;background-position:center 96%!important;
  background-repeat:no-repeat!important;
}
@media(max-width:700px){
  body.page-nakagome .res-director-profile-content .res-profile-fact-row{margin-bottom:13px!important}
  body.page-nakagome .res-director-profile-content .res-profile-fact-row .res-profile-fact-label{padding:11px 14px!important;font-size:18px!important}
  body.page-nakagome .res-director-profile-content .res-profile-fact-row .res-profile-fact-content{padding:14px 15px 17px!important;font-size:14px!important;line-height:1.8!important}
  body.page-nakagome .res-director-profile-content .res-profile-fact-row .res-profile-fact-content li{padding-left:22px!important;font-weight:650!important}
  body.page-nakagome .res-director-profile-content .res-profile-fact-row .res-profile-fact-content li::before{width:8px!important;height:8px!important}
  body.page-nakagome .res-director-profile-title{background-position:center 98%!important}
}

/* v3.3.67: removed section must not reappear from cached old markup */
body.home .res-home .res-whole-body-section{display:none!important;}
.res-home .res-concept-section .res-concept-description{max-width:820px;margin:28px auto 0;line-height:1.95;white-space:normal;}

/* v3.3.67: removed section must not reappear from cached old markup */
body.home .res-home .res-whole-body-section{display:none!important;}
.res-home .res-concept-section .res-concept-description{max-width:820px;margin:28px auto 0;line-height:1.95;white-space:normal;}

/* v3.3.68 — paragraph is ABOVE video; retain established type styling. */
.res-home .res-concept-section .res-concept-description{margin:18px auto 24px!important;}

/* v3.3.69 — Make the six symptom-card labels and descriptions about 10% larger
   on smartphones while retaining the existing two-column card layout,
   original icons, arrows, links and spacing. */
@media (max-width: 767px) {
  html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__name {
    font-size:clamp(11px,3.19vw,14.3px)!important;
  }
  html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__desc {
    font-size:clamp(9.68px,2.607vw,11.22px)!important;
  }
}

/* v3.3.70: compact access information in the real site footer; preserve all sticky CTAs. */
.site-footer .res-footer-access-370 {
  max-width:1120px; width:calc(100% - 36px); margin:24px auto 0; padding:18px 0 4px;
  border-top:1px solid rgba(221,204,175,.34); color:#e7dbcc;
  display:flex; align-items:center; justify-content:space-between; gap:14px 28px; flex-wrap:wrap;
}
.site-footer .res-footer-access-370__link {
  color:#f4e8d5; font-size:15px; font-weight:700; text-decoration:none;
  border-bottom:1px solid #c8a76d; padding-bottom:3px;
}
.site-footer .res-footer-access-370__link:hover,
.site-footer .res-footer-access-370__link:focus-visible {color:#e1bd78; outline-offset:4px;}
.site-footer .res-footer-access-370__address {
  color:#d7ccbe; font-size:12px; line-height:1.7; margin:0;
}
@media(max-width:700px){
  .site-footer .res-footer-access-370 {width:calc(100% - 32px); padding:16px 0 0; gap:9px; align-items:flex-start; display:flex; flex-direction:column;}
  .site-footer .res-footer-access-370__address{font-size:12px;}
}

.site-footer .res-footer-access-370__privacy {color:#cabfad; font-size:12px; text-decoration:none;}
.site-footer .res-footer-access-370__privacy:hover,
.site-footer .res-footer-access-370__privacy:focus-visible {color:#f4e8d5;text-decoration:underline;}

/* v3.3.71 — fixed hero exam images use clean image files only.
   Do not revert to the blur-baked "original" files in assets/hero/. */
body .res-fixed-hero .res-fixed-exams > figure.res-fixed-exam-photo img{
  filter:none!important;backdrop-filter:none!important;-webkit-filter:none!important;
}
/* v3.3.71 — quiet premium map and button in shared footer, never in the FAQ area. */
.site-footer .res-footer-map-371{
  box-sizing:border-box;width:calc(100% - 36px);max-width:1120px;
  margin:36px auto 0;padding:0; color:#faf5ec;
}
.site-footer .res-footer-map-371__title{
  margin:0 0 16px;color:#d4b484;letter-spacing:.16em;
  font:500 14px/1.5 Georgia,'Yu Mincho',serif;
}
.site-footer .res-footer-map-371__title span{
  font:500 16px/1.5 'Hiragino Kaku Gothic ProN',sans-serif;
  letter-spacing:.04em;margin-left:12px;color:#f4ece1;
}
.site-footer .res-footer-map-371__frame{
  width:100%;height:clamp(220px,30vw,360px);border:1px solid #bfa681;
  border-radius:12px;overflow:hidden;background:#f7f3eb;
}
.site-footer .res-footer-map-371__frame iframe{
  display:block;width:100%;height:100%;border:0;margin:0;
}
.site-footer .res-footer-access-370{
  margin-top:18px!important;padding:0 0 6px!important;border-top:0!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px 24px!important;
}
.site-footer .res-footer-access-370 p{margin:0!important;}
.site-footer .res-footer-access-370__link{
  box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;
  min-height:52px;padding:12px 20px!important;gap:18px;
  font-size:15px!important;line-height:1.5!important;font-weight:700!important;
  color:#43372c!important;background:#f7f0e3!important;border:1px solid #d5b989!important;
  border-radius:7px!important;text-decoration:none!important;box-shadow:none;
}
.site-footer .res-footer-access-370__link::after{
  content:'›';font-size:24px;line-height:1;color:#957141;font-weight:400;
}
.site-footer .res-footer-access-370__link:hover,.site-footer .res-footer-access-370__link:focus-visible{
  background:#fffaf2!important;border-color:#a98753!important;color:#322820!important;
}
@media(max-width:700px){
  .site-footer .res-footer-map-371{width:calc(100% - 28px);margin:26px auto 0;}
  .site-footer .res-footer-map-371__frame{height:260px;border-radius:10px;}
  .site-footer .res-footer-access-370{width:calc(100% - 28px)!important;align-items:stretch!important;flex-direction:column!important;gap:10px!important;}
  .site-footer .res-footer-access-370__link{width:100%;min-height:54px;justify-content:center;}
}

/* v3.3.72 — requested changes only. */
/* Keep the header visible during scrolling, including the homepage where
   older mobile CSS explicitly forced position:relative. */
html body .res-legacy-header,
html body.home .res-legacy-header {
 position:sticky!important;position:-webkit-sticky!important;
 top:var(--wp-admin--admin-bar--height,0px)!important;
 left:auto!important;right:auto!important;
 z-index:9999!important;
 background:#fcfaf7!important;
}
html body .wp-site-blocks {overflow:visible!important;}
html {scroll-padding-top:calc(84px + var(--wp-admin--admin-bar--height,0px));}
/* Center the explanation box, not each individual line. */
html body.home .res-home .res-concept-section .res-concept-description{
 width:min(100%,770px); margin:22px auto 28px!important;
 text-align:left!important; line-height:1.95!important;
}
/* Make paragraph breaks between symptom examples one normal line. */
html body.home .res-concept-description .res-concept-example{display:block;margin:0;}
html body.home .res-concept-description .res-concept-bridge{display:block;margin-top:1.1em;}
@media(max-width:767px){
 html body{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))!important;}
 html body .res-sticky-actions{
   background:transparent!important;box-shadow:none!important;
   padding:6px 12px calc(7px + env(safe-area-inset-bottom,0px))!important;
   gap:8px!important;justify-content:space-between!important;
 }
 html body .res-sticky-actions a,html body .res-sticky-actions button{
   min-height:44px!important;min-width:0!important;
   padding:0 12px!important;gap:6px!important;
   font-size:14px!important;box-shadow:0 3px 10px rgba(49,40,25,.17)!important;
 }
 html body .res-sticky-actions .res-sticky-top{border-width:2px!important;}
 html body .res-sticky-actions .res-sticky-reserve{border-width:2px!important;}
 html body .res-sticky-actions svg{width:18px!important;height:18px!important;}
}
/* Keep reason-two analysis report complete and readable on mobile. */
html body.home .res-reasons-section .res-reason-photo-02 img{
 display:block!important;max-width:100%!important;width:100%!important;
 height:auto!important;object-fit:contain!important;object-position:center!important;
}
/* Footer access action uses the same quiet ivory/gold theme. */
.site-footer .res-footer-access-370__link{font-size:14px!important;letter-spacing:.01em!important;}


/* v3.3.73 — iPhone Safari: stable centered portrait frame in greeting card. */
@media (max-width: 700px) {
  html body.home .res-home .director-card .director-photo {
    position:relative!important;
    display:block!important;
    flex:0 0 auto!important;
    align-self:center!important;
    box-sizing:border-box!important;
    width:min(214px,100%)!important;
    max-width:214px!important;
    aspect-ratio:180 / 197!important;
    height:auto!important;
    padding:5px!important;
    margin:0 auto!important;
    overflow:hidden!important;
    border-radius:20px!important;
  }
  html body.home .res-home .director-card .director-photo > figure,
  html body.home .res-home .director-card .director-photo > .wp-block-image {
    position:absolute!important;
    inset:5px!important;
    box-sizing:border-box!important;
    width:calc(100% - 10px)!important;
    height:calc(100% - 10px)!important;
    max-height:none!important;
    margin:0!important;
    overflow:hidden!important;
    border-radius:15px!important;
  }
  html body.home .res-home .director-card .director-photo img {
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center 20%!important;
    margin:0!important;
    border-radius:15px!important;
  }
}
/* JS manages a height-matched placeholder so fixed header never covers content. */
html body.res-fixed-header-373 .res-legacy-header {
  position:fixed!important;
  top:var(--wp-admin--admin-bar--height,0px)!important;
  left:0!important;right:0!important;
  width:100%!important;
  z-index:9999!important;
  background:#fcfaf7!important;
  transform:none!important;
  box-sizing:border-box!important;
}
html body.res-fixed-header-373 .res-header-spacer-373 {
  display:block!important;
  width:100%!important;
  flex:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}

/* v3.3.74: Access CTA D x A palette. All elements are real text / CSS, not a raster button. */
.site-footer .res-footer-access-370 {display:flex!important;flex-direction:column!important;align-items:stretch!important;max-width:1120px!important;margin:20px auto 0!important;gap:16px!important;}
.site-footer .res-footer-access-370 > p {margin:0!important;width:100%;}
.site-footer .res-footer-access-370__link {
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:100%!important;min-height:92px!important;padding:16px 18px!important;gap:14px!important;
  background:#f8f2e8!important;color:#352d27!important;border:1.5px solid #c1a06e!important;
  border-radius:20px!important;box-shadow:0 5px 17px rgba(35,25,12,.10)!important;
  letter-spacing:normal!important;text-align:left!important;text-decoration:none!important;
}
.site-footer .res-footer-access-370__link::after{content:none!important;display:none!important;}
.site-footer .res-access374__icon {width:54px;height:54px;min-width:54px;display:grid;place-items:center;color:#a77f4b;border-right:1px solid #dbc9ae;padding-right:12px;box-sizing:content-box;}
.site-footer .res-access374__icon svg{width:41px;height:41px;display:block;}
.site-footer .res-access374__copy{min-width:0;display:flex;flex-direction:column;gap:4px;line-height:1.35;flex:1;}
.site-footer .res-access374__copy strong{font-size:clamp(14px,3.7vw,20px);font-weight:700;line-height:1.35;}
.site-footer .res-access374__copy small{color:#78624a;font-size:clamp(11px,2.9vw,14px);font-weight:500;line-height:1.35;}
.site-footer .res-access374__play{font-size:11px;color:#9d7b4b;margin-right:4px;}
.site-footer .res-access374__arrow{flex:none;width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#af8952;color:#fff;font-size:27px;font-weight:400;line-height:1;}
.site-footer .res-footer-access-370__address{order:2;color:#dbd0c2!important;font-size:clamp(12px,2.85vw,14px)!important;line-height:1.65;padding:4px 0 1px!important;}
.site-footer .res-footer-access-370__privacy{order:3;color:#cbbdaf!important;font-size:13px!important;text-decoration:underline!important;text-underline-offset:4px;}
.site-footer .res-footer-copy-last {color:#bdb3a8!important;font-size:12px!important;letter-spacing:.03em;margin:22px auto 0!important;padding:17px 0 0!important;border-top:1px solid rgba(210,192,164,.25);width:min(1120px,calc(100% - 36px));}
@media(max-width:700px){
 .site-footer .res-footer-access-370__link{min-height:82px!important;padding:12px!important;gap:10px!important;border-radius:15px!important;}
 .site-footer .res-access374__icon{width:37px;height:41px;min-width:37px;padding-right:8px;}
 .site-footer .res-access374__icon svg{width:30px;height:30px;}
 .site-footer .res-access374__arrow{width:26px;height:26px;font-size:23px;}
}

/* v3.3.75 — restore the precise D composition on both generated and saved footer templates. */
.site-footer .res-footer-access-370__link.res-access375,
.site-footer .res-footer-access-370__link:has(.res-access374__icon) {
  display:flex!important;align-items:center!important;gap:13px!important;
  background:linear-gradient(110deg,#fcf8f0 0%,#f8f2e8 100%)!important;
  border:1.5px solid #b9945c!important;border-radius:20px!important;
  box-shadow:0 5px 14px rgba(40,28,15,.11)!important;
  color:#352d27!important;padding:15px 18px!important;min-height:94px!important;
}
.site-footer .res-access374__icon {
  width:66px!important;min-width:66px!important;height:59px!important;
  box-sizing:border-box!important;padding:4px 13px 4px 0!important;
  border-right:1px solid #d9c4a5!important;color:#a47b47!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
}
.site-footer .res-access374__icon svg {width:49px!important;height:49px!important;display:block!important;flex:none!important;}
.site-footer .res-access374__copy {display:flex!important;flex-direction:column!important;gap:4px!important;flex:1 1 auto!important;min-width:0!important;}
.site-footer .res-access374__copy strong{font-family:inherit!important;font-size:clamp(15px,3.55vw,20px)!important;line-height:1.35!important;letter-spacing:0!important;color:#34291f!important;font-weight:700!important;}
.site-footer .res-access374__copy small {display:flex!important;align-items:center!important;gap:6px!important;font-size:clamp(12px,3.05vw,15px)!important;color:#896941!important;font-weight:500!important;line-height:1.35!important;white-space:normal!important;}
.site-footer .res-access374__play{display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;color:#a37a42!important;}
.site-footer .res-access374__play svg{width:23px!important;height:23px!important;display:block!important;}
.site-footer .res-access374__arrow{width:38px!important;min-width:38px!important;height:38px!important;border-radius:50%!important;background:#ae8750!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;}
.site-footer .res-access374__arrow svg{width:19px!important;height:19px!important;display:block!important;}
.site-footer .res-footer-access-370__link:hover{background:#fff9f0!important;box-shadow:0 7px 20px rgba(40,28,15,.16)!important;}
@media(max-width:700px){
 .site-footer .res-footer-access-370__link.res-access375,
 .site-footer .res-footer-access-370__link:has(.res-access374__icon){padding:12px 13px!important;gap:9px!important;min-height:82px!important;border-radius:16px!important;}
 .site-footer .res-access374__icon{width:46px!important;min-width:46px!important;height:45px!important;padding:2px 9px 2px 0!important;}
 .site-footer .res-access374__icon svg{width:34px!important;height:34px!important;}
 .site-footer .res-access374__play svg{width:18px!important;height:18px!important;}
 .site-footer .res-access374__arrow{width:29px!important;min-width:29px!important;height:29px!important;}
 .site-footer .res-access374__arrow svg{width:16px!important;height:16px!important;}
}

/* v3.3.76: targeted home typography, preserving existing icons and layouts. */
body.home .res-fixed-hero .res-fixed-copy .res-fixed-lead{font-size:16px!important;}
@media(max-width:767px){body.home .res-fixed-hero .res-fixed-copy .res-fixed-lead{font-size:clamp(12px,calc(2.9vw + 1px),16px)!important;}}
body.home .res-home .res-concept-section .res-concept-description,
html body.home .res-home .res-concept-section .res-concept-description{text-align:center!important;}
body.home .res-home .res-concept-section .section-title{line-height:1.65;}
/* Access page only; no changes to footer map or other page tables. */
.res-access-376{max-width:920px;margin:18px auto 72px;padding:0 20px;color:#393027;font-family:system-ui,-apple-system,'Noto Sans JP',sans-serif}
.res-access-376 *{box-sizing:border-box}
.res-access-376__heading{font-family:'Noto Serif JP','Yu Mincho',serif;font-weight:500;font-size:clamp(24px,4.3vw,34px);margin:22px 0 12px}
.res-access-376__lead{color:#796a59;line-height:1.9;margin:0 0 18px}
.res-access-376__map{border:1px solid #decbb2;border-radius:16px;overflow:hidden;background:#f2ece2}
.res-access-376__map iframe{width:100%;display:block;height:clamp(230px,43vw,370px);border:0}
.res-access-376__location{padding:20px 4px 12px;display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.res-access-376__address{font-size:15px;line-height:1.8;margin:0}
.res-access-376__pill{display:inline-block;border:1px solid #c3a273;border-radius:25px;padding:10px 17px;color:#58452e!important;text-decoration:none!important;font-weight:600;font-size:13px}
.res-access-376__title{font-family:'Noto Serif JP','Yu Mincho',serif;font-size:clamp(21px,3.5vw,27px);font-weight:500;border-bottom:1px solid #dbc6a6;padding-bottom:12px;margin:34px 0 14px}
.res-access-376__station{border:1px solid #e3d6c5;border-radius:12px;margin:12px 0;overflow:hidden;background:#fffdfa}
.res-access-376__station summary{list-style:none;display:flex;align-items:center;gap:12px;padding:18px 17px;cursor:pointer}
.res-access-376__station summary::-webkit-details-marker{display:none}
.res-access-376__station .res-access-376__pin{display:grid;place-items:center;flex:0 0 39px;height:39px;border-radius:50%;background:#f3ecdf;color:#a07f50;font-size:19px}
.res-access-376__station-name{font-size:16px;font-weight:650;line-height:1.5}
.res-access-376__station-time{display:block;font-size:13px;color:#7b6d60;margin-top:3px}
.res-access-376__station-cta{margin-left:auto;white-space:nowrap;color:#a3804a;font-size:13px;font-weight:650}
.res-access-376__station-cta:after{content:'⌄';margin-left:7px;font-size:19px;vertical-align:-1px}
.res-access-376__station[open] .res-access-376__station-cta:after{content:'⌃'}
.res-access-376__station-body{padding:0 17px 19px 17px;border-top:1px solid #eee7dd}
.res-access-376__station-body p{font-size:13px;color:#746658;line-height:1.7}
.res-access-376__video{max-width:440px;margin:15px auto;aspect-ratio:9/16;background:#1e1e1e;border-radius:12px;overflow:hidden}
.res-access-376__video iframe{width:100%;height:100%;border:0}
.res-access-376__article{display:inline-flex;gap:5px;align-items:center;font-size:13px;text-decoration:underline;color:#806342!important}
.res-access-376__notes{padding:14px 18px;background:#f8f3eb;border-radius:12px;line-height:1.9;font-size:14px;color:#5c5043}
.res-access-376__hours{line-height:1.9;color:#5f5246;font-size:14px}
@media(max-width:480px){.res-access-376{padding:0 15px}.res-access-376__station summary{padding:14px 12px;gap:9px}.res-access-376__station-name{font-size:14px}.res-access-376__station-cta{font-size:11px}.res-access-376__address{font-size:13px}.res-access-376__video{width:min(100%,260px)}}

/* v3.3.78 Google reviews block beneath the four existing testimonials */
.res-home .res-review-summary{width:min(100%,880px);margin:46px auto 0;padding:12px 0 5px;text-align:center;color:#43392f;font-family:var(--sans)}
.res-home .res-review-kicker{margin:0 0 13px;color:#a48754;font-size:13px;letter-spacing:.09em;font-weight:500}
.res-home .res-review-heading{margin:0 0 22px;font-size:clamp(22px,3vw,29px);font-weight:700;line-height:1.45}
.res-home .res-review-score{display:flex;justify-content:center;align-items:center;gap:18px;margin:0 auto 10px;text-align:left}
.res-home .res-review-score-number{font-size:clamp(38px,6vw,50px);line-height:1.1;font-weight:650;font-variant-numeric:tabular-nums}
.res-home .res-review-stars{color:#b28a46;font-size:25px;letter-spacing:.12em;line-height:1.4;white-space:nowrap}
.res-home .res-review-count{margin:0;color:#686056;font-size:clamp(15px,2.7vw,19px)}
.res-home .res-review-disclaimer{margin:17px 0 30px;color:#777067;font-size:12px;line-height:1.7}
.res-home .res-review-divider{height:1px;background:#d6c7af;margin:0 0 25px}
.res-home .res-review-current{margin:0 0 18px;padding:16px;border-radius:12px;background:#fff;color:#736a5f;font-size:16px}
.res-home .res-review-booking{display:block;margin:0 0 16px}
.res-home .res-review-booking .wp-block-button{width:100%;display:block}
.res-home .res-review-booking a.wp-block-button__link{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:60px;font-family:inherit;font-size:18px;font-weight:700;text-decoration:none;background:#987c61!important;color:white!important;border-radius:8px!important;box-shadow:none;padding:16px 25px!important}
.res-home .res-review-booking a.wp-block-button__link:hover{background:#80644d!important}
.res-home .res-review-maps-link{color:#78634e;text-decoration:underline;text-underline-offset:4px;font-size:15px}
.res-home .res-review-maps-link:hover{color:#4b3b28}
.res-home .voice-card .res-small small{overflow-wrap:anywhere}
@media(max-width:700px){.res-home .res-review-summary{margin-top:28px;padding:0 2px}.res-home .res-review-score{gap:12px}.res-home .res-review-stars{font-size:21px}.res-home .res-review-heading{margin-bottom:16px}.res-home .res-review-current{font-size:14px}.res-home .res-review-booking a.wp-block-button__link{min-height:54px;font-size:17px}.res-home .res-review-disclaimer{font-size:11px}.res-home .res-review-maps-link{font-size:13px}}

/* v3.3.79: requested review icon, booking parity and concept-video cover */
.res-home .res-review-summary .res-review-google-mark{display:flex;justify-content:center;align-items:center;gap:12px;margin:0 0 20px}
.res-home .res-review-google-icon{width:49px;height:49px;display:block}
.res-home .res-review-google-label{font-family:var(--sans);font-size:clamp(17px,3vw,23px);font-weight:650;letter-spacing:.03em;color:#544638}
/* First-visit CTA matches the existing review booking CTA in colors, corners, typography, dimensions. */
.res-home .res-firstvisit-pricing .wp-block-buttons{display:block!important;width:100%!important;margin:20px 0!important}
.res-home .res-firstvisit-pricing .res-firstvisit-booking{display:block!important;width:100%!important;max-width:none!important}
.res-home .res-firstvisit-pricing .res-firstvisit-booking a.wp-block-button__link,
.res-home .res-firstvisit-pricing .res-firstvisit-booking a.wp-block-button__link:visited{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:60px!important;border:0!important;border-radius:8px!important;background:#987c61!important;color:#fff!important;font-family:inherit!important;font-size:18px!important;font-weight:700!important;text-decoration:none!important;box-shadow:none!important;padding:16px 25px!important;line-height:1.45!important}
.res-home .res-firstvisit-pricing .res-firstvisit-booking a.wp-block-button__link:hover{background:#80644d!important}
.res-home .res-concept-section .res-concept-video video{background-color:#ede4d7}
@media(max-width:700px){.res-home .res-firstvisit-pricing .res-firstvisit-booking a.wp-block-button__link{min-height:54px!important;font-size:17px!important}.res-home .res-review-google-icon{width:42px;height:42px}}


/* v3.3.81 — restore only the exact v3.3.77 symptom card CSS.
   Preserve v3.3.80 section heading, FAQ and step-connector adjustments. */
/* v3.3.80 — targeted polish (starting from v3.3.79).
   Preserve the exact six original symptom-seamless PNG images from v3.3.77.
   We reuse each existing Gutenberg img as a translucent decorative background;
   no icon substitutions, new raster graphics, or changes to link targets. */

/* Match the heading type to the "選ばれる3つの理由" site section title. */
html body.home .res-home .res-symptoms h2#res-symptoms-title,
html body.home .res-home .res-symptoms h2.wp-block-heading {
  font-family:var(--serif)!important;
  font-size:clamp(30px,4vw,48px)!important;
  font-weight:500!important;
  line-height:1.35!important;
  letter-spacing:.04em!important;
  color:var(--ink)!important;
}

/* 6 existing icons are watermark backdrops, not foreground thumbnails. */










/* Step connectors are purely decorative CSS so the editable WP blocks stay intact. */
html body.home .res-home .res-firstvisit-section .res-firstvisit-steps{
  gap:32px!important;
  overflow:visible!important;
}
html body.home .res-home .res-firstvisit-section .res-firstvisit-steps .step{
  position:relative!important;
  min-width:0!important;
  overflow:visible!important;
}
html body.home .res-home .res-firstvisit-section .res-firstvisit-steps .step:not(:last-child)::after{
  content:"▶"!important;
  position:absolute!important;
  top:50%!important;
  right:-27px!important;
  transform:translateY(-50%)!important;
  width:22px!important;
  text-align:center!important;
  font:400 17px/1 sans-serif!important;
  color:#ae8b55!important;
  pointer-events:none!important;
  z-index:2!important;
}

/* FAQ = same sans-serif, font-size and visual weight as concept-explanation text;
   shorter vertical gaps without affecting native details/summary toggle. */
html body.home .res-home .faq details.res-faq{
  padding:0!important;
  margin:0!important;
  border-top:0!important;
  border-bottom:1px solid #e7ddcf!important;
  background:transparent!important;
}
html body.home .res-home .faq details.res-faq > summary{
  font-family:var(--sans)!important;
  font-size:clamp(14px,1.45vw,16px)!important;
  font-weight:600!important;
  letter-spacing:0!important;
  line-height:1.8!important;
  color:#62594f!important;
  padding:13px 3px!important;
  margin:0!important;
  cursor:pointer!important;
}
html body.home .res-home .faq details.res-faq > p,
html body.home .res-home .faq details.res-faq > .wp-block-paragraph{
  font-family:var(--sans)!important;
  font-size:clamp(14px,1.45vw,16px)!important;
  font-weight:400!important;
  line-height:1.9!important;
  color:#62594f!important;
  padding:0 4px 15px 22px!important;
  margin:0!important;
}

@media(max-width:767px){
  
  
  
  
  
  
  html body.home .res-home .res-symptoms h2#res-symptoms-title,
  html body.home .res-home .res-symptoms h2.wp-block-heading{
    font-size:clamp(22px,5.9vw,29px)!important;
  }
  html body.home .res-home .res-firstvisit-section .res-firstvisit-steps{
    gap:20px!important;
  }
  html body.home .res-home .res-firstvisit-section .res-firstvisit-steps .step:not(:last-child)::after{
    right:-18px!important;
    width:16px!important;
    font-size:11px!important;
  }
  html body.home .res-home .faq details.res-faq > summary{
    padding:11px 2px!important;
    font-size:14px!important;
    line-height:1.75!important;
  }
  html body.home .res-home .faq details.res-faq > p{
    font-size:14px!important;
    padding:0 2px 13px 18px!important;
  }
}
@media(max-width:355px){
  
  
  html body.home .res-home .res-firstvisit-section .res-firstvisit-steps{gap:16px!important;}
  html body.home .res-home .res-firstvisit-section .res-firstvisit-steps .step:not(:last-child)::after{
    right:-15px!important;
  }
}

/* v3.3.81 — Show the complete approved three-scene photograph in reason 03. */
html body.home .res-home .res-reasons-section .reason-card:nth-child(3) .reason-media figure.res-reason-photo-03 img {
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#faf8f3!important;
  padding:0!important;
}
html body.home .res-home .res-reasons-section .reason-card:nth-child(3) .reason-copy p + p {
  margin-top:1em!important;
}


/* v3.3.86 — Only the requested small typography / header position adjustments.
   Do not modify the six original icons, grid geometry, links or card backgrounds. */
@media (max-width:980px) {
  /* Shift the subtitle by one of its own Japanese character widths;
     its size and the actual logo alignment stay unchanged. */
  .res-legacy-header .res-legacy-identity .res-legacy-sub {
    padding-inline-start:1em!important;
  }
}
/* Heading text only, never the description, icon or play circle. */
html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__name {
  font-size:calc(clamp(20px,2.3vw,27px) + 1px)!important;
}
@media (max-width:767px) {
  html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__name {
    font-size:calc(clamp(11px,3.19vw,14.3px) + 1px)!important;
  }
}

/* v3.3.87: 16:9 poster is fully visible without clipping across desktop/mobile. */
.res-home .res-concept-section .res-concept-video video {aspect-ratio:16/9;object-fit:contain;background-color:#f9f4f7;}


/* v3.3.90 – responsive, accessible transparent circle links over the supplied square image */
.res-home .res-concept-section .res-triad {
  max-width: 850px; margin: clamp(34px, 6vw, 64px) auto 0;
  color: #4c4236; text-align: center;
}
.res-home .res-triad-copy { max-width: 760px; margin: 0 auto 28px; }
.res-home .res-triad-copy p {
  margin: 0 0 1.18em; line-height: 1.95; letter-spacing: .025em;
  font-family: inherit; font-size: clamp(15px, 1.35vw, 17px);
}
.res-home .res-triad-copy .res-triad-lead {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  color: #44362a; font-size: clamp(25px, 3.4vw, 34px);
  margin-bottom: 1.18em;
}
.res-home .res-triad-map { width: 100%; max-width: 750px; margin: 0 auto; position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.res-home .res-triad-map > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.res-home .res-triad-hotspot {
  display: block; position: absolute; aspect-ratio: 1 / 1;
  border-radius: 50%; background: transparent; cursor: pointer;
  -webkit-tap-highlight-color: rgba(165,129,74,.15);
  touch-action: manipulation;
}
/* Match the three circles in the 1254x1254px reference image; % coordinates scale together. */
.res-home .res-triad-chiro { left: 24%; top: 4%; width: 52%; z-index: 3; }
.res-home .res-triad-nutrition { left: 6%; top: 39%; width: 51%; z-index: 2; }
.res-home .res-triad-exercise { left: 45%; top: 39%; width: 51%; z-index: 2; }
.res-home .res-triad-hotspot:focus-visible { outline: 3px solid #a78144; outline-offset: -6px; background: rgba(255,255,255,.12); }
@media (hover:hover) {
  .res-home .res-triad-hotspot:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 2px rgba(166,131,78,.55); }
}
.res-home .res-triad-hint { color: #7c6f60; font-size: 13px; letter-spacing: .06em; margin: 10px auto 0; }
@media(max-width:700px){
  .res-home .res-triad { margin-top: 38px; }
  .res-home .res-triad-copy { padding-inline: 7px; margin-bottom: 16px; }
  .res-home .res-triad-copy p { font-size: 15px; line-height: 1.9; margin-bottom: 1.2em; }
  .res-home .res-triad-copy .res-triad-lead { font-size: 23px; letter-spacing: 0; }
  .res-home .res-triad-map { width: 100%; }
  .res-home .res-triad-hint { font-size: 11px; }
}


/* v3.3.91: clear press feedback on the ORIGINAL three-circle artwork. */
.res-home .res-triad-map { isolation: isolate; overflow: visible; }
.res-home .res-triad-hotspot {
  z-index: 4;
  transform: scale(1);
  transform-origin: center;
  transition: transform 240ms cubic-bezier(.2,.75,.25,1), box-shadow 240ms ease, background-color 240ms ease;
  box-shadow: inset 0 0 0 0 rgba(192,153,83,0);
  -webkit-tap-highlight-color: transparent;
}
.res-home .res-triad-hotspot::after {
  content: "";
  position: absolute;
  inset: -2%; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(211,167,98,0);
  opacity: 0;
  transition: opacity 220ms ease, box-shadow 250ms ease;
}
.res-home .res-triad-hotspot.res-triad-pressed,
.res-home .res-triad-hotspot:active {
  transform: scale(1.065);
  background: rgba(255,250,235,.28);
  box-shadow: inset 0 0 0 2px rgba(184,142,67,.68), inset 0 0 38px rgba(255,253,221,.64);
  z-index: 9;
}
.res-home .res-triad-hotspot.res-triad-pressed::after,
.res-home .res-triad-hotspot:active::after {
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(211,167,98,.24), 0 0 27px 12px rgba(248,219,143,.62);
}
@media (prefers-reduced-motion: reduce) {
  .res-home .res-triad-hotspot, .res-home .res-triad-hotspot::after { transition: none !important; }
}

/* v3.3.93 — typography-only refinements. Existing cards, artwork and links stay intact. */
/* One extra CSS pixel beyond the already approved v3.3.86 symptom label sizes. */
html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__name {
  font-size:calc(clamp(20px,2.3vw,27px) + 2px)!important;
}
@media(max-width:767px) {
  html body.home .res-home .res-symptoms a.res-symptoms__card .res-symptoms__name {
    font-size:calc(clamp(11px,3.19vw,14.3px) + 2px)!important;
  }
}
/* Match the body-text face and size of the first-visit introductory .lead paragraph. */
html body.home .res-home .res-firstvisit-pricing p.res-firstvisit-pricing-note {
  font-family:var(--sans)!important;
  font-size:15px!important;
  font-weight:400!important;
  color:var(--muted)!important;
  line-height:1.75!important;
}

/* v3.3.95: full-bleed generated three-scene image with no side gutters. */
html body.home .res-home .res-reasons-section .reason-card:nth-child(3) .reason-media figure.res-reason-photo-03 img{
 object-fit:cover!important;background:transparent!important;
}
