@charset "utf-8";
.service {
  padding-bottom: 93px;
}

.service__menu {
  padding-bottom: 63px;
  border-bottom: 1px solid #d6d6d6;
}

.service__menu-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  max-width: 1104px;
  margin-inline: auto;
  width: 87.3%;
  border: 2px solid #b9a67a;
  border-radius: 1px;
}

@media screen and (min-width: 768px) {
  .service__menu-list {
    flex-direction: row;
  }
}

.service__menu-item {
  width: 100%;
  padding: 34px 2.72% 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15.5%;
}

.service__menu-item:not(:last-child) {
  border-bottom: 2px solid #b9a57b;
}

@media screen and (min-width: 768px) {
  .service__menu-item:not(:last-child) {
    border-right: 2px solid #b9a57b;
    border-bottom: none;
  }
}

.service__menu-item::after {
  content: "";
  background: url(../images/service-menu-icon.svg) no-repeat center center /
    contain;
  aspect-ratio: 26/26;
  width: 26px;
  height: auto;
}

.service__menu-item:hover .service__menu-heading::after {
  width: 100%;
}

.service__menu-heading {
  position: relative;
}

.service__menu-heading::after {
  content: "";
  position: absolute;
  bottom: 0; /* 下部に配置 */
  left: 50%; /* 左端を中央に */
  width: 0; /* 初期は幅0 */
  height: 2px; /* ボーダーの太さ */
  background-color: #b9a67a;
  transform: translateX(-50%); /* 中央寄せ */
  transition: width 0.3s ease; /* アニメーション */
}

.service__menu-title-en {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: calc(50 / 1000 * 1em);
  line-height: 1.2;
  color: #483d41;
}

.service__menu-title-ja {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: calc(50 / 1000 * 1em);
  line-height: calc(24 / 15);
  color: #483d41;
}

/* メインコンテンツ */

.service__container {
  max-width: 1110px;
  margin-inline: auto;
  width: 87.7%;
}

.service__contents {
  padding-block: 40px;
}

@media screen and (min-width: 768px) {
  .service__contents {
    padding-block: 80px;
  }
}

.service__contents:not(:last-child) {
  border-bottom: 1px solid #d6d6d6;
}

.service__contents-head {
  width: 100%;
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .service__contents-head {
    gap: 6.57%;
    flex-direction: row;
    justify-content: space-between;
  }
}

.service__slider {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .service__slider {
    min-width: 250px;
    max-width: 603px;
    flex-shrink: 3;
  }
}

@media screen and (min-width: 1100px) {
  .service__slider {
    flex-shrink: 1;
  }
}

.service__contents-swiper-wrapper {
  display: flex;
}

.service__contents-swiper-slide-image {
  aspect-ratio: 460/460;
  width: 100%;
  height: auto;
}

.service__contents-swiper-slide-image img {
  border-radius: 5px;
  aspect-ratio: 460/460;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.service__contents-head-box {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .service__contents-head-box {
    margin-top: -10px;
    flex-shrink: 1;
    width: 55%;
    word-wrap: break-word;
  }
}

.service__contents-head-box-title {
  font-size: clamp(15px, 1.47vw, 20px);
  font-weight: 600;
  letter-spacing: calc(154 / 1000 * 1em);
  line-height: 1.2;
}

.service__contents-head-box-text {
  margin-top: 35px;
}

.service__contents-head-box-text p {
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 400;
  line-height: calc(30 / 14);
}

.service__contents-head-box-text p + p {
  margin-top: 30px;
}

.service__contents-body {
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .service__contents-body {
    margin-top: 72px;
  }
}

.service__contents-body-cards {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.service__contents-body-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media screen and (min-width: 768px) {
  .service__contents-body-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 5.77%;
  }
}

.service__contents-body-card-image {
  aspect-ratio: 401/243;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .service__contents-body-card-image {
    min-width: 0;
    flex: 0 0 40%;
  }
}

.service__contents-body-card-image img {
  border-radius: 5px;
  aspect-ratio: 401/243;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

.service__contents-body-card-box {
  margin-top: 6px;
}

.service__contents-body-card-number {
  display: inline-block;
  font-size: clamp(16px, 1.32vw, 18px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white);
  padding: 2px 13px;
  background: #baa47b;
  border-radius: 3px;
}

.service__contents-body-card-title {
  font-size: clamp(18px, 1.62vw, 22px);
  font-weight: 600;
  letter-spacing: calc(100 / 1000 * 1em);
  line-height: calc(40 / 22);
  color: #454545;
  margin-top: 20px;
}

.service__contents-body-card-text {
  margin-top: 12px;
  font-size: clamp(12px, 1.03vw, 14px);
  font-weight: 500;
  letter-spacing: calc(50 / 1000 * 1em);
  line-height: calc(30 / 14);
}

.service__contents-boxes {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px 42px;
}

@media screen and (min-width: 600px) {
  .service__contents-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1000px) {
  .service__contents-boxes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service__contents-box-image {
  aspect-ratio: 342/258;
  width: 100%;
}

.service__contents-box-image img {
  aspect-ratio: 342/258;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.service__contents-box-title {
  margin-top: 21px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: calc(100 / 1000 * 1em);
  color: #454545;
}
