/*
Theme Name: 宮原窯業 リフォームLP
Theme URI: https://reformyasan.net/
Author: LP Creator Athena
Description: 宮原窯業のリフォーム事業LP用WordPressテーマ。LP本文・画像・CTAは「外観 > カスタマイズ > LP設定」から編集できます。既存投稿はLP下部に表示します。
Version: 1.12.0
Text Domain: miyahara-reform
*/

:root{
  --navy:#073763;
  --navy2:#0b4f85;
  --blue:#1186c8;
  --light:#eaf6ff;
  --pale:#f4fbff;
  --orange:#f18a00;
  --orange2:#ffb12c;
  --text:#16253a;
  --muted:#5d6b7b;
  --line:#d8e8f3;
  --white:#fff;
  --bg:#f6fbff;
  --shadow:0 18px 45px rgba(7,55,99,.14);
  --r:22px;
  --container:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.85;
  padding-bottom:72px;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
p{margin:0 0 1.1em}
strong{font-weight:900}
.container{width:min(100% - 32px,var(--container));margin-inline:auto}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(7,55,99,.12);
}
.header-inner{
  width:min(100% - 24px,var(--container));
  margin:auto;
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.site-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:190px;
}
.custom-logo{max-width:180px;height:auto}
.brand-mark{
  display:grid;
  place-items:center;
  width:44px;height:44px;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  font-weight:900;
  box-shadow:0 10px 25px rgba(7,55,99,.2);
}
.brand-text{display:flex;flex-direction:column;line-height:1.25}
.brand-text strong{font-size:20px;letter-spacing:.05em;color:var(--navy)}
.brand-text small{font-size:12px;color:var(--muted);font-weight:700}
.desktop-nav{display:flex;gap:16px;align-items:center;justify-content:center;font-size:14px;font-weight:800;color:var(--navy)}
.desktop-nav a{position:relative;padding:8px 0}
.desktop-nav a:after{
  content:"";
  position:absolute;left:0;bottom:4px;width:100%;height:2px;
  background:var(--blue);
  transform:scaleX(0);transform-origin:right;
  transition:.2s ease;
}
.desktop-nav a:hover:after{transform:scaleX(1);transform-origin:left}
.header-cta{display:flex;align-items:center;gap:10px}
.header-phone{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:154px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--orange),var(--orange2));
  color:#fff;
  padding:8px 16px;
  box-shadow:0 12px 30px rgba(241,138,0,.26);
  line-height:1.25;
}
.header-phone span{font-size:11px;font-weight:900;letter-spacing:.12em}
.header-phone strong{font-size:18px}
.menu-toggle{
  display:none;
  width:48px;height:48px;border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
}
.menu-toggle span{display:block;width:22px;height:2px;background:var(--navy);margin:5px auto;border-radius:2px}
.mobile-menu{
  width:min(100% - 24px,var(--container));
  margin:0 auto 12px;
  border-radius:18px;
  background:#fff;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  overflow:hidden;
}
.mobile-menu nav{display:grid;grid-template-columns:1fr 1fr}
.mobile-menu a{padding:13px 15px;border-bottom:1px solid var(--line);font-weight:800;color:var(--navy)}
.mobile-menu .mobile-menu-phone{grid-column:1/-1;background:var(--orange);color:#fff;text-align:center}

/* Common */
.section{padding:86px 0}
.sec-label{
  display:inline-flex;
  gap:8px;
  align-items:center;
  margin-bottom:16px;
  color:var(--blue);
  font-weight:900;
}
.sec-label span{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#fff;
  background:var(--blue);
  border-radius:999px;
  padding:3px 10px;
}
.sec-label strong{font-size:14px;color:var(--navy)}
h1,h2,h3{line-height:1.35;margin:0;color:var(--navy);letter-spacing:.02em}
h1{font-size:clamp(34px,5vw,58px);font-weight:900}
h2{font-size:clamp(26px,3.5vw,42px);font-weight:900;margin-bottom:24px}
h3{font-size:22px;font-weight:900;margin-bottom:12px}
.section-text{font-size:17px;color:var(--text)}
.section-text.narrow{max-width:820px;margin-inline:auto;text-align:left}
.cta-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  margin-top:28px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  border-radius:999px;
  padding:14px 28px;
  font-size:17px;
  font-weight:900;
  line-height:1.2;
  text-align:center;
  transition:.2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  background:linear-gradient(135deg,var(--orange),var(--orange2));
  color:#fff;
  box-shadow:0 16px 32px rgba(241,138,0,.28);
}
.btn-secondary{
  background:#fff;
  color:var(--navy);
  border:2px solid var(--blue);
  box-shadow:0 12px 28px rgba(7,55,99,.1);
}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  padding:84px 0 76px;
  background:
    linear-gradient(135deg,rgba(7,55,99,.95),rgba(11,79,133,.88)),
    radial-gradient(circle at 82% 12%,rgba(255,255,255,.24),transparent 28%),
    linear-gradient(180deg,#0d5d99,#073763);
  color:#fff;
}
.hero-bg:before,
.hero-bg:after{
  content:"";
  position:absolute;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}
