/* ======================================
  フローラルホール Petit
  ペット家族葬プラン LP
  pet-family-plan.css
====================================== */

/* ======================================
  Maintenance
====================================== */

.pf-family-maintenance {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 80px 20px;
  background: #f8f3ec;
  color: #43392f;
  text-align: center;
}

.pf-family-maintenance__inner {
  max-width: 720px;
  padding: 48px 32px;
  border-radius: 28px;
  background: #fffdf9;
  box-shadow: 0 20px 60px rgba(67, 57, 47, 0.1);
}

.pf-family-maintenance__label {
  margin-bottom: 12px;
  color: #b69a73;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.pf-family-maintenance h1 {
  margin: 0 0 20px;
  font-size: 36px;
}

.pf-family-maintenance p {
  line-height: 1.9;
}

.pf-family-maintenance__btn {
  display: inline-flex;
  margin-top: 28px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #b69a73;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

/* ======================================
  Base
====================================== */

.pf-family-lp {
  --pf-bg: #f8f3ec;
  --pf-bg-light: #fffdf9;
  --pf-primary: #b69a73;
  --pf-accent: #c88e95;
  --pf-text: #43392f;
  --pf-text-light: #7d7167;
  --pf-border: #e6ddd2;
  --pf-white: #ffffff;
  --pf-line: #06c755;
  --pf-tel: #a57a52;

  isolation: isolate;
  width: 100%;
  overflow: hidden;
  background: var(--pf-bg);
  color: var(--pf-text);
  font-family: "Noto Sans JP", sans-serif;
  text-align: left;
}

.pf-family-lp *,
.pf-family-lp *::before,
.pf-family-lp *::after {
  box-sizing: border-box;
}

.pf-family-lp h1,
.pf-family-lp h2,
.pf-family-lp h3,
.pf-family-lp p,
.pf-family-lp figure,
.pf-family-lp ol,
.pf-family-lp li {
  margin: 0;
  padding: 0;
}

.pf-family-lp img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.pf-family-lp a {
  color: inherit;
  text-decoration: none;
}

/* ======================================
  Line Break Control
  .pc-br: PC表示時に改行
  .sp-br: SP表示時に改行
====================================== */

.pf-family-lp .pc-br {
  display: inline;
}

.pf-family-lp .sp-br {
  display: none;
}

.pf-family-nowrap {
  white-space: nowrap;
}

/* ======================================
  Common
====================================== */

.pf-family-section {
  padding: 120px 24px;
}

.pf-family-section__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.pf-family-section__head {
  margin-bottom: 56px;
  text-align: center;
}

.pf-family-section__label {
  margin-bottom: 12px;
  color: var(--pf-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: inherit;
}

.pf-family-section__title {
  color: var(--pf-text);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-align: inherit;
}

.pf-family-section__lead {
  margin-top: 20px;
  color: var(--pf-text-light);
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: inherit;
}

.pf-family-section__line {
  display: block;
  width: 72px;
  height: 2px;
  margin: 28px auto 0;
  background: var(--pf-accent);
}

.pf-family-section__head--compact {
  margin-bottom: 48px;
}

.pf-family-section__head--compact .pf-family-section__title {
  font-size: clamp(28px, 3.4vw, 42px);
}

/* ======================================
  Back Button
====================================== */

.pf-family-pageback {
  width: min(1180px, calc(100% - 32px));
  margin: 6px auto 20px;
  text-align: left;
}

.pf-family-pageback__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 11px 0 0;
  padding: 10px 18px;
  border: 1px solid var(--pf-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--pf-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(67, 57, 47, 0.08);
  transition: 0.2s ease;
}

.pf-family-pageback__btn span {
  font-size: 16px;
  line-height: 1;
}

.pf-family-pageback__btn:hover {
  border-color: var(--pf-accent);
  background: #fff;
  color: var(--pf-accent);
  transform: translateY(-1px);
}

/* ======================================
  Hero
====================================== */

.pf-family-hero {
  padding: 88px 24px 120px;
  background:
    radial-gradient(
      circle at top left,
      rgba(200, 142, 149, 0.12),
      transparent 32%
    ),
    linear-gradient(180deg, var(--pf-bg-light) 0%, var(--pf-bg) 100%);
}

.pf-family-hero__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.pf-family-hero__content {
  width: min(1180px, 100%);
  margin: 0 auto 48px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.pf-family-hero__label {
  margin-bottom: 14px;
  color: var(--pf-accent);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}

.pf-family-hero__title {
  color: var(--pf-text);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.08em;
  text-align: center;
}

.pf-family-hero__line {
  display: block;
  width: 86px;
  height: 2px;
  margin: 26px auto 0;
  border-radius: 999px;
  background: var(--pf-accent);
}

.pf-family-hero__lead {
  margin-top: 28px;
  color: var(--pf-text-light);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: center;
}

.pf-family-hero__image {
  overflow: hidden;
  border-radius: 28px;
  background: #eee7dc;
  box-shadow: 0 24px 60px rgba(67, 57, 47, 0.12);
}

.pf-family-hero__image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pf-family-hero__price {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 32px));
  margin: -56px auto 0;
  padding: 16px;
  border: 1px solid rgba(182, 154, 115, 0.35);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 20px 54px rgba(67, 57, 47, 0.14);
  backdrop-filter: blur(8px);
}

.pf-family-hero__price-head {
  display: grid;
  place-items: center;
  gap: 6px;
  margin: 0 0 16px;
  padding: 16px 20px;
  border: 1px solid rgba(182, 154, 115, 0.28);
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(182, 154, 115, 0.16),
    rgba(200, 142, 149, 0.14)
  );
}

