@charset "UTF-8";
/***************************
****************************
CSSの初期化
****************************
***************************/

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    /* 16px x 0.625 = 10px(=1rem) */
}

body {
    width: 100%;
    color: #2d2d2d;
    font-size: 1.6em;
    font-family: "Noto Sans JP";
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
}

p {
    margin-bottom: 1em;
}

ul {
    list-style: none;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

form label {
    cursor: pointer;
}

a {
    color: #0361c9;
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    color: #0361c9;
}

a img {
    border: none;
}

.cf:after {
    display: block;
    clear: both;
    content: "";
}

button {
    -webkit-appearance: none;
}

/* スマホ用 */
/* @media screen and (max-width: 559px) {
    .header_box {
        justify-content: center;
    }
} */

/* PC/タブレット用 */
/* @media screen and (min-width: 560px) {
    .header_right {
        margin-left: auto;
        margin-right: 20px;
    }
} */


/* スマホ用 */
@media screen and (max-width: 559px) {
    .header_box {
        justify-content: center;
    }

    #header_main_logo {
        display: none;
    }

    p.item01 {
        font-size: 1.6rem;
    }

    .search_box {
        margin: 4px 0 0 0;
        text-align: center;
    }

    #container {
        margin: 0 auto;
        padding-bottom: 60px;
        width: 100%;
        background-color: #fafafa;
    }

    .race-title {
        position: absolute;
        bottom: 0;
        left: 0;
        overflow: hidden;
        padding: 0 0 15px 7px;
        max-width: 720px;
        color: #2d2d2d;
        font-weight: bold;
        font-size: 2.4rem;
        line-height: 1em;
    }

    span.race-date {
        font-size: 15px;
    }

    #main {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }

    #qrcode img {
        margin: 20px auto;
        padding: 20px 20px;
        width: 80%;
    }

    table.searchname_table {
        margin: 0 auto;
        width: 95%;
        border: none;
        border-collapse: collapse;
        text-align: center;
        font-size: 0.8rem;
    }

    table.searchname_table th {
        border: none;
        border-bottom: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 1.5rem;
    }

    table.searchname_table tr:nth-child(2n + 1) {
        background: #f1f1f1;
    }

    table.searchname_table td {
        padding: 7px 7px;
        font-size: 1.4rem;
    }

    table.searchname_table td.td_race {
        font-size: 1rem;
    }

    .race_name {
        margin: 25px 0;
        font-weight: bold;
        font-size: large;
    }

    table.race_table {
        margin: 10px auto 30px auto;
        width: 95%;
        border: none;
        border-collapse: collapse;
        text-align: center;
    }

    table.race_table thead th {
        padding-top: 15px;
        border: none;
        border-bottom: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 12px;
    }

    table.race_table tr:nth-child(2n + 1) {
        background: #f1f1f1;
    }

    table.race_table td {
        padding: 7px 4px;
        font-size: 14px;
    }

    table.race_table td.name {
        font-size: 1.2rem;
        text-align: left;
        padding-left: 3px;
        /* 長い名前に3点リーダー表示 */
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        /* 氏名を全表示する場合下記を消す */
        max-width: 180px;
    }

    /* 2022年5月6日追加 */
    .no {
        color: #474545;
        font-size: 11px;
        text-align: left;
    }

    .section {
        font-size: 12px;
    }

    .change_box {
        font-size: 10.5px;
    }

    .change_section {
        font-size: 11px;
        max-width: 130px;
    }

    table.laptime_table {
        margin: 10px auto 30px auto;
        width: 100%;
        border: none;
        border-collapse: collapse;
        text-align: center;
    }

    table.laptime_table thead th {
        padding-top: 15px;
        border: none;
        border-bottom: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 13px;
    }

    table.laptime_table tr:nth-child(2n + 1) {
        background: #f1f1f1;
    }

    table.laptime_table td {
        padding: 7px 6px;
        font-size: 14px;
    }

    table.laptime_table td.name {
        font-size: 12px;
    }

    table.laptime_table td.section {
        font-size: 13px;
    }

    table.player_table {
        margin: 0;
        justify-content: center;
        width: 100%;
    }

    table.player_table td.item_title {
        font-size: 1.5rem;
        width: 40%;
        text-align: right;
        padding: 3px 1pc 3px 1px;
    }

    table.player_table td.item_text {
        font-size: 1.9rem;
        font-weight: bold;
        width: 50%;
        text-align: left;
        padding: 5px;
    }

    table.player_table td span.item_subtext {
        font-size: small;
        padding-left: 8px;
    }

    table.table_race_status {
        width: 100%;
        border: none;
        border-collapse: collapse;
        text-align: center;
    }

    table.table_race_status thead th {
        padding: 15px 5px 0 5px;
        border: none;
        border-bottom: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 12px;
    }

    table.table_race_status tfoot td {
        padding: 0 5px 0 5px;
        border: none;
        border-top: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 14px;
    }

    table.table_race_status tr:nth-child(2n + 1) {
        background: #f1f1f1;
    }

    table.table_race_status td {
        padding: 7px 6px;
        font-size: 14px;
    }

    table.table_race_status td.race_name {
        font-size: 10px;
    }
}

