:root {
  --saitama2-price-bg: #f5faf6;
  --saitama2-price-border: #cfe1d3;
}

#facilities,
#availability,
#plans,
#cost,
#flow,
#faq,
#aftercare {
  scroll-margin-top: 96px;
}

.global-nav {
  gap: 13px;
}

.global-nav > a:not(.header-phone) {
  font-size: .88rem;
  white-space: nowrap;
}

.facility-map-link,
.facility-phone-link {
  color: var(--green);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.facility-map-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.facility-map-link span {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--saitama2-price-border);
  border-radius: 999px;
  background: var(--saitama2-price-bg);
  font-size: .74rem;
  line-height: 1.4;
  white-space: nowrap;
}

.facility-map-link:hover,
.facility-phone-link:hover {
  color: var(--green-2);
}

.hall-flower-banner {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(23, 75, 67, .18);
}

.hall-flower-banner:hover,
.hall-flower-banner:focus-visible {
  color: #fff;
  filter: brightness(.96);
}

.saitama-av-legend {
  margin: 16px 0 0;
  padding: 12px 16px;
  border: 1px solid #d7dfda;
  border-radius: 10px;
  background: #fff;
  color: #435148;
  font-size: .9rem;
  line-height: 1.7;
}

/* The plan section mirrors the approved /saitama/#plans cards without
   importing the source page's global stylesheet into the rest of this page. */
#plans .section-title {
  max-width: 900px;
  margin: 0 auto 46px;
  text-align: center;
}

#plans .section-title > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

#plans .section-title h2 {
  margin: 10px 0;
  color: #173f38;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.45;
}

#plans .section-title h2::after {
  display: block;
  width: 66px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green-2), var(--gold));
  content: "";
}

#plans .section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

#plans .plan-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

#plans .plan-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: start;
}

#plans .plan-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#plans .plan-card {
  display: flex;
  min-width: 0;
  padding: 24px 18px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e0ece7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(25, 67, 58, .08);
  text-align: center;
}

#plans .plan-icon {
  display: flex;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaf7f2;
  color: var(--green-2);
  font-size: 22px;
  font-weight: 900;
}

#plans .plan-icon--image {
  width: calc(100% + 36px);
  height: auto;
  aspect-ratio: 4 / 2.45;
  margin: -24px -18px 18px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid #dceae5;
  border-radius: 22px 22px 0 0;
  background: #fff;
}

#plans .plan-icon--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#plans .plan-card h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 19px;
  line-height: 1.45;
  white-space: normal;
}

#plans .plan-card p {
  margin: 0 0 18px;
  flex: 1;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

#plans .plan-card--desc-center p {
  text-align: center;
}

#plans .plan-card--desc-left p {
  text-align: left;
}

#plans .plan-card a {
  display: inline-flex;
  min-width: 110px;
  height: 38px;
  margin-top: auto;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-2);
  border-radius: 999px;
  background: var(--green-2);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(29, 108, 90, .16);
}

#plans .plan-card a:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.base-price-panel {
  margin: 0 0 30px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--saitama2-price-border);
  border-radius: 22px;
  background: var(--saitama2-price-bg);
}

.base-price-panel h3 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  text-align: center;
}

.base-price-lead {
  margin: 8px 0 20px;
  color: var(--muted);
  text-align: center;
}

.base-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.base-price-card {
  display: flex;
  min-width: 0;
  padding: 20px 16px;
  flex-direction: column;
  align-items: center;
  border: 1px solid #d9e5dc;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 75, 48, .06);
  text-align: center;
}

.base-price-card > span {
  color: var(--green);
  font-weight: 900;
}

.base-price-card strong {
  display: block;
  margin: 8px 0 12px;
  color: #8c3c22;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.2;
  white-space: nowrap;
}

.base-price-card strong small {
  font-size: .76rem;
}

.base-price-card a {
  color: var(--green);
  font-weight: 800;
  text-underline-offset: 3px;
}

.base-price-note {
  margin: 18px 0 0;
  color: #526058;
  font-size: .9rem;
  line-height: 1.75;
}

@media (max-width: 1250px) and (min-width: 1021px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1020px) and (min-width: 761px) {
  .header-phone {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .global-nav {
    position: fixed;
    z-index: 80;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 76px);
    margin: 0;
    padding: 14px clamp(24px, 6vw, 70px) 24px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 30px rgba(12, 46, 27, .12);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav > a:not(.header-phone) {
    display: block;
    padding: 13px 5px;
    border-bottom: 1px solid var(--line);
    font-size: .96rem;
  }
}

@media (max-width: 1100px) {
  #plans .plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #plans .plan-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #plans .section-title {
    margin-bottom: 28px;
  }

  #plans .section-title p {
    font-size: 14.5px;
  }

  #plans .plan-grid,
  #plans .plan-grid--compact,
  #plans .plan-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .base-price-grid {
    grid-template-columns: 1fr;
  }

  .base-price-panel {
    padding: 20px 15px;
  }

  .base-price-card strong {
    font-size: 1.7rem;
  }
}

