/* ==========================================================
   株式会社 福井工務店 — 和モダン・木の温もり
   paper × sumi × wood × bengara
   ========================================================== */

:root {
  --paper:      #f5efe3;   /* 生成り */
  --paper-deep: #ece3d0;
  --ink:        #2b2620;   /* 墨 */
  --ink-soft:   #57503f;
  --wood:       #8a5a33;   /* 木 */
  --wood-light: #b98a55;
  --wood-deep:  #4c3a27;   /* 焼杉 */
  --bengara:    #a63e2a;   /* 弁柄 */
  --bengara-dk: #8c3220;
  --gold:       #c2a15c;
  --line:       rgba(43, 38, 32, .16);
  --line-light: rgba(245, 239, 227, .18);

  --font-min: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-got: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-got);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .04em;
  overflow-x: hidden;
}

/* 和紙の質感（全体） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .5;
  background-image:
    radial-gradient(rgba(43,38,32,.035) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 5px 5px, 7px 7px;
  background-position: 0 0, 3px 3px;
  mix-blend-mode: multiply;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }

::selection { background: var(--bengara); color: var(--paper); }

/* ---------- 共通ボタン ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-min);
  font-weight: 600;
  letter-spacing: .14em;
  padding: 1em 2.6em;
  border: 1px solid transparent;
  position: relative;
  transition: all .35s var(--ease-out);
  cursor: pointer;
  font-size: .95rem;
}
.btn--primary {
  background: var(--bengara);
  color: #fdf9f0;
  box-shadow: 4px 4px 0 rgba(43,38,32,.85);
}
.btn--primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(43,38,32,.85);
  background: var(--bengara-dk);
}
.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--full { width: 100%; text-align: center; }

/* ---------- ローディング幕 ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity .7s ease .3s, visibility .7s ease .3s;
}
.curtain.is-open { opacity: 0; visibility: hidden; }
.curtain__seal {
  width: 74px; height: 74px;
  background: var(--bengara);
  border-radius: 10px;
  display: grid; place-items: center;
  animation: sealPulse 1.4s ease infinite alternate;
}
.curtain__seal span {
  font-family: var(--font-min);
  font-weight: 800;
  font-size: 2.2rem;
  color: #fdf9f0;
}
@keyframes sealPulse {
  from { transform: scale(1) rotate(-2deg); }
  to   { transform: scale(1.07) rotate(2deg); }
}

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.header.is-scrolled {
  background: rgba(245, 239, 227, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 10px;
  padding-bottom: 10px;
}

.header__logo { display: flex; align-items: center; gap: 12px; }
.logo-seal {
  width: 44px; height: 44px;
  flex: none;
  background: var(--bengara);
  color: #fdf9f0;
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--font-min);
  font-weight: 800;
  font-size: 1.45rem;
  box-shadow: 2px 2px 0 rgba(43,38,32,.75);
  transform: rotate(-3deg);
  transition: transform .3s var(--ease-out);
}
.header__logo:hover .logo-seal { transform: rotate(3deg) scale(1.05); }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-text__company {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .1em;
}
.logo-text__sub {
  font-size: .68rem;
  letter-spacing: .22em;
  color: var(--ink-soft);
}

.header__nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.nav-list { display: flex; gap: clamp(14px, 2vw, 28px); }
.nav-list a {
  font-family: var(--font-min);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .1em;
  position: relative;
  padding: 4px 0;
}
.nav-num {
  font-size: .62rem;
  color: var(--bengara);
  letter-spacing: .1em;
  margin-right: .45em;
  font-family: var(--font-got);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--bengara);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-tel {
  border: 1px solid var(--ink);
  padding: 6px 18px;
  text-align: center;
  line-height: 1.4;
  transition: background .3s, color .3s;
}
.nav-tel:hover { background: var(--ink); color: var(--paper); }
.nav-tel__label { display: block; font-size: .62rem; letter-spacing: .18em; }
.nav-tel__num {
  display: block;
  font-family: var(--font-min);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .06em;
}

.hamburger {
  display: none;
  width: 46px; height: 46px;
  background: var(--ink);
  border: none;
  cursor: pointer;
  z-index: 130;
  position: relative;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--paper);
  margin: 4px auto;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 80px) 140px;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__mountains { position: absolute; bottom: 0; left: 0; width: 100%; height: 62%; }
.m-sun  { fill: var(--bengara); opacity: .88; }
.m-far  { fill: #d8cbb0; }
.m-mid  { fill: #c3b190; }
.m-near { fill: #a98f66; }
.hero__grain {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(245,239,227,0) 55%, rgba(245,239,227,.4) 100%);
}

.hero__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(1160px, 100%);
  margin: 0 auto;
  gap: 40px;
}
.hero__copy {
  position: relative;
  z-index: 2;
  flex: 1 1 620px;
  max-width: 700px;
}

.hero__photo {
  position: relative;
  z-index: 1;
  flex: 0 0 clamp(220px, 24vw, 330px);
  width: clamp(220px, 24vw, 330px);
  margin-top: clamp(52px, 8vw, 112px);
  padding: 12px;
  background: rgba(245, 239, 227, .76);
  border: 1px solid var(--line);
  box-shadow: 14px 14px 0 rgba(76, 58, 39, .12);
  transform: rotate(1.6deg);
  animation: fadeIn 1s ease 1.15s both;
}
.hero__photo::before {
  content: "";
  position: absolute;
  inset: -10px 10px 10px -10px;
  border: 1px solid rgba(166, 62, 42, .24);
  z-index: -1;
}
.hero__photo img {
  width: 100%;
  height: clamp(280px, 34vw, 420px);
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(43, 38, 32, .18);
  filter: saturate(.82) contrast(.96) sepia(.06);
}

.hero__title {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
  line-height: 1.5;
  letter-spacing: .08em;
}
.hero__line {
  display: block;
  overflow: hidden;
}
.hero__line span, .hero__line { /* clip reveal */
  animation: lineUp 1s var(--ease-out) both;
}
.hero__line--1 { animation-delay: .55s; }
.hero__line--2 { animation-delay: .75s; }
@keyframes lineUp {
  from { opacity: 0; transform: translateY(1.2em); clip-path: inset(0 0 100% 0); }
  to   { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0 0); }
}
.hero__line--2 {
  color: var(--wood-deep);
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}

