@charset "utf-8";
@media screen and (max-width: 767px) {
  .sp-form-modal-wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
  }

  .sp-form-modal-wrapper.is-open {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 9999;
  }

  .sp-form-modal-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .sp-form-modal-wrapper.is-open .sp-form-modal-overlay {
    display: block;
  }

  .sp-form-modal-content {
    background-color: transparent;
    border-radius: 0;
    position: relative;
    width: 100%;
    max-width: none;
    top: auto;
    left: auto;
    bottom: auto;
    transform: none;

    display: flex;
    flex-direction: column;
  }

  .sp-form-modal-wrapper.is-open .sp-form-modal-content {
    background-color: #ddf4fe;
    border-radius: 6px;

    width: 95%;
    max-width: 600px;

    position: absolute;
    top: 74px;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
  }

  .sp-form-modal-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    position: absolute;
    top: -3px;
    right: -3px;
    width: 30px;
    height: 30px;
  }

  .sp-form-modal-wrapper.is-open .sp-form-modal-close {
    display: block;
  }

  .sp-form-modal-content .form__container {
    overflow-y: visible;
    width: 100%;
  }

  .sp-form-modal-wrapper.is-open .sp-form-modal-content .form__container {
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sp-form-modal-content .contact_form {
    margin-top: 12px;
    padding: 18px 9px;
  }
}

/* 6-2のみ */
@media screen and (min-width: 768px) {
  .hero__note {
    display: none;
  }

  .info .info__container {
    max-width: 1230px;
  }
}

.sp-form-modal-overlay,
.sp-form-modal-close {
  display: none;
}

/* カルーセル */
.info-card__visual {
  width: 100%;
}

.info-card__container {
  display: flex;
  flex-direction: column;
}

.info-card__slider {
  width: calc(100% - 20px);
  margin-inline: auto;
  margin-top: 24px;
}

.splide__slide {
  background: #fff;
  border: 2px solid #02a5d9;
  border-radius: 6px;
  padding: 15px;
  box-sizing: border-box;
  height: auto;
  display: flex;
  flex-direction: column;
}

.info-card__slide-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.info-card__slide-header {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
}

.info-card__slide-number {
  background: #ff9901;
  border-radius: 3px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  padding-bottom: 2px;

  width: 28px;
  height: 28px;

  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.info-card__slide-title {
  color: #02a5d9;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
}

.info-card__slide-line {
  background: #02a5d9;
  height: 2px;
  margin-top: 10px;
  width: 100%;
}

.info-card__slide-subtitle {
  color: #636363;
  font-size: 14px;
  font-weight: bold;
  margin-top: 16px;
}

.info-card__slide-image {
  padding-top: 15px;
  text-align: center;
  width: 100%;
}

.info-card__slide-image img {
  object-fit: contain;
  height: auto;
  max-width: 100%;
  max-height: 135px;
}

/* Splide Customization */
.splide__pagination__page {
  background: #ccc;
  opacity: 1;

  width: 8px;
  height: 8px;
  margin: 3px;
}

.splide__pagination__page.is-active {
  background: #005bac;
  transform: scale(1);
}

.info-card__slider .splide__arrow {
  background: none;
  opacity: 1;
  width: 26px;
  height: 26px;
}

.info-card__slider .splide__arrow svg {
  display: none;
}

.info-card__slider .splide__arrow::before {
  background-image: url(../images/icon_slider_arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  content: '';
  display: block;

  width: 26px;
  height: 26px;
}

.info-card__slider .splide__arrow--prev {
  left: -10px;
}

.info-card__slider .splide__arrow--next::before {
  transform: scaleX(-1);
}

.info-card__slider .splide__arrow--next {
  right: -10px;
}

@media screen and (min-width: 768px) {
  .info-card__visual {
    justify-content: flex-end;
  }

  .info-card__container {
    display: grid;
    gap: 40px;
    grid-template-columns: 450px minmax(0, 1fr);
    /* grid-template-columns: 1fr minmax(500px, 1fr); */
  }

  .info-card__slider {
    width: calc(100% - 20px);
    margin-top: 24px;
  }

  .splide__slide {
    border-width: 3px;
    border-radius: 10px;
    padding: 30px 25px 20px;
  }

  .info-card__slide-number {
    border-radius: 4px;
    font-size: 33px;
    padding-bottom: 2px;

    height: 51px;
    width: 51px;
  }

  .info-card__slide-title {
    font-size: 30px;
    line-height: 1.3;
    margin: 0;
  }

  .info-card__slide-line {
    height: 3px;
    margin-top: 18px;
  }

  .info-card__slide-subtitle {
    font-size: 21px;
    margin-top: 25px;
  }

  .info-card__slide-image {
    height: 100%;

    display: grid;
    place-items: center;
  }

  .info-card__slide-image img {
    max-height: 260px;
  }

  /* Splide Customization */
  .splide__pagination__page {
    width: 8px;
    height: 8px;
    margin: 3px;
  }

  .splide__pagination__page.is-active {
    transform: scale(1);
  }

  .info-card__slider .splide__arrow {
    width: 48px;
    height: 48px;
  }

  .info-card__slider .splide__arrow::before {
    width: 48px;
    height: 48px;
  }

  .info-card__slider .splide__arrow--prev {
    left: -20px;
  }

  .info-card__slider .splide__arrow--next::before {
    transform: scaleX(-1);
  }

  .info-card__slider .splide__arrow--next {
    right: -20px;
  }
}

/* メールアドレスサジェスト */
.ui-widget.ui-widget-content {
  border-radius: 4px;
}

.ui-menu .ui-menu-item .ui-menu-item-wrapper {
  border-radius: 4px;
  font-size: 16px;
  color: #222222;
  text-decoration: none;
  display: block;
  padding: 2px .4em;
  line-height: 1.5;
  min-height: 0;
}

.ui-menu .ui-menu-item .ui-menu-item-wrapper.ui-state-active {
  background: #dadada !important;
  border: 1px solid #999999 !important;
  color: #212121 !important;
  margin: -1px;
}

/* 電話番号フォーム調整 */
.phone-item input {
  width: 100%;
  height: 46px;
  padding: 5px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
}