.hero-bg:before{width:420px;height:420px;right:-160px;top:-140px}
.hero-bg:after{width:260px;height:260px;left:-90px;bottom:-110px}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:48px;
  align-items:center;
}
.hero h1{color:#fff;text-shadow:0 12px 35px rgba(0,0,0,.22)}
.hero-kicker{
  display:inline-flex;
  color:#dff5ff;
  font-weight:900;
  letter-spacing:.05em;
  border:1px solid rgba(255,255,255,.35);
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:18px;
  background:rgba(255,255,255,.08);
}
.hero-lead{
  margin-top:22px;
  font-size:18px;
  color:#eefaff;
  font-weight:600;
}
.badge-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
}
.badge-list span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border-radius:999px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.28);
  padding:7px 13px;
  color:#fff;
  font-weight:900;
  font-size:14px;
}
.badge-list span:before{content:"✓";color:#a7f0ff;font-weight:900}
.hero-buttons .btn-secondary{background:rgba(255,255,255,.96)}
.phone-note{
  margin-top:18px;
  color:#e8faff;
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  align-items:center;
  font-weight:700;
}
.phone-note strong{font-size:24px;color:#fff}
.hero-visual{position:relative}
.hero-visual img,
.image-placeholder{
  width:100%;
  min-height:420px;
  border-radius:30px;
  box-shadow:0 30px 70px rgba(0,0,0,.28);
  border:8px solid rgba(255,255,255,.18);
  object-fit:cover;
}
.image-placeholder{
  display:grid;
  place-items:center;
  text-align:center;
  padding:32px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.92),rgba(234,246,255,.92)),
    repeating-linear-gradient(45deg,#e7f2fa 0,#e7f2fa 12px,#f8fcff 12px,#f8fcff 24px);
  color:var(--navy);
}
.image-placeholder span{
  display:inline-flex;
  justify-content:center;
  margin-bottom:10px;
  color:#fff;
  background:var(--blue);
  border-radius:999px;
  padding:4px 12px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.1em;
}
.image-placeholder strong{display:block;font-size:22px;line-height:1.5}
.image-placeholder small{display:block;margin-top:8px;color:var(--muted);font-weight:700}
.image-placeholder.small{
  min-height:210px;
  border:0;
  border-radius:20px 20px 0 0;
  box-shadow:none;
}
.hero-card{
  position:absolute;
  left:-18px;
  bottom:28px;
  max-width:290px;
  background:#fff;
  color:var(--navy);
  padding:18px 20px;
  border-radius:20px;
  box-shadow:0 18px 45px rgba(0,0,0,.22);
  border-left:7px solid var(--orange);
}
.hero-card b{display:block;font-size:18px}
.hero-card span{display:block;color:var(--muted);font-weight:700;font-size:14px}

/* Worry */
.worry{background:#fff}
.check-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:30px 0;
}
.check-item{
  position:relative;
  background:var(--pale);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px 16px 16px 48px;
  font-weight:800;
  color:var(--navy);
}
.check-item:before{
  content:"";
  position:absolute;
  left:18px;top:19px;
  width:18px;height:18px;
  border-radius:50%;
  background:var(--orange);
}
.check-item:after{
  content:"";
  position:absolute;
  left:23px;top:22px;
  width:7px;height:11px;
  border-right:3px solid #fff;
  border-bottom:3px solid #fff;
  transform:rotate(45deg);
}
.lead-box{
  background:linear-gradient(180deg,#fff,#f4fbff);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:28px;
  box-shadow:var(--shadow);
  font-size:17px;
}

/* Solution */
.solution{background:linear-gradient(180deg,var(--pale),#fff)}
.two-col{display:grid;grid-template-columns:1fr .82fr;gap:42px;align-items:center}
.trust-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:30px;
  padding:34px;
  box-shadow:var(--shadow);
}
.trust-icon{
  width:78px;height:78px;
  display:grid;place-items:center;
  border-radius:26px;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;
  font-weight:900;
  margin-bottom:20px;
}

/* Service */
.service{background:#fff}
.service h2{text-align:center}
.service .sec-label{margin-left:50%;transform:translateX(-50%)}
.service-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  margin-top:34px;
}
.service-card{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:linear-gradient(180deg,#fff,#f7fcff);
  border:1px solid var(--line);
  border-radius:18px;
  color:var(--navy);
  font-weight:900;
  box-shadow:0 10px 24px rgba(7,55,99,.07);
  padding:14px;
}

/* Warning */
.warning{
  background:
    linear-gradient(135deg,rgba(7,55,99,.92),rgba(11,79,133,.9)),
    linear-gradient(180deg,#0b4f85,#073763);
  color:#fff;
}
.warning-card{
  background:#fff;
  color:var(--text);
  border-radius:34px;
  padding:48px;
  box-shadow:0 26px 70px rgba(0,0,0,.24);
}
.warning-note{
  margin:24px 0 0;
  padding:18px 20px;
  border-radius:18px;
  background:#fff5e8;
  color:#9b5200;
  border:1px solid #ffdeaa;
  font-size:20px;
  font-weight:900;
}

/* Reasons */
.reason{background:var(--pale)}
.reason h2{text-align:center}
.reason .sec-label{margin-left:50%;transform:translateX(-50%)}
.reason-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  margin-top:34px;
}
.reason-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  padding:28px;
  box-shadow:var(--shadow);
}
.point{
  display:inline-flex;
  background:var(--navy);
  color:#fff;
  font-weight:900;
  border-radius:999px;
  padding:4px 12px;
  font-size:13px;
  margin-bottom:14px;
}
.reason-card h3{color:var(--navy2)}

/* Cases */
.case{background:#fff}
.case h2,.case .section-text{text-align:center}
.case .sec-label{margin-left:50%;transform:translateX(-50%)}
.case-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:34px;
}
.case-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
}
.case-image img{width:100%;height:240px;object-fit:cover}
.case-body{padding:22px}
.case-body span{display:block;color:var(--blue);font-size:13px;font-weight:900;letter-spacing:.08em}
.case-body h3{margin-top:8px}
.case-body p{color:var(--muted)}
.center-cta{
  margin-top:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:var(--pale);
  border:1px solid var(--line);
  border-radius:26px;
  padding:22px;
}
.center-cta p{margin:0;font-weight:900;color:var(--navy)}

/* Voice */
.voice{background:linear-gradient(180deg,var(--pale),#fff)}
.voice h2,.voice .section-text{text-align:center}
.voice .sec-label{margin-left:50%;transform:translateX(-50%)}
.voice-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:34px;
}
.voice-card{
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  padding:30px;
  box-shadow:var(--shadow);
}
.quote-mark{
  position:absolute;
  right:22px;
  top:8px;
  color:#d9eefb;
  font-size:70px;
  font-family:serif;
  line-height:1;
}
.voice-card h3{position:relative}
.voice-card p{position:relative;color:var(--muted);font-weight:700}

/* Free Contact */
.free{background:#fff}
.free-box{
  background:
    linear-gradient(135deg,rgba(7,55,99,.95),rgba(11,79,133,.9)),
    linear-gradient(180deg,#073763,#0b4f85);
  color:#fff;
  border-radius:34px;
  padding:52px;
  box-shadow:0 24px 70px rgba(7,55,99,.22);
}
.free-box h2,.free-box .sec-label strong{color:#fff}
.free-box .sec-label span{background:#fff;color:var(--blue)}
.free-box .section-text{color:#f2fbff}
.contact-note{
  margin:18px 0 0;
  color:#e6faff;
  font-weight:800;
}
.form-embed{
  margin-top:28px;
  background:#fff;
  border-radius:24px;
  padding:24px;
  color:var(--text);
}

/* Flow */
.flow{background:var(--pale)}
.flow-list{
  display:grid;
  gap:14px;
  margin-top:30px;
}
.flow-item{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:22px;
  box-shadow:0 10px 24px rgba(7,55,99,.07);
}
.flow-item span{
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:var(--navy);
  color:#fff;
  font-weight:900;
  min-height:58px;
}
.flow-item p{color:var(--muted);margin:0}

/* Area */
.area{background:#fff}
.area h2,.area .section-text{text-align:center}
.area .sec-label{margin-left:50%;transform:translateX(-50%)}
.area-list{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin:30px auto 18px;
  max-width:860px;
}
.area-list span{
  background:var(--pale);
  border:1px solid var(--line);
  color:var(--navy);
  border-radius:999px;
  padding:9px 16px;
  font-weight:900;
}
.area-note{text-align:center;color:var(--muted);font-weight:800}

/* FAQ */
.faq{background:var(--pale)}
.faq h2{text-align:center}
.faq .sec-label{margin-left:50%;transform:translateX(-50%)}
.faq-list{max-width:900px;margin:30px auto 0;display:grid;gap:12px}
.faq-item{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:0 18px;
  box-shadow:0 10px 22px rgba(7,55,99,.05);
}
.faq-item summary{
  cursor:pointer;
  list-style:none;
  padding:18px 12px;
  font-size:17px;
  font-weight:900;
  color:var(--navy);
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:before{content:"Q.";color:var(--orange);margin-right:8px}
.faq-item p{
  border-top:1px solid var(--line);
  padding:18px 12px 20px;
  color:var(--muted);
  font-weight:700;
}

/* Final CTA */
.final-cta{
  background:
    radial-gradient(circle at 12% 16%,rgba(255,255,255,.16),transparent 25%),
    linear-gradient(135deg,var(--navy),var(--navy2));
  color:#fff;
}
.final-box{
  text-align:center;
  max-width:920px;
}
.final-box h2{color:#fff}
.final-box .section-text{color:#eefaff;text-align:left;max-width:780px;margin:0 auto}
.final-box .cta-buttons{justify-content:center}

/* Posts */
.posts-section{background:#fff}
.posts-section h2,.posts-section .section-text{text-align:center}
.posts-section .sec-label{margin-left:50%;transform:translateX(-50%)}
.post-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  margin-top:34px;
}
.post-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.post-thumb{
  display:grid;
  place-items:center;
  height:190px;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;
  font-weight:900;
}
.post-thumb img{width:100%;height:100%;object-fit:cover}
.post-body{padding:20px}
.post-body time{display:block;color:var(--blue);font-size:13px;font-weight:900;margin-bottom:6px}
.post-body h3,.post-body h2{font-size:19px;margin-bottom:8px}
.post-body p{color:var(--muted);font-size:14px;margin:0}
.archive-link-wrap{text-align:center;margin-top:30px}
.archive-link{
  display:inline-flex;
  padding:12px 22px;
  border:2px solid var(--blue);
  border-radius:999px;
  color:var(--navy);
  font-weight:900;
}

/* Footer & Sticky */
.site-footer{
  background:#041e35;
  color:#d7ecf8;
  padding:44px 0 92px;
  text-align:center;
}
.footer-top{
  display:inline-flex;
  margin-bottom:18px;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.5);
  font-weight:800;
}
.footer-text{white-space:normal;font-size:14px}
.footer-nav ul{list-style:none;padding:0;margin:20px 0 0;display:flex;justify-content:center;gap:18px;flex-wrap:wrap}
.sticky-cta{
  position:fixed;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  z-index:80;
  width:min(100% - 24px,560px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:10px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);
  border:1px solid rgba(7,55,99,.14);
  border-radius:999px;
  box-shadow:0 20px 50px rgba(0,0,0,.18);
}
.sticky-cta a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  border-radius:999px;
  font-weight:900;
  color:#fff;
}
.sticky-phone{background:linear-gradient(135deg,var(--orange),var(--orange2))}
.sticky-form{background:linear-gradient(135deg,var(--navy),var(--blue))}


/* Uploaded Miyahara images */
.fallback-logo{
  width:250px;
  max-width:min(250px,42vw);
  height:auto;
}
.footer-logo{
  width:220px;
  max-width:80%;
  margin:0 auto 18px;
  filter:brightness(0) invert(1);
}
.hero-visual img{
  width:100%;
  min-height:360px;
  object-fit:cover;
  border-radius:34px;
  box-shadow:0 28px 70px rgba(0,0,0,.26);
}
.trust-card-photo{
  padding:0;
  overflow:hidden;
}
.trust-card-photo > img{
  width:100%;
  height:260px;
  object-fit:cover;
}
.trust-card-body{padding:30px}
.service-photo{
  max-width:720px;
  margin:30px auto 0;
  border-radius:26px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
}
.service-photo img{width:100%;height:360px;object-fit:cover}
.warning-media-grid{
  display:grid;
  grid-template-columns:1.35fr .75fr;
  gap:28px;
  align-items:center;
}
.warning-photo{
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 16px 38px rgba(7,55,99,.14);
  border:1px solid var(--line);
}
.warning-photo img{width:100%;height:260px;object-fit:cover}
.reason-card{
  overflow:hidden;
}
.reason-photo{
  margin:-28px -28px 20px;
  height:210px;
  overflow:hidden;
  background:var(--pale);
}
.reason-photo img{width:100%;height:100%;object-fit:cover}
.staff{
  background:#fff;
}
.staff h2{text-align:center}
.staff .sec-label{margin-left:50%;transform:translateX(-50%)}
.staff-intro{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  max-width:900px;
  margin:0 auto 28px;
  text-align:left;
}
.staff-intro .section-text{max-width:700px}
.license-badge{
  width:97px;
  flex:0 0 auto;
}
.staff-banner{
  border-radius:28px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  background:#fff;
  margin:28px auto 30px;
  max-width:880px;
}
.staff-banner img{width:100%;height:auto}
.staff-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  max-width:900px;
  margin:0 auto;
}
.staff-card{
  background:linear-gradient(180deg,#fff,#f8fcff);
  border:1px solid var(--line);
  border-radius:24px;
  padding:20px;
  box-shadow:0 12px 30px rgba(7,55,99,.08);
  text-align:center;
}
.staff-card img{
  width:100%;
  height:132px;
  object-fit:cover;
  object-position:center top;
  border-radius:18px;
  margin-bottom:14px;
  background:var(--pale);
}
.staff-card h3{font-size:20px;margin-bottom:4px}
.staff-card .staff-role{margin:0;color:var(--muted);font-weight:800}
.staff-card .staff-comment{
  margin:12px 0 0;
  padding-top:12px;
  border-top:1px solid var(--line);
  color:var(--text);
  font-size:15px;
  line-height:1.8;
  font-weight:700;
  text-align:left;
}
.voice-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.voice-card{
  overflow:hidden;
  padding:0;
}
.voice-photo{
  height:190px;
  overflow:hidden;
  background:var(--pale);
}
.voice-photo img{width:100%;height:100%;object-fit:cover}
.voice-card .quote-mark{
  top:182px;
}
.voice-card h3,
.voice-card p{
  padding-left:26px;
  padding-right:26px;
}
.voice-card h3{padding-top:24px}
.voice-card p{padding-bottom:26px}
.case-image img{
  background:var(--pale);
}

/* Entry pages */
.entry-main{padding:70px 0;background:var(--bg);min-height:65vh}
.entry-container{max-width:900px}
.entry-head{
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  padding:34px;
  box-shadow:var(--shadow);
  margin-bottom:26px;
}
.entry-featured img{width:100%;border-radius:24px;margin-bottom:28px}
.entry-article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:32px;
  box-shadow:var(--shadow);
}
.entry-article .entry-head{box-shadow:none;border:0;padding:0;margin-bottom:28px}
.entry-content{font-size:17px}
.entry-content a{color:var(--blue);text-decoration:underline}
.entry-content img{border-radius:18px}
.entry-nav{display:flex;justify-content:space-between;gap:20px;margin-top:36px;border-top:1px solid var(--line);padding-top:22px}
.pagination-wrap{margin-top:30px;text-align:center}
.pagination-wrap .page-numbers{display:inline-flex;padding:8px 12px;margin:4px;border-radius:10px;background:#fff;border:1px solid var(--line)}
.pagination-wrap .current{background:var(--navy);color:#fff}
.archive-grid .post-card{box-shadow:0 10px 22px rgba(7,55,99,.08)}

/* Responsive */
@media (max-width: 980px){
  .desktop-nav{display:none}
  .menu-toggle{display:block}
  .hero-grid,.two-col{grid-template-columns:1fr}
  .hero-visual{order:-1}
  .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .case-grid,.voice-grid,.post-grid{grid-template-columns:1fr 1fr}
  .center-cta{display:block}
  .center-cta .cta-buttons{margin-top:18px}
}
@media (max-width: 640px){
  body{line-height:1.78}
  .container{width:min(100% - 24px,var(--container))}
  .header-inner{min-height:64px}
  .brand-text strong{font-size:18px}
  .brand-text small{font-size:10px}
  .header-phone{display:none}
  .mobile-menu nav{grid-template-columns:1fr}
  .hero{padding:34px 0 54px}
  .hero-grid{gap:24px}
  .hero-visual img,.image-placeholder{min-height:260px;border-radius:24px;border-width:5px}
  .hero-card{left:12px;bottom:14px;right:12px;max-width:none}
  .hero h1{font-size:34px}
  .hero-lead{font-size:16px}
  .section{padding:58px 0}
  h2{font-size:27px}
  h3{font-size:20px}
  .cta-buttons{display:grid;grid-template-columns:1fr;gap:12px}
  .btn{width:100%;min-height:56px;font-size:16px}
  .check-grid,.reason-grid,.case-grid,.voice-grid,.post-grid{grid-template-columns:1fr}
  .service-grid{grid-template-columns:1fr}
  .warning-card,.free-box,.entry-article,.entry-head{padding:24px;border-radius:24px}
  .flow-item{grid-template-columns:1fr;gap:12px}
  .flow-item span{width:120px}
  .sec-label{display:flex}
  .sec-label,.service .sec-label,.reason .sec-label,.case .sec-label,.voice .sec-label,.area .sec-label,.faq .sec-label,.posts-section .sec-label{
    margin-left:0;transform:none;
  }
  .service h2,.reason h2,.case h2,.case .section-text,.voice h2,.voice .section-text,.area h2,.area .section-text,.faq h2,.posts-section h2,.posts-section .section-text{text-align:left}
  .sticky-cta{bottom:10px;width:min(100% - 16px,560px)}
  .sticky-cta a{font-size:14px}
}

@media (max-width: 920px){
  .warning-media-grid{grid-template-columns:1fr}
  .staff-grid{grid-template-columns:1fr}
  .staff-intro{align-items:flex-start}
}
@media (max-width: 760px){
  .fallback-logo{max-width:190px}
  .hero-visual img{min-height:260px;border-radius:26px}
  .service-photo img{height:240px}
  .reason-photo{height:190px}
  .voice-grid{grid-template-columns:1fr}
  .staff-intro{flex-direction:column;text-align:left}
  .license-badge{width:86px}
  .staff .sec-label{margin-left:0;transform:none}
  .staff h2{text-align:left}
  .footer-logo{width:190px}
}


/* =========================================================
   v1.2 ファーストビュー・スマホ表示改善
   参考LPの「白×淡い水色×ネイビー帯×オレンジCTA」に寄せた調整
   ========================================================= */

/* 全体の余白を少し軽く */
.lp-main{
  background:#fff;
}

/* FV：一面青をやめ、明るいリフォームLPらしい入口へ */
.hero{
  padding:42px 0 64px;
  color:var(--text);
  background:
    radial-gradient(circle at 86% 8%, rgba(17,134,200,.16), transparent 28%),
    linear-gradient(180deg,#eef8ff 0%,#ffffff 68%,#f5fbff 100%);
}
.hero:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:88px;
  height:118px;
  background:linear-gradient(90deg,#073763,#0b4f85);
  opacity:.98;
  z-index:0;
}
.hero:after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:120px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.55) 0 25%,transparent 25% 50%,rgba(255,255,255,.35) 50% 75%,transparent 75%),
    linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,0));
  background-size:34px 34px, auto;
  opacity:.55;
  pointer-events:none;
  z-index:0;
}
.hero-bg:before,
.hero-bg:after{
  background:rgba(17,134,200,.10);
}
.hero-grid{
  position:relative;
  z-index:1;
  grid-template-columns:1fr .9fr;
  gap:34px;
  padding:30px;
  border-radius:34px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(216,232,243,.95);
  box-shadow:0 22px 54px rgba(7,55,99,.12);
  overflow:visible;
}
.hero-copy{
  position:relative;
  z-index:2;
}
.hero-kicker{
  color:#fff;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  border:0;
  box-shadow:0 10px 24px rgba(7,55,99,.16);
  font-size:14px;
  margin-bottom:14px;
}
.hero h1{
  color:var(--navy);
  text-shadow:none;
  font-size:clamp(32px,4.7vw,54px);
}
.hero h1 strong,
.hero h1 b{
  color:var(--navy);
}
.hero h1:after{
  content:"";
  display:block;
  width:170px;
  height:6px;
  margin-top:16px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--orange),var(--orange2));
}
.hero-lead{
  color:#263d55;
  font-size:18px;
  font-weight:700;
  max-width:620px;
}
.badge-list{
  gap:8px;
  margin-top:22px;
}
.badge-list span{
  background:#fff;
  border:1px solid #cfe8f8;
  color:var(--navy);
  box-shadow:0 8px 18px rgba(7,55,99,.06);
}
.badge-list span:before{
  color:var(--orange);
}
.hero-proof-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:20px;
  max-width:620px;
}
.hero-proof-row span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:9px 10px;
  border-radius:16px;
  background:#f5fbff;
  border:1px solid #cae5f6;
  color:var(--navy);
  font-size:13px;
  font-weight:900;
  text-align:center;
}
.hero-buttons .btn-primary{
  box-shadow:0 16px 30px rgba(241,138,0,.25);
}
.hero-buttons .btn-secondary{
  background:#fff;
  border-color:var(--blue);
}
.phone-note{
  color:var(--muted);
}
.phone-note strong{
  color:var(--navy);
}
.hero-visual{
  align-self:stretch;
  min-height:430px;
}
.hero-visual > img,
.hero-visual > .image-placeholder{
  height:100%;
  min-height:430px;
  border-radius:28px;
  border:0;
  box-shadow:0 24px 52px rgba(7,55,99,.16);
  object-position:center center;
}
.hero-mini-photo{
  position:absolute;
  right:-12px;
  bottom:32px;
  width:42%;
  max-width:220px;
  border:7px solid #fff;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 38px rgba(7,55,99,.24);
  background:#fff;
}
.hero-mini-photo img{
  width:100%;
  height:128px;
  object-fit:cover;
  border:0;
  border-radius:0;
  min-height:0;
  box-shadow:none;
}
.hero-card{
  left:18px;
  bottom:-20px;
  background:var(--navy);
  color:#fff;
  border-left:0;
  border-top:5px solid var(--orange);
  box-shadow:0 18px 40px rgba(7,55,99,.24);
}
.hero-card span{
  color:#e9f7ff;
}

/* 注意喚起：参考画像の黄色い注意枠に近づける */
.warning{
  background:
    linear-gradient(180deg,#fff 0%,#f5fbff 100%);
  color:var(--text);
}
.warning-card{
  position:relative;
  background:#fffdf1;
  border:2px dashed #d7a000;
  box-shadow:0 18px 45px rgba(7,55,99,.12);
}
.warning-card:before{
  content:"!";
  position:absolute;
  left:28px;
  top:-24px;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#ffd84d;
  color:#27384a;
  font-size:34px;
  font-weight:900;
  border:3px solid #27384a;
}
.warning-note{
  background:#fff5da;
  color:#7a4300;
  border-color:#f0c35b;
}

/* セクション間に参考LPのような青い締まりを少し追加 */
.solution,
.reason,
.flow,
.faq{
  background:linear-gradient(180deg,#f1f9ff,#ffffff);
}
.free-box,
.final-cta{
  background:
    radial-gradient(circle at 12% 16%,rgba(255,255,255,.14),transparent 26%),
    linear-gradient(135deg,#073763,#0b4f85);
}

/* 画像カードを少しLPらしく軽く */
.trust-card-photo,
.service-photo,
.reason-card,
.case-card,
.voice-card,
.staff-banner,
.staff-card{
  box-shadow:0 16px 38px rgba(7,55,99,.10);
}

/* スマホ最適化：1画面の圧迫感を減らし、FVはコピー→画像の順に */
@media (max-width: 980px){
  .hero-grid{
    grid-template-columns:1fr;
  }
  .hero-visual{
    order:0;
  }
}
@media (max-width: 640px){
  body{
    padding-bottom:76px;
  }
  .site-header{
    position:sticky;
    background:rgba(255,255,255,.98);
  }
  .fallback-logo{
    max-width:172px;
  }
  .hero{
    padding:22px 0 46px;
    background:linear-gradient(180deg,#eef8ff 0%,#fff 74%,#f4fbff 100%);
  }
  .hero:before{
    bottom:62px;
    height:76px;
  }
  .hero:after{
    height:74px;
    background-size:26px 26px,auto;
  }
  .hero-grid{
    width:min(100% - 18px,var(--container));
    padding:18px;
    border-radius:24px;
    gap:18px;
  }
  .hero-kicker{
    display:inline-flex;
    align-items:center;
    font-size:12px;
    line-height:1.45;
    border-radius:12px;
    padding:7px 10px;
    margin-bottom:12px;
  }
  .hero h1{
    font-size:30px;
    line-height:1.34;
    letter-spacing:.01em;
  }
  .hero h1:after{
    width:118px;
    height:5px;
    margin-top:12px;
  }
  .hero-lead{
    font-size:15.5px;
    line-height:1.75;
    margin-top:16px;
  }
  .badge-list{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:16px;
  }
  .badge-list span{
    justify-content:center;
    min-height:42px;
    padding:7px 8px;
    font-size:12.5px;
    text-align:center;
  }
  .hero-proof-row{
    grid-template-columns:1fr;
    gap:7px;
    margin-top:12px;
  }
  .hero-proof-row span{
    min-height:38px;
    justify-content:flex-start;
    padding:7px 12px;
    font-size:12.5px;
  }
  .hero-buttons{
    margin-top:18px;
  }
  .phone-note{
    display:block;
    margin-top:12px;
    padding:10px 12px;
    border-radius:14px;
    background:#f5fbff;
    border:1px solid #cfe8f8;
    font-size:13px;
  }
  .phone-note strong{
    display:block;
    font-size:22px;
    line-height:1.3;
  }
  .phone-note span{
    display:block;
  }
  .hero-visual{
    min-height:0;
  }
  .hero-visual > img,
  .hero-visual > .image-placeholder{
    min-height:0;
    height:248px;
    border-radius:20px;
    object-position:center center;
  }
  .hero-mini-photo{
    display:none;
  }
  .hero-card{
    position:relative;
    left:auto;
    right:auto;
    bottom:auto;
    margin:-26px 10px 0;
    border-radius:16px;
    padding:14px 15px;
    text-align:center;
  }
  .hero-card b{
    font-size:16px;
  }
  .hero-card span{
    font-size:13px;
  }
  .section{
    padding:52px 0;
  }
  .check-grid{
    gap:10px;
  }
  .check-item{
    padding:13px 13px 13px 42px;
    border-radius:15px;
    font-size:14.5px;
  }
  .check-item:before{
    left:15px;
    top:17px;
  }
  .check-item:after{
    left:20px;
    top:20px;
  }
  .lead-box,
  .trust-card-body,
  .warning-card,
  .free-box,
  .final-box{
    padding:22px;
  }
  .warning-card:before{
    left:20px;
    width:44px;
    height:44px;
    top:-20px;
    font-size:28px;
  }
  .warning-media-grid{
    gap:18px;
  }
  .warning-photo img{
    height:190px;
  }
  .service-photo{
    margin-top:20px;
    border-radius:20px;
  }
  .service-photo img{
    height:210px;
  }
  .reason-photo{
    height:170px;
  }
  .voice-photo{
    height:150px;
  }
  .voice-card .quote-mark{
    top:142px;
  }
  .free-box{
    border-radius:24px;
  }
  .flow-list{
    gap:12px;
  }
  .flow-item{
    padding:18px;
  }
  .sticky-cta{
    grid-template-columns:1fr 1fr;
    border-radius:20px;
    padding:8px;
  }
  .sticky-cta a{
    min-height:46px;
    border-radius:15px;
  }
}


/* =========================================================
   v1.3 スマホファースト改善
   文字量を減らし、最初に雰囲気と要点が伝わるFVへ調整
   ========================================================= */

.hero-mobile-quick{
  display:none;
}

/* PC〜タブレットは既存の情報量を維持 */
@media (min-width: 641px){
  .hero-copy .hero-mobile-quick{
    display:none !important;
  }
}

/* スマホ：パッと見で「写真・要点・行動」が伝わるように */
@media (max-width: 640px){

  .hero{
    padding:12px 0 34px;
  }

  .hero:before{
    bottom:42px;
    height:62px;
  }

  .hero:after{
    height:62px;
    opacity:.38;
  }

  .hero-grid{
    width:min(100% - 14px,var(--container));
    padding:12px;
    gap:12px;
    border-radius:22px;
    background:rgba(255,255,255,.92);
    box-shadow:0 14px 34px rgba(7,55,99,.12);
  }

  /* 写真を先に見せて、文字の圧迫感を減らす */
  .hero-visual{
    order:-1;
    min-height:0;
  }

  .hero-visual > img,
  .hero-visual > .image-placeholder{
    height:208px;
    min-height:0;
    border-radius:18px;
    object-fit:cover;
    object-position:center 28%;
    box-shadow:0 12px 26px rgba(7,55,99,.16);
  }

  .hero-card{
    max-width:none;
    margin:-22px 10px 0;
    padding:10px 12px;
    border-radius:14px;
    text-align:center;
  }

  .hero-card b{
    font-size:15px;
    line-height:1.3;
  }

  .hero-card span{
    font-size:12px;
    line-height:1.45;
  }

  .hero-copy{
    padding:2px 2px 0;
  }

  .hero-kicker{
    font-size:11px;
    line-height:1.5;
    padding:6px 9px;
    border-radius:10px;
    margin:0 0 9px;
    letter-spacing:.02em;
  }

  .hero h1{
    font-size:25px;
    line-height:1.26;
    letter-spacing:0;
  }

  .hero h1:after{
    width:94px;
    height:4px;
    margin-top:9px;
  }

  /* スマホでは長い説明文と細かいバッジを省き、要点だけ表示 */
  .hero-lead,
  .badge-list,
  .hero-proof-row,
  .phone-note{
    display:none !important;
  }

  .hero-mobile-quick{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
    margin-top:12px;
  }

  .hero-mobile-quick span{
    position:relative;
    display:flex;
    align-items:center;
    min-height:34px;
    padding:7px 10px 7px 32px;
    border-radius:12px;
    background:#f5fbff;
    border:1px solid #cfe8f8;
    color:var(--navy);
    font-size:13px;
    font-weight:900;
    line-height:1.35;
  }

  .hero-mobile-quick span:before{
    content:"✓";
    position:absolute;
    left:11px;
    top:50%;
    transform:translateY(-50%);
    display:grid;
    place-items:center;
    width:16px;
    height:16px;
    border-radius:50%;
    background:var(--orange);
    color:#fff;
    font-size:11px;
    font-weight:900;
  }

  .hero-buttons{
    margin-top:13px;
    gap:9px;
  }

  .hero-buttons .btn{
    min-height:50px;
    font-size:15px;
    border-radius:16px;
    padding:11px 14px;
  }

  .hero-buttons .btn-secondary{
    border-width:1.5px;
  }

  /* ヘッダーも少しだけ軽く */
  .header-inner{
    min-height:58px;
  }

  .fallback-logo{
    max-width:154px;
  }

  .menu-toggle{
    width:42px;
    height:42px;
    border-radius:12px;
  }

  /* 以降のセクションも、スマホで読み疲れしにくい余白と文字サイズへ */
  .section{
    padding:44px 0;
  }

  h2{
    font-size:24px;
    line-height:1.38;
    margin-bottom:18px;
  }

  .sec-label{
    margin-bottom:11px;
  }

  .sec-label span{
    font-size:10px;
    padding:2px 8px;
  }

  .sec-label strong{
    font-size:12px;
  }

  .section-text,
  .lead-box,
  .trust-card-body,
  .warning-card,
  .free-box,
  .final-box{
    font-size:15px;
    line-height:1.78;
  }

  .lead-box,
  .trust-card,
  .warning-card,
  .free-box,
  .final-box{
    padding:18px;
    border-radius:20px;
  }

  .check-item{
    font-size:14px;
    line-height:1.55;
  }

  .service-grid{
    gap:9px;
  }

  .service-card{
    min-height:52px;
    font-size:14px;
    border-radius:14px;
  }

  .reason-grid,
  .case-grid,
  .voice-grid{
    gap:16px;
  }

  .reason-card,
  .case-card,
  .voice-card{
    border-radius:20px;
  }

  .reason-card h3,
  .case-card h3,
  .voice-card h3,
  .flow-item h3{
    font-size:18px;
  }
}


/* =========================================================
   v1.4 スマホ導線調整
   ・SOLUTION内の重複CTAを削除
   ・相談写真をカード分離せず、文章と自然につなげる
   ========================================================= */
.solution .two-col{
  align-items:center;
}

.solution-photo-merged{
  margin:0;
  position:relative;
}

.solution-photo-merged img{
  display:block;
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  object-position:center;
  border-radius:28px;
  box-shadow:0 18px 42px rgba(7,55,99,.14);
}

.solution-photo-merged:before{
  content:"";
  position:absolute;
  inset:-14px;
  border-radius:34px;
  background:linear-gradient(180deg,#ffffff,#eef8ff);
  border:1px solid var(--line);
  z-index:-1;
}

@media (max-width: 980px){
  .solution .two-col{
    gap:18px;
  }
}

@media (max-width: 640px){
  .solution .two-col{
    gap:12px;
  }

  .solution-photo-merged{
    margin-top:4px;
  }

  .solution-photo-merged:before{
    inset:-8px;
    border-radius:24px;
  }

  .solution-photo-merged img{
    aspect-ratio: 16 / 10;
    border-radius:18px;
    box-shadow:0 10px 24px rgba(7,55,99,.12);
  }

  /* このセクションでは写真と本文を近づけ、カードが分かれすぎない見え方にする */
  .solution .section-text{
    margin-bottom:12px;
  }
}


/* =========================================================
   v1.5 ご相談の流れデザイン調整
   参考LPの「淡い水色背景＋白カード＋番号バッジ＋黄色矢印」に寄せる
   各STEPには画像を入れず、スマホで読みやすいカード構成にする
   ========================================================= */
.flow{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(218,240,255,.92) 0%, rgba(184,222,247,.92) 100%);
  padding-top:78px;
  padding-bottom:86px;
}
.flow:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 82% 8%, rgba(255,255,255,.58), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.20) 0 25%, transparent 25% 100%);
  opacity:.75;
  pointer-events:none;
}
.flow:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:112px;
  background:linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.42));
  pointer-events:none;
}
.flow .container{
  position:relative;
  z-index:1;
}
.flow .sec-label{
  display:flex;
  justify-content:center;
  margin-left:0;
  transform:none;
}
.flow .sec-label span{
  background:var(--navy);
}
.flow h2{
  text-align:center;
  margin-bottom:30px;
  color:var(--navy);
}
.flow-list{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:34px 28px;
  max-width:980px;
  margin:34px auto 0;
}
.flow-item{
  position:relative;
  display:block;
  min-height:222px;
  padding:42px 22px 24px;
  background:#fff;
  border:0;
  border-radius:16px;
  box-shadow:0 18px 38px rgba(7,55,99,.16);
  text-align:center;
}
.flow-item span{
  position:absolute;
  top:-18px;
  left:18px;
  width:42px;
  height:42px;
  min-height:42px;
  display:grid;
  place-items:center;
  padding:0;
  border-radius:50%;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;
  font-size:0;
  line-height:1;
  box-shadow:0 10px 22px rgba(7,55,99,.22);
}
.flow-item span::after{
  content:attr(data-step);
}
.flow-item span{
  counter-increment: none;
}
.flow-item:nth-child(1) span::after{content:"01";}
.flow-item:nth-child(2) span::after{content:"02";}
.flow-item:nth-child(3) span::after{content:"03";}
.flow-item:nth-child(4) span::after{content:"04";}
.flow-item:nth-child(5) span::after{content:"05";}
.flow-item:nth-child(6) span::after{content:"06";}
.flow-item:nth-child(7) span::after{content:"07";}
.flow-item span::after{
  font-size:14px;
  font-weight:900;
}
.flow-item h3{
  margin:0 0 12px;
  color:var(--navy);
  font-size:20px;
  line-height:1.35;
}
.flow-item p{
  margin:0;
  color:#526679;
  font-size:14.5px;
  line-height:1.75;
  text-align:left;
}
.flow-item:after{
  content:"";
  position:absolute;
  right:-26px;
  top:50%;
  transform:translateY(-50%);
  width:34px;
  height:18px;
  background:
    linear-gradient(45deg, transparent 0 36%, #ffd84d 36% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 0 36%, #ffd84d 36% 58%, transparent 58%);
  filter:drop-shadow(0 2px 0 rgba(7,55,99,.08));
}
.flow-item:nth-child(3n):after,
.flow-item:last-child:after{
  display:none;
}

@media (max-width: 900px){
  .flow-list{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:32px 22px;
  }
  .flow-item:nth-child(3n):after{
    display:block;
  }
  .flow-item:nth-child(2n):after,
  .flow-item:last-child:after{
    display:none;
  }
}

@media (max-width: 640px){
  .flow{
    padding-top:56px;
    padding-bottom:62px;
    background:linear-gradient(180deg,#dff3ff 0%,#b9def7 100%);
  }
  .flow .sec-label{
    justify-content:flex-start;
  }
  .flow h2{
    text-align:left;
    font-size:26px;
    margin-bottom:22px;
  }
  .flow-list{
    grid-template-columns:1fr;
    gap:22px;
    margin-top:26px;
  }
  .flow-item{
    min-height:0;
    padding:30px 18px 18px;
    border-radius:15px;
    text-align:left;
    box-shadow:0 12px 28px rgba(7,55,99,.13);
  }
  .flow-item span{
    top:-15px;
    left:16px;
    width:38px;
    height:38px;
    min-height:38px;
  }
  .flow-item span::after{
    font-size:13px;
  }
  .flow-item h3{
    font-size:18px;
    padding-left:46px;
    min-height:38px;
    display:flex;
    align-items:center;
    margin-bottom:8px;
  }
  .flow-item p{
    font-size:14px;
    line-height:1.7;
  }
  .flow-item:after,
  .flow-item:nth-child(2n):after,
  .flow-item:nth-child(3n):after{
    display:block;
    right:auto;
    left:50%;
    top:auto;
    bottom:-20px;
    transform:translateX(-50%) rotate(90deg);
    width:28px;
    height:15px;
  }
  .flow-item:last-child:after{
    display:none;
  }
}


/* =========================================================
   v1.6 ご相談の流れ：黄色矢印の修正
   ・スマホで「X」のように見えないよう、シンプルな下向き矢印に変更
   ・PCでは右向き矢印として表示
   ========================================================= */
.flow-item:after{
  content:"";
  position:absolute;
  right:-24px;
  top:50%;
  transform:translateY(-50%);
  width:30px;
  height:18px;
  background:#ffd84d;
  clip-path:polygon(0 22%, 58% 22%, 58% 0, 100% 50%, 58% 100%, 58% 78%, 0 78%);
  filter:drop-shadow(0 3px 0 rgba(7,55,99,.08));
}
.flow-item:nth-child(3n):after,
.flow-item:last-child:after{
  display:none;
}
@media (max-width: 900px){
  .flow-item:nth-child(3n):after{
    display:block;
  }
  .flow-item:nth-child(2n):after,
  .flow-item:last-child:after{
    display:none;
  }
}
@media (max-width: 640px){
  .flow-list{
    gap:30px;
  }
  .flow-item:after,
  .flow-item:nth-child(2n):after,
  .flow-item:nth-child(3n):after{
    display:block;
    right:auto;
    left:50%;
    top:auto;
    bottom:-24px;
    transform:translateX(-50%);
    width:28px;
    height:18px;
    background:#ffd84d;
    clip-path:polygon(0 0, 100% 0, 50% 100%);
    filter:drop-shadow(0 3px 0 rgba(7,55,99,.08));
  }
  .flow-item:last-child:after{
    display:none;
  }
}


/* =========================================================
   v1.8 選ばれる理由：Pointラベルと画像の重なり修正
   Pointラベルの下に画像が自然に並ぶよう、画像の上方向マージンを解除
   ========================================================= */
.reason-card{
  position:relative;
}
.reason-card .point{
  position:relative;
  z-index:2;
  margin-bottom:16px;
}
.reason-card .reason-photo{
  margin:0 -28px 22px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
@media (max-width:760px){
  .reason-card .reason-photo{
    margin:0 -22px 20px;
    height:170px;
  }
  .reason-card .point{
    margin-bottom:14px;
  }
}

/* v9: 職人紹介の資格バッジ画像は非表示 */
.license-badge{display:none!important;}


/* =========================================================
   v1.9 ファーストビュー再調整
   ・スマホで一目で「リフォームLP」とわかるように、文章を先に表示
   ・写真は見出しの下へ回し、情報の順番を整理
   ・細かい装飾を減らして、第一印象を軽くする
   ========================================================= */
.hero-service-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  padding:7px 14px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--orange),var(--orange2));
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.06em;
  box-shadow:0 10px 24px rgba(241,138,0,.20);
}
.hero-service-tag:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#fff;
}
@media (min-width: 641px){
  .hero-service-tag{
    display:none;
  }
}

