/* asukamura 基調。値は doc/design/candidates-2/asukamura.md の固定値 */
:root{--ground:#EBE3CC;--paper:#FCFAF0;--card:#FBF9ED;--band:#B3D0A6;--ink:#161611;--foot:#2C2C24;--sub:#8E8B80;--sub2:#747062;--rule:#CCCABD;--pillb:rgba(22,22,17,.2);--ease:cubic-bezier(.23,1,.32,1)}
*{box-sizing:border-box}
body{margin:0;font-family:YakuHanMP,"Shippori Mincho B1",serif;font-size:15.48px;font-weight:400;line-height:1.5;color:#000;background:var(--paper)}
img{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3,p,ul,dl,dd,figure{margin:0}
.nw{white-space:nowrap}

/* header: 透明で帯の上に乗り、下に 1px の罫線。JS が動く時だけ fixed・出入り */
.hd{position:absolute;top:0;left:0;right:0;z-index:20;color:var(--ink);transition:transform .5s var(--ease)}
.js .hd{position:fixed}
.js .hd.hide{transform:translateY(-100%)}
.hdrow{height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 24px;border-bottom:1px solid var(--rule);font-size:10.65px;font-weight:600;line-height:10.65px}
.hd.solid,.hd.solid .hdrow{background:var(--paper)}
.hd a{text-underline-offset:2px}
.langs a{color:var(--sub);margin:0 3px;text-decoration:underline}
.langs a[aria-current]{color:var(--ink)}
.menu{position:relative}
.menu summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;font-size:15.48px;font-weight:400;line-height:1}
.menu summary::-webkit-details-marker{display:none}
.menu summary i{display:block;width:88px;height:5px;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink)}
.menu nav{position:absolute;right:0;top:32px;min-width:200px;background:var(--paper);border:1px solid var(--rule);padding:12px 20px;display:flex;flex-direction:column;gap:10px;font-size:15.48px;font-weight:400;line-height:1.5}
.menu nav a{text-decoration:none}
.menu nav a[aria-current]{text-decoration:underline}
.topbar{display:none;background:var(--ink);color:#fff;text-decoration:none;font-size:12.675px;line-height:19.01px;padding:6px 16px;justify-content:center;gap:12px}

/* 題字の帯: 下地 #B3D0A6 に生成り #FCFAF0 を 35% 重ねる(見える色 約 rgb(205,223,192)) */
.band{position:relative;background:var(--band);padding:92px 24px 40px;display:flex;justify-content:center}
.band::before{content:"";position:absolute;inset:0;background:rgba(252,250,240,.35)}
.mark-wrap{position:relative;padding-top:24px}
.place{position:absolute;top:0;left:0;font-size:14.52px;font-weight:400;line-height:21.77px;color:var(--ink)}
.mark{display:flex;align-items:center;gap:16px;text-decoration:none;color:var(--ink)}
.crest{height:80px;width:auto}
.mark-text{font-size:100px;font-weight:600;line-height:1.1;white-space:nowrap}
.en-name{text-align:right;margin-top:6px;font-size:15.48px;color:var(--ink)}
.en-name span{display:inline-block;border-bottom:3px double var(--ink);line-height:1.2}

/* 最初の画面 */
.hero{position:relative;height:620px;background:var(--ground)}
.hero .slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}
.hero .slide:first-of-type{opacity:1}
.hero.n3 .slide{animation:xf 9s linear infinite}
.hero.n3 .slide:nth-of-type(2){animation-delay:-6s}
.hero.n3 .slide:nth-of-type(3){animation-delay:-3s}
@keyframes xf{0%,27%{opacity:1}33%,94%{opacity:0}100%{opacity:1}}
.badge{position:absolute;top:0;right:8%;transform:translateY(-50%);z-index:5;width:220px;height:220px;border-radius:50%;background:var(--ink);color:#fff;border:4px double #fff;outline:6px solid var(--ink);outline-offset:-1px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;text-decoration:none;font-size:14.52px;line-height:21.77px;padding:24px}
.notice{position:absolute;left:24px;bottom:24px;z-index:5;width:380px;display:flex;gap:12px;align-items:center;padding:12px;background:var(--card);border:1px solid #000;color:#000;text-decoration:none}
.notice img{width:64px;height:64px;object-fit:cover;flex:none}
.nb{min-width:0;flex:1}
.notice p{font-size:14.52px;line-height:21.77px}
.notice .meta{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}
.notice .ttl span{border-bottom:1px solid #000}
.pill{display:inline-block;max-width:100%;border:1px solid var(--pillb);border-radius:21.29px;padding:0 12px;font-size:13.55px;line-height:21.29px;font-weight:400;white-space:nowrap}
.hero-card{position:absolute;left:24px;bottom:24px;z-index:5}

/* 固定写真 + 文章カード */
.fix{background-size:cover;background-position:center;background-attachment:fixed;min-height:640px;display:flex;align-items:center;padding:80px 10%}
.card{width:340px;max-width:100%;background:var(--card);padding:28px 25px}
.card h1,.card h2{font-size:28.06px;line-height:39.29px;font-weight:600}
.card h1.lead{font-size:23.23px;line-height:32.52px;font-weight:600}
.card p{margin-top:16px}
.card .num{margin:0 0 12px;font-size:15.48px;font-weight:600;color:var(--sub2)}
.card .btn{margin-top:24px}
.card .btn+.btn{margin-top:12px}
.btn{display:inline-flex;align-items:center;gap:16px;background:var(--ink);color:#fff;border:0;border-radius:0;padding:14px 20px;font:inherit;font-size:15.48px;text-decoration:none;cursor:pointer}

/* 組み */
.paper{background:var(--ground);padding:100px 0}
.row{max-width:1160px;margin:0 auto 120px;padding:0 24px;display:flex;gap:48px;align-items:flex-start}
.row:last-child{margin-bottom:0}
.row.r{flex-direction:row-reverse}
.row.has-ph{justify-content:center}
.row:not(.has-ph).l{justify-content:flex-start;padding-left:10%}
.row:not(.has-ph).r{justify-content:flex-start;padding-right:10%}
.ph{width:420px;max-width:100%;flex:none}
.ph img{width:100%;height:auto}
.row .ph{margin-top:40px}
.ph figcaption{margin-top:8px;font-size:14.52px;line-height:21.77px;color:var(--sub2)}

/* 日程・FAQ */
.course{background:var(--paper);padding:100px 24px}
.wrap{max-width:1160px;margin:0 auto}
.course h2,.news h2{font-size:34.84px;line-height:48.77px;font-weight:600;margin-bottom:40px}
.course dl>div{display:grid;grid-template-columns:260px 1fr;gap:24px;padding:20px 0;border-top:1px solid var(--rule)}
.course dl>div:last-child{border-bottom:1px solid var(--rule)}
dt{font-size:17.42px;line-height:24.39px;font-weight:600}
.news{background:var(--ground);padding:100px 24px}
.news li{list-style:none;padding:20px 0;border-top:1px solid var(--rule);display:grid;grid-template-columns:420px 1fr;gap:24px}
.news ul{padding:0;border-bottom:1px solid var(--rule)}
.news h3{font-size:17.42px;line-height:24.39px;font-weight:600}

/* 注文ページ: 見出し帯のすぐ下に絞り込みと格子 */
.fr{position:absolute;opacity:0;pointer-events:none}
.shop-head{background:var(--ground);padding:40px 24px 24px;border-bottom:1px solid var(--rule)}
.shop-head .wrap{display:flex;gap:48px;justify-content:space-between;align-items:flex-start}
.shop-head h1{font-size:69.68px;line-height:97.55px;font-weight:600}
.lede{margin-top:8px;font-size:23.23px;line-height:32.52px;font-weight:600;max-width:640px}
.shop-head .ph{width:200px;background:var(--card);padding:16px}
.shop .paper{padding:24px 0 100px}
.shop .wrap{padding:0 24px}
.pills{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:32px}
.pills .pill{cursor:pointer}
#f-all:checked~.paper [for=f-all],#f-health:checked~.paper [for=f-health],#f-path:checked~.paper [for=f-path],#f-protect:checked~.paper [for=f-protect]{border-color:var(--ink)}
#f-health:checked~.paper .item:not([data-tag=health]),#f-path:checked~.paper .item:not([data-tag=path]),#f-protect:checked~.paper .item:not([data-tag=protect]){display:none}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:100px 24px}
.item .box{position:relative;height:270px;background:var(--card);display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:16px}
.item .box img{height:210px;width:auto;transition:transform .35s cubic-bezier(.25,.46,.45,.94)}
.item:hover .box img{transform:scale(1.03)}
.item .box .pill{position:absolute;left:12px;top:12px;background:var(--card)}
.item p,.item h3{margin-top:6px}
.item .one{font-size:17.42px;line-height:24.39px;font-weight:600;margin-top:0}
.item h3{font-size:15.48px;line-height:21.77px;font-weight:400}
.item .sub{font-size:12.675px;line-height:19.01px;color:var(--sub2)}
.item .buy{display:flex;justify-content:space-between;align-items:baseline;margin-top:10px}
.item .price{font-size:15.48px}
.cart{background:none;border:0;padding:0;font:inherit;font-size:13.55px;color:#000;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.notes{max-width:760px;margin-top:100px}
.notes h2{font-size:28.06px;line-height:39.29px;font-weight:600;margin-bottom:40px}
.notes li{list-style:none;padding:14px 0;border-top:1px solid var(--rule)}
.notes ul{padding:0;border-bottom:1px solid var(--rule)}
.operator{margin-top:24px;font-size:14.52px;color:var(--sub2)}

/* 下部 */
.bnav{background:var(--ink);color:#fff;display:flex;justify-content:center;gap:40px;padding:28px 24px}
.bnav a{text-decoration:none;font-size:15.48px}
.ft{background:var(--foot);color:#fff;padding:48px 24px;text-align:center;font-size:14.52px;line-height:21.77px}
.ft p+p{margin-top:8px}
.ft .ft-name{font-size:17.42px;font-weight:600}

/* スクロール時の出現: JS が動き、かつ画面に入る前の要素だけ opacity 0。それ以外は常に見える */
.js .rise{transition:opacity .5s var(--ease)}
.js .rise.pre{opacity:0}
@media print{.rise.pre{opacity:1!important}}
@media (prefers-reduced-motion:reduce){.hero.n3 .slide{animation:none}.js .rise{transition:none}.js .hd{transition:none}}
@media (min-width:761px){html:lang(ja) .course h2,html:lang(ja) .news h2,html:lang(zh-Hant) .course h2,html:lang(zh-Hant) .news h2{font-size:28.06px;line-height:39.29px}}

/* mobile */
@media (max-width:760px){
body{font-size:15.6px}
.topbar{display:flex}
.hdrow{padding:0 16px;font-size:10.725px;line-height:10.725px}
.menu nav{right:-4px}
.band{padding:84px 20px 28px}
.en-name{font-size:12.675px}
.place{font-size:12.675px;line-height:19.01px}
.crest{height:50px}
.mark{gap:8px}
.mark-text{font-size:52px}
.mark-wrap{padding-top:22px}
.hero{height:520px}
.badge{display:none}
.notice{left:20px;right:20px;bottom:20px;width:auto}
.notice p{font-size:12.675px;line-height:19.01px}
.hero-card.card{left:20px;right:20px;bottom:20px;width:auto}
.fix{background-attachment:scroll;min-height:0;padding:56px 20px}
.card{width:100%;padding:24px 20px}
.card h1,.card h2{font-size:25.35px;line-height:35.49px}
.card h1.lead{font-size:17.42px;line-height:24.39px}
.paper{padding:60px 0}
.row,.row.r{flex-direction:column;gap:20px;margin-bottom:72px;padding:0 20px}
.row:not(.has-ph).l,.row:not(.has-ph).r{padding:0 20px}
.row .ph{margin-top:0;width:100%}
.ph figcaption{font-size:12.675px;line-height:19.01px}
.course,.news{padding:60px 20px}
.course h2,.news h2{font-size:25.35px;line-height:35.49px;margin-bottom:24px}
.course dl>div{grid-template-columns:1fr;gap:4px}
.news li{grid-template-columns:1fr;gap:6px}
.shop-head{padding:24px 20px 16px}
.shop-head .wrap{gap:16px}
.shop-head h1{font-size:29.25px;line-height:40.95px}
.lede{font-size:15.6px;line-height:22px;font-weight:400}
.shop-head .ph{width:96px;padding:8px}
.shop .paper{padding:16px 0 60px}
.shop .wrap{padding:0 20px}
.pills{margin-bottom:20px;gap:8px}
.grid{grid-template-columns:repeat(2,1fr);gap:40px 16px}
.item .box{height:auto;aspect-ratio:1/1.04}
.item .box img{height:72%}
.item .one{font-size:15.6px;line-height:22px}
.notes{margin-top:64px}
.notes h2{font-size:23.4px;line-height:32.76px;margin-bottom:24px}
.bnav{gap:24px;flex-wrap:wrap}
}
