@charset "UTF-8";

/* =========================================================
   元田塗装工業 — style.css
   和風・硬派。装飾は最小限、余白と罫線で見せる。

   ブレークポイント
     モバイル   〜 599px   （基準。モバイルファーストで書く）
     タブレット 600 〜 1023px
     PC         1024px 〜
   ========================================================= */

/* ---------- トークン ---------- */
:root {
  /* 色 */
  --sumi:        #1c1a17;  /* 墨 */
  --sumi-soft:   #2a2622;
  --kinari:      #f4f1e8;  /* 生成り */
  --shironeri:   #faf8f3;  /* 白練 */
  --sabishu:     #9c3d2e;  /* 錆朱 */
  --sabishu-dk:  #82301f;
  --kincha:      #b08d49;  /* 金茶 */
  --kincha-lt:   #cdaa63;
  --nezumi:      #7a736a;  /* 鼠 */
  --nezumi-lt:   #a8a196;

  /* 書体 */
  --mincho: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
  --gothic: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Sans", "Meiryo", sans-serif;
  --num:    "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;

  /* 寸法 */
  --wrap:        1120px;
  --wrap-narrow: 760px;
  --header-h:    60px;
  --gut:         clamp(18px, 5vw, 40px);

  /* 動き */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 1024px) {
  :root { --header-h: 68px; }
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--kinari);
  color: var(--sumi);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
table { border-collapse: collapse; width: 100%; }

/* アイコン定義そのものは表示しない */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* キーボード操作時のフォーカス表示 */
:focus-visible {
  outline: 2px solid var(--kincha);
  outline-offset: 3px;
}

/* ---------- 共通レイアウト ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(56px, 11vw, 128px); }

.sec-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mincho);
  font-size: 13px;
  letter-spacing: .24em;
  color: var(--sabishu);
  margin-bottom: 14px;
}
.sec-label__icon { width: 17px; height: 17px; flex: none; }
.sec-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--kincha);
  flex: none;
}
.sec-label--light { color: var(--kincha-lt); }

.sec-title {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(24px, 4.6vw, 40px);
  line-height: 1.5;
  letter-spacing: .04em;
  margin-bottom: clamp(30px, 5vw, 56px);
}
.sec-title--light { color: var(--shironeri); }

/* 家紋 */
.mon { width: 32px; height: 32px; flex: none; }
.mon--lg { width: 56px; height: 56px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 26px;
  min-height: 68px;
  border-radius: 2px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn__icon { width: 26px; height: 26px; flex: none; }
.btn__text { display: flex; flex-direction: column; align-items: flex-start; }
.btn__sub {
  font-size: 11.5px;
  letter-spacing: .1em;
  line-height: 1.5;
  opacity: .88;
}
.btn__num {
  font-family: var(--num);
  font-weight: 700;
  font-size: clamp(21px, 3.6vw, 26px);
  letter-spacing: .03em;
  line-height: 1.2;
}
.btn--tel {
  background: var(--sabishu);
  color: var(--shironeri);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}
.btn--tel:hover {
  background: var(--sabishu-dk);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}
/* 押したくなる合図として、光を一度走らせる */
.btn--tel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
  transform: skewX(-18deg);
  transition: left .7s var(--ease);
}
.btn--tel:hover::after { left: 120%; }

