/* 2026-09-19: user-requested repair of the three supplied mobile sections. */
#problem.lw-entry-issue>.lw-entry-inner{box-sizing:border-box;width:100%;max-width:1150px;margin-inline:auto;padding-inline:32px}
#problem .lw-entry-title{height:auto;letter-spacing:.035em;margin-bottom:36px}
#problem .lw-entry-kicker{font-size:16px;letter-spacing:.07em;margin:0 0 24px}
#problem .lw-entry-kicker:after{height:3px;bottom:-9px;background:#c9d5dd}
#problem .lw-entry-heading{font-size:clamp(24px,2.5vw,32px);line-height:1.55;letter-spacing:.02em}
#problem .lw-entry-heading>span{display:inline}
#problem .lw-entry-list{box-sizing:border-box;width:100%;max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;justify-items:stretch;gap:32px;margin:0;padding:0}
#problem .lw-entry-item{box-sizing:border-box;width:100%;max-width:none;min-width:0;margin:0;justify-self:stretch}
#problem.lw-entry-issue:after{display:none}
/* A restrained transition: no aqua panel, speech bubble, triangle or oversized logo. */
#lead.lw-entry-resolution{background:#eef3f6;color:#111111;padding:40px 24px!important;border-block:1px solid #dbe4e7}
#lead.lw-entry-resolution:before,#lead.lw-entry-resolution:after,#lead .lw-entry-backdrop{display:none}
#lead.lw-entry-resolution>.lw-entry-inner{width:100%;max-width:920px;padding:0;margin:0 auto}
#lead .lw-entry-resolve-title{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 24px;padding:0;margin:0;color:#111111;letter-spacing:.025em;line-height:1.5}
#lead .lw-entry-resolve-label{display:block;width:100%;margin:0 0 6px;padding:0;background:none;color:#111111;border-radius:0;font-size:14px;line-height:1.7;letter-spacing:.04em}
#lead .lw-entry-resolve-label:after{display:none}
#lead .lw-entry-brand{display:flex;align-items:center;gap:10px;margin:0;padding:0}
#lead .lw-entry-logo-slot{display:block;flex:0 0 auto;width:170px;height:auto;max-width:100%;aspect-ratio:auto}
#lead .lw-entry-logo-slot img{display:block;width:100%;height:auto;filter:none!important}
#lead .lw-entry-brand-suffix{font-size:18px;color:#111111;letter-spacing:0;align-self:center}
#lead .lw-entry-resolve-text{display:block;margin:0;line-height:1.5;font-size:28px;letter-spacing:.03em}
/* Intro: natural text flow replaces the fixed four-line display heading. */
#about .lw-phone-copy{box-sizing:border-box}
#about .lw-phone-copy .lw-small-brand{margin:0 0 20px!important}
#about .lw-phone-copy .lw-small-brand img{display:block;width:112px;height:auto}
#about .lw-phone-copy #phone-heading{font-size:30px!important;line-height:1.55!important;letter-spacing:0!important;color:#111111;text-wrap:balance;margin:0 0 24px!important;overflow-wrap:normal;word-break:normal}
#about .lw-phone-copy>p:not(.lw-small-brand){max-width:100%;color:#111111}
#about .lw-phone-copy>a{display:flex;justify-content:space-between;gap:20px;max-width:100%;padding:12px 0;min-height:48px;border-bottom:1px solid #c9d5dd;color:#111111}
@media(max-width:768px){
 #problem.lw-entry-issue>.lw-entry-inner{max-width:560px;padding-inline:24px}
 #problem .lw-entry-title{margin-bottom:28px}
 #problem .lw-entry-kicker{font-size:13px;margin-bottom:20px;letter-spacing:.035em}
 #problem .lw-entry-heading{font-size:24px;line-height:1.5}
 #problem .lw-entry-heading>span{display:block}
 #problem .lw-entry-list{grid-template-columns:minmax(0,1fr);gap:24px;justify-content:stretch}
 #problem .lw-entry-item{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:16px;align-items:center;width:100%;max-width:none;margin:0;padding:0}
 #problem .lw-entry-item:nth-child(even){grid-template-columns:64px minmax(0,1fr)}
 #problem .lw-entry-balloon{box-sizing:border-box;width:100%;min-width:0;min-height:128px;margin:0;padding:16px 12px;font-size:14px;line-height:1.8;letter-spacing:0;border-radius:16px}
 #problem .lw-entry-item:nth-child(even) .lw-entry-balloon{margin:0}
 #problem .lw-entry-person,#problem .lw-entry-item:nth-child(even) .lw-entry-person{position:static;box-sizing:border-box;inset:auto;width:64px;max-width:100%;margin:0;transform:none;justify-self:center}
 #problem .lw-entry-person img{display:block;width:100%;max-width:100%;height:auto;margin-inline:auto;object-fit:contain}
 #lead.lw-entry-resolution{padding:30px 24px!important}
 #lead .lw-entry-resolve-title{gap:8px 12px}
 #lead .lw-entry-resolve-label{font-size:13px;margin-bottom:8px}
 #lead .lw-entry-logo-slot{width:132px}
 #lead .lw-entry-brand{gap:7px}
 #lead .lw-entry-brand-suffix{font-size:14px}
 #lead .lw-entry-resolve-text{font-size:23px;letter-spacing:.015em}
 #about .lw-phone-layout{padding-top:40px;padding-bottom:32px}
 #about .lw-phone-copy{box-sizing:border-box;width:100%;max-width:560px;margin-inline:auto;padding:0 24px}
 #about .lw-phone-copy .lw-small-brand{margin:0 0 18px!important}
 #about .lw-phone-copy .lw-small-brand img{width:100px}
 #about .lw-phone-copy #phone-heading{font-size:24px!important;line-height:1.6!important;margin:0 0 18px!important}
 #about .lw-phone-copy>p:not(.lw-small-brand){font-size:14px!important;line-height:1.85!important;margin:0 0 16px!important}
 #about .lw-carousel{padding-top:12px}
}
@media(max-width:350px){
 #problem .lw-entry-item{grid-template-columns:minmax(0,1fr) 56px;gap:14px}
 #problem .lw-entry-item:nth-child(even){grid-template-columns:56px minmax(0,1fr)}
 #problem .lw-entry-person,#problem .lw-entry-item:nth-child(even) .lw-entry-person{width:56px}
 #problem .lw-entry-balloon{padding:14px 10px;font-size:13px}
 #problem .lw-entry-heading{font-size:22px}
 #lead .lw-entry-resolve-title{column-gap:8px}
 #lead .lw-entry-logo-slot{width:112px}
 #lead .lw-entry-resolve-text{font-size:21px}
 #about .lw-phone-copy #phone-heading{font-size:23px!important}
}
/* 2026-09-23: 実績プレビューをiframeから静止画像へ（軽量化）。ラッパーの寸法・拡縮はそのまま、画像を枠いっぱいに敷く */
.lw-kfa-viewport img.lw-kfa-fv{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;transform:none;object-fit:cover;object-position:top left;pointer-events:none}
.lw-device-screen img.lw-current-fv{display:block!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;height:auto!important;max-width:none!important;transform:none!important;pointer-events:none}
.cx-reading-progress{display:none!important}
#case.lw-case-source .box .imgArea .img img.lw-work-frame,.lw-work-frame.lw-preview-img{position:static;display:block;width:100%!important;height:100%!important;max-width:none;transform:none!important;object-fit:cover;object-position:top}
/* v1.0.5 TOPスマホのヘッダー：左右の余白を下層と同じ18pxに揃え、ロゴ・ご相談・メニュー線の大きさと色を整える */
@media(max-width:768px){.lw-ref-header .inner{padding:0 18px!important;gap:10px!important;align-items:center!important}.lw-ref-header h1{width:148px!important;max-width:none!important}.lw-ref-header h1 img{width:148px!important;height:37px!important}.lw-header-contact{width:auto!important;height:44px!important;padding:0 16px!important;border-radius:8px!important;font-size:13px!important;letter-spacing:.04em!important}.lw-menu-button{width:44px!important;margin-right:-11px!important;gap:6px!important;color:#fff!important}.lw-menu-button span{width:22px!important;height:2px!important;border-radius:1px}}
@media(max-width:350px){.lw-ref-header h1,.lw-ref-header h1 img{width:124px!important;max-width:none!important}.lw-ref-header h1 img{height:31px!important}.lw-header-contact{padding:0 12px!important;font-size:12px!important}}
/* v1.0.8 FV下の一文：波の下端と次の資料バナーの間で、上下の余白を同じにする（スマホ32px／PC52px） */
#lw-fv-followup{padding-top:100px!important;padding-bottom:0!important}html body #resources.lw-resource-banner{margin-top:12px!important}
@media(max-width:768px){#lw-fv-followup{padding-top:64px!important}html body #resources.lw-resource-banner{margin-top:8px!important}}
/* ===== v1.0.11 TOP：新しい配色・FV・資料パネル（試作4） ===== */
:root{--lw-linked-gradient:linear-gradient(90deg,#1093ce 0%,#1ba4d2 30%,#53bcb1 53%,#b2f857 100%)!important}
#main>.lw-fv-color-surface,#main.lw-ref-hero>.lw-fv-wave,.lw-wave-paint,#kodawari,#contact.lw-consultation{background-image:linear-gradient(90deg,#1093ce 0%,#1ba4d2 30%,#53bcb1 53%,#b2f857 100%)!important}
/* FV：見出しを大きく、LINEボタンをFVの中に、タブは文字リンク */
#hero-title{font-weight:900!important}
#hero-title>span{color:#000!important}
@media(min-width:769px){#hero-title{font-size:52px!important;line-height:1.3!important}.lw-ref-copy{width:640px!important}}
@media(max-width:768px){#hero-title{font-size:30px!important}}
.lw-ref-circle{background:#e9f100!important}
.lw-ref-intro,.lw-ref-intro *{background:#000!important;color:#e9f100!important;-webkit-text-fill-color:#e9f100!important}
html body .lw-ref-tabs{gap:32px!important;justify-content:center}
html body .lw-ref-tabs a{width:auto!important;height:40px!important;padding:0 4px!important;background:transparent!important;border:0!important;border-bottom:2px solid #000!important;border-radius:0!important;color:#000!important;font-size:15px!important;font-weight:700!important;white-space:nowrap!important;box-shadow:none!important}
html body .lw-ref-tabs a:after{position:static!important;margin-left:8px;border-color:#000!important;translate:0 -2px}
.lw-fv-cta{margin-top:28px}
.lw-fv-cta-note{margin:0 0 8px;font-weight:700;font-size:14px;color:#000;letter-spacing:.04em}
a.lw-cta-line{display:inline-flex;align-items:center;justify-content:center;min-width:280px;height:60px;padding:0 32px;font-weight:800;font-size:18px;text-decoration:none}
.lw-sp-cta{display:none;text-align:center;margin-top:20px}
@media(max-width:768px){.lw-fv-cta{display:none}.lw-sp-cta{display:block;padding:0 18px}.lw-sp-cta a.lw-cta-line{width:100%;min-width:0;height:56px;font-size:17px}}
/* 黄色の面 */
#lead.lw-b-resolution{background:#e9f100!important;background-image:none!important}
#lead.lw-b-resolution h2,#lead.lw-b-resolution h2 *,#lead.lw-b-resolution p{color:#000!important}
#point{background:#e9f100!important}
.lwp-card-title{background:#e9f100!important}
/* 波の区切り：波の形は svg の color（＝次のセクションの色）で塗られる。3つのポイントを黄色にしたので、その手前の波も黄色にする */
#about>svg.lw-section-wave{color:#e9f100!important}
/* 見出し：黒・太く */
main h2{color:#000!important;font-weight:900!important}
#lw-issue-title,#phone-heading,#home-price-title,#support-title{font-size:44px!important;line-height:1.35!important}
#case-status-title,#faq .ttl h2,#point .ttl h2{font-size:56px!important}
@media(max-width:768px){#lw-issue-title,#phone-heading,#home-price-title,#support-title{font-size:28px!important}#case-status-title,#faq .ttl h2,#point .ttl h2{font-size:34px!important}}
/* 資料パネル（料金の後の1回だけ。画像バナーの代わり） */
.lw-res-panel{max-width:1040px;margin:0 auto;padding:48px 40px;background:#fff;border-radius:24px;box-shadow:0 12px 32px rgba(23,59,34,.08);text-align:center}
.lw-res-kicker{display:inline-block;margin:0 0 12px;padding:2px 10px;background:#000;color:#e9f100;font-weight:700;font-size:13px}
.lw-res-title{margin:0 0 24px;font-size:28px!important;line-height:1.5}
@media(max-width:768px){.lw-res-panel{margin:0 18px;padding:32px 20px}.lw-res-title{font-size:21px!important}}
#problem{padding-top:96px!important}@media(max-width:768px){#problem{padding-top:64px!important}}
@media(max-width:768px){.lw-res-panel a.lw-cta-line{width:100%;min-width:0;max-width:100%;height:56px;padding:0 14px;font-size:16px}}
.lw-res-title .lw-nowrap{display:inline-block;white-space:nowrap}
/* ===== v1.0.12 ===== */
/* ボタン上の一言：＼／の文字は書体で太さが揃わないため、同じ太さの線で描く */
.lw-fv-cta-note{display:inline-flex;align-items:center;gap:12px}
.lw-fv-cta-note:before,.lw-fv-cta-note:after{content:"";display:block;width:2px;height:16px;background:#000;border-radius:1px}
.lw-fv-cta-note:before{transform:rotate(-30deg)}.lw-fv-cta-note:after{transform:rotate(30deg)}
.lw-sp-cta .lw-fv-cta-note{justify-content:center}
/* 3つのポイント「大切にすること」：真っ黒をやめ、薄いグレーの面に黒文字 */
.lw-point-card .lw-case-result{background:#f1f1f1!important}
.lw-point-card .lw-case-result,.lw-point-card .lw-case-result *{color:#111!important}
/* お悩み帯：ロゴマークを黒に。スマホは2行（そのお悩み／LINKWEBが解決します！）にそろえ、人物を大きく */
#lead .lw-b-symbol{color:#000}
@media(max-width:768px){
 #lead .lw-b-text{display:flex!important;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:6px;row-gap:4px;line-height:1.35!important}
 #lead .lw-b-label{flex-basis:100%;text-align:center;font-size:18px!important}
 #lead .lw-b-brandline{display:inline-flex!important;align-items:center;gap:4px}
 #lead .lw-b-brand{font-size:30px!important}
 #lead .lw-b-brandline>span:last-child,#lead .lw-b-result{font-size:22px!important}
 #lead .lw-b-person-left,#lead .lw-b-person-right{width:165px!important}
 #lead .lw-b-person-left{left:-4px!important}
 #lead .lw-b-person-right{left:auto!important;right:4px!important;top:auto!important;bottom:0!important}
}
.lw-fv-cta{display:flex;flex-direction:column;align-items:flex-start}
.lw-sp-cta{display:none}@media(max-width:768px){.lw-sp-cta{display:flex!important;flex-direction:column;align-items:center}}
@media(max-width:768px){#lead.lw-b-resolution .lw-b-text{flex-direction:row!important;flex-wrap:wrap!important;column-gap:6px!important}#lead .lw-b-brand{font-size:28px!important}}
@media(max-width:350px){#lead .lw-b-brand{font-size:23px!important}#lead .lw-b-brandline>span:last-child,#lead .lw-b-result{font-size:18px!important}#lead .lw-b-symbol{width:24px!important;height:24px!important}}

/* v1.0.13 FVのLINEボタンはPCだけ（スマホはFV直下の一文の下に出す）。後から足した display:flex が隠す指定を上書きしていた */

/* v1.0.13 見出しが黄色い円やSCROLLに重ならない大きさ（PC46px、769〜1100pxは38pxでSCROLLは出さない） */
@media(min-width:769px){#hero-title{font-size:46px!important}}@media(min-width:769px) and (max-width:1100px){#hero-title{font-size:38px!important}.lw-ref-scroll{display:none!important}}

/* v1.0.14 FVのSCROLL：線が上から伸びて、下へ抜けて消える動きの繰り返し（線1本だけ。丸や別の線は置かない） */
.lw-ref-scroll:after{width:1px!important;background:#111!important;background-image:none!important;transform-origin:50% 0;animation:lw-scroll-draw 2.2s cubic-bezier(.77,0,.18,1) infinite}
@keyframes lw-scroll-draw{0%{transform:scaleY(0);transform-origin:50% 0}45%{transform:scaleY(1);transform-origin:50% 0}55%{transform:scaleY(1);transform-origin:50% 100%}100%{transform:scaleY(0);transform-origin:50% 100%}}
@media(max-width:768px){.lw-ref-scroll:after{height:48px!important}}
@media(prefers-reduced-motion:reduce){.lw-ref-scroll:after{animation:none;transform:none}}
/* v1.0.14 FV直下の一文：本文と区別できる「一言」として置き、ボタンは別の面にまとめて間をあける（スマホ） */
#lw-fv-followup .lw-approved-subcopy{font-weight:700;color:#111;letter-spacing:.04em}
@media(max-width:768px){
 #lw-fv-followup .lw-approved-subcopy{font-size:16px!important;line-height:1.9!important}
 .lw-sp-cta{margin:28px 18px 0!important;padding:20px 16px 22px!important;background:#f1f1f1;border-radius:20px}
 .lw-sp-cta .lw-fv-cta-note{margin-bottom:12px}
 .lw-sp-cta a.lw-cta-line{width:100%}
}
html body #lw-fv-followup p.lw-approved-subcopy{font-weight:700!important;color:#111!important;letter-spacing:.04em}
@media(max-width:768px){html body #lw-fv-followup p.lw-approved-subcopy{font-size:16px!important;line-height:1.9!important}html body #lw-fv-followup .lw-sp-cta{margin:28px 0 0!important;padding:20px 14px 22px!important}.lw-sp-cta .lw-fv-cta-note{white-space:nowrap}}
@media(max-width:360px){.lw-sp-cta .lw-fv-cta-note{font-size:12.5px!important;gap:8px}html body #lw-fv-followup p.lw-approved-subcopy{font-size:15px!important}}



/* v1.0.18 FVは見出しとイラストだけに戻す（海老根さん「CTAがFVの中にあるとバランスが悪い」）。
   「LINEで相談する」はFV直下の一文の下のグレーのパネルに置き、PCでも同じパネルを出す */
@media(min-width:769px){html body #lw-fv-followup .lw-sp-cta{display:flex!important;flex-direction:column;align-items:center;max-width:520px;margin:32px auto 0!important;padding:24px 28px 28px!important;background:#f1f1f1;border-radius:20px}
 html body #lw-fv-followup .lw-sp-cta .lw-fv-cta-note{margin-bottom:12px}
 html body #lw-fv-followup .lw-sp-cta a.lw-cta-line{width:100%;max-width:380px;height:58px}}

/* 2026-09-24 お悩み2（工務店の社長）は肘を張ったポーズで横に広いため、肘を切らずに顔の大きさをほかの2人とそろえる */
@media(max-width:768px){#problem .lw-entry-item:nth-child(2){grid-template-columns:70px minmax(0,1fr)}#problem .lw-entry-item:nth-child(2) .lw-entry-person{width:70px}}
@media(max-width:350px){#problem .lw-entry-item:nth-child(2){grid-template-columns:61px minmax(0,1fr)}#problem .lw-entry-item:nth-child(2) .lw-entry-person{width:61px}}