/* タブレット用 */
@media screen and (min-width: 560px) {
    .header_right {
        margin-left: auto;
        margin-right: 20px;
    }

    #header_main_logo {
        display: inline-block;
        margin: 0 0 0 30px;
    }

    p.item01 {
        font-size: 1.6rem;
    }

    /* .search_box {
        float: right;
        margin: 4px 30px 0 0;
    } */

    #container {
        margin: 0 auto;
        padding-bottom: 100px;
        width: 100%;
        background-color: #fafafa;
    }

    .race-title {
        position: absolute;
        bottom: 0;
        left: 0;
        margin: 0 auto;
        padding: 0 0 15px 10px;
        max-width: 720px;
        width: 90%;
        color: #2d2d2d;
        font-weight: bold;
        font-size: 2.7rem;
        line-height: 1em;
    }

    span.race-date {
        font-size: 20px;
    }

    #main {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }

    #qrcode img {
        margin: 20px auto;
        padding: 20px 0;
    }

    table.searchname_table {
        margin: 0 auto;
        width: 95%;
        border: none;
        border-collapse: collapse;
        text-align: center;
        font-size: 15pt;
    }

    table.searchname_table th {
        border: none;
        border-bottom: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 18px;
    }

    table.searchname_table tr:nth-child(2n + 1) {
        background: #f1f1f1;
    }

    table.searchname_table td {
        padding: 10px 10px;
        font-size: 17px;
    }

    .race_name {
        margin: 25px 0;
        font-weight: bold;
        font-size: 20px;
    }

    table.race_table {
        margin: 10px auto 30px auto;
        width: 95%;
        border: none;
        border-collapse: collapse;
        text-align: center;
    }

    table.race_table thead th {
        padding-top: 15px;
        border: none;
        border-bottom: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 18px;
    }

    table.race_table tr:nth-child(2n + 1) {
        background: #f1f1f1;
    }

    table.race_table td {
        padding: 7px 7px;
        font-size: 19px;
    }

    table.race_table td.name {
        font-size: 17px;
        text-align: left;
        padding-left: 30px;
    }

    /* 2022年5月6日追加 */
    .no {
        color: #474545;
        font-size: 17px;
        text-align: left;
    }

    table.laptime_table {
        margin: 10px auto 30px auto;
        width: 100%;
        border: none;
        border-collapse: collapse;
        text-align: center;
    }

    table.laptime_table thead th {
        padding-top: 15px;
        border: none;
        border-bottom: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 18px;
    }

    table.laptime_table tr:nth-child(2n + 1) {
        background: #f1f1f1;
    }

    table.laptime_table td {
        padding: 10px 9px;
        font-size: 19px;
    }

    table.laptime_table td.name {
        font-size: 17px;
    }

    table.laptime_table td.section {
        font-size: 18px;
    }

    table.player_table {
        margin: 0;
        justify-content: center;
        width: 100%;
    }

    table.player_table td.item_title {
        font-size: 1.5rem;
        width: 50%;
        text-align: right;
        padding: 5px;
    }

    table.player_table td.item_text {
        font-size: 1.9rem;
        font-weight: bold;
        width: 50%;
        text-align: left;
        padding: 5px;
    }

    table.player_table td span.item_subtext {
        font-size: small;
        padding-left: 10px;
    }

    table.table_race_status {
        width: 100%;
        border: none;
        border-collapse: collapse;
        text-align: center;
    }

    table.table_race_status thead th {
        padding: 15px 5px 0 5px;
        border: none;
        border-bottom: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 12px;
    }

    table.table_race_status tfoot td {
        padding: 0 5px 0 5px;
        border: none;
        border-top: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 14px;
    }

    table.table_race_status tr:nth-child(2n + 1) {
        background: #f1f1f1;
    }

    table.table_race_status td {
        padding: 7px 6px;
        font-size: 14px;
    }

    table.table_race_status td.race_name {
        font-size: 10px;
    }
}

