@charset "utf-8";
/* =========================================================
   メモリアル清水 page.css  下層ページ用コンポーネント
   ========================================================= */

/* ---------- リード ---------- */
.p-lead { text-align: center; font-size: 16px; line-height: 2.1; font-weight: 500; }
.p-lead--strong {
  font-size: 25px; font-weight: 700; color: var(--c-main); letter-spacing: .04em; line-height: 1.7;
}
.p-note { font-size: 13px; color: #6b6f7d; text-align: left; }
.p-note--right { text-align: right; }
.p-note--center { text-align: center; }

/* 枠付きメッセージ */
.p-msgbox {
  border-radius: 16px;
  padding: var(--sp-24); text-align: center; font-size: 17px;
  font-weight: 700; color: var(--c-main); line-height: 1.9;
  box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--c-main) 7%, transparent),
              0 1px 2px color-mix(in srgb, var(--c-main) 6%, transparent);
}
.p-msgbox--gold { background: var(--c-base); }

/* ---------- カード共通 ---------- */
.c-card {
  background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: var(--sp-24);
}
.c-card__ttl { font-size: 18px; font-weight: 700; color: var(--c-main); }

/* ---------- よくあるご質問 ---------- */
.p-faq__group + .p-faq__group { margin-top: var(--sp-80); }
.p-faq__list { margin-top: var(--sp-48); display: grid; gap: var(--sp-16); }
.p-faq__item {
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--c-main) 7%, transparent),
              0 1px 2px color-mix(in srgb, var(--c-main) 6%, transparent);
}
.p-faq__q {
  display: flex; align-items: center; gap: var(--sp-16);
  width: 100%; padding: 18px var(--sp-24); text-align: left;
  font-size: 16px; font-weight: 700; color: var(--c-main);
  background: var(--c-gray); border: 1px solid #DCE0EA;
}
.p-faq__mark {
  position: relative; top: -5px;
  flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-main); color: #fff; font-size: 14px; font-weight: 700;
}
.p-faq__mark--a { background: var(--c-gold); }
.p-faq__icon { margin-left: auto; position: relative; width: 16px; height: 16px; flex: none; }
.p-faq__icon::before, .p-faq__icon::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 2px; background: var(--c-gold);
}
.p-faq__icon::after { transform: rotate(90deg); transition: transform .25s; }
.p-faq__q[aria-expanded="true"] .p-faq__icon::after { transform: rotate(0); }
.p-faq__a {
  display: flex; gap: var(--sp-16);
  padding: 0 var(--sp-24);
  background: var(--c-white);
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  font-size: 15px;
}
.p-faq__a[data-open="true"] { max-height: 400px; padding: 18px var(--sp-24); }

/* ---------- 葬儀の流れ ---------- */
.p-flow__list { display: grid; gap: 0; }
.p-flow__item {
  display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: var(--sp-24);
  width: 100%; max-width: 1120px; height: 256px; box-sizing: border-box; margin-inline: auto;
  padding-inline: 48px;
  background: #fff; border: 1px solid #DCE0EA; border-radius: 12px;
  box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--c-main) 7%, transparent),
              0 1px 2px color-mix(in srgb, var(--c-main) 6%, transparent);
}
.p-flow__img { width: 300px; height: 190px; object-fit: cover; border-radius: 16px; background: var(--c-gray); flex-shrink: 0; }
.p-flow__body { padding-block: var(--sp-24); }
.p-flow__head { display: flex; align-items: baseline; gap: var(--sp-16); padding-bottom: 12px; border-bottom: 1px solid #D9CBA6; }
.p-flow__num { font-size: 48px; font-weight: 700; color: #C3C9DC; letter-spacing: .04em; }
.p-flow__ttl { font-size: 28px; font-weight: 700; color: var(--c-main); }
.p-flow__txt { margin-top: 14px; font-size: 16.5px; }
.p-flow__arrow { display: grid; place-items: center; height: 44px; color: var(--c-gold); font-size: 14px; }
.p-flow__after { max-width: 1120px; margin-inline: auto; padding: var(--sp-16) var(--sp-24); box-sizing: border-box; text-align: center; background: var(--c-base); border: 1px solid #D9CBA6; border-radius: 12px; }
.p-flow__after-ttl { font-size: 16px; font-weight: 700; color: var(--c-main); }
.p-flow__after-txt { margin-top: var(--sp-8); font-size: 14px; line-height: 1.8; }

/* ---------- 特長（写真左右交互） ---------- */
.p-feature__index-section { background: linear-gradient(180deg, var(--c-base) 0%, var(--c-white) 90%); }
.p-feature__index { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-16); }
.p-feature__index a {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 8px;
  padding: 18px var(--sp-16); font-size: 18px; font-weight: 700; box-shadow: var(--shadow);
}
.p-feature__index-num {
  flex: none; display: grid; place-items: center; width: 35px; height: 35px;
  border-radius: 50%; background: var(--c-gold); color: #fff; font-size: 14px; font-weight: 700;
}
.p-feature__index a::after { content: "▼"; margin-left: auto; font-size: 9px; color: var(--c-gold); }

.p-feature__item {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-48); align-items: center;
}
.p-feature__item + .p-feature__item { margin-top: var(--sp-80); }
.p-feature__item:nth-child(even) .p-feature__img { order: 2; }
.p-feature__img img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); }
.p-feature__num {
  display: inline-grid; place-items: center; width: 74px; height: 74px;
  background: var(--c-main); color: #fff; font-size: 30px; font-weight: 700; border-radius: 12px;
  box-shadow: 0 6px 0 var(--c-gold);
}
.p-feature__ttl {
  margin-top: var(--sp-16); font-size: 31px; font-weight: 1000; color: var(--c-main); line-height: 1.6;
  padding-bottom: var(--sp-16); border-bottom: 1px solid color-mix(in srgb, var(--c-gold) 40%, white);
}
.p-feature__txt { margin-top: var(--sp-16); font-size: 14.5px; }
.p-feature__body .l-cta__tel { min-width: 0; } /* 電話ボタンの幅をテキストに合わせる（標準の最小幅280pxを解除） */