@media (max-width: 520px) {
  #plans .section-title h2 {
    font-size: clamp(20px, 5.9vw, 25px);
    letter-spacing: 0;
  }

  #plans .plan-grid,
  #plans .plan-grid--compact,
  #plans .plan-grid--four {
    grid-template-columns: 1fr;
  }
}

@media print {
  .base-price-panel {
    break-inside: avoid;
  }
}

/* Readability and visual hierarchy for the four guidance blocks. */
:root {
  --saitama2-guide-accent: #2a846f;
  --saitama2-guide-accent-light: #9fd1c3;
  --saitama2-guide-ink: #103f37;
  --saitama2-guide-line: #c9e0d8;
  --saitama2-guide-soft: #f3faf7;
}

.decision-card {
  position: relative;
  min-height: 184px;
  padding: 30px 28px 28px;
  overflow: hidden;
  border-color: var(--saitama2-guide-line);
  background: linear-gradient(145deg, #fff 0%, #fff 68%, var(--saitama2-guide-soft) 100%);
  box-shadow: 0 14px 34px rgba(23, 75, 67, .09);
}

.decision-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--green-2), var(--gold));
  content: "";
}

.decision-card::after {
  position: absolute;
  top: -44px;
  right: -44px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(82, 158, 137, .08);
  content: "";
}

.decision-card > * {
  position: relative;
  z-index: 1;
}

.decision-card .num {
  display: inline-flex;
  min-width: 46px;
  min-height: 30px;
  padding: 3px 11px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c6e1d8;
  border-radius: 999px;
  background: #e9f6f1;
  color: var(--green);
  font-size: .9rem;
  line-height: 1;
}

.decision-card h3 {
  margin: 13px 0 10px;
  color: var(--saitama2-guide-ink);
  font-size: clamp(1.28rem, 1.65vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: .01em;
}

.decision-card p {
  color: #4b5d57;
  font-size: 1rem;
  line-height: 1.85;
}

.section--dark .support-card {
  min-height: 218px;
  padding: 30px 28px 28px;
  overflow: hidden;
  border-color: rgba(190, 226, 216, .34);
  background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .065));
  box-shadow: 0 16px 34px rgba(4, 36, 31, .18);
  isolation: isolate;
}

.section--dark .support-card::before {
  display: inline-grid;
  width: 46px;
  min-height: 31px;
  place-items: center;
  border: 1px solid rgba(195, 231, 221, .38);
  border-radius: 999px;
  background: rgba(7, 61, 52, .38);
  color: #bfe7dc;
  font-size: .9rem;
  line-height: 1;
}

.section--dark .support-card::after {
  position: absolute;
  z-index: -1;
  top: -76px;
  right: -68px;
  width: 176px;
  height: 176px;
  border: 1px solid rgba(182, 224, 212, .13);
  border-radius: 50%;
  background: rgba(125, 193, 174, .055);
  content: "";
}

.section--dark .support-card h3 {
  margin: 15px 0 10px;
  color: #fff;
  font-size: clamp(1.3rem, 1.65vw, 1.45rem);
  line-height: 1.5;
}

.section--dark .support-card p {
  color: #e1f1ed;
  font-size: 1rem;
  line-height: 1.9;
}

.transport-box {
  gap: 28px;
}

.transport-box > div:first-child,
.transport-steps {
  position: relative;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--saitama2-guide-line);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(23, 75, 67, .09);
}

.transport-box > div:first-child {
  background: #fff;
}

.transport-box > div:first-child::before,
.transport-steps::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--green-2), var(--gold));
  content: "";
}

.transport-box h3 {
  color: var(--saitama2-guide-ink);
  font-size: clamp(1.3rem, 1.7vw, 1.5rem);
  line-height: 1.45;
}

.transport-box > div:first-child > h3 {
  margin: 0 0 17px;
  padding-bottom: 15px;
  border-bottom: 1px solid #d9e8e2;
}

.call-checklist li {
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #d9e7e2;
  border-radius: 15px;
  background: #f8fbfa;
  color: #334d46;
  font-size: 1rem;
  line-height: 1.75;
}

