@font-face{font-family:"Noto Sans JP";font-style:normal;font-weight:400 900;font-display:swap;src:url("fonts/noto-sans-jp-support.woff2") format("woff2")}

.consultation-options{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;border:0;padding:0;margin:16px 0;min-width:0}
.consultation-options legend{font-weight:700;font-size:16px;margin-bottom:12px}
.consultation-option{display:flex!important;align-items:center!important;gap:10px!important;padding:13px 14px!important;background:#f6faf7;border:1px solid #d7e5dc!important;border-radius:10px!important;font-size:14px!important;line-height:1.6!important;text-align:left!important;cursor:pointer;min-height:52px}
.consultation-option:has(input:checked){background:#e9f8ef;border-color:#06a95b!important;color:#048c4c}
.consultation-option input{appearance:auto!important;-webkit-appearance:radio!important;flex:0 0 20px!important;width:20px!important;height:20px!important;margin:0!important;accent-color:#06a95b}
.name-change-field{display:block;margin:14px 0;font-weight:700;font-size:14px;line-height:1.8}
.name-change-field small{font-size:12px;color:#66766c;font-weight:400}
.name-change-field input{box-sizing:border-box;display:block;width:100%;background:#fff;border:1px solid #d7e5dc;border-radius:8px;padding:13px;font:inherit;font-weight:400}
[hidden]{display:none!important}
.consultation-ineligible-notice{background:#fff3ef;border-left:4px solid #d75e45;padding:18px;color:#a03d28;font-size:14px;line-height:1.8}
.hero-status-options{grid-template-columns:1fr!important}
.test-result{max-width:760px;margin:40px auto;padding:24px;font-family:sans-serif;line-height:1.7}
.test-result pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:20px;background:#f3f7f4;border-radius:12px}
@media(max-width:860px){.consultation-option{font-size:13px!important}}

.consultation-option,.name-change-field{color:#17261d!important}.consultation-option:has(input:checked){color:#048c4c!important}

.test-consent{display:flex;gap:10px;align-items:center;font-size:14px;color:#17261d;margin:16px 0}.test-consent input{width:20px;height:20px;accent-color:#06a95b}

/* 旧LPのヘッダーは本来どおり画面上端に固定する。 */
.has-consultation-fixed-header .hd{top:0!important}
.has-consultation-fixed-header .hv2{margin-top:0!important}

/* 旧LPのみ店舗名変更バナー。文字を抑えたサイズで中央表示。 */
.cp-float{width:260px!important}
.cp-float,.cp-mfloat{overflow:visible!important}
.cp-float-close,.cp-mfloat-close{top:-38px!important;right:0!important;width:30px!important;height:30px!important}
.cp-mfloat img{transform:none!important;aspect-ratio:auto!important;max-height:none!important}
@media(max-width:768px){.cp-mfloat{width:calc(100vw - 24px)!important;left:50%!important;right:auto!important;translate:-50% 0}}

/* 周囲のヒーロー案内文と揃えた店舗名変更の案内。 */
.hv2-name-change-note{max-width:calc(100vw - 44px);margin:8px 0 0;color:#fff;font-size:clamp(16px,3.5vw,18px);font-weight:700;line-height:1.7;letter-spacing:normal;text-align:left;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.hv2-name-change-note strong{color:inherit;font-weight:inherit}
@media(max-width:768px){.hv2-name-change-note{font-size:clamp(11px,3.3vw,13px);margin-top:8px;text-align:left}}

/* v10画像下端の白い余白を表示枠で切り取り、CTA下の白い縁を除く。 */
.hv2-pc-banner,.cp-float a,.cp-mfloat a{
  position:relative;aspect-ratio:1774 / 475;overflow:hidden;line-height:0;
}
.cp-float a,.cp-mfloat a{display:block;border-radius:inherit}
.hv2-pc-banner img,.cp-float a img,.cp-mfloat a img{
  position:absolute;top:0;left:0;width:100%;height:auto;transform:scale(1.06)!important;transform-origin:center;
}

/* PCのファーストビュー：ヘッダー・確認表示を除いた画面内に収める。 */
@media(min-width:900px){
  .hv2{height:calc(100svh - var(--consultation-header-height,79px) - var(--consultation-notice-height,38px));min-height:0}
  .hv2-inner{height:100%;min-height:0;max-width:1440px;padding:clamp(14px,2.2vh,24px) clamp(24px,4vw,64px);gap:clamp(24px,3vw,48px);align-items:start}
  .hv2-left{min-height:0}
  .hv2-tag{margin-bottom:8px}
  .hv2-tag-text{font-size:12px}
  .hv2-ue-logo{height:clamp(24px,3.5vh,32px);margin-bottom:10px}
  .hv2-h1{font-size:clamp(30px,5.4vh,46px);line-height:1.12;margin-bottom:10px}
  .hv2-callout{font-size:12px;line-height:1.65;margin-bottom:12px}
  .hv2-callout em{font-size:14px}
  .hv2-circles{margin-bottom:12px;gap:8px}
  .hv2-circle{width:clamp(68px,9.5vh,86px);height:clamp(68px,9.5vh,86px);padding-top:6px}
  .hv2-circle-icon{width:50px;max-height:37px}
  .hv2-circle-label{font-size:10px;bottom:25px}
  .hv2-circle-num{font-size:13px;bottom:9px}
  .hv2-circle-num--sm{font-size:10px;bottom:10px}
  .hv2-sub{margin-bottom:12px}
  .hv2-sub-main{font-size:clamp(12px,1.7vh,15px);line-height:1.6}
  .hv2-sub-note{font-size:clamp(11px,1.6vh,14px);line-height:1.6}
  .hv2-name-change-note{font-size:clamp(12px,1.7vh,15px);line-height:1.6;margin-top:6px}
  .hv2-box{padding:10px 12px;gap:6px 12px;margin-bottom:10px;max-width:520px}
  .hv2-box-item{font-size:12px;line-height:1.4}
  .hv2-note{font-size:10px;line-height:1.5;margin-bottom:0}
  .hv2-pc-banner{max-width:min(100%,clamp(290px,44vh,400px));margin-top:10px}
  .hv2-right{min-height:0;max-height:100%;overflow-y:auto;overscroll-behavior-y:contain}
  .hv2-form-panel{padding:18px 20px}
}
@media(min-width:900px) and (max-height:780px){
  .hv2-inner{padding-block:14px}
  .hv2-h1{font-size:clamp(30px,5vh,38px);margin-bottom:8px}
  .hv2-tag{margin-bottom:6px}
  .hv2-ue-logo{margin-bottom:8px}
  .hv2-callout{margin-bottom:8px}
  .hv2-circles,.hv2-sub{margin-bottom:8px}
  .hv2-box{margin-bottom:8px}
  .hv2-pc-banner{max-width:min(100%,clamp(260px,38vh,300px));margin-top:8px}
}
@media(min-width:900px) and (max-height:680px){
  .hv2-inner{padding-block:10px}
  .hv2-h1{font-size:30px}
  .hv2-circles{margin-bottom:6px}
  .hv2-sub{margin-bottom:6px}
  .hv2-box{padding-block:8px;gap:4px 12px}
  .hv2-name-change-note{margin-top:4px}
}

/* 新旧LP共通のフォーム文字組み。 */
html,body,button,input,select,textarea{
  font-family:"Noto Sans JP","Hiragino Sans","Yu Gothic",sans-serif;
}
.consultation-option{font-weight:700!important;letter-spacing:0!important;font-size:14px!important;line-height:1.6!important}
.consultation-options legend{font-size:14px;font-weight:700;line-height:1.6}
form[data-consultation-form] .f-lbl,
form[data-consultation-form] .form-body > label,
form[data-consultation-form].hero-detail-form > label,
form[data-consultation-form] .name-change-field{font-size:13px;font-weight:700;line-height:1.6;letter-spacing:0}
form[data-consultation-form] input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
form[data-consultation-form] select,
form[data-consultation-form] textarea{font-size:14px;font-weight:400;line-height:1.6;letter-spacing:0}
form[data-consultation-form] input::placeholder,
form[data-consultation-form] textarea::placeholder{font-family:inherit;font-weight:400}
@media(max-width:860px){
  .consultation-option{font-size:14px!important}
  form[data-consultation-form] .f-lbl,
  form[data-consultation-form] .form-body > label,
  form[data-consultation-form].hero-detail-form > label{font-size:14px}
  form[data-consultation-form] input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
  form[data-consultation-form] select,
  form[data-consultation-form] textarea{font-size:16px}
}

/* PCヒーローの左右をまとめ、店舗名変更バナーをフォーム直下に配置。 */
@media(min-width:900px){
  .hv2-inner{max-width:1240px;grid-template-columns:minmax(0,1fr) 400px;gap:48px;padding-inline:32px;align-items:center}
  .hv2-left{align-self:center}
  .hv2-right{height:100%;min-height:0;max-height:100%;display:flex;flex-direction:column;justify-content:center;overflow:visible}
  .hv2-form-panel{flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#06c167 transparent;scrollbar-gutter:stable}
  .hv2-right .hv2-pc-banner{flex:0 0 auto;display:block;width:100%;max-width:none;margin-top:14px}
}
@media(min-width:900px) and (max-width:1099px){
  .hv2-inner{grid-template-columns:minmax(0,1fr) 340px;gap:24px;padding-inline:24px}
}

/* 新LPと同じ上端配置・固定見出し・入力領域スクロール・送信ドック。 */
@media(min-width:900px){
  .hv2-inner{max-width:1280px;grid-template-columns:minmax(0,1fr) minmax(370px,410px);gap:46px;padding-inline:clamp(24px,4vw,56px);padding-block:clamp(24px,4vh,42px);align-items:start}
  .hv2-left{align-self:start}
  .hv2-tag-text{font-size:14px}
  .hv2-ue-logo{height:clamp(28px,4.2vh,40px)}
  .hv2-h1{font-size:clamp(36px,6vh,52px)}
  .hv2-circle{width:clamp(78px,11vh,100px);height:clamp(78px,11vh,100px)}
  .hv2-right{justify-content:flex-start}
  .hv2-form-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding:0;overflow:hidden;border-radius:6px;background:rgba(255,255,255,.98)}
  .old-hero-form-intro{margin:0;padding:26px 26px 8px;border:0;text-align:left}
  .old-hero-form-intro h2{margin:0;font-size:23px;line-height:1.45;font-weight:700;color:#202822;letter-spacing:.02em}
  .old-hero-form-lead{margin:9px 0 12px;color:#657169;font-size:12px;line-height:1.65}
  .old-hero-form-scroll{min-height:0;overflow-y:auto;overscroll-behavior:auto;padding:8px 22px 20px 26px;scrollbar-width:none}
  .old-hero-form-scroll::-webkit-scrollbar{display:none}
  #h-new-store-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .old-hero-submit-dock{display:flex;flex-direction:column;gap:10px;margin:0;padding:18px 26px;background:#fff5cf;border-top:1px solid #efd268;box-shadow:0 -8px 16px rgba(92,75,18,.08)}
  .old-hero-form-caption{margin:0;color:#657169;font-size:11px;line-height:1.6}
  .hv2-right .hv2-pc-banner{margin-top:16px}
}
@media(min-width:900px) and (max-width:1099px){
  .hv2-inner{grid-template-columns:minmax(0,1fr) 350px;gap:28px;padding-inline:24px}
}
@media(min-width:900px) and (max-height:740px){
  .hv2-inner{padding-block:18px}
  .hv2-h1{font-size:36px}
  .hv2-circle{width:78px;height:78px}
  .old-hero-form-intro{padding-top:20px}
  .old-hero-form-intro h2{font-size:21px}
  .old-hero-submit-dock{padding-block:14px}
}

/* 左の案内は読みやすい文字サイズと余白を保ち、画面の中央に配置する。 */
@media(min-width:900px){
  .hv2-left{align-self:center}
  .hv2-tag{margin-bottom:12px}
  .hv2-ue-logo{height:36px;margin-bottom:14px}
  .hv2-h1{font-size:44px;line-height:1.15;margin-bottom:14px}
  .hv2-callout{font-size:14px;line-height:1.75;margin-bottom:16px}
  .hv2-callout em{font-size:16px}
  .hv2-circles{gap:12px;margin-bottom:20px}
  .hv2-circle{width:100px;height:100px;padding-top:10px}
  .hv2-circle-icon{width:62px;max-height:42px}
  .hv2-circle-label{font-size:11px;bottom:29px}
  .hv2-circle-num{font-size:16px;bottom:10px}
  .hv2-circle-num--sm{font-size:11px;bottom:13px}
  .hv2-sub{margin-bottom:16px}
  .hv2-sub-main{font-size:16px;line-height:1.7}
  .hv2-sub-note,.hv2-name-change-note{font-size:14px;line-height:1.7}
  .hv2-name-change-note{margin-top:10px}
  .hv2-box{padding:14px 16px;gap:10px 14px;margin-bottom:14px}
  .hv2-box-item{font-size:14px;line-height:1.5}
  .hv2-note{font-size:11px;line-height:1.7}
}
@media(min-width:900px) and (max-height:760px){
  .hv2-inner{padding-block:18px}
  .hv2-tag{margin-bottom:8px}
  .hv2-ue-logo{height:30px;margin-bottom:10px}
  .hv2-h1{font-size:40px;margin-bottom:10px}
  .hv2-callout{margin-bottom:12px}
  .hv2-circles{margin-bottom:14px}
  .hv2-sub{margin-bottom:12px}
  .hv2-name-change-note{margin-top:6px}
  .hv2-box{margin-bottom:10px;padding-block:10px;gap:6px 14px}
}
@media(min-width:900px) and (max-height:680px){
  .hv2-inner{padding-block:12px}
  .hv2-tag{margin-bottom:6px}
  .hv2-ue-logo{margin-bottom:8px}
  .hv2-h1{margin-bottom:8px}
  .hv2-callout{margin-bottom:10px}
  .hv2-circle{width:88px;height:88px;padding-top:7px}
  .hv2-circle-icon{width:54px;max-height:36px}
  .hv2-circle-label{bottom:26px}
  .hv2-circles,.hv2-sub{margin-bottom:10px}
  .hv2-name-change-note{margin-top:4px}
  .hv2-box{padding-block:8px;gap:4px 14px;margin-bottom:8px}
}

/* PCフォームの横位置・上余白を新LPの1160pxコンテナに合わせる。 */
@media(min-width:900px){
  .hv2{height:max(740px,calc(100svh - var(--consultation-header-height,79px)))}
  .hv2-inner{width:min(1160px,calc(100% - 48px));max-width:1160px;grid-template-columns:minmax(0,1fr) minmax(370px,410px);gap:46px;padding:calc(139px - var(--consultation-header-height,79px)) 0 56px}
  .hv2-form-panel{max-height:calc(100dvh - 170px);scrollbar-gutter:auto}
  .old-hero-form-intro{padding:31px 30px 8px}
  .old-hero-form-intro h2{margin-top:5px;font-size:23px}
  .old-hero-form-lead{margin-bottom:17px}
  .old-hero-form-scroll{padding-left:30px}
}

/* ヘッダーの電話申込ボタン。 */
.hd .hd-tel-link{background:#ffd600;color:#111}
.hd .hd-tel-link:hover{background:#f2ca00}

/* 連絡希望時間帯も、他の選択肢と同じ文字組みにする。 */
form[data-consultation-form] .f-time-label,
form[data-consultation-form] .f-time-name,
form[data-consultation-form] .f-time-range{
  font-family:inherit;
  font-size:14px;
  font-weight:700;
  line-height:1.6;
  letter-spacing:0;
  color:#202822;
}