/* ---------- 葬儀プラン ---------- */
.p-plan__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); }
.p-plan__nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; max-width: 388px; height: 175px; margin-inline: auto;
  padding: var(--sp-16); text-align: center;
  background: #fff; border: 1px solid var(--c-wine); border-top-width: 6px; border-radius: 8px; box-shadow: var(--shadow);
}
.p-plan__nav a.p-plan__nav-link--ippan { border-color: var(--c-main); }
.p-plan__nav a.p-plan__nav-link--jitaku-jiin { border-color: var(--c-brown); }
.p-plan__nav-cap { display: block; font-size: 18px; font-weight: 700; color: var(--c-main); }
.p-plan__nav-ttl {
  display: block; margin-top: -5px; font-size: 30px; font-weight: 700; color: var(--c-main);
}
.p-plan__nav a.p-plan__nav-link--kazoku .p-plan__nav-cap,
.p-plan__nav a.p-plan__nav-link--kazoku .p-plan__nav-ttl { color: var(--c-wine); }
.p-plan__nav a.p-plan__nav-link--jitaku-jiin .p-plan__nav-cap,
.p-plan__nav a.p-plan__nav-link--jitaku-jiin .p-plan__nav-ttl { color: var(--c-brown); }
.p-plan__nav a::after { content: "▼"; display: block; margin-top: 4px; font-size: 9px; color: var(--c-gold); transition: transform .2s ease; }
.p-plan__nav a:hover::after { transform: scale(1.6); }

.p-plan__block + .p-plan__block { margin-top: 0; }
.p-plan__badge {
  display: inline-block; padding: 4px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff; background: var(--c-wine);
}
.p-plan__badge--ippan { background: var(--c-main); }
.p-plan__badge--jitaku-jiin   { background: var(--c-brown); }
.p-plan__main { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--sp-48); align-items: center; }
.p-plan__img img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.p-plan__price { background: #fff; border: 1px solid var(--c-line); border-radius: 10px; box-shadow: var(--shadow); padding: var(--sp-24); }
.p-plan__price-normal { font-size: 18px; font-weight: 700; color: #7a7f8d; }
.p-plan__price-normal s { margin-left: 6px; }
.p-plan__price-tag {
  display: inline-block; padding: 2px 14px; border-radius: 14px;
  background: var(--c-gold); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em;
}
.p-plan__price-num {
  font-size: 65px; font-weight: 700; line-height: 1.2; color: var(--c-red); letter-spacing: .02em;
}
.p-plan__price-num small { font-size: 14px; font-weight: 500; color: var(--c-text); }
.p-plan__seat {
  margin-top: var(--sp-16); padding-top: var(--sp-16); border-top: 1px solid var(--c-line);
  display: grid; gap: 6px; font-size: 14px;
}
.p-plan__seat div { display: flex; justify-content: space-between; max-width: 240px; font-weight: 700; color: var(--c-main); }

.p-plan__set-ttl {
  display: flex; align-items: center; gap: var(--sp-8);
  margin-top: var(--sp-48);
  font-size: 17px; font-weight: 700; color: var(--c-main);
}
.p-plan__set-ttl::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; background: var(--c-gold); transform: rotate(45deg); }
.p-plan__set-ttl::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.p-plan__set { margin-top: var(--sp-24); display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.p-plan__set li {
  width: 100%; max-width: 140px; aspect-ratio: 140 / 142;
  display: flex; flex-direction: column;
  border: 1px solid #DCE0EA; border-radius: 8px; overflow: hidden;
  text-align: center; font-size: 12px; background: #fff;
}
.p-plan__set img { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: contain; background: #DCE0EA; padding: 6px; box-sizing: border-box; }
/* 基本セット：17項目。アイコンは正方形キャンバスのSVGなので、どれも同じ大きさで表示される。PCは9列で2段（9+8）。アイコンは余白を小さくして大きめに */
.p-plan__set:not(.p-plan__set--option) { grid-template-columns: repeat(9, 1fr); }
.p-plan__set:not(.p-plan__set--option) li { max-width: none; font-size: 14px; aspect-ratio: auto; }
/* ラベルが2行になってもアイコンの大きさが変わらないよう、アイコン領域を固定比にして枠の高さを可変にする */
.p-plan__set:not(.p-plan__set--option) img { flex: none; height: auto; aspect-ratio: 4 / 3; }
.p-plan__set:not(.p-plan__set--option) span { flex: 1 1 auto; padding-inline: 0; letter-spacing: -.02em; text-wrap: balance; } /* 8文字のラベル（ホール施設使用料 等）が1文字だけ折り返さないよう、左右余白と字間を詰め、折り返す幅では行を均等に分ける */
.p-plan__set span { display: flex; flex-shrink: 0; align-items: center; justify-content: center; padding: 6px 4px; font-weight: 700; color: var(--c-main); background: #fff; }
/* 追加オプション：基本セットより控えめにするため小さめのタイル */
.p-plan__set--option { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--sp-8); }
.p-plan__set--option li { max-width: none; font-size: 11px; }
/* そのプランに無い項目：他プランと同じ位置に薄く表示し、斜線ハッチ＋打ち消し線で無効状態を示す */
.p-plan__set li.is-none { position: relative; }
.p-plan__set li.is-none img { opacity: .3; filter: grayscale(1); }
.p-plan__set li.is-none span { opacity: .45; text-decoration: line-through; }
.p-plan__set li.is-none::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--c-text) 22%, transparent) 6px 8px); }

.p-plan__steps {
  margin-top: var(--sp-48); background: #fff; border: 1px solid #D9CBA6; border-radius: 16px;
  padding: var(--sp-24); overflow: hidden;
}
.p-plan__steps-ttl { text-align: center; font-size: 17px; font-weight: 700; color: var(--c-main); }
.p-plan__steps-list {
  margin-top: var(--sp-24); display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 10px;
}
.p-plan__steps-list li:not(.p-plan__steps-arrow) {
  display: grid; place-items: center; width: 92px; height: 92px; flex-shrink: 0;
  border: 1px solid var(--c-main); border-radius: 50%; background: #EDEEF3; font-size: 13px; font-weight: 700; color: var(--c-main); text-align: center; line-height: 1.4;
}
.p-plan__steps-arrow { display: flex; align-items: center; flex-shrink: 0; color: var(--c-gold); font-size: 14px; }
.p-plan__steps-note {
  margin: var(--sp-24) auto 0; width: 1054px; max-width: 100%; height: 53px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-base); padding-inline: var(--sp-16); text-align: center;
  font-size: 15.5px; font-weight: 700; color: var(--c-main);
}
#kazoku .c-ttl__main, #ippan .c-ttl__main, #jitaku-jiin .c-ttl__main { font-size: 33px; }
#kazoku .c-ttl__main, #kazoku .p-plan__steps-ttl { color: var(--c-wine); }
#ippan .c-ttl__main, #ippan .p-plan__steps-ttl { color: var(--c-main); }
#jitaku-jiin .c-ttl__main, #jitaku-jiin .p-plan__steps-ttl { color: var(--c-brown); }

