@charset "UTF-8";

/* ===================================================================
   リフォームサクセス トップページ スタイルシート
   =================================================================== */

:root{
  --c-orange: #f2691d;
  --c-orange-dark: #ef7e00;
  --c-orange-deep: #e2382a;
  --c-green: #00a75b;
  --c-blue: #3fa9f5;
  --c-peach: #fbf6f0;
  --c-ink: #231815;
  --c-yellow: #ffe14d;
  --c-border: #f0d9c6;
  --font-heading: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --max-width: 1200px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--c-ink);
  background:#fff;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4,p{ margin:0; }
.wrap{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 20px;
}
.font-heading{ font-family:var(--font-heading); }

/* ---------- ボタン共通 ---------- */
.btn-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.btn-cta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:10px;
  padding:10px 18px;
  font-weight:700;
  color:#fff;
  text-align:center;
  flex:1 1 auto;
  min-width:170px;
  transition:opacity .2s ease, transform .2s ease;
}
.btn-cta:hover{ opacity:.9; transform:translateY(-2px); }
.btn-cta.tel{ background:var(--c-orange); flex-direction:column; gap:2px; padding:10px 22px;}
.btn-cta.tel .tel-label{ font-size:.78rem; }
.btn-cta.tel .tel-number{ font-size:1.5rem; font-weight:800; letter-spacing:.02em; font-family:var(--font-heading); }
.btn-cta.tel .tel-number .icon{ margin-right:6px; }
.btn-cta.tel .tel-hours{ font-size:.72rem; opacity:.9; }
.btn-cta.line{ background:var(--c-green); flex-direction:column; gap:2px; }
.btn-cta.line .line-logo{ font-weight:800; font-size:1.05rem; }
.btn-cta.mail{ background:var(--c-blue); flex-direction:column; gap:4px; }

/* ---------- 画像ボタン(PDFのボタン画像をそのまま使用) ---------- */
.btn-row-img{ align-items:flex-start; }
.btn-row-img a{ display:block; line-height:0; flex:0 0 auto; }
.btn-row-img img{ height:60px; width:auto; display:block; }
.header-cta .btn-row-img img{ height:64px; }

.btn-outline-orange{
  display:inline-block;
  border:2px solid var(--c-orange);
  color:var(--c-orange);
  background:#fff;
  font-weight:700;
  border-radius:999px;
  padding:12px 32px;
}

/* ---------- ヘッダー ---------- */
.site-header{
  border-bottom:1px solid #eee;
  position:sticky;
  top:0;
  background:#fff;
  z-index:100;
}
.site-header .header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 24px;
  max-width:1560px;
  margin:0 auto;
}
.logo{
  display:flex;
  align-items:center;
  flex-shrink:0;
}
.logo .logo-full-img{ height:48px; width:auto; display:block; }

.main-nav{ flex:1; min-width:0; }
.main-nav ul{
  display:flex;
  flex-wrap:wrap;
  gap:6px 18px;
  font-size:.86rem;
  font-weight:700;
  white-space:nowrap;
}
.main-nav a{ padding:6px 2px; border-bottom:3px solid transparent; }
.main-nav a.active,
.main-nav a:hover{ border-color:var(--c-orange); }

.header-cta{ flex-shrink:0; }
.header-cta .btn-row{ gap:10px; }
.header-cta .btn-cta{ min-width:0; padding:6px 14px; font-size:.72rem; }
.header-cta .btn-cta.tel .tel-number{ font-size:1.05rem; }

.nav-toggle{
  display:none;
  background:none;
  border:none;
  font-size:1.8rem;
  line-height:1;
  cursor:pointer;
  color:var(--c-ink);
}

