@charset "UTF-8";

/* =========================================================
   福榮建装 LP - index.css
   1. トークン / リセット
   2. 汎用パーツ（ボタン / ロゴ枠 / 画像枠 / 波形 / セクション）
   3. ローダー
   4. ヘッダー / ナビゲーション
   5. 各セクション
   6. フッター / 固定CTA / トップへ戻る
   7. レスポンシブ
   ========================================================= */

/* =========================================================
   1. トークン / リセット
   ========================================================= */
:root {
  --green-900: #1e3a2a;
  --green-800: #2a5138;
  --green-700: #3a6f4b;
  --green-600: #4c8b60;
  --green-500: #62a377;
  --green-200: #cfe3cd;
  --green-100: #e3efe0;
  --green-50:  #f1f7ee;
  --cream:     #faf8f2;
  --white:     #ffffff;

  --accent:    #b07a4c;
  --accent-dk: #8f5f36;

  --ink:       #22302a;
  --ink-soft:  #4b5b52;
  --muted:     #6f7f76;
  --line:      #dfe6dc;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(30, 58, 42, .06);
  --shadow:    0 10px 30px rgba(30, 58, 42, .08);
  --shadow-lg: 0 20px 50px rgba(30, 58, 42, .12);

  --header-h: 84px;

  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

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

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--cream);
  overflow-wrap: anywhere;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
em { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--green-800);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}
.container--narrow { width: min(880px, 100% - 48px); }

.sp-only { display: none; }

/* =========================================================
   2. 汎用パーツ
   ========================================================= */

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(58, 111, 75, .28);
}
.btn--primary:hover { box-shadow: 0 12px 26px rgba(58, 111, 75, .36); }

.btn--outline {
  border: 1.5px solid var(--green-700);
  color: var(--green-800);
  background: var(--white);
}
.btn--outline:hover { background: var(--green-50); }

.btn--ghost {
  border: 1.5px solid var(--green-200);
  background: rgba(255, 255, 255, .7);
  color: var(--green-800);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: var(--white); }

.btn--sm { padding: 10px 20px; font-size: .875rem; }
.btn--lg { padding: 18px 40px; font-size: 1.0625rem; }

/* --- ロゴ --- */
.site-logo {
  display: inline-flex;
  align-items: center;
}
.site-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.site-logo--header img { height: 42px; }
.site-logo--header { transition: opacity .3s var(--ease); }
.site-logo--header:hover { opacity: .75; }

.site-logo--loader img { height: 68px; }

/* 濃緑の背景に載るため、ロゴを白へ反転させる */
.site-logo--footer img { height: 48px; filter: brightness(0) invert(1); }

/* --- 写真枠（素材は 3:2。枠に合わせて切り抜いて収める） --- */
.hero__media,
.card__media,
.work__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--green-50);
}
.hero__media img,
.card__media img,
.work__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- チェックアイコン --- */
.tick {
  position: relative;
  flex: none;
  display: inline-block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-600);
}
.tick::before {
  content: "";
  position: absolute;
  left: 50%; top: 46%;
  width: 5px; height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}
.tick--lg { width: 26px; height: 26px; }
.tick--lg::before { width: 7px; height: 12px; border-width: 0 2.5px 2.5px 0; }

/* --- 波形の区切り --- */
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}
.wave svg { display: block; width: 100%; height: clamp(40px, 5vw, 90px); }
.wave--top { top: -1px; }
.wave--bottom { bottom: -1px; }

.hero .wave--bottom svg path { fill: var(--cream); }
.section--deep .wave--top svg path { fill: var(--cream); }
.section--deep .wave--bottom svg path { fill: var(--cream); }
.section--message .wave--top svg path { fill: var(--cream); }
.section--message .wave--bottom svg path { fill: var(--cream); }
.section--contact .wave--top svg path { fill: var(--green-50); }