/* ---------- ホール ---------- */
.p-hall__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-24); }
.p-hall__card { background: #fff; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.p-hall__head { background: var(--c-main); color: #fff; padding: 12px var(--sp-24); font-size: 17px; font-weight: 700; }
.p-hall__body { padding: var(--sp-24); }
.p-hall__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--c-gray); }
.p-hall__catch { font-size: 14px; font-weight: 700; color: var(--c-main); }
.p-hall__table { margin-top: var(--sp-16); font-size: 13.5px; }
.p-hall__table th, .p-hall__table td { border-bottom: 1px solid var(--c-line); padding: 10px 4px; text-align: left; vertical-align: top; }
.p-hall__table th { width: 84px; color: var(--c-gold); font-weight: 700; white-space: nowrap; }
.p-hall__access { margin-top: var(--sp-16); background: var(--c-base); border-radius: 6px; padding: var(--sp-16); font-size: 13px; line-height: 1.7; }
.p-hall__access dt { display: flex; gap: 6px; align-items: center; font-weight: 700; color: var(--c-main); }
.p-hall__access dt::before { content: ""; width: 7px; height: 7px; background: var(--c-gold); transform: rotate(45deg); }
.p-hall__access dd + dt { margin-top: 12px; }
.p-hall__access dd { padding-left: 13px; }

/* ---------- お知らせ ---------- */
.p-news__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-24) var(--sp-48); }
.p-news__card { display: block; background: #fff; border: 1px solid #DCE0EA; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.p-news__thumb {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--c-gray);
  display: grid; place-items: center; color: #9aa0b0; font-size: 13px;
}
.p-news__body { padding: var(--sp-16) var(--sp-24) var(--sp-24); }
.p-news__date { font-size: 15px; color: var(--c-gold); font-weight: 500; }
.p-news__ttl { font-size: 18px; font-weight: 700; color: var(--c-main); }

.c-pager { margin-top: var(--sp-48); display: flex; justify-content: center; gap: 12px; }
.c-pager a, .c-pager span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--c-main); font-size: 14px; font-weight: 700;
}
.c-pager .is-current { background: var(--c-main); color: #fff; }

.p-newsdetail { background: #fff; border: 1px solid #DCE0EA; border-radius: 10px; box-shadow: var(--shadow); padding: var(--sp-48); }
.p-newsdetail__date { font-size: 14px; color: var(--c-gold); font-weight: 500; }
.p-newsdetail__ttl {
  margin-top: 6px; padding-bottom: var(--sp-24); border-bottom: 1px solid var(--c-line);
  font-size: 26px; font-weight: 700; color: var(--c-main);
}
.p-newsdetail__body { margin-top: var(--sp-24); font-size: 15px; }
.p-newsdetail__body p + p { margin-top: var(--sp-16); }
/* .is-style-ms-info = WordPressのブロックスタイル「案内枠」（テーマ化後の投稿本文用） */
.p-newsdetail__info,
.p-newsdetail__body .is-style-ms-info {
  margin-top: var(--sp-24); background: var(--c-base); border: 1px solid #EDE3C7; border-radius: 8px;
  padding: var(--sp-24);
}
.p-newsdetail__info-ttl,
.p-newsdetail__body .is-style-ms-info p:first-child { font-size: 16px; font-weight: 700; color: var(--c-main); }
.p-newsdetail__info-txt,
.p-newsdetail__body .is-style-ms-info p + p { margin-top: var(--sp-16); font-size: 14px; line-height: 2; }
.p-newsdetail__figure,
.p-newsdetail__body .wp-block-image { margin-top: var(--sp-24); text-align: center; }
.p-newsdetail__figure img,
.p-newsdetail__body .wp-block-image img { max-width: 360px; }
.p-back { margin-top: var(--sp-48); text-align: center; }

/* ---------- お悔み情報 ---------- */
.p-obit__card {
  max-width: 760px; margin-inline: auto;
  border: 2px solid var(--c-main); border-radius: 16px; padding: var(--sp-48); background: #fff;
}
.p-obit__name { text-align: center; font-size: 28px; font-weight: 700; color: var(--c-main); letter-spacing: .06em; }
.p-obit__name small { font-size: 17px; margin-left: 10px; }
.p-obit__rows { margin-top: var(--sp-48); }
.p-obit__row { display: grid; grid-template-columns: 120px 1fr; padding-block: var(--sp-24); border-top: 1px solid var(--c-line); }
.p-obit__row:first-child { border-top: none; }
.p-obit__label { font-size: 19px; font-weight: 700; color: var(--c-main); letter-spacing: .3em; }
.p-obit__date { font-size: 19px; font-weight: 700; color: var(--c-main); }
.p-obit__place { margin-top: 10px; display: grid; grid-template-columns: 96px 1fr; font-size: 14px; }
.p-obit__place dt { color: var(--c-gold); font-weight: 700; }
.p-obit__place dd { font-weight: 700; }
.p-obit__caution {
  display: inline-block; margin-top: var(--sp-16); padding: 0px 16px; border-radius: 19px;
  background: var(--c-red); color: #fff; font-size: 13px; font-weight: 700;
}
.p-obit__chief { margin-top: var(--sp-48); text-align: center; font-size: 16px; line-height: 2.2; }
.p-obit__chief dt { display: inline-block; width: 3em; color: var(--c-gold); font-weight: 700; }
.p-obit__chief dd { display: inline; margin-left: var(--sp-16); font-weight: 700; }

.p-obit__tel-banner {
  position: relative; max-width: 760px; margin-inline: auto; margin-top: var(--sp-48);
  border-radius: 10px; overflow: hidden;
  background: linear-gradient(100deg, #6E2A3A, #8E4E67);
  color: #fff; padding: var(--sp-48);
}
.p-obit__tel-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.p-obit__tel-banner > * { position: relative; z-index: 1; }
.p-obit__tel-ttl { font-size: 24px; font-weight: 700; }
.p-obit__tel-note { margin-top: 6px; font-size: 12.5px; }

/* お悔み情報一覧 */
.p-obitlist { display: grid; gap: var(--sp-16); }
.p-obitlist__item {
  display: grid; grid-template-columns: 140px 1fr auto; gap: var(--sp-24); align-items: center;
  background: #fff; border: 1px solid color-mix(in srgb, var(--c-gold) 40%, white); border-radius: 8px;
  box-shadow: var(--shadow); padding: var(--sp-24);
}
.p-obitlist__date { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-main); }
.p-obitlist__date::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; background: var(--c-gold); transform: rotate(45deg); }
.p-obitlist__hall { display: flex; font-size: 18px; font-weight: 700; color: var(--c-main); }
.p-obitlist__area { display: inline-block; width: 7em; flex-shrink: 0; }

/* ---------- 供花・盛籠 ---------- */
.p-goods { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-24); }
.p-goods__card {
  width: 100%; max-width: 256px; height: 629px; box-sizing: border-box; margin-inline: auto;
  background: #fff; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; text-align: center;
}
.p-goods__img {
  width: 100%; height: 391px; object-fit: cover; background: var(--c-gray);
  border: 1px solid #DCE0EA;
  box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--c-main) 7%, transparent),
              0 1px 2px color-mix(in srgb, var(--c-main) 6%, transparent);
}
.p-goods__body { padding: var(--sp-16); }
/* 供花・盛籠：ご注文（見出しと電話ボタンを近づけて中央に並べる） */
.p-goods__order { display: grid; justify-items: center; gap: var(--sp-8); }
.p-goods__order .l-cta__tel { margin-top: 0; } /* .l-cta__tel 標準の上余白(24px)を打ち消し、見出しに近づける */
.p-lead--strong.p-goods__order-ttl { font-size: 20px; line-height: 1.4; } /* 全幅で20px（SPの.p-lead--strong 19pxより優先） */
.p-goods__name { font-size: 18px; font-weight: 700; color: var(--c-main); }
.p-goods__price { margin-top: 6px; font-size: 26px; font-weight: 700; color: var(--c-red); }
.p-goods__price small { font-size: 15px; }
.p-goods__txt { margin-top: 10px; font-size: 13px; text-align: center; line-height: 1.8; color: #5B5C66; }

/* ---------- メモリアルビデオ ---------- */
.p-point { display: grid; gap: var(--sp-16); }
.p-point__item {
  display: grid; grid-template-columns: 110px 1fr; gap: var(--sp-24); align-items: center;
  background: #fff; border: 1px solid #DCE0EA; border-radius: 10px; padding: var(--sp-24);
  box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--c-main) 7%, transparent),
              0 1px 2px color-mix(in srgb, var(--c-main) 6%, transparent);
}
.p-point__num {
  display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%;
  border: 1px solid var(--c-main); background: #EDEEF3; color: var(--c-main); line-height: 1.2; text-align: center;
}
.p-point__num small { display: block; font-size: 10px; letter-spacing: .3em; margin-right: -.3em; color: var(--c-gold); font-weight: 700; }
.p-point__num strong { display: block; margin-top: -27px; font-size: 32px; line-height: 1; }
.p-point__ttl { font-size: 23px; font-weight: 700; color: var(--c-main); }
.p-point__txt { margin-top: 6px; font-size: 16px; }

