/* =========================
   Reset / Base
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family:"Noto Sans JP",system-ui,-apple-system,Segoe UI,Roboto,"Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
  line-height:1.75;
  font-size:clamp(14px,1.6vw,16px);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;

}

/* =========================
   Header
========================= */
.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;

  min-height: 120px;   
  padding: 20px 0;    
  transition:
    min-height 0.4s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  min-height: 96px;   
  padding-top: 16px;   /* ← 少しだけ上を広く */
  padding-bottom: 12px;     /* ← 余裕を残す */
}



/* 中身制限 */
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center; 
  height: 100%;  
 }

/* ロゴ */
.logo {
  display: flex;
  align-items: center;
  padding-right: 32px;
  font-size: 20px;
  font-weight: bold;
  color: #006633;
  white-space: nowrap;
  margin-left: -24px;
}

/* 右側 */
.header-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 初期 */
  transition: justify-content 0.4s ease;
}

/* =========================
   上段（スクロールで消える）
========================= */
.header-top {
  height: 32px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    height 0.3s ease;
}


.header-top a {
  text-decoration: none;
  color: #006633;
  white-space: nowrap;
}

.site-header.is-scrolled .header-top {
  opacity: 0;
  transform: translateY(-8px);
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.site-header.is-scrolled .header-right {
  justify-content: center;
}

/* =========================
   下段（メインナビ）
========================= */
.header-bottom {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px 0;   /* ← 8〜12pxで調整 */
  justify-content: flex-end;
  position: relative;
  transition:
  transform 0.4s ease;
}

.site-header.is-scrolled .header-bottom {
   transform: translateY(-2px);
}

/* ナビ（左レーン） */
.global-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: flex-end;
  flex: 1;
  padding-right: 0;
  transition: padding-right 0.55s cubic-bezier(.22,.61,.36,1);
}

.site-header.is-scrolled .global-nav {
  padding-right: 96px; /* 火葬予約分 */
}

.global-nav a {
  text-decoration: none;
  color: #222;
  font-size: 17px;
  position: relative;
  white-space: nowrap;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #006633;
  transition: width 0.2s ease;
}

.global-nav a:hover::after {
  width: 100%;
}

/* =========================
   …（右レーン）
========================= */
/* 初期状態：火葬予約は出さない */
.more-wrapper {
  position: absolute;
  right: 0;
  opacity: 0;
  transform: translateX(12px); /* 演出レベル */
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(.22,.61,.36,1);
}

.site-header.is-scrolled .more-wrapper {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.more-wrapper:hover .more-menu,
.more-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* …メニュー（…の真下） */
.more-btn {
  all: unset;                 /* ボタンのクセを消す */
  cursor: pointer;

  font-size: 17px;
  font-weight: 500;
  color: #222;
  white-space: nowrap;

  position: relative;
  line-height: 1;             /* ← 行高も揃う */
}

/* 下線ホバーを他ナビと一致させる */
.more-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #006633;
  transition: width 0.2s ease;
}

.more-btn:hover::after {
  width: 100%;
}

.more-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;

  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);

  box-shadow:
    0 8px 24px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.04);

  padding: 6px 0;
  min-width: 240px;

  /* 👇 ここが重要 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.more-menu a {
  display: flex;
  align-items: center;

  padding: 12px 20px;
  font-size: 15px;
  color: #222;
  text-decoration: none;

  transition:
    background 0.2s ease,
    padding-left 0.2s ease;
}


.more-menu a {
  position: relative;
}

.more-menu::before {
  content: "";
  position: absolute;
  top: -12px;          /* ← 隙間を覆う */
  left: 0;
  right: 0;
  height: 12px;
}


.more-menu a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 1px;
  background: #006633;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.more-menu a:hover::after {
  opacity: 1;
}

.more-menu a + a {
  border-top: 1px solid rgba(0,0,0,0.06);
}

.more-menu a:hover {
  background: rgba(0,102,51,0.06);
  padding-left: 24px;
}

.site-header.is-open .more-menu {
  display: block;
}

/* =========================
   Hero（桜系・最終）
========================= */

.hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  overflow: hidden;
  background-color: #2f4b7c;
}

.hero-slide {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center 65%;
  opacity: 0;

  transition:
    opacity 1.5s ease,
    background-position 18s linear;

  will-change: opacity, background-position;
}

