@charset "UTF-8";
/* =========================================================
   家まもり カスタムCSS（THE THOR CHILD / style-user.css）
   配色：オレンジ × イエロー × ベージュ
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Poppins:wght@600;700&display=swap');

:root{
  --im-orange:#F07A22;
  --im-orange-dark:#DC6514;
  --im-yellow:#FFD84D;
  --im-beige:#F6F2EC;
  --im-beige-dark:#EFE6D8;
  --im-text:#333333;
  --im-sub:#666666;
}

body{
  font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN',Meiryo,sans-serif;
  color:var(--im-text);
}

/* ---------- ヘッダー ---------- */
.l-header{
  background:#fff;
  border-bottom:1px solid #eee;
  box-shadow:none;
}
.siteTitle__link,
.siteTitle__link:hover{
  color:var(--im-text);
  font-weight:900;
  letter-spacing:.04em;
}
.siteTitle__link::before{
  content:"外壁塗装・屋根塗装の情報サイト";
  display:block;
  font-size:10px;
  font-weight:700;
  color:var(--im-orange);
  letter-spacing:.08em;
  line-height:1.4;
}
.globalNavi__list > li > a{
  font-weight:700;
  color:var(--im-text);
}
.globalNavi__list > li > a:hover{ color:var(--im-orange); }
.subNavi__link-pickup,
.subNavi__link-pickup:hover{
  background:var(--im-orange) !important;
  color:#fff !important;
  border:none !important;
  border-radius:0;
  font-weight:700;
  padding:0 22px;
}
.subNavi__link-pickup:hover{ background:var(--im-orange-dark) !important; }

/* ---------- トップページ全体 ---------- */
body:has(.im-top) .l-sidebar{ display:none; }
body:has(.im-top) .l-main{ width:100%; margin-right:0; }
body:has(.im-top) .l-wrapper{ padding-top:0; margin-top:0; }
body:has(.im-top) .dividerBottom{ margin-bottom:0; }
body:has(.im-top) .page{ background:transparent; padding:0; box-shadow:none; border:none; }
body:has(.im-top) .content{ padding:0; margin:0; }
body:has(.im-top) .content > *{ margin-top:0; }

.im-full{
  width:100vw;
  position:relative;
  left:50%;
  margin-left:-50vw;
}
.im-inner{
  max-width:1080px;
  margin:0 auto;
  padding:0 20px;
  box-sizing:border-box;
}

/* THE THORの見出し装飾をリセット */
.content .im-top h1,
.content .im-top h2,
.content .im-top h3,
.content .im-top p{
  background:none;
  border:none;
  padding:0;
  margin:0;
  box-shadow:none;
  color:inherit;
}
.content .im-top h2::before,.content .im-top h2::after,
.content .im-top h3::before,.content .im-top h3::after{
  content:none;
  display:none;
}
.content .im-top a{ text-decoration:none; }
.content .im-top ul{ list-style:none; padding:0; margin:0; }
.content .im-top ul li::before{ content:none; }

