.posthumous-name-title, .plan-pricing-title, .supported-sects-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.4;
  font-family: "Zen Old Mincho", serif;
  position: relative;
  padding-bottom: 3.6rem;
  text-align: center;
}
.posthumous-name-title::before, .plan-pricing-title::before, .supported-sects-title::before {
  content: "";
  position: absolute;
  width: 13.2rem;
  height: 0.3rem;
  background-color: #A22946;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .posthumous-name-title, .plan-pricing-title, .supported-sects-title {
    font-size: 3.2rem;
    padding-bottom: 4rem;
  }
}

.posthumous-name-subtitle, .plan-pricing-subtitle, .supported-sects-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  color: #A22946;
  font-family: "Noto Sans JP", sans-serif;
  display: block;
  margin-bottom: 1.6rem;
}

.heading {
  padding-top: 10.7rem;
  padding-bottom: 10.7rem;
  background-image: url(../../../../../images/temple-arrangement/main.jpg);
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: 100%;
}

@media (max-width: 768px) {
  .heading {
    padding-top: 6.2rem;
    padding-bottom: 6.2rem;
    background-image: url(../../../../../images/temple-arrangement/main-sp.jpg);
  }
}
.heading-container {
  padding-inline: 15.2rem;
  width: 162rem;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .heading-container {
    padding-inline: 1.6rem;
    width: 100%;
  }
}
.heading-content {
  background-color: rgba(255, 255, 255, 0.8980392157);
  padding: 3.2rem 6.4rem 7.2rem 5.2rem;
  border-radius: 2rem;
  width: 72.2rem;
}
@media (max-width: 768px) {
  .heading-content {
    width: 100%;
    padding: 3.2rem 1.6rem 4rem 1.6rem;
  }
}

