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

	レースライブ配信案内ページ

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

html { font-size: 62.5%; }

body * {
    box-sizing: border-box;
}

body {
	background-color: #fbfbf8;

	color: #2c2c2c;
	font-family: "Noto Sans JP", serif;
	line-height: 1.6;
    letter-spacing: 0.06em;
	font-feature-settings: "palt"1;
  }

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    text-decoration: none;
}

p {
    font-size: 1.6rem;
}

:root {
    /* - カラー
    ---------------------------- */
    --color-f-base: #2c2c2c;

    --color-wh: #fff;
    --color-yellow: #fbef33;
    --color-green: #457e29;

    /* - フォントウェイト
    ---------------------------- */
    --font-regular: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-black: 900;
}



/* - トップエリア
    ---------------------------- */
.top_erea {
    width: 100%;
    background-color: #0c0c0a;
}

.top_erea .kv {
    max-width: 1200px;
    width: 100%;
    min-height: 348px;
    margin: 0 auto;
    background: url(../img/bg_kv.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.top_erea .kv .inner {
    display: flex;
    align-items: center;
    padding: 0 130px;

    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(10%, #000), color-stop(90%, #000), to(transparent));
    -webkit-mask-image: -webkit-linear-gradient(top, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(10%, #000), color-stop(90%, #000), to(transparent));
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
   line-height:0;
}

.top_erea .kv .inner .img {
    padding: 40px 10px;
    padding-bottom: 0;
    flex: 5;  
}

.top_erea .kv .inner .cap {
    position: relative;
    flex: 4; 
}

.top_erea .kv .inner .cap span {
    position: absolute;
    top: 28%;
    right: 12%;
    /* transform: rotate( 12deg ); */

    animation: poyon 1.2s;
    animation-fill-mode:forwards;
    /* transform: rotate( 12deg ); */
    animation-delay: 1.6s;
}

.top_erea .kv .inner .cap span img {
    width: 50px;
}

/* - レースライブボタン
---------------------------------------------------------------------- */

.live_btn {
    max-width: 940px;
    width: 40%;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .live_btn > .btn {
    width: 100%;
    padding: 4px;
    background-color: #371e1e;
    border-radius: 6px;

    display: grid;
    justify-items: center;
    align-items: center;
    
  }
  
  .live_btn > .btn > a {
    display: block;
    width: 100%;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 14px;
    font-size: 1.8rem;
    line-height: 1.3;
  
    background-color: #e00025;
    border: 1px solid #a2021d;
    border-color: rgb(162, 2, 29);
    color: #fff;
    box-shadow:
      rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
      rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }

  .live_btn > .btn > a i {
    margin-right: 0.5em;
    color: #fff;
  }

  .live_btn > p {
    text-align: center;
    color: #fff;
    font-size: 1.4rem;
  }
  

.top_erea .sub {
    width: 940px;
    margin: 0 auto;
}

.top_erea .sub .cap {
    width: 100%;
    text-align: center;
}

.top_erea .sub .cap p {
    color: var(--color-wh);
    font-size: 1.9rem;
    font-weight: var(--font-black);
    line-height: 2;
}

.top_erea .sub .cap p strong {
    color: var(--color-yellow);
    margin: 0 0.1em;
}

.top_erea .sub .cap p .fs_ex {
    font-size: 2.6rem;
    line-height: 1.4;
}

.top_erea .sub .watch {
    width: 100%;
    padding: 48px 10px;
    padding-top: 20px;
    background: url(../img/bg_watch.png);
    background-size: contain;
    background-repeat: no-repeat;

    text-align: right;
}

.top_erea .sub .watch ul {
    display: flex;
    align-items: center;
}

.top_erea .sub .watch ul li:first-child {
    padding-top: 40px;
}

.top_erea .sub .watch p {
    display: inline-block;
    color: var(--color-wh);
    margin-top: 20px;
    padding: 2px 12px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 2px;
    font-size: 1.2rem;
}


/* - 背景白以下
    ---------------------------- */

#contentsBody {
    padding: 10px;
    padding-top: 44px;
}


/* - 配信時間・配信内容
    ---------------------------- */

#contentsBody .unit_time {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px;
    background-color: var(--color-green);
    border-radius: 10px;
}

#contentsBody .unit_time dl {
    display: grid;
    gap: 10px 4px;
    grid-template: auto / 7.2em 1fr;

    font-size: 2.3rem;
    color: var(--color-wh);
}

#contentsBody .unit_time dl strong {
    font-weight: var(--font-black);
    margin: 0 0.1em;
}

#contentsBody .unit_time dl dt {
    grid-column: 1;
    font-weight: var(--font-bold);
}

#contentsBody .unit_time dl dt:before {
    content: '';/*何も入れない*/
    display: inline-block;
    width: 42px;/*画像の幅*/
    height: 30px;/*画像の高さ*/
    background-image: url(../img/icon_live.png);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 0.5em;
  }