.btn--ghost {
  border: 1px solid rgba(244, 241, 232, .45);
  color: var(--shironeri);
}
.btn--ghost:hover {
  background: rgba(244, 241, 232, .1);
  border-color: var(--kincha);
  transform: translateY(-3px);
}
.btn--lg { min-width: min(380px, 100%); padding-block: 17px; }

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(28, 26, 23, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
/* ここに backdrop-filter を入れてはいけない。
   backdrop-filter が効いた要素は、その中の position:fixed の基準（包含ブロック）に
   なるため、中にあるドロワーがヘッダーの高さに閉じ込められて見切れる。
   背景はほぼ不透明なので、ぼかしが無くても見た目はほとんど変わらない。 */
.site-header.is-stuck {
  background: rgba(28, 26, 23, .97);
  border-bottom-color: rgba(176, 141, 73, .35);
}
.site-header__inner {
  height: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-header__brand {
  order: 1;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--shironeri);
  text-decoration: none;
  flex: none;
  transition: color .3s var(--ease);
}
.site-header__brand .mon { transition: transform .5s var(--ease), color .3s var(--ease); }
.site-header__brand:hover .mon { transform: rotate(-12deg); color: var(--kincha-lt); }
.site-header__name {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .14em;
  white-space: nowrap;
}

.site-header__tel {
  order: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--shironeri);
  text-decoration: none;
  flex: none;
  transition: color .25s var(--ease);
}
.site-header__tel:hover { color: var(--kincha-lt); }
.site-header__tel-icon { width: 20px; height: 20px; flex: none; }
.site-header__tel-text { display: flex; flex-direction: column; line-height: 1.25; }
.site-header__tel-label {
  font-size: 10.5px;
  letter-spacing: .14em;
  opacity: .78;
}
.site-header__tel-num {
  font-family: var(--num);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
}

/* ---------- ハンバーガーボタン ---------- */
.nav-toggle {
  order: 4;
  position: relative;
  z-index: 70;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  border: 0;
  color: var(--shironeri);
  cursor: pointer;
  flex: none;
}
.nav-toggle__bars { position: relative; display: block; width: 24px; height: 16px; }
.nav-toggle__bars i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars i:nth-child(1) { top: 0; }
.nav-toggle__bars i:nth-child(2) { top: 7px; }
.nav-toggle__bars i:nth-child(3) { top: 14px; }
.nav-toggle.is-open .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ナビ ---------- */
.site-nav { order: 3; }
.site-nav__list { display: flex; gap: 26px; }
.site-nav__list a {
  position: relative;
  display: block;
  padding-block: 6px;
  /* 項目が7つあるので、折り返させない。幅が足りない画面幅では下で詰める */
  white-space: nowrap;
  font-size: 13.5px;
  letter-spacing: .1em;
  color: var(--shironeri);
  text-decoration: none;
  opacity: .82;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
/* ホバーで金茶に色が変わり、下に罫線が引かれる */
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--kincha-lt);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .4s var(--ease);
}
.site-nav__list a:hover,
.site-nav__list a:focus-visible { opacity: 1; color: var(--kincha-lt); }
.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

.site-nav__no { display: none; }
.site-nav__foot { display: none; }

/* ---------- タブレット以下：右から出るドロワー ---------- */
@media (max-width: 1023px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    width: min(86vw, 340px);
    padding: calc(var(--header-h) + 26px) 24px 34px;
    background: var(--sumi);
    border-left: 1px solid rgba(176, 141, 73, .4);
    box-shadow: -12px 0 40px rgba(0, 0, 0, .35);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .site-nav.is-open { transform: none; }

  .site-nav__list { display: block; }
  .site-nav__list li + li { border-top: 1px solid rgba(176, 141, 73, .22); }
  .site-nav__list a {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding-block: 17px;
    font-family: var(--mincho);
    font-size: 17px;
    letter-spacing: .1em;
    opacity: 1;
  }
  .site-nav__list a::after { display: none; }
  .site-nav__no {
    display: block;
    font-family: var(--num);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--kincha);
  }

  .site-nav__foot {
    display: block;
    margin-top: auto;
    padding-top: 26px;
    border-top: 1px solid rgba(176, 141, 73, .35);
    text-align: center;
  }
  .site-nav__foot-label {
    display: inline-block;
    padding: 4px 14px;
    margin-bottom: 12px;
    border: 1px solid var(--kincha);
    border-radius: 999px;
    font-size: 11.5px;
    letter-spacing: .12em;
    color: var(--kincha-lt);
  }
  .site-nav__foot-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px;
    background: var(--sabishu);
    color: var(--shironeri);
    border-radius: 2px;
    text-decoration: none;
    font-family: var(--num);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .02em;
  }
  .site-nav__foot-tel svg { width: 21px; height: 21px; flex: none; }
  .site-nav__foot-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 4px;
    font-size: 12.5px;
    letter-spacing: .04em;
    color: var(--nezumi-lt);
    text-decoration: none;
  }
}

