@charset "UTF-8";
/* Scss Document */
/* Scss Document */
.servicePage {
  background: #FFF;
}

.serviceHero {
  height: 400px;
  position: relative;
}
.serviceHero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.serviceHero__title {
  width: 1em;
  margin: 0;
  padding: 0;
  font-size: 2.5rem;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "游明朝", YuMincho, "Meiryo UI", "メイリオ", "Meiryo", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: 500;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.serviceHero__title span {
  display: block;
  padding: 2px 0;
  color: #8373f3;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  background-image: linear-gradient(180deg, #e877ae, #8373f3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.serviceHero__title::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(255, 255, 255, 0.85);
}
.serviceHero__cloud01 {
  position: absolute;
  top: 30px;
  left: -10px;
}
.serviceHero__cloud02 {
  position: absolute;
  bottom: -14px;
  right: 30px;
}

.serviceContents {
  padding: 100px 0 200px;
  padding-right: 80px;
  padding-left: 80px;
  padding-right: max(80px, calc((100% - 1000px) / 2));
  padding-left: max(80px, calc((100% - 1000px) / 2));
  color: #666;
  background-image: url("../img/common/bg01.jpg");
  background-position: bottom 100px right;
  background-repeat: no-repeat;
}

.serviceHeading {
  margin: 0 0 70px;
  padding: 0;
  text-align: center;
  font-size: 2.25rem;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "游明朝", YuMincho, "Meiryo UI", "メイリオ", "Meiryo", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: 500;
  line-height: 1.4;
}
.serviceHeading span {
  display: inline-block;
  padding: 2px 30px;
  color: #FFF;
  background: linear-gradient(90deg, #e877ae, #8373f3);
}

.serviceLabel {
  margin: 0 0 30px;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}
.serviceLabel span {
  padding: 2px 10px;
  color: #FFF;
  background-color: #333;
}

.serviceText {
  margin: 0;
  color: #666;
  font-size: 1.125rem;
  line-height: 2;
  overflow-wrap: anywhere;
}

.serviceLead {
  margin: 0 0 35px;
  padding: 0;
  color: #666;
  font-size: 2rem;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "游明朝", YuMincho, "Meiryo UI", "メイリオ", "Meiryo", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: 500;
  line-height: 1.6;
}

.serviceTable {
  width: 100%;
  border-collapse: collapse;
  color: #666;
  font-size: 1.125rem;
  line-height: 1.8;
  table-layout: fixed;
}
.serviceTable th, .serviceTable td {
  padding: 25px 30px;
  border: 1px solid #999;
  text-align: left;
  overflow-wrap: anywhere;
}
.serviceTable th {
  width: 30%;
  box-sizing: border-box;
  background-color: #eae6e3;
  font-weight: 400;
}

@media (max-width: 1200px) {
  .serviceContents {
    padding-right: 40px;
    padding-left: 40px;
    padding-right: max(40px, calc((100% - 1000px) / 2));
    padding-left: max(40px, calc((100% - 1000px) / 2));
  }
}
@media (max-width: 700px) {
  .serviceHero {
    height: 340px;
  }
  .serviceHero__title {
    font-size: 2rem;
  }
  .serviceHero__cloud01 {
    width: 150px;
    height: auto;
  }
  .serviceHero__cloud02 {
    width: 210px;
    height: auto;
    right: 15px;
  }

  .serviceContents {
    padding: 60px 0 100px;
    padding-right: 20px;
    padding-left: 20px;
    padding-right: max(20px, calc((100% - 1000px) / 2));
    padding-left: max(20px, calc((100% - 1000px) / 2));
    background-position: bottom 50px right;
    background-size: 100% auto;
  }

  .serviceHeading {
    margin-bottom: 40px;
    font-size: 1.75rem;
  }
  .serviceHeading span {
    padding-right: 20px;
    padding-left: 20px;
  }

  .serviceLabel {
    margin-bottom: 25px;
    font-size: 1.25rem;
  }

  .serviceText {
    font-size: 1rem;
  }

  .serviceLead {
    font-size: 1.5rem;
  }

  .serviceTable {
    font-size: 0.875rem;
  }
  .serviceTable th, .serviceTable td {
    padding: 15px 12px;
  }
  .serviceTable th {
    width: 35%;
  }
}
.serviceContents {
  background-image: url("../img/common/bg01.jpg");
  background-position: bottom 100px right;
  background-repeat: no-repeat;
}

.serviceIntro {
  display: flex;
  gap: 40px;
  position: relative;
}
.serviceIntro .serviceLead {
  font-size: 1.875rem;
}
.serviceIntro__text {
  flex: 1;
  min-width: 0;
}
.serviceIntro__photos {
  width: 45%;
}
.serviceIntro__photos img {
  display: block;
  width: 100%;
  height: auto;
}
.serviceIntro__photos div {
  display: flex;
}
.serviceIntro__photos div img {
  width: 50%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.serviceFees, .servicePreparation {
  margin-top: 80px;
}

.serviceTable {
  border: 1px solid #999;
}
.serviceTable th, .serviceTable td {
  border-right: 0;
  border-left: 0;
}

.servicePreparation__list {
  margin: 0;
  padding-left: 20px;
  list-style: none;
  color: #666;
  font-size: 1.25rem;
  line-height: 1.8;
}
.servicePreparation__list > li {
  position: relative;
}
.servicePreparation__list > li + li {
  margin-top: 4px;
}
.servicePreparation__list > li:last-child {
  margin-top: 16px;
}
.servicePreparation__list > li::before {
  content: '';
  position: absolute;
  top: 11px;
  left: -20px;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border: 4px solid #8f7ba7;
  border-radius: 50%;
  background-color: #FFF;
}
.servicePreparation__title {
  font-weight: 700;
}
.servicePreparation__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 774px;
  box-sizing: border-box;
  margin: 10px 0 0;
  padding: 30px;
  list-style: none;
  border: 1px solid #999;
  border-radius: 10px;
  background-color: #FFF;
}
.servicePreparation__tags li {
  margin: 0;
  padding: 2px 15px;
  background-color: #DDD;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}
.servicePreparation__note {
  margin: 10px 0 0;
  color: #666;
  font-size: 1rem;
  line-height: 1.8;
}

.serviceBanner {
  margin: 80px auto 0;
  max-width: 900px;
}
.serviceBanner img {
  width: 100%;
  height: auto;
}

.serviceSection {
  margin-top: 100px;
  padding-top: 100px;
  border-top: 1px solid #DDD;
}
.serviceSection__note {
  margin: 20px 0 0;
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
}
.serviceSection__row {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}
.serviceSection__row .serviceText {
  flex: 1;
  min-width: 0;
}
.serviceSection__row img {
  width: 45%;
  height: auto;
}
.serviceSection__row--reverse {
  flex-direction: row-reverse;
}

.serviceMemorial {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  padding: 10px;
  border: 1px solid #999;
  background-color: #FFF;
}
.serviceMemorial > img {
  width: 306px;
  max-width: 32%;
  height: auto;
}
.serviceMemorial__fees {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #666;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 2;
}
.serviceMemorial__fee {
  display: grid;
  grid-template-columns: 220px max-content;
  column-gap: 20px;
}
.serviceMemorial__fee dt {
  position: relative;
  padding-left: 15px;
  font-weight: 700;
}
.serviceMemorial__fee dt::before {
  content: '';
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #666;
}
.serviceMemorial__fee dd {
  margin: 0;
}
.serviceMemorial__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 136px;
}
.serviceMemorial__price::before {
  content: '';
  flex: 0 0 40px;
  border-top: 1px solid #666;
}
.serviceMemorial__fee .serviceMemorial__note {
  grid-column: 1 / -1;
  margin: 0 0 8px 20px;
  font-size: 1rem;
  line-height: 1.8;
}

.serviceTree {
  flex-shrink: 0;
  width: 45%;
  aspect-ratio: 3 / 2;
  background-color: #000;
}

.serviceStone {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.serviceStone > img {
  width: 160px;
  height: auto;
}
.serviceStone > div {
  flex: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .serviceIntro {
    flex-direction: column;
  }
  .serviceIntro__photos {
    width: 100%;
    max-width: 550px;
    margin: auto;
  }

  .serviceMemorial {
    gap: 25px;
  }
}
@media (max-width: 700px) {
  .serviceFees, .servicePreparation {
    margin-top: 50px;
  }

  .servicePreparation__list {
    font-size: 1rem;
  }
  .servicePreparation__list > li::before {
    top: 8px;
  }
  .servicePreparation__tags {
    padding: 15px;
  }
  .servicePreparation__tags li {
    font-size: 0.875rem;
  }

  .serviceBanner {
    margin-top: 50px;
  }

  .serviceSection {
    margin-top: 60px;
    padding-top: 60px;
  }
  .serviceSection__row, .serviceSection__row--reverse {
    flex-direction: column;
    gap: 30px;
  }
  .serviceSection__row img, .serviceSection__row--reverse img {
    width: 100%;
  }
  .serviceSection__note {
    font-size: 0.875rem;
  }

  .serviceMemorial {
    flex-direction: column;
    align-items: stretch;
  }
  .serviceMemorial > img {
    width: 100%;
    max-width: none;
  }
  .serviceMemorial__fees {
    font-size: 1rem;
  }
  .serviceMemorial__fee {
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: 8px;
  }
  .serviceMemorial__price {
    min-width: 112px;
  }
  .serviceMemorial__price::before {
    flex-basis: 24px;
  }
  .serviceMemorial__fee .serviceMemorial__note {
    font-size: 0.875rem;
  }

  .serviceTree {
    width: 100%;
  }

  .serviceStone {
    gap: 20px;
    flex-direction: column;
  }
  .serviceStone > img {
    width: 100px;
    margin: auto;
  }
}
@media (max-width: 700px) {
  .serviceIntro .serviceLead {
    font-size: 1.5rem;
  }
}
.serviceBanner a {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  vertical-align: bottom;
}
.serviceBanner a img {
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.serviceBanner a:focus-visible {
  opacity: 1;
}
.serviceBanner a:focus-visible img {
  transform: scale(1.035);
}
@media (hover: hover) and (pointer: fine) {
  .serviceBanner a:hover {
    opacity: 1;
  }
  .serviceBanner a:hover img {
    transform: scale(1.035);
  }
}
@media (prefers-reduced-motion: reduce) {
  .serviceBanner a img {
    transition: none;
  }
  .serviceBanner a:hover img, .serviceBanner a:focus-visible img {
    transform: none;
  }
}