/* ---------- ボタン ---------- */
.im-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:260px;
  padding:20px 32px;
  border-radius:10px;
  font-size:17px;
  font-weight:900;
  letter-spacing:.04em;
  transition:transform .2s, box-shadow .2s, background .2s;
  box-shadow:0 4px 0 rgba(0,0,0,.08);
}
.im-btn:hover{ transform:translateY(-2px); box-shadow:0 8px 16px rgba(0,0,0,.12); }
.content .im-top .im-btn-yellow{ background:var(--im-yellow); color:var(--im-text); }
.content .im-top .im-btn-orange{ background:var(--im-orange); color:#fff; }
.content .im-top .im-btn-orange:hover{ background:var(--im-orange-dark); }
.im-btn-pill{ border-radius:999px; }
.im-btn::after{
  content:"";
  width:8px;height:8px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  transform:rotate(45deg);
  margin-left:6px;
}
.im-badge{
  display:inline-block;
  background:#fff;
  color:var(--im-orange);
  font-size:13px;
  font-weight:900;
  padding:3px 12px;
  border-radius:999px;
}

/* ---------- セクション見出し ---------- */
.im-sechead{ text-align:center; margin-bottom:56px; }
.im-sechead__en{
  display:block;
  font-family:'Poppins',sans-serif;
  font-size:15px;
  font-weight:700;
  color:var(--im-orange);
  letter-spacing:.06em;
}
.im-sechead__en::after{
  content:"•••";
  display:block;
  font-size:14px;
  letter-spacing:.3em;
  margin:6px 0 14px .3em;
}
.content .im-top .im-sechead h2{
  font-size:40px;
  font-weight:900;
  line-height:1.4;
  letter-spacing:.06em;
}
.content .im-top .im-sechead p{
  margin-top:20px;
  font-size:16px;
  line-height:2;
  color:var(--im-sub);
}

/* ---------- ヒーロー ---------- */
.im-hero{
  background:var(--im-beige);
  padding:90px 0 100px;
  overflow:hidden;
}
.im-hero .im-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}
.im-hero__lead{
  display:inline-block;
  font-size:14px;
  font-weight:700;
  color:var(--im-orange);
  border:2px solid var(--im-orange);
  border-radius:999px;
  padding:4px 16px;
  margin-bottom:22px !important;
}
.content .im-top .im-hero h1{
  font-size:56px;
  font-weight:900;
  line-height:1.35;
  letter-spacing:.04em;
}
.im-hero h1 em{ font-style:normal; color:var(--im-orange); }
.content .im-top .im-hero__text{
  margin-top:28px;
  font-size:16px;
  font-weight:700;
  line-height:1.9;
}
.im-hero__btns{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  margin-top:36px;
}
.im-hero__card{
  flex:0 0 380px;
  background:#fff;
  border-radius:20px;
  padding:34px 32px;
  box-shadow:0 10px 30px rgba(160,110,50,.12);
}
.content .im-top .im-hero__card h3{
  font-size:18px;
  font-weight:900;
  text-align:center;
  margin-bottom:20px;
}
.im-hero__card h3 span{ color:var(--im-orange); }
.im-check li{
  position:relative;
  padding:12px 0 12px 34px !important;
  border-bottom:1px dashed #e3d9ca;
  font-weight:700;
  font-size:15px;
}
.im-check li:last-child{ border-bottom:none; }
.content .im-top .im-check li::before{
  content:"";
  display:block;
  position:absolute;
  left:0; top:50%;
  width:22px; height:22px;
  margin-top:-11px;
  border-radius:50%;
  background:var(--im-orange);
}
.im-check li::after{
  content:"";
  position:absolute;
  left:7px; top:50%;
  width:8px; height:4px;
  margin-top:-4px;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(-45deg);
}

