@charset "UTF-8";
body {
    background: #f1e5d0;
    margin: 0;
}
.nav_top {
    max-width: 1400px;
    height: 20px;
    margin: auto;
    padding-top: 20px;
    box-sizing: border-box;
  }
.nav_footer {
    max-width: 1400px;
    height: 20px;
    margin: auto;
    padding-top: 20px;
    box-sizing: border-box;
}
  .header_ul {
    display: flex;
    justify-content: space-evenly;
    padding: 0;
  }
  .footer_ul {
    display: flex;
    justify-content: space-evenly;
    padding: 0;
  }
  li {
    list-style: none;
    margin: 0px 8px;
    width: 400px;
  }
  li a {
    text-align: center;
    font-size: 21px;
  }
  li:hover {
    background-image: url(img/menu_movie.png);
    background-size: contain;
    background-repeat:  no-repeat;
    background-position:center center;
  }
  li:hover:nth-child(2) {
    background-image: url(img/menu_origin.png);
    background-size: contain;
    background-repeat:  no-repeat;
    background-position:center center;
  }
  li:hover:nth-child(3) {
    background-image: url(img/menu_festival.png);
    background-size: contain;
    background-repeat:  no-repeat;
    background-position:center center;
  }
  li:hover:nth-child(4) {
    background-image: url(img/menu_hyuga.png);
    background-size: contain;
    background-repeat:  no-repeat;
    background-position:center center;
  }
  li:hover:nth-child(5) {
    background-image: url(img/menu_route.png);
    background-size: contain;
    background-repeat:  no-repeat;
    background-position:center center;
  }
  li:hover:nth-child(6) {
    background-image: url(img/menu_hotel.png);
    background-size: contain;
    background-repeat:  no-repeat;
    background-position:center center;
  }
  li a:hover {
    color: rgba(255, 255, 255, 0);
  }
  a {
    display: block;
    text-decoration: none;
    color: black;
  }
p {
    text-align: center;
    width: fit-content;
    margin: auto;
    line-height: 40px;
    letter-spacing: 1px;
    font-size: 18px;
}
img {
    width: 100%;
}
.p_left {
    text-align: left;
    line-height: normal;
    letter-spacing: 0;
    font-size: 18px;
}
h3 {
    font-weight: 700;
    text-align: center;
    font-size: 30px;
}
span {
    color: #e4ca8a;
}
.mainwrap {
    max-width: 1200px;
    margin: auto;
}
.contents_wrap_top {
    margin: 200px 0;
    position: relative;
}
.top_logo {
    position: absolute;
    top: 0;
    left: -140px;
    display: block;
    width: 50%;
}
.contents_wrap {
    margin: 300px 0;
}
.matsuri_wrap {
    margin: 50px auto;
}
.matsuri_wrap_ditail {
    width: 90%;
    margin: 100px auto;
}
.top_p_wrap {
    margin: 200px auto;
}
.p_wrap {
    margin: 50px auto;
}
.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}
.button {
    width: fit-content;
    margin:50px auto;
}
.btn--aka,
a.btn--aka {
  color: #fff;
  background-color: #af1f24;
  margin: auto;
}
.btn--aka:hover,
a.btn--aka:hover {
  color: #fff;
  background: #af1f24;
}
.btn--beige,
a.btn--beige {
  color: #af1f24;
  background-color: #e4ca8a;
  margin: auto;
}
.btn--beige:hover,
a.btn--beige:hover {
  color: #af1f24;
  background: #e4ca8a;
}
.title {
    width: 300px;
    margin: auto;
    display: block;
}
.title2 {
    width: 50%;
    margin: auto;
    display: block;
}
.title_route {
    width: 300px;
    display: block;
}
.title_hotel {
    width: 90%;
    display: block;
}
.subtitle {
    font-size: 25px;
    text-align: center;
    letter-spacing: 10px;
}
.subtitle_left {
    font-size: 25px;
    letter-spacing: 10px;
}
.movie {
    display: block;
    width: 100%;
    margin: 100px auto;
}
.movie:hover {
    opacity: 0.5;
    transition: 0.3s ease-in-out;
}
.kitsune {
    width: 150px;
    margin: auto 0 auto auto;
    display: block;
}
.matsuri {
    position: relative;
}
.okame {
    position: absolute;
    top: 20px;
    left: 70px;
    width: 150px;
}
.hyosuke {
    position: absolute;
    bottom: 0;
    right: 40px;
    width: 150px;
}
.matsuri_img {
    width: 100%;
}
.matsuri_headline {
    width: 130px;
    margin-right: 30px;
}
.matsuri_ditail {
    display: flex;
    margin: 20px auto;
}
.illust {
    width: 95%;
}
.illust2 {
    width: 95%;
    margin: 100px auto;
}

