/* ===== リセット・基本 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink:        #1e2820;
  --ink-light:  #5a6b5e;
  --brown:      #2d5c3a;
  --brown-mid:  #3d7a4f;
  --gold:       #7aab6a;
  --gold-light: #9dc98e;
  --cream:      #eef3ec;
  --cream-dark: #e0eadf;
  --white:      #ffffff;
  --border:     #c8d9c4;
  --red-soft:   #a04040;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  background: #f3f5f0;
  color: var(--ink);
  line-height: 1.85;
  font-size: 15px;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
br.sp-only { display: none; }

.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 88px 28px; }

/* ===== セクション共通見出し ===== */
.section-head { text-align: center; margin-bottom: 60px; }
.section-en {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 12px;
}
.section-title-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.6;
}
.section-rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 18px auto 0;
}
.section-note-sub {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--ink-light);
}

/* ===== お知らせバー ===== */
.announcement-bar {
  background: var(--brown);
  color: rgba(255,255,255,0.88);
  font-size: 0.78rem;
  padding: 9px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  letter-spacing: 0.04em;
}
.announcement-tel {
  color: #b4d9a8;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ===== ヘッダー ===== */
header {
  position: sticky;
  top: 0;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  z-index: 200;
  overflow: visible;
}
.header-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 10px 28px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: visible;
}

/* ロゴ */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-leaf-img {
  width: 60px;
  height: auto;
  max-width: none;
  flex-shrink: 0;
  display: block;
  overflow: visible;
}
.logo-text { line-height: 1.2; padding-top: 12px; }
.logo-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  color: var(--brown);
  display: block;
  letter-spacing: 0.06em;
}
.logo-en {
  font-size: 0.52rem;
  letter-spacing: 0.25em;
  color: var(--ink-light);
  display: block;
  margin-top: 4px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  align-items: center;
}
nav ul li a {
  font-size: 0.82rem;
  color: var(--ink-light);
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
nav ul li a:hover { color: var(--brown); }
.nav-contact-btn {
  background: var(--brown) !important;
  color: var(--white) !important;
  padding: 9px 18px;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
  border: 1px solid var(--brown) !important;
  transition: background 0.2s !important;
}
.nav-contact-btn:hover { background: var(--brown-mid) !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); }

/* ===== ヒーロー ===== */
#hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(247,243,236,0.97) 45%, rgba(247,243,236,0.6) 70%, rgba(247,243,236,0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 28px;
  margin-left: max(28px, calc(50vw - 510px + 28px));
  max-width: 560px;
}
.hero-catch-sub {
  display: inline-block;
  background: var(--brown-mid);
  color: var(--white);
  font-size: 0.72rem;
  padding: 4px 14px;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--brown);
  margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--brown-mid); }
.hero-title .hero-title-red { color: #7b1729 !important; }
.hero-lead {
  font-size: 0.92rem;
  color: var(--ink-light);
  line-height: 2.1;
  margin-bottom: 36px;
}
.hero-cta { display: flex; flex-direction: column; gap: 12px; max-width: 300px; }
.cta-tel {
  display: block;
  background: var(--brown);
  color: var(--white);
  padding: 16px 20px;
  text-align: center;
  line-height: 1.4;
  transition: background 0.2s;
}
.cta-tel:hover { background: var(--brown-mid); }
.cta-tel-label { font-size: 0.72rem; opacity: 0.8; display: block; letter-spacing: 0.08em; }
.cta-tel-num { font-size: 1.3rem; font-weight: 500; display: block; letter-spacing: 0.06em; }
.cta-tel-hours { font-size: 0.7rem; opacity: 0.7; display: block; }
.cta-consult {
  display: block;
  border: 1px solid var(--brown);
  color: var(--brown);
  padding: 12px 20px;
  text-align: center;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}
.cta-consult:hover { background: var(--brown); color: var(--white); }

/* ===== ヒーロー 24時間受付 赤丸 ===== */
.hero-tel-circle {
  position: absolute;
  top: 80px;
  right: max(28px, calc(50vw - 510px + 28px));
  z-index: 2;
}
.hero-tel-circle a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  background: #7b1729;
  border-radius: 50%;
  color: white;
  text-align: center;
  padding: 10px;
  box-shadow: 0 4px 20px rgba(123,23,41,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  line-height: 1.3;
  border: 3px solid #c9a84c;
  outline: 2px solid #c9a84c;
  outline-offset: 4px;
}
.hero-tel-circle a:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(123,23,41,0.55);
}
.htc-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: block;
}
.htc-main2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.0rem;
  font-weight: 600;
  display: block;
}
.htc-sub {
  font-size: 0.65rem;
  opacity: 0.88;
  letter-spacing: 0.02em;
  display: block;
  margin-top: 4px;
}

