/* 症状別LPページ：余白・横幅・文字サイズ再調整版 */
:root{
  --ws-blue:#0054b8;
  --ws-blue-dark:#062b63;
  --ws-blue-deep:#00347f;
  --ws-blue-light:#eef7ff;
  --ws-blue-bg:#f4faff;
  --ws-orange:#f58220;
  --ws-green:#08a045;
  --ws-yellow:#ffe66b;
  --ws-red:#ef4444;
  --ws-text:#17233c;
  --ws-muted:#53657b;
  --ws-border:#d9e7f5;
  --ws-shadow:0 12px 30px rgba(11,62,120,.08);
  --ws-radius:12px;
}

body.page-template-page-ws-symptom-lp .entry-title{display:none!important}
body.page-template-page-ws-symptom-lp .entry-content{margin-top:0!important}
body.page-template-page-ws-symptom-lp .inside-article{padding:0!important}
body.page-template-page-ws-symptom-lp .site-content{display:block;padding:0!important}
body.page-template-page-ws-symptom-lp .content-area{width:100%!important;max-width:none!important}

.entry-content .ws-symptom-lp-page,
.site-content .ws-symptom-lp-page,
.ws-symptom-lp-page{
  width:100vw;
  max-width:none;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:#fff;
  color:var(--ws-text);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Noto Sans JP",sans-serif;
  line-height:1.8;
  letter-spacing:.02em;
  overflow-x:hidden;
}
.ws-symptom-lp-page *{box-sizing:border-box}
.ws-symptom-lp-page a{text-decoration:none}
.ws-symptom-lp-page .ws-container{width:min(1180px,calc(100% - 48px));margin:0 auto}

