body {
  font-family: 'Noto Serif JP', serif;
}

header,
#news,
.products-title,
.adress,
.footer-menu,
.footer-link {
  writing-mode: vertical-rl;
}

main {
  background-color: #e6e2d7;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

li {
  list-style: none;
  margin-left: 26.04%;
  font-size: 1rem;
  width: 16px;
}

#news,
#products-1,
#products-2 {
  max-width: 1024px;
}

header {
  height: 100vh;
  width: 100%;
  position: relative;
  background-image: url(img/mainvisual-pc.jpg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.logo {
  position: absolute;
  top: 10%;
  right: 5.71%;
  width: 40px;
  height: 91.57px;
}

.header-menu {
  position: absolute;
  top: 10%;
  right: 12.86%;
}

.button {
  position: absolute;
  left: 2.9%;
  top: 53%;
  width: 68px;
  height: 40%;
  color: #ffffff;
  background-color: #cccccc;
}

button {
  width: 52px;
  height: 96%;
  color: #ffffff;
  border: solid 1px #ffffff;
  margin: 8px;
  letter-spacing: 1rem;
}

header,
a,
.explain-1 p,
.explain-2 p,
footer {
  color: #ffffff;
}

a {
  text-decoration: none;
}

#news {
  width: 45%;
  height: auto;
  margin: 0 14.79% 180px 40%;
  padding-top: 180px;
}

.news {
  width: 73.8%;
  margin-top: 80px;
}

.news-title {
  height: 160px;
  margin-left: 27.32%;
}

.news-title h6 {
  font-size: 0.875rem;
}

.news-title h1 {
  font-size: 2.25rem;
  letter-spacing: 4px;
}

.news h6 {
  border-right: solid 1px #000000;
  font-size: 0.75rem;
  padding: 15px 4.92% 0 0;
}

.news-five {
  border-left: solid 1px #000000;
}

.news p {
  padding: 15px 4.64% 15px 8.2%;
}

#products-1,
#products-2 {
  display: flex;
  justify-content: center;
  margin-bottom: 160px;
}

#products-1 {
  margin-left: 22.03%;
}

#products-2 {
  margin-right: 22.03%;
}

.products-title {
  display: flex;
  align-content: start;
  width: 3.125%;
  line-height: 3.125%;
}

.products-title h1 {
  font-size: 2rem;
  margin-bottom: 4.23%;
  text-align-last: justify;
}

.products-title h6 {
  font-size: 0.875rem;
}

.pt-1 {
  margin-left: 0.98%;
  height: 36.39%;
}

.pt-1 h1 {
  height: 65.88%;
}

.pt-2 {
  margin-right: 3.9%;
  height: 38.39%;
}

.pt-2 h1 {
  height: 62.5%;
}

.products-1,
.products-2 {
  position: relative;
  width: 62.4%;
  height: 80.22%;
  margin-top: 100px;
}

.products-img {
  width: 100%;
}

.explain-1 {
  background-color: #f9e906;
  opacity: 0.6;
  width: 56%;
  height: 34.27%;
  display: flex;
  align-items: center;
  position: absolute;
  left: -20px;
  bottom: -20px;
}

.explain-1 p {
  margin: 0 auto 0 auto;
}

.explain-2 {
  background-color: #952a26;
  opacity: 0.6;
  width: 56%;
  height: 34.27%;
  display: flex;
  align-items: center;
  position: absolute;
  right: -20px;
  bottom: -20px;
}

.explain-2 p {
  margin: 0 auto 0 auto;
}

#map {
  background-color: #cccccc;
  width: 100%;
  height: 450px;
}

iframe {
  width: 100%;
  height: 100%;
}

footer {
  background-color: #000000;
  width: 100%;
  height: 498px;
  position: relative;
}

#footer {
  width: 100%;
  height: 91.2%;
}

.footer-logo {
  position: absolute;
  right: 5.7%;
  top: 80px;
  width: 40px;
  height: 91.57px;
}

.adress {
  text-orientation: upright;
  position: absolute;
  height: 364px;
  top: 80px;
  right: 12.9%;
  font-size: 0.875rem;
}

.footer-menu {
  position: absolute;
  top: 80px;
  right: 20%;
}

.footer-menu li {
  margin-right: 26.04%;
}

.footer-link {
  position: absolute;
  top: 80px;
  left: 2.14%;
  font-size: 0.875rem;
}

.copyright {
  text-align: center;
  margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
  .news-sub {
    display: none;
  }

  header {
    background-image: url(img/mainvisual-sp.jpg);
    padding: 20px;
  }

  .logo {
    position: absolute;
    top: 3.33%;
    right: 5.33%;
  }

  .header-menu {
    position: absolute;
    top: 3.33%;
    right: 41.87%;
  }

  .button {
    position: absolute;
    left: 20px;
    bottom: 54.67%;
  }

  #news {
    padding-top: 80px;
    width: 68.8%;
    margin: 0 5.33% 80px 25.87%;
  }

  .news {
    margin-top: 20px;
  }

  .news-title {
    margin-left: 8%;
  }

  .news-title h1 {
    font-size: 1.75rem;
  }

  .news h6 {
    padding-right: 4.2%;
  }

  .news p {
    padding: 15px 0 15px 4.2%;
  }

  .news-three {
    border-left: solid 1px #000000;
  }

  #products-1,
  #products-2 {
    max-width: 768px;
    margin: 0 20px 80px 20px;
  }

  #products-1 {
    margin-right: 30px;
  }

  .products-1,
  .products-2 {
    width: 100%;
    margin-top: 70px;
  }

  .products-title {
    height: 18.15%;
  }

  .products-title h1 {
    font-size: 1.5rem;
    height: 100%;
  }

  .pt-1 {
    margin-left: 10px;
  }

  .pt-2 {
    margin-right: 20px;
  }

  .products-title h6 {
    display: none;
  }

  .footer-logo {
    position: absolute;
    top: 40px;
    right: 5.33%;
  }

  .adress {
    position: absolute;
    top: 40px;
    right: 22.67%;
  }

  .footer-menu {
    position: absolute;
    top: 40px;
    right: 40.8%;
  }

  .footer-menu li {
    font-size: 0.875rem;
    margin-right: 11.9%;
    margin-left: 11.9%;
  }

  .footer-link {
    position: absolute;
    top: 40px;
    left: 5.33%;
  }
}