/*タブレット用*/
@media all and (max-width: 1024px) {
  header {
    padding: 0px 5px;
    height: 120px;
  }

  header.scroll-nav {
    height: 80px;
  }

  .header-logo {
    width: 60%;
    padding-top: 20px;
    padding-left: 10px;
  }

  .logo-scroll-nav {
    height: 100%;
    width: 45%;
    transition: 0.5s;
    padding: 10px 0px 0px 5px;
  }

  header .icon-scroll-nav {
    transform: scale(0.7) translateY(-29px);
  }

  .menu-item {
    display: none;
  }

  .list-scroll-nav {
    display: none;
  }

  .popup-menu {
    display: block;
  }

  #nav {
    height: 600px;
    display: block;
  }

  #nav ul {
    font-size: 25px;
    height: 100%;
  }

  #nav li {
    display: block;
    height: 20%;
  }

  #menu-icon {
    display: block;
  }

  .menu-icon {
    display: block;
    top: 35px;
    right: 25px;
    width: 65px;
    height: 50px;
  }

  .inner_line {
    display: block;
    width: 65px;
    height: 8px;
    background-color: rgba(19,134,144,1);
    border-radius: 8px;
  }

  #line2 {
    top: 21px;
  }

   main {
     height: 8000px;
   }

   .container {
     display: none;
   }

   .top-wrapper {
     height: 816px;
   }

  .top-wrapper:before {
     display: none;
   }

  #main-slide {
    display: none;
  }

  .movie {
    display: block;
    height: 816px;
    background-color: black;
  }

  h1 {
    font-size: 32px;
  }

  .btn {
    width: 25%;
    height: 50px;
    font-size: 16px;
    padding: 12px 0px;
  }

  .page-text {
    font-size: 16px;
  }

  .contents-img {
    height: 500px;
    width: 80%;
    padding: 0;
    margin: 15px auto;
  }

  .contents {
    height: 4000px;
  }

  .contents-left {
    width: 50%;
    height: 100%;
  }

  .contents-right {
    width: 50%;
    height: 100%;
  }

  .container-right {
    padding-right: 0px;
  }

  .top-wrapper:before {
    height: 211px;
  }

  .contents1 {
    margin-top: 150px;
    height: 1200px;
  }

  .contents1-right {
    height: 450px;
    padding-top: 65px;
  }

  .contents2 {
    height: 1350px;
  }

  .contents2-text {
    height: 600px;
    padding-bottom: 0;
  }

  .contents2-right {
    padding-top: 55px;
  }

  .btn-contents2 {
    margin-bottom: 30px;
  }

  .contents2-img-responsive {
    display: none;
  }

  .contents3 {
    height: 1400px;
    margin: 0;
  }

  .contents3-left {
    padding-top: 75px;
  }

  .sns-icon {
    font-size: 45px;
    letter-spacing: 5px;
  }

  .calendar {
    margin-left: 160px;
  }

  .sponsored {
    height: 600px;
  }

  .ad {
    width: 40%;
    float: left;
    margin: 0px 110px;
  }

  .form-title {
    font-size: 20px;
  }

  .form-tag {
    width: 50%;
  }

  .form-desc {
    width: 50%;
  }

  footer {
    height: 500px;
    padding: 0;
    margin: 0;
  }

  .footer-left {
    width: 50%;
    padding-top: 30px;
    padding-left: 30px;
  }

  .footer-right {
    height: 300px;
    width: 50%;
  }

  .footer-logo {
    width: 160px;
  }

  .footer-text {
    padding-top: 30px;
    width: 100%;
  }

  .privacy-policy {
    padding-left: 60px;
  }

  .map {
    padding-top: 160px;
  }

}