/* FV */
.ws-symptom-hero{
  background:linear-gradient(90deg,#fff 0%,#f8fbff 52%,#edf7ff 100%);
  overflow:hidden;
  padding:26px 0 48px;
}
.ws-symptom-hero-inner{
  display:grid;
  grid-template-columns:minmax(0,560px) minmax(0,1fr);
  gap:42px;
  min-height:520px;
  align-items:center;
}
.ws-symptom-copy{position:relative;z-index:2;padding:18px 0 20px;min-width:0}
.ws-breadcrumb{font-size:12px;color:#657386;margin-bottom:22px;white-space:normal}
.ws-pill-label{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  background:linear-gradient(90deg,#0065d8,#0054b8);
  color:#fff;
  border-radius:999px;
  padding:8px 22px;
  font-size:16px;
  font-weight:900;
  margin:0 0 18px;
}
.ws-symptom-copy h1{
  font-size:clamp(34px,3.6vw,48px);
  line-height:1.42;
  color:#061d43;
  font-weight:900;
  margin:0 0 22px;
  letter-spacing:.035em;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
.ws-hero-lead{font-size:16px;line-height:1.95;font-weight:800;margin:0 0 24px;color:#18314f}
.ws-hero-lead strong{color:var(--ws-orange)}
.ws-symptom-visual{height:520px;position:relative;min-width:0}
.ws-main-photo{
  height:100%;
  display:grid;
  place-items:center;
  border-radius:0 0 0 0;
  background:linear-gradient(135deg,rgba(0,84,184,.10),rgba(255,255,255,.14)),#dcecff;
  color:var(--ws-blue);
  font-weight:900;
  overflow:hidden;
}
.ws-round-badge{
  position:absolute;
  right:34px;
  bottom:42px;
  width:156px;
  height:156px;
  border-radius:50%;
  background:var(--ws-yellow);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:var(--ws-blue-dark);
  box-shadow:var(--ws-shadow);
}
.ws-round-badge span{font-size:14px;font-weight:900;line-height:1.45}
.ws-round-badge strong{font-size:25px;color:var(--ws-orange);line-height:1.25;margin-top:6px}
.ws-round-badge small{font-size:14px;font-weight:900}

.ws-hero-feature-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(96px,1fr));
  gap:10px;
  margin:22px 0 22px;
  max-width:560px;
}
.ws-hero-feature-grid div{
  background:#fff;
  border:1px solid var(--ws-border);
  border-radius:8px;
  min-height:88px;
  padding:12px 8px;
  display:grid;
  justify-items:center;
  align-content:center;
  text-align:center;
  box-shadow:0 5px 16px rgba(11,62,120,.05);
}
.ws-hero-feature-grid span{color:var(--ws-blue);font-size:20px;line-height:1;margin-bottom:5px}
.ws-hero-feature-grid strong{color:var(--ws-blue-dark);font-size:13px;line-height:1.35;font-weight:900}
.ws-hero-feature-grid small{display:block;margin-top:2px;font-size:11px;color:#456;line-height:1.35}
.ws-hero-cta-row{display:grid;grid-template-columns:1.1fr .95fr;gap:14px;max-width:560px}
.ws-hero-tel,.ws-hero-line{
  min-height:86px;
  border-radius:8px;
  color:#fff!important;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:left;
  font-weight:900;
  box-shadow:0 8px 20px rgba(0,0,0,.10);
}
.ws-hero-tel{background:var(--ws-orange)}
.ws-hero-line{background:var(--ws-green)}
.ws-hero-tel span,.ws-hero-line span{font-size:26px;line-height:1}
.ws-hero-tel strong,.ws-hero-line strong{font-size:16px;line-height:1.35}
.ws-hero-tel b{font-size:28px}
.ws-hero-tel small,.ws-hero-line small{display:block;font-size:11px;line-height:1.35}

/* 共通 */
.ws-symptom-lp-page .ws-section{padding:64px 0 0}
.ws-section-title{text-align:center;margin-bottom:34px}
.ws-section-title h2{
  display:inline-block;
  color:var(--ws-blue-dark);
  font-size:clamp(24px,2.4vw,31px);
  line-height:1.45;
  margin:0;
  font-weight:900;
  position:relative;
  letter-spacing:.03em;
}
.ws-section-title h2:before,.ws-section-title h2:after{content:"";position:absolute;top:50%;width:64px;height:2px;background:var(--ws-blue)}
.ws-section-title h2:before{right:calc(100% + 18px)}
.ws-section-title h2:after{left:calc(100% + 18px)}

/* 症状 */
.ws-trouble-section{padding-top:58px;background:linear-gradient(180deg,#f8fbff 0,#fff 100%)}
.ws-trouble-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.ws-trouble-card{
  background:#fff;
  border:1px solid var(--ws-border);
  border-radius:10px;
  padding:22px 16px 20px;
  box-shadow:0 8px 22px rgba(11,62,120,.04);
  min-height:210px;
}
.ws-trouble-card h3{color:var(--ws-blue-dark);font-size:16px;line-height:1.55;text-align:center;margin:0 0 14px;font-weight:900}
.ws-trouble-icon{height:48px;display:grid;place-items:center;color:var(--ws-blue);font-size:32px;margin-bottom:12px}
.ws-trouble-card ul{padding:0;margin:0;list-style:none}
.ws-trouble-card li{font-size:13px;line-height:1.8;color:#263a55}
.ws-trouble-card li:before{content:"✓";color:var(--ws-blue);font-weight:900;margin-right:5px}

/* 3カラム情報 */
.ws-info-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;align-items:stretch}
.ws-info-card{background:#fff;border:1px solid var(--ws-border);border-radius:10px;padding:26px;box-shadow:0 8px 22px rgba(11,62,120,.04);min-width:0}
.ws-info-card h2{color:var(--ws-blue-dark);font-size:21px;line-height:1.45;margin:0 0 18px;font-weight:900}
.ws-cause-content{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:16px;align-items:stretch}
.ws-cause-content ul{margin:0;padding:0;list-style:none}
.ws-cause-content li{border-bottom:1px solid var(--ws-border);padding:8px 0;font-weight:800;font-size:14px;line-height:1.6}
.ws-cause-image,.ws-firstaid-img,.ws-map-box{display:grid;place-items:center;background:linear-gradient(135deg,#eef7ff,#fff);color:var(--ws-blue);font-weight:900;border-radius:8px}
.ws-cause-image{min-height:210px}
.ws-firstaid-box p{font-weight:800;margin:0 0 16px;font-size:15px}
.ws-firstaid-img{height:124px;margin-bottom:14px}
.ws-mini-alert{background:#fff1f1;border:1px solid #ffd0d0;border-radius:8px;padding:14px}
.ws-mini-alert strong{color:var(--ws-red)}
.ws-mini-alert p{font-size:13px;margin:4px 0 0;font-weight:500;line-height:1.7}
.ws-price-box table{width:100%;border-collapse:collapse;table-layout:fixed}
.ws-price-box th,.ws-price-box td{border-bottom:1px solid var(--ws-border);padding:11px 0;font-size:14px;vertical-align:middle}
.ws-price-box th{text-align:left;color:#17233c;font-weight:900;width:56%}
.ws-price-box td{text-align:right;color:var(--ws-blue);font-size:20px;font-weight:900;white-space:nowrap}
.ws-table-note{font-size:12px;line-height:1.75;margin:14px 0 0;color:#53657b}

/* 流れ */
.ws-flow-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.ws-flow-card{background:#fff;border:1px solid var(--ws-border);border-radius:10px;padding:26px 18px;text-align:center;box-shadow:0 8px 22px rgba(11,62,120,.04);position:relative;min-height:182px}
.ws-flow-card span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--ws-blue);color:#fff;font-weight:900;margin-bottom:12px}
.ws-flow-card h3{color:var(--ws-blue-dark);font-size:16px;line-height:1.45;margin:0 0 10px;font-weight:900}
.ws-flow-card p{font-size:13px;line-height:1.75;margin:0;color:#34445b}

/* エリア */
.ws-area-box{background:#fff;border:1px solid var(--ws-border);border-radius:10px;padding:30px;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:center}
.ws-area-box h2{color:var(--ws-blue-dark);font-size:26px;line-height:1.45;margin:0 0 18px;font-weight:900}
.ws-area-tags{display:flex;flex-wrap:wrap;gap:10px}
.ws-area-tags span{background:#f6fbff;border:1px solid var(--ws-border);border-radius:999px;color:var(--ws-blue-dark);font-size:13px;font-weight:800;padding:8px 18px}
.ws-map-box{height:150px;background:#dff7e6;color:#07933a}

/* 中間CTA */
.ws-middle-cta{margin-top:42px;background:#fff8e8;border-top:1px solid #f6d59d;border-bottom:1px solid #f6d59d;padding:24px 0}
.ws-middle-cta-inner{display:grid;grid-template-columns:130px minmax(0,1fr) 300px 280px;gap:18px;align-items:center}
.ws-operator-img{height:96px;display:grid;place-items:center;background:#fff;border:1px solid #f6d59d;border-radius:8px;color:var(--ws-blue);font-weight:900}
.ws-middle-copy h2{color:var(--ws-blue-dark);font-size:21px;line-height:1.55;margin:0;font-weight:900}
.ws-middle-tel,.ws-middle-line{min-height:76px;border-radius:8px;color:#fff!important;display:grid;place-items:center;text-align:center;font-weight:900;line-height:1.35;box-shadow:0 8px 20px rgba(0,0,0,.08)}
.ws-middle-tel{background:var(--ws-orange)}
.ws-middle-line{background:var(--ws-green)}
.ws-middle-tel strong{font-size:24px}

/* FAQ */
.ws-faq-section{padding-bottom:56px}
.ws-faq-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.ws-faq-head h2{color:var(--ws-blue-dark);font-size:26px;margin:0;font-weight:900}
.ws-faq-head a{color:var(--ws-blue);font-weight:900}
.ws-faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 34px}
.ws-faq-grid details{border-bottom:1px solid var(--ws-border)}
.ws-faq-grid summary{cursor:pointer;list-style:none;color:var(--ws-blue-dark);font-weight:900;padding:16px 0}
.ws-faq-grid summary::-webkit-details-marker{display:none}
.ws-faq-grid summary:before{content:"Q ";color:var(--ws-blue)}
.ws-faq-grid summary:after{content:"+";float:right;color:var(--ws-blue)}
.ws-faq-grid details[open] summary:after{content:"−"}
.ws-faq-grid p{margin:0 0 16px;color:#34445b}

@media(max-width:1100px){
  .ws-symptom-hero-inner{grid-template-columns:1fr;gap:28px;min-height:auto}
  .ws-symptom-visual{height:330px}
  .ws-hero-feature-grid,.ws-hero-cta-row{max-width:none}
  .ws-trouble-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ws-info-grid{grid-template-columns:1fr}
  .ws-flow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ws-area-box,.ws-middle-cta-inner{grid-template-columns:1fr}
  .ws-middle-cta-inner{text-align:center}
}
@media(max-width:767px){
  .ws-symptom-lp-page .ws-container{width:min(100% - 28px,1180px)}
  .ws-symptom-hero{padding:18px 0 38px}
  .ws-symptom-copy h1{font-size:30px;line-height:1.45;word-break:normal}
  .ws-pill-label{font-size:14px;padding:7px 16px}
  .ws-hero-lead{font-size:14px;line-height:1.85}
  .ws-symptom-visual{height:230px}
  .ws-round-badge{width:118px;height:118px;right:16px;bottom:18px}.ws-round-badge span,.ws-round-badge small{font-size:11px}.ws-round-badge strong{font-size:19px}
  .ws-hero-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ws-hero-feature-grid div:last-child{grid-column:1/-1}
  .ws-hero-cta-row,.ws-trouble-grid,.ws-info-grid,.ws-flow-grid,.ws-faq-grid{grid-template-columns:1fr}
  .ws-hero-tel,.ws-hero-line{min-height:72px;text-align:center}.ws-hero-tel b{font-size:23px}
  .ws-symptom-lp-page .ws-section{padding:46px 0 0}
  .ws-section-title h2{font-size:23px}.ws-section-title h2:before,.ws-section-title h2:after{display:none}
  .ws-trouble-card{min-height:auto}
  .ws-cause-content{grid-template-columns:1fr}.ws-cause-image{min-height:150px}
  .ws-price-box td{font-size:17px}
  .ws-area-box{padding:22px}.ws-area-box h2{font-size:22px}.ws-map-box{height:130px}
  .ws-middle-copy h2{font-size:19px}.ws-middle-tel strong{font-size:22px}
  .ws-faq-head{align-items:flex-start;gap:12px}
}


/* =========================================================
   v8 LP layout hard fix: GeneratePress / wide viewport対策
   - FVが広がりすぎる問題
   - H1の不自然な改行
   - CTA・カードの幅崩れ
   - セクション余白不足
   ========================================================= */
body.page-template-page-ws-symptom-lp,
body.page-template-page-ws-symptom-lp #page,
body.page-template-page-ws-symptom-lp .site,
body.page-template-page-ws-symptom-lp .site-content,
body.page-template-page-ws-symptom-lp .content-area,
body.page-template-page-ws-symptom-lp .site-main,
body.page-template-page-ws-symptom-lp article,
body.page-template-page-ws-symptom-lp .inside-article,
body.page-template-page-ws-symptom-lp .entry-content{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
}

body.page-template-page-ws-symptom-lp .entry-header,
body.page-template-page-ws-symptom-lp .entry-title,
body.page-template-page-ws-symptom-lp .comments-area{
  display:none !important;
}

.ws-symptom-lp-page{
  --ws-content:1180px;
  --ws-side:32px;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  overflow:hidden;
  background:#fff;
}

.ws-symptom-lp-page .ws-container{
  width:min(var(--ws-content), calc(100% - (var(--ws-side) * 2))) !important;
  max-width:var(--ws-content) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.ws-symptom-hero{
  padding:34px 0 56px !important;
  background:linear-gradient(90deg,#f7fbff 0%,#f7fbff 50%,#e6f3ff 50%,#e6f3ff 100%) !important;
}

.ws-symptom-hero-inner.ws-container{
  display:grid !important;
  grid-template-columns:minmax(0, 570px) minmax(420px, 1fr) !important;
  gap:48px !important;
  align-items:center !important;
  min-height:560px !important;
}

.ws-symptom-copy{
  padding:0 !important;
  max-width:570px !important;
}

.ws-breadcrumb{
  margin-bottom:24px !important;
  font-size:12px !important;
  line-height:1.7 !important;
}

.ws-pill-label{
  margin-bottom:20px !important;
  font-size:15px !important;
  min-height:40px !important;
}

.ws-symptom-copy h1{
  max-width:570px !important;
  margin:0 0 26px !important;
  font-size:clamp(36px, 3.05vw, 50px) !important;
  line-height:1.34 !important;
  letter-spacing:.02em !important;
  font-weight:900 !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
  color:#061d43 !important;
}

.ws-hero-lead{
  margin-bottom:24px !important;
  max-width:560px !important;
  font-size:16px !important;
  line-height:1.9 !important;
}

.ws-hero-feature-grid{
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  gap:10px !important;
  max-width:560px !important;
  margin:24px 0 22px !important;
}

.ws-hero-feature-grid div{
  min-width:0 !important;
  min-height:86px !important;
  padding:11px 8px !important;
}

.ws-hero-feature-grid strong{
  font-size:13px !important;
  line-height:1.35 !important;
  word-break:keep-all !important;
}

.ws-hero-feature-grid small{
  font-size:11px !important;
}

.ws-hero-cta-row{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:14px !important;
  max-width:560px !important;
}

.ws-hero-tel,
.ws-hero-line{
  min-width:0 !important;
  min-height:92px !important;
  padding:16px 18px !important;
  border-radius:10px !important;
  justify-content:flex-start !important;
  gap:12px !important;
}

.ws-hero-tel strong,
.ws-hero-line strong{
  font-size:15px !important;
  line-height:1.45 !important;
}

.ws-hero-tel b{
  display:block !important;
  font-size:29px !important;
  line-height:1.2 !important;
  letter-spacing:.02em !important;
}

.ws-hero-tel small,
.ws-hero-line small{
  margin-left:auto !important;
  font-size:11px !important;
  line-height:1.45 !important;
  max-width:92px !important;
}

.ws-symptom-visual{
  width:100% !important;
  height:500px !important;
  min-width:0 !important;
}

.ws-main-photo{
  width:100% !important;
  height:100% !important;
  border-radius:0 !important;
}

.ws-round-badge{display:none !important;}

.ws-symptom-lp-page .ws-section{
  padding-top:72px !important;
}

.ws-section-title{
  margin-bottom:36px !important;
}

.ws-trouble-section{
  padding-top:62px !important;
  padding-bottom:0 !important;
}

.ws-trouble-grid{
  display:grid !important;
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  gap:16px !important;
}

.ws-trouble-card{
  min-height:230px !important;
  padding:24px 18px 22px !important;
}

.ws-info-grid{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:22px !important;
}

.ws-info-card{
  padding:28px !important;
  min-height:360px !important;
}

.ws-flow-grid{
  display:grid !important;
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  gap:16px !important;
}

.ws-flow-card{
  min-height:186px !important;
}

.ws-area-box{
  grid-template-columns:minmax(0, 1fr) 310px !important;
  padding:32px !important;
}

.ws-middle-cta{
  margin-top:52px !important;
  padding:30px 0 !important;
}

.ws-middle-cta-inner{
  grid-template-columns:130px minmax(0, 1fr) 300px 280px !important;
  gap:20px !important;
}

@media (max-width: 1200px){
  .ws-symptom-lp-page{--ws-side:24px;}
  .ws-symptom-hero-inner.ws-container{
    grid-template-columns:minmax(0, 52%) minmax(0, 48%) !important;
    gap:32px !important;
  }
  .ws-symptom-copy h1{font-size:clamp(34px, 3.3vw, 46px) !important;}
}

@media (max-width: 980px){
  .ws-symptom-hero{
    background:linear-gradient(180deg,#f7fbff 0%,#f7fbff 55%,#e6f3ff 55%,#e6f3ff 100%) !important;
  }
  .ws-symptom-hero-inner.ws-container{
    grid-template-columns:1fr !important;
    min-height:auto !important;
    gap:26px !important;
  }
  .ws-symptom-copy,
  .ws-symptom-copy h1,
  .ws-hero-lead,
  .ws-hero-feature-grid,
  .ws-hero-cta-row{
    max-width:none !important;
  }
  .ws-symptom-visual{height:320px !important;}
  .ws-trouble-grid{grid-template-columns:repeat(2, minmax(0, 1fr)) !important;}
  .ws-info-grid{grid-template-columns:1fr !important;}
  .ws-info-card{min-height:auto !important;}
  .ws-flow-grid{grid-template-columns:repeat(2, minmax(0, 1fr)) !important;}
  .ws-area-box{grid-template-columns:1fr !important;}
  .ws-middle-cta-inner{grid-template-columns:1fr !important;text-align:center !important;}
}

@media (max-width: 640px){
  .ws-symptom-lp-page{--ws-side:16px;}
  .ws-symptom-hero{padding:24px 0 42px !important;}
  .ws-symptom-copy h1{
    font-size:30px !important;
    line-height:1.42 !important;
    word-break:normal !important;
    overflow-wrap:anywhere !important;
  }
  .ws-hero-lead{font-size:14px !important;}
  .ws-hero-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .ws-hero-feature-grid div:last-child{grid-column:auto !important;}
  .ws-hero-cta-row{grid-template-columns:1fr !important;}
  .ws-hero-tel,.ws-hero-line{min-height:76px !important;}
  .ws-hero-tel b{font-size:24px !important;}
  .ws-hero-tel small,.ws-hero-line small{max-width:none !important;margin-left:0 !important;}
  .ws-symptom-visual{height:220px !important;}
  .ws-symptom-lp-page .ws-section{padding-top:52px !important;}
  .ws-trouble-grid,.ws-flow-grid,.ws-faq-grid{grid-template-columns:1fr !important;}
  .ws-trouble-card{min-height:auto !important;}
  .ws-cause-content{grid-template-columns:1fr !important;}
  .ws-area-box{padding:22px !important;}
}
