/* ==========================================================
   共通：色・フォント・余白は :root で一括管理
   ========================================================== */
:root {
  /* ブランド（旧サイトより） */
  --color-brand: #a22946;
  --color-brand-soft: #c64f69;
  --color-brand-pale: #FFEEEF;
  --color-brand-dark: #842038;   /* ボタンのグラデーション下側（旧サイトより） */
  --color-brand-purple: #9b3477; /* 旧サイトのサブカラー */

  /* 明るいページ（KV以降） */
  --color-base: #fbf9f3;         /* 生成りの背景（旧サイトより） */
  --color-text: #333333;
  --color-text-sub: #6b6461;
  --color-line: #eadcdf;         /* 淡いピンクの罫線（旧サイトより） */
  --color-line-gray: #e4dfd8;
  --color-card-shadow: rgba(80, 40, 50, 0.08);
  --color-panel-shadow: rgba(80, 40, 50, 0.16);         /* 地図に重ねる白いブロックの影 */
  --color-overlay-dark: rgba(30, 20, 22, 0.45);
  --color-text-on-brand-sub: rgba(255, 255, 255, 0.8);  /* メインカラー背景上の補足文字 */
  --color-line-on-brand: rgba(255, 255, 255, 0.3);      /* メインカラー背景上の罫線 */

  /* ベース */
  --color-ink: #33291f;          /* KVの背景（2026-09-28：暗すぎない、明るめの落ち着いた色に変更） */
  --color-ink-soft: #43362a;
  --color-paper: #f5f1ea;        /* 生成り（次のコンテンツ背景） */
  --color-white: #ffffff;
  --color-text-light: #f3eee6;   /* 暗い背景上の文字 */
  --color-text-muted: rgba(243, 238, 230, 0.62);
  --color-line-light: rgba(243, 238, 230, 0.28);
  --color-bg-hover-light: rgba(243, 238, 230, 0.08);   /* 暗い背景上のホバー */
  --color-overlay-ink: rgba(22, 19, 15, 0.94);         /* メニューの背景 */
  --color-shadow-text: rgba(0, 0, 0, 0.35);            /* 文字の影 */
  --color-shadow-tel: rgba(70, 8, 28, 0.85);           /* 電話番号の影（メインカラーの濃い色） */
  --color-overlay-banner: rgba(40, 20, 26, 0.7);       /* KVバナー下側の文字用グラデーション */
  --color-overlay-white: rgba(255, 255, 255, 0.55);       /* 下層ページの見出し写真の上に重ねる白のベール */
  --color-overlay-modal: rgba(30, 20, 24, 0.6);        /* 詳細ウィンドウの背景 */
  --color-required: #db3025;                          /* フォーム：必須バッジ・エラー文 */
  --color-optional: #777777;                          /* フォーム：任意バッジ */
  --color-overlay-white-strong: rgba(255, 255, 255, 0.9);  /* 写真の上に置く文字パネルの背景 */
  --color-shade: rgba(22, 19, 15, 0.78);               /* 文字の背後のぼかし */

  /* 3D空間の素材色（JSからも読み込む・2026-09-28：暗すぎない明るめの色に変更） */
  --color-3d-floor: #a68b72;     /* 明るめの木（2026-09-29：さらに明るく） */
  --color-3d-wood: #a58c76;
  --color-3d-wall: #e6e0d5;      /* warm gray（明るめ） */
  --color-3d-ceiling: #d3cabb;
  --color-3d-stone: #f0ebe2;     /* natural stone / white */
  --color-3d-light: #ffefd9;     /* 暖白の光 */
  --color-3d-fog: #f4e7cf;
  --color-3d-flower-white: #f8f4ee;
  --color-3d-flower-pink: #efc6cd;
  --color-3d-flower-cream: #f3e6cf;
  --color-3d-leaf: #56624a;
  --color-3d-chair: #a89e93;
  --color-3d-flower-lilac: #eee4f6;  /* 祭壇の翼の花に掛ける薄い藤色 */
  --color-3d-cloth: #f6f3f8;         /* 祭壇のクロス・遺影の白 */
  --color-3d-curtain: #f7f4ee;       /* 祭壇背後のカーテン */
  --color-3d-frame: #1c1916;         /* 遺影フレーム */

  /* フォント */
  --font-mincho: "Zen Old Mincho", "Yu Mincho", "YuMincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;

  /* 余白 */
  --gutter: clamp(16px, 4vw, 56px);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

/* Lenis（スクロールの慣性）の推奨CSS */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--color-brand-pale);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================
   共通パーツ（common__）
   ========================================================== */
.common__inner {
  width: min(1120px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.common__section {
  padding-block: 120px;
}
@media (max-width: 767px) {
  .common__section {
    padding-block: 72px;
  }
}

/* 見出し：英字ラベル＋明朝の日本語 */
.common__heading {
  text-align: center;
  margin: 0 0 56px;
}
@media (max-width: 767px) {
  .common__heading {
    margin-bottom: 36px;
  }
}

.common__heading--left {
  text-align: left;
}

.common__heading-en {
  display: block;
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--color-brand);
  margin-bottom: 14px;
}
@media (max-width: 767px) {
  .common__heading-en {
    font-size: 13px;
    margin-bottom: 10px;
  }
}

.common__heading-ja {
  display: block;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--color-text);
}
@media (max-width: 767px) {
  .common__heading-ja {
    font-size: 24px;
  }
}

.common__lead {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: 15px;
  line-height: 2.1;
  color: var(--color-text-sub);
}
@media (max-width: 767px) {
  .common__lead {
    font-size: 14px;
    line-height: 1.95;
    text-align: left;
  }
}

/* ボタン */
.common__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 280px;
  padding: 18px 32px;
  border: 1px solid var(--color-brand);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-brand);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.common__btn:hover {
  background: var(--color-brand);
  color: var(--color-white);
}
@media (max-width: 767px) {
  .common__btn {
    min-width: 0;
    width: 100%;
    padding: 16px 24px;
    font-size: 14px;
  }
}

.common__btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.common__btn-wrap {
  margin-top: 56px;
  text-align: center;
}
@media (max-width: 767px) {
  .common__btn-wrap {
    margin-top: 36px;
  }
}

/* PC / SP の出し分け */
.common__sp {
  display: none;
}
@media (max-width: 767px) {
  .common__sp {
    display: inline;
  }
}

@media (max-width: 767px) {
  .common__pc {
    display: none;
  }
}

/* スクロールで現れる */
.common__fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.common__fade.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .common__fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