/* 開いているあいだ、後ろを暗くする */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(12, 11, 10, .6);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.nav-scrim.is-visible { opacity: 1; }
body.nav-open { overflow: hidden; }

/* モバイルはヘッダーの電話を省く（追従ボタンとドロワー内にあるため） */
@media (max-width: 599px) {
  .site-header__tel { display: none; }
}

/* ---------- PC：横並びに戻す ---------- */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { order: 2; margin-left: auto; }
  .site-header__tel { order: 3; }
}

/* 1024〜1279px は、屋号・7項目・電話番号を1行に収めるには幅が足りない。
   電話番号は電話のみの受付では消せないので、ナビ側を詰める。 */
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header__inner { gap: 14px; }
  .site-nav__list { gap: 15px; }
  .site-nav__list a { font-size: 12.5px; letter-spacing: .03em; }
}

/* =========================================================
   ヒーロー（3枚のスライドショー）
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sumi);
}
.hero__media { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background: var(--sumi) center / cover no-repeat;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__slide--1 { background-image: url("/assets/img/hero-1.webp"); }
.hero__slide--2 { background-image: url("/assets/img/hero-2.webp"); }
.hero__slide--3 { background-image: url("/assets/img/hero-3.webp"); }

.hero__slide.is-active {
  opacity: 1;
  animation: kenburns 9s linear forwards;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}

/* 文字が乗る左側だけ十分に暗くし、右の空と建物は明るいまま残す。
   全面を均一に暗くすると、せっかくの晴天が沈んで古い写真に見える。 */
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 18, 16, .55) 0%, rgba(20, 18, 16, 0) 16%),
    linear-gradient(to right, rgba(20, 18, 16, .8) 0%, rgba(20, 18, 16, .46) 48%, rgba(20, 18, 16, .12) 100%),
    linear-gradient(to top, rgba(20, 18, 16, .58) 0%, rgba(20, 18, 16, 0) 40%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: calc(var(--header-h) + 34px) var(--gut) 76px;
  color: var(--shironeri);
}
.hero__eyebrow {
  font-family: var(--mincho);
  font-size: clamp(11.5px, 2.6vw, 14px);
  letter-spacing: .3em;
  color: var(--kincha-lt);
  margin-bottom: 18px;
}
.hero__title { margin-bottom: 24px; }
.hero__title-vertical {
  display: inline-block;
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 700;
  font-size: clamp(36px, 9.5vw, 54px);
  letter-spacing: .14em;
  line-height: 1;
  /* 明るい空の上に重なるので、影は強めに二重で入れる */
  text-shadow: 0 2px 10px rgba(0, 0, 0, .7), 0 6px 34px rgba(0, 0, 0, .55);
}
.hero__lead {
  font-family: var(--mincho);
  font-size: clamp(16px, 3.2vw, 23px);
  line-height: 2.05;
  letter-spacing: .06em;
  margin-bottom: 28px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: #ded8cd;
}
.hero__points svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--kincha-lt);
}

/* スライドの現在位置 */
.hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero__dot {
  position: relative;
  width: 30px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(244, 241, 232, .3);
  cursor: pointer;
  transition: background-color .4s var(--ease), width .4s var(--ease);
}
/* 見た目は細い線のままで、指で押せる大きさの当たり判定を足す */
.hero__dot::before {
  content: "";
  position: absolute;
  inset: -18px -5px;
}
.hero__dot.is-active { background: var(--kincha-lt); width: 46px; }