/* ===== 事前相談・無料バナー ===== */
.free-banner {
  background: #7b1729;
  padding: 20px 28px;
}
.free-banner-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.free-banner-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
}
.free-banner-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.1em;
}
.free-banner-main span {
  font-size: 2.2rem;
  display: inline;
}

/* ===== 3つの安心バー ===== */
.peace-bar {
  background: var(--cream-dark);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--border);
  padding: 28px;
}
.peace-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.peace-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 0 20px;
}
.peace-icon { margin-bottom: 4px; color: var(--brown); }
.peace-icon svg { width: 26px; height: 26px; }
.peace-item strong { font-size: 0.9rem; color: var(--brown); }
.peace-item span { font-size: 0.8rem; color: var(--ink-light); }
.peace-divider { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; }

/* ===== 4つの約束 ===== */
#about { background: var(--white); }
.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
}
.promise-card {
  background: var(--cream);
  padding: 36px 32px;
  border-top: 3px solid var(--gold);
}
.promise-num {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  color: #5a964b;
  line-height: 1;
  margin-bottom: 14px;
}
.promise-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 12px;
  line-height: 1.65;
}
.promise-card p { font-size: 0.87rem; color: var(--ink-light); line-height: 2; }

/* ===== 料金プラン ===== */
#plans { background: var(--cream); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto;
}

/* プランカード（リンク形式） */
.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(107,87,68,0.13);
}
.plan-card.recommended { border-color: var(--brown); border-width: 2px; }

.plan-ribbon {
  position: absolute;
  top: 0; right: 0;
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  padding: 5px 12px;
  letter-spacing: 0.06em;
  z-index: 1;
}

