/* ============================================
   川辺畳店(熊本県あさぎり町)LP
   配色: クリーム/緑/ベージュ/茶
============================================ */

:root {
  --bg: #faf6ec;
  --bg-alt: #f3ecd8;
  --card: #ffffff;
  --green: #7a8f63;
  --green-dark: #5a6f48;
  --green-mid: #6b8266;
  --green-light: #cdd9b8;
  --beige: #e8e2d0;
  --gold: #b89a5e;
  --text: #3a3530;
  --text-mute: #6b5d4f;
  --border: #ddd5bf;

  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --max: 1100px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* 共通プレースホルダー(画像差し替え前) */
.img-placeholder {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #d8d2bd, #c8c1aa);
  color: #6b5d4f; font-size: 13px; letter-spacing: 0.05em;
}
.legacy-portrait, .workshop-shot, .ba-img, .contact-shop { position: relative; }

.section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
  letter-spacing: 0.12em;
  position: relative;
  padding-bottom: 16px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

/* ============================================
   ヘッダー
============================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  display: flex; align-items: center; gap: 14px;
}
.logo-mark { width: 56px; height: 56px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
}
.logo-text small {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.15em;
  margin-top: 2px;
}
.header-cta {
  display: none; /* デザインのスクショではヘッダー右にCTAなし扱い、後で出すなら */
}

/* ============================================
   ヒーロー
============================================ */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: center;
}
.hero-text { padding: 16px 0; }
.hero-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  color: var(--text);
}
.hero-lead {
  font-size: 16px;
  line-height: 2;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.hero-image {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-image-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e3dcc4, #cfc7a6);
  color: #6b5d4f; font-size: 14px; letter-spacing: 0.1em;
}
.hero-leaf {
  position: absolute;
  font-size: 80px;
  opacity: 0.3;
  pointer-events: none;
}
.hero-leaf-1 { left: -10px; bottom: -20px; transform: rotate(-15deg); }

/* ============================================
   三代続く / レガシーセクション
============================================ */
.legacy {
  background: var(--bg);
  padding: 48px 24px 64px;
  position: relative;
}
.legacy-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.legacy-badges {
  display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
}
.badge-anniv {
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  background: #f7f0db;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.badge-anniv svg { width: 90%; height: 90%; }
.badge-pill {
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.legacy-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: 0.05em;
}
.legacy-body {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 2.1;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.legacy-points {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.legacy-points li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
}
.legacy-points .check { width: 22px; height: 22px; flex-shrink: 0; }

.legacy-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}

/* 工房写真 */
.workshop-row {
  max-width: var(--max);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.workshop-shot {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
.workshop-shot img,
.contact-shop img,
.legacy-portrait img,
.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   サービス内容
============================================ */
.services {
  background: var(--bg);
  padding: 64px 24px;
  border-top: 1px solid var(--border);
}
.services-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 20px 28px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.service-icon {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: 0.06em;
}
.service-card p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 2;
  letter-spacing: 0.03em;
}

/* ============================================
   強み
============================================ */
.strengths {
  background: var(--bg);
  padding: 48px 24px 64px;
}
.strengths-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.strength-item {
  text-align: center;
}
.strength-circle {
  width: 110px; height: 110px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
}
.strength-circle svg { width: 56px; height: 56px; }
.strength-item h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: 0.06em;
}
.strength-item p {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.9;
  letter-spacing: 0.03em;
}
.strength-item p small { font-size: 11px; opacity: 0.7; }

/* ============================================
   ビフォーアフター
============================================ */
.ba {
  background: var(--bg);
  padding: 48px 24px 64px;
}
.ba-row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.ba-block {
  display: flex; flex-direction: column; gap: 12px;
}
.ba-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-alt);
}
.ba-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(58,53,48,0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 2;
}
.ba-block figcaption {
  font-size: 13px;
  color: var(--text-mute);
  text-align: left;
  padding: 0 4px;
}
.ba-arrow {
  font-size: 28px;
  color: var(--text-mute);
  font-weight: 300;
}

/* ============================================
   お問い合わせ
============================================ */
.contact {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--beige) 100%);
  padding: 56px 24px;
}
.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: 0.08em;
}
.contact-lead {
  font-size: 15px;
  color: var(--text-mute);
  line-height: 2.1;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.contact-actions {
  display: flex; flex-direction: column; gap: 12px;
}
.tel-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.tel-btn svg { width: 28px; height: 28px; }
.tel-label {
  display: inline-block;
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: var(--green);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  vertical-align: middle;
  margin-right: 6px;
}
.tel-note {
  font-size: 12px;
  color: var(--text-mute);
  background: #fff;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 8px;
}
.form-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--green-mid);
  color: #fff;
  font-size: 14px; font-weight: 500;
  padding: 16px 28px;
  border-radius: 8px;
  width: fit-content;
  transition: background 0.2s;
}
.form-btn:hover { background: var(--green-dark); }
.form-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-btn .arrow { margin-left: 6px; font-size: 18px; }

.contact-shop {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}

/* ============================================
   フッター
============================================ */
.site-footer {
  background: var(--green-dark);
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 12px;
  letter-spacing: 0.05em;
  opacity: 0.95;
}

/* ============================================
   レスポンシブ
============================================ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px 40px;
  }
  .hero-title { font-size: 32px; text-align: center; }
  .hero-lead { text-align: center; }

  .legacy-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .legacy-badges { justify-content: center; }
  .legacy-title, .legacy-body { text-align: center; }
  .legacy-points { align-items: center; max-width: 280px; margin: 0 auto; }

  .workshop-row { grid-template-columns: 1fr; gap: 12px; max-width: 420px; }

  .services-grid { grid-template-columns: 1fr; gap: 14px; max-width: 420px; margin: 0 auto; }

  .strengths-grid { grid-template-columns: 1fr; gap: 24px; max-width: 280px; margin: 0 auto; }

  .ba-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ba-arrow { transform: rotate(90deg); margin: 0 auto; }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .contact-title, .contact-lead { text-align: center; }
  .contact-actions { align-items: center; }
  .tel-btn { font-size: 26px; }
  .form-btn { width: 100%; max-width: 320px; justify-content: center; }
  .tel-note { margin: 0 auto 8px; }

  .section-title { font-size: 22px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .legacy-title { font-size: 22px; }
  .badge-anniv { width: 90px; height: 90px; }
  .tel-btn { font-size: 22px; }
  .section-title { font-size: 20px; }
}
