#wrapper #contents {
  padding-top: 0;
}

#top {
  position: relative;
  min-height: 730px;
}

#top .head {
  padding: 20px 10px 0;
}

#top .head .left {
  float: left;
}

#top .head .left .twitter,
#top .head .left .facebook {
  float: left;
  margin-right: 7px;
}

#top .head .right {
  float: right;
  font-size: 0;
  letter-spacing: 0;
  margin-top: -3px;
}

#top .head .right a {
  display: inline-block;
  margin-left: 7px;
}

#top .head .right a:hover img {
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}

#top .head .right a.official-site:hover img {
  -ms-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
}

#top .head .right a img {
  display: block;
  transition: all 0.2s linear;
}

#top .main-image {
  display: block;
  margin: 0 auto;
  max-width: 618px;
}

#top .top-text {
  position: absolute;
  left: 50%;
  top: 80px;
  margin-left: -480px;
  max-width: 140px;
}

#top .text {
  text-align: center;
  font-weight: bold;
  margin-top: 15px;
}

#top .text p {
  font-size: 20px;
  letter-spacing: 0.1em;
}

#top .text h1 {
  font-size: 32px;
  letter-spacing: 0.1em;
  font-weight: bold;
  margin: 15px 0;
}

#top .text h1 span {
  font-size: 46px;
}

#top .text .area {
  font-size: 36px;
  padding-top: 10px;
  letter-spacing: 0.1em;
}

#top .text .area small {
  display: block;
  margin-top: 10px;
  font-size: 16px;
}

#top .text .area .large {
  display: block;
  margin-top: 40px;
  font-size: 46px;
}

@media screen and (max-width: 767px) {
  #top .text .area .large {
    margin-top: 20px;
    font-size: 20px;
  }
}

#top .text .date {
  display: block;
  margin-top: 20px;
  font-size: 96px;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing:0.02em;

  & .day {
    font-size: 36px;
  }
}

@media screen and (max-width: 767px) {
  #top .text .date {
    display: block;
    margin-top: 10px;
    font-size: 36px;
  
    & .day {
      font-size: 20px;
    }
  }
}

#top .text .announcement {
  margin-top: .75em;
  font-size: 24px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
#top .sponsor {
  text-align: center;
  font-size: 0;
  letter-spacing: 0;
  padding: 2px 0 28px;
  max-width: 755px;
  margin: 0 auto;
}

#top .sponsor .block {
  margin-top: 35px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#top .sponsor .block p {
  font-size: 12px;
  font-weight: bold;
  margin-bottom: -5px;
}

#top .sponsor a {
  width: calc(25% - 32px);
  margin: 25px 16px 0;
}

#top .sponsor a:nth-child(1) {/* AQA */
  width: calc(20% - 32px);
}
#top .sponsor a:nth-child(2) {/* Asahi */
  width: calc(20% - 32px);
}
#top .sponsor a:nth-child(3) {/* Cola */
  width: calc(30% - 32px);
}
#top .sponsor a:nth-child(4) {/* JA AKITA */
  width: calc(30% - 32px);
}
#top .sponsor a:nth-child(5) {/* Japan create */
  width: calc(30% - 32px);
}
#top .sponsor a:nth-child(6) {/* Nikori */
  width: calc(20% - 32px);
}
#top .sponsor a:nth-child(7) {/* Yamada */
  width: calc(30% - 32px);
}
#top .sponsor a img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

#top .sponsor a img {
  transition: all 0.2s linear;
}

#top .sponsor a:hover img {
  opacity: 0.5;
  -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
}

#home-content {
  margin-top: 30px;
}

#home-content .left {
  width: 600px;
  float: left;
}

#home-content .right {
  float: right;
  width: 310px;
}

#home-content .right .video {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

#home-content .right .video:hover .thumbnail {
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

#home-content .right .video:before {
  content: '';
  display: block;
  padding-top: 56.35%;
}

#home-content .right .video .thumbnail {
  position: absolute;
  top: -16%;
  left: 0;
  width: 100%;
  height: auto;
  transition: all 0.2s ease-out;
}

#home-content .right .video button {
  position: absolute;
  display: block;
  right: 7px;
  bottom: 7px;
  z-index: 1;
  width: 46px;
}

#home-content .right .video button img {
  display: block;
  width: 100%;
  height: auto;
}

#home-content .title .pagename {
  float: left;
}

#home-content .title a {
  float: right;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: #5bc3ee;
  margin-top: 20px;
}

#home-content .title a span {
  position: relative;
  right: 0;
  transition: all 0.2s linear;
}

#home-content .title a:hover span {
  right: -5px;
}

#home-content .news {
  margin-top: 25px;
}

#home-content .news article {
  margin-top: 15px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: bold;
}

#home-content .news article a {
  display: block;
  color: #333;
  transition: all 0.2s linear;
  line-break: anywhere;
}

#home-content .news article a:hover {
  color: #5bc3ee;
  text-decoration: underline;
}

#home-content .news article time {
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}

.screen {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 100;
  transition: opacity 0.2s linear;
  left: -100%;
  opacity: 0;
  -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';
}

