@charset "utf-8";

/* ===========================================
 * ボートレースとこなめ歴史館
 * ======================================== */
/* *****
共通
*****/
/* 奇数行に色付け */
.sg_story tbody tr:nth-of-type(odd) td,
.sg_story tbody:nth-of-type(odd) tr td {
	background-color: #FFFFFF;
}
/* 偶数行に色付け */
.sg_story tbody tr:nth-of-type(even) td,
.sg_story tbody:nth-of-type(even) tr td {
	background-color: var(--BASE_BACKGROUND03, #e5f5ff);
}

.font_20 {
	font-size: 20px;
}

.main_content {
    padding-bottom: 40px;
}

.flex {
    display: flex;
    justify-content: center;
}

.flexend {
    align-items: flex-end;
}

.flex_start {
    justify-content: flex-start;
}

.flex_between {
    justify-content: space-between;
}

.par-icon_num {
    font-size: 12px;
    width: 20px;
    height: 20px;
    line-height: 20px;
}
.fs_12 {
    font-size: 12px;
}

.fs_16 {
    font-size: 16px;
}

.mg_t27 {
    margin-top: 27px;
}

.gap_22 {
    gap: 22px;
}

.gap_32 {
    gap: 32px;
}

.pd_20 {
    padding: 0px 20px 20px 20px;
}

.pd_r30 {
    padding-right: 30px;
}

.mg_u_10{
    margin-bottom: 10px;
}

.mg_u_48{
    margin-bottom: 48px;
}
 /*-------------------------
 * ページ内CSS
-------------------------*/
.content_top {
    background: #003288;
    width: 100%;
    height: 120px;
    border-radius: 16px 16px 0px 0px;
}

img.history_content_1_img,
img.history_content_3_img {
    position: absolute;
    top: -20px;
    right: 340px;
}

img.history_content_2_img {
    position: absolute;
    top: -55px;
    left: 300px;
}

main #com_content_wrapper .com_content {
    padding: 0;
}

.content_view {
    padding: 40px;
}

p.text_font {
    font-size: 40px;
    color: #FFFFFF;
    text-align: center;
    line-height: 40px;
}

.target_content {
    display: none;
}

.target_content.selected {
    display: block;
}

ul.par-tab02.history_content_tab {
    margin-bottom: 50px;
    border: unset;
    gap: 60px;
}

.c_second_page_title .second_page_title {
    padding-bottom: 20px;
}

/* 切り替えタブ */
.par-tab02 .par-tab_li {
    height: 90px;
    width: 360px;
    border-radius: 16px;
}

.par-tab02.history_content_tab li.par-tab_li {
    border-radius: 10px;
    border: 2px solid #003288;
    background-color: #F8F7F2;
    position: relative;
}

.par-tab02 .par-tab_li a.par-tab_item {
    font-size: 34px;
    color: #003288;
}

.par-tab02 .par-tab_li .par-tab_item .par-tab_item_cell{
   padding-top: 3px; 
}

#maincontainer .par-tab02 .par-tab_li.selected {
    border-radius: 16px;
    background-color: #003288;
}

.par-tab02 .par-tab_li .par-tab_item {
    display: unset;
}

.par-tab02 .par-tab_li.selected .par-tab_item .par-tab_item_cell {
    font-size: 18px;
    height: auto;
}

.par-tab02 .par-tab_li.selected .par-tab_item {
    font-size: 32px;
    color: #FFFFFF;
}

main #com_content_wrapper .com_content {
	background-color: #F8F7F2;
}

.category_history .first_text {
	font-size: 20px;
	text-align: center;
    font-weight: bold;
	margin: 30px 0px 30px 0px;
}

.category_history .flex_div {
	display: flex;
    position: relative;
	justify-content: flex-end;
    margin: 20px 0px 20px 0px;
}

.category_history .flex_div .content_position {
    text-align: end;
    padding: 0px 20px 20px 20px;
    background-color: #FFFFFF;
    border: 1px solid #003288;
    border-radius: 6px;
}

.category_history .oneyear_content_21.flex_div .content_position {
    padding-left: 0px;
}

.category_history .flex_div .content_position .year_content{
    font-size: 40px;
    color: #003288;
}

.category_history .flex_div .content_position .past_content{
    margin-top: 20px;
}

.category_history .flex_div .content_position .past_content:nth-of-type(2) {
    margin-top: 0px;
}

.category_history .flex_div .content_position .past_content .content_past_day{
    font-size: 16px;
    color: #003288;
    font-weight: bold;
}

