/*
Theme Name:みどり幼稚園 トップページ用CSS
*/
.link a{
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: 1px dotted #333;
    padding: 10px;
}
.link .arrow{
    margin-left: 20px;
}
/*
  mv
=================================================================*/
#mv{
    position: relative;    
}
#mv p{
    position: absolute;
    right: 20px;
    top: 20px;
}
#mv p span{
    background: #fff;
    width: fit-content;
    display: block;
    padding: 0 10px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.6rem;
}
/*
  news
=================================================================*/
#news{
    margin: 50px auto;
}
#news .caption{
    display: flex;
    align-items:flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
}
#news .caption h2{
    width: 53.4%;
    max-width: 401px;
}
#news li{
    margin-bottom: 30px;
}
#news li dt{
    background: #a2deac;
    color: #fff;
    text-align: center;
    width: 20%;
    font-size: 1.2rem;
    line-height: 1.5em;
}
#news li dd{
    line-height: 1em;
    margin-top: 10px;
}
#news li .title{
    font-size: 1.6rem;
    font-weight: bold;
}
/*
  message
=================================================================*/
#message {
    background: url("../images/bg.png") repeat;
    background-size: 1.5% auto;
    margin: 100px 0 50px;
    padding: 30px 0;
    position: relative;
}
#message figure{
    width: 120%;
    position: absolute;
    right:0;
    top:-50px;
}
#message dt{
    margin-bottom: 30px;
}
#message dt span{
    display: block;
    width: fit-content;
    margin: 0 auto;
    background: #fff;
    font-weight: bold;
    font-size: 1.6rem;
    padding: 0 10px;
    margin-bottom: 10px;
}
#message dt .pc_br{
    background: none;
}
#message dd + dd{
    width: 90%;
    margin: 0 auto;
    margin-top: 30px;
}
/*
  bnr
=================================================================*/
#bnr{
    padding: 0 5%;
}
#bnr_area1 dl,#bnr_area2 p{
    margin-bottom: 30px;
}
#bnr dl dt{
    margin-bottom: 20px;
}
#bnr_area1 dl:first-child{
    width: 103%;
}
#bnr_area2 dl .link{
    margin-top: 10px;
}

/*
  responsive
===========================================================================================================*/
@media screen and (min-width: 768px) {
    /*
      news
    =================================================================*/
    #news{
        margin: 50px auto;
    }
    #news .caption{
        justify-content:flex-start;
        margin-bottom: 50px;
    }
    #news .caption h2{
        max-width: 361px;
        margin-right: 50px;
    }
    #news ul{
        display: flex;
        gap:0 4%;
    }
    #news li{
        width: 30.6%;
        margin: 0;
    }
    #news li .title{
        margin-top: 20px;
    }
    /*
      bnr
    =================================================================*/
    #bnr .flex_wrapPC{
        display: flex;
    }
    #bnr{
        padding: 0 5%;
    }
    #bnr_area1{
        gap: 0 3%;
        margin-bottom: 80px;
    }
    #bnr_area1 dl{
        width: 31%;
    }
    #bnr_area1 dl:first-child{
        width: 32%;
        margin-top: 3%;
    }
    #bnr_area1 dl:last-child{
        margin-top: 5%;
    }
    #bnr_area2{
        justify-content: space-between;
    }
    #bnr_area2 p{
        width: 40%;
        max-width: 711px;
    }
    #bnr_area2 dl{
        width: 48%;
    }

}
@media screen and (min-width: 959px) {
    .flex_wrapPC{
        display: flex;
    }
    .link a{
        padding: 15px;
    }
    .link .arrow{
        margin-left: 30px;
    }
/*
  mv
=================================================================*/
    #mv{
        margin-top: -90px;
        position: relative;
        z-index: 0;
    }
    #mv p{
        position: absolute;
        right: 5%;
        top: 15%;
    }
    #mv p span{
        font-size: 2rem;
        padding: 0 20px;
    }

/*
  message
=================================================================*/
    #message {
        background-size: 0.8% auto;
        margin: 200px 0 50px;
        padding: 100px 0;
    }
    #message figure{
        width: 100%;
        right:10%;
        top:-250px;
    }
    #message dt{
        margin-bottom: 100px;
    }
    #message dt span{
        font-size: 1.8rem;
        padding: 0 20px;
        margin-bottom: 10px;
    }
    #message dt .pc_br{
        padding: 0 20px;
        background: #fff;
    }
    #message dt .pc_br span{
        display: inline-block;
        padding: 0;
        margin: 0;
    }
    #message dd + dd{
        max-width: 1200px;
        margin-top: 60px;
        text-align: center;
    }
}
