@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&amp;display=swap');

#mainContent {
    background: linear-gradient(to right, white 50%, #EFF1F5 50%);
}

#mainContent .wrap {
    width: 1432px;
}

.jumbotron-v2 * {
    font-family: Helvetica, Arial, sans-serif;
}

.jumbotron-v2 {
    display: flex;
    width: 100%;;
    height: 646px;
    background: linear-gradient(to bottom, #EFF1F5 62%, white 62%);
}

.jumbotron-v2 .desc {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: end;
}

.jumbotron-v2 .desc .desc-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 145px 90px 58px 0;
    gap: 20px;
    position: relative;
    margin-left: 0;
    max-width: 700px;
}

.jumbotron-v2 .blue-bg {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 23%;
    height: 100%;
    background-color: #EFF1F5;
    z-index: -1;
}

.jumbotron-v2 .desc .title {
    font-family: "adobe-garamond-pro", serif;
    font-size: 56px;
    font-weight: 600;
    color: #002368;
    line-height: 1.2;
}

.jumbotron-v2 .desc .paragraph {
    font-size: 14px;
    font-weight: 400;
    color: #222222;
}

.jumbotron-v2 .desc .paragraph-gray {
    font-size: 14px;
    font-weight: 400;
    color: #808080;
}

.jumbotron-v2 .image {
    width: 50%;
    height: 100%;
}

.image.hero-school {
    background-image: url('../jpg/hero-school.jpg');
    background-size: cover;
    background-position: center;
}

.school-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    background: linear-gradient(to right, white 77%, #EFF1F5 77%);
    padding-bottom: 30px;
}

.school-list .school {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    padding: 40px 20px;
    background-color: white;
    position: relative;
}

.school-list .school .blue-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 8px;
    background-color: #002368
}

.school-list .school .name {
    display: block;
    color: black;
    font-family: "adobe-garamond-pro", serif;
    text-decoration: none;
    font-size: 28px;
    font-weight: 600;
    text-decoration: none;
    overflow: auto;
}

.school-list .school .body {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    gap: 10px;
    margin-bottom: 15px;
}

.school-list .school .body .sentence {
    width: 60%;
    min-height: 84px;
}

.school-list .school .body .available-button {
    font-size: 16px;
    font-family: 'Jost', sans-serif;
    padding: 14px 17px;
    width: fit-content;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #D8D8D8;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.school-list .school .content {
    width: 100%;
    display: flex;
    gap: 10px;
    box-sizing: border-box;
}

.school-list .school .content .image {
    width: 35%;
    aspect-ratio: 1/1;
    background-size: cover;
}

.school-list .school .content .image img{
    object-fit: cover;
}

.school-list .school .content .map {
    width: 65%;
    aspect-ratio: 16/9;
}

.map.school-map {
    background-image: url('../jpg/map.jpg');
    background-size: cover;
    background-position: center;
}

.school-list .school .line {
    width: 100%;
    height: 1px;
    background-color: #D8D8D8;
    margin: 20px 0px;
    border-top: none;
}

.school-list .school .footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #D8D8D8;
}

.school-list .school .icon-wrapper {
    width: 20%;
    height: 100%;
    background-color: #EFF1F5;
    line-height: normal;
    padding: 10px 0;
    border-right: 1px solid #D8D8D8;
}

.school-list .school .icon {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.school-list .school .icon .title {
    font-size: 16px;
    font-weight: 500;
    font-family: 'Jost', sans-serif;
    color: #222222;
}

.school-list .school .footer .desc {
    width: 80%;
    box-sizing: border-box;
    font-size: 14px;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    padding: 10px 40px 10px 20px;
    text-transform: uppercase;
    text-decoration: none;
    color: #222222;
    position: relative;
}

.school-list .school .footer .desc a {
    text-decoration: none;
    color: #222222;
}

.school-list .school .footer .desc .icon {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
}


.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.line-clamp-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

#propertyMap {
    width: 65%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.map_iframe {
    width: 100%;
    height: 410px;
    margin-top: -110px;
}

#propertyMap.hide-left-pannel {
  width: 65%;
  aspect-ratio: 16/9;
  overflow: hidden;
  height: auto;
  position: relative;
  overflow: hidden;
}
.hide-left-pannel .map_iframe {
  width: 100%;
  height: calc(100% + 65px);
  position: absolute;
  left: 0px;
  bottom: 0px;
}


@media screen and (max-width: 1300px) {
    #mainContent .wrap {
        width: inherit;
        padding: 40px;
    }

    .jumbotron-v2 .desc .desc-wrapper {
        padding: 40px;
    }

}


@media screen and (max-width: 860px) {
    #mainContent .wrap {
        width: inherit;
        padding: 20px;
        margin: 0 12px;
        max-width: 100%;
    }

    .jumbotron-v2 {
        flex-direction: column;
        height: fit-content;
        background: linear-gradient(to bottom, #EFF1F5 80%, white 80%);
    }

    .jumbotron-v2 .image {
        width: 100%;
        order: 1;
        height: 266px;
    }

    .jumbotron-v2 .desc {
        width: 100%;
        order: 2;
        position: sticky;
    }

    .jumbotron-v2 .desc .title {
        font-size: 32px;
    }

    .jumbotron-v2 .desc .desc-wrapper {
        padding: 40px 20px;
        max-width: none;
    }

    .school-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .school-list .school {
        padding: 30px 20px;
    }

    .school-list .school .name {
        font-size: 22px;
    }

    .school-list .school .body {
        flex-direction: column;
    }

    .school-list .school .body .available-button {
        margin: auto;
        padding: 0;
        width: 190px;
        height: 40px;
        display: flex;
        justify-content: center;
        position: relative;
        font-size: 14px;
    }

    .school-list .school .body .available-button svg {
        position: absolute;
        right: 3%;
    }

    .line-clamp-4 {
        width: 100% !important;
    }

    .school-list .school .content {
        flex-direction: column;
    }

    .school-list .school .content .image {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .school-list .school .content .map {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    #propertyMap, #propertyMap.hide-left-pannel {
        width: 100%;
    }

    .school-list .school .footer {
        flex-direction: column;
    }

    .school-list .school .icon-wrapper {
        width: 100%;
        padding: 0;
    }

    .school-list .school .icon {
        flex-direction: row;
        gap: 10px;
        padding: 10px;
    }

    .school-list .school .footer .desc {
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
        padding-right: 40px;
    }

    .hide-left-pannel .map_iframe {
        width: 100%;
        height: 410px;
        margin-top: -110px;
        position: relative;
    }
}

