@charset "UTF-8";

/* ==============================
   Design tokens
   ============================== */
:root {
  --bg: #faf7f1;
  --bg-soft: #f3eee3;
  --ink: #2b2a26;
  --ink-soft: #5f5b51;
  --line: #e3dccb;
  --green: #41604f;
  --green-dark: #344f3f;
  --green-pale: #e7eee9;
  --brass: #c9a86a;
  --cta: #c0563f;
  --cta-dark: #a8452f;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 42, 38, 0.1);
  --shadow-soft: 0 4px 16px rgba(43, 42, 38, 0.07);
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  /* 英字アクセント用のセリフ体 */
  --font-en: "Cormorant Garamond", "Shippori Mincho", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  /* 表示時に画面全体をフェードイン(JSが is-loaded を付与) */
  opacity: 0;
}
body.is-loaded { opacity: 1; transition: opacity 0.7s ease; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; color: inherit; cursor: pointer; border: none; background: none; }

.inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* スマホ専用の改行・非表示ユーティリティ */
.sp-only { display: none; }
@media (max-width: 768px) {
  .sp-only { display: inline; }
  .sp-hide { display: none; }
}

/* ==============================
   見出し
   ============================== */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .en {
  display: block;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sec-head .ja {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  line-height: 1.5;
}
.sec-head .lead { margin-top: 18px; color: var(--ink-soft); font-size: 15px; }

section { padding: 96px 0; }

/* ==============================
   Header
   ============================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
/* ファーストビュー上では白文字 */
.header:not(.is-scrolled) .logo { color: var(--white); }
.header:not(.is-scrolled) .menu-btn span { background: var(--white); }
/* スクロール後は背景付き+通常配色 */
.header.is-scrolled {
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  padding: 12px 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  color: var(--green);
  transition: color 0.3s;
}
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}
.logo-text small {
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--brass);
}

.gnav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.gnav a { font-size: 13.5px; font-weight: 500; position: relative; padding: 4px 0; white-space: nowrap; transition: color 0.3s; }
@media (min-width: 921px) {
  .header:not(.is-scrolled) .gnav a:not(.nav-cta) { color: var(--white); }
}
/* モバイルメニュー展開時は常に濃色 */
.menu-btn.is-open span { background: var(--ink) !important; }
/* メニュー展開中は backdrop-filter を外す
   (fixed なメニューの基準が header になり、背景が欠ける問題の対策) */
.header.menu-open {
  backdrop-filter: none;
  background: transparent;
  box-shadow: none;
}
.gnav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}
.gnav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.gnav a.nav-cta {
  background: var(--cta);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(192, 86, 63, 0.35);
  transition: transform 0.2s, background 0.2s;
}
.gnav a.nav-cta:hover { background: var(--cta-dark); transform: translateY(-2px); }

/* ハンバーガー */
.menu-btn { display: none; z-index: 110; width: 44px; height: 44px; position: relative; }
.menu-btn span {
  position: absolute; left: 10px;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: 0.3s;
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 30px; }
.menu-btn.is-open span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* ==============================
   Hero
   ============================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 6vw 90px;
  overflow: hidden;
  color: var(--white);
  background: #3a3a34;
}
.hero-bg {
  position: absolute;
  inset: -4%;
  /* 写真を上層に、未配置時用のイラストを下層に重ねる */
  background-color: #3a3a34;
  background-image: url(../images/photo-ldk.jpg), url(../images/hero.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(18, 22, 18, 0.78) 0%, rgba(18, 22, 18, 0.5) 55%, rgba(18, 22, 18, 0.28) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.hero-copy .sub,
.hero-copy .hero-cta-group {
  opacity: 0;
  transform: translateY(26px);
  animation: fadeUp 0.9s ease forwards;
}
.hero-copy .sub { animation-delay: 2.1s; }
.hero-copy .hero-cta-group { animation-delay: 2.35s; }

/* 一文字ずつの出現(JSが span.char に分割し delay を付与) */
.char {
  display: inline-block;
  opacity: 0;
}
.catch .char {
  transform: translateY(0.35em);
  animation: charIn 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes charIn {
  to { opacity: 1; transform: none; }
}
/* 英文はインクがにじむように */
.hero-script .char {
  transform: translateX(10px);
  filter: blur(4px);
  animation: charInk 0.7s ease forwards;
}
@keyframes charInk {
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}
.hero-copy .catch {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-copy .sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15.5px;
  margin-bottom: 34px;
  max-width: 30em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cta);
  color: var(--white);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  padding: 17px 38px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(192, 86, 63, 0.4);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn-primary .arrow, .btn-ghost .arrow { line-height: 1; }
.btn-primary:hover {
  background: var(--cta-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(192, 86, 63, 0.45);
}
.btn-primary .arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
  padding: 15.5px 38px;
  border-radius: 999px;
  border: 1.5px solid var(--white);
  color: var(--white);
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-ghost .arrow { transition: transform 0.2s; }
.btn-ghost:hover .arrow { transform: translateX(4px); }
/* ヒーローの2ボタンは同サイズで横並び */
.hero-cta-group .btn-primary,
.hero-cta-group .btn-ghost {
  width: 230px;
  max-width: 100%;
}
/* メインビジュアルの英字アクセント */
.hero-script {
  font-family: var(--font-en);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: 0.14em;
  color: #ecd29a;
  line-height: 1.3;
  margin-bottom: 14px;
}

/* スクロールサイン */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.85);
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 実績ティッカー(信頼バー) */
.trust-bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  color: var(--ink);
  opacity: 0;
  animation: fadeUp 0.9s ease 2.6s forwards;
}
.trust-item {
  flex: 1 1 200px;
  text-align: center;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; }
.trust-item .num {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}
.trust-item .num small { font-size: 16px; margin-left: 2px; }
.trust-item .label { font-size: 12.5px; color: var(--ink-soft); }

/* ==============================
   選ばれる理由
   ============================== */
.reason { background: var(--white); }
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reason-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.reason-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.reason-card .icon {
  width: 84px; height: 84px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--green-pale);
  display: grid;
  place-items: center;
}
.reason-card .icon svg { width: 42px; height: 42px; }
.reason-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  margin-bottom: 12px;
  line-height: 1.6;
}
.reason-card p { font-size: 14px; color: var(--ink-soft); text-align: left; }

