.service {
  padding: 4rem 0 6rem;
}

.service-intro__inner {
  padding-bottom: 300px;
}

@media (max-width: 768px) {
  .service-intro__inner {
    padding-bottom: 100px;
  }
}

.service-intro__lead {
  margin-top: 4rem;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 768px) {
  .service-intro__lead {
    font-size: 1.4rem;
    text-align: left;
  }
}

.service-intro__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 0;
  list-style: none;
  margin-top: 5rem;
}

@media (max-width: 768px) {
  .service-intro__cards {
    gap: 4rem;
  }
}

.service-intro__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 5rem;
  padding: 0;
  list-style: none;
}

@media (max-width: 1024px) {
  .service-intro__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .service-intro__cards {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background-color: #d9e6f6;
  padding: 4rem 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 250px;
}

@media (max-width: 480px) {
  .service-card {
    max-width: 300px;
    min-height: 200px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .service-card {
    padding: 2rem 2rem 0;
    min-height: 200px;
  }
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: flex-start;
}

.service-card__title {
  font-size: 2rem;
  font-weight: bold;
  color: #015184;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.4;
  min-height: 3.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .service-card__title {
    margin-bottom: 0;
    min-height: 3em;
  }
}

.service-card__desc {
  font-size: 1.6rem;
  line-height: 1.7;
  text-align: left;
  letter-spacing: 0.02em;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .service-card__desc {
    margin-top: 1rem;
  }
}

.service-detail {
  padding-bottom: 300px;
}

@media (max-width: 768px) {
  .service-detail {
    padding-bottom: 100px;
  }
}

.service-detail__item {
  padding: 4rem 4rem 0;
}

@media (max-width: 768px) {
  .service-detail__item {
    padding: 3rem 3rem 0;
  }
}

.service-detail__item:last-of-type .service-detail__body {
  border-bottom: none;
}

.service-detail__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  border-bottom: 1px solid #1b79b2;
  padding-bottom: 4rem;
}

@media (max-width: 768px) {
  .service-detail__body {
    flex-direction: column;
    gap: 2rem;
  }
}

.service-detail__content {
  width: 60%;
}

@media (max-width: 768px) {
  .service-detail__content {
    width: 100%;
  }
}

.service-detail__heading {
  font-size: 2.4rem;
  font-weight: bold;
  color: #015184;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .service-detail__heading {
    font-size: 2rem;
    text-align: center;
  }
}

.service-detail__subheading {
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.service-detail__text {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #000;
}

.service-detail__images {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-detail__images {
  flex-shrink: 0;
  width: 35%;
}

.service-detail__images img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .service-detail__images {
    width: 100%;
  }
}

.service-detail__button {
  margin: 4rem 0 8rem;
  text-align: center;
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .service-detail__button {
    margin: 3rem 0 5rem;
  }
}

.service-detail__button .text-button-box {
  max-width: 600px;
  width: 100%;
}

@media (max-width: 768px) {
  .service-detail__button .text-button-box {
    max-width: 280px;
    text-align: left;
  }
}

.service-detail__button .text-button-box__text {
  color: #015184;
  line-height: 1.4;
}

.service-detail__button:hover {
  color: #fff;
}

.service-category {
  border: 1px solid #015184;
  background: #fff;
  margin-top: 8rem;
}

@media (max-width: 768px) {
  .service-category {
    margin-top: 6rem;
  }
}

.service-category+.service-category {
  margin-top: 10rem;
}

.service-category__title {
  font-size: 2.4rem;
  font-weight: bold;
  background-color: #015184;
  color: #fff;
  text-align: center;
  padding: 1rem 2rem;
}

@media (max-width: 768px) {
  .service-category__title {
    font-size: 2rem;
  }
}

.reason__inner {
  padding-bottom: 300px;
}

@media (max-width: 768px) {
  .reason__inner {
    padding-bottom: 50px;
  }
}

.reason__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 8rem;
  list-style: none;
  padding: 0;
}

