@charset "UTF-8";

/*-----------------------------
 service
-----------------------------*/
.service .mv {
  background-image: url(../images/top/mv_img07.jpg) !important;
}
.service .mv-overlay {
  opacity: 0.2;
  background-color: #ffffff;
}
/* アンカーリンク */
.link__inner {
  padding-bottom: 0;
}
.link__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 40px;
  row-gap: 20px;
}
.link__item {
  flex: 0 1 calc((100% - 40px * 2) / 3);
  min-width: 330px;
}
.link__item-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  font-family: var(--font-Poppins);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.15em;
  padding: 20px 0;
  text-align: center;
  transition: 0.3s ease;
  height: 100%;
}
.link__item-link:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}
@media screen and (max-width: 768px) {
  .link__list {
    row-gap: 12px;
  }
  .link__item {
    flex: 0 1 100%;
    min-width: auto;
  }
  .link__item-link {
    font-size: 1.6rem;
    /*padding: 8px 0;*/
  }
}

/* service */
.service:not(:last-child) .service__inner {
  padding-bottom: 0;
}
.service__head {
  display: flex;
  align-items: center;
  column-gap: 33px;
}
.service__num {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-gray);
  border-radius: 50%;
  font-family: var(--font-Poppins);
  font-size: min(40 / 1240 * 100vw, 4rem);
  font-weight: bold;
  line-height: 1;
  aspect-ratio: 1/1;
  width: min(96 / 1240 * 100vw, 96px);
}
.service__num::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  background-color: var(--color-gray);
  height: 1px;
  width: min(30 / 1240 * 100vw, 30px);
}
.service__title {
  flex: 1;
  color: var(--color-secondary);
  font-family: var(--font-Poppins);
  font-size: min(40 / 1240 * 100vw, 4rem);
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.1em;
}
.service__body {
  margin: 60px auto 0;
  width: 100%;
  max-width: 1100px;
}
.service__body + .service__body {
  margin-top: 120px;
}
.service__sub-title {
  font-family: var(--font-Poppins);
  font-size: clamp(2rem, 30 / 1240 * 100vw, 3rem);
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.service__sub-title .text-deco {
  background: linear-gradient(
    transparent 50%,
    rgba(255,134,115, 0.5) 50% 100%
  );
  padding: 0 3px;
}
.service__sub-title + .service__text {
  margin-top: 40px;
}
.service__sub-title.mt {
  margin-top: 6rem;
}
.service__text {
  line-height: 2.4;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  column-gap: min(56 / 1240 * 100vw, 56px);
  row-gap: 40px;
  margin-top: 40px;
}
.service-card {
  display: flex;
  flex-direction: column;
  flex: 0 1 calc((100% - min(56 / 1240 * 100vw, 56px) * 2) / 3);
}
.service-card__img {
  width: 100%;
}
.service-card__img img {
  object-fit: cover;
  aspect-ratio: 329/186;
  width: 100%;
}
.service-card__body {
  flex: 1;
  position: relative;
  background-color: var(--bg-primary);
  border: 1px solid var(--color-primary);
  margin: -14px auto 0;
  padding: 40px 20px 20px;
  width: 90%;
}
.service-card__num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  border-radius: 50%;
  color: var(--color-white);
  font-family: var(--font-Poppins);
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  aspect-ratio: 1/1;
  width: 56px;
}
.service-card__num .text-sm {
  font-size: 1rem;
}
.service-card__title {
  color: var(--color-secondary);
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
}
.service-card__text {
  font-size: 1.4rem;
  line-height: 2;
  margin-top: 16px;
}

.service-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 4rem;
}
.service-flow__card {
  width: calc((100% - (1.5rem * 5))/6);
  background-color: var(--bg-primary);
  border: 1px solid var(--color-secondary);
  text-align: center;
}
.service-flow__img {
  background-color: var(--color-secondary);
  text-align: center;
  padding: 2rem min(4vw, 5rem);
}
.service-flow__num {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-secondary);
  padding: 5px;
}
.service-flow__inner {
  padding: 2rem 1rem;
}
.service-flow__text {
  font-size: 1.4rem;
  margin-top: .8rem;
}
.service-power {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 4rem;
}
.service-power__card {
  width: calc((100% - (3rem * 2))/3);
  background-color: var(--bg-primary);
  border: 1px solid var(--color-primary);
  padding: 2rem;
  padding-top: 0;
}
.service-power__icon {
  width: 7rem;
  margin: -1.5rem auto 2rem;
}
.service-power__text {
  text-align: left;
  min-height: 8rem;
  margin-top: 1rem;
}
.service-power__reason {
  background-color: #f9f9f9;
  padding: 1rem;
  margin-top: 2rem;
}
.service-power__why {
  text-align: center;
  border-top: 1px solid #DDDDDD;
  border-bottom: 1px solid #DDDDDD;
  margin-bottom: 1rem;
  display: block;
  color: #888888;
}
.service-power__subtext {
  text-align: left;
  font-size: 1.4rem;
}
.service-movie__title {
  margin-top: 4rem;
  font-size: 2.2rem;
  color: var(--color-secondary);
}
.service-movies iframe {
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto !important;
}
@media screen and (max-width: 768px) {
  .service__head {
    column-gap: 20px;
  }
  .service__num {
    font-size: min(22 / 375 * 100vw, 4rem);
    width: min(60 / 375 * 100vw, 96px);
  }
  .service__num::after {
    width: min(20 / 375 * 100vw, 30px);
  }
  .service__title {
    font-size: min(22 / 375 * 100vw, 4rem);
  }
  .service__body {
    margin-top: 20px;
  }
  .service__body + .service__body {
    margin-top: 60px;
  }
  .service__sub-title + .service__text {
    margin-top: 20px;
  }
  .service__text {
    line-height: 2;
  }
  .service-cards {
    row-gap: 40px;
    margin-top: 20px;
  }
  .service-card {
    flex: 0 1 100%;
  }
  .service-card__body {
    padding: 40px 12px 20px;
  }
  .service-flow__card {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  .service-flow__num {
    width: 5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
  }
  .service-flow__img {
    width: 20%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  .service-flow__inner {
    width: calc(80% - 5rem);
  }
  .service-flow .service-card__title, .service-flow__text {
    text-align: left;
  }
  .service-power__card {
    width: 100%;
  }
}
