@charset "UTF-8";

html {
    /*	scroll-padding-top: 75px;*/
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 3px 10px 3px 10px;
    /*background-color: #faebd7;*/
    background: url(../images/mini_brush.jpg) repeat;
/*    font-family: serif, fantasy, Elephant;*/
    font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    /*スマホブラウザでフォントサイズが自動調整されるのを防ぐため*/
}

/*header{
    margin: 5px 10px 0 10px;
}*/
header h1 {
    float: left;
    padding: 2px 0 5px 0;
    text-align: center;
    font-size: 0;    /*これを入れないと文字が無くてもロゴの下に隙間ができてしまう*/
}

.flt{
    list-style-type: none;
    float: left;
    margin: 0;
    padding: 0;
}

section h3 {
    margin: 25px 0 0 15px;
}

.cl_both{
    clear: both;
    margin-top: 10px;
    margin-bottom: 10px;
}

.photo {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
    max-width: 1020px;
    /*    margin: auto;*/
    padding: 5px;
}

.img-item {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
    filter: drop-shadow(3px 0 5px rgb(255, 173, 248));
}

.regist{
    margin-left: 50px;
}

table{
    border-collapse: collapse;
}

table td, table th{
    border: 1px solid #808;
    text-align: center;
    vertical-align: middle;
}

.kado{
    border-radius: 10px;
}


/*レスポンシブ対応*/
@media screen and (max-width:680px) {
    body {
        font-size: 87.5%;
        padding: 3px 5px 3px 5px;
    }

    /*ハンバーガーメニューボタン*/
    #gnavi_btn{
        position: fixed;
        top: 6px;
        right: 6px;
        height: 34px;        
        width: 34px;
        background-color: #effcff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #gnavi_btn span,#gnavi_btn span::before,#gnavi_btn span::after{
        content:"";
        display: block;
        position: absolute;
        width: 20px;
        height: 3px;
        background-color: #148cb1;
        transition: all 0.6s ease-in-out;
    }

    #gnavi_btn span::before{
        bottom: 7px;
    }

    #gnavi_btn span::after{
        top: 7px;
    }

    #gnavi_check:checked~#gnavi_btn span{
        background-color: transparent;
    }
    #gnavi_check:checked~#gnavi_btn span::before{
        bottom: 0;
        transform: rotate(45deg);
    }
    #gnavi_check:checked~#gnavi_btn span::after{
        top: 0;
        transform: rotate(-45deg);
    }

    .photo {
        gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(120px, 180px));
    }

    section li {
        margin: 0;
    }

    table {
        margin: 4px 0 4px 10px;
    }

    /* 年、日程 */
    table tr th:first-child,
    table tr td:first-child {
        width: 50px;
    }

    /* 年 */
    table tr th:first-child {
        font-size: 90%;
    }

    /* 開催要項、出場者記録 */
    table tr th.heig1 {
        /*    width: 48px;*/
        width: 40px;
        font-size: 75%;
    }

    /* スタートリスト、写真 */
    table tr th.heig2 {
        width: 55px;
        font-size: 65%;
    }

    /* 大会名 */
    table tr th:nth-child(2),
    table tr td:nth-child(2) {
        width: 275px;
        font-size: 13px;
    }

    /* 日程、リンク */
    table tr td.cent1,
    table tr td.cent2,
    table tr td.cent3 {
        font-size: 75%;
    }

}