@charset "utf-8";

/* ======================================= IndexElements ======================================= */
/* ------------------------------------------------ cont_index_pattern_01 --------------------------------------------------- */
#pg_index {
    margin: 0 auto 120px;
}

.pattern_01 .cont_header.visual {
    height: 290px;
}

#pg_index .cont_header.visual {
    width: 100%;
    height: 290px;
    background: url(../img/header.png) left center no-repeat;
    background-size: cover;
    z-index: -1;
}

/* ------------------------------------ cont_index ------------------------------------ */
#pg_index .btn_area {
    margin: 10px auto 20px;
}

#pg_index section {
    margin: 0 auto 120px;
}

.pattern_01 .cont_index {
    display: flex;
    justify-content: space-between;
}

.pattern_01 .cont_index li {
    position: relative;
    width: 240px;
    z-index: 0;
    margin: 0 1.81% 0 0;
    text-align: center;
    font-weight: bold;
    height: 253px;
    border-radius: 10px;
    background-color: #fff;
    border: 3px solid #20A27C;

}

.pattern_01 .cont_index li::before {
    content: none;
}

.pattern_01 .cont_index li a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    z-index: 1;
    font-size: 2rem;
    line-height: 1.6;
    display: block;
    text-align: center;
    background-image: url(../img/nav.png);
    background-repeat: repeat;
    background-position: top -15px left -25px;
}

/* hover area control*/
.pattern_01 .cont_index li a img {
    width: auto;
    margin: 0px auto;
    max-width: 100%;
    flex-shrink: 0;
}

.pattern_01 .cont_index li a {
    align-items: center;
}

.pattern_01 .cont_index li:hover {
    /* opacity: 0.7; */
    cursor: pointer;
}

.pattern_01 .cont_index li a::before {
    content: none;
}

.pattern_01 .cont_index li a::after {
    content: none;
}
@media only screen and (max-width: 768px) {
    .pattern_01 .cont_index li {
        background-size: 170% !important;
        background-position: top 110px center !important;
    }
}
.banner_img_1, .banner_img_2, .banner_img_3, .banner_img_4 {
    border-radius: 10px 10px 0 0;
    height: 178px;
    width: 100%;

}
.banner_img_1 {
    background: transparent url(../img/top_banner_1.png) no-repeat;
     background-position: center top;
    background-size: cover;
   
}

.banner_img_2 {
    background: #FFF url(../img/top_banner_2.png) no-repeat;
     background-position: center top;
    background-size: cover;

}

.banner_img_3 {
    background: transparent url(../img/top_banner_3.png) no-repeat;
     background-position:  center top;
    background-size: cover;

}

.banner_img_4 {
    background: #FFF url(../img/top_banner_4.png) no-repeat;
     background-position: center top;
    background-size: cover;

}




.cont_index li div.banner_text .feature {
    background-color: #20A27C;
    border-radius: 4px;
    width: 56px;
    height: 23px;
    margin: 0 auto 10px;
    text-align: center;
    padding: 5px;
    color: #fff;
    font-size: 15px;
    line-height: 1em;
      
}

.cont_index li div.banner_text p {
    font-size: 18px;
    line-height: 1.3em;
    position: relative;
    margin-left: 20px;
}

.cont_index li div.banner_text p::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #fff;
    margin: 0 10px;
}

.cont_index li div.text-1, .cont_index li div.text-2, .cont_index li div.text-3 {
    padding: 26px 0;
}

.cont_index li div.text-4 {
    padding: 14px 0;
}

.cont_index li div.text-1 p::after {
    left: 195px;
    top: 5px;
}
/*
.cont_index li:hover div.text-1 p::after {
    left: 205px;
}

.cont_index li div.text-2 p::after {
    left: 160px;
    top: 5px;
}

.cont_index li:hover div.text-2 p::after {
    left: 170px;
}

.cont_index li div.text-3 p::after {
    left: 195px;
    top: 5px;
}

.cont_index li:hover div.text-3 p::after {
    left: 205px;
}

.cont_index li div.text-4 p::after {
    left: 177px;
    top: 17px;
}

.cont_index li:hover div.text-4 p::after {
    left: 187px;
}*/

.cont_index li div.attention {
    position: absolute;
    content: '';
    top: -40px;
    left: 0;
    display: block;
    background-color: #20A27C;
    color: #fff;
    font-size: 1.4rem;
    border-radius: 5px;
    width: 50px;
    height: 25px;
    line-height: 25px;
    text-align: center;
}

.pattern_01 .cont_index li a:link, .pattern_01 .cont_index li a:visited, .pattern_01 .cont_index li a:active, .pattern_01 .cont_index li a:hover {
    /* color: #fff;
	 */
    text-decoration: none;
}