@media (max-width: 768px) {
  .reason__list {
    grid-template-columns: 1fr;
    margin-top: 6rem;
    gap: 1rem;
  }
}

.reason__item {
  position: relative;
  background: #d9e6f6;
  padding: 8rem 2rem 2rem;
  text-align: center;
  overflow: visible;
  margin-top: 7rem;
}

@media (max-width: 768px) {
  .reason__item {
    padding: 6rem 2rem 2rem;
  }
}

.reason__icon-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 150px;
  height: 150px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason__icon-bg {
  position: absolute;
  width: 150px;
  height: 150px;
  background-color: #d9e6f6;
  border-radius: 50%;
  clip-path: inset(0 0 50% 0);
  z-index: 1;
}

@media (max-width: 768px) {
  .reason__icon-bg {
    width: 120px;
    height: 120px;
  }
}

.reason__icon-img {
  width: 80px;
  height: auto;
  z-index: 2;
}

@media (max-width: 768px) {
  .reason__icon-img {
    width: 70px;
  }
}

.reason__title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #015184;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.reason__text {
  font-size: 1.6rem;
  line-height: 1.7;
  text-align: left;
}

.flow {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .flow {
    padding: 6rem 0;
  }
}

.flow__inner {
  padding: 0 4rem;
  padding-bottom: 100px;
}

@media (max-width: 768px) {
  .flow__inner {
    padding-bottom: 50px;
  }
}

.flow__title {
  font-size: 2.2rem;
  font-weight: bold;
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  list-style: none;
  padding: 0;
  width: 100%;
  margin: 8rem auto 0;
}

@media (max-width: 768px) {
  .flow__list {
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 6rem;
  }
}

.flow__item {
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .flow__item {
    margin-bottom: 0;
  }
}

.flow__item img {
  align-items: baseline;
  height: auto;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .flow__item img {
    width: 100%;
    height: auto;
  }
}

.flow__item .flow__step {
  color: #015184;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .flow__item .flow__step {
    gap: 2rem;
  }
}

.flow__item .flow__step .flow__number {
  font-family: var(--font-title);
  font-size: 7rem;
}

@media (max-width: 768px) {
  .flow__item .flow__step .flow__number {
    font-size: 5rem;
  }
}

.flow__item .flow__step .flow__title {
  font-size: 2.2rem;
}

@media (max-width: 768px) {
  .flow__item .flow__step .flow__title {
    font-size: 1.8rem;
  }
}

.solution {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .solution {
    padding: 6rem 0;
  }
}

.solution .case-card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin: 8rem 0;
}

@media (max-width: 768px) {
  .solution .case-card-list {
    grid-template-columns: 1fr;
    gap: 8rem;
    margin: 6rem 0;
  }
}

.solution .case-card {
  position: relative;
  background: #eef4f7;
  overflow: hidden;
}

.solution .case-card__image img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

.solution .case-card__body {
  padding: 2rem;
}

.solution .case-card__label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #015184;
  color: #fff;
  font-family: var(--font-title);
  font-size: 2.5rem;
  line-height: 0.8;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.solution .case-card__label span {
  font-size: 4rem;
  line-height: 0.8;
}

.solution .case-card__title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #015184;
  text-align: center;
  margin: 2rem 0;
}

.solution .case-card__info {
  font-size: 1.4rem;
  color: #000;
  margin-bottom: 2rem;
}

.solution .case-card__info dt {
  font-weight: bold;
  display: inline;
}

.solution .case-card__info dd {
  display: inline;
  margin: 0 0 0.5rem 0;
}

.solution .case-card__info div {
  margin-bottom: 0.5rem;
}

.solution .case-card__reason,
.solution .case-card__solution {
  margin-top: 2rem;
  font-size: 1.4rem;
}

.solution .case-card__reason h4,
.solution .case-card__solution h4 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.solution .case-card__reason p,
.solution .case-card__solution p {
  line-height: 1.8;
}

.solution .case-card__solution {
  color: #015184;
}