#contentsBody .unit_time dl dt img {
    width: 42px;
    margin-right: 10px;
}

#contentsBody .unit_time dl dd {
    grid-column: 2;
}


/* - 視聴方法
    ---------------------------- */

.unit_watch { 
    text-align: center;
}

.unit_watch h2 {
    font-size: 3rem;
    font-weight: var(--font-black);
    margin-bottom: 30px;
}

.unit_watch h3 {
    font-size: 1.8rem;
    font-weight: var(--font-black);
    margin-bottom: 15px;
}

.unit_watch h3 .inner {
    display: flex;
    justify-content: center;
}

.unit_watch h3 .num {
    margin-right: 0.4em;
}

.unit_watch h3 .num img {
    width: 26px;
}

.unit_watch .dev_browser ul {
    display: flex;
    justify-content: center;
}

.unit_watch .dev_browser ul li:first-child {
    padding-right: 20px;
}

.unit_watch .dev_app ul li img {
    width: 44%;
}


/* - その他
    ---------------------------- */
.unit_other {
    text-align: left;
    padding: 40px;
    background-color: #d7dbd8;
}

.unit_other ul.d_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.unit_other ul.d_list li  {
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: start;
    gap: 6px;
}

.unit_other ul.d_list li span {
    grid-row: span 1;
    font-weight: var(--font-semibold);
}

.unit_other ul.d_list li p {
    font-size: 1.4rem;
}

.unit_other ul.d_list li a {
    text-decoration: underline;
}

.unit_other ul.d_list li a:hover {
    text-decoration: none;
}


/* ------------------------------------------
　アニメーション関連
------------------------------------------ */

/* フェードイン */
.fadein {
	opacity : 0;
	transform : translate(0, 20px);
	transition : all 0.6s;
  }

.fadein.active{
	opacity : 1;
	transform : translate(0, 0);
}

.zoomIn {
    opacity : 0;
    transition : all 1s;
}

.zoomIn.active {
    opacity : 1;
}

@keyframes poyon {
    0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
    15%  { transform: scale(0.9, 0.9) translate(0%, 5%); }
    30%  { transform: scale(1.3, 0.8) translate(0%, 10%); }
    50%  { transform: scale(0.8, 1.3) translate(0%, -10%); }
    70%  { transform: scale(1.1, 0.9) translate(0%, 5%); }
    100% { transform: scale(1.0, 1.0) translate(0%, 0%) rotate( 12deg ); }
  }




/* ------------------------------------------
　メディアクエリ
------------------------------------------ */

@media screen and ( max-width:1199px ) {

    .top_erea .kv {
        min-height: 328px;
    }

    .top_erea .kv .inner {
        padding: 0 10%;
    }


}

@media screen and ( max-width:1099px ) {

    .top_erea .kv {
        min-height: 308px;
    }

    .top_erea .kv .inner {
        padding: 0 6%;
    }

}