/* --- セクション共通 --- */
.section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
}
.section--tint { background: var(--green-50); }
.section--deep {
  background: linear-gradient(160deg, var(--green-800), var(--green-700) 60%, var(--green-600));
  padding: clamp(110px, 12vw, 176px) 0;
}
.section--message {
  background: linear-gradient(180deg, var(--green-50), var(--green-100));
  padding: clamp(110px, 12vw, 176px) 0;
}
.section--contact {
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  color: var(--white);
  padding: clamp(110px, 12vw, 176px) 0 clamp(80px, 9vw, 128px);
}

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 10px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 3.4vw, 2.375rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .04em;
  color: var(--green-900);
}
.section__title em {
  position: relative;
  color: var(--green-700);
}
.section__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .1em;
  height: .28em;
  background: rgba(176, 122, 76, .2);
  z-index: -1;
}
.section__lead {
  margin-top: 20px;
  font-size: .9375rem;
  color: var(--ink-soft);
}

.section__head--light .section__label { color: var(--green-200); }
.section__head--light .section__title { color: var(--white); }
.section__head--light .section__lead  { color: rgba(255, 255, 255, .82); }

/* --- スクロール表示アニメーション --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   3. ローダー
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--cream);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; }

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: loader-in .8s var(--ease) both;
}
@keyframes loader-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.loader__bar {
  position: relative;
  width: 160px; height: 3px;
  border-radius: 999px;
  background: var(--green-100);
  overflow: hidden;
}
.loader__bar span {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, var(--green-600), var(--accent));
  animation: loader-bar 1.4s var(--ease) infinite;
}
@keyframes loader-bar {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* =========================================================
   4. ヘッダー / ナビゲーション
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(250, 248, 242, .82);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.header.is-scrolled {
  background: rgba(250, 248, 242, .96);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
}
.nav__list a {
  position: relative;
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-soft);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav__list a:hover { color: var(--green-800); }
.nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { display: none; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__tel { display: flex; flex-direction: column; line-height: 1.25; }
.header__tel-label { font-size: .625rem; letter-spacing: .1em; color: var(--muted); }
.header__tel-num {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-800);
}
.header__tel:hover .header__tel-num { color: var(--accent); }

.hamburger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.hamburger span {
  position: absolute;
  left: 50%;
  width: 20px; height: 1.5px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; transform: translateX(-50%); }
.hamburger span:nth-child(2) { top: 21px; transform: translateX(-50%); }
.hamburger span:nth-child(3) { top: 27px; transform: translateX(-50%); }
.hamburger.is-open span:nth-child(1) { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* =========================================================
   5. 各セクション
   ========================================================= */

/* --- ヒーロー --- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 6vw, 90px)) 0 clamp(90px, 10vw, 150px);
  background: linear-gradient(170deg, var(--green-100) 0%, var(--green-50) 45%, var(--cream) 100%);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .5;
}
.hero__blob--1 {
  top: -80px; right: -60px;
  width: 420px; height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(98, 163, 119, .35), transparent 68%);
}
.hero__blob--2 {
  bottom: -120px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle at 60% 40%, rgba(176, 122, 76, .18), transparent 66%);
}

.hero__inner {
  position: relative;
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.hero__tags span {
  padding: 6px 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--green-800);
  background: var(--white);
  border: 1px solid var(--green-200);
  border-radius: 999px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.6vw, 2.875rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .03em;
  color: var(--green-900);
}
.hero__title-sub {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-size: clamp(.875rem, 1.4vw, 1rem);
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--green-700);
}
.hero__title em {
  position: relative;
  color: var(--accent-dk);
}

.hero__lead {
  margin-top: 24px;
  font-size: .9375rem;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--green-200);
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero__visual { position: relative; }
.hero__media {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero__badge {
  position: absolute;
  right: -12px; bottom: -24px;
  width: 132px; height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}
.hero__badge-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
.hero__badge-text { font-size: .6875rem; font-weight: 700; line-height: 1.5; letter-spacing: .06em; }

/* --- お悩み --- */
.problem__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin-inline: auto;
}
.problem__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  font-size: .9375rem;
  font-weight: 500;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.problem__bridge {
  position: relative;
  margin-top: 56px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--green-900);
}
.problem__bridge::before {
  content: "";
  display: block;
  width: 0; height: 0;
  margin: 0 auto 32px;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-top: 24px solid var(--green-200);
}
.problem__bridge strong { color: var(--accent-dk); }