.category_history .flex_div .content_position .past_content .content_past_day_text{
    font-size: 16px;
    white-space: nowrap;
}

.category_history .flex_div .img_container {
    text-align: start;
}

.category_history .flex_div .img_container img.photo {
    box-shadow: 0px 3px 6px #00000080;
    border-radius: 6px;
}

.category_history .flex_div .img_container img.other_img {
    position: absolute;
}

.category_history .flex_div .content_position .past_content .img_content {
	display: flex;
	gap: 10px;
    justify-content: flex-end;
}

.category_history .flex_div.reverse {
	display: flex;
	justify-content: flex-start;
	flex-direction: row-reverse;
}

.category_history .flex_div.reverse .content_position {
    text-align: start;
    display: inline-block;
    padding: 0px 20px 20px 20px;
    background-color: #FFFFFF;
    border: 1px solid #003288;
    border-radius: 6px;
}

.category_history .flex_div.reverse .img_container {
    text-align: end;    
}

.category_history .flex_div.reverse .content_position .past_content .img_content {
	display: flex;
	gap: 10px;
    justify-content: flex-start;
}

.category_history .img_content p {
	background-color: #003288;
	color: #FFFFFF;
	padding: 2px 6px 2px 6px;
	border-radius: 10px;
}

.category_history .img_container {
    width: 550px;
}
.category_history .text_content_position {
    margin: auto 0;
}

.category_history .text_content_position {
    border-radius: 6px;
    max-width: 530px;
}

.category_history .oneyear_content_21 .text_content_position {
    border-radius: 6px;
    max-width: 555px;
}

.category_history .reverse .text_content_position {
    width: 515.5px;
    margin-right: 34.5px;
    border-radius: 6px;
}

.category_history .center_content {
    display: flex;
    position: relative;
    width: 4px;
    background-color: #003288;
    margin: -30px 33.5px -30px 33.5px;
    align-items: center;
}

span.center_point {
    position: absolute;
    width: 28px;
    height: 28px;
    left: -12px;
    background: #DD0000;
    border-radius: 50%;
}

.\31 983_img05 {
    position: absolute;
    /* margin-top: 335px; */
}

.zoom-wrapper.\31 983_img03 .other_img_2 {
    top: 60px;
}

.zoom-wrapper.\31 983_img05 {
    top: -118px;
}

.category_history .oneyear_content_11.flex_div .img_container {
    display: flex;
    text-align: start;
    flex-wrap: wrap;
    gap: 10px;
    height: 445px;
}

.category_history .oneyear_content_24.flex_div .img_container {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
}

.category_history .oneyear_content_28.flex_div .img_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

/* tokotan位置指定 */
.category_history .flex_div .img_container img.other_img.other_img_1954 {
    right: 75px;
    top: -100px;
}

.category_history .flex_div .img_container img.other_img.other_img_1965 {
    left: 160px;
    top: 10px;
}

.category_history .flex_div .img_container img.other_img.other_img_1975 {
    top: 60px;
    right: 340px;
}

.category_history .flex_div .img_container img.other_img.other_img_1983 {
    left: 120px;
    top: 170px;
}

.category_history .flex_div .img_container img.other_img.other_img_1994 {
    top: -10px;
    right: 100px;
}

.category_history .flex_div .img_container img.other_img.other_img_2001 {
    top: 95px;
    left: 470px;
}
.category_history .flex_div .img_container img.other_img.other_img_2005 {
    right: 100px;
    bottom: 10;
    bottom: -30px;
}

.category_history .flex_div .img_container img.other_img.other_img_2013 {
    right: 100px;
    bottom: -50px;
}

.category_history .flex_div .img_container img.other_img.other_img_2019 {
    right: 120px;
    bottom: 0px;
}

.category_history .flex_div .img_container img.other_img.other_img_2022 {
    right: 320px;
    bottom: 20px;
}

.category_history .flex_div p.other_text {
    width: 360px;
    background: #003288;
    color: #FFFFFF;
    padding: 22px;
    text-align: left;
    border-radius: 10px;
    font-size: 16px;
}

.category_history .flex_div .other_text_2001 p.other_text {
    width: 360px;
    background: #003288;
    color: #FFFFFF;
    padding: 30px;
    margin-left: 45px;
    text-align: left;
    border-radius: 10px;
    font-size: 16px;
}

p.other_text span {
    color: #FF9D00;
}

.other_text_2001::before {
    content: "";
    position: absolute;
    left: 420px;
    top: 150px;
    border: 30px solid transparent;
    border-left: 45px solid #003288;
}

