@charset "UTF-8";

/* CSS Document */
/**************************基本**************************/
.top_main {
    width: 100%;
    background: var(--main-gradient);
    position: relative;
    overflow: hidden;
}

.top_main .main_catch{
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 12%;
    min-width: 40vw;
    text-align: center;
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
}

.top_main:before,
.top_main:after{
    content: "";
    display: block;
    width: 200vw;
    height: 140px;
    background: rgba(255, 0, 111, 0.15);
    position: absolute;
    z-index: 0;
}

.top_main:before{
    left: -50%;
    bottom: 4%;
    transform: rotate(10deg);
}

.top_main:after{
    left: -80%;
    bottom: 0;
    transform: rotate(72deg) translateY(-50%);
}

.top_main .main_catch span{
    display: block;
    font-size: clamp(3.2rem, 4vw, 4.8rem);
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
    /* background: var(--pink); 
    padding: 10px 20px;*/
}

.top_main .main_catch span:nth-child(n+2){
    margin-top: 10px;
}

.top_float_img {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.top_float_img li {
    position: absolute;
}

.top_float_img li:nth-child(1) {
    top: 15%;
    left: -2%;
}
.top_float_img li:nth-child(1) img{
    width: 42vw;
}

.top_float_img li:nth-child(2) {
    top: 20%;
    left: 45%;
}
.top_float_img li:nth-child(2) img{
    width: 20vw;
}

.top_float_img li:nth-child(3) {
    bottom: 10%;
    left: 45%;
}
.top_float_img li:nth-child(3) img{
    width: 30vw;
}

.top_float_img li:nth-child(4) {
    top: 20%;
    right: -1%;
}
.top_float_img li:nth-child(4) img{
    width: 35vw;
}

.top_float_img li:nth-child(5) {
    bottom: 1%;
    right: 1%;
}
.top_float_img li:nth-child(5) img{
    width: 20vw;
}

@media screen and (min-width: 1600px) {
    .top_float_img{
        padding-top: 900px;
        max-width: 1600px;
        margin: 0 auto;
        overflow: visible;
    }
    .top_float_img li img {
        width: auto!important;
    }
    
}


.top_float_img li img {
    position: relative;
    will-change: transform;
}


.top_en_title .jp {
    font-size: 4rem;
    display: block;
}

.top_en_title .en {
    font-size: 1.8rem;
    display: block;
    color: var(--pink);
    margin-top: 5px;
}


.top_welfare_list {
    display: flex;
    border-left: 1px solid var(--gray2);
}

.top_welfare_list li {
    width: 50%;
    border-right: 1px solid var(--gray2);
}

.top_welfare_list li a {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--black);
    text-decoration: none;
}

.top_welfare_list li a .arrow_link {
    margin-top: 40px;
    margin-left: -20px;
}


.top_entry_container {
    background-image: url(/common/img/top/hospital.jpg);
    background-position: center bottom;
    background-size: cover;
}

.top_entry_container .main_link li a {
    display: flex;
    align-items: center;
    background: #fff;
    height: 100%;
    min-height: 200px;
    padding: 30px 10%;
    border-radius: 20px;
    color: var(--black);
    text-decoration: none;
    position: relative;
}

.top_entry_container .main_link li a .jp {
    font-size: 3rem;
    font-weight: bold;
}

.top_entry_container .main_link li a .en {
    font-size: 1.8rem;
    display: block;
    color: var(--pink);
    margin-top: 5px;
}

.top_entry_container .main_link li a:after {
    content: "\f105";
    font-family: FontAwesome;
    font-size: 2rem;
    color: var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray2);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
}

/*---------------screen and (max-width:959px) - START ---------------*/
@media screen and (max-width:959px) {
    .top_en_title .jp {
        font-size: 3rem;
    }

    .top_main .main_catch{
        min-width: inherit;
    }

    .top_main:before, .top_main:after{
        height: 100px;
    }

}

/*---------------screen and (max-width:959px) - END ---------------*/



/*---------------screen and (max-width:640px) - START ---------------*/
@media screen and (max-width:640px) {

    .top_float_img{
        padding-top: 600px;
        max-width: 400px;
        margin: 0 auto;
        overflow: visible;
    }

    .top_float_img li:nth-child(1) {
        top: 15%;
        left: 5%;
        width: 70%;
    }
    
    .top_float_img li:nth-child(2) {
        top: 25%;
        left: auto;
        right: 0%;
        width: 35%;
    }
    
    .top_float_img li:nth-child(3) {
        bottom: auto;
        top: 45%;
        left: 8%;
        width: 35%;
    }
    
    .top_float_img li:nth-child(4) {
        top: auto;
        bottom: 0;
        right: 0;
        width: 40%;
    }
    
    .top_float_img li:nth-child(5) {
        bottom: 26%;
        right: 13%;
        width: 50%;
    }

    .top_float_img li img{
        width: 100%!important;
    }

    .top_main .main_catch{
        left: 0;
        bottom: 20px;
        padding: 20px;
    }

    .top_main .main_catch span{
        font-size: 2.8rem;
    }

    .top_en_title .jp {
        font-size: 2.8rem;
    }

    .top_welfare_list {
        flex-direction: column;
        border-left: none;
        border-top: 1px solid var(--gray2);
    }

    .top_welfare_list li {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--gray2);
    }

    .top_welfare_list li a .arrow_link {
        margin-top: 20px;
    }

    .top_entry_container .main_link li a {
        min-height: 120px;
        padding: 25px 60px 25px 20px;
    }

    .top_entry_container .main_link li a .jp {
        font-size: 2.4rem;
    }

    .top_main:before, .top_main:after{
        height: 80px;
    }
    .top_main:after{
        width: 300vw;
        left: -130%;
    }


}

/*---------------screen and (max-width:640px) - END ---------------*/