@charset "UTF-8";
/* ========================================
    common
        サイト全体の設定、定義など
======================================== */
.header_top {
  padding-top: 15px;
}

.site_title_top {
  margin-top: 0;
}

.background-hack {
  background-color: #edce02;
  background-image: url("/images/top/newrakugaki/base.jpg");
}

@media screen and (min-width: 768px) {
  .background-hack {
    height: 720px;
    background-size: 900px;
    background-position: center bottom;
  }
}

@media screen and (max-width: 1023px) and (min-width: 768px) and (orientation: portrait) {
  .background-hack {
    height: 800px;
    background-size: 1000px;
    background-position: bottom center;
  }
}

@media screen and (max-width: 767px) {
  .background-hack {
    top: 0;
    height: 480px;
    z-index: -1;
    background-size: 600px;
    background-position: bottom center;
  }
}

.enjoy1 {
  height: 850px;
  /* background-image: url("/images/top/newrakugaki/naotaro_cap.png"); */
}

@media screen and (min-width: 768px) {
  .enjoy1 {
    margin-top: -64px;
    background-size: 900px;
  }
}

@media screen and (max-width: 767px) {
  .enjoy1 {
    position: absolute;
    top: 80px;
    height: 402px;
    background-size: 600px;
  }
}

@media screen and (max-width: 1023px) and (min-width: 768px) and (orientation: portrait) {
  .enjoy1 {
    margin-top: -15px;
    background-size: 1000px;
  }
}

.enjoy2 {
  /* background-image: url("/images/top/newrakugaki/naotaro_fire.png"); */
}

@media screen and (min-width: 768px) {
  .enjoy2 {
    background-size: 900px;
  }
}

@media screen and (max-width: 767px) {
  .enjoy2 {
    background-size: 600px;
  }
}

@media screen and (max-width: 1023px) and (min-width: 768px) and (orientation: portrait) {
  .enjoy2 {
    background-size: 1000px;
  }
}

.enjoy3 {
  /* background-image: url("/images/top/newrakugaki/naotaro_mask.png"); */
}

@media screen and (min-width: 768px) {
  .enjoy3 {
    background-size: 900px;
  }
}

@media screen and (max-width: 767px) {
  .enjoy3 {
    background-size: 600px;
  }
}

@media screen and (max-width: 1023px) and (min-width: 768px) and (orientation: portrait) {
  .enjoy3 {
    background-size: 1000px;
  }
}

@media screen and (min-width: 768px) {
  #slide1 {
    height: 610px;
  }
}

@media screen and (max-width: 767px) {
  #slide1 {
    box-sizing: border-box;
    height: 480px;
  }
}

@media screen and (max-width: 1023px) and (min-width: 768px) and (orientation: portrait) {
  #slide1 {
    height: 800px;
  }
}

#slide7 {
  background-color: #edce02;
  background-image: none;
}

@media screen and (min-width: 768px) {
  #slide7 {
    height: 600px;
    background-size: 846px;
    background-position: bottom center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
  }
}

@media screen and (max-width: 767px) {
  #slide7 {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: -1;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
    background-size: 500px;
    background-position: bottom center;
  }
}

@media screen and (max-width: 1023px) and (min-width: 768px) and (orientation: portrait) {
  #slide7 {
    overflow: hidden;
    height: 700px;
    background: #edce02;
  }
}



  #slide7.active {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }


#slide7 img {
  display: none;
}

@media screen and (max-width: 767px) {
  #slide7 img {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 450px;
    max-width: none;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}

@media screen and (max-width: 1023px) and (min-width: 768px) and (orientation: portrait) {
  #slide7 img {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1000px;
    max-width: none;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}

@media screen and (min-width: 768px) {
  #footer {
    height: auto;
    margin-bottom: 600px;
  }
}
@media screen and (max-width: 767px) {
  #footer {
    height: auto;
    margin-bottom: 70vh;
  }
}

@media screen and (max-width: 1023px) and (min-width: 768px) and (orientation: portrait) {
  #footer {
    height: auto;
  }
}