.other_text_2014 p.other_text {
    margin-bottom: 30px;
    margin-left: 30px;
}

img.other_img.other_img_2014 {
    top: 20px;
    left: 460px;
}

.other_text_2014::before {
    content: "";
    position:absolute;
    left: 400px;
    top:60px;
    border: 30px solid transparent;
    border-left: 45px solid #003288;
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;

}

.modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  margin: 0; /* 中央寄せのため余白を消す */

}

.zoom-wrapper{
  position: relative;
  display: inline-block;
}

.other_img_2 {
  position: absolute;
  right: 8px;
  bottom: 8px;
}

.history_content_tab .par-tab_li::before {
    content: "";
    position:absolute;
    left: 160px;
    top: 88px;
    border: 30px solid transparent;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #003288;
}

.history_content_2 .main_content {
    padding: 0px 70px 80px 70px;
}

.sg_story {
    border: 1px solid #D0A001;
    border-radius: 10px;
    overflow: hidden;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-weight: bold;
}

table th {
    border: 1px solid #CE9601;
    text-align: center;
    color: #FFFFFF;
    padding: 15px;
}

table td {
    border: 1px solid #CE9601;
    height: 70px;
    color: #000000;
    padding: 10px;
    align-items: center;
}

table th img{
    padding-right: 10px;
}

tr.sg_story_head {
    width: 100%;
    background: linear-gradient(90deg, #F2CC4E 0%, #CE9601 100%); /* グラデーション */
    font-size: 22px;
}
.story_title {
    vertical-align: middle;
    font-size: 20px;
    line-height: 20px;
}

.story_title span {
    font-size: 14px;
}

.story_day {
    font-size: 16px;
	text-align: center;
    line-height: 70px;
}
.story_name {
    font-size: 28px;
    color: #DD0000;
	text-align: center;
    line-height: 70px;
}


.best_record {
    padding: 0px 50px 50px 50px;
}

.best_content {
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 10px;
}

.best_content2 {
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 10px;
    width: 31%;
}

.gold_gradient {
    position: relative;
    font-size: 28px;
    color: #FFFFFF;
    text-align: center;
    padding: 10px;
    border-radius: 10px 10px 0px 0px;
    background: linear-gradient(90deg, #F2CC4E 0%, #CE9601 100%); /* グラデーション */
}

.silver_gradient {
    font-size: 22px;
    color: #FFFFFF;
    text-align: center;
    padding: 10px;
    border-radius: 10px 10px 0px 0px;
    background: linear-gradient(90deg, #A0A0A0 0%, #626262 100%); /* グラデーション */
}

.gold_gradient img {
    margin-right: 10px;
}
.red_circle {
  width: 67px;          /* 丸のサイズ */
  height: 67px;
  background-color: #DD0000; /* 色 */
  border-radius: 50%;    /* 丸にする */
  
  display: flex;         /* 中央寄せのため */
  justify-content: center;
  align-items: center;

  color: #fff;           /* 文字色 */
  font-size: 19px;       /* 文字サイズ */
  font-weight: bold;

}

.gold_num {
    font-family: 'roboto', "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS PGothic", sans-serif;
    letter-spacing: -0.065em;
    font-size: 83px;
    color: #D0A001;
  transform-origin: center;
  width: auto;
}

.gold_num2 {
    font-family: 'roboto', "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS PGothic", sans-serif;
    letter-spacing: -0.05em;
    font-weight: bold;
    font-size: 94px;
    color: #D0A001;
  transform-origin: center;
  width: auto;
}

.silver_num {
    font-family: 'roboto', "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS PGothic", sans-serif;
    letter-spacing: -0.05em;
    font-weight: bold;
    font-size: 54px;
    color: #7C7C7C;
  transform-origin: center;
  width: auto;
}

.record_unit {
    font-size: 39px;
    color: #000000;
    font-weight: bold;
    margin: 0px 0px 20px 5px;

}

.record_unit2 {
    font-size: 26px;
    color: #000000;
    font-weight: bold;
    margin: 0px 0px 10px 5px;
}

.record_box {
  display: flex;
  align-items: center;
}

.record_box2 {
  display: flex;
  align-items: flex-end;
}

.max_buy_tokotan {
    position: absolute;
    left: 10px;
    bottom: 0px;
    width: 100px;
}

.racer_name {
    font-size: 30px;
    font-weight: bold;
    position: relative;
}

.racer_name img {
    position: absolute;
    right: 10px;
    width: 80px;
}

.first_time_text {
    padding-left: 5px;
}