.hero__sub {
  margin-top: 28px;
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--ink-soft);
  animation: fadeIn 1s ease 1.1s both;
}
.hero__sub em {
  font-family: var(--font-min);
  font-weight: 700;
  color: var(--bengara);
}
.hero__actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeIn 1s ease 1.3s both;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 縦書き */
.hero__tate {
  writing-mode: vertical-rl;
  display: flex;
  gap: 18px;
  font-family: var(--font-min);
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  letter-spacing: .5em;
  color: var(--wood-deep);
  padding-top: 8px;
  animation: fadeIn 1.2s ease 1s both;
  flex: none;
}
.tate-line {
  border-right: 1px solid var(--line);
  padding: 0 10px 24px;
}
.tate-line:first-child {
  color: var(--bengara);
  border-right-color: var(--bengara);
}

.hero__scroll {
  position: absolute;
  left: clamp(20px, 6vw, 80px);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .62rem;
  letter-spacing: .4em;
  color: var(--ink-soft);
}
.hero__scroll-bar {
  width: 64px; height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hero__scroll-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bengara);
  animation: scrollBar 2s ease infinite;
}
@keyframes scrollBar {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ---------- モットー帯（マーキー） ---------- */
.motto-band {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 14px 0;
  border-top: 3px solid var(--bengara);
}
.motto-band__track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-min);
  font-size: .92rem;
  letter-spacing: .18em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- セクション共通 ---------- */
.section {
  padding: clamp(80px, 12vw, 140px) clamp(20px, 6vw, 80px);
  position: relative;
}
.section__head {
  width: min(1100px, 100%);
  margin: 0 auto clamp(48px, 7vw, 80px);
}
.section__en {
  font-size: .7rem;
  letter-spacing: .5em;
  color: var(--bengara);
  font-weight: 700;
  margin-bottom: 10px;
}
.section__title {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: 18px;
}
.title-seal {
  flex: none;
  width: 1.7em; height: 1.7em;
  background: var(--bengara);
  color: #fdf9f0;
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: .62em;
  transform: rotate(-3deg);
  box-shadow: 2px 2px 0 rgba(43,38,32,.6);
}
.section__lead { margin-top: 16px; color: var(--ink-soft); }
.section__head--light .section__title { color: var(--paper); }
.section__head--light .section__lead  { color: rgba(245,239,227,.75); }

