/* =========================================================
   みらいリフォーム — base.css
   配色：白 / ネイビー / 淡ベージュ / 木目  ・ 信頼感ベース
   ========================================================= */

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}
ul{list-style:none}

:root{
  /* ---- color tokens ---- */
  --white:#ffffff;
  --paper:#FBF8F3;        /* 淡ベージュの紙地 */
  --paper-2:#F4EDE1;      /* ひとつ濃いベージュ */
  --sand:#EBE0CE;         /* 木目に近いサンド */
  --navy:#1C3A5B;         /* メインネイビー */
  --navy-deep:#142C45;    /* 濃ネイビー（フッター等） */
  --navy-soft:#EAF0F6;    /* ネイビーの淡い面 */
  --wood:#B07A4A;         /* 木目アクセント */
  --wood-soft:#F3E7D8;

  --accent:#E1701E;       /* CTAオレンジ（温かみ・行動喚起） */
  --accent-deep:#C75F12;
  --accent-soft:#FCEEE0;
  --line-green:#06C755;   /* LINE */
  --line-green-d:#05a948;

  --ink:#222A33;          /* 本文の濃 */
  --ink-2:#515B66;        /* 本文の中 */
  --ink-3:#889099;        /* 補助テキスト */
  --line:#E7DECE;         /* 罫線（ベージュ寄り） */
  --line-2:#EFE9DD;

  /* ---- radii / shadow ---- */
  --r-xs:8px; --r-sm:12px; --r:16px; --r-lg:22px; --pill:999px;
  --sh-1:0 1px 2px rgba(28,58,91,.05), 0 1px 3px rgba(28,58,91,.06);
  --sh-2:0 4px 12px rgba(28,58,91,.07), 0 14px 34px rgba(28,58,91,.10);
  --sh-3:0 8px 22px rgba(28,58,91,.10), 0 26px 60px rgba(28,58,91,.14);

  /* ---- type ---- */
  --fnt:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;
  --fnt-min:"Shippori Mincho",serif;
  --fnt-num:"Barlow",sans-serif;
  --ease:cubic-bezier(.22,.7,.24,1);

  --head-h:84px;
}

