body {
    background-color: #f0f0f0;
    margin: 35px 7px;
    padding: 10px 0px;
    font-size: 14px;
    color: #666;
}

* {
    box-sizing: border-box;
}


.header {
/*    background-color: #007acc; */
    background-color: #cc0000;
    color: #fff;
    width: 100%;
    padding: 8px;
    position: fixed;
    top: 0;
    left: 0;
    height: 40px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .16);
}

:target:before {
    content:"";
    display:block;
    height:40px;/* ヘッダの高さ = 50px */
    margin:-40px 0 0;/* ヘッダの高さ = 50px */
 }

 .container {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    text-align: center;
}

h2 {
    font-size: large;
    background-color: #007acc;
    color: #fff;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
}

.game {
    text-decoration: none;
    
    /* margin-top:-40px;
    padding-top:40px;
    position: relative;
    top:-20px; */
}

.date {
    margin: 30px 10px;
    font-size: small;
}

.comment {
    margin: 0;
    font-size: small;
    color: red;
}

.game_select {
    font-size: xx-large;
    padding: 20px;
    margin: 10px 10px 20px 0px;
}

.large_btn {
    display: inline-block;
    font-size: x-large;
    padding: 10px 15px;
    margin: 20px 15px 20px;
    text-decoration: none;
    color: #666;
    background-color: #fff;
    border: solid 2px #007acc;
    border-radius: 3px;
    transition: .4s;
}

.large_btn:hover {
    background: #007acc;
    color: white;
    /*下に動く*/
}

.small_btn {
    display: inline-block;
    font-size: large;
    padding: 5px 5px;
    margin: 5px;
    border-radius: 5px;
    text-decoration: none;
    color: #666;
    background-color: #fff;
    border: solid 2px #007acc;
    border-radius: 3px;
    transition: .4s;
}

.small_btn:hover {
    background: #007acc;
    color: white;
    /*下に動く*/
}

.smaller_btn {
    display: inline-block;
    font-size: large;
    padding: 2px 4px;
    margin: 2px 0;
    border-radius: 5px;
    text-decoration: none;
    color: #666;
    background-color: #fff;
    border: solid 2px #007acc;
    border-radius: 3px;
    transition: .4s;
}

.smaller_btn:hover {
    background: #007acc;
    color: white;
    /*下に動く*/
}

.pear {
    display: inline-block;
}

.player {
    font-size: x-large;
    margin: 0;
    padding: 20px 5px;
    width: 85px;
}

/* shcedule用 */
.table {
    /* font-size: small; */
    background-color: #007acc;
    color: #fff;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
}

.add_list{
    font-size: large;
    padding: 5px 5px;
    text-align: center;

}
.attendance_select {
    font-size: x-large;
    padding: 10px;
    text-align: center;
    margin: 5px;
}

/* player用 */

.input_form {
    margin: 10px;
    padding: 5px 10px;
    font-size: large;
}

.check {
    max-width: 250px;
    margin: 5px auto;
    padding: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .3);
    text-align: center;
}

:disabled {
    background-color: #eee;
    color: #666;
    /* cursor: not-allowed; */
}

.rank {
    width: 40px;
    text-align: right;
    display: inline-block;
}

/* result用 */

.result_head {
    /* font-size: 90%; */
    background-color: #007acc;
    color: #fff;
    width: 100%;
    padding: 0;
    margin: 0;
}

.result_item {
    font-size: large;
    padding: 2px 0;
}

.result_item_excluded {
    font-size: large;
    padding: 2px 0;
    color: rgba(124, 124, 124, 0.5);
}

.seq {
    letter-spacing: -3px;
    width: 12px;
    text-align: right;
    display: inline-block;
}

.name {
    letter-spacing: -2px;
    width: 48px;
    text-align: left;
    display: inline-block;
}

.num {
    letter-spacing: -3px;
    width: 33px;
    text-align: right;
    display: inline-block;
}

.rate {
    letter-spacing: -3px;
    width: 31px;
    text-align: right;
    display: inline-block;
}

.sep {
    width: 0;
    text-align: right;
    display: inline-block;
}