/* --- 選ばれる理由 --- */
.reason__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card--reason {
  position: relative;
  padding: 48px 32px 40px;
  border: 1px solid var(--line);
}
.card__num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green-100);
}

/* カードの要旨を一文字で表す印 */
.card__kanji {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  margin-bottom: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--green-200);
  background: var(--green-50);
  font-family: var(--font-serif);
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1;
  color: var(--green-800);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.card--reason:hover .card__kanji {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--white);
}
.card__title {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .03em;
  color: var(--green-900);
  margin-bottom: 14px;
}
.card__text { font-size: .875rem; color: var(--ink-soft); }

/* --- 事業内容 --- */
.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card--service {
  overflow: hidden;
  border-radius: var(--radius);
}
.card--service .card__body { padding: 28px 26px 32px; }
.card--service .card__title { margin-bottom: 12px; }

/* --- 施工実績 --- */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.work__media img { transition: transform .5s var(--ease); }
.work:hover .work__media img { transform: scale(1.04); }

.work__body { padding: 24px 24px 28px; }
.work__meta {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green-600);
  margin-bottom: 8px;
}
.work__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--green-900);
  margin-bottom: 10px;
}
.work__text { font-size: .8125rem; color: var(--ink-soft); }

.works__note {
  margin-top: 32px;
  text-align: center;
  font-size: .75rem;
  color: var(--muted);
}

/* --- 料金表 --- */
.price__table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.price__table { min-width: 640px; }
.price__table th,
.price__table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.price__table thead th {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--white);
  background: var(--green-700);
  border-bottom: none;
}
.price__table thead th:first-child { border-radius: var(--radius-lg) 0 0 0; }
.price__table thead th:last-child  { border-radius: 0 var(--radius-lg) 0 0; }
.price__table tbody tr:last-child th,
.price__table tbody tr:last-child td { border-bottom: none; }

.price__cat {
  width: 26%;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-900);
  background: var(--green-50);
  border-right: 1px solid var(--line);
}
.price__table td { font-size: .9375rem; color: var(--ink-soft); }
.price__num {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--accent-dk);
  margin-right: 2px;
}
.price__sub {
  display: block;
  font-size: .75rem;
  color: var(--muted);
}

.price__notes {
  margin-top: 28px;
  display: grid;
  gap: 8px;
}
.price__notes li {
  position: relative;
  padding-left: 20px;
  font-size: .8125rem;
  color: var(--muted);
}
.price__notes li::before {
  content: "";
  position: absolute;
  left: 4px; top: .8em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-500);
}

/* --- 施工の流れ --- */
.flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.flow__item {
  position: relative;
  padding: 40px 24px 32px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%; right: -14px;
  width: 0; height: 0;
  transform: translateY(-50%);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 10px solid var(--green-200);
  z-index: 1;
}
.flow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  border-radius: 50%;
}
.flow__title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--green-900);
  margin-bottom: 10px;
}
.flow__text { font-size: .8125rem; color: var(--ink-soft); text-align: left; }

/* --- 社長の一言 --- */
.message__inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.message__visual { position: relative; }
.message__portrait {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--white);
  box-shadow: var(--shadow);
}
.message__portrait img {
  display: block;
  width: 100%;
  height: auto;
}
.message__visual::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1.5px solid var(--green-200);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.message__body .section__label,
.message__body .section__title { text-align: left; }
.message__body .section__title { margin-bottom: 28px; }

.message__quote {
  margin: 0 0 28px;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
}
.message__quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.1vw, 1.5rem);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .04em;
  color: var(--green-900);
}
.message__quote em { color: var(--accent-dk); }

