/*css fadeIn Up*/
/*=================================================*/
@keyframes fadeInUp {
    from {
        transform: translate3d(0, 100px, 0);
        -webkit-transform: translate3d(0, 100px, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0, 100px, 0);
        -webkit-transform: translate3d(0, 100px, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

#oneday img {
    max-width: 100%;
}

#oneday .animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both
}

#oneday .animatedFadeInUp {
    opacity: 0;
}

#oneday .fadeInUp {
    opacity: 0;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
}

#oneday {
    position: relative;
    overflow: hidden;
}

#oneday .pc_br{
    display: none;
}


/*main-banner*/
/*===============================================*/

#oneday .main-banner {
    position: relative;
    padding-left: 12px;
}

#oneday .main-banner .image_wrap{
    padding-left: 12px;
    margin-bottom: 15px;
}

#oneday .main-banner .image_wrap .main-img {
    display: block;
    width: 100% !important;
}

#oneday .main-banner .heading{

}


/*content oneday*/
/*===================================*/

#oneday .oneday-content{
    padding-top: 50px;
    padding-bottom: 75px;
}

#oneday .oneday-content .inner{
    padding: 0px 12px;
    margin: auto;
    max-width: 500px;
}

#oneday .item-oneday .box-title{
    margin-bottom: 20px;
}

#oneday .item-oneday{
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

#oneday .item-oneday .box-title .txt{
    display: flex;
    border: 1px solid #EC1C24;
    font-size: 14px;
    line-height: 23px;
    color: #EC1C24;
    font-weight: 700;
    width: 100px;
    height: 30px;
    background: #fff;
    justify-content: center;
    align-items: center;
    margin: auto;
}

#oneday .item-oneday .text-content{
    box-shadow: 0 3px 6px rgba(0,0,0,.16);
    background: #fff;
    margin-right: 14.5%;
    padding: 19px 25px 13px 20px;
    position: relative;
    z-index: 1;
    margin-bottom: -10px;
    min-height: 153px;
}

#oneday .item-oneday .text-content .ttl{
    font-size: 13px;
    line-height: 21px;
    color: #221815;
    font-weight: 700;
    position: relative;
    margin-bottom: 19px;
}

#oneday .item-oneday .text-content .ttl:after{
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    background: #EC1C24;
    bottom: -5px;
    left: 0px;
}

#oneday .item-oneday .text-content .text{
    font-size: 13px;
    line-height: 21px;
    color: #221815;
    font-weight: 400;
}

#oneday .item-oneday .img-content{
    margin-left: 14.5%;
}

#oneday .item-oneday .img-content img{
    width: 100% !important;
    display: block;
}

#oneday .item-oneday:nth-child(4) .img-content img{
    border: 1px solid rgba(112,112,112,.1);
}

#oneday .item-oneday .content{
    position: relative;
}

#oneday .item-oneday .content:after{
    content: "";
    position: absolute;
    width: 85%;
    height: 56%;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    background: #F0F0F0;
    z-index: -1;
}

#oneday .item-oneday:nth-child(3) .content:after{
    height: 62%;
}

#oneday .list-oneday{
    position: relative;
}

#oneday .list-oneday:after{
    content: "";
    position: absolute;
    width: 3px;
    height: calc(100% + 55px);
    background: #EC1C24;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

#oneday .link-page{
    overflow: hidden;
    position: relative;
    z-index: 1;
}

#oneday .link-page .text-note{
    display: block;
    width: 100%;
    max-width: 300px;
    margin: auto;
    background: #EC1C24;
    font-size: 14px;
    line-height: 23px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 4px 0px;
}




