@charset "UTF-8";
/* =========================================================
   pet.css
   include-cat-04-18.php（ペットと一緒に入れるお墓 カテゴリTOP）専用
   クラス名プレフィックス: c418-

   ・include-cat-04-09.php（c49-）のスタイルを踏襲して作成。
     見出し・本文の文字色/サイズ、画像サイズ、カード、CTA、FAQ は
     樹木葬・永代供養墓ページと揃えている。
   ・ペットページ固有のスタイルは「── 04-18 追加分 ──」以降に追記する。
   ・「もっと詳しく知りたい方へ」(.more-service-links) は
     common/css/style.css の共通CSSをそのまま使用（このファイルには持たない）。
========================================================= */

:root {
  --c418-green:        #4e9231; /* 基調グリーン（c49 と共通） */
  --c418-green-deep:   #3a6d24;
  --c418-green-light:  #65b040;
  --c418-green-dark:   #1b5e20;
  --c418-green-pale:   #f4faea;
  --c418-green-pale2:  #eef6e0;
  --c418-green-tint:   #f2f8e8;
  --c418-green-soft:   #9dc87a;
  --c418-green-lead:   #bddda0;
  --c418-paw:          #b0713b; /* ペットページのアクセント（肉球ブラウン） */
  --c418-paw-soft:     #f4e8db;
  --c418-beige:        #f7f3e9; /* KV・バナー枠の背景ベージュ */
  --c418-orange:       #e65100;
  --c418-line:         #e0e0e0;
  --c418-txt:          #5d615b;
}

/* サイドカラム表示修正: flex-basis を 0% にして必ずサイドカラム分のスペースを確保
   （カテゴリスラッグを変更した場合はセレクタも合わせて変更すること） */
.category.pet .contents-main-column {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
}

/* =========================================
   ── 04-18 追加分 ──
   KVエリア
   背景写真は /common/img/pet_kv-80.jpg（1201x681）。

   PC : KVエリアの高さ（＝テキスト量）に写真の高さを合わせ、比率を保ったまま
        右端を基準に配置する。横幅が足りなければ左側がはみ出して隠れ、
        余れば左に余白ができる。いずれも写真の右側が必ず見える。
   SP : 写真は重ねたまま上方向へずらし、テキストの背面に敷く。
========================================= */
.c418-kv {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 24px;
  background: var(--c418-beige);
  /* __bg / ::after は absolute なのでフレックスアイテムにならず、
     __inner だけが縦中央に載る */
  display: flex;
  align-items: center;
}
.c418-kv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--c418-beige);
}
/* KVの高さに合わせて縦を決め、比率を保ったまま右端を基準に置く */
.c418-kv__bg img {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  bottom: auto;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: none; /* 親幅より広くなっても縮めない（左がはみ出して隠れる） */
  display: block;
}
/* 左（テキスト側）はベージュで塗りつぶし、右へ向かってフェードさせて写真を見せる */
.c418-kv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg,
    var(--c418-beige) 0%,
    var(--c418-beige) 30%,
    rgba(247, 243, 233, 0.92) 44%,
    rgba(247, 243, 233, 0.55) 62%,
    rgba(247, 243, 233, 0) 80%);
}
.c418-kv__inner {
  position: relative;
  z-index: 3;
  flex: 0 1 auto;
  padding: 38px 32px 34px;
  max-width: 660px;
}
.c418-kv__eyebrow {
  display: inline-block;
  background: var(--c418-paw);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding: 3px 14px 3px 28px;
  border-radius: 999px;
  margin-bottom: 14px;
  position: relative;
}
.c418-kv__eyebrow::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background: url("/common/img/icon_paw.svg") no-repeat center / contain;
  filter: brightness(0) invert(1);
}
.c418-kv__title {
  font-size: 1.9rem;
  font-weight: bold;
  color: #000;
  line-height: 1.5;
  margin-bottom: 14px;
}
.c418-kv__title em {
  font-style: normal;
  color: inherit; /* 見出しと同色 */
}
.c418-kv__lead {
  color: #4a4a44;
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 22px;
}
.c418-kv__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* 白背景＋緑文字。ベージュ地でも輪郭が出るよう緑の枠線を付けている */
.c418-kv__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 0.95rem;
  text-decoration: none;
  background: #fff;
  color: var(--c418-green-deep);
  border: 2px solid var(--c418-green);
  transition: background 0.2s, color 0.2s;
}
.c418-kv__btn:hover {
  background: var(--c418-green);
  color: #fff;
  text-decoration: none;
}

