/* ===== tree-burial.css — 樹木葬 特設ページ ===== */

:root {
  --tb-bg:       #f2f5f0;
  --tb-bg-dark:  #e8ede4;
  --tb-accent:   #3d6b4f;
  --tb-accent2:  #2d5039;
  --tb-stone:    #6b7c6e;
  --tb-text:     #2a3428;
  --tb-text-muted: #627060;
  --tb-border:   rgba(61,107,79,0.22);
}

/* Hero */
.tb-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}

.tb-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://hokyoji23-24.my.canva.site/images/9c6eb08db2333b5514289c99f7776a1c.jpg');
  background-size: cover;
  background-position: center;
  animation: heroZoom 14s ease-out forwards;
}

.tb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg,
    rgba(20,35,25,0.85) 0%,
    rgba(40,90,55,0.35) 55%,
    rgba(20,30,22,0.80) 100%);
}

.tb-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.tb-hero-label {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  color: rgba(140,200,160,0.9);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.tb-hero-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.6;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.tb-hero-title span {
  display: block;
}

.tb-hero-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(253,250,244,0.80);
  letter-spacing: 0.15em;
  line-height: 2;
}

/* Body */
body.tb-page {
  background: var(--tb-bg);
  color: var(--tb-text);
}

/* Section 共通 */
.tb-section {
  padding: 100px 0;
}

.tb-section--alt {
  background: var(--tb-bg-dark);
}

.tb-section--dark {
  background: var(--tb-accent);
  color: #fff;
}

.tb-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.tb-label {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  color: var(--tb-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.tb-section--dark .tb-label {
  color: rgba(255,255,255,0.7);
}

.tb-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--tb-text);
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 32px;
}

.tb-section--dark .tb-title {
  color: #fff;
}

.tb-title-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--tb-accent);
  margin: 16px 0 32px;
}

.tb-section--dark .tb-title-line {
  background: rgba(255,255,255,0.5);
}

.tb-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  line-height: 2.2;
  color: var(--tb-text);
  letter-spacing: 0.06em;
}

/* 「樹木葬とは」 */
.tb-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.tb-intro-photo {
  position: relative;
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
}

.tb-intro-photo-bg {
  width: 100%;
  height: 100%;
  background-image: url('https://hokyoji23-24.my.canva.site/images/143bf6f4b388372a18aaf03dd04e5c7e.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

/* 特長 */
.tb-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.tb-feature {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 8px;
}

.tb-feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tb-feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
}

.tb-feature-name {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.tb-feature-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.8;
}

/* 料金テーブル */
.tb-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 0.9rem;
}

.tb-price-table th,
.tb-price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--tb-border);
}

.tb-price-table th {
  background: rgba(61,107,79,0.10);
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  color: var(--tb-text);
  letter-spacing: 0.08em;
  width: 35%;
}

.tb-price-table td {
  color: var(--tb-text);
}

.tb-price-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--tb-text-muted);
  line-height: 1.8;
}

/* 流れ */
.tb-steps {
  display: flex;
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.tb-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--tb-border);
}

.tb-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.tb-step-num {
  width: 72px;
  height: 72px;
  background: var(--tb-accent);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Shippori Mincho B1', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}

.tb-step-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--tb-text);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.tb-step-desc {
  font-size: 0.8rem;
  color: var(--tb-text-muted);
  line-height: 1.7;
}

/* フォーム */
.tb-form-wrap {
  max-width: 600px;
  margin: 48px auto 0;
  background: #fff;
  border: 1px solid var(--tb-border);
  border-radius: 8px;
  padding: 48px;
}

.tb-form-group {
  margin-bottom: 24px;
}

.tb-form-label {
  display: block;
  font-size: 0.875rem;
  color: var(--tb-text);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.tb-form-label span {
  color: var(--tb-accent);
  margin-left: 4px;
  font-size: 0.75rem;
}

.tb-form-input,
.tb-form-select,
.tb-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--tb-border);
  border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: var(--tb-text);
  background: var(--tb-bg);
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.tb-form-input:focus,
.tb-form-select:focus,
.tb-form-textarea:focus {
  outline: none;
  border-color: var(--tb-accent);
}

.tb-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.tb-form-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--tb-accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.tb-form-btn:hover {
  background: var(--tb-accent2);
}

body.tb-page #nav.scrolled {
  background: rgba(20,35,25,0.96);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .tb-container { padding: 0 20px; }
  .tb-section { padding: 72px 0; }
  .tb-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .tb-intro-photo { height: 240px; }
  .tb-features { grid-template-columns: 1fr; gap: 20px; }
  .tb-steps { flex-direction: column; gap: 32px; }
  .tb-steps::before { display: none; }
  .tb-form-wrap { padding: 28px 20px; }
}