/* 広い画面では、縦書きの屋号を右に立てて二段組にする。
   縦書きは字数ぶんそのまま高さになるので、横に逃がさないと
   電話ボタンがファーストビューから押し出される。 */
@media (min-width: 900px) {
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "eyebrow title"
      "lead    title"
      "cta     title"
      "points  title";
    align-content: center;
    column-gap: clamp(44px, 7vw, 104px);
  }
  .hero__eyebrow { grid-area: eyebrow; }
  .hero__title   { grid-area: title; align-self: center; margin-bottom: 0; }
  .hero__lead    { grid-area: lead; }
  .hero__cta     { grid-area: cta; }
  .hero__points  { grid-area: points; }

  .hero__title-vertical { font-size: clamp(50px, 5.4vw, 74px); }
}

/* 縦に余裕が無い画面（低い横長ウィンドウ）では屋号をさらに詰める */
@media (min-width: 900px) and (max-height: 760px) {
  .hero__title-vertical { font-size: 50px; }
}

/* =========================================================
   ごあいさつ
   ========================================================= */
.section--intro { position: relative; }
.section--intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cg fill='none' stroke='%23b08d49' stroke-width='1' opacity='.16'%3E%3Cpath d='M30 0 L60 17 L60 52 L30 69 L0 52 L0 17 Z'/%3E%3Cpath d='M30 0 L30 69 M0 17 L60 52 M60 17 L0 52'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 104px;
  pointer-events: none;
}
.section--intro > .wrap { position: relative; z-index: 1; }

.intro__body p {
  font-family: var(--mincho);
  font-size: clamp(15px, 2.7vw, 17.5px);
  line-height: 2.3;
  letter-spacing: .04em;
}
.intro__body p + p { margin-top: 1.7em; }

.intro__sign {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(176, 141, 73, .5);
  text-align: right;
  font-family: var(--mincho);
}
.intro__sign-role {
  display: block;
  font-size: 12.5px;
  letter-spacing: .2em;
  color: var(--nezumi);
  margin-bottom: 6px;
}
.intro__sign-name {
  display: block;
  font-size: clamp(19px, 3.6vw, 25px);
  letter-spacing: .16em;
}

/* =========================================================
   施工内容
   ========================================================= */
.section--works { background: var(--shironeri); }

/* モバイル1列 → タブレット2列 → PC3列 */
.works {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3.2vw, 36px);
}
@media (min-width: 600px)  { .works { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .works { grid-template-columns: repeat(3, 1fr); } }

.work {
  background: var(--kinari);
  border: 1px solid rgba(176, 141, 73, .3);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.work:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(28, 26, 23, .15);
  border-color: rgba(176, 141, 73, .7);
}
.work__media {
  aspect-ratio: 4 / 3;
  background: #ddd7ca;
  overflow: hidden;
}
.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.work:hover .work__media img { transform: scale(1.06); }
.work__body { padding: 24px 22px 28px; }
.work__title {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .1em;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(176, 141, 73, .38);
}
.work__text { font-size: 14.5px; line-height: 1.95; color: #3a352f; }

.works__note {
  margin-top: 30px;
  font-size: 13px;
  color: var(--nezumi);
  letter-spacing: .04em;
}

/* =========================================================
   仕事について（濃色）
   ========================================================= */
.section--craft {
  position: relative;
  background: var(--sumi);
  color: var(--shironeri);
  overflow: hidden;
}
.craft__bg {
  position: absolute;
  inset: 0;
  background: url("/assets/img/craft.webp") center / cover no-repeat;
  opacity: .38;
  filter: grayscale(.3);
}
.section--craft::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28, 26, 23, .74), rgba(28, 26, 23, .9));
}
.section--craft > .wrap { position: relative; z-index: 2; }