/* =========================================
   ── 04-18 追加分 ──
   おすすめ霊園バナー枠
   バナー画像1枚のみのクリック領域。
   画像を用意するまではグレーのプレースホルダ枠を表示する。
========================================= */
/* バナーだと分かるよう、本文より幅を絞って白枠＋シャドーで囲う */
.c418-promo {
  position: relative;
  overflow: hidden;
  width: 85%;
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 5px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.2s, transform 0.3s;
}
.c418-promo:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transform: scale(1.02);
}
/* 右下の三角。押せることを示すアクセント */
.c418-promo::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 46px 68px;
  border-color: transparent transparent var(--c418-green) transparent;
  pointer-events: none;
  transition: border-color 0.2s;
}
.c418-promo:hover::after {
  border-bottom-color: var(--c418-green-deep);
}
.c418-promo__banner {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.c418-promo__banner:hover {
  opacity: 0.9;
  text-decoration: none;
  color: inherit;
}
.c418-promo__banner picture {
  display: block;
}
.c418-promo__banner img {
  width: 100%;
  height: auto;
  display: block;
}
/* バナー画像を入れるまでのグレー枠（現在は未使用） */
.c418-promo__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1000 / 220;
  background: #f2f2f2;
  border: 2px dashed #c4c4c4;
  border-radius: 8px;
  color: #999;
  font-size: 0.875rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 10px;
}
/* =========================================
   ページ内コンテンツナビ（スクロール固定）
========================================= */
.c418-page-nav-placeholder { height: 0; }

.c418-page-nav {
  background: var(--c418-green);
  border-bottom: 3px solid var(--c418-green-deep);
  overflow: hidden;
  margin-bottom: 24px;
}
.c418-page-nav--fixed {
  position: fixed;
  top: 0;
  z-index: 200;
  margin-bottom: 0;
}
/* ≤1279px: hero-cmn-inner が fixed (54px) の下に配置 */
@media screen and (max-width: 1279px) {
  .c418-page-nav--fixed { top: 54px; }
}

.c418-page-nav__inner {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.c418-page-nav__inner::-webkit-scrollbar { display: none; }

.c418-page-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex-direction: column;
  padding: 4px 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  min-height: 48px;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  line-height: 1.4;
  flex: 1;
}
.c418-page-nav__item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}
.c418-page-nav__item:last-child { border-right: none; }

.c418-page-nav__item img {
  width: 20px;
  height: 20px;
  display: block;
  margin: 0 auto 2px;
  filter: brightness(0) invert(1);
}
.c418-page-nav__item:nth-child(3) img { width: 18px; height: 18px; }
.c418-page-nav__item:last-child img  { width: 23px; height: 23px; }

/* =========================================
   メインコンテンツボディ・セクション共通
========================================= */
.c418-body {
  padding: 0 0 24px;
  font-size: 1rem;
}

.c418-section { margin-bottom: 40px; }

.c418-section__title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--c418-green);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--c418-green);
  display: flex;
  align-items: center;
  gap: 8px;
}
.c418-section__title-icon {
  width: 28px;
  height: 28px;
  background: var(--c418-green);
  color: #fff;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.94rem;
  flex-shrink: 0;
}
.c418-section__title-icon img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
}

.c418-section__lead {
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ポイントリスト */
.c418-points {
  background: var(--c418-green-pale);
  border-left: 4px solid var(--c418-green);
  padding: 16px 20px;
  margin: 12px 0;
  border-radius: 4px;
}
.c418-points__item {
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
  line-height: 1.8;
}
.c418-points__item:last-child { margin-bottom: 0; }
.c418-points__item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c418-green);
  font-weight: bold;
  font-size: 0.94rem;
}
.c418-points__item strong { color: var(--c418-green); }

