/* ==========================================================================
   COMPONENTS - テーブル、ボタン、フォーム、その他のコンポーネント
   ========================================================================== */

/* Basic Tables */
table {
    margin: 0 0 2rem 0;
    width: 100%;
}

table tbody tr {
    border-left: 0;
    border-right: 0;
    border-color: #eeeeee;
}

table tbody tr:nth-child(2n + 1) {
    background-color: rgba(220, 220, 220, 0.25);
}

table td {
    padding: 0.3rem 0.7rem;
}

table th {
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.075em;
    line-height: 1.5;
    padding: 0 0.75rem 0.75rem 0.75rem;
    text-align: left;
    text-transform: uppercase;
    color: #212931;
}

table thead {
    border-bottom: solid 2px #eeeeee;
}

/* Custom Table Styles */
.table2 {
    border-collapse: collapse;
    border: none;
    margin-top: 5px;
}

.table2 th {
    border: 1px solid #FFFFFF;
    padding: 5px 5px 7px;
    font-size: 100%;
    font-weight: normal;
    color: #FFF;
    background-color: #757676;
    text-align: center;
}

.table2 td {
    background: #FFF;
    font-weight: normal;
    border: 1px solid #757676;
    padding: 5px 5px 7px;
    font-size: 100%;
    text-align: left;
}

table.table2 td.table2_bb {
    border-bottom: none;
}

table.table2 td.table2_bt {
    border-top: none;
}

/* Schedule Table */
#main table.sch {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 110%;
    border-bottom: 1px solid #757676;
}

#main table.sch th {
    border: none;
    padding: 5px 5px 7px;
    font-size: 100%;
    font-weight: normal;
    color: #FFF;
    border: 1px solid #000;
    background-color: #757676;
    text-align: center;
}

#main table.sch td {
    padding: 5px 12px;
    border: 1px solid #757676;
}

th.middle {
    vertical-align: middle;
}

/* Buttons */
#main .moko {
    -moz-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -webkit-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    -ms-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
    border-style: solid;
    border-color: #333;
    border-width: 4px !important;
    font-family: 'メイリオ', Meiryo, sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.075em;
    line-height: 1;
    padding: 1rem 1.75rem;
    text-transform: none !important;
    visibility: visible;
}

#main .moko:hover {
    border-color: #18bfef !important;
    color: #18bfef !important;
}

/* Responsive Components */
@media screen and (max-width: 980px) {
    table th {
        font-size: 0.9rem;
    }
}

@media (max-width: 800px) {
    .table2 th {
        font-size: 80%;
        border: 1px solid #757676;
        background: #757676;
    }
    
    .table2 td {
        font-size: 80%;
    }
}

@media screen and (max-width: 736px) {
    #main .moko {
        font-size: 1.25rem;
        padding: 1rem 1.4rem;
        border-width: 3px !important;
    }
}

@media screen and (max-width: 580px) {
    #main table.sch {
        font-size: 80%;
    }
    
    #main table.sch th {
        font-size: 80%;
        border: 1px solid #757676;
    }
}