

.sp-only {
  display: none;
}
@media (max-width: 767px) {
  .sp-only {
    display: block;
  }
}

.pc-only {
  display: block;
}
@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
}


.map {
    margin-top: 4rem;
    width: 1150px;
    max-width: 100%;
    height: 500px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    .map {
        width: 720px;
    }
}

.map #facility-map {
    height: 100%;
}

.map #facility-map .marker-cluster-small div {
    background-color: #2c5f6f;
}

.map #facility-map .marker-cluster-small {
    background-color: #2c5f6f;
}

.map #facility-map .marker-cluster span {
    color: #fff;
}

.map #facility-map .leaflet-popup .leaflet-popup-content {
    padding: 1rem 2rem;
    margin: 0px;
    width: auto;
    min-width: 17rem;
}

.map #facility-map .leaflet-popup .leaflet-popup-content .popup {
    font-weight: 400;
}

.map #facility-map .leaflet-popup .leaflet-popup-content .popup .popup-title {
    font-family: "Noto Serif JP", serif;
    color: #2c5f6f;
    font-size: clamp(13px, 1.3vw, 15px);
}

.map #facility-map .leaflet-popup .leaflet-popup-content .popup .popup-address {
    margin-top: 0.5rem;
    font-size: clamp(13px, 1.3vw, 14px);
    color: #6b7c85;
    font-family: "Noto Sans JP", sans-serif;
}

.map #facility-map .leaflet-popup .leaflet-popup-content .popup .popup-tel {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
    margin-top: 1rem;
    font-size: clamp(13px, 1.3vw, 16px);
    font-family: "Noto Sans JP", sans-serif;
    color: #6b7c85;
}

.map #facility-map .leaflet-popup .leaflet-popup-content .popup .popup-tel .img {
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map #facility-map .leaflet-popup .leaflet-popup-content .popup .popup-tel .img svg {
    width: 100%;
    height: auto;
}

.map #facility-map .leaflet-popup .leaflet-popup-content .popup .popup-link {
    margin-top: 1rem;
    font-size: clamp(13px, 1.3vw, 14px);
}

.map #facility-map .leaflet-popup .leaflet-popup-content .popup .popup-link a {
    text-decoration: underline;
    font-family: "Noto Sans JP", sans-serif;
    color: #2c5f6f;
}



/*-----------------------------------------
    申請フォーム
-----------------------------------------*/
.map-form {
    margin-top: 2rem;
}

.map-form__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.map-form__input [type=email] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    border: 1px solid #ABABAB;
    border-radius: 40px;
    background-color: #fff;
    color: inherit;
    font-family: inherit;
    font-size: 14px;
    width: clamp(340px, 28vw, 400px);
    padding: 5px 20px;
    height: 40px;
    outline: none;
    transition: all 0.6s ease 0s;
}

.map-form__input [type=text]::-moz-placeholder {
    color: #A4A4A4;
}

.map-form__input [type=text]::placeholder {
    color: #A4A4A4;
}

.map-form__input [type=text]:focus,
.contact-form__input [type=text]:hover {
    box-shadow: 0px 0px 0px 1px rgb(0, 0, 0);
}


/*----------------- ボタン -------------------*/

.map-form__button {
    text-align: center;
    display: block;
    position: relative;
}

.map-form__button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(50% + 5em);
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(../img/lp/icon-arrow-y_w.svg) no-repeat center center/contain;
    transition: all 0.6s ease 0s;
}

.map-form__btn {
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    color: #fff;
    width: 100%;
    height: 50px;
    line-height: 50px;
    padding: 0 36px 0 20px;
    font-size: 14px;
    background: #2C5F6F;
    border-radius: 80px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    transition: all 0.6s ease 0s;
}



.map-form__btn:hover {
    opacity: 0.8;
}


@media screen and (max-width: 752px) {
    .map-form__row {
        flex-direction: column;
    }

    .map-form__input [type=email] {
    max-width: 100%;
    width: clamp(340px,28vw,400px);
}
}


/*-- 表示ずれの修正のためローディングアイコンを非表示 --*/
.wpcf7-spinner {
    display: none;
}



/*-----------------------------------------
    マップの表示・非表示
-----------------------------------------*/

.map-lock {
  position: relative;
}

/* ぼかし */
.blur {
  filter: blur(80px);
  pointer-events: none;
}

/* オーバーレイ */
.map-overlay {

}


/* 解除後 */
.map-lock.unlocked .blur {
  filter: none;
  pointer-events: auto;
}

.map-lock.unlocked .map-overlay {
  display: none;
}