/* ==================================
    施設案内
================================== */

:root{
    --header-height: 6.5rem;
}

.facility_titlebox{
    display: flex;
    align-items: center;
    padding-top: 6.5rem;
    padding-bottom: 8.7rem;
    gap: 2rem;
    position: relative;

}
.facility_img{
    width: 4rem;
    height: 4.1rem;
}
.facility_img--tulip{
    position: absolute;
    width: 134rem;
    height: auto;
    top: 5.2rem;
    left: -57rem;
}
.main {
    background-color: #FFFAEF;
    padding-top: 12rem;
    padding-bottom: 10rem;
}

.facility-icon{
    /* padding-top:6.5rem */
}
.facility-text{
    /* padding-top:6.5rem */
}

.facility-page {
    background: #f6f3eb;
    padding-top: 8.5rem;
    padding-right: 2rem;
    padding-bottom: 8rem;
    padding-left: 2rem;
}

/* タイトル */
.facility-title {
    text-align: center;
}

.facility-title h1 {
    font-size: 3.5rem;
    font-weight: 500;
    color: #4D5E9C;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    line-height: calc(51 / 35);
    font-family: "Noto Sans JP", sans-serif;
}

.facility-icon {
    font-size: 4.2rem;
}

/* 全体 */
.facility-container {
    max-width: 113rem;
    background-color: white;
    margin: 0 auto;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, .08);
    border-radius: 3rem;
}

/* カード */
.facility-card {
    display: flex;
    align-items: start;
    gap: 4rem;
    padding: 5rem;
    margin-bottom: 6rem;
    justify-content: center;
    line-height: calc(36 / 25);
    font-family: "Noto Sans JP", sans-serif;
}

/* 画像 */
.facility-image {
    width: 54.5rem;
    height: auto;
}

.facility-image img {
    width: 100%;
    display: block;
    border-radius: 3rem;
    object-fit: cover;
}

/* テキスト */
.facility-content {
    width: 44.5rem;
}

.facility-content h2 {
    font-size: 2.5rem;
    font-weight: 400;
    padding-bottom: 1rem;
    border-bottom: 0.2rem solid #ccc;
    line-height: calc(24 / 16);
    font-family: "Noto Sans JP", sans-serif;
}

.facility-content p {
    font-size: 1.6rem;
    line-height: calc(24 / 16);
    font-family: "Noto Sans JP", sans-serif;
}

/* ==========================
    スマホ
========================== */

@media screen and (max-width: 768px){

    .facility-title h1{
        font-size: 2rem;
        line-height: calc(29 / 20);
    }

    .facility-card{
        flex-direction: column;
        padding: 1.5rem;
        margin-bottom: 0rem;
        gap: 1.5rem;
        line-height: calc(26 / 18);
    }

    .facility-image,
    .facility-content{
        width: 30.5rem;
    }

    .facility-content h2{
        font-size: 1.8rem;
    }

    .facility-content p{
        font-size: 1.6rem;
        padding-top: 1.5rem;
    }
    .facility-container{
        width: 33.5rem;
    }
    .facility_img--tulip{
        position: absolute;
        width: 33.5rem;
        height: auto;
        top: 3rem;
        left: -11rem;
    }
    .facility_img{
    width: 2.4rem;
    height: 2.5rem;
    }
    .facility_titlebox{
    display: flex;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 4.8rem;
    gap: 1rem;
    position: relative;

    }
    .facility-content h2 {
    font-size: 1.8rem;
    font-weight: 400;
    padding-bottom: 1rem;
    border-bottom: 0.2rem solid #ccc;
    }
    .main {
    background-color: #FFFAEF;
    padding-top: 6rem;
    padding-bottom: 7rem;
    }
}