/* ---------- ヒーロー ---------- */
.hero{
  position:relative;
}
.hero-left{
  position:relative;
  z-index:1;
  padding:40px 32px 32px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
  background:#fff;
}
.hero-headline-img{
  width:100%;
  max-width:460px;
  height:auto;
  display:block;
}
.hero-subcopy-img{
  width:100%;
  max-width:400px;
  height:auto;
  display:block;
  margin-top:-4px;
}
@media (min-width:981px){
  .hero-headline-img{ max-width:620px; }
  .hero-subcopy-img{ max-width:520px; }
}
.hero .btn-row .btn-cta{ min-width:150px; }
.hero-cats{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:6px;
  flex-wrap:wrap;
}
.hero-cats .cat{
  text-align:center;
}
.hero-cats .cat img{ height:82px; width:auto; display:block; margin:0 auto; }
.hero-cats .divider{ width:1px; height:46px; background:#ddd; }

.hero-media{
  position:relative;
}
.hero-media img.hero-photo{
  width:100%; display:block;
}

@media (min-width:981px){
  .hero{
    max-width:1760px;
    margin:0 auto;
    display:flex;
    align-items:stretch;
  }
  .hero-media{
    flex:1 1 auto;
    min-width:0;
    aspect-ratio:1900/1713;
  }
  .hero-media img.hero-photo{
    width:100%; height:100%;
    object-fit:cover;
    object-position:center top;
  }
  .hero-left{
    width:44%;
    max-width:660px;
    min-width:420px;
    flex:0 0 auto;
    padding:24px 32px 18px;
    gap:10px;
    margin-left:clamp(0px, calc((100vw - 1200px)/2 - 12px), 180px);
  }
  .hero .btn-row-img img{ height:clamp(58px, 6px + 5vw, 87px); }
  .hero-cats{ gap:12px; margin-top:4px; }
  .hero-cats .cat img{ height:clamp(76px, 8px + 6.6vw, 114px); }
  .hero-cats .divider{ height:clamp(42px, 4.7px + 3.65vw, 63px); }
}
.hero-caption{
  position:absolute;
  bottom:14px; left:14px;
  background:rgba(0,0,0,.55);
  color:#fff;
  font-size:.8rem;
  font-weight:700;
  padding:4px 12px;
  border-radius:4px;
}

/* ---------- セクション共通 ---------- */
section{ padding:64px 0; }
.section-peach{ background:var(--c-peach); }
.section-heading{
  font-family:var(--font-heading);
  font-weight:900;
  font-size:clamp(1.5rem,2.6vw,2.15rem);
  text-align:center;
  margin-bottom:8px;
  position:relative;
  z-index:0;
  display:inline-block;
}
.section-heading .underline{
  display:block;
  width:100%;
  height:.4em;
  background:var(--c-orange);
  margin-top:-.35em;
  border-radius:4px;
  opacity:.55;
  z-index:-1;
  position:relative;
}
.heading-center{ text-align:center; margin-bottom:40px; }
.heading-center .heading-img{ width:64%; height:auto; margin:0 auto; }
.heading-center .heading-img-promise{ width:43.5%; }
.heading-center .heading-img-repair{ width:64%; }
.heading-flanked{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
}
.heading-flanked .heading-img-price{ width:auto; max-width:69%; height:auto; margin:0; flex-shrink:1; }
.heading-flanked .flank-bubble{ width:clamp(110px, 12vw, 170px); height:auto; flex-shrink:0; }
.heading-flanked .bubble-left{ align-self:flex-end; }
.heading-flanked .bubble-right{ align-self:flex-start; }
@media (max-width:760px){
  .heading-flanked{ flex-wrap:wrap; gap:10px; }
  .heading-flanked .heading-img-price{ max-width:100%; order:1; flex-basis:100%; }
  .heading-flanked .bubble-left{ order:2; }
  .heading-flanked .bubble-right{ order:3; }
  .heading-flanked .flank-bubble{ width:clamp(100px,32vw,150px); }
}
.heading-center .lead-sub{ margin-top:10px; font-weight:700; font-size:1.05rem; }
.badge-pill{
  display:inline-block;
  background:var(--c-orange);
  color:#fff;
  font-weight:800;
  font-family:var(--font-heading);
  border-radius:999px;
  padding:10px 26px;
  margin-bottom:14px;
  font-size:.95rem;
}
.speech-pill{
  display:inline-block;
  background:#fff;
  color:var(--c-ink);
  border-radius:16px;
  padding:14px 22px;
  font-weight:800;
  font-family:var(--font-heading);
  box-shadow:0 3px 10px rgba(0,0,0,.1);
}
.speech-pill .accent{ color:var(--c-orange); }
.mascot-row .mascot-speech-img{ flex:0 0 clamp(260px, 36vw, 460px); width:clamp(260px, 36vw, 460px); max-width:460px; height:auto; }

/* ---------- お困りごとグリッド ---------- */
.pain-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}
@media (min-width:981px){
  .pain-grid{
    grid-template-columns:repeat(9, 1fr);
    gap:14px;
  }
}
.pain-card{
  background:#fff;
  border:1px solid var(--c-border);
  border-radius:10px;
  padding:16px 8px;
  text-align:center;
}
.pain-card img{ width:64px; height:64px; max-width:100%; margin:0 auto 10px; }
.pain-card p{ font-weight:700; font-size:.86rem; }