/* PC用 */
@media screen and (min-width: 960px) {
    .header_right {
        margin-left: auto;
        margin-right: 20px;
    }

    #header_main_logo {
        display: inline-block;
        margin: 0 0 0 30px;
    }

    p.item01 {
        font-size: 1.9rem;
    }

    .search_box {
        float: right;
        margin: 4px 30px 0 0;
    }

    #container {
        margin: 0 auto;
        padding-bottom: 60px;
        width: 100%;
        background-color: #fafafa;
    }

    .race-title {
        position: absolute;
        bottom: 0;
        left: 80px;
        margin: 0 auto;
        padding: 0 0 15px 5px;
        max-width: 720px;
        width: 100%;
        color: #2d2d2d;
        font-weight: bold;
        font-size: 2.7rem;
        line-height: 1em;
    }

    span.race-date {
        font-size: 20px;
    }

    #main {
        margin: 0 auto;
        width: 999px;
        text-align: center;
    }

    #qrcode img {
        margin: 20px auto;
        padding: 20px 0;
    }

    table.searchname_table {
        margin: 0 auto;
        padding: 0;
        width: 90%;
        border: none;
        border-collapse: collapse;
        text-align: center;
        font-size: 23px;
    }

    table.searchname_table th {
        border: none;
        border-bottom: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 24px;
    }

    table.searchname_table tr:nth-child(2n + 1) {
        background: #f1f1f1;
    }

    .race_name {
        margin: 30px 0;
        font-weight: bold;
        font-size: 25px;
    }

    table.race_table {
        margin: 10px auto 30px auto;
        width: 95%;
        border: none;
        border-collapse: collapse;
        text-align: center;
    }

    table.race_table thead th {
        padding-top: 15px;
        border: none;
        border-bottom: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 22px;
    }

    /* table.race_table tr:nth-child(2n + 1) {
        background: #f1f1f1;
    } */

    table.race_table td {
        padding: 7px 7px;
        font-size: 23px;
    }

    table.race_table td.name {
        font-size: 21px;
        text-align: left;
        padding-left: 30px;
    }

    /* 2022年5月6日追加 */
    .no {
        color: #474545;
        font-size: 17px;
        text-align: left;
    }

    table.laptime_table {
        margin: 10px auto 30px auto;
        width: 100%;
        border: none;
        border-collapse: collapse;
        text-align: center;
    }

    table.laptime_table thead th {
        padding-top: 15px;
        border: none;
        border-bottom: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 18px;
    }

    table.laptime_table tr:nth-child(2n + 1) {
        background: #f1f1f1;
    }

    table.laptime_table td {
        padding: 10px 9px;
        font-size: 19px;
    }

    table.laptime_table td.name {
        font-size: 17px;
    }

    table.laptime_table td.section {
        font-size: 18px;
    }

    table.player_table {
        margin: 0;
        justify-content: center;
        width: 100%;
    }

    table.player_table td.item_title {
        font-size: 1.8rem;
        width: 50%;
        text-align: right;
        padding: 10px;
    }

    table.player_table td.item_text {
        font-size: 2.2rem;
        font-weight: bold;
        width: 50%;
        text-align: left;
        padding: 5px;
    }

    table.player_table td span.item_subtext {
        font-size: 1.5rem;
        padding-left: 10px;
    }

    table.table_race_status {
        width: 100%;
        border: none;
        border-collapse: collapse;
        text-align: center;
    }

    table.table_race_status thead th {
        padding: 15px 5px 0 5px;
        border: none;
        border-bottom: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 19px;
    }

    table.table_race_status tfoot td {
        padding: 0 5px 0 5px;
        border: none;
        border-top: solid 2px silver;
        background: #ffffff;
        color: #303030;
        font-size: 17px;
    }

    table.table_race_status tr:nth-child(2n + 1) {
        background: #f1f1f1;
    }

    table.table_race_status td {
        padding: 7px 6px;
        font-size: 17px;
    }

    table.table_race_status td.race_name {
        font-size: 15px;
    }
}

