:root {
  --dark_color: #412418;
}

* {
  color: var(--dark_color);
  list-style: none;
  font-family: "Roboto", "Noto Sans JP", sans-serif, monospace;
}

body {
  background-image: url(img/bg.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

ul {
  padding-left: 0;
}

p {
  font-size: 16px;
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.7;
  @media (width<= 800px) {
    font-size: 12px;
  }
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
}

.sp {
  display: none;
  @media (width<=800px) {
    display: block;
  }
}

.dead {
  color: #796a6a;
}

.border {
  border: solid #ccc 10px;
  border-image-source: url(img/border.png);
  border-image-slice: 100;
  border-image-width: 40px;
  border-image-outset: 0;

  @media (width<=800px) {
    border-image-width: 20px;
  }
}

.btn {
  display: block;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 60px;
  border: #412418 1px solid;
  box-shadow: #412418 1px 1px 3px;
  background-color: hsla(0, 0%, 100%, 0.4);
  margin-left: auto;
  margin-top: 50px;
  @media (width<=800px) {
    width: 150px;
    height: 40px;
  }
}

.btn:hover {
  background-color: var(--dark_color);
  color: #ccc;
  font-size: 1.2em;
  transition: color 1s ease;
}

h2 {
  text-align: center;
  font-size: 48px;
  font-weight: 300;

  @media (width<=800px) {
    font-size: 28px;
  }
}

#loading {
  width: 100%;
  height: 100%;
  background-color: #412418;
  position: fixed;
  z-index: 10000;
}

.fadein {
  opacity: 0;
}

/* *****header********************************** */

header {
  background-color: #eee7d3a7;
  display: grid;
  position: fixed;
  z-index: 9997;
  width: 100%;
  grid-template:
    "h1 nav" 100px
    /70px auto;
  padding: 0 50px;
  @media (width<=800px) {
    padding: 0 20px;
    grid-template:
      "h1 . hm_menu" 60px
      / 50px auto 50px;
  }

  h1 {
    display: grid;
    place-items: center;
    margin: 0;
    grid-area: h1;
  }

  #h_menu {
    display: contents;
    @media (width<=800px) {
      width: 50px;
      height: 100%;
      display: block;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      grid-area: hm_menu;
      position: relative;
      right: 30px;
      z-index: 9999;
    }

    .bar {
      display: contents;
      @media (width<=800px) {
        display: block;
        width: 30px;
        height: 3px;
        border-radius: 2px;
        background-color: var(--dark_color);
      }
    }
  }

  .close_btn {
    .bar1 {
      translate: 0 -8px;
    }

    .bar3 {
      translate: 0 8px;
    }
  }

  .open_btn {
    .bar2 {
      opacity: 0;
    }

    .bar1 {
      rotate: 45deg;
      transform-origin: top left;
      scale: 1.4;
    }

    .bar3 {
      translate: 0 -14px;
      rotate: 315deg;
      transform-origin: bottom right;
      scale: 1.4;
    }
  }

  #nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    grid-area: nav;
    padding-right: 50px;
    @media (width<=800px) {
      background-image: url(img/bg.jpg);
      width: 100%;
      height: 100vh;
      margin: 0;
      padding: 20vh auto;
      flex-direction: column;
      justify-content: center;
      position: fixed;
      z-index: 9998;
      top: 0;
      left: 0;
      transition-duration: 1s;
      transition-timing-function: ease;
    }

    li {
      a {
        width: 150px;
        display: inline-block;
        padding: auto;
        text-align: center;
        font-size: 24px;
        font-weight: bold;
        @media (width<=800px) {
          padding-top: 1em;
          br {
            display: none;
          }
        }
      }
    }
  }

  .close_menu {
    @media (width<=800px) {
      translate: 100vw 0;
    }
  }

  .open_menu {
    @media (width<=800px) {
      translate: 0;
    }
  }
}

/* *****index********************************** */
.mv {
  width: 100%;
  height: 95vh;
  background-image: url(img/mvpc1.jpg);
  background-size: cover;
  background-repeat: no-repeat;

  @media (width<=800px) {
    background-image: url(img/mvsp1.jpg);
  }
}

.about {
  margin: 200px 0;
}

.about_text {
  background-color: hsla(53, 22%, 92%, 0.9);
  box-sizing: border-box;
  width: 1000px;
  margin-left: 100px;
  padding: 50px 70px;
  position: absolute;
  @media (width<=800px) {
    width: 90%;
    position: static;
    margin: 10px auto;
    padding: 20px;
  }
}

.about_1 {
  position: relative;
  img {
    width: 60%;
    margin-left: auto;
    padding-top: 180px;

    @media (width<=800px) {
      width: 100%;
      padding-top: 10px;
    }
  }
  .about_text {
    top: 50%;
  }
}

.about_2 {
  position: relative;
  margin-top: 400px;
  @media (width<=800px) {
    margin-top: 150px;
  }

  img {
    width: 70%;
    @media (width<=800px) {
      width: 100%;
    }
  }

  .about_text {
    bottom: -50px;
    right: 30px;
  }
}

.menu {
  max-width: 1300px;
  margin: 400px auto 200px;
  padding: 50px 80px 100px;
  @media (width<=800px) {
    margin: 100px 10px;
    padding: 10px 20px;
  }

  .pickup {
    display: grid;
    grid-template:
      "img . h3" 40px
      "img . text" auto
      / 1fr 30px 1fr;
    @media (width<=800px) {
      grid-template:
        "img" auto
        "h3" 15px
        "text" auto
        / auto;
    }

    h3 {
      grid-area: h3;
    }

    .pickup_text {
      grid-area: text;
      padding-top: 2em;
      @media (width<=800px) {
        padding-top: 1.5em;
      }
    }

    img {
      grid-area: img;
      height: 360px;
      @media (width<=800px) {
        height: 240px;
      }
    }
  }

  .another {
    margin: 80px 0;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    @media (width<=800px) {
      margin: 20px;
      gap: 10px;
    }
  }
}

.news {
  max-width: 1200px;
  margin: 200px auto;
  font-size: 20px;

  dl {
    display: grid;
    grid-template-columns: 200px auto;
    @media (width<= 800px) {
      margin: 10px;
      grid-template-columns: 80px auto;
    }

    dt,
    dd {
      height: 40px;
      border-bottom: 1px solid #412418;
      margin-top: 50px;

      @media (width<= 800px) {
        font-size: 12px;
        height: 36px;
        margin-top: 20px;
      }
    }

    dt {
      width: 100%;
      padding-left: 1.5em;
    }

    dd {
      margin-left: 1em;
    }
  }
}

footer {
  background-color: #412418;
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  @media (width<=800px) {
    height: 80px;
  }

  p {
    color: white;
    text-align: center;
  }
}