@media (max-width: 640px){
  /* 文字→写真→行動の順に見えるよう、スマホでは写真先行を解除 */
  .hero-grid{
    display:flex;
    flex-direction:column;
    gap:14px;
  }

  .hero-copy{
    order:1;
    padding:2px 4px 0;
  }

  .hero-visual{
    order:2;
  }

  .hero-buttons{
    order:3;
  }

  /* 長い導入文はスマホでは隠し、リフォームであることを先に見せる */
  .hero-kicker{
    display:none;
  }

  .hero-service-tag{
    font-size:12px;
    padding:6px 12px;
    margin-bottom:8px;
  }

  .hero h1{
    font-size:25px;
    line-height:1.28;
    margin-bottom:0;
  }

  .hero h1:after{
    margin-top:8px;
  }

  .hero-mobile-quick{
    grid-template-columns:1fr 1fr;
    gap:7px;
    margin-top:11px;
  }

  .hero-mobile-quick span{
    min-height:40px;
    padding:7px 8px;
    justify-content:center;
    text-align:center;
    font-size:12.5px;
  }

  .hero-mobile-quick span:before{
    display:none;
  }

  .hero-buttons{
    display:grid;
    grid-template-columns:1fr 1fr;
    margin-top:12px;
  }

  .hero-buttons .btn{
    min-height:48px;
    font-size:14px;
    border-radius:15px;
    padding:10px 8px;
  }

  .hero-visual > img,
  .hero-visual > .image-placeholder{
    height:196px;
    border-radius:18px;
    object-position:center 35%;
  }

  /* スマホのFVではカードを出しすぎない */
  .hero-card{
    display:none;
  }

  .hero-mini-photo{
    display:none;
  }
}


