@charset "UTF-8";
#h-logo {
    font-family: 'Fredoka One', cursive;
}
.logo svg {
    width: 150px;
    height: 30px;
    margin: 15px 0;
}
.cls-1 {
    fill: ghostwhite;
}
.cls-2 {
    fill: url(#g);
}

.site-header {
    position: relative;
    background-color: #1a1a1a;
    color: #333f50;
}
.defs {
    display: none;
}
.site-header-start {
    display: flex;
    align-items: center; 
}
.site-header-end {
    display: flex;
    align-items: center;
}
.site-header a {
    color: white;
    text-decoration: none;
}
.site-header-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}
.nav-wrapper {
    position: absolute;
    top: calc(100%);
    right: 0;
    left: 0;
    z-index: 5;
    background-color: #1a1a1a;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
.nav-rapper .active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.nav-item:not(:last-child) {
    margin-right: 0.5rem; 
}
.nav-item a {
    display: block;
    padding: 1.5rem 1rem; 
}
.nav-toggle {
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem; 
}

.brand {
    font-weight: bold;
    font-size: 20px;
    padding: 20px;
}
#today-race-header-info {
    margin-bottom: 20px;
    width: 100%;
}
.today-race-now {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.race-now-title {
    flex-basis:100%;
    margin-bottom: 5px;
}
.reload:after {
    content: "";
    background-color: #00ffff;
    display: inline-block;
    height: 24px;
    width: 24px;
    -webkit-mask: url("../content/svg/reload.svg");
    mask: url("http://keibanalysis.net/content/svg/reload.svg");
    -webkit-mask-size: cover;
    mask-size: cover;
    vertical-align: middle;
}
.today-race-now > dl {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    width: 20%;
}
.today-race-now dl > dt {
    padding: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    background: none;
}
.today-race-now dl > dd {
    display: block;
    background: none;
}
.race-num, .closing {
    margin: 0;
    font-size: small;
    color: dimgrey;
    width: 100%;
    text-align: center;
}
.today-race-now a {
    display: block;
    width: 100%;
    height: 100%;
}
.header-now-link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.today-race-now {
    color: white;
}
.today-race-now dl > .race-num {
   color: ghostwhite; 
}
.today-race-now dl > .closing {
    color: ghostwhite;
}
.closing > span {
    display: block;
}
.approaching {
    color: gold !important;
}
.approaching > dt, .approaching > dd{
    color: gold !important;
}

.approaching > dd > .closing{
    -webkit-animation: blink 0.5s ease-in-out infinite alternate;
    animation: blink 0.5s ease-in-out infinite alternate;
}
.race-time-table .race-num {
    display: flex;
    justify-content: space-evenly;
    padding-left: 25%;
}
.race-time-table .race-num:after {
    content: '';
    display: inline-block;
    background-image: url("/content/svg/arrow_right.svg");
    height: 10px;
    width: 10px;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: right;
}










.list {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 0;
    right: 1rem;
}
.item {
  position: relative;
  width: 33.33334%;
  padding-top: 5px;
  text-align: center;
  box-sizing: border-box;
  counter-increment: item;
}
.item:after {
  position: absolute;
  top: 1.5em;
  left: 1.5em;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  color: #fff;
  font-size: 20px;
  text-align: center;
  line-height: 40px;
}
@media only screen and (max-width: 768px) {
  .list {
    display: block;
  }
  .item {
    width: auto;
  }
}



.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.menu-trigger {
  position: relative;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  appearance: none;
  cursor: pointer;
}
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
  border-radius: 4px;
}
.menu-trigger span:nth-of-type(1) {
    top: 0;
}
.menu-trigger span:nth-of-type(2) {
    top: 10px;
}
.menu-trigger span:nth-of-type(3) {
    bottom: 0;
}

@-webkit-keyframes blink {
    0% {opacity: 0.2;}
    100% {opacity: 1;}
}
@keyframes blink {
    0% {opacity: 0.2;}
    100% {opacity: 1;}
}

.nav-wrapper.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0); 
}

