@media screen and (max-width: 768px) {
  @font-face {
    font-family: りいクッキーお試し;
    src: url('font/RiiCookieRt.otf') format('opentype');
  }
  @font-face {
    font-family: ほのか新アンティーク角Medium;
    src: url('font/Honoka-Shin-Antique-Kaku_M.otf') format('opentype');
  }

  .header {
    display: none;
  }

  .mlheader {
    display: inline-block;
    background-color: #ebdfc8;
    position: fixed;
    top: 0;
    z-index: 99;
    height: 80px;
    width: 100%;
  }

  .mlheader img {
    width: 180px;
    height: 80px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #fff;
  }

  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #000;
    position: absolute;
  }

  .menu-btn span:before {
    bottom: 8px;
  }

  .menu-btn span:after {
    top: 8px;
  }

  #menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    /*メニューオープン時は真ん中の線を透明にする*/
  }

  #menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  #menu-btn-check {
    display: none;
  }

  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #ebdfc8;
  }

  .menu-content ul {
    padding: 70px 10px 0;
  }

  .menu-content ul li {
    border-bottom: solid 1px #000;
    list-style: none;
    font-family: ほのか新アンティーク角Medium ;
    font-weight: bold;
  }

  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #000;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
    padding: 20px;
  }

  .menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #000;
    border-right: solid 2px #000;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 25px;
  }

  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    /*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    transition: all 0.5s;
    /*アニメーション設定*/
    background-color: #ebdfc8;
  }

  #menu-btn-check:checked~.menu-content {
    left: 0;
    /*メニューを画面内へ*/
  }

  .resave {
    background-color: #eb9800;
    border-radius: 45px;
    padding: 0 10px;
    height: 45px;
    width: 223px;
    position: relative;
    top: 20px;
    margin: auto;
  }

  .resave a {
    color: #fff;
    top: 17px;
    left: 30px;
    position: relative;
    text-decoration: none;
    font-family: ほのか新アンティーク角Medium ;
    font-weight: bold;
  }

  .mainvisual {
    display: none;
  }

  .spmainvisual {
    display: block;
    padding-top: 90px;
    text-align: center;
    background-image: url(../images/mainvisual.jpg);
    height: 400px;
    width: 100%;
    background-size: cover;
    font-family: ほのか新アンティーク角Medium ;
    font-weight: bold;
  }

  .spmainvisual h2 {
    position: relative;
    top: 100px;
    font-size: 30px;
    color: #f1ca78;
    -webkit-text-stroke: 1px #fff;
  }

  .eachTextAnime span {
    opacity: 0;
  }

  .eachTextAnime.appeartext span {
    animation: text_anime_on 5s ease-out forwards;
  }

  @keyframes text_anime_on {
    0% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }

  .btn a {
    color: #fff;
    top: 17px;
    position: relative;
    text-decoration: none;
  }

  .btn {
    background-color: #eb9800;
    border-radius: 45px;
    padding: 0 10px;
    height: 45px;
    width: 223px;
    position: relative;
    top: 180px;
    margin: auto;
  }

  .toha {
    text-align: center;
    padding: 10px;
    background-color: #c4942e;
    color: #fff;
    margin-bottom: 5px;
}
.toha h3 {
  font-family: ほのか新アンティーク角Medium ;
  font-weight: bold;
    font-size: 16px;
    padding: 8px;
}
.toha p {
    padding: 10px;
    font-size: 16px;
}

  .access h2 {
    font-size: 18px;
}
.access p {
    font-size: 14px;
}
.flex1 {
    display: block;
    padding: initial;
}
  .syoukai {
    padding: 5px;
    margin-top: 24px;
    margin-bottom: 24px ;
  }

  .syoukai .text {
    font-size: 16px;
    text-align: center;
    padding: 5px;
    float: none;
    margin: 0;
  }


  .douga-box {
    padding: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
    float: none;
    margin: auto;
    max-width: 768px;
  }
  .douga-cut {
    max-width: 768px;
    min-width: 375px;
    margin: 0%;
}

.access h2 {
  background-color: #c4942e;
  color: #fff;
  padding: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 16px;
}


.text1 {
  text-align: center;
  padding: 5px;
}
.text1 p {
  font-size: 14px;
  margin: 16px;
}

  .footer {
    display: none;
  }

  .spfooter {
    display: block;
    text-align: center;
    background-color: #ebdfc8;
    font-size: 8px;
    padding: 10px;
  }
}