.message__text {
  font-size: .9375rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.message__sign {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--green-200);
}
.message__sign-role { font-size: .75rem; letter-spacing: .1em; color: var(--muted); }
.message__sign-name {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--green-900);
}

/* --- 会社概要 / 対応エリア --- */
.company__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.company__table-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.company__table th,
.company__table td {
  padding: 18px 24px;
  text-align: left;
  font-size: .875rem;
  border-bottom: 1px solid var(--line);
}
.company__table tr:last-child th,
.company__table tr:last-child td { border-bottom: none; }
.company__table th {
  width: 30%;
  font-weight: 700;
  white-space: nowrap;
  color: var(--green-900);
  background: var(--green-50);
}
.company__table td { color: var(--ink-soft); }
.company__table a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.company__table a:hover { color: var(--accent-dk); }

.area {
  padding: 36px 32px;
  background: linear-gradient(160deg, var(--green-800), var(--green-700));
  border-radius: var(--radius-lg);
  color: var(--white);
}
.area__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.area__lead { font-size: .8125rem; color: rgba(255, 255, 255, .78); margin-bottom: 28px; }
.area__block + .area__block { margin-top: 24px; }
.area__pref {
  display: inline-block;
  margin-bottom: 12px;
  padding-bottom: 4px;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .1em;
  border-bottom: 2px solid var(--accent);
}
.area__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.area__tags li {
  padding: 5px 14px;
  font-size: .75rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
}

/* --- FAQ --- */
.faq__list { display: grid; gap: 14px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s var(--ease);
}
.faq__item:hover { box-shadow: var(--shadow-sm); }

.faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  text-align: left;
}
.faq__mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  font-family: var(--font-serif);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  background: var(--green-700);
  border-radius: 50%;
}
.faq__mark--a { background: var(--accent); }

.faq__q-text {
  flex: 1;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--green-900);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 18px; height: 18px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--green-600);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq__icon::before { width: 16px; height: 2px; }
.faq__icon::after  { width: 2px; height: 16px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq__a { overflow: hidden; }
.faq__a-inner {
  display: flex;
  gap: 16px;
  margin: 0 24px;
  padding: 22px 0 26px;
  border-top: 1px dashed var(--line);
}
.faq__a-inner p { font-size: .875rem; color: var(--ink-soft); }

/* --- お問い合わせ --- */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 40px 24px 32px;
  text-align: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.contact__card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .12);
  border-color: var(--green-200);
}
.contact__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-700);
}
.contact__icon svg { width: 26px; height: 26px; }
.contact__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--green-200);
}
.contact__value {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--white);
}
.contact__value--mail { font-size: 1rem; letter-spacing: 0; }
.contact__note { font-size: .75rem; color: rgba(255, 255, 255, .66); }

.contact__foot {
  margin-top: 40px;
  text-align: center;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .72);
}

/* =========================================================
   6. フッター / 固定CTA / トップへ戻る
   ========================================================= */
.footer {
  padding: clamp(56px, 6vw, 80px) 0 32px;
  background: var(--green-900);
  color: rgba(255, 255, 255, .8);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__desc {
  margin: 24px 0 20px;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .68);
}
.footer__address { font-size: .8125rem; line-height: 2; color: rgba(255, 255, 255, .68); }
.footer__address a:hover { color: var(--green-200); }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.footer__col-title {
  margin-bottom: 18px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--white);
}
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { font-size: .8125rem; color: rgba(255, 255, 255, .68); }
.footer__col a:hover { color: var(--white); }

.footer__copy {
  margin-top: 28px;
  text-align: center;
  font-size: .6875rem;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .5);
}

.sticky-cta { display: none; }

.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-800);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), visibility .3s var(--ease),
              transform .3s var(--ease), background-color .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top span {
  width: 10px; height: 10px;
  margin-top: 4px;
  border: solid var(--white);
  border-width: 2px 2px 0 0;
  transform: rotate(-45deg);
}

/* =========================================================
   7. レスポンシブ
   ========================================================= */
