.family-burial-title, .cremation-title {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  width: fit-content;
  margin-inline: auto;
  position: relative;
}
.family-burial-title::before, .cremation-title::before {
  content: "";
  position: absolute;
  width: 23.1rem;
  height: 1px;
  background-color: #A22946;
  top: 50%;
  left: -26.4rem;
  transform: translateY(-50%);
}
.family-burial-title::after, .cremation-title::after {
  content: "";
  position: absolute;
  width: 23.1rem;
  height: 1px;
  background-color: #A22946;
  top: 50%;
  right: -26.4rem;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .family-burial-title, .cremation-title {
    font-size: 3.2rem;
  }
  .family-burial-title::before, .cremation-title::before {
    width: 9.2rem;
    left: -12.4rem;
  }
  .family-burial-title::after, .cremation-title::after {
    width: 9.2rem;
    right: -12.4rem;
  }
}
.family-burial-list, .cremation-list {
  display: flex;
  gap: 2.6rem;
}

@media (max-width: 768px) {
  .family-burial-list, .cremation-list {
    gap: 4rem 0;
    flex-wrap: wrap;
  }
}
.family-burial-item-figure, .cremation-item-figure {
  width: 100%;
  display: flex;
}

.family-burial-item-figure-image, .cremation-item-figure-image {
  width: 100%;
  height: auto;
}

.family-burial-item-content, .cremation-item-content {
  padding: 2.8rem 3.5rem;
}

@media (max-width: 768px) {
  .family-burial-item-content, .cremation-item-content {
    padding: 2.8rem 2rem;
  }
}
.family-burial-item-price, .cremation-item-price {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .family-burial-item-price, .cremation-item-price {
    gap: 1rem;
  }
}
.cremation-list {
  margin-top: 6.4rem;
}

.cremation-item {
  width: calc((100% - 5.2rem) / 3);
  border: 2px solid #C64F69;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.1019607843);
}
@media (max-width: 768px) {
  .cremation-item {
    width: 100%;
  }
}

.cremation-item-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  padding: 1.6rem;
  background-color: #C64F69;
  color: #ffffff;
  text-align: center;
}
@media (max-width: 768px) {
  .cremation-item-title {
    font-size: 2.8rem;
    padding: 2.2rem 0;
  }
}

.cremation-item-description {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  padding: 1.2rem 1.6rem;
  background: rgba(155, 52, 119, 0.1019607843);
  color: #C64F69;
  text-align: center;
}
@media (max-width: 768px) {
  .cremation-item-description {
    padding: 1.2rem 2.8rem;
  }
}

.cremation-item-figure-image {
  height: auto;
}

.cremation-item-price-label {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Zen Old Mincho", serif;
  color: #ffffff;
  padding: 0.8rem 1.4rem;
  border-radius: 0.6rem;
  background-color: #C64F69;
  min-width: 6rem;
}

.cremation-item-price-value {
  font-size: 5.2rem;
  font-weight: 600;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  color: #C64F69;
}
@media (max-width: 768px) {
  .cremation-item-price-value {
    font-size: 4.6rem;
  }
}

.cremation-item-price-unit {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  color: #C64F69;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: center;
}
@media (max-width: 768px) {
  .cremation-item-price-unit {
    justify-content: flex-start;
  }
}

.cremation-item-price-unit-tax {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  color: #C64F69;
  margin-left: -1rem;
}

.cremation-item-price-tax {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #C64F69;
  text-align: right;
  margin-top: 0.6rem;
}

.cremation-item-link {
  border-radius: 5rem;
  width: 27.6rem;
  margin-inline: auto;
  margin-top: 2.4rem;
  height: 5.6rem;
  background-color: #C64F69;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #C64F69;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.cremation-item-link::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  top: 50%;
  right: 3.2rem;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: bottom;
  transition: border-color 0.3s ease;
}
.cremation-item-link:hover {
  background-color: #ffffff;
  color: #C64F69;
}
.cremation-item-link:hover::after {
  border-right-color: #C64F69;
  border-bottom-color: #C64F69;
}

@media (max-width: 768px) {
  .family-burial-title::before {
    width: 2.8rem;
    left: -6rem;
  }
  .family-burial-title::after {
    width: 2.8rem;
    right: -6rem;
  }
}
.family-burial-list {
  margin-top: 6.4rem;
}