.screen.left {
  left: 0;
}

.screen.show {
  opacity: 1;
  -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=100)';
}

.screen .frame {
  position: absolute;
  width: 880px;
  height: 492px;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background: #666;
}

.screen iframe {
  width: 100%;
  height: 100%;
}

.screen button {
  position: absolute;
  left: 50%;
  width: 40px;
  bottom: -60px;
  margin-left: -20px;
}

.screen button:hover img {
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.screen button img {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.2s ease-out;
}

@media screen and (max-width: 767px) {
  #wrapper #contents {
    padding: 0 0 50px;
  }
  #top {
    min-height: auto;
  }
  #top .head {
    padding: 8px 10px 0;
  }
  #top .head .left {
    display: none;
  }
  #top .head .right {
    float: left;
    margin-top: 0;
  }
  #top .head .right a {
    display: inline-block;
    margin: 0 7px 0 0;
  }
  #top .head .right a img {
    height: 20px;
  }
  #top .main-image {
    width: 100%;
    padding-top: min(80px, 20%);
  }
  #top .top-text {
    display: none;
  }
  #top .top-text.sp {
    display: block;
    position: inherit;
    left: auto;
    top: auto;
    margin: 25px auto 0;
    max-width: none;
    width: 70%;
  }
  #top .text p {
    font-size: 12px;
  }
  #top .text h1 {
    font-size: 14px;
    margin: 10px 0;
  }
  #top .text h1 span {
    font-size: 17px;
    position: relative;
    top: 1px;
  }
  #top .text .area {
    font-size: 18px;
  }
  #top .text .area small {
    margin-top: 5px;
    font-size: 12px;
  }
  #top .text .announcement {
    font-size: 15px;
    letter-spacing: 0;
  }
  }
  #top .sns {
    /* display: block; */
    display: flex;
    justify-content: center;
    font-size: 0;
    letter-spacing: 0;
    text-align: center;
    margin-top: 30px;
  }
  #top .sns .twitter,
  #top .sns .facebook {
    display: inline-block;
    text-align: center;
    margin: 0 5px;
  }
  #top .sponsor {
    padding-bottom: 12px;
    border-bottom: solid 2px #5bc3ee;
  }
  #top .sponsor .sp {
    display: block;
  }
  #top .sponsor .block {
    margin-top: 25px;
  }
  #top .sponsor .block:nth-of-type(1) a {

  }
  #top .sponsor .block p {
    font-size: 9px;
    margin-bottom: 0;
  }
  #top .sponsor .block .tour_view {
    width: 183px;
  }
  #home-content {
    margin-top: 25px;
  }
  #home-content .left {
    width: auto;
    float: none;
    margin-top: 25px;
  }
  #home-content .right {
    float: none;
    width: auto;
  }
  #home-content .title a {
    font-size: 14px;
    margin-top: 10px;
  }
  #home-content .news {
    margin-top: 25px;
  }
  #home-content .news article {
    margin-top: 15px;
    font-size: 16px;
  }
  #home-content .news article time {
    font-size: 14px;
  }
  .screen {
    display: none;
  }
}


/* ------------------------------
*  キャンセルモーダルウィンドウ
---------------------------------- */
#canModal {
  position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9998;
    top: 0;
    left: 0;
}
#canModal::after {
  content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.8;
    z-index: 9998;
}
.canModal-inner{
  position: fixed;
    display: flex;
    background-color: #fff;
    opacity: 1;
    z-index: 9999;
    width: 90%;
    max-width: 800px;
    height: 85vh;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    padding: 50px 30px;
    box-sizing: border-box;
    overflow-y: scroll;
}
.canModal-wrap + .canModal-wrap {
    margin-top: 50px;
}
.canModal-ttl{
text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.3;
    padding-bottom: 20px;
    border-bottom: 4px solid #5BC3EE;
}
.canModal-txt{
font-size: 14px;
    line-height: 1.6;
}
.canModal-txt._large {
    font-weight: bold;
    text-align: center;
    font-size: 16px;
}
.canModal-txt._right{
  text-align: right;
}
.canModal-txt + .canModal-txt{
margin-top: 20px;
}

.canModal-btn {
    border: 2px solid #5BC3EE;
    width: 30px;
    height: 30px;
    position: absolute;
    left: 30px;
    top: 30px;
    cursor: pointer;
}

.canModal-btn::after {
    content: "";
    position: absolute;
    width: 85%;
    height: 2px;
    background: #5BC3EE;
    transform: rotate(-45deg);
    transform-origin:100% 50%;
    top: calc(20% - 1px);
    right: 19%;
}

.canModal-btn::before {
    content: "";
    align-items: center;
    display: block;
    width: 85%;
    height: 2px;
    background: #5BC3EE;
    transform: rotate(45deg);
    transform-origin:0% 50%;
    position: absolute;
    top: calc(20% - 1px);
    left: 19%;
}


@media screen and (max-width: 767px) {
  .canModal-inner{
    height: 80vh;
    padding: 85px 30px 50px;
}
}
