

/****** TOP ******/

#top{
    margin-top: -20px;
}

@media screen and (min-width:320px) { 
    /*　画面サイズが320pxからはここを読み込む　*/

/*--webp対応ブラウザの場合--*/
.webp .title_bg{ 
    background: url("../img/top_SP.webp")  no-repeat ;
}
/*--webp非対応ブラウザの場合--*/
.no-webp .title_bg { 
    background: url("../img/top_SP.png")  no-repeat ;
}

#top .title_bg{
        background-size: 100%;
        background-attachment: fixed;
        padding-bottom: 20px;
        background-position: 50% 100px; 
    }
}

@media screen and (min-width:768px) {
    /*　画面サイズが768pxはここを読み込む　*/

.webp .title_bg{ 
    background: url("../img/top.webp")  ;
}
/*--webp非対応ブラウザの場合--*/
.no-webp .title_bg { 
    background: url("../img/top.png")  ;
}

    #top .title_bg{
        background-size: 1600px;
        background-attachment: fixed;
        background-position: top center;
        padding-bottom: 50px;
    }
}

@media screen and (min-width:1200px) {
    /*　画面サイズが768pxはここを読み込む　*/

.webp .title_bg{ 
    background: url("../img/top.webp")  ;
}
/*--webp非対応ブラウザの場合--*/
.no-webp .title_bg { 
    background: url("../img/top.png")  ;
}

    #top .title_bg{
        background-size: 1600px;
        background-attachment: fixed;
        background-position: top center;
        padding-bottom: 50px;
    }
}






@media screen and (min-width:320px) { 
    /*　画面サイズが480pxからはここを読み込む　*/

     #top h1{
        text-indent:100%;
        white-space:nowrap;
        overflow:hidden;
        font-size: 1em;
        margin: 0 auto 70% auto;
     }    
        #top .day{
            font-size: 1em;
            font-weight: 800;
            margin: 0 auto 20px auto;
            text-align: center;
        }
}

@media screen and (min-width:768px) {
    /*　画面サイズが768pxはここを読み込む　*/

 #top h1{
    text-indent:100%;
    white-space:nowrap;
    overflow:hidden;
    margin: 0 auto 500px auto;

 }

    #top .day{
        font-size: 1.2em;
        font-weight: 800;
        margin: 0 auto 50px auto;
        text-align: center;
        }
}




#top .top_info{
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-flow: row wrap;
    width: 60%;
    justify-content: center;
    margin: 0px auto;
}


/*******　TOPのボタン　*******/

.btn_overview{
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
    overflow: hidden;
    /*ボタンの形状*/
    text-decoration: none;
    display: inline-block;
    padding: 20px 30px;
    border-radius: 50px;
    margin: 5px;
    text-align: center;
    width: 200px;
    outline: none;
    background: transparent linear-gradient(111deg, #449ED4 0%, #BA5CCB 51%, #DC4B8A 100%) 0% 0% no-repeat padding-box;
    /*アニメーションの指定*/   
    transition: ease .2s;
    box-shadow: 0px 3px 6px #00000080;
}

/*ボタン内spanの形状*/
.btn_overview span {
    position: relative;
    z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
    color:#fff;
}

.btn_overview:hover span{
    color:#fff;
}

/*== 背景が流れる（左から右） */
.bgleft:before {
    content: '';
    /*絶対配置で位置を指定*/
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /*色や形状*/
    background:#333;/*背景色*/
    width: 100%;
    height: 100%;
    background: transparent linear-gradient(111deg, #FCF25A 0%, #E67840 51%, #DC4B8A 100%) 0% 0% no-repeat padding-box;
    /*アニメーション*/
    transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 1);
    transform-origin: right top;
}

/*hoverした際の形状*/
.bgleft:hover:before{
    transform-origin:left top;
    transform:scale(1, 1);
}


@media screen and (min-width:768px) {
    /*　画面サイズが768pxはここを読み込む　*/
.btn_overview{
    padding: 30px 30px;
}
}



#top .contents-box{
    background: #F2F2F2 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 10px #00000080;
    border-radius: 30px;
    padding: 20px;
    opacity: 1;
    display: block;
    color: #29262b;
    line-height: 2em;
}



@media screen and (min-width:320px) { 
    /*　画面サイズが480pxからはここを読み込む　*/
    #top .top-news{
        margin-top: 50px;
        width: 80%;
        border-radius: 30px;
        margin: 10px auto;
        font-size: 0.8em;
    }

    #top .top-news p{
    }

    #top .top-news span{
        font-weight: 800;
        display: block;
    }

    #top .top-bnr{
        border-radius: 30px;
        margin: 20px auto;
        text-align: center;
        width: 80%;
    }

    #top .top-bnr img{
        width: 90%;

}


#top .concept_bg{
    background-image: url("../img/bg_white.jpg") ;
    background-size: 100%;
    min-height: 800px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 50px 10%;
} 



#top .top-concept h2{
    font-weight: 800;
    font-size: 2em;
}

#top .top_link {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding-bottom: 100px;
    text-align: center;
    flex-flow: row wrap;
    width: 70%;
    justify-content: center;
    padding: 50px;
}



#top .top_link li {
    list-style: none;
    text-align: center;
    padding: 10px;
}

#top .top_link img{
    width: 250px;

}


@media screen and (min-width:768px) {
    /*　画面サイズが768pxはここを読み込む　*/

#top .concept_bg{
    background-image: url("../img/bg_white.jpg") ;
    background-size: 100%;
    min-height: 800px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 100px 20%;
} 


#top .top-concept{
    margin: 0px auto50px auto;
    text-align: center;
    line-height: 2.5em;
    padding: 50px auto;
}

#top .contents-box{
    background: #F2F2F2 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 10px #00000080;
    padding: 20px;
    opacity: 1;
    display: block;
    color: #29262b;
    line-height: 2em;
}

#top .top-news{
    width: 55%;
    border-radius: 0px 30px 30px 0px;
    margin: 30px 0 50px 0 ;
}

#top .top-news p{
    margin: 0 0 0 auto;
    width: 500px;
}

#top .top-news span{
    font-weight: 800;
}


#top .top_link img{
    width: 400px;
}
}


#top .top-bnr{
    width: 80%;
    text-align: center;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 20px auto;
    align-items: flex-end;
    line-height: 0em;
}


@media screen and (min-width:1000px) { 
    /*　画面サイズが1000px以上はここを読み込む　*/
    #top .top-bnr{
        width: 940px;
    }

}

#top .top-bnr img{
    width: 300px;
    margin: 5px;
}

#top .top-bnr a:hover img{
  transform: scale(1.1);
  transition-duration: 0.5s;
}