.family-burial-item {
  width: calc((100% - 5.2rem) / 3);
  border: 2px solid #9B3477;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.1019607843);
}
@media (max-width: 768px) {
  .family-burial-item {
    width: 100%;
  }
}

.family-burial-item-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  padding: 1.6rem;
  background-color: #9B3477;
  color: #ffffff;
  text-align: center;
}
@media (max-width: 768px) {
  .family-burial-item-title {
    font-size: 2.8rem;
    padding: 2.2rem 0;
  }
}

.family-burial-item-description {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  padding: 1.2rem 1.6rem;
  background: rgba(155, 52, 119, 0.1019607843);
  color: #9B3477;
  text-align: center;
}
@media (max-width: 768px) {
  .family-burial-item-description {
    padding: 1.2rem 2.8rem;
  }
}

.family-burial-item-figure-image {
  height: auto;
}

.family-burial-item-price-label {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Zen Old Mincho", serif;
  color: #ffffff;
  padding: 0.8rem 1.4rem;
  border-radius: 0.6rem;
  background-color: #9B3477;
  min-width: 6rem;
}

.family-burial-item-price-value {
  font-size: 5.2rem;
  font-weight: 600;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  color: #9B3477;
}
@media (max-width: 768px) {
  .family-burial-item-price-value {
    font-size: 4.6rem;
  }
}

.family-burial-item-price-unit {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  color: #9B3477;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: center;
}
@media (max-width: 768px) {
  .family-burial-item-price-unit {
    justify-content: flex-start;
  }
}

.family-burial-item-price-unit-tax {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  color: #9B3477;
  margin-left: -1rem;
}

.family-burial-item-price-tax {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: #9B3477;
  text-align: right;
  margin-top: 0.6rem;
}

.family-burial-item-link {
  border-radius: 5rem;
  width: 27.6rem;
  margin-inline: auto;
  margin-top: 2.4rem;
  height: 5.6rem;
  background-color: #9B3477;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #9B3477;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.family-burial-item-link::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  top: 50%;
  right: 3.2rem;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: bottom;
  transition: border-color 0.3s ease;
}
.family-burial-item-link:hover {
  background-color: #ffffff;
  color: #9B3477;
}
.family-burial-item-link:hover::after {
  border-right-color: #9B3477;
  border-bottom-color: #9B3477;
}

.original-plan {
  background-color: #FFEEEF;
  border: 1px solid #F1C7CA;
  padding-top: 4.8rem;
  padding-bottom: 4.8rem;
  border-radius: 1rem;
}

@media (max-width: 768px) {
  .original-plan {
    padding: 3rem 2rem;
  }
}
.original-plan-title {
  font-size: 3.8rem;
  color: #A22946;
  font-weight: 700;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  text-align: center;
}

@media (max-width: 768px) {
  .original-plan-title {
    font-size: 2.8rem;
    line-height: 1.4;
  }
}
.original-plan-description {
  color: #4B5563;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 2.1;
  text-align: center;
  margin-top: 2.8rem;
}

.flower-altar-title, .option-title, .content-title {
  font-size: 3.6rem;
  font-weight: 400;
  position: relative;
  display: flex;
  line-height: 1;
  flex-direction: column;
  align-items: center;
  font-family: "Zen Old Mincho", serif;
  gap: 1.6rem;
}
.flower-altar-title::after, .option-title::after, .content-title::after {
  content: "";
  position: absolute;
  bottom: -8.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 4.8rem;
  background-color: #A22946;
}

@media (max-width: 768px) {
  .flower-altar-title, .option-title, .content-title {
    font-size: 3.2rem;
    text-align: center;
    line-height: 1.2;
    gap: 1.2rem;
  }
  .flower-altar-title::after, .option-title::after, .content-title::after {
    bottom: -7.6rem;
  }
}
.option-title-highlight, .content-title-highlight {
  display: block;
  color: #A22946;
}

.flower-altar-list, .option-list, .content-list {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .flower-altar-list, .option-list, .content-list {
    gap: 3rem;
  }
}
.flower-altar-list-item, .option-list-item, .content-list-item {
  width: calc((100% - 8rem) / 3);
  background-color: #ffffff;
  border-radius: 1.6rem;
  overflow: hidden;
  border: 2px solid #C64F69;
  box-shadow: 0px 5px 0px 0px #C64F69;
  display: flex;
}