/* ==============================
   サービス
   ============================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover { border-color: var(--brass); transform: translateY(-4px); }
.service-card .body { padding: 24px 26px 28px; }
.service-photo { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-photo img { transform: scale(1.05); }
.after-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--white);
}
.service-card .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brass);
  border: 1px solid var(--brass);
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 14px;
}
.service-card h3 { font-family: var(--font-serif); font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 13.5px; color: var(--ink-soft); }
.service-card .price {
  margin-top: 14px;
  font-size: 13px;
  color: var(--green);
  font-weight: 700;
}


/* ==============================
   Before / After
   ============================== */
.beforeafter {
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 168, 106, 0.14), transparent 42%),
    radial-gradient(circle at 88% 86%, rgba(93, 124, 105, 0.35), transparent 50%),
    linear-gradient(135deg, #243029 0%, #3c5446 60%, #2e423a 100%);
  color: var(--bg);
}
.beforeafter .sec-head .ja { color: var(--bg); }
.beforeafter .sec-head .lead { color: rgba(250, 247, 241, 0.7); }

.ba-wrap { max-width: 820px; margin: 0 auto; }
.ba-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}
.ba-slider img { width: 100%; pointer-events: none; }
.ba-after-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 50%);
}
.ba-after-layer img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  transform: translateX(-50%);
}
.ba-handle::after {
  content: "⇆";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.ba-label {
  position: absolute;
  top: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  z-index: 2;
}
.ba-label.before { left: 18px; background: rgba(43, 42, 38, 0.75); color: var(--white); }
.ba-label.after { right: 18px; background: var(--brass); color: var(--white); }
.ba-caption { text-align: center; margin-top: 22px; font-size: 14px; color: rgba(250, 247, 241, 0.85); }

/* ==============================
   施工実績
   ============================== */
.works { background: var(--bg-soft); }
.works-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  color: var(--green);
  background: transparent;
  transition: 0.2s;
}
.filter-btn:hover { background: var(--green-pale); }
.filter-btn.is-active { background: var(--green); color: var(--white); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-card .thumb { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.work-card:hover .thumb img { transform: scale(1.06); }
.work-card .cat {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--green);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}
.work-card .body { padding: 22px 22px 26px; }
.work-card h3 {
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.work-card .meta { font-size: 12.5px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.works-empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* モーダル */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(43, 42, 38, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-card {
  background: var(--white);
  border-radius: 0;
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform 0.3s;
}
.modal.is-open .modal-card { transform: translateY(0); }
.modal-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.modal-body { padding: 28px 32px 36px; }
.modal-body .cat {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.modal-body h3 { font-family: var(--font-serif); font-size: 22px; line-height: 1.6; margin-bottom: 14px; }
.modal-body .desc { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 18px; }
.modal-body dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px 16px;
  font-size: 13.5px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.modal-body dt { color: var(--brass); font-weight: 700; }
.modal-body .tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.modal-body .tags span {
  font-size: 12px;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px 14px;
  color: var(--ink-soft);
}
.modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  font-size: 20px;
  color: var(--white);
  background: var(--ink);
  border-radius: 0;
  z-index: 2;
  float: right;
}
.modal-cta {
  display: block;
  text-align: center;
  margin-top: 24px;
  background: var(--cta);
  color: var(--white);
  font-weight: 700;
  padding: 15px;
  border-radius: 999px;
  transition: background 0.2s;
}
.modal-cta:hover { background: var(--cta-dark); }

/* ==============================
   お客様の声
   ============================== */
.voice-marquee {
  overflow: hidden;
  padding: 8px 0 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.voice-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.voice-marquee:hover .voice-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.voice-card {
  width: min(340px, 78vw);
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.voice-card::before {
  content: "“";
  position: absolute;
  top: 4px; left: 20px;
  font-family: var(--font-serif);
  font-size: 64px;
  color: var(--brass);
  opacity: 0.5;
  line-height: 1;
}
.voice-card .stars { color: var(--brass); letter-spacing: 3px; margin-bottom: 12px; font-size: 15px; }
.voice-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.voice-card .who { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; }
.voice-card .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 16px;
  flex-shrink: 0;
}

/* ==============================
   流れ
   ============================== */
.flow { background: var(--white); }
.flow-list { max-width: 760px; margin: 0 auto; counter-reset: step; }
.flow-item {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px dashed var(--line);
  counter-increment: step;
}
.flow-item:last-child { border-bottom: none; }
.flow-item .step-no {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
}
.flow-item .step-no::before { content: counter(step, decimal-leading-zero); }
.flow-item h3 { font-family: var(--font-serif); font-size: 18px; margin-bottom: 6px; }
.flow-item h3 small {
  font-family: var(--font-sans);
  font-size: 11.5px;
  color: var(--white);
  background: var(--brass);
  border-radius: 999px;
  padding: 2px 12px;
  margin-left: 10px;
  vertical-align: 2px;
}
.flow-item p { font-size: 14px; color: var(--ink-soft); }

/* ==============================
   FAQ
   ============================== */
.faq { background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  padding: 20px 56px 20px 24px;
  position: relative;
}
.faq-q::before {
  content: "Q";
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: var(--brass);
  font-size: 20px;
  flex-shrink: 0;
}
.faq-q::after {
  content: "";
  position: absolute;
  right: 24px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  transition: transform 0.3s;
}
.faq-item.is-open .faq-q::after { transform: rotate(-135deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  display: flex;
  gap: 14px;
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--ink-soft);
}
.faq-a-inner::before {
  content: "A";
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: var(--green);
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.4;
}

/* ==============================
   CTA帯 + お問い合わせ
   ============================== */
.cta-band {
  position: relative;
  /* 黒のオーバーレイ */
  background: #171816;
  color: var(--bg);
  text-align: center;
  padding: 88px 24px;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/photo-garden.jpg) center / cover no-repeat;
  opacity: 0.42;
}
.cta-band h2, .cta-band p { text-shadow: 0 1px 14px rgba(20, 32, 24, 0.5); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.4vw, 32px);
  margin-bottom: 14px;
  line-height: 1.7;
}
.cta-band p { font-size: 14.5px; opacity: 0.85; margin-bottom: 30px; }
.cta-band .btn-primary { font-size: 18px; padding: 20px 48px; }
/* ボタンと電話番号を横並びに */
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 48px;
}
.cta-band .tel {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
  text-align: left;
}
.cta-band .tel strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 30px;
  letter-spacing: 0.06em;
}

.contact { background: var(--bg-soft); }
.contact-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 48px 56px;
}
.contact-card .form-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.contact-card .form-note strong { color: var(--cta); }
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-row label .req {
  background: var(--cta);
  color: var(--white);
  font-size: 10.5px;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: 1px;
}
.form-row label .opt {
  background: #b9b3a4;
  color: var(--white);
  font-size: 10.5px;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: 1px;
}
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(65, 96, 79, 0.15);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-submit { text-align: center; margin-top: 30px; }
.form-submit .btn-primary { width: 100%; justify-content: center; font-size: 17px; }
.form-privacy { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 14px; }
.form-thanks {
  display: none;
  text-align: center;
  padding: 40px 0 20px;
}
.form-thanks.is-visible { display: block; }
.form-thanks .icon { font-size: 48px; margin-bottom: 12px; }
.form-thanks h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 10px; }
.form-thanks p { font-size: 14px; color: var(--ink-soft); }

