@charset "utf-8";
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
img {
  vertical-align: bottom;
}
*,
/* ::before,
::after {
  margin: 0;
  padding: 0;
} */
body {
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #3e3e3e;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
main {
  padding: 0 20px;
}
section {
  padding: 100px 0;
}
a {
  text-decoration: none;
  color: #333333;
}
ul {
  list-style-type: none;
}
h2 {
  font-family: "Shippori Mincho B1", serif;
  font-weight: normal;
  text-align: center;
  font-size: 3.2rem;
  padding: 80px 0 50px;
  margin-bottom: 2.5rem;
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
h2::before,
h2::after {
  content: "";
  display: block;
  flex: 1;
  border-top: 1px solid #333;
}
h2::before {
  margin-right: 4rem;
  margin-left: 300px;
}
h2::after {
  margin-left: 4rem;
  margin-right: 300px;
}
.logotext {
  font-size: 2.4rem;
  display: flex;
  align-items: center;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0px;
  z-index: 2;
  background-color: #ffffff;
  opacity: 0.8;
  left: 0px;
  font-size: 1.8rem;
  width: 100%;
  padding-left: 20px;
}
.mainnavi {
  display: flex;
  padding: 0 20px;
  justify-content: flex-end;
  margin-left: auto;
  margin-right: auto;
}
.mainnavi li {
  margin-right: 1rem;
}
.mainnavi li a {
  padding: 0.5rem 1rem;
  position: relative;
}
.mainnavi a::before {
  width: 0;
  left: 50%;
}
.mainnavi a:hover::before {
  width: 100%;
  height: 3px;
  background-color: #c6e04e;
  content: "";
  position: absolute;
  left: 0px;
  bottom: -5px;
}
.main-visual {
  position: relative;
}
.main-img {
  height: auto;
  max-width: 100%;
  width: 100%;
  position: relative;
  animation: 1.5s fadein;
}
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

h1 {
  font-family: "Shippori Mincho B1", serif;
  writing-mode: vertical-rl;
  font-weight: normal;
  position: absolute;
  right: 5%;
  top: 30%;
  font-size: 3.6rem;
  animation: 1.8s fadein-title;
}
@keyframes fadein-title {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

h1 span {
  font-size: 2rem;
}
.main-comment {
  font-family: "Shippori Mincho B1", serif;
  position: absolute;
  bottom: 5%;
  left: 5%;
}
.intro-flex {
  display: flex;
  width: 70%;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}
.intro-flex p img {
  float: left;
  padding-right: 3rem;
}
.vinegar {
  background-color: #f4f4f4;
  padding-left: 120px;
  padding-right: 120px;
}
.vinegar p img {
  height: auto;
  width: 96%;
}
.vinegar p {
  text-align: left;
}
.vinegar-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 25px;
}
.vinegar-item {
  padding: 50px 1rem 50px;
  margin-top: 20px;
  margin-right: 5px;
  margin-left: 5px;
  margin-bottom: 20px;
  border-radius: 30px;
  background-color: #dfdfdf;
  max-width: 30%;
  min-width: 29%;
}

.vinegar-item h3 {
  text-align: left;
  margin-bottom: 3rem;
  display: inline-block;
  padding-left: 1rem;
  font-size: 1.8rem;
}
.liquid-flex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.liquid-flex p {
  padding-left: 3rem;
}
.liquid a {
  padding: 1rem 2rem;
  border-radius: 15px;
  display: block;
  text-align: center;
  width: 200px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  background-color: #cae358;
  box-shadow: 5px 3px 7px #b8b8b8;
  transition: 1s;
}
.liquid a:hover {
  box-shadow: none;
  background-color: #b6cc54;
  box-shadow: inset 2px 2px 4px #b3b3b37b;
}
.bottle {
  background-color: #f4f4f4;
}
.bottle-flex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.bottle-text {
  padding: 2rem;
  width: 350px;
}
.bottle-text p:nth-child(1) {
  margin-bottom: 50px;
}
footer {
  padding: 80px 0 50px;
  background-color: #cae358;
  text-align: center;
}
footer ul {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  max-width: 1000px;
}
footer ul li {
  padding: 0.5rem 1rem;
  margin-right: 1rem;
}
footer ul li:last-child {
  margin-right: 0rem;
}
footer a:hover {
  color: #ffffff;
}
footer p {
  font-size: 12px;
}
.slick {
  min-width: 100%;
}
.slick img {
  padding: 20px;
}
.gotop-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  opacity: 0.7;
}
.gotop-btn a:hover {
  opacity: 1;
}
.nav-button {
  display: none;
}

@media (max-width: 950px) {
  .mainnavi {
    position: fixed;
    justify-content: flex-start;
    left: 100%;
    top: 0px;
    background-color: rgba(255, 255, 255);
    padding-top: 100px;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: 0.5s;
  }
  .mainnavi li {
    height: 70px;
    background-color: #ffffff;
    opacity: 1;
  }
  .mainnavi a {
    display: inline-block;
    font-size: 1.8rem;
    background-color: #ffffff;
  }
  .nav-button {
    width: 70px;
    height: 50px;
    margin-left: auto;
    position: relative;
    margin-right: 20px;
    display: inline-block;
    z-index: 5;
  }
  .nav-button span {
    width: 30px;
    height: 2px;
    background-color: #3e3e3e;
    position: absolute;
    left: 20px;
    transition: 2s;
  }
  .nav-button span:nth-child(1) {
    top: 12px;
  }
  .nav-button span:nth-child(2) {
    top: 23px;
  }
  .nav-button span:nth-child(3) {
    top: 34px;
  }
  .main-img {
    height: 75vh;
    object-fit: cover;
  }

  .menu-open .mainnavi {
    left: 0px;
    z-index: 2;
  }
  .menu-open .nav-button span:nth-child(1) {
    top: 23px;
    transform: rotate(315deg);
  }
  .menu-open .nav-button span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .menu-open .nav-button span:nth-child(3) {
    top: 23px;
    transform: rotate(-315deg);
  }

  body {
    transition: 5s;
  }

  h1 {
    position: static;
    writing-mode: horizontal-tb;
    line-height: 1.2;
    text-align: center;
    padding-top: 10px;
    font-size: 3.5rem;
  }
  .main-comment {
    position: static;
    text-align: center;
    font-size: 1.2rem;
    margin-top: 0px;
    padding-top: 10px;
  }
  h2 {
    padding-top: 70px;
    display: block;
    font-size: 2.5rem;
  }
  h2::before {
    display: none;
  }
  h2::after {
    display: block;
    margin: 0 auto;
    width: 80px;
    height: 20px;
  }
  section {
    padding: 80px 0px;
    margin-bottom: 80px;
  }

  .introduction {
    padding: 0;
  }
  .intro-flex {
    float: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .intro-flex p img {
    padding-bottom: 3rem;
  }
  .vinegar {
    padding: 0px;
  }
  .vinegar-flex {
    flex-direction: column;
    align-items: center;
  }
  .vinegar-item {
    margin: 2rem 0;
    max-width: 100%;
  }
  .liquid {
    padding: 0px;
  }
  .liquid h2 {
    padding-top: 0px;
  }
  .liquid p {
    padding-top: 50px;
  }
  .liquid a {
    margin-top: -10px;
  }
  .bottle h2 {
    padding-top: 0px;
  }
  .bottle img {
    width: 340px;
    height: auto;
  }
  footer ul {
    flex-direction: column;
  }
  footer a {
    padding: 1rem 0;
  }
}
