@charset "utf-8";

@media(min-width: 800px) {

  /* 共通レイアウトはこちらから */

  header>a {
    width: 10%;
  }

  h2{
    margin: 50px 0;
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
    margin-bottom: 60px;
  }

  h4{
    font-size: 23px;
  }

  .nav {
    grid-row: initial;
  }

  .nav_content {
    position: static;
    padding: 0 30px;
    background-color: initial;
  }

  .nav_content ul {
    display: flex;
    justify-content: space-around;
  }

  .drawer_open {
    display: none;
  }

  .ja {
    text-align: center;
  }

  footer {
    background-size: contain;
  }

  footer p {
    font-size: 0.6rem;
  }

  footer span {
    font-size: 1rem;
  }

  footer span img {
    width: 1.6rem;
    height: 1.6rem;
  }

  .footer_logo p img {
    width: 10%;
  }

  /* 共通レイアウトはここまで */

  /* HOMEはここから */

  #home {
    background-image: url(../images/web_top.png);
    background-position: center;
    aspect-ratio: 2/1;
    margin: 30px 50px;
  }

  .table {
    width: 45%;
    top: 0;
    left: 10%;
  }

  .yayoi {
    width: 30%;
    bottom: 0;
    left: 43%;
  }

  .marth {
    width: 30%;
    top: 10%;
    right: 5%;
    rotate: 10deg;
  }

  .teavel {
    width: 13%;
    right: 10%;
    bottom: 2%;
  }

  .menu {
    display: block;
    text-align: center;
  }

  .book {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding-bottom: 45%;
    margin: 50px auto 0;
  }

  .page {
    position: relative;
  }

  .thema {
    width: 100%;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
    padding: 10px;
    margin: 0;
    text-decoration: underline dotted #946134 3px;
    text-underline-position: under;
  }

  .page img {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    width: 101%;
  }

  .click {
    display: block;
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-size: 0.7rem;
  }

  .book input {
    display: none;
  }

  .top {
    background-image: url(../images/booktop.png);
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: -2px 0 0 0 #946134, -1px 4px 1px 1px rgba(0, 0, 0, .2), 20px 0 20px 0 rgba(0, 0, 0, 0);
  }

  .last {
    background-image: url(../images/booklast.png);
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: -2px 0 0 0 #946134, -1px 4px 1px 1px rgba(0, 0, 0, .2), 20px 0 20px 0 rgba(0, 0, 0, 0);
  }

  .book input~.teavel_book {
    transition: 1.5s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    width: 39%;
    height: 80%;
    background-color: #f8f8e8;
    border: 2px solid #946134;
    padding: 40px 0;
  }

  .book input+.teavel_book {
    left: 50%;
    transform-origin: left;
    transform: perspective(1500px) rotateY(0deg);
  }

  .book input+.teavel_book+.teavel_book {
    right: 50%;
    transform-origin: right;
    transform: perspective(1500px) rotateY(180deg);
  }

  .book input:checked+.teavel_book {
    transform: perspective(1500px) rotateY(-180deg);
  }

  .book input:checked+.teavel_book+.teavel_book {
    transform: perspective(1500px) rotateY(0deg);
  }



  /* HOMEはここまで */


  /* STORYはここから */

  .mb {
    display: none;
  }

  .web {
    display: block;
    width: 80%;
    margin: auto;
  }

  #story {
    width: 70%;
    margin: auto;
    margin-bottom: 30px;
  }

  .story-marth {
    width: 30%;
  }

  .story-yayoi {
    width: 30%;
  }

  .story-teavel {
    width: 7rem;
    margin-top: 20px;
    margin-right: 20px;
  }

  /* STORYはここまで */


  /* TEATRAVELはここから */

  .worldmap {
    display: block;
    width: 85%;
    margin: auto;
  }

  /*--------------------------------------
  モーダル表示
--------------------------------------*/

  h5 {
    font-size: 23px;
  }

  .sweets p,
  .tea p {
    font-size: 1rem;
  }

  #teatravel {
    position: relative;
  }

  .modal_content {
    width: 65%;
    padding: 30px 30px 15px;
    line-height: 1.5em;
  }

  .open_button {
    background-color: rgb(252, 243, 230);
    border: 2px solid #fff;
    font-size: 12px;
    color: #42210b;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
  }

  .taiwan {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 41%;
    left: 41%;
  }

  .australia {
    position: absolute;
    transform: translate(-50%, -50%);
    bottom: 23%;
    left: 44%;
  }

  .america {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 30%;
    right: 28%;
  }

  .canada {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 40%;
    right: 27%;
  }

  .brazil {
    position: absolute;
    transform: translate(-50%, -50%);
    bottom: 27%;
    right: 17%;
  }

  .europe {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 30%;
    left: 20%;
  }

  .philippines {
    position: absolute;
    transform: translate(-50%, -50%);
    bottom: 35%;
    right: 47%;
  }

  .thailand {
    position: absolute;
    transform: translate(-50%, -50%);
    bottom: 38%;
    left: 35%;
  }

  .next,
  .prev {
    font-size: 0.9rem;
  }

  .btn {
    display: inherit;
    margin: 0;
    width: inherit;
  }

  .flag {
    display: none;
  }

  .btn_contents {
    margin: 0;
  }

  /* TEATRAVELはここまで */

  /* EVENT・NEWSはここから */

  #events {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 85%;
    margin: auto;
  }

  #events div {
    width: 95%;
    margin: auto;
    margin-bottom: 70px;
  }

  figcaption {
    font-size: 17px;
  }

  #news {
    width: 80%;
    margin: auto;
  }

  .news-contents li {
    padding-bottom: 15px;
    display: inherit;
    font-size: 0.9rem;
  }

  /* EVENT・NEWSはここまで */

  /* INFOはここから */

  .location {
    width: 70%;
    margin: 50px auto;
  }

  .location-info {
    width: fit-content;
    padding: 0;
  }

  .gallery {
    width: 90%;
    margin: auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .pic3 {
    grid-row: 1/3;
    height: 92%;
  }

  .pic5 {
    grid-column: 4/5;
    grid-row: 2/3;
  }

  .pic4,
  .pic5,
  .pic7 {
    height: 85%;
  }

  .pic2 {
    height: 100%;
  }

  /* INFOはここまで */

  .Form {
    max-width: 50%;
  }

  .Form-Item {
    display: flex;
    align-items: center;
    margin: auto;
  }

  .Form-Item-Label {
    max-width: 35%;
    margin-bottom: 0;
  }

  .Form-Item-Label.isMsg {
    margin-bottom: 0;
  }
}