/* October 25: tsumugu's own plan frames, calm motion and footer-inspired menu. */
body{overflow-wrap:break-word}h1,h2,h3,p{text-wrap:pretty}
.title h1{animation:pageHeading 1.7s ease both}@keyframes pageHeading{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.motion-ready .reveal,.mist-ready .mist-reveal.is-shown{transition:opacity 1.7s ease,transform 1.9s cubic-bezier(.16,1,.3,1),filter 1.8s ease}
.mist-ready .mist-reveal.is-shown:after{animation-duration:2.05s}
/* Header menu uses the footer's ink-blue and spacious two-column links. */
#navigation{width:100vw;max-width:none;background:#18293a;color:#f7f5ef;padding:35px 7% 65px;inset:0;margin:0;height:100dvh;overscroll-behavior:contain}
#navigation[open]{animation:menuFade .65s ease both}
#navigation .drawer-top{max-width:1240px;margin:0 auto;border-bottom:1px solid #ffffff33;padding-bottom:20px}
#navigation .drawer-top>span{font:14px Georgia,serif;letter-spacing:.08em}
#navigation #menu-close{color:#f7f5ef;min-width:85px;min-height:44px}
#navigation .drawer-main{max-width:1240px;margin:12vh auto 0;display:grid;grid-template-columns:1fr 1.3fr;gap:12%;align-items:start}
#navigation .drawer-brand>a{font-size:24px;letter-spacing:.13em;display:inline-block;padding:8px 0}
#navigation .drawer-brand p{font-size:14px;line-height:2.2;color:#d7e0e6;margin:24px 0}
#navigation nav:not(.secondary-nav){display:grid;grid-template-columns:1fr 1fr;gap:0 35px;margin:0}
#navigation nav:not(.secondary-nav) a{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff33;min-height:70px;padding:18px 0;animation:none}
#navigation nav:not(.secondary-nav) span{font:14px inherit;font-size:14px;letter-spacing:.06em}
#navigation nav a i{font-size:15px;color:#c6d9e3;font-style:normal}
#navigation nav a:hover{background:#ffffff0a;color:#fff}#navigation :focus-visible{outline-color:#c9e9f4}
@keyframes menuFade{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
/* Plans begin with two real frames and a centered, ruled title. */
.plan-opening{max-width:830px;margin:46px auto 42px;padding:0 30px;display:grid;grid-template-columns:1fr 1fr;gap:18px;animation:pageHeading 1.9s ease both}
.plan-opening img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.plan-page .title{margin:0 auto 48px;padding:0 24px;text-align:center;max-width:1080px}.plan-page .title:before{display:none}
.plan-title h1{display:flex;align-items:center;justify-content:center;gap:34px;font-size:48px;letter-spacing:.02em}
.plan-title h1:before,.plan-title h1:after{content:'';height:1px;background:#bac9ce;flex:1;max-width:330px}
.plan-title p{font-size:13px;margin-top:12px}
.plan-choice-hint{text-align:center;font-size:12px;color:#5c6c73;margin:0 20px 16px}
.plan-tabs{max-width:1080px;margin:0 auto 38px;padding:0 24px;border:0;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}
.plan-tabs a{position:relative;border:1px solid #c7d2d6;border-radius:3px;background:#fff;padding:23px 16px 18px;min-height:145px;box-shadow:0 4px 13px #18324609;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:background .25s,border-color .25s,box-shadow .25s;line-height:1.45}
.plan-tabs a .tab-en{font:21px/1.4 Georgia,serif;letter-spacing:0}.tab-en>span{display:block;font-size:.85em}
.plan-tabs a small{font-size:10px;line-height:1.7;margin:8px 0 14px;letter-spacing:.03em}.plan-tabs a b{font-size:11px;font-weight:400;color:#36657b;margin-top:auto}
.plan-tabs a[aria-current]{margin:0;border:1px solid #526f7e;border-bottom:3px solid #526f7e;background:#f3f7f8;color:#233e4d}
.plan-tabs a:hover{border-color:#526f7e;box-shadow:0 6px 20px #18324615;background:#f5f8f9}
.plan-contents{max-width:1032px;margin:0 auto 70px;padding:24px 28px;border:1px solid #e0e6e8;border-radius:3px}
.plan-contents>p{margin:0 0 15px;font-size:11px;color:#64757d;text-align:center}
.plan-contents>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.plan-contents a{border:1px solid #d8e0e3;min-height:48px;padding:12px 16px;font-size:12px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:white;box-shadow:0 2px 5px #18324606;line-height:1.6}
.plan-contents a span{font-size:16px;color:#567482}.plan-contents a:hover{background:#f2f6f8;border-color:#829ba7}
.plan-layout{display:block;max-width:1080px;padding:0 24px;margin:0 auto}.plan-layout .section{padding:0 0 95px;margin:0;scroll-margin-top:30px}
.plan-page .section-label{text-align:center;margin-bottom:35px;color:#344b57}.plan-page .section-label span{display:flex;justify-content:center;align-items:center;gap:24px;font:22px/1.4 Georgia,serif;letter-spacing:.02em}
.plan-page .section-label span:before,.plan-page .section-label span:after{content:'';height:1px;background:#c7d2d6;width:auto;flex:1;max-width:200px}
.plan-page .section-label h2{font-size:13px;margin:12px 0 0;letter-spacing:.08em}
.plan-layout #plan{padding:46px 7% 50px;border:1px solid #c7d2d6;border-radius:4px;margin:0 0 90px;box-shadow:0 10px 35px #18324605}
.plan-layout .plan-name{font-size:38px;line-height:1.35;margin:35px 0 12px;text-align:center;text-wrap:balance}.plan-name>span{display:block;font-size:.82em}
.plan-name+h3{text-align:center;font-size:13px;margin:12px 0 35px}.plan-layout #plan>p:not(.price):not(.price-caption){max-width:660px;margin:0 auto}
.plan-layout #plan dl{max-width:700px;margin:35px auto}.plan-layout #plan .price,.plan-layout #plan .price-caption{text-align:center}
.plan-layout .services{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.plan-layout .services article{border:1px solid #dce3e6;padding:24px;border-radius:3px}.plan-layout .services h3{font-size:17px;line-height:1.8;margin:0 0 15px}.plan-layout .services p{font-size:13px;line-height:2.1;margin:0}
.plan-index>.section{padding-inline:24px}.plan-index .plans{max-width:1080px;margin:auto;gap:24px}.plan-index .plan-card{padding:18px;border:1px solid #d0dbe0;box-shadow:0 4px 16px #18324606}.plan-index .plan-card>span{font-size:23px;line-height:1.4}.plan-index .plan-card .arrow{font-size:12px}.plan-index .section{max-width:1080px;padding-top:25px}
.plan-caption>span{font-size:clamp(23px,2vw,32px);line-height:1.3;display:block;text-wrap:balance}
/* Intro never blocks access when JS is unavailable or motion is reduced. */
#brand-intro{display:none;position:fixed;inset:0;z-index:100;background:white;color:#344b57}
.intro-playing #brand-intro{display:block;animation:introSafety .3s 5s forwards}
.intro-wordmark{position:absolute;left:50%;top:46%;width:min(580px,79vw);transform:translate(-50%,-50%);will-change:transform,opacity}
.intro-wordmark svg{display:block;width:100%;height:auto;overflow:visible}.intro-wordmark path{stroke-dasharray:1;stroke-dashoffset:1;opacity:0;animation:writeInk .5s var(--pen-delay) ease forwards}
.intro-skip{position:absolute;right:6%;bottom:6%;border:0;border-bottom:1px solid #a7bac4;background:white;font-size:11px;padding:12px 8px;min-height:44px;color:#4d6875}
@keyframes writeInk{0%{opacity:1;stroke-dashoffset:1}100%{opacity:1;stroke-dashoffset:0}}@keyframes introSafety{to{opacity:0;visibility:hidden;pointer-events:none}}
.home-page .home-hero.current-cover{animation:photoArrival 1.9s ease both}.intro-playing .home-page .home-hero.current-cover{animation-play-state:paused;opacity:0}
@keyframes photoArrival{from{opacity:0;filter:blur(3px)}to{opacity:1;filter:none}}
@media(max-width:1100px){.plan-contents{margin-inline:24px}}
@media(max-width:700px){
 #navigation{padding:20px 7% 40px}#navigation .drawer-top{padding-bottom:12px}#navigation .drawer-main{grid-template-columns:1fr;gap:22px;margin-top:32px}#navigation .drawer-brand>a{font-size:20px}#navigation .drawer-brand p{font-size:12px;margin:12px 0}#navigation nav:not(.secondary-nav){grid-template-columns:1fr 1fr;gap:0 22px;margin:0}#navigation nav:not(.secondary-nav) a{padding:14px 0;min-height:57px}#navigation nav:not(.secondary-nav) span{font-size:12px}
 .plan-opening{margin:26px auto 30px;padding:0 20px;gap:10px}.plan-page .title{margin-bottom:32px;padding:0 20px}.plan-title h1{font-size:36px;gap:24px}.plan-title p{font-size:11px}.plan-choice-hint{font-size:11px;margin-bottom:14px}
 .plan-tabs{padding:0 20px;gap:8px;margin-bottom:25px}.plan-tabs a{min-height:152px;padding:15px 7px 12px}.plan-tabs a .tab-en{font-size:15px}.tab-en>span{font-size:.82em}.plan-tabs a small{font-size:9px;margin:8px 0 12px;line-height:1.6;letter-spacing:0}.plan-tabs a b{font-size:9px}
 .plan-contents{padding:18px 12px;margin:0 20px 45px}.plan-contents>div{grid-template-columns:1fr 1fr;gap:8px}.plan-contents a{padding:10px;font-size:10px;min-height:48px;letter-spacing:0}.plan-contents a span{font-size:14px}
 .plan-layout{padding:0 20px}.plan-layout .section{padding-bottom:65px}.plan-page .section-label span{font-size:20px;gap:18px}.plan-page .section-label h2{font-size:11px}.plan-layout #plan{padding:28px 20px 35px;margin-bottom:60px}.plan-layout .plan-name{font-size:27px}.plan-name+h3{font-size:12px;margin-bottom:25px}.plan-layout #plan>p{font-size:13px}.plan-layout #plan dl>div{grid-template-columns:76px 1fr;gap:12px;font-size:11px}.plan-layout #plan .price{font-size:36px}
 .plan-layout .services{grid-template-columns:1fr;gap:14px}.plan-layout .services article{padding:22px}.plan-index .plans{gap:25px}.plan-index .plan-card>span{font-size:25px}.plan-index .section{margin-inline:20px}.plan-caption>span{font-size:28px}
}
@media(prefers-reduced-motion:reduce){
 .title h1,.plan-opening,.home-page .home-hero.current-cover{animation:none!important;opacity:1!important;filter:none!important}
 .motion-ready .reveal,.mist-ready .mist-reveal{opacity:1!important;transform:none!important;filter:none!important;transition:none!important}
 #navigation[open]{animation:none}#brand-intro,.intro-playing #brand-intro{display:none!important}.intro-wordmark path{animation:none;stroke-dashoffset:0}
}