.plan-head {
  padding: 28px 24px 20px;
  background: var(--cream);
  text-align: center;
}
.plan-card.recommended .plan-head { background: var(--brown); }
.plan-tag {
  font-size: 0.72rem;
  color: var(--ink-light);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.plan-card.recommended .plan-tag { color: rgba(255,255,255,0.65); }
.plan-head h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 12px;
}
.plan-card.recommended .plan-head h3 { color: var(--white); }
.plan-price {
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.02em;
}
.plan-card.recommended .plan-price { color: #f0d49a; }
.plan-price small { font-size: 0.78rem; font-weight: 400; }

/* プラン本文 */
.plan-body {
  padding: 20px 24px;
  flex: 1;
  border-top: 1px solid var(--border);
}
.plan-desc {
  font-size: 0.83rem;
  color: var(--ink-light);
  line-height: 1.95;
  margin-bottom: 14px;
}
.plan-items-brief {
  list-style: none;
}
.plan-items-brief li {
  font-size: 0.82rem;
  color: var(--ink-light);
  padding: 7px 0 7px 18px;
  border-bottom: 1px solid var(--cream-dark);
  position: relative;
}
.plan-items-brief li::before {
  content: '―';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
  top: 10px;
}

/* 詳しく見る → */
.plan-link-cta {
  display: block;
  padding: 14px 24px;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  border-top: 1px solid var(--border);
  background: var(--cream);
  transition: background 0.18s, color 0.18s;
  text-align: right;
}
.plan-card:hover .plan-link-cta {
  background: var(--brown);
  color: var(--white);
  border-top-color: var(--brown);
}
.plan-card.recommended .plan-link-cta {
  background: rgba(107,87,68,0.06);
}
.plans-disclaimer {
  text-align: center;
  margin-top: 28px;
  font-size: 0.8rem;
  color: var(--ink-light);
  line-height: 2;
}

/* ===== 全プラン共通 ===== */
.plans-common-box {
  max-width: 1020px;
  margin: 32px auto 0;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px 28px;
}
.plans-common-title {
  font-size: 0.8rem;
  color: var(--ink-light);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.plans-common-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.plans-common-grid span {
  font-size: 0.84rem;
  color: var(--ink);
  padding: 5px 12px 5px 20px;
  background: var(--cream);
  position: relative;
}
.plans-common-grid span::before {
  content: '✓';
  position: absolute;
  left: 6px;
  color: var(--gold);
  font-size: 0.75rem;
}

/* ===== 公営斎場 ===== */
#venue { background: var(--white); }
.venue-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  max-width: 1020px;
  margin: 0 auto;
}
.venue-dl { }
.venue-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.venue-row dt { color: var(--ink-light); font-size: 0.8rem; padding-top: 2px; }
.venue-row dd { color: var(--ink); line-height: 1.7; min-width: 0; overflow-wrap: anywhere; }
.venue-note {
  margin-top: 16px;
  padding: 16px;
  background: var(--cream);
  border-left: 3px solid var(--border);
}
.venue-note p { font-size: 0.78rem; color: var(--ink-light); line-height: 1.8; }

.venue-feature { display: flex; flex-direction: column; gap: 20px; }
.venue-feature-item {
  background: var(--cream);
  padding: 20px 22px;
  border-top: 2px solid var(--gold);
}
.venue-feature-icon { margin-bottom: 10px; color: var(--gold); }
.venue-feature-icon svg { width: 28px; height: 28px; }
.venue-feature-item h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.98rem;
  color: var(--brown);
  margin-bottom: 8px;
}
.venue-feature-item p { font-size: 0.84rem; color: var(--ink-light); line-height: 1.85; }

/* ===== お問い合わせ 補足 ===== */
.contact-sub-info {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-sub-info span { font-size: 0.75rem; color: rgba(255,255,255,0.8); }

/* ===== サービス ===== */
#services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1020px;
  margin: 0 auto;
}
.service-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.07); }
.service-img-wrap {
  height: 160px;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 20px 18px; }
.service-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: var(--brown);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.service-body p { font-size: 0.83rem; color: var(--ink-light); line-height: 1.9; }

/* ===== 流れ ===== */
#flow { background: var(--cream); }
.flow-list { max-width: 700px; margin: 0 auto; }
.flow-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.flow-step:last-child { border-bottom: none; }
.flow-num {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--brown);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
}
.flow-content h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: var(--brown);
  margin-bottom: 8px;
}
.flow-content p { font-size: 0.86rem; color: var(--ink-light); line-height: 2; }

/* ===== ご挨拶 ===== */
#greeting { background: var(--white); }
.greeting-box {
  max-width: 660px;
  margin: 0 auto;
  border-left: 3px solid var(--gold);
  padding: 40px 48px;
  background: var(--cream);
}
.greeting-box p {
  font-size: 0.93rem;
  color: var(--ink);
  line-height: 2.2;
  margin-bottom: 18px;
}
.greeting-box p:last-of-type { margin-bottom: 0; }
.greeting-sign {
  text-align: right;
  color: var(--brown) !important;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem !important;
  margin-top: 24px !important;
}

/* ===== FAQ ===== */
#faq { background: var(--cream); }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  letter-spacing: 0.02em;
}
.faq-icon {
  font-size: 1.2rem;
  color: var(--brown-mid);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding-bottom: 20px;
  font-size: 0.87rem;
  color: var(--ink-light);
  line-height: 2;
}
.faq-a.open { display: block; }

