/*
Theme Name:たかやしき保育園 トップページ用CSS
*/

/*
  mv
=================================================================*/
#mv{
    margin: -20px 0 0;
}
/*
  news
=================================================================*/
#news{
    margin: 50px auto;
}
#news .caption{
    display: flex;
    align-items:flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
}
#news .caption h2{
    width: 23.2%;
    max-width: 174px;
}
.link a{
    font-weight: bold;
    font-size: 1.2rem;
}
.link a img{
    max-width: 30px;
    margin-left: 10px;
}
#news li{
    margin-bottom: 15px;
}
#news li dl{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
}
#news li dt{
    background: #ffe1ff;
    color: #e11f7f;
    text-align: center;
    width: 20%;
    border-radius: 5px;
    font-size: 1.2rem;
    line-height: 1.5em;
}
#news li dd{
    line-height: 1em;
}
#news li dt+dd{
    width: 25%;
    border-right: 1px solid #333;
}
#news li dd+dd{
    width: 50%;
}
/*
  about
=================================================================*/
#about h2{
    width: 63.6%;
    max-width: 477px;
    margin: 0 auto 30px;
}
#about dl{
    margin: 30px 0;
}
#about dl dt{
    font-weight: bold;
    font-size: 1.8rem;
    line-height: 1.5em;
    margin-bottom: 20px;
}
#about .link{
    margin-top: 20px;
}
/*
  days
=================================================================*/
#days{
    background: #f5efea;
    padding: 50px 0;
}
#days h2{
    width: 44%;
    max-width: 330px;
    margin-bottom: 30px;
}
#days ul{
    width: 80%;
    margin: 0 auto;
}
#days li{
    margin-bottom: 30px;
}
#days li p,#guide li p{
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-top: 10px;
    font-size: 16px;
}
#days li p img,#guide li p img{
    max-width: 15px;
    margin-left: 10px;
}
/*
  guide
=================================================================*/
#guide {
    margin: 50px 0;
    background: url("../images/guide_bg.png") left -20px bottom -50px no-repeat #f5efea;
    background-size: 50% auto;
    padding: 50px 0;

}
#guide .inner{
    display: flex;
    justify-content: space-between;
}
#guide h2{
    width: 17.3%;
    max-width: 130px;
    margin-bottom: 30px;
}
#guide ul{
    width: 80%;
}
#guide li{
    margin-bottom: 30px;
}

/*
  responsive
===========================================================================================================*/

@media screen and (min-width: 959px) {
    /*
      mv
    =================================================================*/
    #mv{
        margin: -100px 0 0;
    }
    .flex_wrapPC{
        display: flex;
    }
    /*
      news
    =================================================================*/
    #news{
        margin: 50px auto;
    }
    #news .flex_wrapPC{
        justify-content: space-between;
    }
    #news .caption{
        display: block;
        margin-bottom: 30px;
        width: 19.6%;
    }
    #news .caption h2{
        width: 174px;
    }
    #news .caption figure{
        width: 70%;
        margin-top: 30px;
    }
    .link{
        margin-top: 50px;
    }
    .link a{
        font-size: 1.6rem;
        display: flex;
        align-items: center;
        margin-left: 15px;
    }
    .link a img{
        max-width: 60px;
        margin-left: 10px;
    }
    #news_list{
        width: 75%;
        margin-top: 10px;
    }
    #news li{
        margin-bottom: 50px;
    }
    #news li dt{
        width: 15%;
    }
    #news li dt+dd{
        width: 13%;
    }
    #news li dd+dd{
        width: 68%;
    }
    /*
      about
    =================================================================*/
    #about h2{
        width: 477px;
        margin: 0 auto 60px;
    }
    #about dl{
        margin: 30px 0;
    }
    #about dl dt{
        font-weight: bold;
        font-size: 1.8rem;
        line-height: 1.8em;
        margin-bottom: 20px;
    }
    #about .link a{
        margin: 30px 0 0 0;
    }
    #about .flex_wrapPC{
        align-items: center;
    }
    #about01{
        background: url("../images/about_bg.png") right top no-repeat;
        background-size: 16.6% auto;
    }
    #about01 figure{
        position: relative;
        left: -5%;
    }
    #about .flex_wrapPC dl{
        width: 30%;
    }
    #about .flex_wrapPC figure{
        width: 65%;
    }
    #about_img{
        width: 71.4%;
        max-width: 857px;
        margin: 0 auto;
    }
    #about02{
        flex-direction: row-reverse;
        position: relative;
        right: -5%;
        justify-content: space-between;
    }
    /*
      days
    =================================================================*/
    #days{
        background-color: #f5efea;
        background-image: url("../images/days_bg01.png"),url("../images/days_bg02.png");
        background-position: top -60px left -20px, bottom 30px right -20px;
        background-size: 35% auto,30% auto;
        background-repeat: no-repeat,no-repeat;
        padding: 100px 0;
    }
    #days .inner{
        width: 80%;
        max-width: 1092px;
    }
    #days h2{
        width: 44%;
        max-width: 330px;
        margin-bottom: 50px;
    }
    #days ul{
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    #days li{
        margin-bottom: 30px;
        width: 30%;
    }
    #days li p,#guide li p{
        display: flex;
        align-items: center;
        font-weight: bold;
        margin-top: 10px;
        font-size: 16px;
    }
    #days li p img,#guide li p img{
        max-width: 15px;
        margin-left: 10px;
    }
    /*
      guide
    =================================================================*/
    #guide {
        max-width: 1200px;
        margin: 100px auto;
        background: url("../images/guide_bg.png") left -30px bottom -70px no-repeat #f5efea;
        background-size: 25% auto;
        padding: 60px;
        border-radius: 60px;
        box-sizing: border-box;
    }
    #guide .inner{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin: 0;
    }
    #guide h2{
        width: 130px;
        max-width: 130px;
        margin:0 20% 0 0;
    }
    #guide ul{
        width: 70%;
        display: flex;
        justify-content: space-between;
    }
    #guide li{
        margin-bottom: 0;
        width: 28%;
    }
}
@media screen and (min-width: 1800px) {
}