@charset "UTF-8";

/* -------------------------------------------

service

------------------------------------------- */
.service {
  padding-block: 10rem 20rem;
}

.service__text {
  color: #000;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.75;
}

/* nav */
.service__nav {
  margin-top: 5rem;
}

.service__nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.4rem 3rem;
}

.service__nav-item a {
  width: 25rem;
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ac0030;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.75;
  border-radius: 1rem;
  border: 3px solid #ac0030;
  background: #fff;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.service__nav-item a:hover {
  background-color: #ac0030;
  color: #fff;
  opacity: 1;
}

/* content */
.service__contents {
  margin-top: 10rem;
  display: flex;
  flex-direction: column;
  row-gap: 10rem;
}

.service__content {
  display: flex;
  flex-direction: row-reverse;
  column-gap: 5%;
}

.service__content:nth-child(odd) {
  flex-direction: row;
}

.service__content-image {
  width: 45%;
}

.service__wrap {
  margin-top: 1.5rem;
  width: 50%;
}

.service__content-title {
  color: #ac0030;
  font-family: "Noto Serif JP";
  font-size: 2.4rem;
  font-weight: 900;
}

.service__content-text {
  margin-top: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.75;
}

.service__content-detail {
  margin-top: 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
}

.service__content-scene {
  margin-top: 3rem;
  border-bottom: 2px solid #ac0030;
}

.service__content-scene-title {
  color: #ac0030;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
}

.service__content-scene-title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: calc(100% - 10rem);
  height: 2px;
  background-color: #ac0030;
}

.service__content-scene-text {
  padding-block: 2rem 2.4rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
}

.service__content-price {
  margin-top: 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
}

/* gallery */
.service__content-gallery {
}

.main-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.thumbnails img {
  width: 100%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.thumbnails img:hover {
  border-color: #ac0030;
}

.thumbnails img.active {
  border-color: #ac0030;
}

@media (max-width: 767px) {
  .service {
    padding-block: 5rem 10rem;
    padding-inline: 2rem;
  }

  .service__text {
    font-size: 1.4rem;
  }

  /* nav */
  .service__nav {
    margin-top: 3rem;
  }

  .service__nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 1rem 2rem;
  }

  .service__nav-item a {
    width: 100%;
    height: 4rem;
    font-size: 1.2rem;
    border: 2px solid #ac0030;
  }

  /* content */
  .service__contents {
    margin-top: 5rem;
    row-gap: 5rem;
  }

  .service__content {
    flex-direction: column-reverse;
    row-gap: 1rem;
  }

  .service__content:nth-child(odd) {
    flex-direction: column-reverse;
  }

  .service__content-image {
    margin-top: 1rem;
    width: 100%;
  }

  .service__wrap {
    margin-top: 1rem;
    width: 100%;
  }

  .service__content-title {
    font-size: 2rem;
  }

  .service__content-text {
    margin-top: 1rem;
    font-size: 1.4rem;
  }

  .service__content-detail {
    margin-top: 2rem;
    font-size: 1.2rem;
  }

  .service__content-scene {
    margin-top: 3rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #ac0030;
  }

  .service__content-scene-title {
    font-size: 1.3rem;
  }

  .service__content-scene-text {
    padding-block: 1.6rem 2rem;
    font-size: 1.2rem;
  }

  .service__content-price {
    margin-top: 1rem;
    font-size: 1.2rem;
  }
}
