
/*タブレット*/
@media screen and (max-width: 1024px){
  .header {
    height: 117px;
  }
  .download, .contact , .header_navi {
    display: none;
  }
  .header_wrapper {
    justify-content: center;
    position: relative;
  }
  .burger {
    position: absolute;
    right: 15px;
    margin-top: 45px; 
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-image: url(../images/menu.svg);
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
  }
  .burger:hover {
    background-image: url(../images/menu_hv.svg);
  }
  .menu {
    width: 90vw;
    height: 90vh;
    background-color: rgb(0, 0, 0 ,0.8);
    color: #ffffff;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1;
    font-size: 2rem;
    padding: 50px 70px 0;
    line-height: 2.5;
    display: none;
  }
  .menu li {
    border-bottom: 0.5px dotted #ffffff;
  }
  .menu.is-active {
    display: block;
  }
  .burger.is-active {
    background-image: url(../images/close.svg);
  }
  .carousel img {
    width: 100%;
    height: 40vw;
    object-fit: contain;
  }
  .carousel {
    margin-top: 10px;
  }
  .slick-prev::before {
    content: none; 
  }
  .slick-next::before {
     content:none;
  }
  .slogan h2 {
    background-image: url(../images/slogan_sp.png);
    margin: 60px auto 40px;
    background-size: contain;
    background-repeat: no-repeat;
    height: 107px;
    width: 263px;
  }
  .photo_wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto 40px;
    justify-content: space-around;
  }
  .photo_frame {
    margin-top: 20px;
  }
  #page_top {
    position: fixed;
    right: 100px;
    bottom: 20px;
    padding: 0 50px 10px 0; 
  }
  .main_contents1 {
    display: block;
    margin: 0 auto;
    max-width: 600px;
  }
  .news_bg {
    background-image: url(../images/news_bg_tb.png);
    width: 595px;
    height: 237px;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    margin-top: 10px;
  }
  .news_bg ul {
    width: 500px;
    font-size: 18px;
    position: absolute;
    top: 35px;
    left: 40px;
    line-height: 53px;
   }
   .lunch {
     text-align: right;
     margin-right: 80px;
   }
   .lunch img {
     width: 320px;
   }
   #more_btn {
     position: absolute;
     left: 450px;
   }
  #about {
    max-width: 575px;
    margin: 30px auto 0;
  }
  .main_contents2 {
    display: block;
  }
  .about_wrapper dl {
    max-width: 450px;
  }
  #access {
    max-width: 575px;
    margin: 0 auto;
  }
  .banner_pc {
    max-width: 490px;
    margin: 15px auto;
    display: flex;
    flex-direction: column;
  }
  .banner_pc img {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  #site_map {
    max-width: 400px;
  }
  .f_navi {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-weight: bold;
    line-height: 1.6;
  }
  .f_navi li {
    margin-right: 20px;
    margin-bottom: 10px;
  }
  .info {
    max-width: 590px;
  }
  #page_top {
    position: fixed;
    right: 0px;
    bottom: 20px;
    padding: 0 5px 5px 0;
    transform: translateY(120px); 
  }
}

/*モバイル*/
@media (max-width: 599px) {
  .burger {
    width: 40px;
    height: 40px;
    margin-top: 15px;
  }
  h1 img {
    margin-right: 10px;
  }
  .carousel img {
    width: 100%;
    height: 65vw;
    object-fit: contain;
  }
  .slogan {
    margin-left: 20px;
  }
  .slogan h2 {
    margin: 40px auto 15px;
    height: 107px;
    width: 263px;
  }
  .photo_wrapper {
    max-width: 425px;
    margin: 0 auto 40px;
    justify-content: space-evenly;
  }
  .photo_frame {
    width: 150px;
    height: 135px;
  }
  .photo img {
    width:128px;
    padding-top: 11px;
    margin: 0 auto 10px;
  }
  .photo figcaption {
    font-size: 18px;
  }
  .main_contents1 {
    display: block;
    margin: 0 auto;
    max-width: 334px;
  }
  .news_bg {
    background-image: url(../images/news_bg_sp.png);
    position: relative;
    width: 334px;
    margin: 0 0 20px 0;
  }
  .news_bg ul {
    width: 300px;
    font-size: 16px;
    position: absolute;
    top: 35px;
    left: 18px;
    line-height: 53px;
  }
  #more_btn {
    position: absolute;
    top: 210px;
    left: 190px;
  }
  .about_wrapper {
    display: block;
  }
  #news h3 {
    margin: 0 0 5px 0;
  }
  h3 {
    text-align: center;
  }
  #about {
    max-width: 350px;
    margin: 30px auto 0;
  }
  .about_img1 img{
    max-height: 100px;
    width: auto;
    margin-top: 0px;
    margin-bottom: 15px;
  }
  .about_img2 {
    text-align: right;
  }
  .about_img2 img {
    margin: 10px 0 0 0;
    width: auto;
    max-height: 100px;
  }
  #access {
    max-width: 337px;
    margin: 0 auto;
    padding-left: 13px;
  }
  .banner_pc {
    display: none;
  }
  .banner_sp {
    display: block;
    width: 302px;
    margin: 20px auto;
  }
  .banner_sp img {
    margin: 10px;
  }
  #site_map {
    max-width: 320px;
  }
  .info {
    max-width: 320px;
  }
  .info img {
    width: 100px;

  }
  }
