@font-face{
	font-family: "line-font";
	src: url("../font/LINESeedJP_OTF_Rg.woff");
	font-weight: 400;
}

@font-face{
	font-family: "line-font";
	src:url("../font/LINESeedJP_OTF_Bd.woff");
	font-weight: 700;
}

@font-face{
	font-family: "line-font";
	src:url("../font/LINESeedJP_OTF_Eb.woff");
	font-weight: 900;
}

@font-face{
    font-family: "ff-good-headline-web-pro-ext", sans-serif;
    font-weight: 700;
    font-style: normal;
}


html{
	scroll-behavior: smooth;
    font-size: 10px;
}

body{
    background-color: #000;
    background-attachment: fixed;
    background-image: url("../images/bg.jpg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    font-family: "line-font";
    font-size:1.6rem;

}
    

a:hover{
    opacity: 0.8;
}

#root{
    width: 100%;
    /*background-color: #000;*/
}

#page{
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

#header{
    
}

#header-inner{
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

#header-logo{
    
}

#main_container{
    margin: -100px 0px 0px;
}

#main_inner{
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    justify-content: center;
}

#race_table{
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    justify-content: center;
    color: #fff;
    align-items: center;
    z-index: 10;
}

#race_table_title{
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

#race_table_date{
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
}

#race_table_race{
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}



#race_table_body{
    font-size: 1.4rem;
    font-weight: 400;
    background-color: #fff;
    padding: 1rem;
    color: #000;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    
}

#race_table_body span{
    font-size: 1.2rem;
    font-weight: 400;
    color: #000;
}   


#yosou_container{
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    justify-content: center;
    color: #fff;
    align-items: center;
}

.yosou_box,
.yosou_betting{
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    justify-content: center;
    color: #000;
    background-color: #fff;
    border-radius: 0.6rem;
    align-items: center;
    text-align: center;
}

.author_name{
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    /* width: 80%; */
    padding: 2rem;
}

.description{
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    
    color: #000;
    background-color: #fff;
    border-radius: 0.6rem;
}

.description_title,
.betting_title{
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    background-color: crimson;
    text-align: center;
    width: 100%;
    padding:1rem;
    border-radius: 3rem;
}

.description_body{
    font-size: 1.6rem;
    font-weight: 400;
    color: #000;
    padding: 0rem 2rem;
    text-align: justify;
    line-height: 2.8rem;
}   

.betting_body{
    font-size: 1.6rem;
    font-weight: 400;
    color: #000;
    /* padding: 0rem 2rem; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}



.betting_box{
    display: flex;
    flex-direction: row;
    gap: 0rem;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: 700;
    /* width: 200px; */
    line-height: 1rem;
    padding: 0.5rem 1rem;
}

.betting_box1{
    grid-column: 1;
    grid-row: 1;
}

.betting_box2{
    grid-column: 1;
    grid-row: 2;
}

.betting_box3{
    grid-column: 1;
    grid-row: 3;
}

.betting_box4{
    grid-column: 1;
    grid-row: 4;
}

.betting_box5{
    grid-column: 2;
    grid-row: 1;
}

.betting_box6{
    grid-column: 2;
    grid-row: 2;
}

.betting_box7{
    grid-column: 2;
    grid-row: 3;
}

.betting_box8{
    grid-column: 2;
    grid-row: 4;
}

.betting_boat{

    border-radius: 5rem;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid #FFF;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}


.waku{
    color: #fff;
}

.waku_header{
    color: #000;
}

.boat1{
    background-color: rgb(255, 255, 255);
    color: #000;
    border-color: #000;
}

.boat2{
    background-color: #000000;
}

.boat3{
    background-color: #e40000f3;
}

.boat4{
    background-color: #0095ff;
}

.boat5{
    background-color: #fff100;
    color: #000;
    border-color: #000;
}

.boat6{
    background-color: #01b239;
}

.race_table_box{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0rem;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 400;
    border: 1px solid black; /* 基本の枠線 */
    width: 100%;
    height: 100%;
}

.grid-item {
    border:1px solid black; /* 基本の枠線 */
    white-space: nowrap;
    text-align: center;
    padding: 0.5rem;
    font-size: 1.4rem;
    font-weight: 400;
    height: 100%;
    width: 100%;
  }
  
  /* 特定の位置のグリッドアイテムの枠線を調整する */
  .grid-item:nth-child(1) { /* 最初のアイテム */
    /*border-bottom: none; /* 下の枠線を削除 */
  }
  .grid-item:nth-child(2) { /* 2番目のアイテム */
    /*border-bottom: none; /* 下の枠線を削除 */
  }
  .grid-item:nth-child(3) { /* 3番目のアイテム */
    /*border-bottom: none; /* 下の枠線を削除 */
  }

#ranking_title{
    width: 50%;
    max-width: 650px;
    margin: 0 auto; 
    padding: 1rem;  
}

#ranking_body{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 400;
    border: 0px solid black; /* 基本の枠線 */
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 4rem;
}

#ranking_body span{
    text-align: center;
}

.ranking_box{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 400;
    border: 0px solid black; /* 基本の枠線 */
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.ranking_rank{
    max-width: 100px;
}

.ranking_paper{
    max-width: 250px;
}

.ranking_point{
    font-size: 2rem;
    font-weight: 700;
}

.ranking_history{
 
}

#rule_container{
    width: 100%;
    max-width: 750px;
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 3rem;
    justify-content: center;
    color: #fff;
}
