/* 緊急度チェック（無料診断）。既存の style.css は変更せず、この追加ファイルだけで表示する */
.dgx_sec{background:#EDF5FD;padding:22px 0 34px;font-family:"Noto Sans JP","Hiragino Sans",Meiryo,sans-serif}
.dgx_sec .dgx_in{width:100%;max-width:640px;margin:0 auto;padding:0 14px;box-sizing:border-box}
.dgx_head{position:relative;text-align:center;margin-bottom:14px;padding:0 70px}
.dgx_head small{display:inline-block;background:#FFE00B;color:#07549E;font-weight:800;font-size:13px;padding:3px 14px;border-radius:999px;letter-spacing:.04em}
.dgx_head h2{margin:8px 0 4px;font-size:34px;line-height:1.15;color:#0067CB;font-weight:900;letter-spacing:.02em}
.dgx_head h2 em{font-style:normal;color:#FB7A2A}
.dgx_head p{margin:0;font-size:13px;color:#444;font-weight:700}
.dgx_head img{position:absolute;right:-2px;top:2px;width:76px;height:auto}
.dgx{background:#fff;border-radius:14px;box-shadow:0 4px 14px rgba(0,80,160,.14);border:2px solid #0067CB;padding:16px 14px 18px;text-align:center}
.dgx_prog{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:13px;font-weight:800;color:#0067CB}
.dgx_prog b{font-size:20px}.dgx_bar{flex:1;height:8px;border-radius:99px;background:#DCE8F5;overflow:hidden}.dgx_bar i{display:block;height:100%;width:25%;background:linear-gradient(90deg,#0067CB,#3FA2FF);transition:width .25s}
.dgx_pane{display:none}.dgx_pane.on{display:block}
.dgx_q{font-size:18px;font-weight:900;color:#0067CB;margin:2px 0 14px;line-height:1.4}
.dgx_q span{font-family:'Helvetica Neue',Arial,sans-serif;font-size:24px;margin-right:5px}
.dgx_opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.dgx_opts.g1{grid-template-columns:1fr}
.dgx_opts button{font:inherit;cursor:pointer;min-height:56px;padding:6px 26px 6px 10px;background:#EDF5FD;border:2px solid #0067CB;border-radius:4px;color:#07549E;font-size:15px;font-weight:900;line-height:1.3;position:relative;text-align:center}
.dgx_opts button small{display:block;font-size:11px;font-weight:700;color:#FB7A2A;margin-top:2px}
.dgx_opts button::after{content:"";position:absolute;right:9px;top:50%;width:8px;height:8px;border-right:3px solid #0067CB;border-top:3px solid #0067CB;transform:translateY(-50%) rotate(45deg)}
.dgx_opts button:active,.dgx_opts button:hover{background:#FFE00B;border-color:#FFE00B}
.dgx_opts.pref button{min-height:44px;font-size:15px}
.dgx_note{margin:10px 0 0;font-size:12px;color:#FB7A2A;font-weight:800;text-align:right}
.dgx_back{margin-top:10px;background:none;border:0;color:#0067CB;font-size:13px;font-weight:700;text-decoration:underline;cursor:pointer}
.dgx_res{border-radius:10px;padding:12px 10px 10px;margin-bottom:12px;position:relative;text-align:left}
.dgx_res.hi{background:#FFEDEE;border:2px solid #E41726}.dgx_res.mid{background:#FFF4E1;border:2px solid #FB7A2A}.dgx_res.lo{background:#EAF6EA;border:2px solid #2E9E4B}
.dgx_res .lv{display:flex;align-items:center;gap:8px;font-weight:900;font-size:20px}
.dgx_res.hi .lv{color:#C80F1C}.dgx_res.mid .lv{color:#D86410}.dgx_res.lo .lv{color:#1F7F39}
.dgx_res .lv i{font-style:normal;color:#fff;font-size:13px;padding:2px 10px;border-radius:99px}
.dgx_res.hi .lv i{background:#E41726}.dgx_res.mid .lv i{background:#FB7A2A}.dgx_res.lo .lv i{background:#2E9E4B}
.dgx_res p{margin:6px 0 0;font-size:13px;line-height:1.55;color:#333;padding-right:70px}
.dgx_res img{position:absolute;right:6px;bottom:4px;width:64px;height:auto}
.dgx_price{display:flex;align-items:center;justify-content:center;gap:8px;background:#FFE00B;border-radius:8px;padding:8px 6px;margin-bottom:12px;font-weight:900;color:#07549E;font-size:14px}
.dgx_price b{font-size:30px;color:#E8590C;font-family:'Helvetica Neue',Arial,sans-serif;line-height:1}.dgx_price small{display:block;font-size:10px;font-weight:700;color:#555}
.dgx_form{text-align:left}.dgx_form .t{font-weight:900;color:#0067CB;font-size:16px;margin:0 0 2px;text-align:center}.dgx_form .s{font-size:12px;color:#555;margin:0 0 10px;text-align:center}
.dgx_f{display:block;margin-bottom:9px}.dgx_f span{display:block;font-size:13px;font-weight:800;color:#222;margin-bottom:3px}.dgx_f span em{font-style:normal;background:#E41726;color:#fff;font-size:10px;padding:1px 6px;border-radius:3px;margin-left:6px}
.dgx_f input{width:100%;box-sizing:border-box;border:1.5px solid #9DB6D3;border-radius:6px;padding:11px 10px;font-size:16px;background:#fff}
.dgx_agree{display:block;font-size:12px;margin:6px 0 4px}.dgx_agree a{color:#0067CB}
.dgx_err{color:#D1111F;font-size:12px;font-weight:700;min-height:16px;margin:4px 0}
.dgx_send{width:100%;border:0;border-radius:10px;padding:15px 8px;font:inherit;font-size:19px;font-weight:900;color:#fff;background:linear-gradient(#FF8A3D,#E8590C);box-shadow:0 4px 0 #B13F05;cursor:pointer}
.dgx_send:disabled{opacity:.6}
.dgx_alt{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.dgx_alt a{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:10px;padding:9px 4px;text-decoration:none;color:#fff;font-weight:900;font-size:15px;line-height:1.25}
.dgx_alt a small{font-size:10.5px;font-weight:700;opacity:.95}
.dgx_alt .tel{background:linear-gradient(#F0384A,#D1111F)}.dgx_alt .ln{background:linear-gradient(#35C759,#12A63A)}
@media (min-width:768px){.dgx_sec{padding:34px 0 46px}.dgx_sec .dgx_in{max-width:680px}.dgx_head h2{font-size:44px}.dgx_head img{width:104px}.dgx_head{padding:0 110px}.dgx{padding:22px 26px 24px}.dgx_opts button{font-size:17px;min-height:62px}.dgx_q{font-size:21px}}
/* ありがとうページ（send.php） */
.dgx_thanks{max-width:560px;margin:0 auto;padding:26px 16px 44px;text-align:center;font-family:"Noto Sans JP","Hiragino Sans",Meiryo,sans-serif}
.dgx_thanks .ok{display:inline-block;background:#0067CB;color:#fff;font-weight:800;border-radius:999px;padding:4px 16px;font-size:13px}
.dgx_thanks h2{font-size:22px;margin:10px 0 6px;color:#0067CB;line-height:1.4;font-weight:900}.dgx_thanks h2 em{font-style:normal;color:#FB7A2A}
.dgx_thanks .lead{font-size:14px;margin:0;line-height:1.7}.dgx_thanks .mas{width:150px;height:auto;margin:8px auto 0;display:block}
.dgx_thanks .box{background:#fff;border-radius:14px;padding:16px 14px;margin:12px 0;box-shadow:0 4px 14px rgba(0,80,160,.12);border:2px solid #FFE00B}
.dgx_thanks .box h3{font-size:17px;margin:0 0 4px;color:#0067CB;font-weight:900}.dgx_thanks .box p{font-size:13px;margin:0 0 10px;color:#444}
.dgx_thanks .btn{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;text-decoration:none;font-weight:900;color:#fff;padding:10px;font-size:19px;line-height:1.2}
.dgx_thanks .btn.tel{background:linear-gradient(#F0384A,#D1111F);box-shadow:0 4px 0 #9A0A15;font-size:24px}.dgx_thanks .btn.tel img{width:58px;height:auto;margin:-14px 0 -8px}
.dgx_thanks .btn small{display:block;font-size:11px;font-weight:700}.dgx_thanks .btn.ln{background:linear-gradient(#35C759,#12A63A);box-shadow:0 4px 0 #0B7F2B;padding:15px}
.dgx_thanks .note{font-size:11.5px;color:#666;margin-top:12px}.dgx_thanks .back{display:inline-block;margin-top:8px;color:#0067CB;font-size:13px}
.dgx_sum{list-style:none;margin:8px 0 0;padding:8px 10px;background:rgba(255,255,255,.85);border-radius:8px;font-size:12px;line-height:1.5;color:#333}
.dgx_sum li{display:flex;gap:6px}.dgx_sum li b{flex:0 0 5.5em;color:#0067CB}
.dgx_res p{min-height:58px}
/* 調整：見出しは1行・選択肢は1列で折れないように・下のCTA（上に50px食い込む）との間隔 */
.dgx_sec{padding-bottom:84px}
.dgx_head{padding:0 58px}
.dgx_head h2{font-size:30px;white-space:nowrap}
.dgx_head img{width:66px}
.dgx_opts,.dgx_opts.g1{grid-template-columns:1fr}
.dgx_opts.pref{grid-template-columns:repeat(2,minmax(0,1fr))}
.dgx_opts button{min-height:50px;font-size:16px;padding:8px 30px 8px 12px}
@media (min-width:768px){.dgx_sec{padding-bottom:96px}.dgx_head{padding:0 110px}.dgx_head h2{font-size:44px}.dgx_head img{width:100px}.dgx_opts,.dgx_opts.g1{grid-template-columns:repeat(2,minmax(0,1fr))}.dgx_opts.pref{grid-template-columns:repeat(4,minmax(0,1fr))}}
.dgx_res img{top:6px;bottom:auto;width:60px}
.dgx_res .lv{padding-right:56px}
.dgx_callnote{margin:0 0 10px;background:#FFF4E1;border:1.5px solid #FB7A2A;border-radius:8px;padding:7px 10px;font-size:12.5px;color:#333;text-align:center}
.dgx_callnote b{color:#D86410}
.dgx_thanks .callnote{margin:12px 0;background:#FFF4E1;border:2px solid #FB7A2A;border-radius:12px;padding:12px 12px;text-align:center}
.dgx_thanks .callnote b{display:block;color:#D86410;font-size:17px;margin-bottom:4px}
.dgx_thanks .callnote span{font-size:13.5px;line-height:1.7}.dgx_thanks .callnote strong{color:#C80F1C}
/* 文節ごとに改行（かたまりの途中で折り返さない）・1行指定の行は折り返さず収める */
.ph{display:inline-block}
.ln1{display:block;white-space:nowrap}
.dgx_thanks .callnote span.ln1{font-size:13.5px}
.dgx_callnote .ln1{font-size:12.5px}
.dgx_res p{padding-right:0}
.is-line .dgx_send{background:linear-gradient(#35C759,#12A63A);box-shadow:0 4px 0 #0B7F2B}
/* 開閉ボタン（最初はこれだけ見せる） */
.dgx[hidden]{display:none}
.dgx_open{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;border:0;border-radius:16px;padding:14px 10px 10px;margin:0 0 14px;cursor:pointer;font:inherit;color:#fff;background:linear-gradient(#FF8A3D,#E8590C);box-shadow:0 6px 0 #B13F05,0 10px 20px rgba(232,89,12,.35);animation:dgxPulse 1.8s ease-in-out infinite}
.dgx_open .o1{font-size:14px;font-weight:800;color:#FFE00B;white-space:nowrap}
.dgx_open .o2{font-size:23px;font-weight:900;white-space:nowrap;letter-spacing:.02em;margin-top:2px}
.dgx_open .o3{font-size:14px;margin-top:2px;transition:transform .2s}
.dgx_open.is-open{animation:none;box-shadow:0 3px 0 #B13F05;padding:10px}
.dgx_open.is-open .o3{transform:rotate(180deg)}
@keyframes dgxPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}
@media (min-width:768px){.dgx_open .o2{font-size:30px}.dgx_open{max-width:560px;margin:0 auto 16px}}
/* 見出しは開閉の前に1つにまとめる */
.dgx_head{margin-bottom:12px}
/* 10/10 スマホ：上の固定ヘッダーを外す（下の固定バーだけ残す） */
@media (max-width:767px){
  body{padding-top:0 !important}
  .header{position:relative !important}
}
/* 下の固定バー：電話と緊急度チェックを半分ずつ */
.fx2{display:grid;grid-template-columns:1fr 1fr;gap:2.4vw;width:100%}
.fx2 a{display:flex;align-items:center;gap:1.2vw;height:15.5vw;border-radius:2.6vw;padding:0 2vw 0 1vw;text-decoration:none;color:#fff;overflow:hidden;box-shadow:0 1vw 0 rgba(0,0,0,.22)}
.fx2 a img{width:13vw;height:13vw;object-fit:cover;object-position:top;flex:0 0 13vw;align-self:flex-end}
.fx2 a span{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.fx2 a b{font-size:4.3vw;font-weight:900;white-space:nowrap;letter-spacing:-.02em}
.fx2 a small{font-size:3vw;font-weight:700;white-space:nowrap;margin-top:.8vw;opacity:.95}
.fx2_tel{background:linear-gradient(#F0384A,#D30004)}
.fx2_diag{background:linear-gradient(#FF8A3D,#E8590C)}
/* 10/10 FV：走り続けるデントラ君＋吹き出し（画像の上に重ねて動かす） */
.fvx{position:relative;display:inline-block;max-width:100%;container-type:inline-size;line-height:0}
.fvx picture,.fvx picture img{display:block;max-width:100%;height:auto}
.fvx_run{position:absolute;left:44%;top:47%;width:56%;height:auto;transform-origin:50% 95%;animation:fvRun .42s ease-in-out infinite alternate;pointer-events:none}
.fvx_bub{position:absolute;left:43.5%;top:42.6%;width:55.5%;display:flex;justify-content:center;animation:fvBub 1.1s ease-in-out infinite;transform-origin:60% 100%;pointer-events:none}
.fvx_bub span{position:relative;display:block;width:100%;text-align:center;background:#fff;border:.65cqw solid #333;border-radius:99px;padding:1.3cqw 0 1.5cqw;font-family:"Noto Sans JP","Hiragino Sans",sans-serif;font-weight:900;font-size:5.4cqw;line-height:1.2;color:#333;white-space:nowrap;letter-spacing:.02em}
.fvx_bub span em{font-style:normal;color:#D30004}
.fvx_bub span::after{content:"";position:absolute;left:62%;bottom:-3.2cqw;width:3.4cqw;height:3.6cqw;background:#fff;border-right:.65cqw solid #333;border-bottom:.65cqw solid #333;transform:skewX(-28deg) rotate(28deg)}
@keyframes fvRun{0%{transform:translate(0,0) rotate(-3deg)}100%{transform:translate(-1.2%,-4%) rotate(2deg)}}
@keyframes fvBub{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-1.5%) scale(1.05)}}
@media (min-width:769px){
  .fvx_run{left:67.5%;top:12%;width:29.5%}
  .fvx_bub{left:64%;top:2.5%;width:34%}
  .fvx_bub span{font-size:3.1cqw;border-width:.35cqw;padding:.8cqw 0 .9cqw}
  .fvx_bub span::after{bottom:-1.9cqw;width:2cqw;height:2.1cqw;border-width:.35cqw}
}
@media (prefers-reduced-motion:reduce){.fvx_run,.fvx_bub{animation:none}}
.fvx{display:block;width:100%}
.fvx picture img{width:100%}
@media (max-width:768px){.fvx_run{left:47.5%;width:52.5%;top:48.5%}}
/* 10/10 FV改：デントラ君を大きく・動きを強く・価格ボックスは手前に */
.fvx_runw{position:absolute;left:36%;top:40%;width:65%;animation:fvDash 2.2s ease-in-out infinite;pointer-events:none;z-index:1}
.fvx_runw .fvx_run{position:static;display:block;width:100%;height:auto;animation:fvRun2 .3s ease-in-out infinite alternate;transform-origin:50% 95%}
.fvx_price,.fvx_banner{position:absolute;z-index:2;pointer-events:none;height:auto}
.fvx_price{left:3.14%;top:63.44%;width:51.45%}
.fvx_banner{display:none}
.fvx_bub{left:35%;top:35.2%;width:63%;z-index:3;animation:fvBub2 .9s ease-in-out infinite}
.fvx_bub span{font-size:6.3cqw;border-width:.75cqw;padding:1.5cqw 0 1.7cqw}
.fvx_bub span::after{left:58%;bottom:-3.6cqw;width:3.8cqw;height:4cqw;border-width:.75cqw}
@keyframes fvDash{0%,100%{transform:translateX(0)}50%{transform:translateX(-5%)}}
@keyframes fvRun2{0%{transform:translateY(0) rotate(-4deg)}100%{transform:translateY(-6%) rotate(3deg)}}
@keyframes fvBub2{0%,100%{transform:rotate(-2.5deg) scale(1)}50%{transform:rotate(2.5deg) scale(1.07)}}
@media (min-width:769px){
  .fvx_runw{left:62.5%;top:6.5%;width:33.5%}
  .fvx_price{display:none}
  .fvx_banner{display:block;left:52.15%;top:63.51%;width:47.85%}
  .fvx_bub{left:53%;top:.6%;width:37%}
  .fvx_bub span{font-size:3.4cqw;border-width:.4cqw;padding:.9cqw 0 1cqw}
  .fvx_bub span::after{left:64%;bottom:-2cqw;width:2.1cqw;height:2.2cqw;border-width:.4cqw}
}
@media (prefers-reduced-motion:reduce){.fvx_runw,.fvx_runw .fvx_run,.fvx_bub{animation:none}}
@media (max-width:768px){.fvx_runw{left:41.5%;top:42.3%;width:59.5%}.fvx_bub{left:37%;top:36.3%;width:61%}}
/* 走るデントラ君の足元：安心の法人運営（動かさない） */
.fvx_corp{position:absolute;left:52%;top:71.2%;width:46%;z-index:2;pointer-events:none;display:flex;justify-content:center}
.fvx_corp span{display:block;width:100%;text-align:center;white-space:nowrap;background:linear-gradient(#0E4FA8,#0A3A80);color:#fff;font-family:"Noto Sans JP","Hiragino Sans",sans-serif;font-weight:900;font-size:5.6cqw;line-height:1;padding:1.6cqw 0 1.8cqw;border-radius:99px;border:.7cqw solid #FFE00B;box-shadow:0 .8cqw 0 rgba(0,0,0,.25);letter-spacing:.04em}
@media (min-width:769px){
  .fvx_corp{left:65%;top:56.5%;width:30%}
  .fvx_corp span{font-size:3cqw;padding:.9cqw 0 1cqw;border-width:.4cqw;box-shadow:0 .45cqw 0 rgba(0,0,0,.25)}
}
@media (max-width:768px){.fvx_corp{top:69.6%;left:53%;width:44%}}
@media (min-width:769px){
  .fvx_runw{left:67.5%;top:9.5%;width:29.5%}
  .fvx_bub{left:63%;top:.6%;width:35%}
  .fvx_bub span{font-size:3.1cqw}
  .fvx_corp{left:69.5%;top:54.5%;width:26%}
  .fvx_corp span{font-size:2.7cqw}
}
/* 10/10 札と吹き出しを小さく（内山さん「ごちゃっとしてる」） */
@media (max-width:768px){
  .fvx_corp{left:59%;top:70.8%;width:33%}
  .fvx_corp span{font-size:4.1cqw;padding:1.2cqw 0 1.35cqw;border-width:.55cqw;box-shadow:0 .6cqw 0 rgba(0,0,0,.22)}
  .fvx_bub{left:45%;top:37%;width:49%}
  .fvx_bub span{font-size:4.9cqw;padding:1.2cqw 0 1.35cqw;border-width:.6cqw}
  .fvx_bub span::after{left:52%;bottom:-2.9cqw;width:3cqw;height:3.2cqw;border-width:.6cqw}
}
@media (min-width:769px){
  .fvx_corp{left:73%;top:55.5%;width:20%}
  .fvx_corp span{font-size:2.05cqw;padding:.65cqw 0 .75cqw;border-width:.3cqw}
  .fvx_bub{left:67%;top:1.2%;width:28%}
  .fvx_bub span{font-size:2.45cqw;padding:.7cqw 0 .8cqw;border-width:.32cqw}
  .fvx_bub span::after{left:56%;bottom:-1.6cqw;width:1.7cqw;height:1.8cqw;border-width:.32cqw}
}
/* 10/10 価格ボックス「基本料+作業費のみ！1,100円〜」に動き（鼓動＋光が走る） */
.fvx_price{display:none !important}
.fvx_pw{position:absolute;z-index:2;pointer-events:none;animation:fvPulse 1.5s ease-in-out infinite;transform-origin:50% 55%;
  -webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.fvx_pw img{display:block;width:100%;height:auto}
.fvx_pw::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:35%;background:linear-gradient(100deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.75) 50%,rgba(255,255,255,0) 100%);transform:skewX(-20deg);animation:fvShine 2.6s ease-in-out infinite}
.fvx_pw--sp{left:3.14%;top:63.44%;width:51.45%;-webkit-mask-image:url(../img/fv_price_sp.webp);mask-image:url(../img/fv_price_sp.webp)}
.fvx_pw--pc{display:none;left:70.43%;top:72.17%;width:29.08%;-webkit-mask-image:url(../img/fv_price_pc.webp);mask-image:url(../img/fv_price_pc.webp)}
@media (min-width:769px){.fvx_pw--sp{display:none}.fvx_pw--pc{display:block}}
@keyframes fvPulse{0%,100%{transform:scale(1)}45%{transform:scale(1.07)}60%{transform:scale(1.03)}}
@keyframes fvShine{0%{left:-60%}55%,100%{left:130%}}
@media (prefers-reduced-motion:reduce){.fvx_pw,.fvx_pw::after{animation:none}}
/* ご案内（電気工事の資格に関する一文） */
.corp_note{background:#EDF5FD;padding:18px 14px 26px}
.corp_note_in{max-width:640px;margin:0 auto;background:#fff;border:2px solid #0067CB;border-radius:10px;padding:12px 14px 14px;text-align:center}
.corp_note_in b{display:inline-block;background:#0067CB;color:#fff;font-size:13px;font-weight:800;padding:2px 14px;border-radius:99px;margin-bottom:6px}
.corp_note_in p{margin:0;font-size:14px;line-height:1.8;font-weight:700;color:#333;font-family:"Noto Sans JP","Hiragino Sans",sans-serif}
@media (min-width:768px){.corp_note_in p{font-size:16px}}
/* LINEで送る人の完了表示（押せるボタン） */
.dgx_done{text-align:center;padding:4px 0 2px}
.dgx_done .d1{margin:0 0 6px;font-size:18px;font-weight:900;color:#1F7F39;white-space:nowrap}
.dgx_done .d2,.dgx_done .d3,.dgx_done .d4{margin:0 0 10px;line-height:1.7}
.dgx_done .d2{font-size:14px;font-weight:800;color:#222}
.dgx_done .d3{font-size:12.5px;color:#555}.dgx_done .d4{font-size:12px;color:#666}
.dgx_linebtn{display:block;margin:6px 0 10px;padding:17px 8px;border-radius:12px;background:linear-gradient(#35C759,#12A63A);box-shadow:0 5px 0 #0B7F2B;color:#fff;font-size:20px;font-weight:900;text-decoration:none;white-space:nowrap;animation:dgxPulse 1.8s ease-in-out infinite}
.dgx_telbtn{display:block;padding:11px 6px;border-radius:10px;background:linear-gradient(#F0384A,#D1111F);color:#fff;font-size:15px;font-weight:900;text-decoration:none;white-space:nowrap}
.dgx_done a,.dgx_done a:visited{color:#fff !important;text-decoration:none !important}
.dgx_pane[data-s="7"] .dgx_back{display:none}
#trouble{scroll-margin-top:12px}
/* 個人情報の同意：チェックを大きく、リンクは離して別行に */
.dgx_agree{margin:8px 0 6px;text-align:left}
.dgx_agree_l{display:flex;align-items:center;gap:12px;padding:13px 12px;border:2px solid #9DB6D3;border-radius:10px;background:#F4F8FD;cursor:pointer;min-height:56px}
.dgx_agree_l input{flex:0 0 28px;width:28px;height:28px;margin:0;accent-color:#0067CB;cursor:pointer}
.dgx_agree_l:has(input:checked){border-color:#0067CB;background:#E6F1FF}
.dgx_agree_t{font-size:15px;font-weight:800;color:#222;line-height:1.3;white-space:nowrap}
.dgx_agree_a{display:block;margin:8px 0 0;text-align:center;font-size:12.5px;color:#0067CB;text-decoration:underline}

.dgx_lineonly{margin-top:6px}.dgx_lineonly .t{margin-bottom:6px}.dgx_imgbtn{display:block;margin:12px auto;max-width:560px;line-height:0}.dgx_imgbtn img{width:100%;height:auto;display:block}.dgx_imgbtn.is-line{animation:dgxPulse2 1.6s ease-in-out infinite;transform-origin:50% 50%}.dgx_imgbtn:active{transform:scale(.98)}.dgx_lineonly .d4{text-align:center;margin:6px 0 2px}@keyframes dgxPulse2{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}@media (prefers-reduced-motion:reduce){.dgx_imgbtn.is-line{animation:none}}
@media (max-width:767px){.dgx_price{flex-wrap:nowrap;gap:5px;padding:8px 4px;font-size:clamp(11px,3.6vw,14px)}.dgx_price>span,.dgx_price b,.dgx_price small{white-space:nowrap}.dgx_price b{font-size:clamp(22px,7.4vw,30px)}.dgx_price small{font-size:clamp(8.5px,2.5vw,10px)}}

/* LINE直行版：入力欄を無くしたので、エラー表示の空き領域を詰める */
.dgx_lineonly .dgx_err:empty{display:none}
.dgx_lineonly .s + .dgx_err + .dgx_imgbtn.is-line{margin-top:16px}

/* 固定CTA：診断ボタンは緑（LINE）にする */
.fx2 a.fx2_diag{background:linear-gradient(#35C759,#12A63A)}
.fx2 a.fx2_diag img{object-fit:contain;object-position:center;align-self:center;width:10.5vw;height:10.5vw;flex:0 0 10.5vw;margin-left:.8vw}

/* スマホでボタンを続けて押したときに画面が拡大しないようにする */
.dgx,.dgx *,.fx2 a,.dgx_alt a,.dgx_open{touch-action:manipulation}
html{-webkit-text-size-adjust:100%}

/* LINEで緊急度チェック：緑（LINEカラー）。文字が長いのでアイコンは出さず、文字を調整する */
.fx2 a.fx2_diag{background:linear-gradient(#35C759,#12A63A);justify-content:center;padding:0 2vw}
.fx2 a.fx2_diag b{font-size:3.6vw;letter-spacing:-.03em}
.fx2 a.fx2_diag small{font-size:3vw}

/* 診断を開くボタン：LINEカラー（緑） */
.dgx_open{background:linear-gradient(#35C759,#12A63A);box-shadow:0 6px 0 #0B7F2B,0 10px 20px rgba(18,166,58,.35)}
.dgx_open.is-open{box-shadow:0 3px 0 #0B7F2B}

/* 小さい画面では、ボタンの大きい文字を少し小さくして収める */
@media (max-width:480px){ .dgx_open .o2{font-size:min(23px,6.2vw)} }