/* ---------- マスコット吹き出し ---------- */
.mascot-row{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
  margin-top:40px;
  margin-bottom:32px;
}
.mascot-row .town-text-img{ flex:1 1 0; min-width:280px; max-width:100%; width:auto; height:auto; }

/* ---------- 塗装が得意 セクション ---------- */
.feature-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
  margin-bottom:48px;
}
.feature-split img{ border-radius:14px; }
.feature-text .section-heading{ text-align:left; display:block; }
.feature-text .heading-img-inline{ max-width:100%; height:auto; }
.feature-text p{ margin-top:16px; }
.feature-text .gallery-strip-img{ width:100%; height:auto; display:block; margin-top:16px; }
.feature-text .gallery-caption{ text-align:left; font-weight:700; margin-top:16px; margin-bottom:0; }

/* ---------- 4つの約束 ---------- */
.promise-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:20px;
}
.promise-card{
  background:#fff;
  border-radius:12px;
  padding:28px 20px;
  text-align:center;
}
.promise-card .icon{
  width:56px;height:56px;
  border:3px solid var(--c-orange);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;
  color:var(--c-orange);
  font-size:1.6rem;
  font-weight:800;
}
.promise-card .icon-img{
  width:64px;height:64px;
  display:block;
  margin:0 auto 14px;
}
.promise-card h3{
  font-family:var(--font-heading);
  color:var(--c-orange);
  font-size:1.15rem;
  font-weight:800;
  margin-bottom:10px;
}
.promise-card p{ font-size:.88rem; color:#555; }

/* ---------- 小さな修理 価格グリッド ---------- */
.small-repair{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:40px;
  align-items:start;
}
.repair-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(130px,1fr));
  gap:10px;
}
.repair-card{
  border:1px solid var(--c-border);
  border-radius:10px;
  text-align:center;
  padding:14px 6px;
  background:#fff;
}
.repair-card img,.repair-card .icon-fallback{ width:56px; height:56px; margin:0 auto 8px; object-fit:contain; }
.icon-fallback{
  display:flex; align-items:center; justify-content:center;
  color:var(--c-orange);
}
.icon-fallback svg{ width:40px; height:40px; }
.repair-card .price{ color:var(--c-orange-deep); font-weight:800; font-size:1.05rem; }
.repair-card .name{ font-size:.78rem; font-weight:700; }
.repair-card.other{ display:flex; align-items:center; justify-content:center; font-weight:700; color:var(--c-orange); }
.repair-photo{ position:relative; border-radius:14px; overflow:hidden; }
.repair-photo img{ width:100%; display:block; }

