/*
Theme Name: フォーライフ
Theme URI: https://www.for-life.top/
Description: 株式会社フォーライフのオリジナルテーマ。トップページと7つの事業所ページのデザインを含みます。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: forlife
*/
:root{
  --bg:#FFFDF8;
  --beige:#F7F0E4;
  --line:#E2D6C3;
  --ink:#4A3F36;
  --ink-soft:#7A6D61;
  --green:#3A8F6B;
  --green-deep:#2A6B50;
  --yellow:#F2B33D;
  --pink:#EE9C8A;
  --white:#FFFFFF;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--ink);font-family:"Zen Maru Gothic",sans-serif;font-weight:500;font-size:16px;line-height:2;letter-spacing:.06em;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;border-radius:8px}
.wrap{max-width:1160px;margin:0 auto;padding:0 32px}
.wrap.narrow{max-width:960px}
@media (max-width:600px){.wrap{padding:0 16px}}

.en{display:block;font-family:"Quicksand",sans-serif;font-weight:700;font-size:15px;letter-spacing:.4em;color:var(--green)}
.ttl{font-size:clamp(26px,3.4vw,36px);font-weight:700;letter-spacing:.1em;line-height:1.5;margin-top:4px}
.sec-head{margin-bottom:48px}
.sec-head.center{text-align:center}
.sec-head p{margin-top:12px;color:var(--ink-soft)}

.btn{display:inline-flex;align-items:center;gap:14px;padding:16px 30px;border-radius:999px;font-weight:700;background:var(--green);color:var(--white);transition:background .2s}
.btn::after{content:"";width:28px;height:28px;border-radius:50%;background:var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%233A8F6B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.btn:hover{background:var(--green-deep)}
.btn.yellow{background:var(--yellow);color:var(--ink)}
.btn.yellow:hover{background:#e3a325}
.btn.small{padding:10px 20px;font-size:14px}
.btn.small::after{width:22px;height:22px;background-size:12px}

.doodle{position:absolute;pointer-events:none;z-index:0}
.float{animation:float 5s ease-in-out infinite}
.float.d2{animation-delay:-2.5s}
@keyframes float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-10px) rotate(4deg)}}