@media (max-width: 1080px) {
  .nav__list { gap: 14px; }
  .nav__list a { font-size: .8125rem; }
  .header__tel { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .header__contact { display: none; }
  .hamburger { display: block; }

  /* メニュー展開時もロゴを前面に保つ */
  .site-logo--header { position: relative; z-index: 2; }
  .site-logo--header img { height: 36px; }

  /* ヘッダーの backdrop-filter が包含ブロックになるため、inset ではなく実寸で指定する */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: var(--header-h) 24px 40px;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .35s var(--ease), visibility .35s var(--ease), transform .35s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__list {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .nav__list a { font-size: 1.0625rem; font-weight: 700; color: var(--green-900); }
  .nav__list a::after { display: none; }

  .nav__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(320px, 100%);
  }
  .nav__cta .btn { padding: 14px 24px; font-size: .9375rem; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .hero__badge { width: 104px; height: 104px; right: 0; bottom: -20px; }
  .hero__badge-num { font-size: 2rem; }

  .reason__grid,
  .service__grid,
  .works__grid { grid-template-columns: repeat(2, 1fr); }

  .flow__list { grid-template-columns: repeat(2, 1fr); }
  .flow__item:nth-child(2n)::after { display: none; }

  .message__inner { grid-template-columns: 1fr; }
  .message__visual { max-width: 360px; margin-inline: auto; }
  .message__visual::before { inset: 16px -16px -16px 16px; }

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

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

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

  /* スマホ固定CTA分の余白 */
  body { padding-bottom: 64px; }
  .to-top { bottom: 78px; right: 16px; width: 42px; height: 42px; }

  .sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(30, 58, 42, .12);
  }
  .sticky-cta__item {
    display: grid;
    place-items: center;
    height: 64px;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--white);
  }
  .sticky-cta__item--tel  { background: var(--green-700); }
  .sticky-cta__item--line { background: var(--green-500); }
  .sticky-cta__item--mail { background: var(--accent); }
}

@media (max-width: 700px) {
  body { font-size: 15px; }
  .container,
  .container--narrow,
  .hero__inner { width: min(100%, 100% - 32px); }

  .sp-only { display: inline; }

  .site-logo--header img { height: 32px; }
  .site-logo--loader img { height: 52px; }
  .site-logo--footer img { height: 42px; }

  .problem__list { grid-template-columns: 1fr; }
  .problem__list li { padding: 16px 18px; font-size: .875rem; }

  .reason__grid,
  .service__grid,
  .works__grid { grid-template-columns: 1fr; }
  .works__grid { max-width: 480px; margin-inline: auto; }
  .reason__grid { max-width: 480px; margin-inline: auto; }
  .service__grid { max-width: 480px; margin-inline: auto; }

  .card--reason { padding: 40px 24px 32px; }
  .card__num { font-size: 1.875rem; top: 20px; right: 22px; }

  .flow__list { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .flow__item::after { display: none !important; }
  .flow__item:not(:last-child) { margin-bottom: 22px; }
  .flow__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 50%; bottom: -18px;
    width: 0; height: 0;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 10px solid var(--green-200);
  }

  .company__table th,
  .company__table td { padding: 14px 16px; font-size: .8125rem; }
  .company__table th { width: 32%; }

  .area { padding: 28px 22px; }

  .faq__q { padding: 18px 18px; gap: 12px; }
  .faq__q-text { font-size: .875rem; }
  .faq__mark { width: 28px; height: 28px; font-size: .8125rem; }
  .faq__a-inner { margin: 0 18px; }

  .hero__badge { width: 88px; height: 88px; }
  .hero__badge-num { font-size: 1.625rem; }
  .hero__badge-text { font-size: .625rem; }
  .hero__actions .btn { width: 100%; }

  .message__sign { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* --- アニメーションを抑制する設定 --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- 印刷 --- */
@media print {
  .header, .sticky-cta, .to-top, .loader, .wave { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
  .reveal { opacity: 1; transform: none; }
}