.p-media { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-48); align-items: center; }
.p-media img { width: 100%; border-radius: 10px; }
.p-media__ttl { font-size: 21px; font-weight: 700; color: var(--c-main); padding-bottom: 12px; border-bottom: 1px solid #D9CBA6; }
.p-media__txt { margin-top: var(--sp-16); font-size: 14.5px; }

/* ---------- ペット火葬 ---------- */
.p-pet__plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-24); }
.p-pet__card { background: #fff; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.p-pet__head { background: var(--c-main); color: #fff; text-align: center; font-size: 18px; font-weight: 700; padding: 12px; border-bottom: 1px solid var(--c-gold); }
.p-pet__card--tachiai .p-pet__head { background: var(--c-wine); }
.p-pet__body { padding: var(--sp-24); }
.p-pet__set {
  border: 1px solid var(--c-gold); background: #ECEFF6; border-radius: 999px;
  text-align: center; font-size: 14px; font-weight: 700; color: var(--c-main); padding: 8px;
}
.p-pet__card--tachiai .p-pet__set { background: #F3E5E8; }
.p-pet__txt { margin-top: var(--sp-16); font-size: 13.5px; }
.p-pet__steps { margin-top: var(--sp-16); display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.p-pet__steps li:not(.p-plan__steps-arrow) {
  display: grid; place-items: center; min-width: 75px; height: 60px; padding: 4px 8px;
  border: 2px solid var(--c-main); border-radius: 4px; font-size: 13.5px; font-weight: 700; color: var(--c-main); text-align: center;
  background: #ECEFF6;
}
.p-pet__card--tachiai .p-pet__steps li:not(.p-plan__steps-arrow) { background: #F3E5E8; }
.p-price-table { font-size: 14px; background: #fff; box-shadow: var(--shadow); border-radius: 8px; overflow: hidden; }
.p-price-table th, .p-price-table td { padding: 14px var(--sp-16); border-bottom: 1px solid var(--c-line); }
.p-price-table thead th { background: var(--c-main); color: #fff; font-weight: 700; text-align: left; }
.p-price-table thead th:nth-child(3), .p-price-table thead th:nth-child(4) { text-align: center; }
.p-price-table tbody th { font-weight: 700; text-align: left; }
.p-price-table td.is-price { text-align: center; font-weight: 700; color: var(--c-main); white-space: nowrap; }

/* ---------- 事前相談 ---------- */
.p-worry { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-48); align-items: center; }
.p-worry img { width: 100%; border-radius: 8px; }
.p-worry__list { display: grid; gap: 12px; font-size: 17px; font-weight: 600; border-bottom: 1px dashed #DCE0EA; padding-bottom: 12px; }
.p-worry__list li { display: flex; gap: 10px; align-items: flex-start; }
.p-worry__list li::before {
  content: ""; margin-top: .65em; width: 7px; height: 7px; flex: none; transform: rotate(45deg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c-gold) 60%, white), var(--c-gold));
}
.p-reason { display: grid; gap: var(--sp-16); }
.p-reason__item {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-16); align-items: center;
  background: #fff; border: 1px solid #DCE0EA; border-radius: 8px; box-shadow: var(--shadow); padding: var(--sp-24);
}
.p-reason__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-gold); background: var(--c-main); color: #fff; font-weight: 700; }
.p-reason__ttl { font-size: 17px; font-weight: 700; color: var(--c-main); }
.p-reason__txt { margin-top: 4px; font-size: 14px; }
.p-benefit {
  display: grid; grid-template-columns: 96px 1fr; gap: var(--sp-24); align-items: center;
  background: var(--c-main); color: #fff; border-radius: 10px; padding: var(--sp-24) var(--sp-48);
}
.p-benefit__badge {
  display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  border: 1px solid #FFF; background: linear-gradient(145deg, color-mix(in srgb, var(--c-gold) 60%, white), var(--c-gold));
  color: #fff; font-size: 13px; font-weight: 700; text-align: center; line-height: 1.4;
}
.p-benefit__ttl { font-size: 21px; font-weight: 700; }
.p-benefit__txt { margin-top: 6px; font-size: 14px; }

.p-top-line {
  background: var(--c-base) url("../images/line-back.webp") top center / cover no-repeat;
}
.p-line {
  display: grid; grid-template-columns: 1fr 200px; gap: var(--sp-48); align-items: center;
  max-width: 760px; margin-inline: auto;
  background: #fff; border: 2px solid var(--c-gold); border-radius: 15px; padding: var(--sp-48);
}
.p-line__qr { border-left: 1px dashed var(--c-gold); padding-left: var(--sp-24); }
.p-line__cap { font-size: 13px; color: var(--c-gold); font-weight: 700; }
.p-line__ttl { margin-top: 6px; font-size: 24px; font-weight: 700; color: var(--c-main); line-height: 1.6; }
.p-line__ttl em { font-style: normal; font-size: 34px; color: var(--c-red); }
.p-line__txt { margin-top: var(--sp-16); font-size: 13px; }
.p-line__qr { text-align: center; font-size: 11px; }
.p-line__qr img { width: 130px; }
.p-line__qr p { font-weight: 700; }
.p-line__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 8px; padding: 8px 20px; border-radius: 6px; background: #06C755; color: #fff; font-weight: 700; font-size: 13px;
}
.p-line__btn.u-sp { display: none; } /* .p-line__btnのdisplay指定より後勝ちさせないための明示 */

/* ---------- お急ぎの方へ ---------- */
.p-checklist { border: 2px solid var(--c-main); border-radius: 8px; padding: var(--sp-48); max-width: 760px; margin-inline: auto; background: #fff; }
.p-checklist__ttl { text-align: center; font-size: 23px; font-weight: 700; color: var(--c-main); }
.p-checklist__note { margin-top: 6px; text-align: center; font-size: 12.5px; }
.p-checklist__list { margin-top: var(--sp-24); }
.p-checklist__list li {
  display: flex; align-items: center; gap: var(--sp-16);
  padding: 14px 0; border-bottom: 2px dotted var(--c-line); font-size: 15px; font-weight: 700; color: var(--c-main);
}
.p-checklist__list li:last-child { border-bottom: none; }
.p-checklist__num {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-gold); color: #fff; font-size: 12px; font-weight: 700;
}
.p-step { display: grid; gap: 0; }
.p-step__item {
  display: grid; grid-template-columns: 108px 1fr; gap: var(--sp-16); align-items: center;
  background: #fff; border: 1px solid #DCE0EA; border-radius: 10px; padding: var(--sp-24);
  box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--c-main) 7%, transparent),
              0 1px 2px color-mix(in srgb, var(--c-main) 6%, transparent);
}
.p-step__num {
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  border: 1px solid var(--c-main); background: #EDEEF3; color: var(--c-main); line-height: 1.2; text-align: center;
}
.p-step__num small { display: block; font-size: 10px; letter-spacing: .3em; margin-right: -.3em; color: var(--c-gold); font-weight: 700; }
.p-step__num strong { display: block; margin-top: -27px; font-size: 32px; line-height: 1; }
.p-step__ttl { font-size: 23px; font-weight: 700; color: var(--c-main); }
.p-step__txt { margin-top: 6px; font-size: 16px; }
.p-step__arrow { display: grid; place-items: center; height: 40px; color: var(--c-gold); font-size: 14px; }