/* ==============================
   Footer
   ============================== */
.footer {
  background: var(--ink);
  color: rgba(250, 247, 241, 0.85);
  padding: 64px 24px 110px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.footer .logo { color: var(--brass); }
.footer .logo-text small { color: rgba(250, 247, 241, 0.55); }
.footer .address { font-size: 13px; margin-top: 16px; line-height: 2.1; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-nav h4 {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--brass);
  margin-bottom: 14px;
  font-family: var(--font-serif);
}
.footer-nav a {
  display: block;
  font-size: 13.5px;
  padding: 5px 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-nav a:hover { opacity: 1; }
.copyright {
  text-align: center;
  font-size: 11.5px;
  opacity: 0.5;
  margin-top: 48px;
  letter-spacing: 0.1em;
}

/* ==============================
   固定CTA(PC: 右下 / SP: 下部バー)
   ============================== */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cta);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 26px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(192, 86, 63, 0.45);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
}
.float-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: ctaPulse 2.8s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(192, 86, 63, 0.45), 0 0 0 0 rgba(192, 86, 63, 0.4); }
  55% { box-shadow: 0 10px 26px rgba(192, 86, 63, 0.45), 0 0 0 14px rgba(192, 86, 63, 0); }
}
.float-cta:hover { background: var(--cta-dark); }