@media (max-width: 768px) {
  .flower-altar-list-item, .option-list-item, .content-list-item {
    width: 100%;
  }
}
.flower-altar-list-item-button-figure, .option-list-item-button-figure, .content-list-item-button-figure {
  width: 11.2rem;
  display: flex;
}

.flower-altar-list-item-button-icon-image, .option-list-item-button-icon-image, .content-list-item-button-icon-image {
  width: 100%;
  height: auto;
}

.flower-altar-list-item-button-text, .option-list-item-button-text, .content-list-item-button-text {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
  color: #C64F69;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  padding: 0 2rem 0 1.6rem;
}

.flower-altar-list-item-button-info, .option-list-item-button-info, .content-list-item-button-info {
  width: 2.4rem;
  display: flex;
  cursor: pointer;
}

.flower-altar-list-item-button-info-image, .option-list-item-button-info-image, .content-list-item-button-info-image {
  width: 100%;
  height: auto;
}

.content-list {
  margin-top: 11.2rem;
}

@media (max-width: 768px) {
  .content-list {
    margin-top: 10.4rem;
  }
}
.content-note {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 4.8rem;
}

.option-list {
  margin-top: 11.2rem;
}

.option-note {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 4.8rem;
}

.flower-altar-title {
  color: #A22946;
}

.flower-altar-list {
  margin-top: 11.2rem;
}

@media (max-width: 768px) {
  .flower-altar-list {
    margin-top: 10.4rem;
  }
}
.flower-altar-note {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 4.8rem;
}

.voice-title, .flow-title, .about-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;
}
.voice-title::before, .flow-title::before, .about-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) {
  .voice-title, .flow-title, .about-title {
    font-size: 3.2rem;
    padding-bottom: 4rem;
  }
}

.voice-title-highlight, .flow-title-highlight, .about-title-highlight {
  color: #A22946;
}

.voice-subtitle, .flow-subtitle, .about-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;
}

.plan-heading {
  padding-top: 8rem;
  padding-bottom: 8rem;
  position: relative;
}

@media (max-width: 768px) {
  .plan-heading {
    padding-top: 3.6rem;
    padding-bottom: 5.4rem;
  }
}
.plan-heading-container {
  max-width: 164rem;
  margin-inline: auto;
  padding-inline: 27rem;
}

@media (max-width: 768px) {
  .plan-heading-container {
    padding-inline: 1.6rem;
    max-width: 100%;
  }
}
.plan-title {
  font-size: 4.8rem;
  color: #C64F69;
  font-weight: 900;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
}

@media (max-width: 768px) {
  .plan-title {
    font-size: 3.2rem;
  }
}
.plan-description {
  font-size: 1.8rem;
  color: #4B5563;
  font-weight: 500;
  line-height: 1.8;
  margin-top: 3.2rem;
}

@media (max-width: 768px) {
  .plan-description {
    font-size: 1.6rem;
  }
}
.plan-heading-sp-figure {
  display: none;
}

@media (max-width: 768px) {
  .plan-heading-sp-figure {
    display: flex;
    width: 34.9rem;
    aspect-ratio: 349/232;
    border-top-left-radius: 3rem;
    border-bottom-left-radius: 3rem;
    box-shadow: 0px 5px 28px 0px rgba(0, 0, 0, 0.1490196078);
    overflow: hidden;
    margin-top: 3.2rem;
    margin-left: 1rem;
  }
}
.plan-heading-sp-figure-image {
  width: 100%;
  height: auto;
}

.plan-list-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 4rem;
  width: max-content;
}

.plan-list {
  display: flex;
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .plan-list {
    gap: 2.35rem;
  }
}
.plan-list-section {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.plan-list-title {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  color: #ffffff;
  background-color: #C64F69;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3.2rem;
  border-radius: 0.6rem;
}

.plan-list-item {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Zen Old Mincho", serif;
  color: #919191;
  border: 1px solid #919191;
  border-radius: 0.6rem;
  width: 5rem;
  padding: 2rem 1.2rem;
  text-align: center;
  position: relative;
}
.plan-list-item.is-active {
  color: #ffffff;
  background-color: #C64F69;
  border-color: #C64F69;
}
.plan-list-item:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1.25rem;
  transform: translate(-50%, -50%);
  width: 0.9rem;
  height: 2.2rem;
  background-color: #959595;
  clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
}
.plan-list-item.is-active::before {
  background-color: #C64F69;
}