/* ---------- 家まもりとは ---------- */
.im-about{
  background:linear-gradient(135deg,#F5A623 0%,#F07A22 100%);
  color:#fff;
  padding:100px 0;
  text-align:center;
}
.im-about .im-sechead__en{ color:#fff; }
.content .im-top .im-about .im-sechead p{ color:#fff; }
.im-about__flow{
  display:flex;
  justify-content:center;
  align-items:stretch;
  gap:18px;
  margin-top:10px;
}
.im-about__box{
  background:#fff;
  color:var(--im-text);
  border-radius:16px;
  padding:26px 22px;
  width:300px;
  text-align:left;
}
.im-about__box strong{
  display:block;
  font-size:17px;
  font-weight:900;
  color:var(--im-orange);
  margin-bottom:8px;
}
.im-about__box span{ font-size:14px; line-height:1.8; }

/* ---------- 特徴 ---------- */
.im-feature{
  background:var(--im-beige);
  padding:100px 0;
  position:relative;
  overflow:hidden;
}
.im-feature::before,
.im-feature::after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:var(--im-beige-dark);
  z-index:0;
}
.im-feature::before{ width:420px;height:420px; left:-180px; top:-120px; }
.im-feature::after{ width:360px;height:360px; right:-140px; bottom:-120px; }
.im-feature .im-inner{ position:relative; z-index:1; }
.im-feature__list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
}
.im-feature__item{
  padding:10px 26px 20px;
  text-align:center;
  border-right:1px solid #e3d9ca;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.im-feature__item:last-child{ border-right:none; }
.im-feature__num{
  width:76px;height:76px;
  border-radius:50%;
  background:#fff;
  border:2px solid #E5C98F;
  color:#B8913F;
  font-family:'Poppins',sans-serif;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  line-height:1;
  margin-bottom:22px;
}
.im-feature__num small{ font-size:10px; }
.im-feature__num b{ font-size:26px; }
.content .im-top .im-feature__item h3{
  font-size:22px;
  font-weight:900;
  line-height:1.6;
  margin-bottom:18px;
}
.content .im-top .im-feature__item p{
  font-size:15px;
  line-height:1.9;
  color:#555;
  margin-bottom:24px;
  flex-grow:1;
}
.im-feature__item .im-btn{ min-width:220px; padding:16px 24px; font-size:15px; }

/* ---------- 流れ ---------- */
.im-step{ background:#fff; padding:100px 0; }
.im-step__list{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}
.im-step__item{
  background:var(--im-beige);
  border-radius:16px;
  padding:26px 16px;
  text-align:center;
  position:relative;
}
.im-step__item b{
  display:block;
  font-family:'Poppins',sans-serif;
  font-size:13px;
  color:var(--im-orange);
  letter-spacing:.06em;
}
.im-step__item strong{
  display:block;
  font-size:17px;
  font-weight:900;
  margin:6px 0 10px;
}
.im-step__item span{ font-size:13px; line-height:1.7; color:#555; }

/* ---------- CTA ---------- */
.im-cta{ background:var(--im-beige); padding:90px 0; }
.im-cta__box{
  background:#fff;
  border:3px solid var(--im-orange);
  border-radius:24px;
  padding:56px 40px;
  text-align:center;
}
.content .im-top .im-cta__box h2{
  font-size:32px;
  font-weight:900;
  line-height:1.5;
}
.im-cta__box h2 em{ font-style:normal; color:var(--im-orange); }
.content .im-top .im-cta__box p{
  margin:16px 0 32px;
  font-size:15px;
  color:var(--im-sub);
  line-height:1.9;
}
.im-cta__box .im-btn{ min-width:440px; font-size:20px; padding:22px 40px; }
.im-cta__box .im-badge{ background:#fff; margin-right:6px; }

/* ---------- 新着記事 ---------- */
.im-news{ background:#fff; padding:100px 0; }
.im-news .wp-block-latest-posts{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  padding:0;
}
.im-news .wp-block-latest-posts li{
  background:var(--im-beige);
  border-radius:14px;
  padding:22px;
  list-style:none;
}
.im-news .wp-block-latest-posts li::before{ content:none; }
.im-news .wp-block-latest-posts a{ font-weight:700; color:var(--im-text); }
.im-news .wp-block-latest-posts__post-date{ color:var(--im-orange); font-size:12px; }
.im-news__empty{ text-align:center; color:var(--im-sub); }

/* ---------- フッター ---------- */
.l-footer{ background:#3B3029; }

/* ---------- スマホ ---------- */
@media (max-width:767px){
  .im-hero{ padding:56px 0 64px; }
  .im-hero .im-inner{ flex-direction:column; }
  .content .im-top .im-hero h1{ font-size:34px; }
  .im-hero__btns{ align-items:stretch; width:100%; }
  .im-hero__card{ flex:auto; width:100%; box-sizing:border-box; }
  .im-btn{ min-width:0; width:100%; box-sizing:border-box; font-size:16px; }
  .content .im-top .im-sechead h2{ font-size:28px; }
  .im-sechead{ margin-bottom:36px; }
  .im-about, .im-feature, .im-step, .im-news{ padding:64px 0; }
  .im-about__flow{ flex-direction:column; align-items:center; }
  .im-about__box{ width:100%; }
  .im-feature__list{ grid-template-columns:1fr; }
  .im-feature__item{ border-right:none; border-bottom:1px solid #e3d9ca; padding:30px 10px; }
  .im-feature__item:last-child{ border-bottom:none; }
  .im-step__list{ grid-template-columns:1fr 1fr; }
  .im-cta__box{ padding:36px 20px; }
  .content .im-top .im-cta__box h2{ font-size:24px; }
  .im-cta__box .im-btn{ min-width:0; font-size:17px; }
  .im-news .wp-block-latest-posts{ grid-template-columns:1fr; }
}


/* ---------- 調整 ---------- */
.content .im-top *{ margin-top:0; }
.content .im-top .im-hero__btns{ margin-top:36px; }
.content .im-top .im-hero__text{ margin-top:28px; }
.content .im-top .im-sechead p{ margin-top:20px; }
.content .im-top .im-hero__lead{
  border:2px solid var(--im-orange);
  border-radius:999px;
  padding:4px 16px;
  color:var(--im-orange);
  margin-bottom:22px;
}
.content .im-top .im-hero h1{ font-size:clamp(34px,4.2vw,52px); }
.im-hero__body{ flex:1 1 auto; min-width:0; }
.subNavi__link-pickup{
  display:inline-block !important;
  height:auto !important;
  line-height:1.4 !important;
  padding:12px 22px !important;
  border-radius:6px !important;
  font-size:14px !important;
}
.im-news:not(:has(li)) .im-inner::after{
  content:"記事は準備中です。公開までしばらくお待ちください。";
  display:block;
  text-align:center;
  color:var(--im-sub);
  font-size:15px;
}