.call-checklist {
  display: grid;
  gap: 10px;
}

.call-checklist li::before {
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, var(--green-2), var(--green));
  box-shadow: 0 7px 16px rgba(23, 75, 67, .18);
  font-size: 1rem;
}

.transport-steps {
  background: linear-gradient(145deg, #edf8f4, #f8fcfa);
}

.transport-steps .badge {
  padding: 6px 11px;
  border: 1px solid #bddcd2;
  background: #fff;
  color: var(--green);
  font-size: .78rem;
  letter-spacing: .06em;
}

.transport-steps h3 {
  margin: 13px 0 17px;
}

.transport-mini-flow {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  counter-reset: transport-step;
  list-style: none;
}

.transport-mini-flow::before {
  position: absolute;
  z-index: 0;
  top: 25px;
  bottom: 25px;
  left: 25px;
  width: 2px;
  background: #b9d9cf;
  content: "";
}

.transport-mini-flow li {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 54px;
  padding: 10px 14px 10px 10px;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid #d5e7e1;
  border-radius: 15px;
  background: #fff;
  color: #173f38;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.6;
}

.transport-mini-flow li::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green-2), var(--green));
  color: #fff;
  box-shadow: 0 0 0 5px #edf7f3;
  content: counter(transport-step);
  counter-increment: transport-step;
  font-size: .9rem;
  font-weight: 900;
}

.transport-steps .source-note {
  margin: 16px 0 18px;
  color: #51635d;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.75;
}

.transport-steps .button {
  box-shadow: 0 10px 20px rgba(23, 75, 67, .17);
}

.timeline {
  gap: 18px;
}

.timeline::before {
  width: 3px;
  background: linear-gradient(180deg, #83bfae, #c5dfd7);
}

.timeline li {
  grid-template-columns: 66px 1fr;
  gap: 22px;
}

.step-no {
  width: 66px;
  height: 66px;
  border: 7px solid #edf7f3;
  background: linear-gradient(145deg, var(--green-2), var(--green));
  box-shadow: 0 8px 18px rgba(23, 75, 67, .2);
  font-size: 1.05rem;
}

.step-body {
  position: relative;
  padding: 22px 26px 23px 30px;
  overflow: hidden;
  border-color: var(--saitama2-guide-line);
  border-radius: 20px;
  background: linear-gradient(100deg, #fff 0%, #fff 78%, #f4faf7 100%);
  box-shadow: 0 11px 28px rgba(23, 75, 67, .075);
}

.step-body::before {
  position: absolute;
  inset: 17px auto 17px 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--saitama2-guide-accent-light);
  content: "";
}

.step-body h3 {
  margin: 0 0 7px;
  color: var(--saitama2-guide-ink);
  font-size: clamp(1.28rem, 1.55vw, 1.4rem);
  line-height: 1.45;
}

.step-body p {
  color: #4b5d57;
  font-size: 1rem;
  line-height: 1.8;
}

@media (max-width: 980px) and (min-width: 761px) {
  .decision-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transport-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .decision-card {
    min-height: 0;
    padding: 26px 23px 24px;
  }

  .section--dark .support-card {
    min-height: 0;
    padding: 26px 23px 24px;
  }

  .transport-box {
    gap: 20px;
    padding: 0;
  }

  .transport-box > div:first-child,
  .transport-steps {
    padding: 25px 21px;
  }

  .call-checklist li {
    grid-template-columns: 48px 1fr;
    gap: 13px;
  }

  .call-checklist li::before {
    width: 43px;
    height: 43px;
  }

  .timeline li {
    grid-template-columns: 54px 1fr;
    gap: 13px;
  }

  .timeline::before {
    left: 26px;
  }

  .step-no {
    width: 54px;
    height: 54px;
    border-width: 5px;
  }

  .step-body {
    padding: 19px 18px 20px 22px;
  }
}

@media (max-width: 520px) {
  .timeline li {
    grid-template-columns: 48px 1fr;
    gap: 11px;
  }

  .timeline::before {
    left: 23px;
  }

  .step-no {
    width: 48px;
    height: 48px;
    border-width: 4px;
  }

  .step-body {
    padding: 18px 16px 19px 19px;
  }
}

/* FAQ readability v20260902-faqtype1 */
@media screen {
  #faq .eyebrow {
    font-size: .95rem;
    line-height: 1.75;
  }

#faq .section-title-wrap > p:last-child {
  font-size: 1.125rem;
  line-height: 1.85;
}

#faq .faq-category + .faq-category {
  margin-top: 36px;
}