.pattern_01 .cont_index li a small {
    display: block;
    font-size: 1.6rem;
    margin: 0 0 1em;
}



@media only screen and (max-width: 1100px) {
    /*.cont_index li div.text-1 p::after, .cont_index li:hover div.text-1 p::after, .cont_index li div.text-2 p::after, .cont_index li:hover div.text-2 p::after {
        left: auto;
        margin: 0 0 0 5px;
    }

    .cont_index li div.text-3 p::after, .cont_index li:hover div.text-3 p::after {
        top: 8px;
        left: auto;
        margin: 0 0 0 5px;
    }

    .cont_index li div.text-4 p::after, .cont_index li:hover div.text-4 p::after {
        left: 235px;
        top: 20px;
    }*/
}

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

    #pg_index .cont_header.visual {
        background: url(../img/wall-paper_sm.png) top center no-repeat!important;
        background-size: cover!important;
        height: 290px!important;
    }
    
}
@media only screen and (min-width: 400px) and (max-width: 768px) {

    #pg_index .cont_header.visual {
        background: url(../img/wall-paper_sm.png) center calc(50% - min(6vw, 0px)) no-repeat!important;
        background-size: cover!important;
        height: 390px!important;
    }
    
}

@media only screen and (max-width: 768px) {
    #pg_index section {
        margin: 0 auto 40px;
    }

    .pattern_01 .cont_header.visual {
        margin: 0 0 10px;
    }

    .pattern_01 .cont_header.visual h1 {
        font-size: 4rem;
    }

    .cont_index li div.text-4 p::after, .cont_index li:hover div.text-4 p::after {
        left: 385px;
    }

    .pattern_01.base_wrap {
        width: 80%;
    }

    .pattern_01 .cont_index {
        display: block;
        margin-bottom: 50px;
    }

    .pattern_01 .cont_index li {
        width: 100%;
        height: 500px;
        margin: 0 0 50px;
        text-align: left;
    }

    .cont_index li div.attention {
        top: 11px;
        left: 11px;
    }

    .banner_img_1 {
         background: transparent url(../img/top_banner_sp_1.png);
        background-size: cover;
        background-position: top;

    }

    .banner_img_2 {
       background: #FFF url(../img/top_banner_sp_2.png); 
        background-size: cover;
        background-position: top;

    }

    .banner_img_3 {
        background: transparent url(../img/top_banner_sp_3.png); 
        background-size: cover;
        background-position: center;

    }

    .banner_img_4 {
        background: #FFF url(../img/top_banner_sp_4.png); 
        background-size: cover;
        background-position: top;

    }

    .pattern_01 .cont_index li:nth-child(3) {
        margin: 0 0 50px;
    }

}
/*
@media only screen and (max-width: 650px) {
    .cont_index li div.attention {
        top: 360px;
    }

    .pattern_01 .cont_index li {
        margin: 0 0 40px;
        height: 450px;
    }

    .pattern_01 .cont_index li:nth-child(3) {
        margin: 0 0 40px;
    }

    .banner_img_1, .banner_img_2, .banner_img_3, .banner_img_4 {
        height: 350px;
    }

    .cont_index li div.text-4 p::after, .cont_index li:hover div.text-4 p::after {
        left: 345px;
    }
}*/


/*
@media only screen and (max-width: 550px) {
    .cont_index li div.attention {
        top: 0px;
        left: 0%;
    }

    .pattern_01 .cont_index li {
        height: 253px;
        margin: 0 0 45px;
    }

    .banner_img_1, .banner_img_2, .banner_img_3, .banner_img_4 {
        height: 178px;
    }

    .pattern_01 .cont_index li:nth-child(3) {
        margin: 0 0 40px;
    }

    .cont_index li div.text-4 p::after, .cont_index li:hover div.text-4 p::after {
        left: 285px;
    }

}*/
#pg_index .cont_header.visual {
    height: 290px;
    margin: 0 0 90px;
}


@media only screen and (max-width: 767.8px) {
    .pattern_01 .cont_index {
        margin-bottom: 30px;
    }

    .pattern_01 .cont_index li {
        height: 253px;
        margin: 0 0 30px;
    }
    
    .banner_img_1, .banner_img_2, .banner_img_3, .banner_img_4 {
        height: 178px;
    }

    .cont_index li div.text-4 p::after, .cont_index li:hover div.text-4 p::after {
        left: 213px;
    }

    .pattern_01 .cont_index li:nth-child(3) {
        margin: 0 0 30px;
    }
}