/***************************
****************************
index.php
****************************
***************************/

.flex {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.rogo-box {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-height: 300px;
    height: 300px;
    /* background: url(https://timesync.jp/puray/ott/211219/images/top.jpg) center / cover !important;
    background: url(https://timesync.jp/puray/ott/211219/images/top.jpg) center / cover !important;
    background: url(https://timesync.jp/puray/ott/211219/images/top.jpg) center / cover !important; */
}

.footer_box {
    width: 100%;
    display: flex;
    display: -ms-flexbox;
    /* IE10 */
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    /* IE10 */
    margin: 10px auto;
}

.qrcode_box {
    margin: 10px auto;
}

.btn_qrcode {
    position: relative;
    top: 0;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 230px;
    height: 60px;
    border: none;
    border-radius: 0.5em;
    background-color: #dfe5ef;
    box-shadow: 0 6px #a4a4a4;
    color: #343434;
    text-align: center;
    text-decoration: none;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s box-shadow, 0.2s top, 0.4s background;
}

.btn_qrcode:hover {
    top: 1px;
    box-shadow: 0 5px #a4a4a4;
}

.btn_qrcode:active {
    top: 6px;
    background-color: #dfe5ef;
    box-shadow: 0 0 #a4a4a4;
}

.staff_box {
    margin: 10px auto;
}

.btn_staff {
    position: relative;
    top: 0;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 230px;
    height: 60px;
    border: none;
    border-radius: 0.5em;
    background-color: #dfe5ef;
    box-shadow: 0 6px #a4a4a4;
    box-shadow: 0 6px #a4a4a4;
    color: #343434;
    text-align: center;
    text-decoration: none;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s box-shadow, 0.2s top, 0.4s background;
}

.btn_staff:hover {
    top: 1px;
    box-shadow: 0 5px #a4a4a4;
}

.btn_staff:active {
    top: 6px;
    background-color: #dfe5ef;
    box-shadow: 0 0 #a4a4a4;
}

/***************************
****************************
searchname.php
****************************
***************************/

#search_hit_box {
    position: relative;
    margin: 20px auto;
    padding: 10px 10px;
    width: 85%;
    border: solid #0099ff;
    border-radius: 10px;
    background-color: #eafdff;
}

.faild {
    margin: 0 auto;
    max-width: 1000px;
    width: 90%;
    text-align: left;
}

ul.faild_item {
    position: relative;
    padding: 0.5em 1em 0.5em 2.3em;
    border: solid 2px #2d2d2d;
    border-radius: 5px;
}

ul.faild_item li {
    padding: 0.5em 0;
    list-style-type: none;
    line-height: 1.5;
}

.faild_text {
    position: relative;
    margin: 20px auto;
    padding: 10px 10px;
    width: 90%;
    color: #696969;
    text-align: left;
    font-size: 14px;
}

/*トップページタブ切り替え*/
.tabs {
    margin: 0 auto;
    padding-bottom: 50px;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.tab_item {
    display: block;
    float: left;
    padding-top: 5px;
    /* width: calc(100% / 3); */
    background-color: #d9d9d9;
    color: #565656;
    text-align: center;
    font-weight: bold;
    font-size: 1.6rem;
    line-height: 40px;
    transition: all 0.2s ease;
}

.tab_item:hover {
    opacity: 0.75;
}

input[name="tab_item"] {
    display: none;
}

.tab_content {
    display: none;
    clear: both;
    overflow: hidden;
    padding: 20px 20px 0;
}

.tab_content_staff {
    display: none;
    clear: both;
    overflow: hidden;
}

#race:checked~#race_content,
#cate1:checked~#cate1_content,
#cate2:checked~#cate2_content {
    display: block;
}