@media screen and ( max-width:959px ) {

    .top_erea .kv {
        min-height: 288px;
    }

    .top_erea .kv .inner {
        padding: 0 10px;

    }

    .top_erea .kv .inner .cap span {
        top: 26%;
    }

    .top_erea .kv .inner .cap span img {
        width: 44px;
    }

    .live_btn {
        width: 50%;
      }

    .top_erea .sub {
        width: auto;
    }

}

@media screen and ( max-width:743px ) {

    .top_erea .kv .inner {
        flex-direction: column-reverse;
    }

    .top_erea .kv .inner .img,
    .top_erea .kv .inner .cap {
        width: 90%;
        
    }

    .top_erea .kv .inner .img {
        margin-top: -18% ;
        padding-top: 0;
        z-index: 10;
    }

    .top_erea .kv .inner .cap {
        margin-top: -10% ;
    }

    /* - レースライブボタン
    ---------------------------- */
    .live_btn {
        margin-top: 20px;
        margin-bottom: 0;

        width: 90%;;
      }

      .live_btn > .btn > a {
        padding: 10px;
      }

    .top_erea .sub {
        margin-top: 20px;
        padding: 10px;
    }

    /* - 配信時間・配信内容
    ---------------------------- */
    #contentsBody .unit_time {
        padding: 24px;
    }

    #contentsBody .unit_time dl {
        font-size: 2rem;
        grid-template: auto / 7.6em 1fr;
    }


}


@media screen and ( max-width:600px ) {

    .top_erea .kv .inner .img,
    .top_erea .kv .inner .cap {
        width: 100%;
        
    }

    .top_erea .kv .inner .cap span { top: 28%; }

    .unit_watch .dev_app ul li img {
        width: 50%;
    }

}


@media screen and ( max-width:428px ) {

    .top_erea .sub .watch {
        padding-top: 10px;
        background-position: center;
    }

    .top_erea .sub .cap p {
        font-size: 1.8rem;
        line-height: 1.8;
        /* text-align: left; */
    }

    /* .top_erea .sub .cap p br { display: none; } */

    .top_erea .sub .cap p .fs_ex {
        font-size: 2.4rem;
    }

    .top_erea .kv .inner .cap {
        width: 100%;
    }

    .top_erea .kv .inner .img {
        margin-top: -20% ;
    }

    .live_btn > p {
        font-size: 1.2rem;
      }

    .top_erea .sub .watch ul,
    .unit_watch .dev_browser ul {
        display: block;
    }

    .top_erea .sub .watch ul li,
    .unit_watch .dev_browser ul li,
    .unit_watch .dev_app ul li {
        display: block;
        padding: 0;
        padding-top: 10px;
        text-align: center;
    }

    
    .top_erea .sub .watch ul li:first-child {
        padding-top: 20px;
    }

    .unit_watch .dev_browser ul li:first-child,
    .unit_watch .dev_app ul li {
        padding: 0;
    }

    .unit_watch .dev_browser ul li:nth-child(2) img {
        width: 80%;
    }

    .unit_watch .dev_app ul li img {
        width: 80%;
    }

    .unit_watch p {
        text-align: left;
        /* padding: 0 10px; */
        font-size: 1.5rem;
    }

    .unit_watch p br { display: none; }


    /* - 配信時間・配信内容
    ---------------------------- */
    #contentsBody .unit_time {
        padding: 20px 10px;
        padding-left: 16px;
    }

    #contentsBody .unit_time dl {
        font-size: 1.7rem;
        gap: 8px 0;
        line-height: normal;
        /* grid-template: auto / 8em 1fr; */
    }

    #contentsBody .unit_time dl dt:before {
        width: 32px;
        background-position: center;
    }
    

    /* - その他
    ---------------------------- */
    .unit_other {
        padding: 30px;
    }

    .unit_other ul.d_list li p {
        font-size: 1.2rem;
    }

}