#menu12::after {
    position: absolute;
    top: 55%;
    left: 55%;
    display: block;
    content: '';
    width: 40px;
    height: 40px;
    margin: -25px 0 0 -25px;
    border-radius: 50%;
    border: 4px solid transparent;
    transition: all .75s;
}
#menu12.active span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
}
#menu12.active span:nth-of-type(2) {
    left: 60%;
    opacity: 0;
    animation: active-menu12-bar02 .8s forwards;
}
@keyframes active-menu12-bar02 {
    100% {
        height: 0;
    }
}
#menu12.active span:nth-of-type(3) {
    transform: translateY(-10px) rotate(45deg);
}
#menu12.active::after {
    animation: active-menu12 .4s .25s forwards;
}
@keyframes active-menu12 {
    0% {
        border-color: transparent;
        transform: rotate(0);
    }
    25% {
        border-color: transparent #fff transparent transparent;
    }
    50% {
        border-color: transparent #fff #fff transparent;
    }
    75% {
        border-color: transparent #fff #fff #fff;
    }
    100% {
        border-color: #fff;
        transform: rotate(-680deg);
    }
}

.site-header-under-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: row;
    height: 70px;
    padding-right: 25px;
}
.login-navi {
    display: block;
    height: 35px;
    /*position: absolute;*/
    right: 80px;
    top: 15px;
    width: 35px;
    background: #fff;
    border-radius: 50%;
    text-align: center;
}

.login {
    display: flex; /* フレックスボックスを使用して要素を並べる */
    flex-direction: column; /* 縦に並べる */
    align-items: center; /* 中央揃えにする */
    justify-content: center; /* コンテンツを中央揃えにする */
    width: 100%; /* 幅を100%に */
    height: 100%; /* 高さを100%に */
    background-image: url("/content/svg/login.svg");
    background-repeat: no-repeat;
    background-position: center; /* アイコンを中央に配置 */
    text-decoration: none; /* リンクの下線を消す */
    background-size: 80%;
}

.login-text {
    font-size: 8px; /* テキストのサイズ */
    color: #000; /* テキストの色 */
    display: inline-block; /* インラインブロックにして位置調整 */
    margin-top: 5px; /* アイコンとの間に余白を追加 */
    vertical-align: sub; /* 下付きに設定 */
    color: white;
}






.home {
    background-image: url("/content/svg/home.svg");
    background-repeat: no-repeat;
    background-size: 10%;
    background-position: top 50% left 5%;
}
.past {
    background-image: url("/content/svg/past.svg");
    background-repeat: no-repeat;
    background-size: 10%;
    background-position: top 50% left 5%;
}
.guide {
    background-image: url("/content/svg/question.svg");
    background-repeat: no-repeat;
    background-size: 10%;
    background-position: top 50% left 5%;
}
.threads-link {
    background-image: url("/content/svg/threads.svg");
    background-repeat: no-repeat;
    background-size: 10%;
    background-position: top 50% left 5%;
}
.tw-link {
    background-image: url("/content/svg/twitter.svg");
    background-repeat: no-repeat;
    background-size: 10%;
    background-position: top 50% left 5%;
}
.insta-link {
    background-image: url("/content/svg/instagram.svg");
    background-repeat: no-repeat;
    background-size: 10%;
    background-position: top 50% left 5%;
}
.youtube-link {
    background-image: url("/content/svg/youtube.svg");
    background-repeat: no-repeat;
    background-size: 10%;
    background-position: top 50% left 5%;
}
/* デザインB（タブレット） */
@media screen and (min-width: 600px) {
    .site-header-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0; 
    }

    .nav-wrapper {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px;
    }
    .nav-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1rem; }
        
    .home {
        background-size: 90%;
        background-position: bottom;
    }
    .past {
        background-size: 90%;
        background-position: bottom;
    }
    .guide {
        background-size: 90%;
        background-position: bottom;
    }
    .threads-link {
        background-size: 90%;
        background-position: bottom;
    }
    .tw-link {
        background-size: 90%;
        background-position: bottom;
    }
    .insta-link {
        background-size: 90%;
        background-position: bottom;    
    }
    .youtube-link {
        background-size: 90%;
        background-position: bottom;    
    }
}

/* デザインC(PC) */
@media screen and (min-width: 1025px) {
    .site-header-wrapper {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .site-header-under-wrapper {
        /*padding-bottom: 1rem;*/
    }
    .nav-wrapper {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        margin-right: 30px;
    }
    .site-header a {
        color: dimgray;
    }
    .nav-wrapper {
        display: flex;
    }
    .nav-toggle {
        display: none;
    }
    #today-race-header-info {
        width: 60%;
    }
    .home {
        background-size: 90%;
        background-position: bottom;
    }
    .past {
        background-size: 90%;
        background-position: bottom;
    }
    .guide {
        background-size: 90%;
        background-position: bottom;
    }
    .tw-link {
        background-size: 90%;
        background-position: bottom;
    }
    .insta-link {
        background-size: 90%;
        background-position: bottom; 
    }
    .youtube-link {
        background-size: 90%;
        background-position: bottom;
    }
}













