:root {
  --main: #9b6a43;
  --main-dark: #6f4a2f;
  --accent: #f4c98b;
  --bg: #fffaf3;
  --text: #2f2924;
  --muted: #6f665f;
  --card: #ffffff;
  --line: #eadfcc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  color: var(--main-dark);
  letter-spacing: 0.03em;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.tel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--main);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(111, 74, 47, 0.18);
}

.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 85% 20%, rgba(244,201,139,0.35), transparent 32%),
    linear-gradient(135deg, #fffaf3 0%, #fff1dc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "badge   image"
    "title   image"
    "desc    image"
    "actions image";
  column-gap: 56px;
  align-items: start;
}

.hero-grid > .badge       { grid-area: badge; justify-self: start; }
.hero-grid > h1           { grid-area: title; }
.hero-grid > p            { grid-area: desc; }
.hero-grid > .hero-actions { grid-area: actions; }
.hero-card                { grid-area: image; align-self: center; }

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--main-dark);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 800;
}

.primary-button {
  background: var(--main);
  color: #fff;
  box-shadow: 0 10px 24px rgba(111, 74, 47, 0.2);
}

.secondary-button {
  background: #fff;
  color: var(--main-dark);
  border: 1px solid var(--line);
}

.hero-card {
  position: relative;
  display: grid;
  place-items: center;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: 24px;
  border: 2px dashed #d8c5aa;
  background:
    linear-gradient(135deg, rgba(244,201,139,0.28), rgba(255,255,255,0.7)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(155,106,67,0.04) 12px 24px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--main-dark);
  font-weight: 800;
}

.section {
  padding: 78px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title span {
  display: block;
  color: var(--main);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
}

.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.problem,
.service-card,
.price-card,
.staff-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(111, 74, 47, 0.06);
}

.problem {
  font-weight: 700;
  color: var(--main-dark);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff1dc;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 14px;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.service-card p,
.price-card p,
.staff-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* 営業情報セクション */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.info-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 24px rgba(111, 74, 47, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--main);
  letter-spacing: 0.06em;
}

.info-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* お客様の声セクション */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.voice-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(111, 74, 47, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.voice-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin: 0 0 16px;
  flex: 1;
}

.voice-author {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.flow-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  position: relative;
}

.flow-item::before {
  counter-increment: step;
  content: "STEP " counter(step);
  display: inline-block;
  margin-bottom: 10px;
  color: var(--main);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price {
  font-size: 30px;
  font-weight: 900;
  color: var(--main-dark);
  margin: 10px 0 8px;
}

.price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.staff-photo {
  width: 128px;
  height: 128px;
  border-radius: 18px;
  border: 2px dashed #d8c5aa;
  background: #fff1dc;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  color: var(--main-dark);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.cta {
  padding: 70px 0;
  background: var(--main-dark);
  color: #fff;
  text-align: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta p {
  margin: 0 0 28px;
  color: rgba(255,255,255,0.84);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta .primary-button {
  background: #fff;
  color: var(--main-dark);
  box-shadow: none;
}

.cta .secondary-button {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

footer {
  padding: 36px 0;
  background: #2f2924;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* モバイル固定CTAバー */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 16px;
  background: var(--main-dark);
  box-shadow: 0 -4px 20px rgba(111, 74, 47, 0.3);
}

.mobile-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--main-dark);
  font-weight: 800;
  font-size: 17px;
}

@media (max-width: 860px) {
  nav {
    display: none;
  }

  .problems,
  .services,
  .flow,
  .price-grid,
  .staff-grid,
  .info-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "badge"
      "title"
      "image"
      "desc"
      "actions";
  }

  .hero-card {
    margin-bottom: 20px;
  }

  .hero {
    padding: 56px 0;
  }

  .section {
    padding: 56px 0;
  }

  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }
}