.plan-price {
  width: max-content;
  margin-top: 4rem;
}

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

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

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

.plan-price-item-unit {
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  color: #C64F69;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: center;
}

.plan-price-item-unit-tax {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  color: #C64F69;
}

.plan-price-tax {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  color: #C64F69;
  text-align: right;
  margin-top: 0.6rem;
}

.plan-list-note {
  margin-top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-list-note-item {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
}

.plan-heading-figure {
  position: absolute;
  display: flex;
  top: 6rem;
  right: 0;
  width: 47%;
  max-height: 51.3rem;
  aspect-ratio: 773/513;
  border-top-left-radius: 3rem;
  border-bottom-left-radius: 3rem;
  box-shadow: 0px 5px 28px 0px rgba(0, 0, 0, 0.1490196078);
  overflow: hidden;
}

@media (max-width: 768px) {
  .plan-heading-figure {
    display: none;
  }
}
.plan-heading-figure-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.emergency {
  padding-top: 4rem;
  padding-bottom: 6rem;
  background-color: #FFEEEF;
}

@media (max-width: 768px) {
  .emergency {
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }
}
.about {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: #FBF9F3;
}

@media (max-width: 768px) {
  .about {
    padding-top: 5.6rem;
    padding-bottom: 5.6rem;
  }
}
.about-container {
  padding-inline: 27rem;
  max-width: 164rem;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .about-container {
    padding-inline: 1.6rem;
    max-width: 100%;
  }
}
.about-description {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 4.2rem;
}

.about-text {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.8;
  margin-top: 2.4rem;
}

.suitable {
  padding-top: 5.6rem;
  padding-bottom: 5.6rem;
  background-color: #FFF1F1;
}

.suitable-container {
  padding-inline: 44rem;
  max-width: 164rem;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .suitable-container {
    padding-inline: 1.6rem;
    max-width: 100%;
  }
}
.suitable-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}
.suitable-title:after {
  content: "";
  position: absolute;
  bottom: -4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6.2rem;
  height: 1.6rem;
  background-color: #A22946;
  clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
}

@media (max-width: 768px) {
  .suitable-title {
    flex-direction: column;
    align-items: center;
    font-size: 2rem;
  }
}
.suitable-title-highlight {
  color: #A22946;
}

.suitable-list {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 7.2rem;
}

@media (max-width: 768px) {
  .suitable-list {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2.4rem;
  }
}
.suitable-list-item {
  width: calc((100% - 4rem) / 2);
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.1019607843);
}

@media (max-width: 768px) {
  .suitable-list-item {
    width: 100%;
    padding: 2.4rem 3rem;
  }
}
.suitable-list-item-figure {
  width: 100%;
  display: flex;
}

.suitable-list-item-figure-image {
  width: 100%;
  height: auto;
}

.suitable-list-item-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: #A22946;
  margin-top: 2rem;
}

.suitable-list-item-description {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  margin-top: 1.6rem;
}