/* 壱〜肆：モバイル1列 → タブレット2列 → PC4列 */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 2.6vw, 34px);
}
@media (min-width: 600px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-top: 20px;
  border-top: 1px solid rgba(176, 141, 73, .45);
}
.step__no {
  font-family: var(--mincho);
  font-size: 30px;
  line-height: 1;
  color: var(--kincha-lt);
  flex: none;
}
.step__title {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 18.5px;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.step__text {
  font-size: 14.5px;
  line-height: 1.95;
  color: #cfc9be;
}

/* =========================================================
   料金の目安
   ========================================================= */
.price-card {
  background: var(--shironeri);
  border: 1px solid rgba(176, 141, 73, .45);
  border-radius: 2px;
  padding: clamp(30px, 5vw, 52px) var(--gut);
  text-align: center;
  position: relative;
}
.price-card::before,
.price-card::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--kincha);
}
.price-card::before { top: 9px; left: 9px; border-right: 0; border-bottom: 0; }
.price-card::after  { bottom: 9px; right: 9px; border-left: 0; border-top: 0; }

.price-card__case {
  font-family: var(--mincho);
  font-size: clamp(13.5px, 2.8vw, 16px);
  letter-spacing: .1em;
  color: var(--nezumi);
  margin-bottom: 16px;
}
.price-card__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  color: var(--sabishu);
  margin-bottom: 14px;
}
.price-card__approx {
  font-family: var(--mincho);
  font-size: clamp(16px, 3vw, 21px);
}
.price-card__num {
  font-family: var(--num);
  font-weight: 700;
  font-size: clamp(60px, 15vw, 108px);
  line-height: .95;
  letter-spacing: -.01em;
}
.price-card__unit {
  font-family: var(--mincho);
  font-size: clamp(21px, 4.4vw, 32px);
}
.price-card__incl {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--sumi);
  border-top: 1px solid rgba(176, 141, 73, .5);
  padding-top: 12px;
}

.price-note {
  margin-top: 32px;
  font-size: 14.5px;
  line-height: 2.05;
  color: #3a352f;
}
.price-note p + p { margin-top: 1.3em; }
.price-note strong { color: var(--sabishu); font-weight: 700; }

.cta-band {
  margin-top: clamp(40px, 6vw, 66px);
  padding: clamp(30px, 5vw, 48px) var(--gut);
  background: var(--sumi);
  border-radius: 2px;
  text-align: center;
}
.cta-band__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--kincha);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--kincha-lt);
}
.cta-band__badge svg { width: 15px; height: 15px; flex: none; }
.cta-band__text {
  font-family: var(--mincho);
  font-size: clamp(18px, 3.6vw, 26px);
  letter-spacing: .1em;
  color: var(--shironeri);
  margin-bottom: 22px;
}
.cta-band__sub-tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  /* 指で押せる高さを確保する */
  min-height: 44px;
  padding-inline: 10px;
  font-size: 13.5px;
  letter-spacing: .06em;
  color: var(--nezumi-lt);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.cta-band__sub-tel svg { width: 16px; height: 16px; flex: none; }
.cta-band__sub-tel:hover { color: var(--kincha-lt); }

/* =========================================================
   工事の流れ（縦のタイムライン）
   どの画面幅でも順番が一本道で読めるように、
   段組みにせず縦一列で通す。
   ========================================================= */
.section--flow { background: var(--shironeri); }

.flow { position: relative; }

.flow__item {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: clamp(16px, 3vw, 26px);
  padding-bottom: clamp(28px, 4vw, 40px);
}
.flow__item--last { padding-bottom: 0; }

/* 番号どうしをつなぐ縦線 */
.flow__item::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 46px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--kincha), rgba(176, 141, 73, .3));
}
.flow__item--last::before { display: none; }