.bg_rerative {
    position: relative;
}
.bg1 {
    position: absolute;
    width: 100vw;
    left: 0;
    top: 0px;
    z-index: -3;
}
.bg1_768 {
    display: none;
}
.bg1_390 {
    display: none;
}
.bg2 {
    position: absolute;
    width: 100vw;
    left: 0;
    top: 2800px;
    z-index: -2;
}
.bg2_390 {
    display: none;
}
.bg3 {
    position: absolute;
    width: 100vw;
    left: 0;
    top: 4700px;
    z-index: -1;
}
.bg3_1530 {
    display: none;
}
.bg3_1280 {
    display: none;
}
.bg3_768 {
    display: none;
}
.bg3_390 {
    display: none;
}
.bg4 {
    position: absolute;
    width: 100vw;
    left: 0;
    top: 7200px;
    z-index: -1;
}
footer {
    height: 200px;
}
@media screen and (max-width: 1530px) {
    .bg3 {
        display: none;
    }
    .bg3_1530 {
        display: inline;
        position: absolute;
        width: 100vw;
        left: 0;
        top: 4700px;
        z-index: -1;
    }
}
@media screen and (max-width: 1280px) {
    .bg3_1530 {
        display: none;
    }
    .bg3_1280 {
        display: inline;
        position: absolute;
        width: 100vw;
        left: 0;
        top: 4700px;
        z-index: -1;
    }
    .top_logo {
        position: absolute;
        top: 0;
        left: 0px;
        display: block;
        width: 40%;
    }
}
@media screen and (max-width: 768px) {
    .bg1 {
        display: none;
    }
    .bg1_768 {
        display: inline;
        position: absolute;
        width: 100vw;
        left: 0;
        top: 0px;
        z-index: -3;
    }
    .bg2 {
        top: 2370px;
    }
    .bg3_1280 {
        display: none;
    }
    .bg3_768 {
        display: inline;
        position: absolute;
        width: 100vw;
        left: 0;
        top: 4000px;
        z-index: -1;
    }
    li a {
        font-size: 18px;
    }
    li {
        list-style: none;
        margin: 0px 8px;
        width: 87px;
    }
    .title2 {
        width: 70%;
        margin: auto;
        display: block;
    }

    body {
        background-color: #fff;
    }
    .bg1_768 {
        display: none;
    }
    .bg1_390 {
        display: inline;
        position: absolute;
        width: 100vw;
        left: 0;
        top: 0px;
        z-index: -3;
    }
    .nav_top {
        display: block;
        position: fixed;
        width: 230px;
        height: 100%;
        background-color: #fff;
        top: 0;
        left: -300px; 
        transition: all 0.5s;
        z-index: 3;
        opacity: 0;
    }
    .header_ul {
        display: block;
    }
    nav .inner {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .header_ul li {
        margin: 0;
        width: 230px;
        border-bottom: 1px solid #333;
    }
    .header_ul li a{
        display: block;
        padding: 16px;
        transition-duration: 0.2s ;
    }
    .toggle-btn {
        display: block;
        position: fixed;
        top: 30px;
        right: 30px;
        width: 30px;
        height: 30px;
        z-index: 3;
        cursor: pointer;
    }
    .toggle-btn span {
        position: absolute;
        display: block;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: #333;
        transition: all 0.5s;
        border-radius: 4px;
    }
    .toggle-btn span:nth-child(1){
        top: 3px;
    }
    .toggle-btn span:nth-child(2){
        top:13px 
    }
    .toggle-btn span:nth-child(3){
        top:23px 
    }
    #mask {
        display: none;
        transition: all 0.5s;
    }
    .open .nav_top{
        opacity: 1;
        left: 0;
    }
    .open  #mask {
        display: block;
        background-color: #000;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: fixed;
        opacity: 0.8;
        cursor: pointer;
        z-index: 2;
    }
    .open .toggle-btn span {
        background-color: #fff;
    }
    .open .toggle-btn span:nth-child(1) {
       transform: translateY(10px) rotate(-315deg); 
    }
    .open .toggle-btn span:nth-child(2) {
        opacity: 0;
     }
     .open .toggle-btn span:nth-child(3) {
        transform: translateY(-10px) rotate(315deg); 
     }
     .footer_ul {
        display: none;
      }
}
@media screen and (max-width: 430px) {

    .bg2 {
        display: none;
    }
    .bg2_390 {
        display: inline;
        position: absolute;
        width: 100vw;
        left: 0;
        top: 2140px;
        z-index: -2;
    }
    .bg3_768 {
        display: none;
    }
    .bg3_390 {
        display: inline;
        position: absolute;
        width: 100vw;
        left: 0;
        top: 3800px;
        z-index: -1;
    }
    .bg4 {
        top: 6530px;
    }
    .btn, a.btn, button.btn {
        font-size: 1rem;
    }
    .top_p_wrap {
        width: 90%;
    }
    p {
        width: 90%;
    }
    .okame {
        top: -200px;
        left: 0px;
    }
    .matsuri_headline {
        width: 70px;
        height: 70px;
        margin-right: 20px;
    }
    .hyosuke {
        bottom: -230px;
    }

}