@charset "UTF-8";
* {
    margin:0; padding:0;
  }

body {
    /* はやぶさ2リスペクト */
    background: #16212F;
    background-image: radial-gradient(#466A97 3%, transparent 4%), radial-gradient(#466A97 3%, transparent 4%);
    background-size: 15px 15px;
    font-family: 'Nova Mono', sans-serif;
    color: #C3EAFF;
    /*
    background-color: black;
    font-family: 'メイリオ', 'Mairio' ,'Oswald', 'Nova Mono', sans-serif;
    color: black; 
    */
}

.chart {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    margin-top: 10px;
    margin-bottom: 40px;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    z-index: 20;
}
.chart canvas {
    position: absolute;
    top: 0;
    left: 0;
}
.percent {
    display: inline-block;
    line-height: 80px;
    z-index: 2;
}
.label{
    margin-top: 10px;
}


/* ヘッダー */
header{
    padding-top: 20px;
    margin-left: 25px;
    margin-right: 20px;
    height: 50px;
    display: flex;
}
header .header-left{
    width: 35%;
}

header .icon{
    margin-left: 20px;
    margin-right: 10px;
    float: left;
    height: 50px;
}
header .name{
    font-size: small;
}
header .title{
    float: left;
    font-size: x-large;
    font-weight: bold;
}
header .lastdate{
    margin-top: 5px;
    margin-right: 10px;
    float: right;
    text-align: right;
    font-size: medium;
    width: 65%;
}

.top{
    margin-left: 20px auto;
    margin-right: 20px auto;
    margin-top: 10px auto;
    margin-bottom: 10px auto;
    padding: 10px;
    width: 100%;
    max-width: 500px;
    /* border: 2px dashed #333333; */
    text-align: left;
    margin-left: 15px;
}

h2{
    margin: 5px;
    margin-top: 15px;
}
h3{
    margin: 5px;
}
li{
    margin-left: 20px;
}
a {
    color: black;
}
.text{
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 5px;
}
.f-text{
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 10px;
}

.calendar {
    margin: 10px;
}

.calendar iframe {
    width:100%;
    max-width:800px;
}

.box2{
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    border: solid;
    border-color: #909090;
    border-radius: 2px;
    border-width: 3px;
}
.box2{
    padding-bottom: 10px;
}
.box2 a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent:-999px;
    z-index: 2;
}
.box2:hover {
    opacity:1.0;
}
.picture{
    width: 100%;
}

.page-title{
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: medium;
}
.page-dis{
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: small;
}


.parent{
    width: 100%;
    margin: 0 auto;
    max-width: 1300px;
}






/* ページの最上部へ */
.scroll-top {
    position: fixed;
    padding: 10px;
    right: 20px;
    bottom: 20px;
    z-index: 100;
    background-color: #999;
    opacity: .8;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    text-align: center;
    color: white;
    /*user-select: none;
    transform: translateY(200%);
    transition: transform .5s ease;*/
}
.scroll-top:hover {
    cursor: pointer;
}
.scroll-top {
    -webkit-transform: translateY(150%);
    transform: translateY(150%);
    -webkit-transition: -webkit-transform .4s ease;
    transition: -webkit-transform .4s ease;
    transition: transform .4s ease;
    transition: transform .4s ease, -webkit-transform .4s ease;
}
.scroll-top--active {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}



@media only screen and (min-width: 1300px) {
    .flex-box {
        display: flex;
    }
    .box{
        width: 600px;
        margin-bottom: 25px;
        display: flex;
        flex-direction: column;
        /* 上下で中央に配置するならこれ */
        /* justify-content: space-between; */
    }
}



@media only screen and (min-width: 760px) {
    .flex-box2 {
        display: flex;
        padding-left: 15px;
        padding-right: 15px;
    }
}


@media only screen and (max-width: 760px) {
    header{
        padding-top: 10px;
        height: 50px;
        margin-left: 10px;
        margin-right: 1px;
    }

    header .icon{
        margin-left: 5px;
        margin-right: 5px;
        height: 30px;
    }
    header .name{
        font-size: xx-small;
    }
    header .title{
        font-size: large;
        font-weight: bold;
    }
    header .lastdate{
        margin-right: 10px;
        margin-top: 0;
        font-size: small;
    }

    .top{
        width: calc(100vw - 40px);
        font-size: small;
    }

    .text{
        font-size: small;
    }
    .f-text{
        font-size: small;
    }

    .calendar {
        text-align:center;
    }
    .calendar iframe{
        height:400px;
    }



}


@media only screen and (max-width: 598px) {
    .youtube{
        width: calc(100vw - 40px);
        height: calc((100vw - 40px) * 0.5625);
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 40px;
    
    }
    .youtube iframe{
        width: 100%;
        height: 100%;
    }
    .thum{
        width: calc(100vw - 40px);
        height: calc((100vw - 40px) * 0.5625);
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 40px;
    }
}





@media only screen and (max-width: 700px) {
    /*body {
        background-color:white;
    }*/

}


@media (prefers-color-scheme: dark) {
    body {
        background-color: black;
        color: #fff;
    }
    header{
        background-color: #555555;
    }
    .parent{
        background-color: black;
    }
    a {
        color: white;
    }
    .box2{
        background-color: #727070;
    }
}