.hero-slide.is-active {
  opacity: 1;
  background-position: center 50%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0)
  );
}

/* =========================
   スクロール長さ保持
========================= */

.content {
  padding: 80px 0;
}

.dummy {
  height: 200vh; /* ← これで確実にスクロールできる */
}

/* =========================
   Footer
========================= */
footer {
  background: #f5f5f5;
  padding: 40px;
  text-align: center;
  font-size: 14px;
  color: #555;
}




.header-top a {
  font-weight: 500;
}



/* ロゴ：基準サイズ */
.logo img {
  height: 44px;                /* 実サイズは控えめ */
  transform: scale(1.5);       /* ← 見た目1.5倍 */
  transform-origin: left center;

  transition:
    transform 0.35s cubic-bezier(.22,.61,.36,1),
    opacity 0.25s ease;
}

/* スクロール後 */
.site-header.is-scrolled .logo img {
  transform: scale(1);         /* ← 元サイズに戻す */
  opacity: 0.95;
}  


.hero { position: relative; }

.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  /* ← これで “1400pxの箱” を解除 */
  max-width: none;
  margin: 0;
  padding: 0;
}

/* 文字だけをヘッダーと同じ柱（1400 + 32px）に揃えて下寄せ */
.hero-text{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;

  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  padding-right: calc(32px + 33.333% + 24px);
}

/* 右下バッジ：画面右端にピッタリ */
.hero-status{
  position:absolute;
  right:0;
  bottom:0;
  width:33.333%;
  min-width:320px;
  padding:16px 24px;
  background:linear-gradient(to bottom,rgba(255,255,255,.92),rgba(248,248,248,.92));
  backdrop-filter:blur(6px) saturate(105%);
  border-top-left-radius:14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 -1px 0 rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  gap:12px;
}

/* 状態色 */
.hero-status.is-open .status-main {
  color: #006633;
}

.hero-status.is-closed .status-main {
  color: #b3261e;
}


/* ===============================
   ヒーロー以下：名古屋型スタイル
   =============================== */

/* コンテンツ共通幅 */
.container {
  max-width: 1400px;
  padding: 0 32px;
  margin: 0 auto;
}

/* パンくず */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 10px 0;
  margin: 0;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 4px;
  color: #999;
}

/* セクション共通 */
.section {
  padding: 24px 0 44px;
  background: #fff;
}


/* 重要なお知らせ帯 */
.notice-strip {
  background: #f7fafc;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

.strip-text {
  margin: 0;
  padding: 12px 0;
  font-size: 15px;
}

.strip-text strong {
  color: #0a73b7;
  margin-right: 8px;
}

/* お知らせ */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e6e6e6;
}

.news-item {
  border-bottom: 1px solid #e6e6e6;
}

.news-link {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  text-decoration: none;
  color: #222;
}

.news-date {
  width: 8em;
  color: #666;
  font-size: 14px;
  flex-shrink: 0;
}

.news-text {
  line-height: 1.6;
}

.news-link:hover .news-text {
  text-decoration: underline;
}

/* ボタン（一覧へ） */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #bcd4e6;
  background: #f4f9ff;
  color: #0a73b7;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover {
  background: #e9f3ff;
}