.product {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

@media (max-width: 768px) {
  .product {
    padding-top: 5.6rem;
    padding-bottom: 5.6rem;
  }
}
.product-container {
  max-width: 162rem;
  margin-inline: auto;
  padding-inline: 27rem;
  display: flex;
  flex-direction: column;
  gap: 10rem;
}

@media (max-width: 768px) {
  .product-container {
    padding-inline: 1.6rem;
    max-width: 100%;
    gap: 8rem;
  }
}
.flow {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: #FBF9F3;
}

@media (max-width: 768px) {
  .flow {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
.flow-container {
  max-width: 164rem;
  margin-inline: auto;
  padding-inline: 27rem;
}

@media (max-width: 768px) {
  .flow-container {
    padding-inline: 1.6rem;
    max-width: 100%;
  }
}
.flow-tabs {
  display: flex;
  justify-content: center;
  width: max-content;
  margin-inline: auto;
  margin-top: 4rem;
  border-radius: 5rem;
  background-color: #F1F1F1;
  position: relative;
  overflow: hidden;
}
.flow-tabs::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #A22946;
  border-radius: 5rem;
  transition: transform 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.flow-tabs:has(.flow-tabs-button:last-child.is-active)::after {
  transform: translateX(100%);
}

@media (max-width: 768px) {
  .flow-tabs {
    width: 100%;
  }
}
.flow-tabs-button {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  width: 28.75rem;
  height: 4.8rem;
  color: #7F7F7F;
  text-align: center;
  position: relative;
  cursor: pointer;
  z-index: 1;
}
.flow-tabs-button.is-active {
  color: #ffffff;
}

@media (max-width: 768px) {
  .flow-tabs-button {
    width: 50%;
    font-size: 1.6rem;
  }
}
.flow-list-wrap {
  display: none;
}
.flow-list-wrap.is-active {
  display: block;
}

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 4.2rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .flow-list {
    gap: 5.6rem;
  }
}
.flow-day-title {
  font-size: 2.4rem;
  font-weight: 700;
  font-family: "Zen Old Mincho", serif;
  line-height: 1;
  color: #ffffff;
  background-color: #A22946;
  width: 39rem;
  height: 5.8rem;
  display: flex;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .flow-day-title {
    width: 100%;
    font-size: 2.2rem;
  }
}
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .flow-steps {
    gap: 4rem;
  }
}
.flow-step {
  display: flex;
  gap: 4rem;
  border: 1px solid #C64F69;
  border-radius: 1.6rem;
  background-color: #ffffff;
  padding: 3.2rem 4.2rem;
}

@media (max-width: 768px) {
  .flow-step {
    padding: 3.2rem 1.6rem;
    flex-direction: column;
  }
}
.flow-step-body {
  flex: 1;
}

.flow-step-title {
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  color: #000000;
  display: flex;
  align-items: flex-end;
  gap: 1.4rem;
}

.flow-step-number {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
  color: #C5A059;
}

.flow-step-description {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 2;
  margin-top: 3.2rem;
}

.flow-step-figure {
  width: 29.9rem;
  display: flex;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .flow-step-figure {
    width: 100%;
  }
}
.flow-step-image {
  width: 100%;
  height: auto;
}

.voice-other {
  padding-top: 10rem;
  padding-bottom: 13rem;
  display: flex;
  flex-direction: column;
  gap: 10rem;
}

@media (max-width: 768px) {
  .voice-other {
    padding-top: 5rem;
    padding-bottom: 8rem;
    gap: 7.2rem;
  }
}
.voice-container {
  max-width: 164rem;
  margin-inline: auto;
  padding-inline: 27rem;
}

@media (max-width: 768px) {
  .voice-container {
    padding-inline: 1.6rem;
    max-width: 100%;
  }
}
.voice-list {
  display: flex;
  gap: 3.6rem;
  margin-top: 4.2rem;
}

@media (max-width: 768px) {
  .voice-list {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2.4rem;
  }
}
.voice-list-item {
  width: calc((100% - 3.6rem) / 2);
  padding: 2.4rem 1.6rem;
  border-radius: 2rem;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1019607843);
  display: flex;
  gap: 2.8rem;
}

@media (max-width: 768px) {
  .voice-list-item {
    width: 100%;
    flex-direction: column;
  }
}
.voice-list-item-info {
  width: 15.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .voice-list-item-info {
    width: 100%;
  }
}
.voice-list-item-info-figure {
  width: 10.6rem;
  margin-inline: auto;
  display: flex;
}

.voice-list-item-info-figure-image {
  width: 100%;
  height: auto;
}

.voice-list-item-info-user {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  color: #555555;
  margin-top: 1.6rem;
  text-align: center;
}

.voice-list-item-info-plan {
  margin-top: 1.2rem;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  color: #A22946;
  background-color: #FFEEEF;
  padding: 0.8rem;
  border-radius: 0.2rem;
  text-align: center;
}

.voice-list-item-content {
  flex: 1;
}

.voice-list-item-content-title {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #A22946;
  padding-left: 2.2rem;
  border-left: 0.6rem solid #A22946;
  font-family: "Zen Old Mincho", serif;
}