/* ===== お問い合わせ ===== */
#contact { background: var(--white); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}
.contact-tel-panel {
  background: var(--brown);
  color: var(--white);
  padding: 40px 24px;
  text-align: center;
}
.contact-tel-label { font-size: 0.82rem; opacity: 0.75; margin-bottom: 14px; display: block; }
.contact-tel-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.contact-tel-panel small { font-size: 0.75rem; opacity: 0.6; }
.form-heading { font-size: 0.88rem; color: var(--ink-light); margin-bottom: 20px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 0.83rem; margin-bottom: 6px; color: var(--ink); }
.req { color: var(--red-soft); font-size: 0.72rem; margin-left: 5px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-family: inherit;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--brown);
}
.form-row textarea { height: 110px; resize: vertical; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--brown);
  color: var(--white);
  border: none;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--brown-mid); }
.form-success { display: none; text-align: center; padding: 48px 20px; }
.success-mark { font-size: 2rem; margin-bottom: 16px; color: var(--gold); }
.form-success p { font-size: 0.88rem; color: var(--ink-light); line-height: 2.2; }

/* ===== フッター ===== */
footer {
  background: var(--brown);
  color: rgba(255,255,255,0.55);
  padding: 52px 28px 28px;
}
.footer-inner { max-width: 1020px; margin: 0 auto; text-align: center; }
.footer-logo { margin-bottom: 28px; }
.footer-logo-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  display: block;
}
.footer-logo-en {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-top: 5px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 28px;
}
.footer-nav a { font-size: 0.78rem; color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-tel-wrap { margin-bottom: 24px; }
.footer-tel-wrap small { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.72); margin-bottom: 5px; }
.footer-tel { font-size: 1.25rem; color: #b4d9a8; letter-spacing: 0.06em; }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.7); }

/* ===== レスポンシブ（スマホ） ===== */
@media (max-width: 768px) {
  section { padding: 64px 20px; }
  .section-title-text { font-size: 1.45rem; }

  .hamburger { display: flex; }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px 28px;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  }
  nav ul.open { display: flex; }

  #hero { min-height: auto; }
  .hero-overlay { background: linear-gradient(to bottom, rgba(247,243,236,0.95) 60%, rgba(247,243,236,0.7) 100%); }
  .hero-bg-img { object-position: center top; }
  .hero-content { padding: 48px 20px 160px; max-width: 100%; }
  .hero-title { font-size: 1.85rem; }
  .hero-cta { max-width: 100%; }
  .hero-tel-circle { top: auto; bottom: 16px; right: 16px; }
  .hero-tel-circle a { width: 120px; height: 120px; }
  .htc-main { font-size: 1.1rem; }
  .htc-main2 { font-size: 0.85rem; }

  .peace-inner { flex-direction: column; gap: 16px; }
  .peace-divider { width: 60px; height: 1px; }

  .promise-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .venue-grid { grid-template-columns: 1fr; }
  .venue-row { grid-template-columns: 70px 1fr; }
  .greeting-box { padding: 28px 24px; }
  .greeting-box p { line-height: 1.85; margin-bottom: 14px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===== プランモーダル ===== */
.plan-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.plan-modal-overlay.is-open { display: flex; }

.plan-modal-box {
  background: var(--white);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.plan-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}
.plan-modal-close:hover { background: rgba(0,0,0,0.85); }

/* チラシ画像をそのまま表示 */
.plan-modal-chirashi {
  width: 100%;
  height: auto;
  display: block;
}

.plan-modal-detail-btn {
  display: block;
  text-align: center;
  background: var(--brown);
  color: #fff;
  padding: 14px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}
.plan-modal-detail-btn:hover { background: var(--brown-mid); }

/* ===== チラシ形式 料金プランセクション ===== */
.cp-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.cp-section-head {
  background: #2d5c3a;
  color: var(--white);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cp-section-label {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.cp-section-sub {
  font-size: 0.78rem;
  opacity: 0.75;
}

/* 4列料金グリッド */
.cp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  align-items: stretch;
}
.cp-col {
  display: block;
  text-align: center;
  padding: 36px 12px 20px;
  border-right: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s;
  position: relative;
}
.cp-col:last-child { border-right: none; }
.cp-col:hover { background: #f0f5f1; }
.cp-col--featured {
  background: #f9f6f1;
  border: 2px solid #7b1729;
}
.cp-col--featured:hover { background: #f0f0e8; }
.cp-badge {
  font-size: 0.62rem;
  color: var(--white);
  background: #7b1729;
  padding: 6px 4px;
  display: block;
  letter-spacing: 0.02em;
  position: absolute;
  top: 0;
  left: -2px;
  right: -2px;
  text-align: center;
  white-space: nowrap;
  line-height: 1.4;
  overflow: hidden;
}
.cp-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.cp-price {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.cp-price--featured { color: #8b1a1a; }
.cp-man { font-size: 1rem; font-weight: 400; }
.cp-tax {
  font-size: 0.72rem;
  color: var(--ink-light);
  margin-bottom: 14px;
}
.cp-cta {
  font-size: 0.75rem;
  color: var(--brown);
  border: 1px solid var(--brown);
  padding: 4px 14px;
  display: inline-block;
  transition: all 0.18s;
}
.cp-col:hover .cp-cta { background: var(--brown); color: var(--white); }
.cp-cta--featured { color: #2d5c3a; border-color: #2d5c3a; }
.cp-col--featured:hover .cp-cta { background: #2d5c3a; color: var(--white); }

/* 共通して含まれるもの アイコン行 */
.cp-common-head {
  background: #2d5c3a;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 8px 20px;
}
.cp-icons-img-wrap {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.cp-icons-img {
  width: 100%;
  height: auto;
  display: block;
}
.cp-icons-img--mobile { display: none; }
.cp-icons-img--mobile + .cp-icons-img--mobile { margin-top: 8px; }
.cp-item {
  text-align: center;
  padding: 16px 8px 14px;
  border-right: 1px solid var(--border);
}
.cp-item:last-child { border-right: none; }
.cp-icon {
  width: 36px;
  height: 36px;
  display: block;
  margin: 0 auto 6px;
  color: #2d5c3a;
  stroke: #2d5c3a;
}
.cp-item-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.cp-item-sub {
  font-size: 0.66rem;
  color: var(--ink-light);
}

/* プランごとの内容 比較表 */
.cp-compare-head {
  background: #2d5c3a;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 8px 20px;
}
.cp-compare-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.cp-compare-col {
  padding: 16px 14px;
  border-right: 1px solid var(--border);
}
.cp-compare-col:last-child { border-right: none; }
.cp-compare-col--featured { background: #fafaf5; }
.cp-compare-colhead {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-light);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.cp-compare-colhead--featured {
  color: #2d5c3a;
  border-bottom-color: #2d5c3a;
}
.cp-compare-col ul { list-style: none; }
.cp-compare-col ul li {
  font-size: 0.78rem;
  color: var(--ink-light);
  padding: 4px 0;
  border-bottom: 1px dotted var(--cream-dark);
}
.cp-compare-col ul li:last-child { border-bottom: none; }
.cp-add { color: #2d5c3a !important; }

/* 免責事項 */
.plans-disclaimer {
  font-size: 0.76rem;
  color: var(--ink-light);
  line-height: 1.9;
  padding: 14px 20px;
  background: #fafaf8;
  border-top: 1px solid var(--border);
}

/* ===== チラシ形式 流れセクション ===== */
.flow-img-wrap {
  overflow: hidden;
}
.flow-img {
  width: 100%;
  height: auto;
  display: block;
}
.flow-img--mobile { display: none; }
.flow-img--mobile + .flow-img--mobile { margin-top: 12px; }
.fc-step {
  text-align: center;
  flex: 1;
  min-width: 100px;
  max-width: 160px;
  padding: 0 6px;
}
.fc-num {
  width: 36px;
  height: 36px;
  background: #2d5c3a;
  color: var(--white);
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.fc-icon {
  width: 52px;
  height: 52px;
  display: block;
  margin: 0 auto 10px;
  color: #2d5c3a;
  stroke: #2d5c3a;
}
.fc-label {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.fc-desc {
  font-size: 0.76rem;
  color: var(--ink-light);
  line-height: 1.7;
}
.fc-arrow {
  font-size: 1.4rem;
  color: var(--gold);
  align-self: center;
  flex-shrink: 0;
  margin-top: -24px;
  padding: 0 4px;
}

/* 赤丸電話ボタン */
.tel-circle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin: 16px auto 0;
  width: fit-content;
}
.tel-circle-icon {
  width: 90px;
  height: 90px;
  background: #c0392b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(192,57,43,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tel-circle-btn:hover .tel-circle-icon {
  transform: scale(1.07);
  box-shadow: 0 6px 20px rgba(192,57,43,0.5);
}
.tel-circle-icon svg {
  width: 44px;
  height: 44px;
  fill: white;
  stroke: none;
}
.tel-circle-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: #c0392b;
  letter-spacing: 0.06em;
}
.tel-circle-hours {
  font-size: 0.72rem;
  color: var(--ink-light);
  letter-spacing: 0.06em;
  margin-top: -6px;
}
.contact-tel-panel .tel-circle-num { color: var(--white); }
.contact-tel-panel .tel-circle-hours { color: rgba(255,255,255,0.8); }

/* 無料バッジ */
.badge-free {
  display: inline-block;
  background: #c0392b;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  vertical-align: middle;
  margin-left: 6px;
}

/* 公営斎場写真グリッド */
.venue-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.venue-photo {
  position: relative;
  overflow: hidden;
}
.venue-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.venue-photo-caption {
  display: block;
  background: var(--brown);
  color: white;
  font-size: 0.72rem;
  padding: 6px 10px;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .cp-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-common-row { grid-template-columns: repeat(4, 1fr); }
  .cp-common-row .cp-item:nth-child(4) { border-right: none; }
  .cp-compare-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-section-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .fc-arrow { display: none; }
  .flow-chirashi { gap: 20px; }
  .venue-photos { grid-template-columns: 1fr; }

  /* 共通アイコン・流れ画像：スマホは2枚に分けて大きく表示（アイコン1個あたりの大きさを揃える） */
  .cp-icons-img--desktop, .flow-img--desktop { display: none; }
  .cp-icons-img--mobile, .flow-img--mobile { display: block; }
  .cp-icons-img--mobile-2 { width: 74.61%; margin-left: auto; margin-right: auto; }
  .flow-img--mobile-2 { width: 66.27%; margin-left: auto; margin-right: auto; }

  /* 祭壇写真：スマホは全体が見えるようトリミングせず表示 */
  .venue-photo img { height: auto; object-fit: contain; background: var(--cream); }

  /* バッジ文言が2列レイアウトで折り返せず切れるため、折り返し許可＋上余白を調整 */
  .cp-badge { white-space: normal; line-height: 1.3; padding: 4px 4px; }
  .cp-col--featured { padding-top: 54px; }

  /* 流れ画像：分割後も囲み線が分かるように */
  .flow-img--mobile { border: 1px solid var(--border); }

  /* スマホ用の改行・折り返し禁止指定 */
  br.sp-only { display: block; }
  .sp-nowrap { white-space: nowrap; }
  .section-title-text.sp-nowrap { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .cp-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-common-row { grid-template-columns: repeat(2, 1fr); }
}

/* ===== スマホ用：画面下に固定表示する電話ボタン ===== */
.sp-call-bar { display: none; }
@media (max-width: 768px) {
  .sp-call-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    min-height: 60px;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--brown);
    color: var(--white);
    border-top: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 -3px 12px rgba(0,0,0,0.18);
    text-decoration: none;
    transition: transform 0.2s ease;
  }
  .sp-call-bar:active { background: var(--brown-mid); }
  .sp-call-bar-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c0392b;
  }
  .sp-call-bar-icon svg { width: 22px; height: 22px; fill: var(--white); }
  .sp-call-bar-text { display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
  .sp-call-bar-text small { font-size: 0.7rem; color: rgba(255,255,255,0.9); letter-spacing: 0.06em; }
  .sp-call-bar-text strong { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.04em; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  body.is-typing .sp-call-bar { transform: translateY(110%); }
}
@media (max-width: 768px) and (max-height: 430px) {
  .sp-call-bar { display: none; }
  body { padding-bottom: 0; }
}
