.slider__box {
  padding-block: 40px 0;
  overflow: hidden;
}
@media only screen and (max-width: 767px) {
  .slider__box {
    padding-block: 24px 8px;
  }
}
.slider__box .js-square-slider {
  width: 100%;
  margin: 0 auto;
}
.slider__box .js-square-slider .swiper-wrapper {
  padding: 0;
  margin: 0;
  list-style: none;
}
.slider__box .js-square-slider .swiper-slide {
  height: auto;
  box-sizing: border-box;
}
.slider__box .js-square-slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.slider__controls-wrapper {
  max-width: 1200px;
  margin: 30px auto 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider__controls {
  display: flex;
  align-items: center;
  gap: 24px;
}
.slider__controls .swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
  position: static;
  width: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  transform: none;
}
.slider__controls .swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: #d9d9d9;
  opacity: 1;
  margin: 0;
  transition: background-color 0.3s;
}
.slider__controls .swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #3A6EA5;
}
.slider__controls .swiper-button-prev,
.slider__controls .swiper-button-next {
  position: static;
  margin: 0;
  width: 9px;
  height: 16px;
  color: #757575;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider__controls .swiper-button-prev {
  -webkit-mask-image: url(/assets/images/common/slider_prev.svg);
          mask-image: url(/assets/images/common/slider_prev.svg);
  background: #757575;
}
.slider__controls .swiper-button-next {
  -webkit-mask-image: url(/assets/images/common/slider_next.svg);
          mask-image: url(/assets/images/common/slider_next.svg);
  background: #757575;
}
.slider__toggle-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 0;
  z-index: 10;
}
.slider__toggle-btn::before, .slider__toggle-btn::after {
  content: "";
  display: block;
  width: 3px;
  height: 100%;
  background-color: #757575;
  transition: 0.3s;
}
.slider__toggle-btn.is-playing {
  justify-content: center;
}
.slider__toggle-btn.is-playing::before {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #999;
  background-color: transparent;
}
.slider__toggle-btn.is-playing::after {
  display: none;
}

.trouble__box {
  padding: 80px 20px;
}
@media only screen and (max-width: 767px) {
  .trouble__box {
    padding: 24px 20px;
  }
}
.trouble__inner {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}
.trouble__list ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 32px;
       column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media only screen and (max-width: 767px) {
  .trouble__list ul {
    display: block;
  }
}
.trouble__list li {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
}
@media only screen and (max-width: 767px) {
  .trouble__list li {
    display: block;
    padding-bottom: 0;
    margin-bottom: 42px;
  }
  .trouble__list li:last-child {
    margin-bottom: 0;
  }
}
.trouble__list-image {
  margin-bottom: 32px;
}
@media only screen and (max-width: 767px) {
  .trouble__list-image {
    margin-bottom: 16px;
  }
}
.trouble__list-image img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.trouble__list-title {
  color: #333333;
  font-size: clamp(calc(16 / 16 * 1rem), calc(20 / 1440 * 100vw), calc(20 / 16 * 1rem));
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
@media only screen and (max-width: 767px) {
  .trouble__list-title {
    font-size: 18px;
    margin-bottom: 8px;
  }
}
.trouble__list-text {
  color: #333333;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
@media only screen and (max-width: 767px) {
  .trouble__list-text {
    line-height: 1.5;
    margin-bottom: 16px;
  }
}
.trouble__list-btn {
  align-self: end;
}
.trouble__list-btn a {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0 13px;
  border: 1px solid #3A6EA5;
  border-radius: 4px;
  text-decoration: none;
  color: #3A6EA5;
  font-size: clamp(calc(12 / 16 * 1rem), calc(14 / 1440 * 100vw), calc(14 / 16 * 1rem));
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
  .trouble__list-btn a {
    padding: 8px 0 8px;
  }
}
@media (any-hover: hover) {
  .trouble__list-btn a {
    transition: 0.3s;
  }
  .trouble__list-btn a:hover {
    background-color: #3A6EA5;
    color: #ffffff;
  }
}

@media only screen and (max-width: 767px) {
  .service__box {
    padding: 24px 20px;
  }
}
.service__list li:nth-of-type(1) {
  display: none;
}
.service__list-btn {
  align-self: end;
}
.service__list-btn a {
  padding: 9px 0 8px;
  font-weight: 700;
}