/* とはセクション 横並び写真 */
.c418-section-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 20px;
}
.c418-section-photo {
  background: #ccc;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
}
.c418-section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 注釈 */
.c418-table-note {
  font-size: 0.69rem;
  color: #888;
  margin-top: 6px;
  line-height: 1.7;
}

/* =========================================
   選ばれる理由グリッド
========================================= */
.c418-reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.c418-reason-card {
  background: var(--c418-green-pale);
  border: 2px solid var(--c418-green-pale2);
  border-radius: 8px;
  overflow: hidden;
  display: block;
  padding: 0;
}
.c418-reason-card__img {
  background: #ccc;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.c418-reason-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.c418-reason-card__title {
  font-weight: bold;
  color: var(--c418-green);
  padding: 13px 14px 4px;
  line-height: 1.45;
}
.c418-reason-card__text {
  padding: 0 14px 14px;
  font-size: 0.875rem;
}

/* =========================================
   ── 04-18 追加分 ──
   お墓の種類カード（費用の目安を内包）
   ※ レイアウトは c49-reason-grid（選ばれる理由）に準拠
========================================= */
/* PC: 2列2行 */
.c418-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.c418-type-card {
  background: var(--c418-green-pale);
  border: 2px solid var(--c418-green-pale2);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.c418-type-card__img {
  background: #ccc;
  width: 100%;
  /* 2列レイアウトで画像が大きくなりすぎないよう 16:9 */
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.c418-type-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.c418-type-card__num {
  display: inline-block;
  align-self: flex-start;
  margin: 12px 14px 0;
  padding: 1px 9px;
  background: var(--c418-paw);
  color: #fff;
  border-radius: 3px;
  font-size: 0.6875rem;
  font-weight: bold;
  letter-spacing: 0.1em;
}
.c418-type-card__title {
  font-weight: bold;
  color: var(--c418-green);
  padding: 6px 14px 4px;
  line-height: 1.45;
}
.c418-type-card__title small {
  font-size: 0.75rem;
  font-weight: normal;
  color: #888;
}
.c418-type-card__text {
  padding: 0 14px 14px;
  font-size: 0.875rem;
  flex: 1;
}

/* 費用の目安（旧「費用相場」セクションの内容をカード内に移設） */
.c418-type-card__cost {
  margin: 0 14px 14px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--c418-line);
  border-radius: 6px;
  text-align: center;
}
.c418-type-card__cost-label {
  font-size: 0.8125rem;
  font-weight: bold;
  color: #888;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}
/* 「一般墓 ＋」と金額を横並びにする */
.c418-type-card__cost-price {
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.2;
  color: var(--c418-green-dark);
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 2px;
}
.c418-type-card__cost-note {
  font-size: 0.6875rem;
  color: #999;
  margin-top: 5px;
  line-height: 1.6;
  text-align: left;
}
.c418-cost-tilde {
  padding: 0 2px;
  font-size: 0.875rem;
  font-weight: 600;
  vertical-align: middle;
}
.c418-cost-unit {
  padding-left: 4px;
  font-size: 0.875rem;
  font-weight: normal;
}
.c418-cost-plus {
  font-size: 0.9375rem;
  font-weight: bold;
  color: var(--c418-green-dark); /* 金額と同色・横並び */
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* =========================================
   ── 04-18 追加分 ──
   選ぶときの6つのポイント
   PC: 2列3行（番号を左・本文を右）
========================================= */
.c418-check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.c418-check-item {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--c418-line);
  border-radius: 6px;
  padding: 16px 18px;
}
/* 「01｜」の区切り線を border で再現 */
.c418-check-item__num {
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--c418-paw);
  line-height: 1.5;
  letter-spacing: 0.04em;
  padding-right: 14px;
  border-right: 2px solid var(--c418-paw-soft);
}
.c418-check-item__body {
  flex: 1 1 auto;
  min-width: 0;
}
.c418-check-item__title {
  font-weight: bold;
  color: var(--c418-green);
  line-height: 1.5;
  margin-bottom: 3px;
}
.c418-check-item__text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.8;
}
/* =========================================
   霊園一覧セクション
========================================= */
.c418-cemetery-wrap {
  border-top: 1px solid var(--c418-line);
  border-bottom: 1px solid var(--c418-line);
  margin-bottom: 24px;
}

