@charset "UTF-8";
body{
    background-color: rgb(216, 217, 234);
}
.name {
position: relative;
    color: #333333;
}
header{
    margin-bottom: 20px;
}
/* 切り替えボタン↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */
.list-btn img,
.cal-btn img {
    width: 40px;
}

.list-btn {
    font-weight: bold;
    border-radius: 16px;
    background-color: rgb(89, 145, 206);
    padding: 6px;
    border: 3px solid azure;
    position: absolute;
    left: 50%;
    top: 100px;
    opacity: 0.5;
}

.cal-btn {
    font-weight: bold;
    border-radius: 16px;
    background-color: rgb(89, 145, 206);
    padding: 6px;
    border: 3px solid azure;
    position: absolute;
    left: 30%;
    top: 100px;
    opacity: 0.5;
}

/* ホバー時のオパシティ */
.cal-btn:hover,
.list-btn:hover {
    opacity: 0.8;
}

/* カレンダーがチェックされた状態 */
#cal:checked~.cal-btn {
    opacity: 1;
}

#cal:checked~.cal-btn .cal-btn-label {
    cursor: default;
}
#cal:checked~.gallery .itook{
    display: none;
}
/* リストがチェックされた状態 */
#list:checked~.list-btn .list-btn-label {
    cursor: default;
}

#list:checked~.list-btn {
    opacity: 1;
}
#list:checked~.gallery .itaken{
    display: none;
}
/* 切り替えボタン↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ */
.gallery {
    width: 90% ;
    margin: 20px auto 20px;
}
.gallery h2{
    text-align: center;
    width: 100%;
    font-size: 40px;
}
.gallery  h4{
    text-align: right;
    font-size:20px;
    padding: 2px;
}
.pic-box{
    background-color:rgb(235, 254, 254);
    padding: 30px 30px 0 30px;
    border-radius: 8px;
}
.pic-box img {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 5px;
}
footer{
    position: relative;
    text-align: center;
    color: #333333;
}
@media screen and (min-width:767px) {
    header{
        margin-bottom: 0;
    }
    .gallery {
        margin: 0 10px 0 auto;
        max-width: 900px;
        width: 80% ;
    }
    #g-nav {
        position: fixed;
        
    }
    footer{
        text-align: unset;
    }
    }