/* ---------- 価格パッケージ ---------- */
.price-packages{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.price-card{
  border:3px solid var(--c-orange);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}
.price-card .price-head{
  background:var(--c-orange);
  color:#fff;
  padding:16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.price-card .price-head h3{
  font-family:var(--font-heading);
  font-size:1.5rem;
  font-weight:900;
}
.price-card .price-head .tag{
  background:var(--c-yellow);
  color:var(--c-ink);
  font-weight:800;
  border-radius:8px;
  padding:6px 12px;
  font-size:.8rem;
  white-space:nowrap;
}
.price-card .price-sub{ padding:10px 20px 0; font-size:.82rem; font-weight:700; }
.price-card .price-note{ padding:0 20px; font-size:.72rem; color:#847a76; margin-top:4px;}
.price-body{ display:flex; gap:16px; padding:16px 20px 22px; }
.price-body .photos{ flex-shrink:0; width:240px; display:flex; flex-direction:column; gap:10px; }
.price-body .photos .photo-wrap{ position:relative; }
.price-body .photos img{ width:100%; border-radius:8px; aspect-ratio:4/3; object-fit:cover; }
.price-body .photos .label{
  position:absolute; bottom:6px; left:6px;
  background:rgba(0,0,0,.6); color:#fff; font-size:.85rem; padding:3px 10px; border-radius:4px;
}
.price-list{ flex:1; }
.price-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
  padding:10px 0;
  border-bottom:1px dashed var(--c-border);
}
.price-row:last-child{ border-bottom:none; }
.price-row .plan{ font-weight:700; font-size:.9rem; }
.price-row .plan small{ display:block; font-weight:400; font-size:.72rem; color:#847a76; }
.price-row .amount{ color:var(--c-orange-deep); font-weight:800; font-size:1.25rem; white-space:nowrap; }
.price-row .amount .tax{ font-size:.65rem; font-weight:700; }

/* ---------- 追加サービス4カード ---------- */
.service-grid-wrap{ margin-top:48px; }
.service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(230px,1fr));
  gap:18px;
}
.service-card{
  border:1px solid var(--c-border);
  border-radius:12px;
  padding:18px;
  background:#fff;
}
.service-card h3{
  font-family:var(--font-heading);
  font-weight:800;
  font-size:1.05rem;
  margin-bottom:10px;
}
.service-card img{ float:right; width:90px; margin:0 0 10px 10px; border-radius:8px; }
.service-card p{ font-size:.84rem; }
.merit-badge{
  display:inline-block;
  background:var(--c-orange);
  color:#fff;
  font-weight:700;
  font-size:.75rem;
  border-radius:999px;
  padding:3px 12px;
  margin:10px 0 6px;
  clear:both;
}
.service-card .merit-text{ font-size:.82rem; color:#555; }

/* ---------- CTAバナー ---------- */
.cta-banner{
  position:relative;
  padding:0;
  background:var(--c-peach);
  overflow:hidden;
}
.cta-banner-photo{ width:100%; height:auto; display:block; }
.cta-banner-btns{
  position:absolute;
  right:11%;
  bottom:8%;
  display:flex;
  gap:1.4%;
  z-index:1;
}
.cta-banner-btns img{
  height:clamp(40px, 6.2vw, 108px);
  width:auto;
  display:block;
}
@media (max-width:480px){
  .cta-banner-btns{ right:6%; bottom:5%; gap:1.6vw; }
  .cta-banner-btns img{ height:clamp(30px, 12vw, 46px); }
}

/* ---------- フッター ---------- */
.site-footer{ background:#fff; padding-top:56px; }
.footer-grid{
  display:grid;
  grid-template-columns:1.1fr .8fr 1.3fr;
  gap:40px;
  padding-bottom:40px;
}
.footer-brand .logo{ margin-bottom:14px; }
.footer-brand address{ font-style:normal; font-size:.88rem; margin-bottom:6px; }
.footer-brand .sns{ display:flex; align-items:flex-start; gap:18px; margin-top:18px; }
.footer-brand .mascot-small{ width:200px; height:auto; flex-shrink:0; }
.footer-brand .sns-side{ padding-top:22px; }
.footer-brand .footer-speech-img{ height:56px; width:auto; margin-bottom:16px; }
.footer-brand .sns-icons{ display:flex; flex-wrap:wrap; gap:10px 16px; align-items:center; }
.footer-brand .sns-icons a{ display:flex; align-items:center; gap:6px; font-weight:700; font-size:.85rem; flex-shrink:0; white-space:nowrap; }
.footer-brand .sns-icons img{ width:28px; height:28px; flex-shrink:0; }
.footer-nav ul{ display:flex; flex-direction:column; gap:10px; font-size:.9rem; font-weight:700; }
.footer-nav a::before{ content:"> "; color:var(--c-orange); }
.footer-assurance{
  background:var(--c-peach);
  border-radius:14px;
  padding:20px 24px;
}
.footer-assurance h3{
  font-family:var(--font-heading);
  font-weight:800;
  font-size:clamp(1.1rem, .7rem + 1.6vw, 1.5rem);
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px;
  margin-bottom:8px;
  text-align:center;
  white-space:nowrap;
}
.footer-assurance h3 .assurance-heading-icon{ width:38px; height:38px; flex-shrink:0; }
.footer-assurance h3 .heading-text{ white-space:nowrap; }
.footer-assurance h3 .accent{ color:var(--c-orange); }
.footer-assurance .sub{ font-size:.82rem; color:#847a76; margin-bottom:14px; text-align:center; }
.assurance-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:16px;
}
.assurance-item{
  background:#fff;
  border-radius:8px;
  padding:10px 12px;
  font-size:.78rem;
  display:flex;
  align-items:flex-start;
  gap:8px;
}
.assurance-item .assurance-icon{ width:26px; height:26px; flex-shrink:0; margin-top:1px; }
.assurance-item .t{ font-weight:800; margin-bottom:2px; }
.assurance-item .t.ok .accent{ color:var(--c-orange); }
.footer-assurance .tagline-row{
  border-top:2px solid var(--c-orange);
  padding-top:14px;
  text-align:center;
}
.footer-assurance .tagline-img{ width:88%; max-width:460px; height:auto; margin:0 auto 10px; }
.footer-assurance .tagline-sub{ font-size:.8rem; }
.footer-bottom{
  background:var(--c-orange-dark);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px;
  font-size:.8rem;
  font-weight:700;
}
.footer-bottom .to-top{ display:flex; align-items:center; gap:6px; }

/* ---------- レスポンシブ ---------- */

@media (min-width:981px) and (max-width:1180px){
  .footer-brand .mascot-small{ width:150px; }
  .footer-brand .sns-side{ padding-top:12px; }
  .footer-brand .footer-speech-img{ height:42px; margin-bottom:10px; }
}

@media (max-width: 980px){
  .main-nav{
    display:none;
    position:absolute;
    top:100%; left:0; right:0;
    background:#fff;
    border-top:1px solid #eee;
    box-shadow:0 8px 16px rgba(0,0,0,.08);
    padding:16px 20px;
  }
  .main-nav.is-open{ display:block; }
  .main-nav ul{ flex-direction:column; gap:14px; font-size:1rem; }
  .site-header .header-inner{ position:relative; flex-wrap:wrap; }
  .nav-toggle{ display:block; }
  .header-cta .btn-row{ display:none; }
  .header-cta .btn-row.is-open{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:100%; left:0; right:0;
    background:#fff;
    padding:0 20px 16px;
    z-index:10;
  }
  .feature-split{ grid-template-columns:1fr; }
  .small-repair{ grid-template-columns:1fr; }
  .price-packages{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
}

@media (max-width: 600px){
  .hero-left{ padding:28px 20px; }
  section{ padding:44px 0; }
  .assurance-grid{ grid-template-columns:1fr; }
  .price-body{ flex-direction:column; }
  .price-body .photos{ flex-direction:row; width:100%; }
  .price-body .photos .photo-wrap{ flex:1; }
  .footer-bottom{ flex-direction:column; gap:6px; text-align:center; }
}