.heading-subtitle {
  border: 1px solid #A22946;
  border-radius: 3.2rem;
  padding: 0.8rem 1.4rem 0.8rem 3.2rem;
  width: max-content;
  position: relative;
  color: #A22946;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}
.heading-subtitle::before {
  content: "";
  position: absolute;
  width: 0.8rem;
  aspect-ratio: 1;
  background-color: #A22946;
  border-radius: 50%;
  top: 50%;
  left: 1.4rem;
  transform: translateY(-50%);
}

.heading-title {
  font-family: "Zen Old Mincho", serif;
  font-size: 4.8rem;
  color: #A22946;
  font-weight: 900;
  line-height: 1;
  margin-top: 2.4rem;
}

@media (max-width: 768px) {
  .heading-title {
    font-size: 3.2rem;
  }
}
.heading-description {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.8;
  margin-top: 2.4rem;
}

@media (max-width: 768px) {
  .heading-description {
    font-size: 1.6rem;
  }
}
.heading-price {
  width: max-content;
  margin-top: 3.2rem;
}

.heading-price-item {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

.heading-price-item-label {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Zen Old Mincho", serif;
  color: #A22946;
  padding: 0.4rem 0.6rem;
  min-width: 5.5rem;
  border: 1px solid #A22946;
}

.heading-price-item-value {
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  color: #A22946;
}

.heading-price-item-unit {
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  color: #A22946;
  display: flex;
  align-items: center;
}

.heading-note {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  font-family: "Noto Sans JP", sans-serif;
  color: #333333;
  background-color: rgba(255, 255, 255, 0.1019607843);
  border: 1px solid #A22946;
  border-radius: 3.5rem;
  padding: 0.8rem 2.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  margin-top: 2rem;
}

.supported-sects {
  padding-top: 8rem;
  padding-bottom: 11.2rem;
  background-color: #FFEEEF;
}

@media (max-width: 768px) {
  .supported-sects {
    padding-top: 5.6rem;
    padding-bottom: 5.6rem;
  }
}
@media (max-width: 768px) {
  .supported-sects-container {
    padding-inline: 1.6rem;
  }
}
.supported-sects-description {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.8;
  margin-top: 4.2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .supported-sects-description {
    font-size: 1.6rem;
  }
}
.supported-sects-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .supported-sects-list {
    justify-content: flex-start;
  }
}
.supported-sects-list-item {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  background-color: #FFFFFF;
  border: 1px solid #A22946;
  border-radius: 0.5rem;
  padding: 1.6rem 1.4rem;
}

.plan-pricing {
  padding-top: 8rem;
  padding-bottom: 11.2rem;
  background-color: #FBF9F3;
}

@media (max-width: 768px) {
  .plan-pricing {
    padding-top: 5.6rem;
    padding-bottom: 5.6rem;
  }
}
.plan-pricing-table-wrapper {
  width: 86.1rem;
  margin-top: 4.2rem;
  margin-inline: auto;
  border-radius: 1rem;
  overflow: hidden;
}

@media (max-width: 768px) {
  .plan-pricing-table-wrapper {
    width: 100%;
    padding-inline: 1.6rem;
  }
}
.plan-pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.plan-pricing-table-head-row-item {
  background-color: #1E293B;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  width: 23.2rem;
  font-family: "Zen Old Mincho", serif;
  text-align: center;
  padding: 2.4rem 0;
}
.plan-pricing-table-head-row-item:first-child {
  border-radius: 1rem 0 0 0;
}
.plan-pricing-table-head-row-item:last-child {
  border-radius: 0 1rem 0 0;
}
.plan-pricing-table-head-row-item.is-label {
  width: 16.5rem;
  font-size: 1.5rem;
  font-family: "Noto Sans JP", sans-serif;
  text-align: left;
  padding-left: 1.6rem;
}

.plan-pricing-table-body {
  background-color: #FDFDFD;
}

.plan-pricing-table-body-row-item-title {
  border-bottom: 1px solid #DCDCDC;
  font-size: 1.4rem;
  font-weight: 700;
  color: #525252;
  vertical-align: middle;
  padding: 2.4rem 0 2.4rem 1.6rem;
}

.plan-pricing-table-body-row-item-value {
  border-bottom: 1px solid #DCDCDC;
  padding: 2.4rem 0;
  vertical-align: middle;
  text-align: center;
}

.plan-pricing-table-price {
  font-size: 2.5rem;
  color: #9D7B3A;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
}

.plan-pricing-table-day {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.plan-pricing-table-description {
  display: block;
  margin-top: 1.2rem;
  line-height: 1.4;
  font-size: 1.5rem;
  color: #64748B;
  font-weight: 500;
}

.plan-pricing-table-empty {
  width: 0.8rem;
  height: 0.2rem;
  background-color: #A4A4A4;
  display: block;
  margin-inline: auto;
}

.plan-pricing-table-fill {
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid #A22946;
  border-radius: 50%;
  display: block;
  margin-inline: auto;
}

.plan-pricing-cards {
  display: none;
}

.plan-pricing-card {
  background-color: #FDFDFD;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}

.plan-pricing-card-title {
  background-color: #1E293B;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  padding: 2.4rem 0;
  text-align: center;
}

.plan-pricing-card-content {
  margin: 0;
}

.plan-pricing-card-list {
  margin: 0;
}

.plan-pricing-card-list-item {
  padding: 2.4rem 1.4rem;
  border-bottom: 1px solid #DCDCDC;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plan-pricing-card-list-item-title {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  color: #64748B;
  margin: 0;
}

.plan-pricing-card-list-item-value {
  margin: 1.2rem 0 0;
  text-align: right;
}

@media (max-width: 768px) {
  .plan-pricing-table-wrapper {
    display: none;
  }
  .plan-pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    margin-top: 4.2rem;
    padding-inline: 1.6rem;
  }
}
.posthumous-name {
  padding-top: 8rem;
  padding-bottom: 11.2rem;
}

@media (max-width: 768px) {
  .posthumous-name {
    padding-top: 5.6rem;
    padding-bottom: 5.6rem;
  }
}
.posthumous-name-container {
  padding-inline: 32rem;
  width: 162rem;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .posthumous-name-container {
    padding-inline: 1.6rem;
    width: 100%;
  }
}
.posthumous-name-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 0 2.4rem;
  margin-top: 4.2rem;
}

@media (max-width: 768px) {
  .posthumous-name-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2.4rem;
  }
}
.posthumous-name-list-item {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  background-color: #FDFDFD;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}

.posthumous-name-list-item-title {
  background-color: #1E293B;
  color: #C5A059;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 700;
  font-family: "Zen Old Mincho", serif;
  padding: 2rem 0;
  text-align: center;
}

.posthumous-name-list-item-content {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
}

.posthumous-name-sublist {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
}

.posthumous-name-sublist-item {
  padding: 2rem 1.4rem;
  border-bottom: 1px solid #DCDCDC;
}

.posthumous-name-sublist-item-title {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
  color: #64748B;
}

.posthumous-name-sublist-item-description {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 1.2rem;
}
.posthumous-name-sublist-item-description.is-empty {
  margin-top: 2.4rem;
}

.posthumous-name-sublist-item-empty {
  width: 0.8rem;
  height: 0.2rem;
  background-color: #A4A4A4;
  display: block;
}
