@charset "UTF-8";
body{
    background-color: #fff462;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    width: 100%;
    color: #1a1a1a;
    font-weight: bold;
    margin: 0;
}
p{
    margin: 0 0 5px 0;
}
ul{
    text-decoration: none;
    margin: 0;
    padding-top: 30px;
    padding-inline-start: 30px;
}
li{
    margin-bottom: 8px;
}


/* PageTopボタン */
#page_top{
    width: 60px;
    height: 60px;
    position: fixed;
    right: 20px;
    bottom: 10px;
    z-index: 1000;
}
#page_top a{
    width: 60px;
    height: 60px;
    text-decoration: none;
}
#page_top a::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f0aa';
    font-size: 50px;
    color: #e6afcf;
    opacity: .8;
}
details{
    margin: 10px 0;
    background-color: #f9f9f9;
}
details[open].content {
    animation: fadeIn 2.0s ease-in-out;
}
summary{
    font-size: 14px;
}
details p{
    padding: 10px 0 10px 10px;
}

/* 園だより */
.backHome nav{
    width: 100%;
    text-align: right;
    padding-right: 20px;
    box-sizing: border-box;
}
.tohome{
    text-decoration: none;
}
.tohome::before{
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url(images/kotori2.png) no-repeat;
    background-size: contain;
    margin-bottom:-10px ;
}
.tohome:hover{
    color: #e6afcf;
 }
.endayori{
    width: 70%;
    margin: 50px auto;
    padding-bottom: 50px;
    border: solid 3px #5a2243;
    border-radius: 10px;
    background-color: #f9f9f9;
}
.endayori h2{
    padding: 10px 0;
    margin-bottom: 50px;
    background-color: #e6afcf;
    font-size: 20px;
    text-align: center;
}
.endayori div{
    padding: 0 50px;
}
.endayori p{
    text-align: left;
}
/* 保護者専用ページ */
.p_h{
    background-color: #e6afcf;
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    text-align: center;
}
.p_h h1{
    width: 60%;
    font-size: 30px;
    padding: 10px 0;
}
.p_h nav{
    width: 20%;
    align-self: center;
}
.p_h a:hover{
    color: #f9f9f9;
}
.p_main{
    width: 100%;
}
.p_sec{
    width: 80%;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.p_sec h2{
    width: 50%;
    margin: 10px auto;
    border-bottom: #e6afcf solid 1px;
}

.camera{
    width: 150px;
    line-height: 30px;
    margin: 10px auto;
    background-color: #f9f9f9;
    border-radius: 20px;
}
.p_main i{
    margin-right: 5px;
    color: #e6afcf;
}
.camera:hover{
    transform: scale(1.2);
    cursor: pointer;
}
.p_sec div{
    width: 95%;
    background-color: #f9f9f9;
    border-radius: 20px;
    text-align: left;
    padding: 20px;
}
.p_sec article{
    margin: 20px 0;
}
.p_sec h3{
    margin: 0 0 5px 0;
}
.p_sec ul{
    padding-top: 0;
}
/* Footer */
footer{
    width: 100%;
    height: 20px;
    margin-top: 50px;
}
footer p{
    font-size: 14px;
    text-align: center;
    padding: 5px 0;
}
.footerfix{
    min-height: 100vh; /* コンテンツの高さの最小値＝ブラウザの高さに指定 */
    position: relative;
    padding-bottom: 20px; /* ←フッターの高さ */
    box-sizing: border-box;
}
.footerfix footer{
    text-align: center;
    position: absolute;
    bottom: 0;
}

@media screen and (max-width:674px){
    #page_top{
        right: 0;
        width: 100%;
        text-align: center;
    }
    .endayori{
        width: 80%;
    }
    .endayori div {
        padding: 0 20px;
    }

    .p_h{
        flex-direction: column;
    }
    .p_h h1{
        width: 100%;
        padding: 0;
        margin: 10px 0;
    }
    .p_h nav{
        width: 100%;
        text-align: right;
        padding: 5px;
        box-sizing: border-box;
    }
    .p_sec{
        width: 85%;
    }
    .p_sec h2{
        width: 100%;
    }
    .p_sec div{
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
    }
}