/* Header */
.header{position:fixed;top:16px;left:16px;right:16px;z-index:50;background:rgba(255,255,255,.95);border-radius:999px;box-shadow:0 4px 24px rgba(74,63,54,.08)}
.header .in{display:flex;align-items:center;justify-content:space-between;height:68px;padding:0 12px 0 28px}
.logo{display:flex;align-items:center;gap:10px}
.logo-mark{width:48px;height:48px;border-radius:10px;object-fit:cover;flex-shrink:0}
.footer .logo-mark{width:56px;height:56px}
.logo b{font-size:22px;font-weight:900;color:var(--green-deep);letter-spacing:.1em;line-height:1.1}
.logo small{display:block;font-size:10px;color:var(--ink-soft);letter-spacing:.08em}
.gnav{display:flex;gap:26px;font-size:14px;font-weight:700}
.gnav a:hover,.gnav a[aria-current]{color:var(--green)}
.h-contact{display:inline-flex;align-items:center;gap:8px;background:var(--yellow);padding:12px 24px;border-radius:999px;font-weight:700;font-size:14px}
.h-contact:hover{background:#e3a325}
.menu-btn{display:none;width:48px;height:48px;border-radius:50%;border:0;background:var(--green);color:#fff;font:inherit;font-size:11px;cursor:pointer}
@media (max-width:1000px){
  .gnav{display:none}
  .menu-btn{display:block}
  .h-contact{display:none}
  .gnav.open{display:flex;flex-direction:column;position:absolute;top:80px;left:0;right:0;background:#fff;border-radius:28px;padding:24px 32px;gap:14px;font-size:16px;box-shadow:0 8px 30px rgba(74,63,54,.12)}
}

/* ---------- Top page ---------- */
.kv{position:relative;min-height:100vh;padding:130px 0 80px;overflow:hidden}
.kv-photos{position:absolute;inset:0;z-index:0}
.kv-photos figure{position:absolute;overflow:hidden;box-shadow:0 10px 30px rgba(74,63,54,.12);animation:pop .9s cubic-bezier(.2,.8,.2,1) both}
.kv-photos img{width:100%;height:100%;object-fit:cover}
.p1{width:30vw;max-width:420px;aspect-ratio:4/3;top:120px;right:4vw;border-radius:46% 54% 50% 50%/55% 45% 55% 45%;animation-delay:.1s!important}
.p2{width:18vw;max-width:250px;aspect-ratio:1;top:52vh;right:28vw;border-radius:50%;animation-delay:.3s!important}
.p3{width:22vw;max-width:300px;aspect-ratio:4/3;bottom:6vh;right:3vw;border-radius:40px;animation-delay:.5s!important}
.p4{width:14vw;max-width:190px;aspect-ratio:3/4;top:18vh;right:37vw;border-radius:999px;animation-delay:.7s!important}
@keyframes pop{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}
.kv-copy{position:relative;z-index:2;padding-top:12vh;max-width:560px}
.kv-copy h1{font-size:clamp(44px,7vw,92px);font-weight:900;line-height:1.35;letter-spacing:.12em;color:var(--green-deep)}
.kv-copy h1 span{display:block}
.kv-copy p{margin-top:24px;font-size:clamp(15px,1.6vw,18px)}
.kv-count{display:flex;gap:16px;margin-top:36px}
.kv-count a{display:flex;flex-direction:column;align-items:center;justify-content:center;width:120px;height:120px;border-radius:50%;background:var(--white);box-shadow:0 6px 20px rgba(74,63,54,.1);line-height:1.2;transition:transform .2s}
.kv-count a:hover{transform:translateY(-4px)}
.kv-count b{font-family:"Quicksand";font-size:44px;color:var(--green)}
.kv-count span{font-size:13px;font-weight:700}
.scroll{position:absolute;left:32px;bottom:32px;z-index:2;font-family:"Quicksand";font-size:12px;letter-spacing:.3em;writing-mode:vertical-rl;display:flex;align-items:center;gap:10px}
.scroll::after{content:"";width:1px;height:70px;background:var(--ink);animation:scrollbar 2s ease-in-out infinite;transform-origin:top}
@keyframes scrollbar{0%{transform:scaleY(0)}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}
@media (max-width:860px){
  .kv{padding-top:110px;min-height:auto}
  .kv-photos{position:relative;height:340px;margin-bottom:8px}
  .p1{width:62vw;top:0;right:0}.p2{width:34vw;top:150px;left:0;right:auto}.p3{width:40vw;bottom:0;right:6vw}.p4{display:none}
  .kv-copy{padding-top:0}
  .scroll{display:none}
}

.message{position:relative;padding:140px 0;background:var(--beige);border-radius:80px 80px 0 0;overflow:hidden}
.message .wrap{position:relative;z-index:1}
.msg-block{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;margin-bottom:120px}
.msg-block:last-child{margin-bottom:0}
.msg-block.rev .msg-img{order:2}
.msg-text p{font-size:clamp(18px,2.2vw,24px);line-height:2.3;font-weight:700}
.msg-text p+p{margin-top:28px}
.msg-text em{font-style:normal;color:var(--green-deep);background:linear-gradient(transparent 62%,rgba(242,179,61,.5) 62%)}
.msg-img{border-radius:48% 52% 45% 55%/50% 45% 55% 50%;overflow:hidden;aspect-ratio:4/3}
.msg-img img{width:100%;height:100%;object-fit:cover}
.msg-center{text-align:center}
.msg-center p{font-size:clamp(22px,3vw,34px);line-height:2;font-weight:900;color:var(--green-deep)}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .9s ease,transform .9s ease}
.reveal.in{opacity:1;transform:none}
@media (max-width:860px){.message{border-radius:40px 40px 0 0;padding:90px 0}.msg-block{grid-template-columns:1fr;gap:32px;margin-bottom:72px}.msg-block.rev .msg-img{order:0}}

.values{padding:130px 0 0;position:relative}
.value-list{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.value{position:relative;background:var(--white);border-radius:40px;padding:48px 32px 40px;box-shadow:0 6px 24px rgba(74,63,54,.06);text-align:center}
.value .num{font-family:"Quicksand";font-weight:700;font-size:56px;line-height:1;color:var(--yellow)}
.value .en{margin-top:6px}
.value-ill{width:110px;height:110px;margin:20px auto}
.value h3{font-size:24px;letter-spacing:.14em}
.value .tag{font-size:13px;color:var(--green);margin-bottom:16px}
.value ul{text-align:left;font-size:15px;line-height:1.9}
.value li{padding-left:1.4em;position:relative;margin-top:8px}
.value li::before{content:"";position:absolute;left:0;top:.6em;width:10px;height:10px;border-radius:50%;background:var(--yellow)}
@media (max-width:860px){.value-list{grid-template-columns:1fr}}

.strip{display:flex;gap:20px;overflow:hidden;padding:80px 0 0}
.strip-track{display:flex;gap:20px;animation:slide 50s linear infinite;flex-shrink:0}
.strip img{width:320px;height:220px;object-fit:cover;border-radius:32px;flex-shrink:0}
@keyframes slide{to{transform:translateX(calc(-100% - 20px))}}

/* Facility list (top) */
.facilities{padding:130px 0;background:var(--beige);border-radius:80px;margin:80px 16px 0}
.fac-group+.fac-group{margin-top:72px}
.fac-group-head{display:flex;align-items:baseline;gap:16px;margin-bottom:24px;padding-bottom:12px;border-bottom:2px dotted var(--line)}
.fac-group-head h3{font-size:22px;letter-spacing:.12em}
.fac-group-head span{font-size:14px;color:var(--ink-soft)}
.fac-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.fac-card{display:flex;flex-direction:column;background:var(--white);border-radius:36px;overflow:hidden;transition:transform .25s,box-shadow .25s}
.fac-card:hover{transform:translateY(-6px);box-shadow:0 14px 34px rgba(74,63,54,.12)}
.fac-thumb{aspect-ratio:16/10;overflow:hidden;background:var(--sky,#EAF3EE);display:grid;place-items:center}
.fac-thumb img{width:100%;height:100%;object-fit:cover}
.fac-thumb svg{width:44%;height:auto}
.fac-thumb.t-y{background:#FFF3D6}.fac-thumb.t-p{background:#FCE7E1}.fac-thumb.t-g{background:#E4F1EA}
.fac-body{padding:24px 28px 28px;display:flex;flex-direction:column;flex:1}
.fac-type{display:inline-block;align-self:flex-start;font-size:12px;font-weight:700;color:var(--green-deep);background:#E4F1EA;border-radius:999px;padding:2px 12px}
.fac-body h4{font-size:21px;letter-spacing:.08em;margin:10px 0 6px;line-height:1.5}
.fac-body p{font-size:14px;color:var(--ink-soft);line-height:1.8;flex:1}
.fac-meta{margin-top:16px;font-size:13px;line-height:1.7;border-top:2px dotted var(--line);padding-top:14px}
.fac-meta b{font-family:"Quicksand";font-size:17px;color:var(--green-deep)}
.fac-more{margin-top:14px;font-weight:700;color:var(--green);display:flex;align-items:center;gap:10px;font-size:15px}
.fac-more::after{content:"";width:26px;height:26px;border-radius:50%;background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat}
@media (max-width:1000px){.fac-grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.fac-grid{grid-template-columns:1fr}.facilities{border-radius:40px;margin:60px 8px 0;padding:80px 0}}

/* Contact */
.contact{padding:130px 0}
.contact-box{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center}
.contact-box p.lead{margin-top:16px;color:var(--ink-soft)}
.tel-box{margin-top:28px}
.tel-box small{display:block;font-size:14px;font-weight:700}
.tel-box a{font-family:"Quicksand";font-weight:700;font-size:clamp(36px,5vw,52px);color:var(--green-deep);letter-spacing:.06em;line-height:1.3}
.tel-box span{display:block;font-size:14px;color:var(--ink-soft)}
.contact-cards{display:grid;gap:20px}
.c-card{position:relative;display:flex;align-items:center;gap:20px;background:var(--white);border:3px solid var(--green);border-radius:36px;padding:28px 32px;transition:background .2s}
.c-card:hover{background:#F2F8F4}
.c-card.y{border-color:var(--yellow)}
.c-card.y:hover{background:#FFF8E8}
.c-card svg{width:64px;height:64px;flex-shrink:0}
.c-card .en{font-size:12px}
.c-card b{font-size:20px;letter-spacing:.1em}
@media (max-width:860px){.contact-box{grid-template-columns:1fr}}

.news{padding:0 0 130px}
.news-in{display:grid;grid-template-columns:280px 1fr;gap:48px}
.news-list li a{display:grid;grid-template-columns:110px 130px 1fr;gap:16px;align-items:center;padding:22px 8px;border-bottom:2px dotted var(--line)}
.news-list li:first-child a{border-top:2px dotted var(--line)}
.news-list time{font-family:"Quicksand";font-weight:700;color:var(--ink-soft)}
.news-list .cat{font-size:12px;font-weight:700;text-align:center;border-radius:999px;padding:2px 10px;background:var(--beige);color:var(--green-deep)}
.news-list .t{font-weight:700}
.news-list a:hover .t{color:var(--green)}
.news-in .btn{margin-top:32px}
@media (max-width:860px){.news-in{grid-template-columns:1fr;gap:24px}.news-list li a{grid-template-columns:auto auto 1fr}.news-list .t{grid-column:1/-1}}

.recruit{position:relative;padding:130px 0;background:var(--green);color:#fff;border-radius:80px 80px 0 0;overflow:hidden}
.recruit .en{color:var(--yellow)}
.recruit-in{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;position:relative;z-index:1}
.recruit .catch{font-size:clamp(22px,2.6vw,30px);font-weight:900;margin:20px 0;line-height:1.7}
.recruit p{font-size:15px}
.recruit .btn{margin-top:32px}
.perks{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:40px}
.perk{background:rgba(255,255,255,.12);border-radius:24px;padding:20px 16px;text-align:center}
.perk b{display:block;font-size:16px}
.perk span{font-size:13px;line-height:1.7;display:block;margin-top:6px}
.perk small{display:inline-block;margin-top:8px;font-size:11px;background:var(--yellow);color:var(--ink);border-radius:999px;padding:0 10px}
.recruit-photos{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.recruit-photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:50%;border:6px solid rgba(255,255,255,.25)}
.recruit-photos img:nth-child(2){margin-top:60px}
.recruit-photos img:nth-child(3){margin-top:-40px}
@media (max-width:860px){.recruit{border-radius:40px 40px 0 0;padding:90px 0}.recruit-in{grid-template-columns:1fr}.perks{grid-template-columns:1fr}}

/* ---------- Detail pages ---------- */
.page-hero{position:relative;padding:150px 0 90px;overflow:hidden}
.page-hero h1 .nw{white-space:nowrap}
.crumb{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--ink-soft);margin-bottom:28px}
.crumb a{text-decoration:underline;text-underline-offset:3px}
.crumb li+li::before{content:"/";margin-right:8px;color:var(--line)}
.ph-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.ph-type{display:inline-block;font-size:13px;font-weight:700;background:var(--yellow);border-radius:999px;padding:2px 16px}
.page-hero h1{font-size:clamp(28px,4.2vw,46px);font-weight:900;letter-spacing:.1em;line-height:1.4;color:var(--green-deep);margin:14px 0 18px}
.page-hero .catch{font-size:clamp(17px,2vw,21px);font-weight:700;line-height:1.9}
.ph-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.ph-tags li{font-size:13px;font-weight:700;border:2px solid var(--green);color:var(--green-deep);border-radius:999px;padding:2px 14px;background:#fff}
.ph-img{border-radius:46% 54% 50% 50%/55% 45% 55% 45%;overflow:hidden;aspect-ratio:4/3;background:#E4F1EA;display:grid;place-items:center}
.ph-img img{width:100%;height:100%;object-fit:cover}
.ph-img svg{width:46%}
.ph-img.t-y{background:#FFF3D6}.ph-img.t-p{background:#FCE7E1}
.ph-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
@media (max-width:860px){.page-hero{padding-top:120px}.ph-grid{grid-template-columns:1fr;gap:32px}}

.d-sec{padding:110px 0}
.d-sec.bg{background:var(--beige);border-radius:80px;margin:0 16px}
@media (max-width:600px){.d-sec{padding:80px 0}.d-sec.bg{border-radius:40px;margin:0 8px}}
.lead-text{font-size:17px;line-height:2.2;max-width:44em}
.lead-text+.lead-text{margin-top:18px}

.check-list{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px;margin-top:32px}
.check-list li{background:#fff;border-radius:999px;padding:12px 24px 12px 52px;position:relative;font-weight:700}
.check-list li::before{content:"";position:absolute;left:18px;top:50%;width:22px;height:22px;margin-top:-11px;border-radius:50%;background:var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%234A3F36' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
@media (max-width:700px){.check-list{grid-template-columns:1fr}}

.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.feat{background:#fff;border-radius:36px;padding:36px 28px;text-align:center;box-shadow:0 6px 24px rgba(74,63,54,.05)}
.feat svg{width:84px;height:84px;margin:0 auto 12px}
.feat h3{font-size:20px;letter-spacing:.1em;margin-bottom:10px;color:var(--green-deep)}
.feat p{font-size:15px;text-align:left;line-height:1.9}
.feat .big{display:block;font-family:"Quicksand";font-weight:700;font-size:30px;color:var(--yellow);line-height:1.2;margin-bottom:6px}
@media (max-width:860px){.feat-grid{grid-template-columns:1fr}}

.pill-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.pill-list li{background:#fff;border:2px solid var(--line);border-radius:999px;padding:6px 18px;font-weight:700;font-size:15px}

.cols2{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.box{background:#fff;border-radius:32px;padding:32px}
.box h3{font-size:19px;color:var(--green-deep);margin-bottom:10px;letter-spacing:.08em}
.box p,.box li{font-size:15px;line-height:1.9}
.box ul li{padding-left:1.2em;position:relative}
.box ul li::before{content:"";position:absolute;left:0;top:.75em;width:8px;height:8px;border-radius:50%;background:var(--yellow)}
@media (max-width:860px){.cols2{grid-template-columns:1fr}}

.schedule-wrap{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.schedule-wrap.single{grid-template-columns:1fr;max-width:640px}
.schedule{background:#fff;border-radius:36px;padding:32px}
.schedule h3{font-size:18px;margin-bottom:16px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
.schedule h3 span{font-family:"Quicksand";color:var(--green)}
.schedule ol{position:relative}
.schedule ol::before{content:"";position:absolute;left:58px;top:12px;bottom:12px;width:3px;background:var(--line);border-radius:3px}
.schedule li{display:grid;grid-template-columns:48px 1fr;gap:28px;padding:10px 0;position:relative}
.schedule li::after{content:"";position:absolute;left:53px;top:20px;width:13px;height:13px;border-radius:50%;background:var(--yellow);border:3px solid #fff}
.schedule time{font-family:"Quicksand";font-weight:700;color:var(--green-deep)}
.schedule li span{font-weight:700}
@media (max-width:860px){.schedule-wrap{grid-template-columns:1fr}}

.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:22px;background:var(--line)}
.gallery figcaption{font-size:13px;color:var(--ink-soft);margin-top:4px}
@media (max-width:700px){.gallery{grid-template-columns:1fr 1fr}}

.info-table{width:100%;border-collapse:collapse;background:#fff;border-radius:28px;overflow:hidden}
.info-table th,.info-table td{padding:18px 24px;text-align:left;vertical-align:top;border-bottom:2px dotted var(--line);font-size:15px}
.info-table tr:last-child th,.info-table tr:last-child td{border-bottom:0}
.info-table th{width:11em;color:var(--green-deep);font-weight:700;background:#FBF7EF}
.info-table td small{color:var(--ink-soft)}
.info-table .total td,.info-table .total th{font-weight:900;background:#FFF3D6}
@media (max-width:600px){.info-table th,.info-table td{display:block;width:auto}.info-table th{border-bottom:0;padding-bottom:4px}.info-table td{padding-top:4px}}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:st}
.step{background:#fff;border-radius:32px;padding:28px 24px;position:relative}
.step .no{font-family:"Quicksand";font-weight:700;font-size:13px;letter-spacing:.2em;color:var(--green)}
.step .no b{font-size:36px;color:var(--yellow);margin-left:4px;letter-spacing:0}
.step h3{font-size:18px;margin:4px 0 8px}
.step p{font-size:14px;line-height:1.8}
@media (max-width:860px){.steps{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.steps{grid-template-columns:1fr}}

.faq{max-width:860px}
.faq details{background:#fff;border-radius:28px;margin-bottom:14px}
.faq summary{list-style:none;cursor:pointer;padding:22px 64px 22px 70px;position:relative;font-weight:700}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:"Q";position:absolute;left:24px;top:18px;width:34px;height:34px;border-radius:50%;background:var(--green);color:#fff;font-family:"Quicksand";display:grid;place-items:center;line-height:1}
.faq summary::after{content:"+";position:absolute;right:28px;top:50%;transform:translateY(-50%);font-size:24px;color:var(--green)}
.faq details[open] summary::after{content:"−"}
.faq .a{padding:0 32px 24px 70px;position:relative;font-size:15px}
.faq .a::before{content:"A";position:absolute;left:24px;top:0;width:34px;height:34px;border-radius:50%;background:var(--yellow);font-family:"Quicksand";font-weight:700;display:grid;place-items:center;line-height:1}

.access{display:grid;grid-template-columns:1fr 1.3fr;gap:40px;align-items:start}
.access iframe{width:100%;aspect-ratio:4/3;border:0;border-radius:32px;background:var(--line)}
.access dl{background:#fff;border-radius:32px;padding:28px 32px}
.access dt{font-size:13px;color:var(--green);font-weight:700;margin-top:14px}
.access dt:first-child{margin-top:0}
.access dd{font-size:16px;font-weight:700}
.access dd a{color:var(--green-deep);font-family:"Quicksand";font-size:22px}
@media (max-width:860px){.access{grid-template-columns:1fr}}

.note{font-size:13px;color:var(--ink-soft);margin-top:14px}
.todo{display:inline-block;font-size:12px;font-weight:700;color:#B4532F;background:#FCE7E1;border-radius:6px;padding:0 8px;margin-left:6px}

.cta{padding:110px 0}
.cta-box{background:var(--green);color:#fff;border-radius:56px;padding:56px;display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center;position:relative;overflow:hidden}
.cta-box .en{color:var(--yellow)}
.cta-box h2{font-size:clamp(22px,3vw,30px);letter-spacing:.08em;line-height:1.6;margin-top:4px}
.cta-box p{font-size:15px;margin-top:10px}
.cta-tel{background:#fff;color:var(--ink);border-radius:32px;padding:28px;text-align:center}
.cta-tel small{display:block;font-weight:700;font-size:14px}
.cta-tel a.tel{display:block;font-family:"Quicksand";font-weight:700;font-size:clamp(28px,3.4vw,38px);color:var(--green-deep);letter-spacing:.04em;line-height:1.4}
.cta-tel span{display:block;font-size:13px;color:var(--ink-soft)}
.cta-tel .btn{margin-top:16px}
@media (max-width:860px){.cta-box{grid-template-columns:1fr;padding:36px 24px;border-radius:40px}}

.other{padding:0 0 110px}
.other-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.other-list a{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;border:2px solid var(--line);border-radius:999px;padding:14px 24px;font-weight:700;font-size:15px;transition:border-color .2s}
.other-list a:hover{border-color:var(--green);color:var(--green-deep)}
.other-list small{display:block;font-size:11px;color:var(--ink-soft);font-weight:500}
.other-list a::after{content:"";flex-shrink:0;width:24px;height:24px;border-radius:50%;background:var(--beige) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%233A8F6B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
@media (max-width:860px){.other-list{grid-template-columns:1fr}}

/* Footer */
.footer{background:#3D342D;color:#E9DFD3;padding:90px 0 40px;font-size:14px}
.f-top{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:40px}
.f-brand .logo b{color:#fff}
.f-brand .logo small{color:#BFB2A4}
.f-brand p{margin-top:20px;line-height:1.9}
.f-brand .tel{font-family:"Quicksand";font-weight:700;font-size:28px;color:#fff;display:block;margin-top:16px}
.footer h4{font-size:15px;color:var(--yellow);margin-bottom:12px;letter-spacing:.1em}
.footer li a{display:block;padding:4px 0}
.footer li a:hover{color:#fff}
.f-bottom{margin-top:64px;padding-top:24px;border-top:1px solid rgba(255,255,255,.15);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12px;color:#BFB2A4}
@media (max-width:860px){.f-top{grid-template-columns:1fr 1fr}.f-brand{grid-column:1/-1}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .reveal{opacity:1;transform:none}
}
@media (max-width:860px){.page-hero .doodle{display:none}}

/* Header dropdown: facility links */
.gnav-dd{position:relative;padding:22px 0;margin:-22px 0}
.dd{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);width:320px;background:#fff;border-radius:24px;padding:14px;box-shadow:0 12px 32px rgba(74,63,54,.16);flex-direction:column;gap:2px}
.gnav-dd:hover .dd,.gnav-dd:focus-within .dd{display:flex}
.dd-h{font-size:12px;color:var(--green);padding:6px 12px 2px;letter-spacing:.1em}
.dd a{display:block;padding:8px 12px;border-radius:14px;line-height:1.4;font-size:14px}
.dd a small{display:block;font-size:11px;color:var(--ink-soft);font-weight:500}
.dd a:hover{background:var(--beige);color:var(--green-deep)}
@media (max-width:1000px){
  .gnav.open .gnav-dd{padding:0;margin:0}
  .gnav.open .dd{display:flex;position:static;transform:none;width:auto;box-shadow:none;padding:4px 0 0;background:transparent}
}

/* Quick links on top page */
.quick{padding:40px 0 100px}
.quick-head{text-align:center;margin-bottom:36px}
.quick-head p{color:var(--ink-soft);margin-top:6px}
.quick-group+.quick-group{margin-top:28px}
.quick-group h3{font-size:16px;color:var(--green-deep);margin-bottom:12px;letter-spacing:.12em}
.quick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px}
.q-btn{display:flex;align-items:center;gap:14px;background:#fff;border:2px solid var(--line);border-radius:44px;padding:8px 44px 8px 8px;position:relative;transition:border-color .2s,transform .2s;line-height:1.4}
.q-btn:hover{border-color:var(--green);transform:translateY(-2px)}
.q-btn::after{content:"";position:absolute;right:12px;top:50%;margin-top:-13px;width:26px;height:26px;border-radius:50%;background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat}
.q-ill{flex-shrink:0;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#E4F1EA}
.q-ill.t-y{background:#FFF3D6}.q-ill.t-p{background:#FCE7E1}
.q-ill svg{width:34px;height:34px}
.q-btn small{display:block;font-size:11px;color:var(--ink-soft)}
.q-btn b{font-size:16px}

/* Clearer card button */
.fac-more{align-self:flex-start;background:var(--green);color:#fff!important;padding:8px 10px 8px 20px;border-radius:999px;font-size:14px}
.fac-more::after{background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%233A8F6B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}

@media (max-width:400px){.quick-grid{grid-template-columns:1fr}}
.footer .logo b{font-size:18px}

/* ---------- WordPress generic pages / posts ---------- */
.simple-hero{padding:150px 0 50px}
.simple-hero h1{font-size:clamp(26px,3.6vw,40px);font-weight:900;color:var(--green-deep);letter-spacing:.08em;line-height:1.5;margin-top:8px}
.simple-hero .date{font-family:"Quicksand";font-weight:700;color:var(--ink-soft)}
.entry{background:#fff;border-radius:40px;padding:56px clamp(20px,5vw,64px);margin:0 auto 110px;max-width:960px;line-height:2}
.entry > * + *{margin-top:1.2em}
.entry h2{font-size:24px;color:var(--green-deep);padding-bottom:8px;border-bottom:2px dotted var(--line);margin-top:2em}
.entry h3{font-size:20px;color:var(--green-deep);margin-top:1.6em}
.entry h4,.entry h5,.entry h6{font-size:17px;margin-top:1.4em}
.entry a{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.entry ul{list-style:disc;padding-left:1.5em}.entry ol{list-style:decimal;padding-left:1.5em}
.entry img{height:auto;border-radius:16px}
.entry table{width:100%;border-collapse:collapse}
.entry th,.entry td{border-bottom:2px dotted var(--line);padding:12px;text-align:left;vertical-align:top}
.entry th{color:var(--green-deep);background:#FBF7EF;white-space:nowrap}
.entry input[type=text],.entry input[type=email],.entry input[type=tel],.entry textarea,.entry select{width:100%;border:2px solid var(--line);border-radius:14px;padding:12px 14px;font:inherit;background:#FFFDF8}
.entry input[type=submit],.entry button[type=submit],.entry .wp-block-button__link{background:var(--green);color:#fff;border:0;border-radius:999px;padding:14px 36px;font:inherit;font-weight:700;cursor:pointer;text-decoration:none}
.entry .wp-block-image,.entry figure{margin-left:0;margin-right:0}
.entry iframe{max-width:100%;border:0;border-radius:20px}
.post-list{max-width:960px;margin:0 auto 110px}
.post-list li a{display:grid;grid-template-columns:110px 150px 1fr;gap:16px;align-items:center;padding:22px 8px;border-bottom:2px dotted var(--line)}
.post-list li:first-child a{border-top:2px dotted var(--line)}
.post-list time{font-family:"Quicksand";font-weight:700;color:var(--ink-soft)}
.post-list .cat{font-size:12px;font-weight:700;text-align:center;border-radius:999px;padding:2px 10px;background:var(--beige);color:var(--green-deep)}
.post-list .t{font-weight:700}
.post-list a:hover .t{color:var(--green)}
.pager{display:flex;justify-content:center;gap:8px;margin-top:32px;flex-wrap:wrap}
.pager .page-numbers{min-width:44px;height:44px;display:grid;place-items:center;border-radius:999px;background:#fff;border:2px solid var(--line);font-weight:700;padding:0 12px}
.pager .current{background:var(--green);border-color:var(--green);color:#fff}
@media (max-width:700px){.post-list li a{grid-template-columns:auto auto 1fr}.post-list .t{grid-column:1/-1}}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
