/* pray4 下層ページ共通の動き（トップページ C と同じ指定） */
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid #16325B;outline-offset:4px}
.u{background-image:linear-gradient(#9E85EE,#9E85EE);background-size:0% 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size .3s cubic-bezier(0.41,0.8,0.75,0.94)}
.u:hover,.work:hover .u{background-size:100% 1px}
.work .shot{transition:filter .4s ease}
.work:hover .shot{filter:brightness(.9)}
.work .view{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-family:'Montserrat',sans-serif;font-size:14px;letter-spacing:0.08em;color:#16325B;white-space:nowrap;opacity:0;transition:opacity .25s ease;background:#FFFFFF;padding:6px 18px;border-radius:9999px}
.work:hover .view{opacity:1}
.pill{transition:background-color .3s ease}
.pill:hover{background-color:#E6E2F3}
.pill .arr,.pill-w .arr{display:inline-block;margin-left:12px;transition:transform .3s cubic-bezier(0.19,1,0.22,1)}
.pill:hover .arr,.pill-w:hover .arr{transform:translateX(6px)}
.pill .arr-l{display:inline-block;margin-right:12px;transition:transform .3s cubic-bezier(0.19,1,0.22,1)}
.pill:hover .arr-l{transform:translateX(-6px)}
.pill-w{background-image:linear-gradient(#F2F0F7,#F2F0F7);background-size:0% 100%;background-repeat:no-repeat;transition:background-size .5s cubic-bezier(0.19,1,0.22,1)}
.pill-w:hover{background-size:100% 100%}
.step-1{margin-top:40px}.step-2{margin-top:80px}
@media (max-width: 760px){.step-1,.step-2{margin-top:0}}
.slant{clip-path:polygon(0 64px,100% 0,100% calc(100% - 64px),0 100%)}
.slant-top{clip-path:polygon(0 0,100% 56px,100% 100%,0 100%)}

/* 開いたとき */
.intro{position:fixed;inset:0;z-index:50;background:#F6F4FB;pointer-events:none;animation:intro 1.1s cubic-bezier(0.77,0,0.18,1) .1s both}
@keyframes intro{from{clip-path:circle(150% at 0% 50%)}to{clip-path:circle(0% at 0% 50%);visibility:hidden}}
.ch{display:inline-block;animation:chin .9s cubic-bezier(0.19,1,0.22,1) both;animation-delay:calc(var(--i) * 60ms + 1000ms)}
@keyframes chin{from{opacity:0;transform:translateY(0.5em)}to{opacity:1;transform:none}}
.line{display:block;animation:lin .9s cubic-bezier(0.19,1,0.22,1) both;animation-delay:calc(var(--i) * 160ms + 1600ms)}
@keyframes lin{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.sticker{animation:float 5s ease-in-out infinite alternate}
@keyframes float{from{transform:translateY(0)}to{transform:translateY(-8px)}}
.progress{position:fixed;left:0;top:0;right:0;height:2px;background:#9E85EE;transform-origin:0 50%;transform:scaleX(0);z-index:40;pointer-events:none}

/* よくある質問の開閉 */
.qa summary{list-style:none;cursor:pointer}
.qa summary::-webkit-details-marker{display:none}
.qa .plus{position:relative;width:16px;height:16px;flex:0 0 16px}
.qa .plus::before,.qa .plus::after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:#16325B;transition:transform .35s cubic-bezier(0.19,1,0.22,1)}
.qa .plus::after{transform:rotate(90deg)}
.qa[open] .plus::after{transform:rotate(0deg)}
.qa .q{transition:color .3s ease}
.qa summary:hover .q{color:#16325B}
.qa .a{animation:qa .5s cubic-bezier(0.19,1,0.22,1) both}
@keyframes qa{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

@supports (animation-timeline: scroll()){
.progress{animation:prog linear both;animation-timeline:scroll(root)}
@keyframes prog{to{transform:scaleX(1)}}
}
@supports (animation-timeline: view()){
.fade{animation:fade linear both;animation-timeline:view();animation-range:entry 0% entry 50%}
@keyframes fade{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.clipin{animation:clipin linear both;animation-timeline:view();animation-range:entry 0% entry 70%}
@keyframes clipin{from{clip-path:inset(18% 18% 18% 18%)}to{clip-path:inset(0 0 0 0)}}
.zoom{animation:zoom linear both;animation-timeline:view();animation-range:entry 0% cover 50%}
@keyframes zoom{from{transform:scale(1.12)}to{transform:scale(1)}}
.cap{display:block;animation:cap linear both;animation-timeline:view();animation-range:entry var(--s) entry var(--e)}
@keyframes cap{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.rule{transform-origin:0 50%;animation:rule linear both;animation-timeline:view();animation-range:entry 40% entry 100%}
@keyframes rule{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.ltr{display:inline-block;animation:ltr linear both;animation-timeline:view();animation-range:entry var(--s) entry var(--e)}
@keyframes ltr{from{opacity:0;transform:translateY(0.6em)}to{opacity:1;transform:none}}
.vline{transform-origin:50% 0;animation:vline linear both;animation-timeline:view();animation-range:entry 20% cover 70%}
@keyframes vline{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.drift{animation:drift linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
@keyframes drift{from{transform:translate(-40px,120px)}to{transform:translate(40px,-120px)}}
.px-slow{animation:pxslow linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
@keyframes pxslow{from{transform:translateY(-120px)}to{transform:translateY(220px)}}
.px-up{animation:pxup linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
@keyframes pxup{from{transform:translateY(160px)}to{transform:translateY(-160px)}}
.count{animation:count linear both;animation-timeline:view();animation-range:entry 30% entry 90%}
@keyframes count{from{opacity:0;letter-spacing:0.3em}to{opacity:1;letter-spacing:0.04em}}
}

@media (prefers-reduced-motion: reduce){
.intro{display:none}
.progress{display:none}
.ch,.line,.sticker,.fade,.clipin,.zoom,.cap,.rule,.ltr,.vline,.drift,.px-slow,.px-up,.count,.qa .a{animation:none !important;opacity:1 !important;transform:none !important;clip-path:none !important}
.u,.work .shot,.pill,.pill-w,.pill .arr,.pill-w .arr,.qa .plus::before,.qa .plus::after{transition:none}
}

/* お問い合わせフォーム */
.form input[type="text"],.form input[type="email"],.form input[type="tel"],.form input[type="url"],.form textarea{transition:border-color .2s ease,box-shadow .2s ease}
.form input:focus,.form textarea:focus{outline:none;border-color:#16325B !important;box-shadow:0 0 0 3px #E6E2F3}
.form input::placeholder{color:#A6A2B5}
.form .check:hover{color:#16325B}
.form input[type="checkbox"]:focus-visible{outline:2px solid #16325B;outline-offset:3px}
.pill-d{transition:background-color .3s ease}
.pill-d:hover{background-color:#22467A !important}
.pill-d .arr{display:inline-block;margin-left:12px;transition:transform .3s cubic-bezier(0.19,1,0.22,1)}
.pill-d:hover .arr{transform:translateX(6px)}
@media (prefers-reduced-motion: reduce){.form input,.form textarea,.pill-d,.pill-d .arr{transition:none}}