/* ---------- 事業内容 ---------- */
.services { background: var(--paper); }
.services__feature {
  width: min(1100px, 100%);
  margin: -18px auto clamp(48px, 7vw, 76px);
  padding: 10px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  box-shadow: 8px 8px 0 rgba(76, 58, 39, .1);
  position: relative;
  overflow: hidden;
}
.services__feature::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(245, 239, 227, .42);
  z-index: 1;
  pointer-events: none;
}
.services__feature::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(43, 38, 32, .32), transparent 36%, transparent 72%, rgba(245, 239, 227, .18)),
    linear-gradient(180deg, rgba(245, 239, 227, .08), rgba(43, 38, 32, .08));
  pointer-events: none;
}
.services__feature img {
  width: 100%;
  height: clamp(220px, 25vw, 320px);
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(.95) sepia(.08);
}
.services__list {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 56px);
}
.service {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.service:last-child { border-bottom: none; padding-bottom: 0; }
.service:nth-child(even) { flex-direction: row-reverse; }

.service__visual {
  flex: none;
  width: clamp(180px, 26vw, 260px);
  aspect-ratio: 1;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform .5s var(--ease-out);
}
.service:hover .service__visual { transform: rotate(-1.5deg) scale(1.03); }
.service__visual::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.service__icon { width: 58%; position: relative; z-index: 2; }
.ic-stroke { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.ic-accent { fill: var(--bengara); opacity: .9; }
.service__kanji {
  position: absolute;
  right: -6px; bottom: -26px;
  font-family: var(--font-min);
  font-weight: 800;
  font-size: clamp(6rem, 11vw, 8.5rem);
  color: rgba(138, 90, 51, .14);
  line-height: 1;
  z-index: 1;
  user-select: none;
}

.service__body { flex: 1; }
.service__num {
  font-size: .8rem;
  letter-spacing: .3em;
  color: var(--bengara);
  font-weight: 700;
}
.service__num::after {
  content: "";
  display: inline-block;
  width: 42px; height: 1px;
  background: var(--bengara);
  vertical-align: middle;
  margin-left: 12px;
}
.service__name {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  letter-spacing: .08em;
  margin: 8px 0 14px;
}
.service__desc { color: var(--ink-soft); max-width: 34em; }

/* ---------- 選ばれる理由 ---------- */
.reasons {
  background:
    linear-gradient(rgba(76, 58, 39, .96), rgba(43, 38, 32, .97)),
    var(--wood-deep);
  color: var(--paper);
  overflow: hidden;
}
/* 麻の葉風パターン */
.reasons__pattern {
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23f5efe3' stroke-width='1'%3E%3Cpath d='M28 0 L56 16 V48 L28 64 L0 48 V16 Z M28 0 V64 M0 16 L56 48 M56 16 L0 48'/%3E%3Cpath d='M28 64 L56 80 V97 M28 64 L0 80 V97 M28 64 V97'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 97px;
  pointer-events: none;
}
.reasons__grid {
  position: relative;
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.reason {
  background: rgba(245, 239, 227, .05);
  border: 1px solid var(--line-light);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
  transition: background .4s ease, transform .4s var(--ease-out);
}
.reason:hover {
  background: rgba(245, 239, 227, .1);
  transform: translateY(-4px);
}
.reason__kanji {
  position: absolute;
  top: -18px; right: 6px;
  font-family: var(--font-min);
  font-weight: 800;
  font-size: 6.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(194, 161, 92, .4);
  user-select: none;
}
.reason__title {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .08em;
  margin-bottom: 12px;
  color: var(--gold);
  position: relative;
}
.reason__desc {
  color: rgba(245, 239, 227, .82);
  font-size: .95rem;
  position: relative;
}

.reasons__stats {
  position: relative;
  width: min(1100px, 100%);
  margin: clamp(48px, 7vw, 72px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.stat {
  text-align: center;
  padding: clamp(24px, 4vw, 40px) 12px;
}
.stat + .stat { border-left: 1px solid var(--line-light); }
.stat__num {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--paper);
  line-height: 1.2;
}
.stat__unit {
  font-size: .38em;
  margin-left: 6px;
  color: var(--gold);
}
.stat__label {
  font-size: .8rem;
  letter-spacing: .16em;
  color: rgba(245,239,227,.65);
  margin-top: 6px;
}

/* ---------- 施工の流れ ---------- */
.flow { background: var(--paper-deep); }
.flow__steps {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
  position: relative;
}
.flow__steps::before {
  content: "";
  position: absolute;
  top: 44px; left: 8%; right: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--wood) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.flow-step {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 56px 20px 28px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform .4s var(--ease-out), box-shadow .4s ease;
}
.flow-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(43, 38, 32, .12);
}
.flow-step__num {
  position: absolute;
  top: -26px; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 56px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-min);
  font-weight: 700;
  font-size: 1.3rem;
  border: 3px solid var(--paper-deep);
}
.flow-step:last-child .flow-step__num { background: var(--bengara); }
.flow-step__title {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.flow-step__desc {
  font-size: .82rem;
  color: var(--ink-soft);
  text-align: left;
  line-height: 1.8;
}

/* ---------- 対応地域 ---------- */
.area { background: var(--paper); }
.area__map {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}
.area__center {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(190px, 30vw, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bengara);
  color: #fdf9f0;
  margin-bottom: 40px;
  position: relative;
  box-shadow: 0 18px 40px rgba(166, 62, 42, .3);
}
.area__center::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px dashed var(--bengara);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.area__center-label {
  font-size: .68rem;
  letter-spacing: .3em;
  opacity: .85;
}
.area__center strong {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  letter-spacing: .12em;
  margin: 4px 0 2px;
}
.area__center-sub {
  font-size: .8rem;
  letter-spacing: .22em;
}
.area__ring {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  max-width: 700px;
  margin: 0 auto;
}
.area__ring li {
  font-family: var(--font-min);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .1em;
  padding: 8px 22px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  border-radius: 999px;
  transition: all .3s ease;
}
.area__ring li:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.area__note {
  margin-top: 28px;
  font-size: .85rem;
  color: var(--ink-soft);
}

/* ---------- お問い合わせ ---------- */
.contact {
  background:
    linear-gradient(rgba(43, 38, 32, .9), rgba(43, 38, 32, .95)),
    url("../assets/images/fukui-interior-renovation.jpg") center / cover no-repeat;
  color: var(--paper);
}
.contact__grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.contact__tel {
  border: 1px solid var(--line-light);
  padding: clamp(32px, 5vw, 52px);
  text-align: center;
  position: relative;
}
.contact__tel-label {
  font-size: .8rem;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 18px;
}
.contact__freedial { display: inline-block; }
.contact__freedial-mark {
  display: block;
  font-size: .72rem;
  letter-spacing: .3em;
  background: var(--bengara);
  color: #fdf9f0;
  padding: 4px 14px;
  width: fit-content;
  margin: 0 auto 10px;
  border-radius: 3px;
}
.contact__freedial strong {
  font-family: var(--font-min);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3rem);
  letter-spacing: .04em;
  color: var(--paper);
  transition: color .3s;
}
.contact__freedial:hover strong { color: var(--gold); }
.contact__tel-sub {
  margin-top: 18px;
  font-size: .85rem;
  color: rgba(245,239,227,.7);
  letter-spacing: .08em;
}
.contact__seal {
  width: 64px; height: 64px;
  margin: 28px auto 0;
  background: var(--bengara);
  border-radius: 10px;
  display: grid; place-items: center;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,.4);
}
.contact__seal span {
  font-family: var(--font-min);
  font-weight: 800;
  font-size: 1.8rem;
  color: #fdf9f0;
}

.contact__form {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 8px 8px 0 rgba(166, 62, 42, .55);
}
.contact__form-note {
  font-size: .75rem;
  color: var(--bengara);
  margin-bottom: 20px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-family: var(--font-min);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .12em;
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--font-got);
  font-size: .95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fdfaf3;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color .3s, box-shadow .3s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--bengara);
  box-shadow: 0 0 0 3px rgba(166, 62, 42, .15);
}
.form-done {
  margin-top: 16px;
  font-size: .85rem;
  color: var(--bengara);
  text-align: center;
}