.flow__marker {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--kincha);
  border-radius: 50%;
  background: var(--shironeri);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.flow__no {
  font-family: var(--num);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--kincha);
  transition: color .35s var(--ease);
}
.flow__marker--goal {
  background: var(--sabishu);
  border-color: var(--sabishu);
}
.flow__marker--goal svg { width: 22px; height: 22px; color: var(--shironeri); }

.flow__item:hover .flow__marker {
  background: var(--kincha);
  border-color: var(--kincha);
}
.flow__item:hover .flow__no { color: var(--shironeri); }
.flow__item--last:hover .flow__marker { background: var(--sabishu); border-color: var(--sabishu); }

.flow__body { padding-top: 6px; }
.flow__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(17px, 3.2vw, 20px);
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.flow__free {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sabishu);
  color: var(--shironeri);
  font-family: var(--gothic);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
}
.flow__text { font-size: 14.5px; line-height: 1.95; color: #3a352f; }

/* =========================================================
   対応エリア
   ========================================================= */
.area__lead {
  font-family: var(--mincho);
  font-size: clamp(15px, 2.7vw, 17px);
  line-height: 2.2;
  margin-bottom: 32px;
}
.area__list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.area__list li {
  padding: 7px 16px;
  border: 1px solid rgba(176, 141, 73, .55);
  border-radius: 2px;
  font-size: 13.5px;
  letter-spacing: .06em;
  background: var(--shironeri);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.area__list li:hover {
  background: var(--kincha);
  color: var(--shironeri);
  transform: translateY(-2px);
}
/* 県外（福岡県大牟田市）は、あくまで例外だと分かる見た目にする */
.area__list-out {
  border-style: dashed;
  color: var(--nezumi);
}

/* =========================================================
   お知らせ
   件数が少ないうちでも寂しく見えないよう、罫線で区切った一覧にする。
   ========================================================= */
/* 地色は生成りのまま。直前のごあいさつは麻の葉の地紋が入っているので区別が付き、
   直後の施工内容は白練なのでそこで色が切り替わる。 */
.news__item {
  border-top: 1px solid rgba(176, 141, 73, .4);
  padding-block: 20px;
}
.news__item:last-child { border-bottom: 1px solid rgba(176, 141, 73, .4); }

.news__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
.news__date {
  font-family: var(--num);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--kincha);
}
.news__tag {
  padding: 2px 11px;
  border: 1px solid rgba(176, 141, 73, .55);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--nezumi);
  white-space: nowrap;
}
.news__text {
  font-family: var(--mincho);
  font-size: clamp(15px, 2.8vw, 17px);
  line-height: 1.8;
  letter-spacing: .03em;
}

/* 別ページに飛ばす項目。リンクのときだけ矢印と反応を付ける */
.news__item--link a {
  display: block;
  text-decoration: none;
  min-height: 44px;
  transition: color .25s var(--ease);
}
.news__item--link .news__text {
  position: relative;
  padding-right: 28px;
}
.news__item--link .news__text::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-top: 1px solid var(--kincha);
  border-right: 1px solid var(--kincha);
  transform: rotate(45deg);
  transition: transform .3s var(--ease), right .3s var(--ease);
}
.news__item--link a:hover .news__text { color: var(--sabishu); }
.news__item--link a:hover .news__text::after {
  right: 0;
  border-color: var(--sabishu);
}

/* =========================================================
   事業所概要
   ========================================================= */
.section--company { background: var(--shironeri); }

.company th,
.company td {
  padding: 17px 4px;
  border-bottom: 1px solid rgba(176, 141, 73, .35);
  text-align: left;
  vertical-align: top;
  font-size: 14.5px;
  line-height: 1.9;
}
.company th {
  width: 9.5em;
  font-family: var(--mincho);
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--nezumi);
  white-space: nowrap;
}
/* th はテーブルセルのまま置く。display を変えると列幅が崩れるので、
   アイコンはインラインで並べる。 */
