@charset "UTF-8";

/*---------------------------------------------------

    配色関連

---------------------------------------------------*/

nav.pagination a img,
body.expo header img,
body.expo header p {
    background-color: #8d4595;
}

body.expo header p {
    color: #fcfcfe;
}

body.expo div.section-header nav a {
    border-color: #ce4955 !important;
    background-color: #b3404b;
    color: #fcfcfe;
}

body.expo nav.menu a,
body.expo nav.pagination li:not(.next-page):not(.previous-page) a:link,
body.expo nav.pagination li:not(.next-page):not(.previous-page) a:visited {
    background-color: #545cb4;
    border-color: #606ace !important;
}

body.expo nav.wide-button a {
    background-color: #b3404b;
    border-color: #ce4955 !important;
}

body.expo h2::before {
    border-color: #b3404b !important;
}

body.expo h3::before {
    border-color: #545cb4 !important;
}


td.table-highlight {
    background-color: #faf4f5;
}

body.expo h2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.expo h3 {
    margin-left: 0.455em !important;
    margin-right: 0 !important;
}

/*---------------------------------------------------

    説明書き

---------------------------------------------------*/

.guide {
    background-color: #faf4f5;
    border: solid 1px #b3404b;
    border-radius: 2px;
    display: block;
    margin: 1.8em 1em 0;
    padding: 1.35em 1em !important;
    width: calc(100% - 4em) !important;
}

.guide p {
    font-size: 0.9em;
    margin: 1em 0.5em 0 !important;
}

.guide p:first-child {
    margin-top: 0 !important;
}

.guide h2 {
    font-size: 1.1em;
    font-weight: bold;
    margin: 0 !important;
    padding: 0 0 0 0.45em !important;
}

.guide h2::before,
.guide h2::after {
    content: "" !important;
}

.guide ol {
    font-size: 0.9em;
    margin: 0 1em 0 2em;
    padding: 0;
}

.guide li {
    padding-top: 1em;
}



/*---------------------------------------------------

    その他

---------------------------------------------------*/


body.expo section button,
body.expo section p {
    margin-left: 0;
    margin-right: 0;
}

body.expo section {
    display: block;
    margin: 1.8em 1em 0;
    padding: 0;
    width: calc(100% - 2em);
}

body.expo table.no-spc-sides {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

body.expo nav.section_menu {
    border: solid 1px #545cb4;
    background-color: #f5f5fd;
}

body.expo nav.section-menu {
    border: solid 1px #545cb4;
    background-color: #f5f5fd;
}

iframe.drive {
    border: none;
    margin: 1.8em 0 0;
    height: 10em;
    overflow: hidden;
    width: 100%;
}

.grid-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    list-style: disc;
    padding: 0;
    margin: 1.8em 1em 0 2em;
}

.grid-list li {
    text-decoration: none;
    text-align: left;
    margin: 0;
    line-height: 1.5;
}

/*---------------------------------------------------

    フォーム

---------------------------------------------------*/

body.expo form {
    margin: 1.8em auto 0;
    padding: 0;
}

body.expo select {
    font-size: 0.9em;
    margin: 0.33em 0;
}

body.expo label {
    font-size: 0.9em;
    margin: 0 0 0 1.25em;
    padding: 0;
}

body.expo input,
body.expo button {
    font-size: 0.9em;
    margin: 0 0 0 0.5em;
}


textarea {
    display: block;
    font-size: 0.8em;
    height: 10em;
    margin: 2.25em auto 0.5625em;
    width: 100%;
}

/*---------------------------------------------------

    テーブル

---------------------------------------------------*/