.c418-cemetery-hero {
  background: linear-gradient(135deg, var(--c418-green-deep) 0%, var(--c418-green) 50%, var(--c418-green-light) 100%);
  padding: 24px 20px 20px;
}
.c418-cemetery-hero__eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  color: var(--c418-green-soft);
  font-weight: bold;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.c418-cemetery-hero__title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
  line-height: 1.4;
}
.c418-cemetery-hero__badge {
  background: var(--c418-orange);
  color: #fff;
  font-size: 0.69rem;
  padding: 3px 12px;
  border-radius: 12px;
  font-weight: bold;
}
.c418-cemetery-hero__lead {
  color: var(--c418-green-lead);
  line-height: 1.75;
}

.c418-cemetery-body {
  padding: 20px 20px 42px;
  background: #fff;
  font-size: 1rem;
}

.c418-cemetery-subhead {
  background: linear-gradient(to right, var(--c418-green-pale2), var(--c418-green-pale));
  border-left: 5px solid var(--c418-green);
  padding: 12px 18px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 16px;
}
.c418-cemetery-subhead__title {
  font-weight: bold;
  color: var(--c418-green);
  margin-bottom: 4px;
}
.c418-cemetery-subhead__desc {
  color: var(--c418-green);
  line-height: 1.6;
  font-size: 0.9rem;
}

.c418-cemetery-empty {
  padding: 24px 0;
  text-align: center;
  color: #888;
  line-height: 1.8;
}

/* カードグリッド */
.c418-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.c418-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--c418-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
}
.c418-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
  border-color: var(--c418-green-soft);
  text-decoration: none;
}

.c418-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--c418-green-soft) 0%, var(--c418-green-light) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c418-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.c418-card__img-placeholder {
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  text-align: center;
  padding: 8px;
  line-height: 1.5;
}

/* ── 04-18 追加分 ── ペット可バッジ */
.c418-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--c418-paw);
  color: #fff;
  font-size: 0.69rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  padding: 3px 10px 3px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.c418-card__badge::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -6.5px;
  background: url("/common/img/icon_paw.svg") no-repeat center / contain;
  filter: brightness(0) invert(1);
}

