@charset "UTF-8";
#p_area {
  max-width: 940px;
  margin: 0 auto;
}

#title_area {
  min-height: 66px;
  margin: 5% 0 3%;
  width: 100%;

  vertical-align: middle;
}

#title_area:after {
  content: "";
  clear: both;
  display: block;
}

#title_area img {
  width: 78%;
}

#img_logo {
  width: 16%;
  min-width: 120px;
}

.d_time {
  clear: both;
  border: solid 1px #626262;
  padding: 25px;
  margin: 0 0 30px 0;
}

#p_area table {

  width: 100%;
  background-color: #181818;
  margin: 0 auto 20px;

}

.p_blk {
  color: #fff;
}

#p_area table th,
#p_area table td {
  padding: 5px;
}

#tr_headder td {
  border: none;
}

#tr_headder {
  color: #fff;
  background-color: #313131;
}

#tr_headder td {
  height: 50px;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

#tr_headder td:first-child {
  width: 15%;
}

#tr_headder td:nth-of-type(2) {
  width: 20%;
  background-color: #212121;
}

#tr_headder td:nth-of-type(3) {
  width: 65%;
}

#tr_headder td:nth-of-type(2) {}

#gl_img {
  overflow: hidden;
  width: 88%;
}

#gl_img div {
  float: left;
  margin-right: 2.5%;
  width: 23%;
}

#gl_img div img {
  border: solid 1px #ebebeb;
  width: 100%;
  box-sizing: border-box;
}
#gl_img div:last-child {
  margin-right: 0;
}
.gl_name {
  text-align: center;
}

@media screen and (max-width:767px) {
  #img_tittle_pc {
    display: none;
  }
  #title_area {
    /*  min-height: 125px;*/
    margin: 5% 0 3%;
    width: 100%;
    vertical-align: middle;
  }
  #title_area:after {
    content: "";
    clear: both;
    display: block;
  }
  #title_area img {
    width: 60%;
  }
  #p_area table {
    /*   width: 94%;*/
    margin: 0 auto 20px;
  }
  #p_area table th {
    display: none;
  }
  #p_area table td {
    display: list-item;
    width: auto;
    list-style-type: none;
    padding: 0;
  }
  #p_area table td p.day {
    background: #ccc none repeat scroll 0 0;
    display: block;
    padding: 5px;
  }
  #p_area table td p.time {
    /*    background: #999 none repeat scroll 0 0;*/
    padding: 0 0 0 5%;
  }
  #tr_headder {
    display: none;
  }
  .day_1_sp,
  .day_2_sp {
    align-items: center;
    border-bottom: 3px solid #da0000;
    display: flex;
    font-size: 14px;
    font-weight: bold;
    line-height: 3;
    padding: 0 0 0 5%;
  }
  .day_1_sp span,
  .day_2_sp span {
    margin-right: 10px;
    font-size: 20px;
  }
  .day_1_sp {
    background-image: url("/pages/contents/jp/nurburgring/special/2017/program/images/day27_bk_sp.jpg");
    color: #07a8ca;
    background-repeat: repeat-x;
  }
  .day_2_sp {
    background-image: url("/pages/contents/jp/nurburgring/special/2017/program/images/day28_bk_sp.jpg");
    color: #da0000;
    background-repeat: repeat-x;
  }
  .p_caution {
    margin: 0 0 30px;
    line-height: 1.4;
  }
  .p_head,
  .p_head02 {
    display: flex;
    align-items: center;
    margin: 0 0 10px -6%;
    background-color: #ca0000;
    height: 30px;
    width: 95%;
    position: relative;
    font-weight: bold;
  }
  .p_head03 {
    display: flex;
    align-items: center;
    margin: 25px 0 20px -6%;
    background-color: #f55998;
    height: 30px;
    width: 95%;
    position: relative;
    font-weight: bold;
  }
  .p_head:after,
  .p_head02:after,
  .p_head03:after {
    background-color: #ca0000;
    content: '';
    width: 50px;
    height: 30px;
    -webkit-transform: skew(40deg);
    -moz-transform: skew(40deg);
    -o-transform: skew(40deg);
    -ms-transform: skew(40deg);
    transform: skew(40deg);
    position: absolute;
    top: 0;
    right: -5%;
    z-index: 1;
  }
  .p_head03:after {
    background-color: #f55998;
  }
  .p_head span,
  .p_head02 span,
  .p_head03 span {
    color: #fff;
    display: inline-block;
    font-size: 14px;
    line-height: 25px;
    margin-left: 10px;
    z-index: 10;
  }
  .p_head02 span,
  .p_head03 span {
    /*    margin-left: 25px;*/
  }
  .p_head span:first-child {
    background-color: #fff;
    color: #ca0000;
    font-size: 12px;
    line-height: 1;
    margin-left: 5%;
    padding: 3px 5px;
  }
  .time {
    align-items: center;
    background-color: #474747;
    background-image: url(/pages/contents/jp/nurburgring/special/2017/program/images/bk_time.gif);
    border-bottom: 1px solid #ccc;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 2;
  }
  #gl_img {
    width: 100%;
  }
  #gl_img div img {
    margin: 0 0 10px 0;
    border: solid 1px #ebebeb;
    width: 100%;
  }
  .gl_name {
    text-align: center;
  }
  .d_time {
    display: none;
  }
  .cont_block {
    margin-bottom: 10px;
  }

#p_area td.td_cont,
#p_area td.td_cont_l {
  border-bottom: 1px solid #ccc;
  padding: 5%;
  overflow: hidden
}

#p_area td.grey{
  background: #
}
.p_s{
font-size: 10px;
}

}