/* ---------- 互助会員乗り換え割 ---------- */
.p-switch__banner {
  display: flex; align-items: center; gap: var(--sp-24);
  background: var(--c-main); color: #fff; border-radius: 10px; padding: var(--sp-24) var(--sp-48);
}
.p-switch__badge {
  flex: none; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%;
  border: 1px solid #FFF; background: linear-gradient(145deg, color-mix(in srgb, var(--c-gold) 60%, white), var(--c-gold));
  color: #fff; font-size: 13px; font-weight: 700; text-align: center; line-height: 1.5;
}
.p-switch__ttl { font-size: 21px; font-weight: 700; }
.p-switch__arrow {
  margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #fff; background: #fff; color: var(--c-main);
}
.p-switch__banner.u-mt-48 { transition: opacity .2s ease, box-shadow .2s ease; }
.p-switch__banner.u-mt-48:hover { opacity: .85; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.p-service-list {
  background: #fff; border: 1px solid #DCE0EA; border-radius: 10px;
  box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--c-main) 7%, transparent),
              0 1px 2px color-mix(in srgb, var(--c-main) 6%, transparent);
  padding: var(--sp-48);
}
.p-service-list__ttl { font-size: 24px; font-weight: 700; color: var(--c-main); }
.p-service-list__items { margin-top: var(--sp-24); display: grid; gap: var(--sp-16); font-size: 15px; }
/* 本文中にspan（赤字）が混ざるため、flexだと文が別カラムに分割される → インライン＋ぶら下げインデントで1文として流す */
.p-service-list__items li { padding-left: 20px; text-indent: -20px; }
.p-service-list__items li::before {
  content: ""; display: inline-block; vertical-align: middle; margin-right: 12px; width: 8px; height: 8px; transform: rotate(45deg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c-gold) 60%, white), var(--c-gold));
}
.p-service-list__items .is-red { color: var(--c-red); font-weight: 700; font-size: 20px; vertical-align: baseline; }