body{
  font-family:var(--fnt);
  color:var(--ink);
  background:var(--paper);
  line-height:1.85;
  font-size:16px;
  letter-spacing:.012em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
  padding-top:var(--head-h);
}
::selection{background:var(--navy);color:#fff}

.wrap{max-width:1140px;margin-inline:auto;padding-inline:2rem}
.section{padding-block:5.5rem}
.section.alt{background:var(--paper-2)}

/* ---------- section head ---------- */
.sec-head{margin-bottom:2.8rem;max-width:760px}
.sec-head.center{margin-inline:auto;text-align:center}
.jp-tag{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--fnt-min);font-size:.92rem;font-weight:700;letter-spacing:.06em;
  color:var(--wood);margin-bottom:.85rem;
}
.jp-tag::before{content:"";width:24px;height:2px;background:var(--wood);border-radius:2px}
.jp-tag.light{color:#E7C9A8}
.jp-tag.light::before{background:#E7C9A8}
.sec-head.center .jp-tag{justify-content:center}
.sec-head h2{
  font-size:clamp(1.55rem,3.4vw,2.15rem);font-weight:900;line-height:1.42;
  letter-spacing:-.01em;color:var(--navy);text-wrap:balance;
}
.sec-head .lead{
  margin-top:1.1rem;color:var(--ink-2);font-size:1rem;line-height:2;font-weight:500;max-width:62ch;
}
.sec-head.center .lead{margin-inline:auto}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  font-weight:700;font-size:1rem;border-radius:var(--pill);padding:1rem 1.7rem;line-height:1.2;
  transition:transform .2s var(--ease),box-shadow .25s,background .2s,color .2s;
  text-align:center;
}
.btn svg{width:20px;height:20px;flex:none}
.btn-quote{background:var(--accent);color:#fff;box-shadow:0 10px 22px -8px rgba(225,112,30,.6)}
.btn-quote:hover{background:var(--accent-deep);transform:translateY(-2px);box-shadow:0 16px 30px -10px rgba(225,112,30,.65)}
.btn-line{background:var(--line-green);color:#fff;box-shadow:0 10px 22px -8px rgba(6,199,85,.5)}
.btn-line:hover{background:var(--line-green-d);transform:translateY(-2px)}
.btn-area{background:#fff;color:var(--navy);border:1.5px solid var(--line)}
.btn-area:hover{border-color:var(--navy);transform:translateY(-2px)}
.btn-block{width:100%}
/* stacked (icon + 2-line text) */
.btn-stack{padding:.95rem 1.5rem;justify-content:flex-start;gap:.85rem;border-radius:14px}
.btn-stack .ico{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.22);flex:none}
.btn-stack .ico svg{width:22px;height:22px}
.btn-area.btn-stack .ico{background:var(--navy-soft);color:var(--navy)}
.btn-stack .txt{display:flex;flex-direction:column;align-items:flex-start;line-height:1.3}
.btn-stack .txt .sub{font-size:.74rem;font-weight:500;opacity:.85}

/* ---------- header ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:200;height:var(--head-h);
  background:rgba(251,248,243,.92);backdrop-filter:saturate(1.3) blur(12px);
  -webkit-backdrop-filter:saturate(1.3) blur(12px);
  border-bottom:1px solid var(--line);
}
.header-inner{height:100%;max-width:1240px;margin-inline:auto;padding-inline:1.6rem;
  display:flex;align-items:center;gap:1.4rem}
.brand{display:flex;align-items:center;gap:.7rem}
.brand .logo{width:44px;height:44px;border-radius:12px;background:var(--navy);color:#fff;
  display:grid;place-items:center;flex:none}
.brand .logo svg{width:24px;height:24px}
.brand .name{display:flex;flex-direction:column;line-height:1.2}
.brand .name .small{font-size:.68rem;color:var(--wood);font-weight:700;letter-spacing:.02em}
.brand .name .big{font-size:1.2rem;font-weight:900;color:var(--navy);letter-spacing:.01em}
.nav-main{display:flex;align-items:center;gap:1.5rem;margin-left:.6rem}
.nav-main a{font-size:.92rem;font-weight:700;color:var(--ink-2);position:relative;padding-block:.3rem;transition:color .15s}
.nav-main a:hover{color:var(--navy)}
.nav-main a::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--wood);
  transform:scaleX(0);transition:transform .25s var(--ease)}
.nav-main a:hover::after{transform:scaleX(1)}
.header-cta{display:flex;align-items:center;gap:1.1rem;margin-left:auto}
.tel-block{text-align:right;line-height:1.3}
.tel-block .label{font-size:.66rem;color:var(--ink-3);font-weight:600}
.tel-block .num{display:inline-flex;align-items:center;gap:.35rem;font-family:var(--fnt-num);
  font-size:1.32rem;font-weight:700;color:var(--navy);letter-spacing:.01em}
.tel-block .num svg{width:18px;height:18px;color:var(--wood)}
.tel-block .hours{font-size:.64rem;color:var(--ink-3)}
.header-quote{display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:var(--accent);color:#fff;padding:.55rem 1.25rem;border-radius:12px;line-height:1.25;
  box-shadow:0 8px 18px -7px rgba(225,112,30,.6);transition:background .2s,transform .2s}
.header-quote:hover{background:var(--accent-deep);transform:translateY(-1px)}
.header-quote .t{display:inline-flex;align-items:center;gap:.35rem;font-weight:800;font-size:.95rem}
.header-quote .t svg{width:17px;height:17px}
.header-quote .s{font-size:.66rem;opacity:.9;font-weight:500;white-space:nowrap}
.hamburger{display:none;flex-direction:column;gap:5px;width:46px;height:46px;border-radius:11px;
  border:1px solid var(--line);align-items:center;justify-content:center;background:#fff}
.hamburger span{width:22px;height:2px;background:var(--navy);border-radius:2px;transition:.25s}

/* ---------- mobile drawer ---------- */
.drawer-backdrop{position:fixed;inset:0;background:rgba(20,44,69,.45);z-index:300;opacity:0;
  pointer-events:none;transition:opacity .3s}
.drawer-backdrop.open{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(86vw,340px);background:var(--paper);z-index:310;
  transform:translateX(100%);transition:transform .32s var(--ease);display:flex;flex-direction:column;
  padding:1.2rem;box-shadow:-10px 0 40px rgba(20,44,69,.18);overflow-y:auto}
.drawer.open{transform:none}
.drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}
.drawer-head .brand .logo{width:38px;height:38px}
.drawer-head .brand .name .big{font-size:1.05rem}
.drawer-close{font-size:1.9rem;color:var(--ink-2);width:42px;height:42px;line-height:1}
.drawer nav{display:flex;flex-direction:column;border-top:1px solid var(--line);margin-top:.4rem}
.drawer nav a{padding:1rem .4rem;border-bottom:1px solid var(--line);font-weight:700;color:var(--navy);
  display:flex;align-items:center;justify-content:space-between}
.drawer nav a::after{content:"›";color:var(--ink-3);font-size:1.2rem}
.drawer-tel{margin-top:1.2rem;padding:1rem;background:#fff;border:1px solid var(--line);border-radius:var(--r-sm);text-align:center}
.drawer-tel .dt-label{font-size:.72rem;color:var(--ink-3)}
.drawer-tel .num{font-family:var(--fnt-num);font-size:1.7rem;font-weight:700;color:var(--navy)}
.drawer-tel .hours{font-size:.72rem;color:var(--ink-3)}
.drawer-actions{margin-top:1rem;display:flex;flex-direction:column;gap:.6rem}

/* ---------- footer ---------- */
.site-footer{background:var(--navy-deep);color:rgba(255,255,255,.72)}
.footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:2.2rem;padding-block:3.4rem 2.6rem}
.footer-brand .fb-logo{display:flex;align-items:center;gap:.6rem;margin-bottom:1rem}
.footer-brand .fb-logo .logo{width:40px;height:40px;border-radius:11px;background:rgba(255,255,255,.12);
  color:#fff;display:grid;place-items:center}
.footer-brand .fb-logo .logo svg{width:22px;height:22px}
.footer-brand .fb-logo .name{font-size:1.18rem;font-weight:900;color:#fff}
.fb-info{font-size:.84rem;line-height:2;color:rgba(255,255,255,.6)}
.fb-info .num{display:inline-flex;align-items:center;gap:.4rem;font-family:var(--fnt-num);
  font-size:1.25rem;font-weight:700;color:#fff}
.fb-info .num svg{width:17px;height:17px}
.footer-col h4{font-size:.92rem;color:#fff;font-weight:700;margin-bottom:1rem;letter-spacing:.02em}
.footer-col ul li{margin-bottom:.6rem}
.footer-col ul a{font-size:.85rem;color:rgba(255,255,255,.66);transition:color .15s}
.footer-col ul a:hover{color:#fff}
.footer-area .areas{font-size:.83rem;line-height:1.9;color:rgba(255,255,255,.66);margin-bottom:.9rem}
.footer-area .area-map{border-radius:var(--r-sm);overflow:hidden;border:1px solid rgba(255,255,255,.12)}
.footer-area .area-map image-slot{display:block;width:100%;height:120px}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;
  padding-block:1.3rem;border-top:1px solid rgba(255,255,255,.1);font-size:.76rem;color:rgba(255,255,255,.5)}
.footer-bottom .legal{display:flex;gap:1.3rem}
.footer-bottom .legal a:hover{color:#fff}

/* ---------- sticky mobile action bar ---------- */
.mobile-bar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:250;
  grid-template-columns:1fr 1fr 1.4fr;background:#fff;border-top:1px solid var(--line);
  box-shadow:0 -6px 20px rgba(20,44,69,.1)}
.mobile-bar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  padding:.55rem 0 calc(.55rem + env(safe-area-inset-bottom,0));font-size:.72rem;font-weight:700}
.mobile-bar a svg{width:22px;height:22px}
.mobile-bar .mb-tel{color:var(--navy)}
.mobile-bar .mb-line{color:var(--line-green-d)}
.mobile-bar .mb-quote{background:var(--accent);color:#fff;margin:.4rem;border-radius:12px;flex-direction:row;gap:.4rem}
.mobile-bar .mb-quote svg{width:19px;height:19px}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}
.reveal.d1{transition-delay:.06s}.reveal.d2{transition-delay:.13s}
.reveal.d3{transition-delay:.2s}.reveal.d4{transition-delay:.27s}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

/* ---------- responsive (layout-level) ---------- */
@media(max-width:1080px){
  .nav-main{display:none}
}
@media(max-width:980px){
  :root{--head-h:70px}
  .tel-block{display:none}
  .hamburger{display:flex}
  .header-cta{gap:.7rem}
  .footer-top{grid-template-columns:1fr 1fr;gap:1.8rem}
}
@media(max-width:760px){
  .wrap{padding-inline:1.25rem}
  .section{padding-block:3.6rem}
  body{padding-bottom:64px}
  .mobile-bar{display:grid}
  .header-quote .s{display:none}
}
@media(max-width:520px){
  .footer-top{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
}
