/*
Theme Name: Journey Rehab
Version: 0.1.0
Description: Responsive, lightweight migration theme for Journey Rehab.
*/
:root{--ink:#183b37;--green:#176d59;--muted:#59706a;--pale:#eff6f2;--line:#dbe7e0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;line-height:1.9;overflow-wrap:anywhere}a{color:var(--green);text-underline-offset:.2em}img{max-width:100%;height:auto}.site-header{border-bottom:1px solid var(--line);background:white}.header-inner{max-width:1200px;margin:auto;padding:20px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;font-size:24px;font-weight:750;letter-spacing:.03em}.brand small{display:block;font-size:11px;letter-spacing:.12em;color:var(--muted)}.nav{display:flex;gap:24px;flex-wrap:wrap;font-size:14px}.nav a{text-decoration:none}.nav .contact{border:1px solid var(--green);border-radius:99px;padding:4px 16px}.site-main{max-width:1160px;margin:auto;padding:44px 28px 80px}.article{max-width:860px;margin:auto}.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:26px}.entry-title{font-size:clamp(25px,3.6vw,39px);line-height:1.55;letter-spacing:.015em;margin:0 0 18px}.entry-meta{font-size:13px;color:var(--muted);padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:36px}.entry-content{font-size:16px}.entry-content h2{font-size:26px;margin-top:2em}.entry-content h3{font-size:22px;margin-top:1.6em}.entry-content img{display:block;margin:24px auto;object-fit:contain}.entry-content p{margin:1em 0}.entry-content .s-blog-post-section{margin:14px 0}.entry-content .container{max-width:100%;width:auto}.entry-content .columns{float:none;width:auto;margin:0}.entry-content table{max-width:100%;display:block;overflow-x:auto}.entry-content iframe{max-width:100%}.entry-content ul.slides{list-style:none;padding:0}.entry-content .slides>li{margin-bottom:64px}.entry-content .s-button,.entry-content .s-common-button{display:inline-block;background:var(--green);color:#fff;padding:12px 24px;border-radius:8px;text-decoration:none}.site-footer{background:var(--pale);border-top:1px solid var(--line);padding:36px 28px;font-size:13px}.footer-inner{max-width:1100px;margin:auto}.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.card img{width:100%;aspect-ratio:16/9;object-fit:cover;margin:0}.card .card-text{padding:20px}.card h2{font-size:19px;line-height:1.6;margin:0}.card time{font-size:12px;color:var(--muted)}.archive-title{margin:0 0 32px}.pagination{margin-top:32px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:10px;background:white;padding:10px;z-index:100}.entry-content [style*="width: 1200"],.entry-content [style*="width:1200"]{max-width:100%}.entry-content pre{overflow:auto}.entry-content .s-email-form{border:1px solid var(--line);padding:24px;border-radius:12px}input,textarea,select,button{font:inherit;max-width:100%}input,textarea{border:1px solid #aebfb5;border-radius:6px;padding:10px}button{cursor:pointer}@media(max-width:800px){.header-inner{align-items:flex-start;flex-direction:column;gap:12px}.nav{gap:12px 20px;font-size:13px}.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-main{padding-top:30px}}@media(max-width:540px){.header-inner{padding:16px 20px}.site-main{padding:28px 18px 52px}.entry-content{font-size:16px}.archive-grid{grid-template-columns:1fr}.entry-content [style*="font-size: 40"],.entry-content [style*="font-size:40"]{font-size:28px!important}.entry-content h2{font-size:23px}.entry-content h3{font-size:20px}.entry-meta{margin-bottom:24px}}
.jr-contact-form{display:grid;gap:10px;max-width:660px;margin:24px auto}.jr-contact-form label{margin-top:12px;font-weight:600}.jr-contact-form label span{font-size:11px;color:#9e3c25;margin-left:8px}.jr-contact-form input,.jr-contact-form textarea,.jr-contact-form select{width:100%;padding:12px;border:1px solid #aebfb5;border-radius:6px;background:white}.jr-contact-form button{background:var(--green);color:white;border:0;border-radius:8px;padding:14px 24px;margin-top:16px}.jr-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.jr-test-note{background:#fff5d9;border-left:3px solid #b89533;padding:12px;font-size:14px}.jr-form-status{background:#e6f4eb;padding:16px;border-radius:8px}
/* Replace layout behavior previously supplied by Strikingly JavaScript. */
.page .article{max-width:1100px}.entry-content .blurred-layer{display:none!important;backdrop-filter:none!important}.page .entry-content .s-section{position:relative}.page .entry-content .s-section .s-title h2{line-height:1.55}.page .entry-content .s-component.s-media img{max-height:480px;width:auto;margin-inline:auto}.page .entry-content .s-title-group{margin-bottom:24px}.page .entry-content .s-title-group h2{margin-top:0}.page .entry-content .s-subtitle{color:var(--muted)}.home .entry-content .s-first-visible-section .slick-slide-item{position:relative;overflow:hidden;border-radius:20px;background-size:auto 100%!important;background-position:right center!important;min-height:620px}.home .entry-content .s-first-visible-section .slick-slide-item::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f0f6f2 0%,rgba(240,246,242,.97) 38%,rgba(240,246,242,.4) 70%,rgba(240,246,242,.1) 100%)}.home .entry-content .s-first-visible-section .inner{position:relative}.home .entry-content .s-first-visible-section .slider-desc{max-width:66%;padding:38px}.home .entry-content .s-first-visible-section .s-title h2{font-size:17px!important;margin:0}.home .entry-content .s-first-visible-section .s-subtitle h2{font-size:34px!important;margin:12px 0;line-height:1.4}.home .entry-content .s-first-visible-section .s-subtitle h2:nth-child(4),.home .entry-content .s-first-visible-section .s-subtitle h2:nth-child(5){font-size:18px!important;line-height:1.8}.home .entry-content .s-first-visible-section .s-rich-text-wrapper{background:transparent!important}.home .entry-content .s-first-visible-section .s-common-button{font-size:14px;padding:14px 22px;line-height:1.7;max-width:100%}.home .entry-content .s-repeatable{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.home .entry-content .s-repeatable-item{padding:20px;border:1px solid var(--line);border-radius:12px;min-width:0}.home .entry-content .s-repeatable-item .s-repeatable{display:block}.page .entry-content .slides>li{padding-bottom:24px;border-bottom:1px solid var(--line)}.page .entry-content .s-title{text-align:left}.page .entry-content .s-text{max-width:100%}@media(max-width:800px){.home .entry-content .s-repeatable{grid-template-columns:repeat(2,minmax(0,1fr))}.home .entry-content .s-first-visible-section .slider-desc{max-width:85%;padding:28px}.home .entry-content .s-first-visible-section .slick-slide-item::before{background:rgba(240,246,242,.86)}}@media(max-width:540px){.home .entry-content .s-repeatable{grid-template-columns:1fr}.home .entry-content .s-first-visible-section .slider-desc{max-width:100%;padding:26px 20px}.home .entry-content .s-first-visible-section .s-subtitle h2{font-size:26px!important}.home .entry-content .s-first-visible-section .s-subtitle h2:nth-child(4),.home .entry-content .s-first-visible-section .s-subtitle h2:nth-child(5){font-size:16px!important}.home .entry-content .s-first-visible-section .slick-slide-item{min-height:0}.page .entry-content .s-component.s-media img{max-height:360px}.page .entry-content .s-title h2{font-size:24px!important}}
.entry-content div.s-button{display:contents;background:none;padding:0}.entry-content a.s-common-button{background:var(--green)!important;color:white!important;border-radius:8px!important}
.site-footer nav{display:flex;flex-wrap:wrap;gap:10px 24px;margin:18px 0}
.jr-legacy-anchor{display:block;height:0;scroll-margin-top:24px}
/* Images now participate in normal document flow; the old JS ratio spacer
   otherwise duplicates their height and leaves a large blank area. */
.entry-content .s-ratio-fill{display:none!important}.entry-content .s-ratio-box{max-height:none!important}

.jr-category-nav{display:flex;flex-wrap:wrap;gap:8px 16px;margin-bottom:28px;font-size:14px}.jr-category-nav a{border:1px solid var(--line);border-radius:24px;padding:4px 12px;text-decoration:none}