/* ---------- 会社概要 ---------- */
.p-company__card {
  display: grid; grid-template-columns: 320px 1fr; grid-template-rows: 1fr; align-items: center;
  width: 100%; max-width: 1120px; height: 160px; box-sizing: border-box; margin-inline: auto;
  background: #fff; border: 1px solid #DCE0EA; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--c-main) 7%, transparent),
              0 1px 2px color-mix(in srgb, var(--c-main) 6%, transparent);
}
.p-company__card + .p-company__card { margin-top: var(--sp-24); }
.p-company__card--hall { height: 230px; }
.p-company__name { text-align: center; font-size: 21px; font-weight: 700; color: var(--c-main); }
.p-company__card--hall .p-company__name { text-align: left; padding-bottom: var(--sp-16); border-bottom: 1px solid #D9CBA6; }
.p-company__img { width: 100%; height: 158px; object-fit: cover; background: var(--c-gray); }
.p-company__card--hall .p-company__img { height: 228px; }
.p-company__body { padding: var(--sp-8) var(--sp-24); font-size: 15px; line-height: 2; }
.p-company__body--split { border-left: 1px solid #D9CBA6; }

/* ---------- プライバシーポリシー ---------- */
.p-policy { background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: var(--sp-80) var(--sp-48); width: 100%; max-width: 954px; margin-inline: auto; border: 1px solid #DCE0EA; box-sizing: border-box; }
.p-policy__block + .p-policy__block { margin-top: var(--sp-48); }
.p-policy__ttl { font-size: 18px; font-weight: 700; color: var(--c-main); }
.p-policy__txt { margin-top: var(--sp-16); font-size: 18px; }
.p-policy__list { margin-top: var(--sp-16); font-size: 14.5px; }
.p-policy__list li { padding-left: 1.1em; text-indent: -1.1em; }
.p-policy__list li::before { content: "・"; }
.p-policy__intro {
  max-width: 780px; margin-inline: auto; text-align: center;
  padding-block: var(--sp-24); border-top: 1px solid var(--c-gold); border-bottom: 1px solid var(--c-gold);
  font-size: 17px; font-weight: 700; color: var(--c-main); line-height: 1.9;
}

/* ---------- 求人情報 ---------- */
.p-recruit__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.p-recruit__tags .u-break { flex-basis: 100%; width: 0; height: 0; margin: 0; padding: 0; border: none; }
.p-recruit__tags li {
  border: 1.5px solid var(--c-gold); border-radius: 5px; padding: 6px 16px;
  font-size: 15.5px; font-weight: bold; color: #937218; background: #FFFBF0;
}
.p-recruit__work {
  width: 100%; max-width: 969px; height: auto; box-sizing: border-box; margin-inline: auto;
  background: #fff; border: 1px solid #ECEFF6; border-radius: 10px; box-shadow: var(--shadow); padding: 24px 48px;
}
.p-recruit__work-ttl { font-size: 18px; font-weight: 700; color: var(--c-main); }
.p-recruit__work-list { margin-top: var(--sp-16); display: grid; gap: 10px; font-size: 16px; }
.p-recruit__work-list li { display: flex; gap: 10px; align-items: flex-start; }
.p-recruit__work-list li::before {
  content: ""; margin-top: .65em; width: 7px; height: 7px; flex: none; transform: rotate(45deg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c-gold) 60%, white), var(--c-gold));
}
.p-recruit__work-note { margin-top: var(--sp-24); background: #ECEFF6; border-radius: 6px; padding: var(--sp-16); font-size: 16px; }
.p-table { width: 100%; max-width: 969px; margin-inline: auto; font-size: 14.5px; background: #fff; box-shadow: var(--shadow); border-radius: 8px; overflow: hidden; }
.p-table th, .p-table td { padding: 16px var(--sp-24); border-bottom: 1px dotted var(--c-line); text-align: left; vertical-align: top; }
.p-table thead th { background: var(--c-main); color: #fff; }
.p-table tbody th { width: 160px; font-weight: 700; color: var(--c-main); background: #fff; }
.p-recruit__contact {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-24);
  max-width: 680px; margin-inline: auto;
  background: #FFFFFF; border: 1px solid var(--c-main); border-radius: 12px; padding: var(--sp-24); font-size: 14px;
}
.p-recruit__contact strong { font-size: 26px; color: var(--c-main); }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media screen and (max-width: 900px) {
  .p-lead { font-size: 15px; text-align: left; }
  .p-lead--strong { font-size: 19px; text-align: center; }
  .p-msgbox { font-size: 15px; }
  .p-hall__catch { font-size: 15px; }

  .p-flow__item { grid-template-columns: 1fr; height: auto; padding-inline: 0; }
  .p-flow__img { width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 12px 12px 0 0; }
  .p-flow__body { padding: 0 var(--sp-24) var(--sp-24); }
  .p-flow__num { font-size: 36px; }
  .p-flow__txt { font-size: 15px; }
  .p-flow__ttl { font-size: 18px; }

  .p-feature__index { grid-template-columns: 1fr; }
  .p-feature__index a { font-size: 17px; }
  .p-feature__item { grid-template-columns: 1fr; gap: var(--sp-24); }
  .p-feature__item:nth-child(even) .p-feature__img { order: 0; }
  .p-feature__head {
    display: flex; align-items: center; gap: var(--sp-16); padding-bottom: var(--sp-16);
    border-bottom: 1px solid color-mix(in srgb, var(--c-gold) 40%, white);
  }
  .p-feature__num { flex: none; width: 55px; height: 55px; font-size: 26px; }
  .p-feature__ttl { margin-top: 0; padding-bottom: 0; border-bottom: 0; font-size: 18px; }
  .p-feature__txt { font-size: 15px; }

  .p-lead--center { text-align: center; }
  .p-note { font-size: 14px; }
  .p-note--center { text-align: center; }

  .p-plan__nav { grid-template-columns: 1fr; gap: 12px; }
  .p-plan__nav a { height: auto; max-width: none; padding: 12px var(--sp-16); }
  .p-plan__nav-cap { font-size: 13px; }
  .p-plan__nav-ttl { margin-top: 0; font-size: 22px; }
  .p-plan__nav a::after { margin-top: 0; }
  .p-plan__main { grid-template-columns: 1fr; gap: var(--sp-24); }
  .p-plan__price-num { font-size: 36px; }
  .p-plan__set:not(.p-plan__set--option) { grid-template-columns: repeat(3, 1fr); }
  /* ラベルが2行になってもアイコン領域が縮まないよう、アイコン比率を固定してタイルの高さを可変にする */
  .p-plan__set:not(.p-plan__set--option) li { aspect-ratio: auto; }
  .p-plan__set:not(.p-plan__set--option) img { flex: none; height: auto; aspect-ratio: 4 / 3; }
  .p-plan__set:not(.p-plan__set--option) span { flex: 1 1 auto; }
  .p-plan__set--option { grid-auto-flow: row; grid-template-columns: repeat(3, 88px); justify-content: center; column-gap: var(--sp-8); }

  /* プランの流れ：縦並びの番号付きステップにして、折り返しで矢印が迷子にならないようにする */
  .p-plan__steps-list { flex-direction: column; align-items: stretch; gap: 0; counter-reset: step; }
  .p-plan__steps-list li:not(.p-plan__steps-arrow) {
    display: flex; align-items: center; gap: var(--sp-16);
    width: 100%; height: auto; min-height: 48px; padding: var(--sp-8) var(--sp-16);
    border-radius: 999px; font-size: 15px; text-align: left;
    counter-increment: step;
  }
  .p-plan__steps-list li:not(.p-plan__steps-arrow)::before {
    content: counter(step); flex: none; display: grid; place-items: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--c-main); color: #fff; font-size: 14px;
  }
  .p-plan__steps-list li br { display: none; }
  .p-plan__steps-list .p-plan__steps-arrow { justify-content: center; height: 24px; font-size: 0; }
  .p-plan__steps-list .p-plan__steps-arrow::before { content: "▼"; font-size: 10px; }
  .p-plan__steps-note { width: auto; height: auto; padding-block: var(--sp-16); }

  .p-hall__grid, .p-news__list, .p-pet__plans { grid-template-columns: 1fr; }
  /* 供花・盛籠：2列の縦長カードは名称・価格が折り返して読みにくいため、写真左＋情報右の1列カードにする */
  .p-goods { grid-template-columns: 1fr; gap: var(--sp-16); }
  .p-goods__card {
    display: grid; grid-template-columns: 112px 1fr; align-items: stretch;
    height: auto; min-height: 168px; max-width: none; text-align: left;
  }
  .p-goods__img { height: 100%; aspect-ratio: auto; }
  .p-goods__body { align-self: center; padding: var(--sp-16); }
  .p-goods__name { font-size: 16px; line-height: 1.5; }
  .p-goods__price { margin-top: var(--sp-8); margin-bottom: 12px; font-size: 22px; line-height: 1.3; }
  .p-goods__price small { font-size: 12px; }
  .p-goods__txt { margin-top: 0; font-size: 14px; line-height: inherit; text-align: inherit; }

  .p-obit__card, .p-checklist, .p-policy { padding: var(--sp-24); }
  .p-obit__name { font-size: 22px; }
  .p-obit__row { grid-template-columns: 1fr; gap: 10px; padding-block: var(--sp-16); }
  .p-obit__label { font-size: 16px; }
  .p-obit__date { font-size: 17px; }
  .p-obit__caution { font-size: 15px; }
  .p-obit__tel-banner { padding: var(--sp-24); }
  .p-obit__tel-ttl { font-size: 19px; }
  .p-obitlist__item { grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; }
  .p-obitlist__date { grid-column: 1 / -1; }
  .p-obitlist__hall { font-size: 15px; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; padding-left: var(--sp-16); }
  .p-obitlist__area { width: auto; margin-right: 0; }
  .p-obitlist__item .c-btn.c-btn--gold { padding: 4px 14px; min-height: 0; font-size: 13px; }

  .p-media, .p-worry, .p-line { grid-template-columns: 1fr; gap: var(--sp-24); }
  .p-line { padding: var(--sp-24); text-align: center; }
  .p-line__qr { display: none; }
  .p-line__btn.u-sp { display: inline-flex; min-height: 52px; padding: 12px 32px; border-radius: 999px; font-size: 15px; letter-spacing: .04em; }

  .p-point__item, .p-step__item { grid-template-columns: 64px 1fr; gap: 12px; }
  .p-point__num, .p-step__num { width: 60px; height: 60px; }
  .p-point__num strong, .p-step__num strong { font-size: 20px; }

  .p-media__ttl { font-size: 17px; }
  .p-checklist__ttl { font-size: 18px; }

  /* お急ぎの方へ：STEPは「番号＋見出し」を1行目、本文を2行目（全幅）にして詰まりを解消 */
  .p-step__item { grid-template-columns: 60px 1fr; gap: var(--sp-8) var(--sp-16); padding: var(--sp-16); }
  .p-step__item > div:not(.p-step__num) { display: contents; }
  .p-step__ttl { font-size: 18px; line-height: 1.5; }
  .p-step__txt {
    grid-column: 1 / -1; margin-top: 0; padding-top: 12px; border-top: 1px dashed var(--c-line);
    font-size: 15px; line-height: 1.7;
  }

  .p-worry__list { font-size: 15px; }
  .p-reason__item { grid-template-columns: 56px 1fr; gap: 12px; padding: var(--sp-24) 12px; }
  .p-reason__num { width: 50px; height: 50px; }

  /* 事前相談の特典：縦積みの大きなバッジをやめ、バッジ＋文言の横並びにして高さを抑える */
  .p-benefit { grid-template-columns: 64px 1fr; gap: 12px; text-align: left; padding: var(--sp-16); }
  .p-benefit__badge { width: 64px; height: 64px; font-size: 11px; }
  .p-benefit__ttl { font-size: 16px; line-height: 1.5; }
  .p-benefit__txt { margin-top: var(--sp-8); font-size: 13px; line-height: 1.6; }
  .p-top-line .c-btn--lg { min-height: 52px; font-size: 15px; padding-inline: 32px; }

  /* 乗り換え割バナー：縦積みで大きくなりすぎるため、バッジ＋文言＋矢印の1行構成にして「押せるバナー」と分かるようにする */
  .p-switch__banner { gap: 12px; padding: var(--sp-16); text-align: left; }
  .p-switch__badge { width: 64px; height: 64px; font-size: 11px; }
  .p-switch__ttl { font-size: 15px; line-height: 1.6; }
  .p-switch__arrow { flex: none; width: 28px; height: 28px; font-size: 10px; }
  .p-service-list { padding: var(--sp-24) var(--sp-16); }
  .p-service-list__ttl { font-size: 18px; }
  .p-service-list__items { gap: 12px; line-height: 1.7; }
  .p-service-list__items .is-red { font-size: 18px; }

  /* 会社概要：3カードとも「名称（左寄せ・金の下線）→住所」の同じ並びにそろえ、写真は16:9で高さを抑える */
  .p-company__card { grid-template-columns: 1fr; grid-template-rows: auto; align-items: start; height: auto; }
  .p-company__card--hall { height: auto; }
  .p-company__img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .p-company__card--hall .p-company__img { height: auto; }
  .p-company__name { text-align: left; font-size: 18px; padding-bottom: var(--sp-16); border-bottom: 1px solid #D9CBA6; }
  .p-company__card > .p-company__name { margin: var(--sp-24) var(--sp-24) 0; }
  .p-company__body { padding: var(--sp-16) var(--sp-24) var(--sp-24); line-height: 1.9; }
  .p-company__card--hall .p-company__body { padding-top: var(--sp-24); }
  .p-company__card--hall .p-company__name + p { margin-top: var(--sp-16); }
  .p-company__body--split { border-left: none; }
  .p-company__body a[href^="tel:"] { font-weight: 700; color: var(--c-main); text-decoration: underline; }

  /* お知らせ一覧：大きなサムネ＋縦積みをやめ、サムネ左・日付とタイトル右の横並びカードにして一覧性を上げる */
  .p-news__list { gap: 12px; }
  .p-news__card { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: var(--sp-16); padding: 12px; }
  .p-news__thumb { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 8px; font-size: 10px; line-height: 1.4; text-align: center; padding: 4px; box-sizing: border-box; }
  .p-news__body { padding: 0; }
  .p-news__date { font-size: 13px; }
  .p-news__ttl { margin-top: 4px; font-size: 15px; line-height: 1.5; }
  .c-pager { margin-top: var(--sp-24); }

  .p-newsdetail__figure img,
  .p-newsdetail__body .wp-block-image img { max-width: 100%; height: auto; }
  .p-newsdetail { padding: var(--sp-24); }
  .p-newsdetail__ttl { font-size: 20px; }

  .p-faq__q { font-size: 15px; font-weight: 500; }

  .p-recruit__tags li { border-width: 1.5px; padding: 4px 12px; font-size: 13.5px; }
  .p-recruit__work-note { font-size: 14px; }

  .p-recruit__contact { flex-direction: column; gap: 10px; text-align: center; }
  .p-recruit__work { height: auto; padding: var(--sp-24); }

  /* ペット出張火葬 */
  .p-pet__body { padding: var(--sp-24) var(--sp-16); }
  .p-pet__txt { font-size: 15px; }
  /* 流れ：折り返さず1行に等幅で並べる（3〜4ステップとも375pxに収まる） */
  .p-pet__steps { flex-wrap: nowrap; gap: 4px; }
  .p-pet__steps li:not(.p-plan__steps-arrow) { flex: 1; min-width: 0; padding: 4px; font-size: 12px; line-height: 1.4; }
  .p-pet__steps .p-plan__steps-arrow { flex: none; font-size: 10px; }


}

/* =========================================================
   タブレット（601〜900px）
   SP用の1列レイアウトが横に間延びする箇所を、2〜3列／横並びに戻す
   ========================================================= */
@media screen and (min-width: 601px) and (max-width: 900px) {
  /* 特長 */
  .p-feature__index { grid-template-columns: repeat(2, 1fr); }
  .p-feature__item { grid-template-columns: 1fr 1fr; gap: var(--sp-24); }
  .p-feature__item:nth-child(even) .p-feature__img { order: 2; }

  /* 葬儀の流れ：写真左＋本文右 */
  .p-flow__item { grid-template-columns: 240px 1fr; gap: var(--sp-24); padding: var(--sp-16); }
  .p-flow__img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 10px; }
  .p-flow__body { padding: 0; }

  /* 葬儀プラン */
  .p-plan__nav { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .p-plan__nav a { padding: 12px var(--sp-8); }
  .p-plan__nav-cap { font-size: 12px; }
  .p-plan__nav-ttl { font-size: 17px; }
  .p-plan__main { grid-template-columns: 1.15fr 1fr; gap: var(--sp-24); }
  .p-plan__set:not(.p-plan__set--option) { grid-template-columns: repeat(6, 1fr); }
  .p-plan__set:not(.p-plan__set--option) li { max-width: none; }
  .p-plan__set--option { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, 104px); justify-content: start; }
  .p-plan__steps-list { max-width: 440px; margin-inline: auto; }

  /* 供花・盛籠／お知らせ／ホール／ペット */
  .p-goods, .p-news__list, .p-hall__grid, .p-pet__plans { grid-template-columns: repeat(2, 1fr); }

  /* 事前相談・お急ぎの方へ */
  .p-media, .p-worry { grid-template-columns: 1fr 1.1fr; gap: var(--sp-24); }

  /* お悔み詳細：ラベルを左、日時・式場を右の2列に戻す */
  .p-obit__row { grid-template-columns: 100px 1fr; gap: var(--sp-16); }
  .p-obit__label { font-size: 17px; }

  /* 会社概要：ホールの写真を左に置く */
  .p-company__card--hall { grid-template-columns: 260px 1fr; align-items: stretch; }
  .p-company__card--hall .p-company__img { height: 100%; min-height: 0; aspect-ratio: auto; }
  .p-company__card--hall .p-company__body { align-self: center; }
}

/* ペット料金表：SP(〜600px)のみカード化。タブレット以上は通常の表 */
@media screen and (max-width: 600px) {
  /* 料金表：横スクロールをやめ、区分ごとのカード（見出しバー＋種別＋2つの料金）にする */
  .p-price-table { display: block; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .p-price-table thead { display: none; }
  .p-price-table tbody { display: grid; gap: var(--sp-16); }
  .p-price-table tbody tr {
    display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
    background: #fff; border: 1px solid #DCE0EA; border-radius: 8px; box-shadow: var(--shadow);
  }
  .p-price-table tbody th, .p-price-table tbody td { border-bottom: 0; }
  .p-price-table tbody th { grid-column: 1 / -1; padding: 8px var(--sp-16); background: var(--c-main); color: #fff; font-size: 15px; }
  .p-price-table tbody td:nth-child(2) { grid-column: 1 / -1; padding: 12px var(--sp-16); border-bottom: 1px solid var(--c-line); line-height: 1.6; }
  .p-price-table tbody td.is-price { padding: 12px 8px; font-size: 20px; }
  .p-price-table tbody td.is-price:nth-child(3) { border-right: 1px solid var(--c-line); }
  .p-price-table tbody td.is-price::before { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 500; color: var(--c-text); }
  .p-price-table tbody td.is-price:nth-child(3)::before { content: "一任個別火葬"; }
  .p-price-table tbody td.is-price:nth-child(4)::before { content: "立会個別火葬"; }
}

/* 求人の募集要項表：SP(〜600px)のみ縦積みカード。タブレット以上は通常の表 */
@media screen and (max-width: 600px) {
  /* 募集要項の表：項目名を見出しバー、内容を本文にした縦積みの行カードにして読みやすくする */
  .p-table thead { display: none; }
  .p-table tbody tr { display: block; border-bottom: 1px solid var(--c-line); }
  .p-table tbody tr:last-child { border-bottom: 0; }
  .p-table tbody th, .p-table tbody td { display: block; width: auto; border-bottom: 0; }
  .p-table tbody th { padding: 8px var(--sp-16); border-left: 4px solid var(--c-main); background: var(--c-gray); font-size: 14px; }
  .p-table tbody td { padding: 12px var(--sp-16) var(--sp-16); font-size: 15px; line-height: 1.7; }
}

/* タブレット横（901〜1180px）：価格カードが狭いので、65pxの価格が「（税込）」を押し出さないよう縮める */
@media screen and (min-width: 901px) and (max-width: 1180px) {
  .p-plan__price-num { font-size: 44px; line-height: 1.2; }
  .p-plan__set:not(.p-plan__set--option) { grid-template-columns: repeat(6, 1fr); } /* 基本セット17項目：9列だとラベルが折り返すので6列 */
  .p-plan__set:not(.p-plan__set--option) li { max-width: none; }
}

/* ---------- 厳選コレクション（葬儀プラン下部） ---------- */
.p-collection { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-24); }
.p-collection__card { height: 100%; overflow: hidden; background: var(--c-white); border-radius: 15px; box-shadow: var(--shadow); }
.p-collection__img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.p-collection__body { padding: var(--sp-16); }
.p-collection__name { font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--c-main); }
.p-collection__txt { margin-top: var(--sp-8); font-size: 14px; line-height: 1.8; }
/* PC：5件を横1列に並べる */
.p-collection { grid-template-columns: repeat(5, 1fr); gap: var(--sp-16); }

@media screen and (max-width: 900px) {
  /* タブレット・SP：1列の横並び（写真左・文字右） */
  .p-collection { grid-template-columns: 1fr; gap: var(--sp-16); max-width: 520px; margin-inline: auto; } /* タブレットでは幅いっぱいにせず中央寄せで小さく */
  .p-collection__card { display: grid; grid-template-columns: 40% 1fr; align-items: stretch; }
  .p-collection__img { height: 100%; }
  .p-collection__body { display: flex; flex-direction: column; justify-content: center; padding: var(--sp-16); }
  .p-collection__name { font-size: 14px; }
  .p-collection__txt { font-size: 13px; }
}