@media screen and (min-width:768px) {
  #p_area table th {
    box-sizing: border-box;
    font-weight: bold;
    padding-top: 25px;
    vertical-align: top;
    width: 15%;
/*    min-width:145px;*/
  }
  #p_area table td.td_time {
    width: 17%;
/*    min-width:185px;*/
    box-sizing: border-box;
    vertical-align: top;
    font-weight: bold;
    padding-top: 25px;
  }
  #p_area td.td_cont {
    width: 68%;
    box-sizing: border-box;
  }
  #p_area table td.td_time p {
    font-size: 20px;
    line-height: 1;
  }

  #p_area td.td_cont,
  #p_area td.td_cont_l {
    border-bottom: 1px solid #ccc;
    padding: 25px 25px 15px;
    overflow: hidden
  }

  #img_tittle_sp {
    display: none;
  }
  #p_area table td p.day {
    display: none;
  }
  .day_1,
  .day_2 {
    background-repeat: no-repeat;
    border-right: solid 6px #da0000;
    font-size: 26px;
    font-weight: 100;
  }
  .day_1 div,
  .day_2 div {
    font-size: 36px;
    line-height: 1;
  }
  .day_1 {
    background: #143c45; /* Old browsers */
    background: -moz-linear-gradient(top, #143c45 0%, #181818 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #143c45 0%,#181818 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #143c45 0%,#181818 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#143c45', endColorstr='#181818',GradientType=0 ); /* IE6-9 */
    color: #07a8ca;
  }
  .day_2 {
    background: #4c1212; /* Old browsers */
    background: -moz-linear-gradient(top, #4c1212 0%, #181818 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #4c1212 0%,#181818 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #4c1212 0%,#181818 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c1212', endColorstr='#181818',GradientType=0 ); /* IE6-9 */
    color: #da0000;
  }
  .td_time,
  .td_time_l {
    background-color: #474747;
    border-bottom: solid 1px #ccc;
    color: #fff;
    background-image: url("/pages/contents/jp/nurburgring/special/2017/program/images/bk_time.gif");
    text-align: center;
  }
  .td_time_l {
    border-bottom: none;
  }
  .p_head,
  .p_head02 {
    display: flex;
    align-items: center;
    margin: 0 0 20px -25px;
    height: 30px;
    width: 85%;
    position: relative;
    font-weight: bold;
    background-color: #da0000;
    background-image: -webkit-linear-gradient(left, rgba(3, 0, 0, 0.28), rgba(218, 0, 0, 1) 63%);
    background-image: -moz-linear-gradient(left, rgba(3, 0, 0, 0.28), rgba(218, 0, 0, 1) 63%);
    background-image: -ms-linear-gradient(left, rgba(3, 0, 0, 0.28), rgba(218, 0, 0, 1) 63%);
    background-image: linear-gradient(to right, rgba(3, 0, 0, 0.28), rgba(218, 0, 0, 1) 63%);
  }
  .p_head03 {
    display: flex;
    align-items: center;
    margin: 25px 0 15px -25px;
    background-color: #f55998;
    height: 30px;
    width: 85%;
    position: relative;
    font-weight: bold;
  }
  .p_head:after,
  .p_head02:after,
  .p_head03:after {
    background-color: #da0000;
    content: '';
    width: 50px;
    height: 30px;
    -webkit-transform: skew(40deg);
    -moz-transform: skew(40deg);
    -o-transform: skew(40deg);
    -ms-transform: skew(40deg);
    transform: skew(40deg);
    position: absolute;
    top: 0;
    right: -30px;
  }
  .p_head03:after {
    background-color: #f55998;
  }
  .p_head span, .p_head02 span, .p_head03 span {
    color: #fff;
    display: inline-block;
    font-size: 22px;
    height: 20px;
    line-height: 1;
    margin-left: 10px;
  }
  .p_head03 span {
    font-size: 18px;
  }
  .p_head02 span,
  .p_head03 span {
    margin-left: 25px;
  }
  .p_head span:first-child {
    margin-left: 25px;
    padding: 0 5px;
    background-color: #fff;
    color: #ca0000;
    font-size: 16px;
    line-height: 1.4;
    font-weight: bold;
  }
  .p_b {
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .p_s{
    font-size: 12px;
    line-height: 1;
    margin-bottom: 10px;
  }

  .p_caution {
    font-size: 14px;
    line-height: 1;
    margin-bottom: 10px;
  }

  .p_caution {
    margin: 0 0 30px;
  }
  .day_1_sp,
  .day_2_sp {
    display: none;
  }
  .cont_block {
    margin-bottom: 20px;
  }
}

/* add 20170526 */
.wakisaka_photo span {
  display: block;
  text-align: center;
}
.wakisaka_photo img {
  width: 100%;
  border: 1px solid #ebebeb;
}

@media screen and (max-width:767px) {
  #p_area {
    overflow: hidden;
  }
  .left_textbox {
    margin-bottom:15px;
    }
  .wakisaka_photo {
    margin: auto;
    width: 45%;
  }
  #p_area table td.td_time img {
    bottom: 2px;
    display: block;
    margin-top: 10px;
    position: absolute;
    right: 5px;
    width: 70px;
  }
  #p_area table td.td_time {
    position: relative;
  }
}
@media screen and (min-width:768px) {
  #p_area table td.td_time {
    text-align: left;
  }
   #p_area table td.td_time p{
        padding-left: 13px;
   }
  #p_area table td.td_time img {
    width: 50%;
    display: block;
    margin-top: 5px;
    margin-left: 13px;
  }
  .left_textbox {
    float: left;
    width: 62%;
  }
  .wakisaka_photo {
    float: right;
    margin-right: 12%;
    width: 23%;
  }

}