.sp-cta-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(43, 42, 38, 0.15);
  /* 初期状態は画面外。スクロールでファーストビューを過ぎたら表示 */
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.sp-cta-bar.is-visible { transform: translateY(0); }
.sp-cta-bar a {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 6px;
}
/* SVGアイコン共通 */
.icn {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -3px;
  margin-right: 4px;
  flex-shrink: 0;
}
.float-cta .icn { width: 18px; height: 18px; margin-right: 0; }
.sp-cta-bar .tel-link { color: var(--green); border-right: 1px solid var(--line); }
.sp-cta-bar .tel-link small { display: block; font-size: 10px; color: var(--ink-soft); font-weight: 500; }
.sp-cta-bar .form-link { background: var(--cta); color: var(--white); }
.sp-cta-bar .form-link small { display: block; font-size: 10px; opacity: 0.9; font-weight: 500; }

/* ==============================
   スクロールアニメーション
   ============================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-inview { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .float-cta.is-visible, .scroll-hint::after { animation: none; }
  .hero-copy .sub, .hero-copy .hero-cta-group, .trust-bar, .char {
    animation: none; opacity: 1; transform: none; filter: none;
  }
  .voice-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 1024px) {
  .reason-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .menu-btn { display: block; }
  .gnav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: rgba(250, 247, 241, 0.97);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .gnav.is-open { opacity: 1; pointer-events: auto; }
  .gnav a {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.14em;
    padding: 9px 0;
    line-height: 1.4;
  }
  .gnav a.nav-cta {
    font-family: var(--font-sans);
    font-size: 14.5px;
    margin-top: 18px;
    padding: 13px 40px;
  }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  section { padding: 68px 0; }
  .sec-head { margin-bottom: 38px; }

  .hero { padding: 120px 24px 70px; }
  /* モバイルでも2ボタンは横並びを維持 */
  .hero-cta-group { flex-wrap: nowrap; }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-ghost {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 15px;
  }
  .trust-bar { margin-top: 32px; }
  .trust-item { flex: 1 1 50%; border-bottom: 1px solid var(--line); }
  .scroll-hint { display: none; }

  .reason-grid, .service-grid, .works-grid { grid-template-columns: 1fr; }

  /* 見出し下のリード文は左揃え */
  .sec-head .lead { text-align: left; }

  /* 絞り込みタブ「フルリノベーション」は非表示 */
  .filter-btn[data-cat="フルリノベーション"] { display: none; }

  /* お客様の声:自動スクロールをやめて指でスワイプ */
  .voice-marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
    scroll-snap-type: x mandatory;
    padding-left: 24px;
    padding-right: 24px;
  }
  .voice-track { animation: none; }
  .voice-card { scroll-snap-align: center; }

  .flow-item { gap: 16px; }
  .flow-item .step-no { width: 52px; height: 52px; font-size: 18px; }
  /* 「無料」バッジはタイトルの下に縦並び */
  .flow-item h3 small {
    display: table;
    margin: 8px 0 0;
  }

  .contact-card { padding: 34px 22px 42px; }

  .float-cta { display: none; }
  .sp-cta-bar { display: flex; }
  .footer { padding-bottom: 140px; }

  .modal-body { padding: 22px 20px 30px; }
  .modal-body dl { grid-template-columns: 78px 1fr; }
}