table {
    background-color: #fcfcfe;
    border: 0.094em solid #4b4b4b;
    border-collapse: collapse;
    filter: drop-shadow(1.5px 1.5px 1.5px #bdbdbd);
    font-size: 1em;
    margin: 1.8em auto 0;
    padding: 0;
    table-layout: fixed;
    width: calc(100% - 2em);
}
body.expo table.no-spc-sides {
    width: 100%;
}



table th,
table td {
    border: 0.094em solid #4b4b4b;
    border-collapse: collapse;
    height: 2.2em;
}

table th {
    background-color: #b3404b;
    color: #fcfcfe;
    height: 2em;
}

td.text-center {
    height: 2.2em;
    text-align: center;
}

td.text-right {
    height: 2.2em;
    padding-right: 0.5em;
    text-align: right;
}

th.checkbox,
td.checkbox {
    width: 20%;
}



/* button {
    font-size: 0.8em !important;
    margin: 2.25em 0 0 1.25em;
} */




body.expo p.note {
    margin: 2.25em 0.625em 0.3125em auto;
    text-align: right;
    width: 100%;
}


/*---------------------------------------------------

    st-index

---------------------------------------------------*/

body.st-index main section {margin: 0 !important; padding: 0 !important; width: 100%;}
body.st-index main h2 {margin-right: 0.83em !important; margin-left: 0.83em !important;}
body.st-index main h3 {margin-right: 0.83em !important; margin-left: 1.36em !important;}
body.st-index main p {line-height: 180%; margin: 1.8em 1em 0!important; padding: 0;}
body.st-index main form.term {width: calc(100% - 2em)!important;}
body.st-index main .grid-list { margin: 1.8em 2em 0 3em!important;}
body.st-index main section.guide {margin: 1.8em 1em 0 !important;padding: 1.35em 1em !important;}
body.st-index main iframe.drive {margin: 1.8em 1em 0 !important;width: calc(100% - 2em) !important;}
body.st-index main section.guide h2 {padding: 0 !important;}


body.st-index table thead tr {
    white-space: nowarp;
}

body.st-index table thead tr th:nth-child(1),
body.st-index table tbody tr td:nth-child(1) {
    width: 15%;
}

body.st-index table tbody tr td:nth-child(1) {
    font-weight: bold;
    text-align: center;
    white-space: nowarp;
}

body.st-index table thead tr th:nth-child(3),
body.st-index table tbody tr td:nth-child(3) {
    width: 15%;
}

body.st-index table tbody tr td:nth-child(2),
body.st-index table tbody tr td:nth-child(3) {
    padding-left: 0.5em;
    text-align: left;
    white-space: nowarp;
}

body.st-index table thead tr th:nth-child(4),
body.st-index table tbody tr td:nth-child(4) {
    width: 35%;
}
body.st-index table tbody tr td:nth-child(4) {
    padding-right: 0.5em;
    text-align: right;
    white-space: nowarp;
}

body.st-index table tbody tr:nth-child(even) {
    background-color: #faf4f5;
}

/*---------------------------------------------------

    trifecta_splitter

---------------------------------------------------*/

body.trifecta-splitter th.boat-number {
    width: 6%;
    white-space: nowarp;
    
}

body.trifecta-splitter th.racer-name {
    width: 30%;
    white-space: nowarp;

}

body.trifecta-splitter td.racer-name {
    padding-left: 0.5em;
    text-align: left;
    white-space: nowarp;

}

body.trifecta-splitter td.odds {
    padding-right: 0.5em;
    text-align: right;
}

body.trifecta-splitter table th:nth-child(3) {
    white-space: nowarp;
}

body.trifecta-splitter th.boat-number-1 {
    color: #4b4b4b;
    background-color: #c4c4c4;
}

body.trifecta-splitter th.boat-number-2 {
    color: #fcfcfe;
    background-color: #686868;
}

body.trifecta-splitter th.boat-number-3 {
    color: #fcfcfe;
    background-color: #db3644;
}

body.trifecta-splitter th.boat-number-4 {
    color: #fcfcfe;
    background-color: #297bb4;
}

body.trifecta-splitter th.boat-number-5 {
    color: #4b4b4b;
    background-color: #e9c02b;
}

body.trifecta-splitter th.boat-number-6 {
    color: #fcfcfe;
    background-color: #41834b;
}



/*---------------------------------------------------

    stadium_specialists

---------------------------------------------------*/

body.stadium_specialists main section {margin: 0 !important; padding: 0 !important; width: 100%;}
body.stadium_specialists main h2 {margin-right: 0.83em !important; margin-left: 0.83em !important;}
body.stadium_specialists main h3 {margin-right: 0.83em !important; margin-left: 1.36em !important;}
body.stadium_specialists main p {line-height: 180%; margin: 1.8em 1em 0!important; padding: 0;}
body.stadium_specialists main form.term {width: calc(100% - 2em)!important;}
body.stadium_specialists main .grid-list { margin: 1.8em 2em 0 3em!important;}
body.stadium_specialists main section.guide {margin: 1.8em 1em 0 !important;padding: 1.35em 1em !important;}
body.stadium_specialists main iframe.drive {margin: 1.8em 1em 0 !important;width: calc(100% - 2em) !important;}
body.stadium_specialists main section.guide h2 {padding: 0 !important;}


body.stadium_specialists table thead tr {
    white-space: nowarp;
}

body.stadium_specialists table thead tr th:nth-child(1),
body.stadium_specialists table tbody tr td:nth-child(1) {
    width: 15%;
}

body.stadium_specialists table tbody tr td:nth-child(1) {
    font-weight: bold;
    text-align: center;
    white-space: nowarp;
}

body.stadium_specialists table thead tr th:nth-child(3),
body.stadium_specialists table tbody tr td:nth-child(3) {
    width: 15%;
}

body.stadium_specialists table tbody tr td:nth-child(2),
body.stadium_specialists table tbody tr td:nth-child(3) {
    padding-left: 0.5em;
    text-align: left;
    white-space: nowarp;
}

body.stadium_specialists table thead tr th:nth-child(4),
body.stadium_specialists table tbody tr td:nth-child(4) {
    width: 35%;
}
body.stadium_specialists table tbody tr td:nth-child(4) {
    padding-right: 0.5em;
    text-align: right;
    white-space: nowarp;
}

body.stadium_specialists table tbody tr:nth-child(even) {
    background-color: #faf4f5;
}