/*スマホ用*/
@media all and (max-width: 670px) {

  header {
    padding: 0px 5px;
    height: 60px;
  }

  header.scroll-nav {
    height: 50px;
  }

  .header-logo {
    width: 75%;
    padding-top: 12px;
    padding-left: 5px;
  }

  .logo-scroll-nav {
    height: 100%;
    width: 70%;
    transition: 0.5s;
    padding: 10px 0px 0px 5px;
  }

  .menu-item {
    display: none;
  }

  .list-scroll-nav {
    display: none;
  }

  .popup-menu {
    display: block;
  }

  #menu-icon {
    display: block;
  }

  header .icon-scroll-nav {
    top: 30px;
  }

  .menu-icon {
    display: block;
    top: 15px;
    right: 10px;
    width: 40px;
    height: 30px;
  }

  .inner_line {
    display: block;
    width: 40px;
    height: 5px;
    background-color: rgba(19,134,144,1);
    border-radius: 8px;
  }

  #line2 {
    top: 12px;
  }

  #nav {
    width: 60%;
    right: -60%;
    height: 320px;
  }

  #nav a {
    padding: 10px 15px;
  }

  .inner_line {
    display: block;
  }

  #nav ul li {
     font-size: 14px;
   }

   header .line_1 {
     transform: translateY(12px) rotate(-45deg);
     top: 0;
     background-color: rgba(255,255,255,0.8);
   }

   header .line_2 {
     opacity: 0;
     background-color: rgba(255,255,255,0.8);
   }

   header .line_3 {
     transform: translateY(-12px) rotate(45deg);
     bottom: 0;
     background-color: rgba(255,255,255,0.8);
   }

   main {
     height: 4900px;
   }

   .container {
     display: none;
   }

   .top-wrapper {
     height: 331px;
   }

  .top-wrapper:before {
     display: none;
   }

  #main-slide {
    display: none;
  }

  .movie {
    display: block;
    height: 331px;
  }

  h1 {
    font-size: 20px;
  }

  .btn {
    width: 70%;
    height: 30px;
    font-size: 14px;
    padding: 2px 0px;
  }

  .page-text {
    font-size: 10px;
  }

  .contents-img {
    height: 250px;
    width: 75%;
    padding: 0;
    margin: 15px auto;
  }

  .contents {
    height: 2700px;
  }

  .contents-left {
    width: 100%;
    padding: 0;
  }

  .contents-right {
    width: 100%;
    padding: 0;
  }

  .container-right {
    padding-right: 0px;
  }

  .top-wrapper:before {
    height: 211px;
  }

  .contents1 {
    margin-top: 80px;
    height: 780px;
  }

  .contents1-text {
    padding-bottom: 30px;
  }

  .contents1-right {
    height: 370px;
  }

  .contents2 {
    height: 900px;
  }

  .contents2-text {
    height: 450px;
  }

  .contents2-left {
    display: none;
  }

  .contents2-right {
    bottom: 300px;
  }

  .btn-contents2 {
    margin-bottom: 30px;
  }

  .contents2-img-responsive {
    display: block;
  }

  .contents3 {
    height: 900px;
  }

  .contents3-text {
    padding-bottom: 30px;
  }

  .contents3-right {
    padding-top: 20px;
    height: 300px;
  }

  main.contents3-img {
    height: 250px;
  }

  .sns-icon {
    letter-spacing: 3px;
    font-size: 28px;
  }

  .calendar {
    width: 75%;
    height: 350px;
    margin-left: 12.5%;
    margin-top: 20px;
  }

  .sponsored {
    height: 350px;
  }

  .ad {
    width: 45%;
    float: left;
    margin: 0px 37px;
  }

  .ad-text {
    margin-top: 75px;
  }

  form h3 {
    font-size: 16px;
  }

  form p {
    font-size: 12px;
  }

  .form-tag {
    width: 70%;
  }

  .form-desc {
    width: 70%;
    font-size: 12px;
  }

  footer {
    height: 800px;
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 14px;
  }

  .footer-left {
    width: 100%;
    float: none;
    padding-top: 20px;
    padding-left: 0px;
  }

  .footer-right {
    height: 300px;
    width: 100%;
  }

  .footer-logo {
    width: 115px;
    height: 56px;
    margin-left: 15px;
  }

  .footer-text {
    width: 100%;
    padding-top: 0;
  }

  .footer-title {
    float: none;
  }

  .address-text {
    padding: 0;
  }

  .address-text p {
    padding: 0;
  }

  .mail-address {
    float: none;
  }

  .member-title {
    float: none;
  }

  .mail-text {
    padding: 0;
  }

  .mail-text a {
    padding: 0;
  }

  .member-name {
    padding: 0;
    float: none;
  }

  .privacy-policy {
    padding-left: 0;
  }

  .map {
    padding-top: 50px;
  }

}
