.hasFixedContact{padding-bottom:var(--fixedContactHeight,80rem)}
@media screen{
.hasFixedContact{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.hasFixedContact>.siteFooter{margin-top:auto}
.hasFixedContact.admin-bar{min-height:calc(100dvh - 32px)}
}
@media screen and (max-width:782px){.hasFixedContact.admin-bar{min-height:calc(100dvh - 46px)}}
.contactLabelShort,.fixedPhoneHours{display:none}
.fixedContactSection{position:fixed;inset:auto 0 0;z-index:70;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -4rem 18rem #103e6924}
.fixedContactSection.isContactAnimated{transform:translateY(calc(100% + 24rem));visibility:hidden;pointer-events:none}
.fixedContactSection.isContactAnimated.isVisible{transform:translateY(0);visibility:visible;pointer-events:auto}
@media(prefers-reduced-motion:no-preference){
.fixedContactSection.isContactAnimated{transition:transform .24s ease-in,visibility 0s .24s}
.fixedContactSection.isContactAnimated.isVisible{transition:transform .9s cubic-bezier(.22,1,.36,1),visibility 0s}
}
html{scroll-padding-bottom:calc(var(--fixedContactHeight,0rem) + 16rem)}
/* A shallow desktop bar leaves room for the page on laptop screens. */
@media(min-width:769px){
.fixedContactSection .contactInner{width:920rem;justify-content:center;gap:24rem;padding-block:5rem 8rem}
.fixedContactSection .phoneBlock{flex:0 0 auto}
.fixedContactSection .contactActions{flex:0 0 430rem;gap:14rem}
.fixedContactSection .phoneLabel{font-size:13rem}
.fixedContactSection .phoneHours{font-size:11rem}
.fixedContactSection .phoneLink{font-size:36rem;gap:8rem;letter-spacing:-1rem}
.fixedContactSection .contactButton{min-height:50rem;display:grid;grid-template-columns:26rem minmax(0,1fr) 26rem;gap:6rem;padding:5rem 12rem}
.fixedContactSection .contactIcon,.fixedContactSection .contactIcon svg{width:26rem;height:26rem}
.fixedContactSection .contactIcon{position:static;transform:none}
.fixedContactSection .contactButtonText{gap:2rem;align-items:center;text-align:center}
.fixedContactSection .contactButtonText b{font-size:18rem}
.fixedContactSection .contactButtonText small{font-size:11rem}
.fixedContactSection .contactArrow{position:static;transform:none;justify-self:center;width:18rem;height:18rem}
/* 受付情報と番号の文字の左端を揃える。 */
.contactSection .phoneContent{--phoneIconSize:72rem;--phoneIconGap:14rem}
.fixedContactSection .phoneContent{--phoneIconSize:44rem;--phoneIconGap:8rem}
.contactSection .phoneIntro{display:none}
.contactSection .phoneMeta{justify-content:flex-start;gap:0;margin-left:calc(var(--phoneIconSize) + var(--phoneIconGap));margin-bottom:4rem}
.fixedContactSection .phoneMeta{margin-bottom:2rem}
.contactSection .phoneLabel,.contactSection .phoneHours{font-size:16rem;font-weight:800;line-height:1.5}
.fixedContactSection .phoneLabel,.fixedContactSection .phoneHours{font-size:11rem}
.contactSection .phoneLink{gap:var(--phoneIconGap)}
.contactSection .phoneLink>svg{width:var(--phoneIconSize);height:var(--phoneIconSize)}
}
/* フォームの導入文とカードを同じ幅に揃える */
.page #form{padding-top:32rem}
.page #form .contentInner{width:850rem}
.contactFormOptions{width:850rem;max-width:100%;margin:0 auto 56rem;display:grid;grid-template-columns:1fr 1fr;gap:20rem}
/* 標準の矢印を余白のある青いV字に置き換える */
.amtContactForm .contactField select{appearance:none;-webkit-appearance:none;padding-right:52rem;background-image:url('../images/select-chevron.svg');background-repeat:no-repeat;background-position:right 19rem center;background-size:18rem 12rem;cursor:pointer}
@media(forced-colors:active){.amtContactForm .contactField select{appearance:auto;-webkit-appearance:auto;background-image:none}}
/* PCは6行、スマホは4行を最小として内容に合わせて伸縮する */
.amtContactForm .contactField textarea{min-height:calc(6lh + 28rem);height:calc(6lh + 28rem);resize:none;overflow-y:hidden}
@media(max-width:768px){.amtContactForm .contactField textarea{min-height:calc(4lh + 26rem);height:calc(4lh + 26rem)}}
.contactFormOptions .contactOption{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10rem;min-width:0;min-height:152rem;padding:22rem 18rem;border:1rem solid #bdd5eb;border-radius:12rem;background:#f0f7fd;color:var(--blue);font-family:inherit;font-size:16rem;line-height:1.5;letter-spacing:0;white-space:normal;text-align:center;box-shadow:none;transition:background-color .18s ease,border-color .18s ease}
.contactFormOptions .contactOptionLabel{display:flex;align-items:center;justify-content:center;gap:8rem;font-size:15rem;font-weight:700}
.contactOptionLabel>span{padding:2rem 6rem;border-radius:4rem;background:#fff;font-size:11rem}
.contactFormOptions .contactOptionMain{display:flex;align-items:center;justify-content:center;gap:10rem;font-size:31rem;font-weight:800;line-height:1.3;font-variant-numeric:tabular-nums}
.contactOptionMain>svg{width:28rem;height:28rem;flex:none}
.contactOptionPhone .contactOptionMain{font-family:Arial,sans-serif;letter-spacing:-.5rem}
.contactOptionPhone .contactOptionMain>svg{color:var(--orange)}
.contactFormOptions .contactOptionNote{font-size:12rem;font-weight:500}
.contactFormOptions .contactOptionLine{background:#edf9f1;border-color:#b8e3c8;color:#087d3a}
.contactOptionLine .contactOptionMain{font-size:27rem}
.contactOptionLine .contactOptionMain>span{display:flex;align-items:center;gap:14rem}
.contactOptionLine .contactOptionMain>span>svg{width:20rem;height:20rem}
@media(hover:hover){.contactFormOptions .contactOption:hover{opacity:1;background:#e2f0fc;border-color:#86b4dc}.contactFormOptions .contactOptionLine:hover{background:#dcf4e5;border-color:#80c99c}}
@media(hover:hover) and (pointer:fine){.contactOptionPhone:hover .contactOptionMain>svg{animation:topPhoneRing .6s ease-in-out 1}}
.contactOptionPhone:focus-visible .contactOptionMain>svg{animation:topPhoneRing .6s ease-in-out 1}
@media(prefers-reduced-motion:reduce){.contactFormOptions .contactOption{transition:none}.contactOptionPhone:hover .contactOptionMain>svg,.contactOptionPhone:focus-visible .contactOptionMain>svg{animation:none}}
@media(max-width:768px){
.heroSection + .contactSection{display:none}
.page #form{padding-top:24rem}
.contactFormOptions{grid-template-columns:1fr;gap:12rem;margin-block:0 40rem}
.contactFormOptions .contactOption{min-height:134rem;padding:18rem;gap:8rem}
.contactFormOptions .contactOptionMain{font-size:30rem}
.contactFormOptions .contactOptionLine .contactOptionMain{font-size:25rem}
.hasFixedContact{padding-bottom:var(--fixedContactHeight,56rem)}
.fixedContactSection .contactInner{display:grid;grid-template-columns:1.7fr 1fr 1fr;width:366rem;max-width:calc(100% - 24rem);gap:6rem;padding-block:6rem 8rem}
.fixedContactSection .phoneBlock{width:auto;min-width:0;flex:none}
.fixedContactSection .phoneContent{width:100%}
.fixedContactSection .phoneMeta{display:none}
.fixedContactSection .phoneLink{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5rem;height:42rem;padding:3rem 6rem;border:1rem solid var(--orange);border-radius:8rem;background:var(--orange);color:#fff;font-size:15rem;line-height:1.2;letter-spacing:-.4rem;box-shadow:0 2rem 0 #cb540a}
.fixedContactSection .phoneLink>svg{width:28rem;height:28rem;color:inherit}
.fixedContactSection .fixedPhoneHours{display:block;margin-top:3rem;font-family:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;font-size:8rem;font-weight:500;line-height:1.2;letter-spacing:0}
.fixedContactSection .phoneSeparator{margin-inline:0}
.fixedContactSection .contactActions{display:contents}
.fixedContactSection .contactButton{height:42rem;min-height:42rem;padding:3rem 6rem;display:flex;flex-direction:row;justify-content:center;gap:5rem;border-radius:8rem;box-shadow:0 2rem 0 #c9d9e8}
.fixedContactSection .lineButton{box-shadow:0 2rem 0 #069c43}
.fixedContactSection .contactIcon{position:static;transform:none;width:28rem;height:28rem}
.fixedContactSection .contactIcon svg{width:28rem;height:28rem}
.fixedContactSection .contactButtonText b{font-size:13rem;line-height:1.3}
.fixedContactSection .contactLabelFull{display:none}
.fixedContactSection .contactLabelShort{display:flex;flex-direction:column;align-items:center;gap:1rem}
.fixedContactSection .contactLabelAction{font-size:10rem;font-weight:500;line-height:1.2}
.fixedContactSection .contactButtonText small,.fixedContactSection .contactArrow{display:none}
}
@media print{.fixedContactSection{display:none}.hasFixedContact{padding-bottom:0}}

/* 相談カードの右側に読み取り用QRコードを置く */
.contactFormOptions .contactOption{display:grid;grid-template-columns:minmax(0,1fr) 96rem;gap:14rem;min-height:122rem;padding:12rem 16rem}
.contactOptionContent{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10rem;min-width:0}
.contactFormOptions .contactOptionQr{display:block;box-sizing:border-box;width:96rem;height:96rem;max-width:100%;object-fit:contain;background:#fff;border-radius:6rem}
.contactOptionLine .contactOptionQr{padding:0}
.contactFormOptions .contactOptionMain{font-size:25rem;gap:7rem;white-space:nowrap}
.contactFormOptions .contactOptionMain>svg{width:23rem;height:23rem}
.contactFormOptions .contactOptionLine .contactOptionMain{font-size:24rem}
.contactFormOptions .contactOptionLabel{font-size:14rem;gap:6rem}
@media(max-width:768px){
.contactFormOptions .contactOption{grid-template-columns:minmax(0,1fr) 80rem;gap:12rem;min-height:104rem;padding:10rem 14rem}
.contactFormOptions .contactOptionQr{width:80rem;height:80rem}
.contactOptionLine .contactOptionQr{padding:0}
.contactOptionContent{gap:8rem}
.contactFormOptions .contactOptionMain{font-size:24rem}
.contactFormOptions .contactOptionLine .contactOptionMain{font-size:23rem}
.contactFormOptions .contactOptionNote{font-size:11rem}
}

/* 決定操作とページ移動のボタンを狙いやすいサイズに揃える */
.subPage .wp-block-button__link,.sectionButton,.contactFormActions button{min-height:max(64rem,48px);font-size:max(18rem,16px)}
.subPage .wp-block-button__link{padding-block:17rem}
.sectionButton{padding-block:17rem}
.contactFormActions button{padding:17rem 32rem}
.contactFormActions{gap:20rem}