.tab_content_position {
    display: none;
    clear: both;
    overflow: hidden;
}


/***************************
****************************
race.php
****************************
***************************/

.race_name_underline {
    padding: 1px;
}

/*自動更新トグル*/
.checkbox {
    margin: 5px 15px 0 auto;
    max-width: 110px;
    width: 100%;
}

label.auto_renew {
    position: relative;
    display: block;
    box-sizing: border-box;
    padding: 1px;
    width: 100%;
    height: 30px;
    border-radius: 30px;
    background-color: #ebebeb;
}

label.auto_renew::after {
    display: inline-block;
    box-sizing: border-box;
    padding: 5px 10px 0;
    width: 100%;
    color: #a8a8a8;
    content: "手動更新";
    text-align: left;
    font-size: 1.3rem;
    line-height: 7px;
}

label.auto_renew>span {
    position: absolute;
    top: 5px;
    right: 6px;
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffffff;
    text-align: center;
    letter-spacing: normal;
    line-height: 50px;
    cursor: pointer;
    /* transition: all 0.5s ease; */
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked+label {
    background-color: #0379d7;
}

input[type="checkbox"]:checked+label::after {
    padding-right: 10px;
    color: #ffffff;
    content: "自動更新中";
    text-align: right;
    line-height: 7px;
}

input[type="checkbox"]:checked+label>span {
    right: 85px;
}

/*最下部へのスクロール*/
.scroll_button_btm a {
    position: fixed;
    right: 5%;
    bottom: 5%;
    padding: 7px;
    max-width: 110px;
    width: 100%;
    border: none;
    border-radius: 0.3em;
    background-color: #b3b7bf;
    color: #343434;
    text-decoration: none;
    font-size: 1.3rem;
    opacity: 0.7;
}

.small_icon{
    font-size: 70%;
    padding-left: 2px;
}

.small_time{
    font-size: 70%;
}

/***************************
****************************
lap.php
****************************
***************************/

.lap_card_box {
    position: relative;
    margin: 25px auto 0 auto;
    padding: 0 0 40px 0;
    min-height: 100px;
    width: 93%;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.15) 0 1px 2px 0;
    border-radius: 10px;
}

.lap_card_box_omo {
    position: relative;
    margin: 25px auto 0 auto;
    padding: 0 0 40px 0;
    min-height: 100px;
    width: 93%;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.15) 0 1px 2px 0;
    border-radius: 10px;
}


.player_name {
    padding: 0 4px 10px 4px;
    font-weight: bold;
    font-size: 2.4rem;
}

.player_no {
    font-weight: bold;
    font-size: 2.6rem;
    color: #ffffff;
    margin-bottom: 5px;
    border-radius: 10px 10px 0 0;
    padding: 5px 0;
}