/* ---------- フッター ---------- */
.footer {
  background: #201c17;
  color: var(--paper);
  padding: clamp(56px, 8vw, 90px) clamp(20px, 6vw, 80px) 28px;
  border-top: 4px solid var(--bengara);
}
.footer__inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 6vw, 80px);
  padding-bottom: 48px;
}
.logo-seal--footer {
  width: 58px; height: 58px;
  font-size: 1.9rem;
  margin-bottom: 16px;
}
.footer__company {
  font-family: var(--font-min);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .12em;
}
.footer__motto {
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--gold);
  margin-top: 6px;
}
.footer__info div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: .92rem;
}
.footer__info dt {
  color: var(--gold);
  font-family: var(--font-min);
  font-weight: 600;
  letter-spacing: .1em;
}
.footer__info dd a:hover { color: var(--gold); }
.footer__copy {
  text-align: center;
  font-size: .72rem;
  letter-spacing: .2em;
  color: rgba(245,239,227,.5);
}

/* ---------- ページトップ ---------- */
.totop {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 52px; height: 52px;
  background: var(--bengara);
  color: #fdf9f0;
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--font-min);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 3px 3px 0 rgba(43,38,32,.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) rotate(-3deg);
  transition: all .4s var(--ease-out);
  z-index: 90;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: rotate(-3deg); }