.c418-card__body {
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.c418-card__name {
  font-weight: bold;
  color: var(--c418-green);
  margin-bottom: 5px;
  line-height: 1.45;
  font-size: 1.1rem;
}
.c418-card__name small {
  font-size: 0.69rem;
  font-weight: normal;
  color: #888;
}
/* ── 04-18 追加分 ──
   墓所形式・施設タグ
   見た目は 04-04（.mod-list-tag / style.css:13601〜）と統一。
   枠線 #bfc2c4・角丸4px・文字色 #000、種別ごとの背景色も同じ値を使用。 */
.c418-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
  list-style: none;
  padding: 0;
}
.c418-card__tag {
  display: inline-block;
  font-size: 0.8125rem; /* 04-04 は 14px。カード内なので僅かに小さく */
  border: solid 1px #bfc2c4;
  border-radius: 4px;
  line-height: 24px;
  color: #000;
  padding: 0 10px;
  vertical-align: baseline;
  white-space: nowrap;
}
.c418-card__tag--type_01 { background: #fdeff5; } /* 一般墓所 */
.c418-card__tag--type_02 { background: #f0f6e3; } /* 樹木葬 */
.c418-card__tag--type_03 { background: #eaf6fd; } /* 永代供養墓 */
.c418-card__tag--normal  { background: #fff; }

.c418-card__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 10px;
}

/* ── 04-18 追加分 ── この霊園の特徴（park-facility） */
.c418-card__feature {
  border-top: 1px dashed var(--c418-line);
  padding-top: 10px;
  margin-bottom: 10px;
}
.c418-card__feature-title {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--c418-green);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.c418-card__feature .c418-card__tags {
  margin-bottom: 0;
}
.c418-card__arrow {
  font-size: 0.78rem;
  text-align: right;
  letter-spacing: 0.05em;
  margin-top: auto;
}

.c418-divider {
  height: 1px;
  background: var(--c418-green-pale2);
  margin: 40px 0;
}

/* 詳細・Q&A ボタン */
.c418-other-btn-wrap,
.c418-faq-btn-wrap {
  margin-top: 32px;
  text-align: center;
}
.c418-other-btn {
  display: inline-block;
  border: solid 1px #626262;
  padding: 5px 30px 5px 15px;
  color: var(--c418-txt);
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.2s;
}
.c418-other-btn > span {
  position: relative;
  padding-left: 18px;
}
.c418-other-btn > span::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 0;
  margin-top: -5px;
  border-top: 5px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--c418-txt);
}
.c418-other-btn:hover {
  background: #e2f0dd;
  color: var(--c418-txt);
  text-decoration: none;
}

/* =========================================
   ご相談の流れ
========================================= */
.c418-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.c418-flow-card {
  background: var(--c418-green-pale);
  border: 2px solid var(--c418-green-pale2);
  border-radius: 8px;
  padding: 18px 14px;
  text-align: center;
}
.c418-flow-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--c418-green-light), var(--c418-green));
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.c418-flow-card__title {
  font-weight: bold;
  color: var(--c418-green);
  margin-bottom: 6px;
  line-height: 1.4;
}
.c418-flow-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* =========================================
   FAQ
========================================= */
.c418-faq { margin-top: 16px; }
.c418-faq__item {
  background: #fff;
  border: 1px solid var(--c418-line);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}
.c418-faq__q {
  background: var(--c418-green-tint);
  padding: 12px 16px;
  font-weight: bold;
  color: var(--c418-green);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.c418-faq__q-icon {
  width: 22px;
  height: 22px;
  background: var(--c418-green);
  color: #fff;
  border-radius: 4px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.c418-faq__a {
  padding: 12px 16px 12px 48px;
}

/* =========================================
   CTA
========================================= */
.c418-cta {
  background: #fff;
  text-align: center;
  margin-top: 40px;
  padding: 28px;
  box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, .1);
}
.c418-cta__title {
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--c418-green);
  margin-bottom: 8px;
}
.c418-cta__text {
  line-height: 1.8;
  margin-bottom: 16px;
}
.c418-cta__btns {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 18px;
}
.c418-cta-btn {
  position: relative;
  display: block;
  color: var(--c418-txt);
  font-weight: bold;
  text-decoration: none;
  min-width: 220px;
  text-align: left;
  transition: background 0.2s;
  background: transparent;
}
.c418-cta-btn:last-child {
  border: solid 1px #626262;
  padding: 10px 16px 10px 28px;
  display: flex;
  align-items: center;
}
.c418-cta-btn:last-child::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 12px;
  width: 0;
  height: 0;
  margin-top: -6px;
  border-top: 6px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--c418-txt);
}
.c418-cta-btn:hover {
  background: #e2f0dd;
  color: var(--c418-txt);
  text-decoration: none;
  transform: none;
  opacity: 1;
}
.c418-cta-btn--tel,
.c418-cta-btn--form { background: transparent; }
.c418-cta-btn__icon { display: none; }
.c418-cta-btn__body { display: block; }
.c418-cta-btn__label { font-size: 0.89rem; }
.c418-cta-btn__num {
  display: block;
  line-height: 1;
  padding: 4px 0;
}
.c418-cta-btn__num img {
  max-width: 100%;
  height: auto;
  display: block;
}
.c418-cta-btn__sub {
  font-size: 0.89rem;
  display: block;
  font-weight: 700;
}