.player_race {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.line01 {
    border-bottom-style: solid;
    border-bottom-width: thin;
    border-bottom-color: #cccccc;
}

.space_box {
    height: 40px;
}

.lap_lists{
    padding-top: 15px;
}

/*グラフの部分*/
.chart-box {
    height: 60vh;
    padding-top: 20px;
}

.chart-box .time-box {
    position: absolute;
    top: -30px;
    left: 0;
    width: 95%;
    text-align: right;
}

.chart-box .caption {
    padding: 0 3px 0 0;
    color: #cccccc;
    font-size: 1.8rem;
}

/*順位の上下矢印*/
.fa-gray:before {
    margin: 0 0 0 13px;
    color: #b6b6b6;
    opacity: 0;
}

.fa-red:before {
    margin: 0 0 0 13px;
    color: #ff5959;
}

.fa-bule:before {
    margin: 0 0 0 13px;
    color: #0099ff;
}

/*電子完走証部分*/
.finisher_box {
    margin: 0 auto;
    padding: 25px 0;
}

.finisher_box img {
    /* サイズ変更に伴い調整 */
    /* max-height: 400px; */
    /* max-width: 280px; */
    height: auto;
    width: 80%;
}

.finisher_box_omo img {
    /* サイズ変更に伴い調整 */
    /* max-height: 400px; */
    /* max-width: 280px; */
    height: auto;
    width: 80%;
}

.btn_certificate {
    margin: 20px auto;
    width: 100%;
    padding-bottom: 20px;
}

.btn_certificate a {
    color: #191919;
}

.btn_certificate_pdf {
    position: relative;
    float: left;
    margin-left: 10%;
    max-width: 110px;
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 0.5em;
    background-color: #dfe5ef;
    box-shadow: 0 3px #a4a4a4;
    color: #343434;
    text-align: center;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1;
    transition: 0.2s box-shadow, 0.2s top, 0.4s background;
}

.btn_certificate_pdf:hover {
    top: 1px;
    box-shadow: 0 3px #a4a4a4;
}

.btn_certificate_pdf:active {
    top: 4px;
    background-color: #dfe5ef;
    box-shadow: 0 0 #a4a4a4;
}

.btn_certificate_jpeg {
    position: relative;
    float: right;
    margin-right: 10%;
    max-width: 110px;
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 0.5em;
    background-color: #dfe5ef;
    box-shadow: 0 3px #a4a4a4;
    color: #343434;
    text-align: center;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1;
    transition: 0.2s box-shadow, 0.2s top, 0.4s background;
}

.btn_certificate_jpeg:hover {
    top: 1px;
    box-shadow: 0 3px #a4a4a4;
}

.btn_certificate_jpeg:active {
    top: 4px;
    background-color: #dfe5ef;
    box-shadow: 0 0 #a4a4a4;
}

.btn_certificate_session_destroy {
    position: relative;
    float: right;
    margin-right: 10%;
    max-width: 110px;
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 0.5em;
    background-color: #dfe5ef;
    box-shadow: 0 3px #a4a4a4;
    color: #343434;
    text-align: center;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1;
    transition: 0.2s box-shadow, 0.2s top, 0.4s background;
}

.btn_certificate_session_destroy:hover {
    top: 1px;
    box-shadow: 0 3px #a4a4a4;
}

.btn_certificate_session_destroy:active {
    top: 4px;
    background-color: #dfe5ef;
    box-shadow: 0 0 #a4a4a4;
}

.hr1 {
  border-top: 1px dashed #ccc;
  margin: 20px 0;
}

.add_image_box{
    width: 95%;
    margin: 0 auto;
}

.add_image_title{
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.add_image_file{
    display: flex;
    justify-content:center;
}

.file {
	position: relative;
	height: 50px;
    flex-basis: auto;
	cursor: pointer;
    /* overflow: hidden; */
    /* border-radius:0.5em 0px 0px 0.5em; */
}

.file-input {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 10;
	width: 100%;
	height: 100%;
	font-size: 315px;
	opacity: 0;
	cursor: pointer;
}

.file-text {
	float: left;
	width: 180px;
	height: 48px;
	line-height: 48px;
	border: 1px solid #DFE5EF;
	padding: 0 10px;
    cursor: pointer;
}

.file-button {
	float: left;
	width: 80px;
	height: 50px;
	line-height: 50px;
	background-color:#DFE5EF;
	color: #191919;
	text-align: center;
	font-size: 13px;
    border-radius:0.5em 0px 0px 0.5em;
   	cursor: pointer;
}

.file-del-icon {
	width: 40px;
	height: 50px;
	line-height: 50px;
	background-color:#DFE5EF;
	color: #191919;
	text-align: center;
	font-size: 13px;
    border-radius:0px 0.5em 0.5em 0px;
    /* flex-basis: 50px; */
}

/* 読み込み中 */
#loading {
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.8;
    z-index: 9999;
}

/* 読み込み中画像 */
#loading .loadingMsg {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-top: 140px;
    z-index: 9999;
    font-size: large;
}