/* =========================================================
   v1.10 ファーストビュー調整
   ・メインコピーをより強く見せる
   ・安心ポイントの枠を外し、CTAボタンと混同しないよう整理
   ・スマホでCTAがはっきりボタンとして見えるよう調整
   ========================================================= */
@media (max-width: 640px){
  .hero-grid{
    padding:16px 14px 15px;
    gap:13px;
  }

  .hero-service-tag{
    margin-bottom:10px;
    font-size:12px;
    padding:6px 13px;
    box-shadow:0 8px 18px rgba(241,138,0,.18);
  }

  .hero h1{
    font-size:31px;
    line-height:1.22;
    letter-spacing:.01em;
    font-weight:900;
    color:var(--navy);
    margin-top:0;
  }

  .hero h1::first-line{
    font-size:1.05em;
  }

  .hero h1:after{
    width:132px;
    height:5px;
    margin-top:10px;
    background:linear-gradient(90deg,var(--orange),var(--orange2));
  }

  /* ここはボタンに見えないよう、枠を外して短い安心テキストとして表示 */
  .hero-mobile-quick{
    display:block;
    margin-top:10px;
    padding:0;
    color:#4f6275;
    font-size:12.5px;
    line-height:1.55;
    font-weight:800;
  }

  .hero-mobile-quick span{
    display:inline;
    min-height:0;
    padding:0;
    border:0;
    background:transparent;
    color:inherit;
    font-size:inherit;
    font-weight:inherit;
    line-height:inherit;
    text-align:left;
    box-shadow:none;
  }

  .hero-mobile-quick span:before{
    display:none!important;
  }

  .hero-mobile-quick span:first-child:before{
    content:"✓";
    display:inline!important;
    margin-right:4px;
    color:var(--orange);
    background:none;
    position:static;
    transform:none;
    width:auto;
    height:auto;
    font-size:13px;
  }

  .hero-mobile-quick span:not(:last-child):after{
    content:" ／ ";
    color:#8aa0b4;
    font-weight:700;
  }

  .hero-buttons{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:14px;
  }

  .hero-buttons .btn{
    min-height:52px;
    border-radius:999px;
    font-size:14.5px;
    padding:10px 8px;
    box-shadow:0 12px 24px rgba(7,55,99,.14);
  }

  .hero-buttons .btn-primary{
    background:linear-gradient(135deg,var(--orange),var(--orange2));
    color:#fff;
    border:0;
    box-shadow:0 15px 28px rgba(241,138,0,.28);
  }

  .hero-buttons .btn-secondary{
    background:linear-gradient(135deg,var(--navy),var(--blue));
    color:#fff;
    border:0;
    box-shadow:0 15px 28px rgba(7,55,99,.20);
  }

  .hero-visual > img,
  .hero-visual > .image-placeholder{
    height:188px;
  }
}