.pf-family-hero__price-head span {
  color: var(--pf-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pf-family-hero__price-head p {
  color: var(--pf-text);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-align: center;
}

.pf-family-hero__price-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pf-family-hero__price-item {
  padding: 22px 24px;
  border: 1px solid rgba(182, 154, 115, 0.28);
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.pf-family-hero__price-item--main {
  border-color: rgba(200, 142, 149, 0.4);
  background: linear-gradient(180deg, #fff, #fff7fa);
}

.pf-family-hero__price-name {
  display: block;
  margin-bottom: 10px;
  color: var(--pf-text-light);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.pf-family-hero__price-value {
  color: var(--pf-accent);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.pf-family-hero__price-item:not(.pf-family-hero__price-item--main)
  .pf-family-hero__price-value {
  color: var(--pf-primary);
}

.pf-family-hero__price-value strong {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.pf-family-hero__price-value span {
  margin-left: 4px;
  font-size: 18px;
  font-weight: 900;
}

/* ======================================
  Concept
====================================== */

.pf-family-concept {
  background: var(--pf-bg);
}

.pf-family-concept__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.pf-family-concept__image {
  overflow: hidden;
  border-radius: 28px;
  background: #eee7dc;
  box-shadow: 0 20px 56px rgba(67, 57, 47, 0.1);
}

.pf-family-concept__image img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.pf-family-concept__body {
  max-width: 520px;
  text-align: left;
}

.pf-family-concept__body .pf-family-section__label,
.pf-family-concept__body .pf-family-section__title {
  text-align: left;
}

.pf-family-concept__text,
.pf-family-info__text {
  margin-top: 32px;
  color: var(--pf-text-light);
  font-size: 16px;
  font-weight: 500;
  line-height: 2.2;
  letter-spacing: 0.04em;
  text-align: left;
}

/* ======================================
  Home Funeral
  ご自宅でのご葬儀
====================================== */

.pf-home-funeral {
  padding: clamp(72px, 9vw, 120px) 20px;
  background: #fffaf2;
  color: #4a3a2f;
}

.pf-home-funeral__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.pf-home-funeral__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(80, 60, 42, 0.14);
}

.pf-home-funeral__label {
  margin: 0 0 14px;
  color: #b9976b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.pf-home-funeral h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.pf-home-funeral p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 2;
  letter-spacing: 0.04em;
}

.pf-home-funeral p + p {
  margin-top: 18px;
}

.pf-family-info--home .pf-family-section__label {
  color: var(--pf-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pf-family-info--home .pf-family-section__title {
  color: var(--pf-text);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.pf-family-info--home .pf-family-info__text {
  color: var(--pf-text-light);
  font-size: 16px;
  font-weight: 500;
  line-height: 2.2;
  letter-spacing: 0.04em;
}

.pf-family-info--home .pf-family-info__text + .pf-family-info__text {
  margin-top: 24px;
}

/* ======================================
  Plan
====================================== */

.pf-family-plan {
  background: var(--pf-bg-light);
}

.pf-family-plan__card {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 56px;
  border: 1px solid var(--pf-border);
  border-radius: 32px;
  background: var(--pf-white);
  box-shadow: 0 20px 60px rgba(67, 57, 47, 0.08);
}

.pf-family-plan__head {
  margin-bottom: 40px;
  text-align: center;
}

.pf-family-plan__head p {
  margin-bottom: 12px;
  color: var(--pf-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-align: center;
}

.pf-family-plan__head h3 {
  color: var(--pf-text);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-align: center;
}

.pf-family-plan__price-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pf-family-plan__price-item {
  padding: 36px 24px;
  border-radius: 24px;
  background: var(--pf-bg);
  text-align: center;
}

.pf-family-plan__price-item span {
  display: block;
  margin-bottom: 16px;
  color: var(--pf-text-light);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.pf-family-plan__price-item strong {
  color: var(--pf-accent);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.pf-family-plan__price-item em {
  color: var(--pf-accent);
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
}

.pf-family-plan__note {
  display: grid;
  place-items: center;
  gap: 6px;
  width: min(520px, 100%);
  margin: 28px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(182, 154, 115, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.86);
  color: var(--pf-text-light);
  text-align: center;
}

.pf-family-plan__note span {
  color: var(--pf-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.pf-family-plan__note p {
  color: var(--pf-text-light);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

.pf-family-plan__support {
  margin-top: 18px;
  color: var(--pf-text-light);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ======================================
  Hall & Columbarium
====================================== */

.pf-family-info {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.28)
    ),
    var(--pf-bg);
}

.pf-family-info--reverse-section {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.35),
      rgba(255, 255, 255, 0.82)
    ),
    var(--pf-bg);
}

.pf-family-info__row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.pf-family-info__row--reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.pf-family-info__row--reverse .pf-family-info__body {
  order: 2;
}

.pf-family-info__row--reverse .pf-family-info__image {
  order: 1;
}

.pf-family-info__body {
  max-width: 520px;
}

.pf-family-info__body .pf-family-section__label,
.pf-family-info__body .pf-family-section__title {
  text-align: left;
}

.pf-family-info__image {
  overflow: hidden;
  border-radius: 24px;
  background: #eee7dc;
  box-shadow: 0 20px 56px rgba(67, 57, 47, 0.1);
}

.pf-family-info__image img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

/* ======================================
  Included
====================================== */

.pf-family-included {
  background: #fffaf4;
}

.pf-family-included__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 72px;
}

.pf-family-included__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--pf-border);
}

.pf-family-included__icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1.5px solid #b8aa9c;
  border-radius: 12px;
  background: #fffdf9;
}

.pf-family-included__icon img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.pf-family-included__body h3 {
  margin: 0 0 8px;
  color: #3f352d;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
}

.pf-family-included__body p {
  margin: 0;
  color: #4f463d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  text-align: left;
}

/* ======================================
  Included Message
====================================== */

.pf-family-included__message {
  width: min(860px, 100%);
  margin: 48px auto 0;
  padding: 32px 36px;
  border: 1px solid var(--pf-border);
  border-radius: 24px;
  background: #fff;
  color: var(--pf-text);
  box-shadow: 0 14px 36px rgba(67, 57, 47, 0.06);
}

.pf-family-included__message p {
  font-size: 16px;
  line-height: 2;
  text-align: left;
}

.pf-family-included__message p + p {
  margin-top: 14px;
}

.pf-family-included__caution {
  color: var(--pf-text-light);
  font-size: 14px !important;
}

/* ======================================
  Flow
====================================== */

.pf-family-flow {
  background: var(--pf-bg);
}

.pf-family-flow__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px;
  list-style: none;
}

.pf-family-flow__list li {
  position: relative;
  padding: 32px 22px;
  border: 1px solid var(--pf-border);
  border-radius: 22px;
  background: var(--pf-white);
  text-align: center;
  box-shadow: 0 14px 36px rgba(67, 57, 47, 0.06);
}

.pf-family-flow__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -52px;
  z-index: 2;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  background-image: url("https://floralhall.jp/site/wp-content/uploads/2026/07/c567294599e13dc9d2a3d4077b05faaf.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.75;
  pointer-events: none;
}

.pf-family-flow__list span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--pf-primary);
  color: #fff;
  font-weight: 800;
  line-height: 1;
}

.pf-family-flow__list h3 {
  margin-bottom: 10px;
  color: var(--pf-text);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.pf-family-flow__list p {
  color: var(--pf-text-light);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

/* ======================================
  Photo Marquee
====================================== */

.pf-family-photo-marquee {
  --pf-marquee-gap: 24px;
  --pf-marquee-item-w: clamp(260px, 19vw, 360px);

  width: 100vw;
  margin: 56px calc(50% - 50vw) 0;
  padding: 10px 0 28px;
  overflow: hidden;
}

.pf-family-photo-marquee__track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: -webkit-max-content;
  width: max-content;
  min-width: -webkit-max-content;
  min-width: max-content;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  animation: pf-family-marquee 42s linear infinite;
  animation-play-state: paused;
  will-change: transform, opacity;
  transition: opacity 0.35s ease;
}

.pf-family-photo-marquee.is-loaded .pf-family-photo-marquee__track {
  opacity: 1;
  animation-play-state: running;
}

.pf-family-photo-marquee__group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  flex: 0 0 auto;
  gap: var(--pf-marquee-gap);
  padding-right: var(--pf-marquee-gap);
}

.pf-family-photo-marquee__item {
  display: block;
  flex: 0 0 var(--pf-marquee-item-w) !important;
  width: var(--pf-marquee-item-w) !important;
  min-width: var(--pf-marquee-item-w) !important;
  max-width: var(--pf-marquee-item-w) !important;
  overflow: hidden;
  border: 1px solid rgba(182, 154, 115, 0.25);
  border-radius: 20px;
  background: #eee7dc;
  box-shadow: 0 18px 42px rgba(67, 57, 47, 0.16);
}

.pf-family-photo-marquee__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
}

@keyframes pf-family-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ======================================
  CTA
====================================== */

.pf-family-cta {
  padding: 96px 24px;
  background: var(--pf-text);
  color: #fff;
  text-align: center;
}

.pf-family-cta__inner {
  width: min(880px, 100%);
  margin: 0 auto;
}

.pf-family-cta__label {
  margin-bottom: 12px;
  color: #efd9de;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.pf-family-cta h2 {
  margin-bottom: 18px;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-align: center;
}

.pf-family-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 2;
  text-align: center;
}

.pf-family-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
}

.pf-family-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 56px;
  padding: 16px 28px;
  border-radius: 999px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.pf-family-cta__btn--tel {
  background: var(--pf-tel);
}

.pf-family-cta__btn--line {
  background: var(--pf-line);
}

/* ======================================
  Responsive
====================================== */

/* ---------- Tablet Base ---------- */

@media (min-width: 768px) and (max-width: 1024px) {
  .pf-family-lp {
    font-size: 18px;
  }

  .pf-family-lp p,
  .pf-family-lp li {
    font-size: 18px;
    line-height: 1.9;
  }

  .pf-family-lp h2 {
    font-size: clamp(30px, 4vw, 40px);
  }

  .pf-family-lp h3 {
    font-size: clamp(22px, 3vw, 28px);
  }

  .pf-home-funeral__inner {
    gap: 44px;
  }

  .pf-home-funeral h2 {
    font-size: 34px;
  }

  .pf-home-funeral p {
    font-size: 18px;
    line-height: 2;
  }
}

/* ---------- Tablet ---------- */

@media (max-width: 900px) {
  .pf-family-section {
    padding: 88px 20px;
  }

  .pf-family-concept__inner,
  .pf-family-info__row,
  .pf-family-info__row--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pf-family-info__row--reverse .pf-family-info__body,
  .pf-family-info__row--reverse .pf-family-info__image {
    order: initial;
  }

  .pf-family-concept__body,
  .pf-family-info__body {
    max-width: none;
  }

  .pf-family-plan__price-list,
  .pf-family-included__grid {
    grid-template-columns: 1fr;
  }

  .pf-family-flow .pf-family-section__inner {
    width: min(620px, 100%);
  }

  .pf-family-flow__list {
    grid-template-columns: 1fr;
    gap: 20px;
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .pf-family-flow__list li {
    width: 100%;
  }

  .pf-family-flow__list li:not(:last-child)::after {
    display: none;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 600px) {
  .pf-family-lp .pc-br {
    display: none;
  }

  .pf-family-lp .sp-br {
    display: inline;
  }

  .pf-family-hero {
    padding: 64px 16px 88px;
  }

  .pf-family-section {
    padding: 72px 16px;
  }

  .pf-family-hero__content {
    width: calc(108% - 32px);
    margin-inline: auto;
    margin-bottom: 36px;
  }

  .pf-family-hero__label {
    margin-bottom: 10px;
    font-size: clamp(15px, 2vw, 22px);
    line-height: 1.9;
    letter-spacing: 0.02em;
  }

  .pf-family-hero__title {
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.35;
    letter-spacing: 0.05em;
  }

  .pf-family-hero__line {
    width: 64px;
    margin-top: 20px;
  }

  .pf-family-section__head--compact .pf-family-section__title {
    font-size: clamp(24px, 6vw, 34px);
    line-height: 1.55;
    letter-spacing: 0.045em;
  }

  .pf-family-hero__image,
  .pf-family-concept__image,
  .pf-family-info__image {
    border-radius: 20px;
  }

  .pf-family-hero__price {
    width: calc(100% - 32px);
    margin-top: -34px;
    padding: 12px;
    border-radius: 22px;
  }

  .pf-family-hero__price-list {
    grid-template-columns: 1fr;
  }

  .pf-family-hero__price-item {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .pf-family-hero__price-value strong {
    font-size: 42px;
  }

  .pf-family-plan__card {
    padding: 36px 20px;
    border-radius: 24px;
  }

  .pf-family-plan__note {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .pf-family-plan__note span {
    font-size: 13px;
  }

  .pf-family-plan__note p {
    font-size: 13.4px;
  }

  .pf-family-plan__support {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.8;
  }

  .pf-family-plan__head p {
    margin-bottom: 12px;
    color: var(--pf-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.16em;
    text-align: center;
  }

  .pf-family-included__item {
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 20px 0;
  }

  .pf-family-included__icon {
    width: 62px;
    height: 62px;
  }

  .pf-family-included__icon img {
    width: 46px;
    height: 46px;
  }

  .pf-family-included__body h3 {
    font-size: 17px;
  }

  .pf-family-included__body p {
    font-size: 14px;
    line-height: 1.8;
  }

  .pf-family-flow__list {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  .pf-family-flow__list li {
    padding: 28px 20px;
  }

  .pf-family-flow__list li:not(:last-child)::after {
    display: none;
  }

  .pf-family-photo-marquee {
    --pf-marquee-gap: 14px;
    --pf-marquee-item-w: 76vw;

    margin-top: 40px;
    padding-bottom: 22px;
  }

  .pf-family-photo-marquee__track {
    animation-duration: 34s;
  }

  .pf-family-photo-marquee__item {
    border-radius: 18px;
  }
}

/* ---------- Home Funeral Mobile ---------- */

@media (max-width: 767px) {
  .pf-home-funeral {
    padding: 64px 20px;
  }

  .pf-home-funeral__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pf-home-funeral__image {
    order: 1;
  }

  .pf-home-funeral__content {
    order: 2;
  }

  .pf-home-funeral h2 {
    margin-bottom: 22px;
    font-size: 26px;
  }

  .pf-home-funeral p {
    font-size: 16px;
    line-height: 1.9;
  }
}

/* ---------- Small Mobile ---------- */

@media (max-width: 375px) {
  .pf-family-photo-marquee {
    --pf-marquee-item-w: 82vw;
  }

  .pf-family-section__head--compact .pf-family-section__title {
    font-size: 25px;
    letter-spacing: 0.035em;
  }
}

/* ======================================
  Safari Marquee Fix
====================================== */

.pf-family-photo-marquee,
.pf-family-photo-marquee * {
  box-sizing: border-box;
}

.pf-family-photo-marquee {
  overflow: hidden;
}

.pf-family-photo-marquee__track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: max-content;
  min-width: max-content;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  animation: pf-family-marquee 42s linear infinite;
  -webkit-animation: pf-family-marquee 42s linear infinite;
}

.pf-family-photo-marquee__group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  flex: 0 0 auto;
  gap: var(--pf-marquee-gap);
  padding-right: var(--pf-marquee-gap);
}

.pf-family-photo-marquee__item {
  display: block;
  flex: 0 0 var(--pf-marquee-item-w) !important;
  width: var(--pf-marquee-item-w) !important;
  min-width: var(--pf-marquee-item-w) !important;
  max-width: var(--pf-marquee-item-w) !important;
}

.pf-family-photo-marquee__item img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@-webkit-keyframes pf-family-marquee {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  to {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}
