/* 企業サイトの同じ形のリンクを共通化。ブログと無料診断ツールには読み込まない。 */
body.ms-experience-page main :is(a.text-link,a.quiet-link,a.service-row,.ms-page-links a){position:relative}
body.ms-experience-page main :is(a.text-link,a.quiet-link,.ms-page-links a){color:#006e68;font-weight:600;border-bottom-color:#007f78;text-decoration:none}
body.ms-experience-page main :is(a.text-link,a.quiet-link,a.service-row,.ms-page-links a)::after{content:"";position:absolute;inset:auto 0 -1px;height:3px;background:linear-gradient(105deg,#007f78 0%,#007f78 34%,#47bca8 43%,#effff8 50%,#47bca8 57%,#007f78 66%,#007f78 100%);background-size:250% 100%;background-position:100% 0;pointer-events:none;animation:ms-link-glint 7s linear infinite}
body.ms-experience-page main a.service-row .round-arrow{border-color:#007f78;color:#006e68}
body.ms-experience-page main :is(a.text-link,a.quiet-link,a.service-row,.ms-page-links a):focus-visible::after{height:4px;animation:ms-link-glint-active .9s ease-out both}
body.ms-experience-page main a.service-row:focus-visible .round-arrow{background:#007f78;color:#fff}
@keyframes ms-link-glint{0%,72%{background-position:100% 0}100%{background-position:0 0}}
@keyframes ms-link-glint-active{from{background-position:100% 0}to{background-position:0 0}}
@media(hover:hover) and (pointer:fine){
 body.ms-experience-page main :is(a.text-link,a.quiet-link,a.service-row,.ms-page-links a):hover::after{height:4px;animation:ms-link-glint-active .9s ease-out both}
 body.ms-experience-page main a.service-row:hover .round-arrow{background:#007f78;color:#fff}
 body.ms-experience-page main a.service-row:hover h3{color:#006e68}
}
@media(prefers-reduced-motion:reduce){
 body.ms-experience-page main :is(a.text-link,a.quiet-link,a.service-row,.ms-page-links a){transition:none}
 body.ms-experience-page main :is(a.text-link,a.quiet-link,a.service-row,.ms-page-links a)::after{animation:none!important;background:#007f78}
 body.ms-experience-page main a.text-link>span,body.ms-experience-page main a.service-row .round-arrow{transition:none;transform:none}
}
@media(forced-colors:active){body.ms-experience-page main :is(a.text-link,a.quiet-link,a.service-row,.ms-page-links a)::after{animation:none!important;background:LinkText;forced-color-adjust:none}}

body.ms-experience-page main .ms-page-links>li{min-width:0;max-width:100%}
body.ms-experience-page main .ms-page-links a{display:inline-block;max-width:100%;padding-block:8px;overflow-wrap:anywhere;text-wrap:balance}

/* ネイティブdialogの中央配置をテーマの余白リセットから保護する。 */
body.ms-experience-page .case-dialog{position:fixed;inset:0;margin:auto;height:fit-content;max-height:calc(100svh - 48px);max-height:calc(100dvh - 48px);overflow:auto}
@media(max-width:760px){body.ms-experience-page .case-dialog{width:calc(100% - 24px);max-width:1280px;height:fit-content;max-height:calc(100svh - 24px);max-height:calc(100dvh - 24px);margin:auto}}
