﻿/* イベント事業部イベント
---------------------------------------- */

/*template 上書き */
.cont-static-block h1 {
    line-height: 110%;
  }
  .cont-static-block h1 span {
    font-size: 0.756em;
    color: #999999;
  }
  .cont-static-block h2 {
    margin: 0 0 25px 0;
    border-bottom: 1px solid #0068b7;
    font-size: medium;
    background: #419EF1;
    color: white;
    padding: 4px;
    font-weight: bold;
  }
  
  /* 以下イベント固有
  */
  .evj_list {
    position: relative;
    left: -25px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    width: -webkit-calc(100% + 25px);
    width: calc(100% + 25px);
  }
  /*
  @media only screen and (max-width: 699px) {
    .evj_list {
      position: relative;
      left: 0;
      width: 100%;
    }
  }
  */
  
  .evj_list .evj_box {
    position: relative;
    margin: 0 0 25px 25px;
    width: -webkit-calc(25% - 25px);
    width: calc(25% - 25px);
    box-sizing: border-box;
    line-height: 100%;
  }
  
  @media only screen and (max-width: 1430px) {
    .evj_list .evj_box {
      margin-bottom: 25px;
      width: -webkit-calc(33.3333334% - 25px);
      width: calc(33.3333334% - 25px);
    }
    .evj_list .evj_box:last-of-type {
      display: block;
    }
  }
  @media only screen and (min-width: 700px) and (max-width: 1024px) {
    .evj_list .evj_box {
      margin-bottom: 25px;
    }
  }
  
  @media only screen and (max-width: 699px) {
    .evj_list .evj_box {
      margin-bottom: 60px;
      width: -webkit-calc(100% - 25px);
      width: calc(100% - 25px);
    }
  }
  
  /*
  @media only screen and (max-width: 699px) {
    .evj_list .evj_box {
      border: 1px solid #ededed;
      margin-left: 0;
      width: 100%;
      min-height: 80px;
      padding: 12px;
      padding-left: 110px;
      box-sizing: border-box;
    }
  }
  */
  
  .evj_list .evj_box .thumbnail {
    position: relative;
    width: 100%;
    padding-top: 50%;
    overflow: hidden;
    line-height: 100%;
    border-left: 1px solid #ededed;
    border-right: 1px solid #ededed;
    border-top: 1px solid #ededed;
  }
  
  /*
  @media only screen and (max-width: 699px) {
    .evj_list .evj_box .thumbnail {
      display: block;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      -webkit- transform: translateY(-50%);
      left: 12px;
      width: 90px;
      min-height: 51px;
      padding-top: 15%;
      overflow: hidden;
    }
  }
  */
  .evj_list .evj_box .thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: auto;
  }
  
  .evj_list .evj_box .news-info {
    position: relative;
    padding: 10px 10px;
    border: 1px solid #ededed;
  }
  /*
  @media only screen and (max-width: 699px) {
    .evj_list .evj_box .news-info {
      padding: 0 0 0 5px;
      border: none;
    }
  }
  */
  .evj_list .evj_box .news-info dt {
    position: relative;
    display: block;
    margin: 0;
    margin-bottom: 5px;
    padding: 0;
    font-weight: normal;
    font-size: 0.825em;
    color: #686868;
  }
  /*
  @media only screen and (max-width: 699px) {
    .evj_list .evj_box .news-info dt {
      margin-bottom: 10px;
    }
  }
  */
  .evj_list .evj_box .news-info .new:before {
    content: "NEW";
    position: absolute;
    top: 0;
    right: 0;
    font-size: 9px;
    color: #ff0000;
  }
  .evj_list .evj_box .news-info dd {
    height: 100px;
    overflow: hidden;
  }
  
  @media only screen and (max-width: 699px) {
    .evj_list .evj_box .news-info dd {
      height: 80px;
    }
  }
  
  .evj_list .evj_box .news-info .evj_title {
    font-weight: bold;
    overflow: hidden;
    line-height: normal;
    margin: 0 0 10px 0;
  }
  
  .evj_list .evj_box .news-info .evj_date {
    font-size: small;
    margin: 0 0 10px 0;
    /*color: gray;*/
  }
  
  .evj_list .evj_box .news-info .evj_place {
    font-size: small;
    margin: 0 0 10px 0;
  }
  
  .evj_list .evj_box a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .evj-link {
    position: relative;
    display: block;
    padding: 20px 0;
    text-align: center;
  }
  @media only screen and (max-width: 699px) {
    .evj-link {
      margin: auto;
      width: 90%;
      padding-bottom: 8px;
    }
  }
  .evj-link + .title-sub:before {
    content: "";
    display: block;
    margin-top: 30px;
    width: 100%;
    height: 5px;
    background: url(/-/media/Images/parts/2020/common/line_pattern1.ashx) repeat;
    background-size: 3px;
    margin-bottom: 20px;
    clear: both;
  }
  .evj-link li {
    display: inline-block;
    padding: 0 10px;
  }
  @media only screen and (max-width: 699px) {
    .evj-link li {
      display: block;
      margin-bottom: 14px;
      width: 100%;
    }
  }
  
  span.backred{
    padding: 4px 8px;
    background-color: #fe4542;
    color: #fff;
    display: inline-block;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
  }
  
  span.backblue{
    padding: 4px 8px;
    background-color: #007ee2;
    color: #fff;
    display: inline-block;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
  }
  
  span.backgreen{
    padding: 4px 8px;
    background-color: #44b758;
    color: #fff;
    display: inline-block;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
  }
  
  span.backorenge{
    padding: 4px 8px;
    background-color: #fc9f39;
    color: #fff;
    display: inline-block;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
  }
  
  /* フォントサイズ */
  span.fs-s {
      font-size: 1em;
  }
  span.fs-m {
      font-size: 1.15em;
  }
  span.static-group p.fs-l {
      font-size: 1.24em;
  }
  
  .entry_button {
    background-color: #e29500;
    color: #fff;
    margin: 0px 15%;
    padding: 10px 4%;
    text-align: center;
    border-radius: 100px;
    -webkit-border-radius: 100px;
    -webkit-border-radius: 100px;
  }
  
  .entry_button a{
    color: #fff;
  }