/* 表（施設概要など） */ .table-wrap { overflow-x: auto; display: flex; justify-content: center; } .table { width: 100%; border-collapse: collapse; border: 1px solid #e6e6e6; border-radius: 14px; overflow: hidden; background: #fff; } .table th, .table td { padding: 12px 14px; border-bottom: 1px solid #e6e6e6; text-align: left; } .table tr:last-child th, .table tr:last-child td { border-bottom: none; } .table th { width: 10em; color: #555; font-weight: 600; background: #f7fafc; }

/* アクセス */
.access-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .access-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.map-wrap {
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.map-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.info-box {
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.info-box a{
  color: #242C2E;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .9;
}
.info-box a:hover{
  opacity: 1;
}

.info-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.def.tight{
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 12px;
}

.def.tight dt,
.def.tight dd{
  padding: 8px 0;
  border-bottom: 1px solid #e6e6e6;
}

.def.tight dt{
  color: #555;
  font-weight: 600;
}

.def.tight dd{
  margin: 0; /* dlの標準余白対策 */
}

.def.tight dt:last-of-type,
.def.tight dd:last-of-type{
  border-bottom: none;
}



.hero-text h1{
  font-family: "Noto Serif JP","Hiragino Mincho ProN","Yu Mincho","MS PMincho",serif;

  font-weight: 400;          /* ← 細め（300〜500で調整可） */
  color: rgba(255,255,255,0.88); /* ← 白の透明感 */
  letter-spacing: .12em;
  line-height: 1.05;
  font-size: clamp(28px, 3.6vw, 52px);

  /* “ガラスっぽさ”を出すための最小限の影 */
  text-shadow:
    0 8px 28px rgba(0,0,0,0.28);
}

@media (max-width: 768px){
  .hero-status{
    width: 100%;
    min-width: 0;
    border-top-left-radius: 0;
  }

  /* これ消す：.hero-overlay{ padding-bottom:96px; } */

  .hero-text{
    bottom: 96px;      /* ← 文字だけ上げる */
    max-width: 100%;
    padding-right: 32px; /* ★スマホはこれでOK */
  }

  .hero-text h1{
    font-size: clamp(24px, 6vw, 38px);
  }
}

/* PC：地図と所在地ボックスの高さを揃える */
@media (min-width: 900px){
  .access-grid{
    align-items: stretch;   /* 同じ行の高さに揃える */
  }

  .map-wrap,
  .info-box{
    height: 100%;
  }

  /* iframeは高さ固定(16:9)をやめて、親と同じ高さに伸ばす */
  .map-frame{
    width: 100%;
    height: 100%;
    min-height: 420px;      /* 好みで 380〜520px くらいで調整 */
    aspect-ratio: auto;     /* 16/9固定を解除 */
    border: 0;
    display: block;         /* 余計な隙間防止 */
  }
}

:root{
  --accent:#242C2E;
  --line:#e6e6e6;
  --muted:#666;
  --bg-soft:#f7f7f7;
}

/* アクセント差し替えしたいなら（任意）
.sec-title{ border-left-color: var(--accent); }
.strip-text strong{ color: var(--accent); }
*/

.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* カレンダー操作 */
.month-controls{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:16px;
  margin-bottom:12px;
}

.cal-year,.cal-month{
  height:40px;
  padding:0 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:#222;
}

/* 既存の .btn を壊したくないので、軽い見た目だけ追加 */
.btn-ghost{
  border:1px solid var(--line);
  background:#fff;
  color:#222;
  border-radius:10px;
  padding:8px 12px;
  line-height:1;
}
.btn-ghost:hover{
  border-color:rgba(36,44,46,.35);
}

/* カレンダー本体 */
.month-calendar{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}

.cal-head{
  display:flex;
  align-items:baseline;
  justify-content:flex-start; /* ← ここを変更 */
  gap:16px;
  flex-wrap: wrap;
  padding:14px 16px;
  background:linear-gradient(to bottom, rgba(36,44,46,.06), rgba(36,44,46,.02));
  border-bottom:1px solid var(--line);
}

.cal-title{
  font-size:16px;
  font-weight:700;
  margin:0;
}

.cal-summary{
  font-size:13px;
  color:var(--muted);
  white-space:nowrap;
}

.cal-grid-month{
  display:grid;
  grid-template-columns:repeat(7, 1fr);
}

.cal-dow{
  padding:10px 8px;
  text-align:center;
  font-size:13px;
  color:var(--muted);
  background:#fafafa;
  border-bottom:1px solid var(--line);
}

.cal-cell{
  min-height:92px;
  padding:10px 10px 12px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  position:relative;
}
.cal-cell:nth-child(7n){ border-right:none; }

.cal-cell.is-out{
  background:#fbfbfb;
}

.cal-day{
  font-size: clamp(15px, 1.15vw, 18px); /* 少し大きめ */
  line-height: 1.1;
  display:inline-block;
  font-weight:600;
  color:#222;
}

.cal-cell.is-closed{
  background:rgba(36,44,46,.06);
}

.badge-closed{
  display:inline-block;
  margin-top:8px;
  padding:4px 8px;
  border-radius:999px;
  font-size:12px;
  color:#fff;
  background:var(--accent);
}

.cal-note{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:#444;
  opacity:.9;
  }

/* 曜日ヘッダー（日:赤 / 土:青） */
.cal-dow:nth-child(1){ color:#c0392b; }
.cal-dow:nth-child(7){ color:#2e6bd6; }

/* 日付文字（日:赤 / 土:青） */
.cal-cell.is-sun .cal-day{ color:#c0392b; }
.cal-cell.is-sat .cal-day{ color:#2e6bd6; }

/* 今日：ピンク枠で分かるように */
.cal-cell.is-today{
  outline: 2px solid rgba(243, 166, 183, .95);
  outline-offset: -2px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(243, 166, 183, .18);
  background: rgba(243, 166, 183, .08);
}
.cal-cell{ position: relative; }

.badge-today{
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  background: rgba(255, 192, 203, .55);
  border: 1px solid rgba(255, 105, 180, .55);
  color: #7a1f3a;
  backdrop-filter: blur(4px);
}

.cal-cell.is-today{
  outline: 2px solid rgba(255, 105, 180, .7);
  outline-offset: -2px;
  border-radius: 10px; /* 角があるセルなら効く */
}
/* 日付（数字）→ バッジの間に余白 */
.cal-cell .badge-closed{
  display: inline-flex;   /* 既にinlineでもOK。効かない時は inline-block に */
  margin-top: 6px;        /* ここで間隔調整 */
}

/* =========================
   Footer（左右配置）
========================= */
.site-footer{
  background:#f5f5f5;
  border-top:1px solid #e6e6e6;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:22px 0;
}

.footer-copy{
  color:#555;
  font-size:13px;
  line-height:1.4;
}

.footer-link{
  color:#242C2E; /* 指し色 */
  font-size:13px;
  text-decoration:underline;
  text-underline-offset:3px;
  opacity:.9;
}
.footer-link:hover{ opacity:1; }

/* スマホは縦並び */
@media (max-width: 600px){
  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* 各施設紹介：フロア */
.facility-floor{
  margin-top: 18px;
}
.facility-floor + .facility-floor{
  margin-top: 34px;
}

.facility-floor-title{
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #222;
}

/* 4枚並び（画面幅で2枚/1枚に落ちる） */
.facility-grid{
display:grid;
gap:32px;
grid-template-columns:repeat(3,1fr);
}

@media (max-width:900px){
.facility-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media (max-width:600px){
.facility-grid{
grid-template-columns:1fr;
}
}
/* カード（枠は写真側だけに寄せるのでカード自体はシンプル） */
.facility-card{
  background: transparent;
}


/* 枠線だけ（塗りなし・角丸なし） */
.facility-frame{
  margin: 0;
  position: relative;

  padding: 6px;                 /* ← ここを小さくすると写真が大きくなる（例: 4〜8px） */
  background: transparent;      /* 塗りつぶし無し（ページ背景に合わせる） */
  border: 1px solid rgba(0,0,0,0.18); /* 枠の色だけ */
  border-radius: 0;             /* 角丸なし */
  box-shadow: none;             /* 影いらないなら無し */
}
.facility-frame::after{ content:none; }


.facility-frame img{
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;             /* 写真も角丸なし */
}

/* 説明（NOTE） */
.facility-note{
  margin: 10px 2px 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0,0,0,0.75);
}





/* =========================
   Q&A（FAQ）
========================= */

.faq-block{
  margin-top: 18px;
  padding-top: 8px;
}

.faq-title{
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0 10px;
  color: #222;
}

.faq-item{
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 10px;
}

.faq-q{
  list-style: none;
  cursor: pointer;
  padding: 14px 14px;
  font-weight: 700;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-q::-webkit-details-marker{ display:none; }

.faq-q::after{
  content: "＋";
  font-weight: 700;
  color: rgba(0,0,0,.55);
  flex: 0 0 auto;
}

.faq-item[open] .faq-q::after{
  content: "－";
}

.faq-a{
  padding: 0 14px 14px;
  color: rgba(0,0,0,.78);
}

.faq-a p{
  margin: 10px 0 0;
}

.faq-list{
  margin: 10px 0 0 1.2em;
}

.faq-contact{
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed rgba(0,0,0,0.18);
  border-radius: 12px;
  background: rgba(36,44,46,.03);
}

.faq-contact-text{
  margin: 0;
  font-size: 14px;
}

.faq-contact a{
  color: #242C2E;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================
   PATCH: sec-title（青い装飾を必ず出す）
========================= */
.sec-title{
  border-left: 4px solid #0a73b7;
  padding-left: 12px;
  margin-bottom: 16px;
}

/* h2.sec-title がカード内に入っても潰れないように */
.fukuhin-notice .sec-title{
  margin-top: 0;
}




/* =========================
   副葬品（1列・崩れない + 写真大きめ）
========================= */

.fukuhin-list{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.fukuhin-item{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 10px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  
}

.fukuhin-item__title{
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  line-height: 1.6;
}

.fukuhin-item__figure{
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fukuhin-item__figure img{
  width: min(760px, 96%);
   max-width: 100%;
  height: auto;
  display: block;
}

/* スマホ */
@media (max-width: 560px){
  .fukuhin-item{ padding: 12px; }
  .fukuhin-item__title{ font-size: 14px; }
  .fukuhin-item__figure img{ width: 100%; }
}

/* 注意カードとの余白 */
.fukuhin-notice{ margin-top: 28px; }
.fukuhin-notice .sec-title{ margin-top: 0; }




/* 物品販売：2テーブルをPCで左右、SPで上下 */
.sale-grid{
  display: grid;
  grid-template-columns: 1fr; /* スマホは1列 */
  gap: 16px;
}

/* PC */
@media (min-width: 900px){
  .sale-grid{
    grid-template-columns: 1fr 1fr; /* 左右2列 */
    align-items: start;
  }
}

/* 2列時に「表の横幅が溢れて崩れる」事故防止 */
.sale-col{
  min-width: 0;
}

/* 既存tableが大きいなら詰める（任意） */
.table.is-compact th,
.table.is-compact td{
  padding: 10px 12px;
}

/* 見出しが大きすぎる場合だけサブ扱い（任意） */
.sec-title--sub{
  font-size: 18px;
  margin-bottom: 12px;
}

.facility-meta{
  margin: 8px 0 0 1.2em;
  font-size: 13px;
  color: rgba(0,0,0,0.68);
  line-height: 1.65;
}
.facility-meta li + li{ margin-top: 4px; }

/* =========================
   Access photos（重なり）
========================= */
.access-photos{
  position: relative;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

/* PCは横並び＋重なり */
@media (min-width: 900px){
  .access-photos{
    grid-template-columns: 1.25fr 1fr;
    align-items: end;
  }
}

.access-photo{
  margin: 0;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.access-photo img{
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.access-photo figcaption{
  padding: 10px 12px;
  font-size: 14px;
  color: rgba(0,0,0,.78);
}

/* かぶせる：右写真を少し浮かせて重ねる */
@media (min-width: 900px){
  .access-photo--main{
    z-index: 1;
  }
  .access-photo--sub{
    z-index: 2;
    transform: translate(-22px, 18px);
  }
}

/* =========================
   Media card（図・写真）
========================= */
.media-card{
  margin: 14px 0 0;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.media-card img{
  width: min(920px, 100%);   /* ← ここで控えめに（好みで 820〜1040） */
  height: auto;
  display: block;
  margin: 0 auto;           /* 中央寄せ */
}

.media-caption{
  padding: 10px 12px;
  font-size: 13px;
  color: rgba(0,0,0,.72);
  border-top: 1px solid #e6e6e6;
}
/* =========================
   申請書テーブル：DLボタン
========================= */
.dl-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid rgba(10,115,183,.25);
  border-radius:10px;
  background:#f4f9ff;
  color:#0a73b7;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}

.dl-btn:hover{
  background:#e9f3ff;
  border-color: rgba(10,115,183,.45);
}

/* 表が密なページ用に少しだけ詰める（全表に適用したくないなら .table.is-compact を使う） */
.table.is-compact th,
.table.is-compact td{
  padding:10px 12px;
}

/* スマホ：3列を読みやすく */
@media (max-width: 600px){
  .table thead th:nth-child(2),
  .table tbody td:nth-child(2){
    width: 40%;
  }
  .table thead th:nth-child(3),
  .table tbody td:nth-child(3){
    width: 96px; /* ボタン幅の確保 */
  }
}

/* ペットページ：写真グリッド（汎用） */
.photo-grid{
  display: grid;
  gap: 16px;
}

.photo-grid--2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-card{
  margin: 0;
}

.photo-img{
  width: 100%;
  display: block;
  border-radius: 14px; /* 角いらなければ消してOK */
}

.photo-cap{
  margin-top: 8px;
  color: #666;
  font-size: 14px;
}

.photo-desc{
  margin: 10px 0 0;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

/* スマホは1列 */
@media (max-width: 600px){
  .photo-grid--2{
    grid-template-columns: 1fr;
  }
}

/* 箇条書きの基本インデント調整 */
ul, ol{
  padding-left: 1.6em;   /* ← インデント量（1.4〜2.0emで好み調整） */
  margin-top: 10px;
}

/* liの行間も少し読みやすく */
li{
  margin: 6px 0;
}

.indent-item{
  margin-left: 1cm;
}



/* =========================
   TABLE → CARD (Mobile Only)
   対象：.table.is-card
========================= */
@media (max-width: 600px){

  /* まず既存の「表っぽさ」を解除 */
  .table.is-card{
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }
  .table.is-card thead{ display: none; }

  .table.is-card tbody,
  .table.is-card tr{
    display: block;
    width: 100%;
  }

  /* 1行 = 1カード */
  .table.is-card tr{
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    margin: 0 0 12px;
    box-shadow: 0 10px 26px rgba(0,0,0,.06);
  }

  /* th(rowspan) がある表でも崩れないように */
  .table.is-card th,
  .table.is-card td{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #e6e6e6;
    text-align: left;
    background: transparent;
  }

  .table.is-card tr > *:last-child{
    border-bottom: 0;
  }

  /* 左ラベル：data-label を表示 */
  .table.is-card td::before,
  .table.is-card th::before{
    content: attr(data-label);
    flex: 0 0 7.5em;          /* ラベル幅 */
    color: #555;
    font-weight: 600;
    line-height: 1.5;
  }

  /* 値側：長文は自然に折り返し */
  .table.is-card td,
  .table.is-card th{
    line-height: 1.6;
    word-break: break-word;
  }

  /* DLボタン行：右寄せ */
  .table.is-card td[data-label="ダウンロード"]{
    justify-content: space-between;
    align-items: center;
  }
}

/* ここから汎用SPテーブル。is-card / is-stack を除外して衝突回避 */
@media (max-width:600px){
  .table:not(.is-card):not(.is-stack){
    border:none;
  }
  .table:not(.is-card):not(.is-stack) tr{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid #e6e6e6;
  }
  .table:not(.is-card):not(.is-stack) th{
    background:none;
    border:none;
    padding:0;
    font-weight:600;
    color:#555;
    white-space:nowrap;
  }
  .table:not(.is-card):not(.is-stack) td{
    border:none;
    padding:0;
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
  }
}


/* ハンバーガー */
.hamburger{
  display:none;
  font-size:24px;
  background:none;
  border:none;
  cursor:pointer;
}

/* スマホ */
@media (max-width:900px){

  .hamburger{
    display:block;
  }

  .header-top{
    display:none;
  }



  .global-nav a{
    padding:14px 20px;
    border-bottom:1px solid #eee;
  }

}

body.menu-lock{
  overflow:hidden;
}

.mobile-menu{

  position:fixed;
  inset:0;

  background:#fff;

  display:flex;
  flex-direction:column;

  padding:80px 40px;
  gap:22px;

  font-size:20px;

  transform:translateX(100%);
  transition:transform .35s ease;

  z-index:1000;
}

.mobile-menu.open{
  transform:translateX(0);
}

.mobile-menu a{
  text-decoration:none;
  color:#222;
}

.menu-divider{
  height:1px;
  background:#ddd;
  margin:10px 0;
}

.menu-close{
  position:absolute;
  top:20px;
  right:24px;
  font-size:28px;
  background:none;
  border:none;
  cursor:pointer;
}

@media (max-width:900px){

  /* PCナビを消す */
  .global-nav{
    display:none;
  }

  /* 火葬予約ボタンを消す */
  .more-wrapper{
    display:none;
  }

  /* ハンバーガー右寄せ */
  .header-bottom{
    justify-content:flex-end;
  }

}

@media (max-width:600px){

  .cal-note{
    display:none;
  }

}

@media (max-width:600px){

  .table:not(.is-card):not(.is-stack){
    border:none;
  }

  .table:not(.is-card):not(.is-stack) tr{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:12px;
    padding:10px 0;
    border-bottom:1px solid #e6e6e6;
  }

  .table:not(.is-card):not(.is-stack) th{
    background:none;
    border:none;
    padding:0;
    font-weight:600;
    color:#555;
    white-space:nowrap;
  }

  .table:not(.is-card):not(.is-stack) td{
    border:none;
    padding:0;

    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
  }

  }

@media (max-width: 600px){
.table td{
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
}

@media (max-width:600px){

.table.is-stack th{
  width:7em;
  white-space:nowrap;
}

.table.is-stack td{
  width:auto;
}

}

/* =========================
   施設概要（シンプル区切り線）
========================= */

.facility-info{
  margin-top:12px;
}

.facility-info dt{
  padding:12px 0 4px;
  font-weight:600;
  color:#555;
}

.facility-info dd{
  margin:0;
  padding:0 0 12px;
  border-bottom:1px solid #e6e6e6;
}

.facility-info dd:last-child{
  border-bottom:none;
}

/* PCとスマホ切替 */

.facility-sp{
  display:none;
}

@media (max-width:600px){

.facility-pc{
  display:none;
}

.facility-sp{
  display:block;
}

}

@media (max-width:600px){

.facility-card{
  border-bottom:1px solid #e6e6e6;
  padding-bottom:20px;
}

.facility-card:last-child{
  border-bottom:none;
}

}

.notice-blocks{
  margin-top: 16px;
}

.notice-block{
  padding: 18px 0;
  border-top: 1px solid #e6e6e6;
}

.notice-block:last-child{
  border-bottom: 1px solid #e6e6e6;
}

.notice-block-title{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.notice-intro{
  margin: 0 0 8px;
  color: #444;
  line-height: 1.7;
}

.notice-list{
  margin: 0;
  padding-left: 1.2em;
}

.notice-list li{
  margin: 8px 0;
  line-height: 1.8;
}

.notice-nested{
  margin-top: 14px;
  padding: 14px 16px;
  background: #fafafa;
  border: 1px solid #e6e6e6;
}

.notice-strong{
  margin: 0 0 10px;
  font-weight: 700;
}

.notice-note{
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* スマホ料金表示 */

.price-sp{
display:none;
}

.price-item{
border-bottom:1px solid #e6e6e6;
padding:12px 0;
}

.price-item h3{
margin:0 0 6px;
font-size:16px;
}

.price-item p{
margin:2px 0;
}

/* スマホ切替 */

@media (max-width:600px){

.price-pc{
display:none;
}

.price-sp{
display:block;
}

}

@media (max-width:600px){

.table.is-compact td,
.table.is-compact th{
line-height:1.6;
padding:10px 8px;
}

}

.sale-sp{
  display:none;
}

.sale-sp-group + .sale-sp-group{
  margin-top:24px;
}

@media (max-width:600px){
  .sale-pc{
    display:none;
  }

  .sale-sp{
    display:block;
  }
}

.pollution-sp{
  display:none;
}

.pollution-item{
  border-bottom:1px solid #e6e6e6;
  padding:12px 0;
}

.pollution-item h3{
  margin:0 0 6px;
  font-size:16px;
}

.pollution-item p{
  margin:2px 0;
  line-height:1.7;
}

@media (max-width:600px){
  .pollution-pc{
    display:none;
  }

  .pollution-sp{
    display:block;
  }
}

.forms-sp{
  display:none;
}

.form-group + .form-group{
  margin-top:24px;
}

.form-group-title{
  font-size:16px;
  font-weight:700;
  margin:0 0 10px;
  color:#222;
}

.form-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid #e6e6e6;
}

.form-type{
  margin:0;
  line-height:1.7;
}

@media (max-width:600px){
  .forms-pc{
    display:none;
  }

  .forms-sp{
    display:block;
  }

  .form-item{
    align-items:flex-start;
  }

  .form-item .dl-btn{
    flex-shrink:0;
  }
}

.entrance-item{
  padding: 24px 0;
  border-top: 1px solid #e6e6e6;
}

.entrance-item:last-child{
  border-bottom: 1px solid #e6e6e6;
}

.entrance-text{
  margin-bottom: 8px;
}

.entrance-photo{
  margin-top: 8px;
}

/* スマホ */
@media (max-width:600px){

  .entrance-item{
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0;
  }

  .entrance-photo{
    max-width: 100%;
  }

  .entrance-photo img{
    width: 100%;
    height: auto;
  }

}

/* 事業コンセプト */
.concept-list{
  margin-top: 8px;
}

.concept-item{
  padding: 18px 0;
  border-top: 1px solid #e6e6e6;
}

.concept-item:last-child{
  border-bottom: 1px solid #e6e6e6;
}

.concept-title{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.concept-item p{
  margin: 0;
  line-height: 1.9;
  color: #444;
}