/* メッセージ用 */

.messages {
    max-width: 300px;
    margin: 5px auto;
    padding: 5px;
}

.error {
    color: #fff;
    background-color: rgba(255, 0, 0, 0.589);
}

.success {
    color: #fff;
    background-color: rgba(0, 0, 255, 0.486);
}

/* アカウント管理用 */

.sign {
    margin: 5px;
    display: inline-block;
}

/* records 期間指定用 */

/* .period_ul {
    padding: 0;
    position: relative;
    display: inline-block;
} */

.period_li {
    color: #2d8fdd;
    border-left: solid 6px #2d8fdd;
    /*左側の線*/
    background: #f1f8ff;
    /*背景色*/
    margin-top: 5px;
    margin-bottom: 5px;
    /*下のバーとの余白*/
    line-height: 1.0;
    padding: 5px;
    /* list-style-type: none!important; */
    /*ポチ消す*/
    display: inline-block;
}

.period_li_select {
    color: #2d8fdd;
    border-left: solid 6px #2d8fdd;
    /*左側の線*/
    background: #2d8fdd;
    /*背景色*/
    margin-top: 5px;
    margin-bottom: 5px;
    /*下のバーとの余白*/
    line-height: 1.0;
    padding: 5px;
    /* list-style-type: none!important; */
    /*ポチ消す*/
    display: inline-block;
}

.period_href {
    text-decoration: none;
}

.period_href_select {
    text-decoration: none;
    color: #fff;
}

/* 期間選択用 */

fieldset {
    border: none;
    padding: 0;
    margin: 0;
    text-align: center;
    /* display: inline-block; */
}

.radio-inline__input {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

.radio-inline__label {
    display: inline-block;
    padding: 7px 3px 7px;
    margin: 2px 0 2px;
    /* border-radius: 3px; */
    transition: all .2s;
}

.radio-inline__input:checked+.radio-inline__label {
    background: #007acc;
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, .7);
}

.radio-inline__input:focus+.radio-inline__label {
    outline-color: #007acc;
    outline-offset: -2px;
    outline-style: auto;
    outline-width: 5px;
}

.input_date {
    width: 120px;
    height: 35px;
    border: 1px inset #007acc;
}

.check_delete {
    width: 30px;
    text-align: left;
    display: inline-block;
}



/* ハンバーガーメニュー用 */

.box {
    background-color: #eee;
    height: 500px;
}

.global-nav {
    position: fixed;
    right: -320px;
    /* これで隠れる */
    top: 0;
    width: 300px;
    /* スマホに収まるくらい */
    height: 100vh;
    padding-top: 40px;
    background-color: #fff;
    transition: all .6s;
    z-index: 200;
    overflow-y: auto;
    /* メニューが多くなったらスクロールできるように */
}

.hamburger {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    /* クリックしやすいようにちゃんと幅を指定する */
    height: 40px;
    /* クリックしやすいようにちゃんと高さを指定する */
    cursor: pointer;
    z-index: 300;
}

.global-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.global-nav__item {
    text-align: center;
    padding: 0 14px;
}

.global-nav__item a {
    display: block;
    text-align: left;
    padding: 8px 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #111;
}

.global-nav__item a:hover {
    background-color: #eee;
}

.hamburger__line {
    position: absolute;
    left: 11px;
    width: 18px;
    height: 2px;
    background-color: #bbb;
    transition: all .6s;
}

.hamburger__line--1 {
    top: 14px;
}

.hamburger__line--2 {
    top: 20px;
}

.hamburger__line--3 {
    top: 26px;
}

.black-bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: all .6s;
    cursor: pointer;
}

/* 表示された時用のCSS */

.nav-open .global-nav {
    right: 0;
}

.nav-open .black-bg {
    opacity: .8;
    visibility: visible;
}

.nav-open .hamburger__line--1 {
    transform: rotate(45deg);
    top: 20px;
}

.nav-open .hamburger__line--2 {
    width: 0;
    left: 50%;
}

.nav-open .hamburger__line--3 {
    transform: rotate(-45deg);
    top: 20px;
}