.voice-list-item-content-text {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2;
  margin-top: 1.6rem;
}

.other-title {
  font-size: 4.8rem;
  font-family: "Zen Old Mincho", serif;
  line-height: 1;
  color: #A22946;
  font-weight: 900;
  text-align: center;
}

@media (max-width: 768px) {
  .other-title {
    font-size: 3.2rem;
    line-height: 1.2;
  }
}
.other-container {
  max-width: 164rem;
  margin-inline: auto;
  padding-inline: 17rem;
  margin-top: 8rem;
  display: flex;
  flex-direction: column;
  gap: 10rem;
}

@media (max-width: 768px) {
  .other-container {
    padding-inline: 1.6rem;
    max-width: 100%;
    margin-top: 5.6rem;
    gap: 7.2rem;
  }
}
.product-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.product-modal.is-open {
  display: flex;
}

.product-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.product-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 2rem;
  width: 53.7rem;
  overflow-y: auto;
  z-index: 1;
}

@media (max-width: 768px) {
  .product-modal-content {
    width: calc(100% - 3.2rem);
  }
}
.product-modal-close {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 5rem;
  display: flex;
  margin-inline: auto;
  align-items: center;
  height: 4.8rem;
  padding-left: 6.2rem;
  margin-top: 3rem;
  padding-right: 2rem;
  gap: 3.2rem;
  color: #C64F69;
  cursor: pointer;
  border: 1px solid #C64F69;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.product-modal-close:hover {
  background-color: #C64F69;
  color: #ffffff;
}

.product-modal-image {
  width: 100%;
  height: auto;
  border-radius: 2rem 2rem 0 0;
}

.product-modal-content-inner {
  padding: 4rem 4rem 5.6rem;
}

@media (max-width: 768px) {
  .product-modal-content-inner {
    padding: 2rem 2rem 3.2rem;
  }
}
.product-modal-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: #C64F69;
  line-height: 1;
  text-align: center;
}

.product-modal-description {
  font-size: 1.8rem;
  line-height: 1.8;
  font-weight: 500;
  color: #000000;
  margin-top: 2.4rem;
}

.product-modal-size {
  display: none;
}

.product-modal-price {
  display: none;
}

.product-modal-close-icon {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 400;
}

.product-modal.is-flower-altar .product-modal-title {
  color: #a22946;
  font-size: 2.4rem;
  font-weight: 700;
}
.product-modal.is-flower-altar .product-modal-content-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.2rem 4rem 5.6rem;
}
.product-modal.is-flower-altar .product-modal-description {
  display: none;
}
.product-modal.is-flower-altar .product-modal-size {
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.8;
  color: #000000;
  margin-top: 1.4rem;
}
.product-modal.is-flower-altar .product-modal-price {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 1.6rem;
  color: #a22946;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
}
.product-modal.is-flower-altar .product-modal-price-value {
  font-size: 4.8rem;
}
.product-modal.is-flower-altar .product-modal-price-unit {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-left: 0.4rem;
  padding-top: 1.2rem;
}
.product-modal.is-flower-altar .product-modal-price-tax {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  line-height: 1;
  white-space: nowrap;
}
.product-modal.is-flower-altar .product-modal-price-yen {
  font-size: 2.8rem;
  line-height: 1;
}
.product-modal.is-flower-altar .product-modal-price-tilde {
  font-size: 2.8rem;
  line-height: 1;
  margin-left: 0.2rem;
}
.product-modal.is-flower-altar .product-modal-close {
  color: #a22946;
  border-color: #a22946;
  margin-top: 4rem;
}
.product-modal.is-flower-altar .product-modal-close:hover {
  background-color: #a22946;
  color: #ffffff;
}

@media (max-width: 768px) {
  .product-modal.is-flower-altar .product-modal-content-inner {
    padding: 2.4rem 2rem 3.2rem;
  }
  .product-modal.is-flower-altar .product-modal-price-value {
    font-size: 3.6rem;
  }
  .product-modal.is-flower-altar .product-modal-price-yen,
  .product-modal.is-flower-altar .product-modal-price-tilde {
    font-size: 2rem;
  }
  .product-modal.is-flower-altar .product-modal-close {
    margin-top: 3.2rem;
  }
}