#faq .faq-category h3 {
  margin-bottom: 15px;
  padding-left: 16px;
  border-left-width: 6px;
  color: var(--saitama2-guide-ink);
  font-size: 1.375rem;
  line-height: 1.55;
}

#faq .faq-item summary {
  padding: 21px 54px 21px 8px;
  font-size: 1.1875rem;
  line-height: 1.75;
}

#faq .faq-item summary::after {
  top: 17px;
  right: 12px;
  font-size: 1.75rem;
}

#faq .faq-answer {
  padding: 1px 42px 25px 8px;
  font-size: 1.125rem;
  line-height: 1.9;
}

#faq .faq-answer p {
  font-size: inherit;
  line-height: inherit;
}
}

@media screen and (max-width: 760px) {
  #faq .section-title-wrap > p:last-child {
    font-size: 1.09375rem;
  }

  #faq .faq-category + .faq-category {
    margin-top: 31px;
  }

  #faq .faq-category h3 {
    padding-left: 13px;
    border-left-width: 5px;
    font-size: 1.3rem;
  }

  #faq .faq-item summary {
    padding: 19px 47px 19px 4px;
    font-size: 1.125rem;
    line-height: 1.72;
  }

  #faq .faq-item summary::after {
    top: 15px;
    right: 8px;
    font-size: 1.65rem;
  }

  #faq .faq-answer {
    padding: 1px 24px 22px 4px;
    font-size: 1.09375rem;
    line-height: 1.88;
  }
}

/* Availability pattern cards v20260902-pattern-cards1 */
@media screen {
  #saitama-availability .saitama-av-pattern-wrap {
    flex: 1 1 auto;
    min-width: 0;
  }

  #saitama-availability .saitama-av-pattern-kicker {
    display: block;
    margin: 0 0 7px;
    color: #267363;
    font-size: .84rem;
    font-weight: 900;
    letter-spacing: .08em;
  }

  #saitama-availability .saitama-av-pattern-title {
    display: grid;
    max-width: 760px;
    margin: 0;
    grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
    font-size: 1rem;
    line-height: 1.45;
  }

  #saitama-availability .saitama-av-pattern-place {
    display: flex;
    min-width: 0;
    min-height: 78px;
    margin: 0;
    padding: 11px 14px 12px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #cfe2dc;
    border-radius: 14px;
    color: #183f38;
    background: #f7fbf9;
    letter-spacing: 0;
  }

  #saitama-availability .saitama-av-pattern-place.is-cremation {
    border-color: #e2c98f;
    background: #fffbf2;
  }

  #saitama-availability .saitama-av-pattern-place.is-hall {
    border-color: #bcdcd2;
    background: #f1faf6;
  }

  #saitama-availability .saitama-av-pattern-place small {
    display: block;
    margin: 0 0 4px;
    color: #596b65;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.4;
  }

  #saitama-availability .saitama-av-pattern-place strong {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    color: #173f38;
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
    font-weight: 900;
    line-height: 1.45;
  }

  #saitama-availability .saitama-av-pattern-plus {
    display: grid;
    width: 34px;
    height: 34px;
    margin: auto;
    place-items: center;
    border: 1px solid #cae0d9;
    border-radius: 50%;
    color: #1f7565;
    background: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0;
  }

  #saitama-availability .saitama-av-pattern-note {
    margin: 9px 0 0;
    color: #596b65;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.7;
  }

  #saitama-availability .saitama-av-pattern-period {
    display: inline-flex;
    margin: 3px 0 0;
    padding: 6px 10px;
    align-items: center;
    border: 1px solid #d8e5e1;
    border-radius: 999px;
    color: #52645e;
    background: #f7faf9;
    font-size: .82rem;
    font-weight: 900;
    line-height: 1.35;
    white-space: nowrap;
  }

  #saitama-availability .saitama-av-facility-count {
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
  }
}

@media screen and (max-width: 760px) {
  #saitama-availability .saitama-av-pattern-title {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  #saitama-availability .saitama-av-pattern-place {
    min-height: 0;
    padding: 10px 12px 11px;
  }

  #saitama-availability .saitama-av-pattern-plus {
    width: 30px;
    height: 30px;
    margin: -1px auto;
    font-size: 1.05rem;
  }

  #saitama-availability .saitama-av-pattern-note {
    margin-top: 8px;
    font-size: .9rem;
  }

  #saitama-availability .saitama-av-pattern-period {
    margin-top: 11px;
  }
}

@media print {
  .decision-card,
  .support-card,
  .transport-box > div,
  .timeline li {
    break-inside: avoid;
    box-shadow: none;
  }
}