/* =========================================================
   v1.11 現地調査依頼フォーム
   ・既存投稿の前に、スマホで入力しやすいフォームを追加
   ========================================================= */
.inspection-form-section{
  background:linear-gradient(180deg,#eaf6ff 0%, #f7fbff 100%);
  padding-top:76px;
  padding-bottom:86px;
}
.inspection-form-wrap{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:42px;
  box-shadow:var(--shadow);
}
.inspection-form-head{
  text-align:center;
  margin-bottom:26px;
}
.inspection-form-head .sec-label{
  justify-content:center;
}
.inspection-form-head h2{
  margin-bottom:14px;
}
.form-success,
.form-error{
  border-radius:18px;
  padding:18px 20px;
  margin:0 0 22px;
  font-weight:700;
}
.form-success{
  background:#eefaf2;
  border:1px solid #bfe5ca;
  color:#155b2c;
}
.form-error{
  background:#fff4f1;
  border:1px solid #f3c4b8;
  color:#8a2b1b;
}
.form-success strong,
.form-error strong{
  display:block;
  margin-bottom:4px;
  font-size:18px;
}
.inspection-form{
  display:grid;
  gap:22px;
}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.inspection-form label,
.form-fieldset{
  display:block;
  margin:0;
}
.inspection-form label span,
.form-fieldset legend{
  display:block;
  margin-bottom:8px;
  color:var(--navy);
  font-weight:900;
}
.inspection-form em{
  display:inline-flex;
  align-items:center;
  margin-left:6px;
  padding:2px 7px;
  border-radius:999px;
  background:var(--orange);
  color:#fff;
  font-size:11px;
  font-style:normal;
  line-height:1.4;
}
.inspection-form input[type="text"],
.inspection-form input[type="tel"],
.inspection-form input[type="email"],
.inspection-form select,
.inspection-form textarea{
  width:100%;
  border:1px solid #cfe1ee;
  border-radius:14px;
  background:#f8fcff;
  padding:14px 15px;
  font:inherit;
  color:var(--text);
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.inspection-form input:focus,
.inspection-form select:focus,
.inspection-form textarea:focus{
  border-color:var(--blue);
  background:#fff;
  box-shadow:0 0 0 4px rgba(17,134,200,.12);
}
.form-fieldset{
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  background:#f8fcff;
}
.form-fieldset legend{
  padding:0 8px;
}
.checkbox-list{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.checkbox-list label{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:8px 10px;
  border:1px solid #d7e8f4;
  border-radius:12px;
  background:#fff;
  color:var(--text);
  font-weight:800;
}
.checkbox-list input{
  width:18px;
  height:18px;
  accent-color:var(--blue);
}
.form-message textarea{
  resize:vertical;
  min-height:150px;
}
.hp-field{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
}
.form-submit-area{
  text-align:center;
  background:linear-gradient(135deg,#f7fbff,#eaf6ff);
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
}
.form-submit-area p{
  margin-bottom:16px;
  color:var(--muted);
  font-weight:700;
}
.form-submit-button{
  border:0;
  cursor:pointer;
  min-width:280px;
  font-size:18px;
}
.form-phone-link{
  display:block;
  margin-top:14px;
  color:var(--navy);
  font-weight:900;
  text-decoration:underline;
  text-underline-offset:4px;
}
.posts-section{
  padding-top:78px;
}
@media (max-width: 760px){
  .inspection-form-section{
    padding:54px 0 64px;
  }
  .inspection-form-wrap{
    width:min(100% - 24px,var(--container));
    padding:24px 18px;
    border-radius:22px;
  }
  .inspection-form-head{
    text-align:left;
    margin-bottom:20px;
  }
  .inspection-form-head .sec-label{
    justify-content:flex-start;
  }
  .inspection-form-head h2{
    font-size:27px;
    line-height:1.3;
  }
  .form-grid{
    grid-template-columns:1fr;
    gap:15px;
  }
  .inspection-form{
    gap:18px;
  }
  .inspection-form input[type="text"],
  .inspection-form input[type="tel"],
  .inspection-form input[type="email"],
  .inspection-form select,
  .inspection-form textarea{
    font-size:16px;
    border-radius:13px;
    padding:13px 14px;
  }
  .checkbox-list{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .checkbox-list label{
    font-size:14px;
    min-height:40px;
  }
  .form-submit-area{
    padding:20px 14px;
    border-radius:18px;
  }
  .form-submit-button{
    width:100%;
    min-width:0;
    min-height:56px;
    font-size:17px;
  }
  .form-phone-link{
    font-size:14px;
  }
}


/* =========================================================
   v14: 対応できることをスマホで直感的に見せる吹き出しデザイン
   ========================================================= */
.service{
  background:
    radial-gradient(circle at 50% 18%, rgba(245,211,177,.55) 0 20%, transparent 21%),
    linear-gradient(180deg,#fff8ef 0%,#fff 78%);
}
.service .section-text.narrow{
  max-width:780px;
}
.service-bubble-board{
  position:relative;
  max-width:920px;
  margin:34px auto 0;
  padding:30px 24px 34px;
  border-radius:34px;
  background:
    radial-gradient(circle at 50% 30%, rgba(244,210,175,.82) 0 31%, transparent 32%),
    radial-gradient(circle at 25% 76%, rgba(244,210,175,.56) 0 18%, transparent 19%),
    #fff4e8;
  box-shadow:0 22px 55px rgba(7,55,99,.10);
  overflow:hidden;
}
.service-bubble-board:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.7) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 78%, rgba(255,255,255,.75) 0 2px, transparent 3px);
  opacity:.7;
  pointer-events:none;
}
.service-bubbles{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.service-bubbles-bottom{
  grid-template-columns:repeat(5,minmax(0,1fr));
  margin-top:18px;
}
.service-bubbles span{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:62px;
  padding:12px 10px;
  border-radius:18px;
  background:#2b2621;
  color:#fff;
  font-weight:900;
  text-align:center;
  line-height:1.45;
  box-shadow:5px 5px 0 rgba(43,38,33,.22);
}
.service-bubbles span:after{
  content:"";
  position:absolute;
  left:28px;
  bottom:-9px;
  width:0;
  height:0;
  border-style:solid;
  border-width:10px 9px 0 0;
  border-color:#2b2621 transparent transparent transparent;
}
.service-bubbles-bottom span:nth-child(even):after,
.service-bubbles-top span:nth-child(even):after{
  left:auto;
  right:26px;
  border-width:10px 0 0 9px;
  border-color:#2b2621 transparent transparent transparent;
}
.service-main-photo{
  position:relative;
  z-index:1;
  max-width:620px;
  margin:26px auto 0;
  border-radius:30px;
  overflow:hidden;
  border:8px solid rgba(255,255,255,.92);
  box-shadow:0 18px 42px rgba(7,55,99,.18);
  background:#fff;
}
.service-main-photo img{
  width:100%;
  height:340px;
  object-fit:cover;
  display:block;
}
.service-support-note{
  max-width:760px;
  margin:22px auto 0;
  padding:16px 18px;
  border-radius:18px;
  background:#fff;
  border:1px solid #f0d8bd;
  color:var(--navy);
  font-weight:800;
  text-align:center;
  box-shadow:0 10px 26px rgba(7,55,99,.07);
}

@media (max-width: 900px){
  .service-bubbles,
  .service-bubbles-bottom{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .service-main-photo img{
    height:280px;
  }
}

@media (max-width: 640px){
  .service{
    padding-top:54px;
    padding-bottom:58px;
    background:
      radial-gradient(circle at 58% 18%, rgba(245,211,177,.66) 0 18%, transparent 19%),
      radial-gradient(circle at 24% 72%, rgba(245,211,177,.52) 0 17%, transparent 18%),
      linear-gradient(180deg,#fff8ef 0%,#fff 100%);
  }
  .service h2{
    text-align:left;
    font-size:26px;
    line-height:1.38;
  }
  .service .sec-label{
    margin-left:0;
    transform:none;
  }
  .service .section-text.narrow{
    text-align:left;
    font-size:16px;
  }
  .service-bubble-board{
    width:calc(100% + 2px);
    margin:24px auto 0;
    padding:20px 12px 22px;
    border-radius:26px;
    background:
      radial-gradient(circle at 52% 33%, rgba(244,210,175,.86) 0 34%, transparent 35%),
      radial-gradient(circle at 24% 74%, rgba(244,210,175,.58) 0 20%, transparent 21%),
      #fff4e8;
  }
  .service-bubbles{
    grid-template-columns:1fr;
    gap:12px;
  }
  .service-bubbles-bottom{
    margin-top:14px;
  }
  .service-bubbles span{
    min-height:auto;
    justify-content:flex-start;
    padding:13px 16px;
    border-radius:16px;
    font-size:16px;
    box-shadow:4px 4px 0 rgba(43,38,33,.20);
  }
  .service-bubbles span:after{
    left:22px;
    bottom:-8px;
  }
  .service-bubbles span:nth-child(even):after{
    left:auto;
    right:24px;
  }
  .service-main-photo{
    margin:20px auto 4px;
    border-radius:22px;
    border-width:6px;
  }
  .service-main-photo img{
    height:220px;
  }
  .service-support-note{
    text-align:left;
    font-size:15px;
    margin-top:18px;
  }
}


/* =========================================================
   v1.12 対応できること：イラストをLP全体の色味に合わせて調整
   ========================================================= */
.service{
  background:
    radial-gradient(circle at 82% 12%, rgba(17,134,200,.12) 0 22%, transparent 23%),
    radial-gradient(circle at 18% 70%, rgba(241,138,0,.08) 0 18%, transparent 19%),
    linear-gradient(180deg,#f4fbff 0%,#ffffff 100%);
}
.service-bubble-board{
  background:
    radial-gradient(circle at 50% 34%, rgba(234,246,255,.95) 0 34%, transparent 35%),
    radial-gradient(circle at 22% 78%, rgba(255,239,219,.75) 0 20%, transparent 21%),
    #ffffff;
  border:1px solid #d8e8f3;
}
.service-bubbles span{
  background:var(--navy);
  box-shadow:5px 5px 0 rgba(7,55,99,.16);
}
.service-bubbles span:after{
  border-color:var(--navy) transparent transparent transparent;
}
.service-bubbles-bottom span:nth-child(even):after,
.service-bubbles-top span:nth-child(even):after{
  border-color:var(--navy) transparent transparent transparent;
}
.service-main-photo{
  max-width:420px;
  border:0;
  box-shadow:none;
  background:transparent;
  margin-top:14px;
}
.service-main-photo img{
  height:auto;
  max-height:360px;
  object-fit:contain;
  background:transparent;
  border-radius:0;
}
.service-support-note{
  border-color:#d8e8f3;
  background:#f8fcff;
}

@media (max-width: 640px){
  .service-bubble-board{
    background:
      radial-gradient(circle at 56% 38%, rgba(234,246,255,.98) 0 35%, transparent 36%),
      radial-gradient(circle at 18% 80%, rgba(255,239,219,.76) 0 20%, transparent 21%),
      #fff;
  }
  .service-main-photo{
    max-width:270px;
    margin:14px auto 4px;
  }
  .service-main-photo img{
    height:auto;
    max-height:270px;
  }
  .service-bubbles span{
    background:var(--navy);
    box-shadow:4px 4px 0 rgba(7,55,99,.14);
  }
}