/*video.php*/
.video_box {
    width: 100%;
}

.video_notes {
    padding: 10px 0 5px 40px;
    color: #262626;
    text-align: left;
}

ul.video_detail {
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 50px;
    color: #777777;
    list-style-type: square;
    text-align: left;
    font-size: 1rem;
}

ul.video_detail li {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;
}

/*SNSボタン*/
.sns_box {
    width: 95%;
    text-align: right;
}

a.facebook_button {
    color: #ffffff;
}

.facebook_button {
    display: inline-block;
    margin: 0 5px;
    padding-top: 7px;
    text-align: center;
    width: 60px;
    height: 25px;
    border: none;
    border-radius: 0.5em;
    background-color: #385691;
    box-shadow: 0 3px #213256;
    font-size: 1.8rem;
    line-height: 1;
    transition: 0.2s box-shadow, 0.2s top, 0.4s background;
}

.facebook_button:hover {
    top: 1px;
    box-shadow: 0 3px #213256;
}

.facebook_button:active {
    top: 4px;
    background-color: #385691;
    box-shadow: 0 0 #213256;
}

a.twitter_button {
    color: #ffffff;
}

.twitter_button {
    display: inline-block;
    margin: 0 5px;
    padding-top: 7px;
    text-align: center;
    width: 60px;
    height: 25px;
    border: none;
    border-radius: 0.5em;
    background-color: #64a8dc;
    box-shadow: 0 3px #184a70;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    transition: 0.2s box-shadow, 0.2s top, 0.4s background;
}

.twitter_button:hover {
    top: 1px;
    box-shadow: 0 3px #184a70;
}

.twitter_button:active {
    top: 4px;
    background-color: #64a8dc;
    box-shadow: 0 0 #184a70;
}

a.line_button {
    color: #ffffff;
}

.line_button {
    display: inline-block;
    margin: 0 5px;
    padding-top: 7px;
    max-width: 60px;
    text-align: center;
    width: 100%;
    height: 25px;
    border: none;
    border-radius: 0.5em;
    background-color: #34af35;
    box-shadow: 0 3px #1a551a;
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    transition: 0.2s box-shadow, 0.2s top, 0.4s background;
}

.line_button:hover {
    top: 1px;
    box-shadow: 0 3px #1a551a;
}

.line_button:active {
    top: 4px;
    background-color: #34af35;
    box-shadow: 0 0 #1a551a;
}

/*common*/
.race-title a {
    color: #2d2d2d;
}

.disposal_top_box {
    /* margin: 20px 0 80px 0; */
    margin-top: 20px;
    justify-content: space-around;
}

.disposal_bottom_box {
    /* margin: 20px 0 80px 0; */
    justify-content: space-around;
}

.btn_icon {
    color: #191919;
    position: relative;
    /* float: left; */
    /* margin-left: 10%; */
    /* padding-top: 12px; */
    max-width: 100px;
    width: 100%;
    height: 42px;
    border-radius: 0.5em;
    background-color: #dfe5ef;
    box-shadow: 0 3px #a4a4a4;
    font-size: 1.4rem;
    line-height: 1;
    transition: 0.2s box-shadow, 0.2s top, 0.4s background;
}

.btn_icon:hover {
    top: 1px;
    box-shadow: 0 3px #a4a4a4;
}

.btn_icon:active {
    top: 4px;
    background-color: #dfe5ef;
    box-shadow: 0 0 #a4a4a4;
}

.btn_icon a {
    display: block;
    padding-top: 12px;
    height: 30px;
    width: 100%;
    max-width: 100px;
}

a.text_black {
    color: #191919;
}


/* .disposal_bottom_box {
    margin: 50px 0 100px 0;
} */


/* .return {
    position: relative;
    float: left;
    margin-left: 10%;
    padding-top: 12px;
    max-width: 100px;
    width: 100%;
    height: 30px;
    border-radius: 0.5em;
    background-color: #dfe5ef;
    box-shadow: 0 3px #a4a4a4;
    font-size: 1.4rem;
    line-height: 1;
    transition: 0.2s box-shadow, 0.2s top, 0.4s background;
}

.return:hover {
    top: 1px;
    box-shadow: 0 3px #a4a4a4;
}

.return:active {
    top: 4px;
    background-color: #dfe5ef;
    box-shadow: 0 0 #a4a4a4;
} */