.company__th-icon {
  width: 17px;
  height: 17px;
  vertical-align: -3px;
  margin-right: 8px;
  color: var(--kincha);
}
.company__line {
  display: flex;
  align-items: center;
  gap: 9px;
}
/* 電話番号は押せるので、指で狙える高さを確保する */
.company__line--link { min-height: 44px; }
.company__line + .company__line { margin-top: 2px; }
.company__icon { width: 18px; height: 18px; flex: none; color: var(--kincha); }
.company__line--link {
  color: var(--sabishu);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.company__line--link:hover { color: var(--sabishu-dk); text-decoration: underline; }
.company__note {
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--nezumi);
  margin-left: 4px;
}

@media (max-width: 599px) {
  .company th, .company td { display: block; width: auto; }
  .company th { border-bottom: 0; padding-bottom: 2px; }
  .company td { padding-top: 0; }
}

/* 地図 */
.map {
  margin-top: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(176, 141, 73, .45);
  border-radius: 2px;
  overflow: hidden;
  background: #e6e1d6;
}
.map__frame {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 400px);
  border: 0;
}
.map__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--nezumi);
}
.map__note svg { width: 17px; height: 17px; flex: none; color: var(--kincha); }

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
  background: var(--sumi);
  color: var(--shironeri);
  padding-block: clamp(44px, 7vw, 76px);
  text-align: center;
}
.site-footer__brand { margin-bottom: 24px; }
.site-footer__brand .mon { margin-inline: auto; color: var(--kincha); }
.site-footer__name {
  font-family: var(--mincho);
  font-size: 21px;
  letter-spacing: .22em;
  margin-top: 14px;
}
.site-footer__addr {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--nezumi-lt);
  margin-top: 8px;
}
.site-footer__tel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  margin-bottom: 28px;
}
.site-footer__tel a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--num);
  font-weight: 700;
  font-size: clamp(19px, 4vw, 25px);
  letter-spacing: .02em;
  color: var(--shironeri);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.site-footer__tel a svg { width: 21px; height: 21px; flex: none; color: var(--kincha); }
.site-footer__tel a:hover { color: var(--kincha-lt); }
.site-footer__copy {
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--nezumi);
  padding-top: 20px;
  border-top: 1px solid rgba(176, 141, 73, .22);
}

/* =========================================================
   追従の電話ボタン（モバイル・タブレット）
   ========================================================= */
.fixed-tel {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--sabishu);
  color: var(--shironeri);
  border-radius: 2px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
  transform: translateY(160%);
  transition: transform .45s var(--ease), opacity .25s var(--ease), visibility .25s;
}

/* ドロワーの中にも電話ボタンがあるので、開いているあいだは重ねて出さない */
body.nav-open .fixed-tel {
  opacity: 0;
  visibility: hidden;
}
.fixed-tel svg { width: 24px; height: 24px; flex: none; }
.fixed-tel__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; }
.fixed-tel__sub { font-size: 11px; letter-spacing: .08em; opacity: .9; }
.fixed-tel__num {
  font-family: var(--num);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .03em;
}
.fixed-tel.is-visible { transform: translateY(0); }

@media (max-width: 1023px) {
  .fixed-tel { display: flex; }
  .site-footer { padding-bottom: 104px; }
}
/* タブレットでは中央に寄せて、間延びさせない */
@media (min-width: 600px) and (max-width: 1023px) {
  .fixed-tel {
    left: 50%;
    right: auto;
    transform: translate(-50%, 160%);
    min-width: 400px;
  }
  .fixed-tel.is-visible { transform: translate(-50%, 0); }
}

/* =========================================================
   スクロール連動の出現
   ========================================================= */
/* JS が動いているときだけ隠す。
   スクリプトが落ちた場合、本文が読めないまま真っ白になるのを避ける。 */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* 動きを減らす設定を尊重する */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .fixed-tel { transform: translateY(0); }
  .hero__slide.is-active { opacity: 1; }
}