@media (min-width: 768px) {

    #oneday .sp_br{
        display: none;
    }

    #oneday .main-banner {
        position: relative;
        padding-left: 2%;
    }

    #oneday .banner-inner{
        position: relative;
    }

    #oneday .main-banner .image_wrap {
        padding-left: 100px;
        margin-bottom: 0px;
        max-width: 1700px;
        margin-right: 0px;
        margin-left: auto;
    }

    #oneday .main-banner .heading {
        position: absolute;
        left: 0px;
        bottom: 11%;
        z-index: 1;
    }

    #oneday .main-banner .heading .t1{
        display: inline-block;
    }

    #oneday .oneday-content .inner {
        padding: 0px 15px;
        max-width: 800px;
    }

    #oneday .main-banner .heading img{
        max-width: 55%;
    }


    /*oneday-content*/
    /*=============================*/

    #oneday .oneday-content {
        padding-top: 101px;
        padding-bottom: 150px;
    }

    #oneday .item-oneday .box-title .txt {
        border: 2px solid #EC1C24;
        font-size: 16px;
        line-height: 32px;
        width: 160px;
        height: 40px;
    }

    #oneday .item-oneday .content{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    #oneday .item-oneday .box-title {
        margin-bottom: 48px;
    }

    #oneday .item-oneday .text-content {
        margin-right: 0px;
        padding: 20px;
        position: relative;
        z-index: 1;
        margin-bottom: 0px;
        width: 45.5%;
        min-height: 250px;
        display: flex;
        align-items: center;
    }

    #oneday .item-oneday .img-content {
        width: calc(54.5% + 72px);
        margin-left: -72px;
    }

    #oneday .item-oneday .text-content .ttl {
        font-size: 16px;
        line-height: 28px;
        margin-bottom: 15px;
    }

    #oneday .item-oneday .text-content .text {
        font-size: 14px;
        line-height: 23px;
    }

    #oneday .item-oneday .text-content .ttl:after {
        content: "";
        position: absolute;
        width: 20px;
        height: 2px;
        background: #EC1C24;
        bottom: -4px;
        left: 0px;
    }

    #oneday .item-oneday {
        margin-bottom: 111px;
        position: relative;
        z-index: 1;
    }

    #oneday .item-oneday:last-child{
        margin-bottom: 0px;
    }

    #oneday .item-oneday .content:after {
        width: 37.6%;
        height: 120px;
        left: 29.3%;
        top: unset;
        bottom: -30px;
        transform: translateX(-50%);
    }

    #oneday .list-oneday:after{
        height: calc(100% + 100px);
    }

    #oneday .item-oneday:nth-child(n+4) .text-content{
        padding-right: 52px;
    }

    #oneday .list-oneday {
        margin-bottom: 82px;
    }

    #oneday .link-page .text-note {
        display: block;
        width: 100%;
        max-width: 390px;
        margin: auto;
        background: #EC1C24;
        font-size: 16px;
        line-height: 32px;
        color: #fff;
        font-weight: 700;
        text-align: center;
        padding: 9px 0px;
    }







}



@media (min-width: 960px) {

    #oneday .main-banner .heading img{
        max-width: 61%;
    }

    #oneday .oneday-content .inner{
        max-width: 900px;
    }

    #oneday .item-oneday .text-content .text {
        font-size: 15px;
        line-height: 26px;
    }

    #oneday .item-oneday .text-content .ttl {
        font-size: 18px;
        line-height: 32px;
        margin-bottom: 19px;
    }

    #oneday .item-oneday .text-content {
        padding: 20px 40px 30px 30px;
        min-height: 270px;
    }

    #oneday .item-oneday .box-title .txt,
    #oneday .link-page .text-note{
        font-size: 20px;
    }

	#oneday .main-banner .image_wrap {
	    max-width: 100%;
	    width: 93%;
        padding-left: 70px;
	}

    #oneday .main-banner {
        position: relative;
        padding-left: 2.5%;
    }
    

}


@media (min-width: 1280px) {

    #oneday .oneday-content .inner{
        max-width: 1000px;
    }

    #oneday .main-banner .heading img {
        max-width: 100%;
    }

    #oneday .main-banner {
        position: relative;
        padding-left: 4.6%;
    }

    #oneday .main-banner .image_wrap {
        padding-left: 100px;
    }

    #oneday .item-oneday .text-content {
        padding: 20px 40px 30px 30px;
        min-height: 306px;
    }

}