/* =========================================
   レスポンシブ
========================================= */
@media screen and (max-width: 767px) {
  /* ページナビ: SP ではラップ表示（横スクロールなし・フローティングなし） */
  .c418-page-nav__inner {
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .c418-page-nav__item {
    flex: 1 1 33%;
    font-size: 0.7rem;
    padding: 6px;
    min-height: 44px;
    white-space: normal;
  }
  .c418-page-nav__item:nth-child(1),
  .c418-page-nav__item:nth-child(2),
  .c418-page-nav__item:nth-child(3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .c418-section__title-icon img {
    width: 16px;
    height: 16px;
  }
  #c418-faq .c418-section__title-icon img {
    width: 18px;
    height: 18px;
  }
  .c418-reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .c418-type-grid {
    grid-template-columns: 1fr;
  }
  .c418-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .c418-flow-grid {
    grid-template-columns: 1fr;
  }
  .c418-cemetery-hero {
    padding: 18px 14px;
  }
  .c418-cemetery-hero__title {
    font-size: 1rem;
  }
  .c418-cemetery-body {
    padding: 14px;
  }
  .c418-type-card__cost-price {
    font-size: 1.5rem;
  }
  /* SP: 6つのポイントは 2列 → 1列 */
  .c418-check-list {
    grid-template-columns: 1fr;
  }
  .c418-check-item {
    padding: 14px;
    gap: 12px;
  }
  .c418-check-item__num {
    padding-right: 12px;
  }
  /* h2 の margin-bottom が 0 のため KV と接してしまう。
     樹木葬・永代供養ページ（style.css:11509〜）と同じ方法で余白を足す */
  .category.pet .contents-main-column > h2 {
    margin-bottom: 20px;
  }
  /* KV
     SP は写真をテキストの背面に敷いたまま、上方向へずらして
     「ペット可の墓所を見る」ボタンより上に収まるようにする。
     グラデーションは不要なので ::after ごと消し、
     文字とのかぶりは .c418-kv__lead 側の改行（mod-br-only-sp）で避ける */
  .c418-kv {
    display: block;
    padding: 0;
  }
  .c418-kv::after {
    display: none;
  }
  .c418-kv__bg {
    background: none;
  }
  /* SP は横幅いっぱいに敷き、下端を基準に配置する。
     bottom の値でボタンとの距離を調整する */
  .c418-kv__bg img {
    top: auto;
    bottom: 75px;
    height: auto;
    width: 100%;
  }
  .c418-kv__inner {
    padding: 22px 18px 18px;
    max-width: none;
  }
  .c418-kv__title {
    font-size: 1.4rem;
  }
  .c418-kv__lead {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }
  .c418-kv__btns {
    flex-direction: column;
    align-items: stretch;
  }
  /* おすすめ霊園バナー：SPは幅いっぱいに */
  .c418-promo {
    width: 100%;
    max-width: none;
    padding: 5px;
    margin-bottom: 32px;
  }
  .c418-promo::after {
    border-width: 0 0 30px 44px;
  }
  .c418-promo__placeholder {
    aspect-ratio: 16 / 9;
  }
  .c418-faq__a {
    padding-left: 16px;
  }
  .c418-cta {
    padding: 18px 14px;
  }
  .c418-cta__btns {
    flex-direction: column;
    align-items: stretch;
    padding-top: 14px;
    gap: 16px;
  }
  .c418-cta-btn {
    min-width: 0;
  }
  .c418-cta-btn__body {
    text-align: center;
  }
  .tel_label .c418-cta-btn__sub {
    font-size: 1.2rem;
  }
  .c418-cta-btn__num img {
    width: 85%;
    margin: 0 auto;
  }
  .mail_label .c418-cta-btn__label {
    font-size: 1rem;
  }
  .c418-other-btn {
    width: 100%;
    text-align: center;
  }
  /* カード名 SP */
  .c418-card__name {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 540px) {
  .c418-reason-grid {
    grid-template-columns: 1fr;
  }
  .c418-section-photos {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .c418-card-grid {
    grid-template-columns: 1fr;
  }
}