.totop:hover { transform: rotate(3deg) translateY(-3px); }

/* ---------- スクロール出現 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-shown { opacity: 1; transform: none; }
.services__list .reveal:nth-child(even).is-shown,
.reasons__grid .reveal.is-shown { transition-delay: .08s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1024px) {
  .nav-tel { display: none; }
}

@media (max-width: 860px) {
  .hamburger { display: block; }
  .header__nav {
    position: fixed;
    inset: 0;
    background: var(--ink);
    color: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
    z-index: 120;
  }
  .header__nav.is-open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; text-align: center; gap: 22px; }
  .nav-list a { font-size: 1.3rem; color: var(--paper); }
  .nav-tel {
    display: block;
    border-color: var(--paper);
    color: var(--paper);
    padding: 10px 32px;
  }

  .hero { padding-top: 110px; padding-bottom: 120px; }
  .hero__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero__tate { order: 1; }
  .hero__copy { order: 2; flex: none; max-width: 100%; }
  .hero__photo {
    order: 3;
    flex: none;
    width: min(100%, 420px);
    margin-top: 0;
    padding: 8px;
    transform: rotate(.8deg);
    box-shadow: 8px 8px 0 rgba(76, 58, 39, .12);
  }
  .hero__photo::before { inset: -7px 7px 7px -7px; }
  .hero__photo img {
    height: clamp(180px, 52vw, 250px);
    object-position: center;
  }
  .hero__tate {
    writing-mode: horizontal-tb;
    letter-spacing: .3em;
    font-size: .85rem;
    gap: 14px;
  }
  .tate-line { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 4px; }
  .tate-line:first-child { border-bottom-color: var(--bengara); }

  .service,
  .service:nth-child(even) { flex-direction: column; align-items: flex-start; }
  .service__visual { width: min(300px, 100%); }
  .services__feature { margin-top: -14px; padding: 8px; }
  .services__feature::before,
  .services__feature::after { inset: 8px; }
  .services__feature img { height: clamp(210px, 58vw, 320px); }

  .reasons__grid { grid-template-columns: 1fr; }

  .flow__steps { grid-template-columns: 1fr; gap: 44px; max-width: 480px; }
  .flow__steps::before {
    top: 0; bottom: 0; left: 50%; right: auto;
    width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, var(--wood) 0 8px, transparent 8px 16px);
  }
  .flow-step__desc { text-align: center; }

  .contact__grid { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__info div { grid-template-columns: 110px 1fr; font-size: .85rem; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .logo-text__company { font-size: 1.05rem; }
  .reasons__stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line-light); }
  .btn { width: 100%; text-align: center; }
}
