/* Shared base styles and reusable site components. */
@charset "UTF-8";
:root{color-scheme:light;--ink:#44334d;--muted:#75687c;--paper:#fff;--purple:#b998dc;--sky:#8fd6ec;--pink:#efb2ca;--green:#b8d88a;--purple-ink:#80519f;--sky-ink:#266d84;--pink-ink:#ae4875;--green-ink:#55772c;--line:#e9e2ed;--font:"M PLUS Rounded 1c","Hiragino Maru Gothic ProN",sans-serif;--display:"Fredoka","M PLUS Rounded 1c",sans-serif;--ease:cubic-bezier(.2,.7,.3,1);--fast:180ms;--medium:280ms;--section:clamp(64px,8vw,110px);--site-width:1100px;--header-height:60px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:92px}
body{margin:0;color:var(--ink);background:var(--paper);font:500 15px/1.9 var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:#b998dc40}
body:has(dialog[open]){overflow:hidden}
a{color:inherit;text-decoration:none}
a,button,summary{touch-action:manipulation}
button,input,textarea,select{font:inherit;color:inherit}
button{padding:0;border:0;background:none;cursor:pointer}
img{display:block;max-width:100%;height:auto}
svg{display:inline-block;flex-shrink:0;width:24px;height:24px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
svg:has(use){fill:currentColor;stroke:none}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{text-wrap:balance}
::selection{color:var(--ink);background:#d9eec4}
:focus-visible{outline:3px solid var(--purple-ink);outline-offset:5px;border-radius:4px}
[hidden]{display:none!important}
.brand-symbols,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip-link{position:fixed;top:-100px;left:20px;z-index:100;padding:10px 20px;background:var(--ink);color:white;border-radius:8px;clip-path:inset(50%)}
.skip-link:focus{top:12px;clip-path:none}
.section-width{width:min(var(--site-width),calc(100% - 104px));margin-inline:auto}
.english{font-family:var(--display);font-weight:500;line-height:1}
.section-kicker{font-size:12px;font-weight:800;letter-spacing:.07em}
.heading-dot{color:var(--pink-ink)}
.inline-nowrap{white-space:nowrap}
.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:56px;padding:14px 27px;border-radius:40px;font-size:14px;font-weight:800;line-height:1.7;transition:background-color var(--fast),transform var(--fast) var(--ease)}
.button-dark{background:var(--ink);color:white}
.button-dark:hover{background:#70517e;transform:translateY(-2px)}
.button-light{border:1px solid #cbbdd5;background:white}
.button-light:hover{background:#f5eff9}
.button:active{transform:translateY(0)}
.button:disabled{opacity:.6;cursor:wait;transform:none}
.button svg{width:19px;height:19px}
.text-link{display:inline-flex;align-items:center;gap:22px;min-height:44px;margin-top:20px;border-bottom:1px solid var(--ink);font-weight:800;font-size:12px}
.text-link svg{width:18px;height:18px;transition:transform var(--fast) var(--ease)}
.text-link:hover svg{transform:translateX(4px)}
.site-header{position:sticky;top:0;z-index:30;height:var(--header-height);background:linear-gradient(90deg,var(--purple) 0%,var(--sky) 34%,var(--pink) 67%,var(--green) 100%)}
.header-inner{position:relative;display:flex;align-items:center;justify-content:space-between;height:100%;max-width:1720px;margin-inline:auto;padding:8px 20px}
.header-socials{display:flex;align-items:center;gap:8px}
.header-socials a{display:grid;place-items:center;width:44px;height:44px;background:white;border-radius:50%;transition:transform var(--fast) var(--ease),background-color var(--fast)}
.header-socials a:hover{background:#f8f4fb;transform:translateY(-2px)}
.header-socials svg{width:20px;height:20px}
.brand{position:absolute;z-index:2;left:50%;top:4px;width:84px;transform:translateX(-50%) rotate(-5deg);transition:transform var(--medium) var(--ease)}
.brand img{width:84px;height:84px}
.brand:hover{transform:translateX(-50%) rotate(3deg)}
.menu-toggle,.menu-close{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:white;transition:background-color var(--fast)}
.menu-toggle:hover,.menu-close:hover{background:#f5edf9}
.menu-toggle[aria-expanded="true"]{visibility:hidden}
.menu-toggle svg,.menu-close svg{width:23px;height:23px}
.site-menu{position:fixed;top:var(--header-height);left:0;width:100%;max-width:none;margin:0;padding:0;border:0;overflow:visible;background:white;color:var(--ink);box-shadow:0 6px 14px #44334d16}
.site-menu::backdrop{background:transparent}
.menu-close{position:fixed;right:20px;top:8px;z-index:2}
.menu-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:24px;width:min(1000px,calc(100% - 100px));max-height:calc(100dvh - 60px);overflow-y:auto;margin:auto;padding:42px 0 34px}
.menu-links a{display:flex;flex-direction:column;align-items:center;gap:15px;min-height:70px;justify-content:center}
.menu-links a>span:first-child{font-size:19px;font-weight:800}
.menu-links .english{font-size:15px;color:var(--muted)}
.menu-links a:hover>span:first-child{color:var(--purple-ink)}
.menu-links a[aria-current=page]>span:first-child{text-decoration:underline;text-decoration-color:var(--purple);text-decoration-thickness:3px;text-underline-offset:9px}
.member-miru{--member-color:var(--purple);--member-ink:var(--purple-ink)}
.member-nun{--member-color:var(--sky);--member-ink:var(--sky-ink)}
.member-rabi{--member-color:var(--pink);--member-ink:var(--pink-ink)}
.member-yura{--member-color:var(--green);--member-ink:var(--green-ink)}
.news-tag{display:inline-block;flex-shrink:0;padding:2px 13px;border-radius:20px;color:var(--purple-ink);background:#efe6f7;font-size:10px;font-weight:800;white-space:nowrap}
.member-circle{display:flex;flex-direction:column;align-items:center;position:relative;min-width:0;text-align:center}
.circle-art{display:block;width:100%;max-width:225px;aspect-ratio:1;transition:transform var(--medium) var(--ease)}
.circle-art img{width:100%;height:100%;object-fit:contain}
.member-circle:hover .circle-art{transform:translateY(-5px) rotate(-3deg)}
.circle-name{display:flex;flex-direction:column;gap:8px;margin-top:12px;font-size:25px;font-weight:900;letter-spacing:.1em}
.circle-name .english{font-size:16px;font-weight:500;letter-spacing:0;color:var(--member-ink)}
summary::-webkit-details-marker{display:none}
.contact-banner{padding-block:42px;background:#f2edf8}
.contact-banner>.section-width{display:flex;align-items:center;justify-content:space-between;gap:35px}
.contact-banner .english{font-size:25px;color:var(--purple-ink)}
.contact-banner h2{font-size:25px;font-weight:800;margin-top:8px}
.contact-banner h2+p{font-size:12px;margin-top:7px}
.site-footer{background:#f8f5fb;border-top:4px solid transparent;border-image:linear-gradient(90deg,var(--purple),var(--sky),var(--pink),var(--green)) 1}
.page-heading{padding-block:83px 48px;text-align:center}
.page-heading>.english{font-size:clamp(56px,6vw,78px)}
.page-heading h1{margin-top:16px;font-size:25px;font-weight:800;letter-spacing:.1em}
.page-heading h1+p{margin-top:15px;font-size:13px}
@media(max-width:1100px){
.header-socials{gap:6px}
}
@media(max-width:820px){
.section-width{width:calc(100% - 64px)}
.circle-name{font-size:22px}
.circle-name .english{font-size:14px}
}
@media(max-width:640px){
body{font-size:14px}
.section-width{width:calc(100% - 42px)}
.header-inner{padding-inline:8px}
.header-socials{gap:3px}
.header-socials a{position:relative;width:26px;height:44px;background:none;border-radius:4px}
.header-socials a::before{content:"";position:absolute;width:26px;height:26px;inset:9px 0;border-radius:50%;background:white}
.header-socials svg{position:relative;width:14px;height:14px}
.header-socials a:hover{background:none;transform:none}
.header-socials a:hover::before{background:#f5edf9}
.brand,.brand img{width:72px;height:72px}
.brand{top:3px}
.menu-close{right:8px}
.menu-links{grid-template-columns:1fr;width:calc(100% - 56px);gap:0;padding:25px 0 20px}
.menu-links a{flex-direction:row;justify-content:space-between;min-height:64px;gap:20px;padding-inline:8px}
.menu-links a>span:first-child{font-size:20px}
.menu-links .english{font-size:14px}
.news-tag{font-size:9px;padding:1px 10px}
.text-link{margin-top:14px}
.circle-art{max-width:170px}
.circle-name{font-size:24px;margin-top:8px;gap:6px}
.circle-name .english{font-size:15px}
.contact-banner{padding-block:35px}
.contact-banner>.section-width{flex-direction:column;align-items:flex-start;gap:23px}
.contact-banner .english{font-size:22px}
.contact-banner h2{font-size:24px}
.contact-banner .button{width:100%;font-size:13px}
.page-heading{padding-block:66px 35px}
.page-heading>.english{font-size:58px}
.page-heading h1{font-size:23px;margin-top:14px}
.page-heading h1+p{font-size:12px}
}
@media(max-width:360px){
.header-inner{padding-inline:6px}
.header-socials{gap:1px}
.header-socials a{width:24px}
.header-socials a::before{width:22px;height:22px;inset:11px 1px}
.header-socials svg{width:13px;height:13px}
.brand,.brand img{width:60px;height:60px}
.brand{top:5px}
}
@media(prefers-reduced-motion:reduce){
*,*::before,*::after{animation:none!important;transition-duration:.01ms!important}
}
@media(min-width:361px) and (max-width:380px){
.brand,.brand img{width:64px;height:64px}
.header-socials{gap:2px}
.header-socials a{width:25px}
.header-socials a::before{width:25px;height:25px;inset:9.5px 0}
}
.site-menu .menu-clock{position:fixed;pointer-events:none}
@media(max-width:340px){
.header-inner{padding-inline:4px}
.header-socials{gap:0}
.menu-close{right:4px}
}
:root{--safe-top:env(safe-area-inset-top,0px);--header-height:calc(60px + var(--safe-top));--page-gutter:52px}
html{scroll-padding-top:calc(92px + var(--safe-top))}
.header-inner{padding-top:calc(8px + var(--safe-top));padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
.brand{top:calc(4px + var(--safe-top))}
.menu-close{top:calc(8px + var(--safe-top));right:max(20px,env(safe-area-inset-right))}
.section-width{width:min(var(--site-width),calc(100% - max(var(--page-gutter),env(safe-area-inset-left)) - max(var(--page-gutter),env(safe-area-inset-right))))}
.menu-links{max-height:calc(100dvh - var(--header-height));overscroll-behavior:contain}
.site-footer{padding-bottom:env(safe-area-inset-bottom)}
@media(max-width:820px){
:root{--page-gutter:32px}
}
@media(max-width:640px){
:root{--page-gutter:21px}
.header-inner{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}
.brand{top:calc(3px + var(--safe-top))}
.menu-close{right:max(8px,env(safe-area-inset-right))}
}
@media(max-width:360px){
.brand{top:calc(5px + var(--safe-top))}
.header-inner{padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right))}
.menu-close{right:max(6px,env(safe-area-inset-right))}
}
@media(max-width:340px){
.header-inner{padding-left:max(4px,env(safe-area-inset-left));padding-right:max(4px,env(safe-area-inset-right))}
.menu-close{right:max(4px,env(safe-area-inset-right))}
}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px 30px;padding-block:20px}
.footer-credit{display:flex;align-items:center;gap:8px;flex-shrink:0}
.footer-credit small{font-size:11px;color:var(--muted)}
.footer-credit img{width:26px;height:26px}
.footer-nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:0 22px;font-size:11px;font-weight:700}
.footer-nav a{display:inline-flex;align-items:center;min-height:44px}
.footer-nav a:hover{text-decoration:underline;text-underline-offset:5px;color:var(--purple-ink)}
@media(max-width:640px){
.footer-inner{flex-direction:column;align-items:center;gap:8px;padding-block:16px 20px}
.footer-nav{justify-content:center;gap:0 clamp(10px,3vw,18px)}
.footer-credit{order:2}
.footer-credit small{font-size:10px}
.footer-credit img{width:24px;height:24px}
}
.circle-emphasis{position:absolute;top:-5%;right:-5%;width:30%;height:auto;overflow:visible;color:var(--member-color);stroke-width:6;opacity:0;transform:translate(-3px,5px) rotate(28deg) scale(.82);transform-origin:center;pointer-events:none;transition:opacity var(--fast),transform var(--medium) var(--ease)}