/* a.renew {
    color: #191919;
}

.renew {
    position: relative;
    float: right;
    margin-right: 10%;
    padding-top: 12px;
    max-width: 100px;
    width: 100%;
    height: 30px;
    border-radius: 0.5em;
    background-color: #dfe5ef;
    box-shadow: 0 3px #a4a4a4;
    font-size: 1.4rem;
    line-height: 1;
    transition: 0.2s box-shadow, 0.2s top, 0.4s background;
}

.renew:hover {
    top: 1px;
    box-shadow: 0 3px #a4a4a4;
}

.renew:active {
    top: 4px;
    background-color: #dfe5ef;
    box-shadow: 0 0 #a4a4a4;
} */

.icon_space_left {
    margin-left: 10px;
}

.icon_space_right {
    margin-right: 10px;
}

.unsettled_text {
    position: relative;
    margin: 20px auto;
    padding: 10px 10px;
    width: 90%;
    color: #696969;
    text-align: left;
    font-size: 14px;
}

.card_box {
    position: relative;
    margin-top: 30px;
    padding: 10px 0 60px 0;
    min-height: 300px;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.15) 0 1px 2px 0;
}

.card_box_mini {
    position: relative;
    margin-top: 30px;
    padding: 10px 0 60px 0;
    min-height: 100px;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.15) 0 1px 2px 0;
}

/*header部分*/

header {
    position: relative;
    z-index: 2;
    padding: 5px 0;
    height: 47px;
    box-shadow: rgba(136, 136, 136, 0.5) 0 2px 3px;
}

button.search {
    display: inline-block;
    width: 80px;
    height: 37px;
    border: none;
    border-bottom-style: ridge;
    border-radius: 0 5px 5px 0;
    /*検索ボタンの角を丸める*/
    background-color: #dfe5ef;
    color: #343434;
    text-align: center;
    text-decoration: none;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.2s box-shadow, 0.2s top, 0.4s background;
}

button:hover {
    background-color: #c0c0c0;
}

#name {
    position: relative;
    padding: 0.5px 0;
    width: 200px;
    height: 34.5px;
    border: #ffffff;
    -webkit-border-top-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    border-top-left-radius: 3px;
    -webkit-border-top-right-radius: 0;
    -moz-border-radius-topright: 0;
    border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    -moz-border-radius-bottomright: 0;
    border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-left-radius: 3px;
    text-indent: 1rem;
    font-size: 2rem;
    line-height: 1.2em;
}

input[name="name"]:focus {
    outline: none;
    background-color: #eafdff;
    box-shadow: none;
}

/*footer部分*/

footer {
    text-align: center;
}

.in_error_mark {
    font-size: x-small;
    color: red;
}





/*駅伝用に開発部分*/
span.top_kukan {
    border-bottom: medium solid #ff00ff;
    animation: borderFlashing 1s ease-in-out infinite alternate;
}

@keyframes borderFlashing {
    0% {
        border-bottom: medium solid #ff00ff;
    }

    100% {
        border-bottom: medium solid transparent;
    }
}

.ekiden_table {
    margin: auto;
    width: 80%;
    border-collapse: collapse;
    border: 1px solid #333;
}

@media screen and (max-width: 559px) {
    .ekiden_table {
        margin: auto;
        width: 95%;
    }
}

.ekiden_table tr:nth-child(2n + 1) {
    background: #f1f1f1;
}

.ekiden_table tr:nth-child(2n) {
    background: #fff;
}

#detail_table>tbody>tr:nth-of-type(4n + 1),
#detail_table>tbody>tr:nth-of-type(4n + 2) {
    background: #f1f1f1;
}

#detail_table>tbody>tr:nth-of-type(4n + 3),
#detail_table>tbody>tr:nth-of-type(4n + 4) {
    background: #fff;
}

#detail_table .hidden_row {
    display: none;
    margin: auto;
}
