/* nav */
nav {
  justify-content: space-between;
  width: 100%;
  height: 50px;
  margin: 10px auto;
}

nav img {
  max-width: 50px;
}

nav.flex {
  align-items: center;
  justify-content: end;
}

nav .flex {
  gap: 30px;
}

nav.flex .flex {
  gap: 5px;
  position: fixed;
  right: 16px;
}

nav.flex ul.flex {
  display: none;
  gap: 20px;
}

nav ul li {
  font-size: 1.6rem;
}
@media screen and (min-width: 768px) {
  nav {
    height: 85px;
  }

  nav img {
    max-width: 85px;
  }
  nav.flex {
    gap: 80px;
  }
  nav.flex .flex {
    gap: 10px;
    position: relative
  }
  nav.flex ul.flex {
    min-width: 450px;
  }
}

@media screen and (min-width: 896px) {}

@media screen and (min-width: 1100px) {
  nav.flex ul.flex {
    display: flex;
  }
}

@media screen and (min-width: 1110px) {}

/* HUMBERGER BUTTON */
.hamburger {
  display: block;
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease;
  z-index: 1020;
}

.hamburger:focus {
  outline: none;
}

.hamburger__line {
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hamburger__line:first-child {
  transform-origin: left;
  top: 11px;
}

.hamburger__line:last-child {
  transform-origin: right;
  top: 29px;
}

.hamburger[aria-expanded="true"] .hamburger__line:first-child {
  transform: rotate(45deg);
  left: 12px;
  top: 7px;
}

.hamburger[aria-expanded="true"] .hamburger__line:last-child {
  transform: rotate(-45deg);
  top: 7px;
  left: 3px;
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
  background-color: transparent;
}

.hamburger[aria-expanded="true"] {}

@media screen and (min-width: 768px) {
  .hamburger {
    width: 50px;
    height: 50px;
  }

  .hamburger__line {
    width: 40px;
    height: 2px;
  }

  .hamburger__line:first-child {
    top: 13px;
  }

  .hamburger__line:last-child {
    top: 38px;
  }

  .hamburger[aria-expanded="true"] .hamburger__line:first-child {
    transform: rotate(45deg);
    left: 12px;
    top: 10px;
  }

  .hamburger[aria-expanded="true"] .hamburger__line:last-child {
    transform: rotate(-45deg);
    top: 10px;
    left: 2px;
  }
}

@media screen and (min-width: 896px) {}

@media screen and (min-width: 1030px) {}

@media screen and (min-width: 1100px) {
  .hamburger {
    display: none;
  }
}


/* BUTTON */
button {
  background-color: #8A7A61;
  display: block;
  color: #ffffff;
  height: 45px;
  padding: 0 30px;
  line-height: 45px;
  border-radius: 3px;
  font-size: 1.5rem;
  font-weight: 700;
  width: 90%;
  margin: auto;
}

button a {
  color: #ffffff;
  display: block;
  font-size: 1.4rem;
}

nav button {
  display: none;
}

button.popup {
  width: 46px;
  height: 46px;
  line-height: 2.8rem;
  border-radius: 46px;
  font-size: 2.8rem;
  padding: 0;
  color: #8A7A61;
  border: 1px solid #8A7A61;
  background-color: transparent;
  min-width: auto;
  margin: 0 auto;
  display: block;
}
button.popup a {
  color: #8A7A61;
}
@media screen and (min-width: 768px) {
  button {
    height: 50px;
    padding: 0 30px;
    line-height: 50px;
    border-radius: 3px;
    font-size: 1.6rem;
    font-weight: 700;
    width: 360px;
  }
  
  nav button {
    display: block;
    height: 50px;
    line-height: 50px;
    width: 250px;
    background-color: rgba(255,255,255,.2);
  }
}

@media screen and (min-width: 896px) {}

@media screen and (min-width: 1030px) {}

@media screen and (min-width: 1110px) {}

/* SWIPER */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  object-fit: cover;
}
.voice .swiper-slide {
  height: auto;
}
.voice .swiper-slide {
  min-height: 600px;
}
:root {
  --swiper-theme-color: #8A7A61!important;
}

/* TRIANGLE */
.triangle_01 {
  position: absolute;
  z-index: 100;
  width: 60%;
  top: 0;
  left: 0;
}

.triangle_02 {
  position: absolute;
  z-index: 100;
  bottom: 0;
  left: 0;
}


/* FORM */
input[type='text'],
input[type='email'],
input[type='submit'],
select,
textarea {
  width: 100%;
  line-height: 40px;
  background-color: #ffffff;
  border: 2px solid #373737;
  text-indent: 20px;
  border-radius: 5px;
}

/* YOUTUBE */
.md_youtube {
  position: relative;
  padding-top: 56.25%;
  margin-bottom: 30px;
  margin-top: 64px;
}

.md_youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.okeiko .md_youtube {
  margin-top: 32px;
}
/* VERTICAL TEXT */
.vt-animation {
  opacity: 0;
}

/* SIDE SCROLL */
#scroll-container {
  touch-action: pan-x;
}
.scroll-container {
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.scroll-content {
  height: 100%;
  position: absolute;
}
@media screen and (min-width: 400px) {}

@media screen and (min-width: 600px) {}

@media screen and (min-width: 768px) {
  .scroll-container {
    width: 100%;
    min-height: 640px;
    overflow: hidden;
    position: relative;
    padding: 32px;
  }
}

@media screen and (min-width: 896px) {}

@media screen and (min-width: 1030px) {}

@media screen and (min-width: 1110px) {}

@media screen and (min-width: 1200px) {}

@media screen and (min-width: 1400px) {}
/* SIDE SCROLL FADEIN */
.fade-in {
  opacity: 0;
  transition: opacity 1.0s, transform 1.0s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* POPUP */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding: 80px 0; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  opacity: 0; /* Start from zero opacity */
  transition: opacity 0.5s; /* Transition effect */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 16px;
  border: 1px solid #888;
  width: 90%;
  max-width: 720px;
  border-radius: 3px;
  position: relative;
}
.modal-content .block {
  margin-left: 0;
}
.modal-content p {
  font-size: 1.5rem;
}
.modal-content .ttl p {
  font-size: 1.7rem;
  line-height: 3.0rem;
}
.modal-content span {
  font-size: 1.4rem;
  color: #3f3f3f;
}
.modal-content img {
  max-width: 120px;
}
span.close {
  position: absolute;
  font-size: 2.0rem;
  top: 16px;
  right: 16px;
}
@media screen and (min-width: 400px) {}

@media screen and (min-width: 600px) {}

@media screen and (min-width: 768px) {
  .modal-content {
    padding: 40px;
    width: 80%;
  }
  .modal-content img {
    max-width: 200px;
  }
  .modal-content .ttl p {
    font-size: 2.2rem;
    line-height: 3.6rem;
  }
}

@media screen and (min-width: 896px) {}

@media screen and (min-width: 1030px) {}

@media screen and (min-width: 1110px) {}

@media screen and (min-width: 1200px) {}

@media screen and (min-width: 1400px) {}
/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/*  ACCORDION */
.accordion dd {
  overflow: hidden;
  padding: 0 16px;
  margin-bottom: 40px;
}
.accordion dt {
  cursor: pointer;
  display: flex;
  background-color: #F3F3F3;
  color: #8A7A61;
  border-top: 1px solid #988A74;
  padding: 8px;
  align-items: center;
  gap: 10px;
  position: relative;
  font-size: 1.7rem;
}
.accordion dt.open:after {
  rotate: 0deg;
}
.accordion {
  border-bottom: 1px solid #988A74;
}
.accordion dt img {
  max-width: 80px;
}
.accordion dd img {
  margin: 24px 0;
}
.accordion button {
  margin: 32px auto;
}
.accordion .ttl_sub {
  font-size: 1.6rem;
}
.accordion dd .flex {
  justify-content: start;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.accordion dd .block {
  width: 60px;
  font-size: 1.4rem;
  text-align: center;
}
.accordion dd .block:last-child {
  width: calc(100% - 60px);
  text-align: left;
}

@media screen and (min-width: 400px) {}

@media screen and (min-width: 600px) {}

@media screen and (min-width: 768px) {
  .accordion dt {
    padding: 8px 16px;
  }
  .accordion dt img {
    max-width: 120px;
  }
  .accordion dt:after {
    right: 16px;
  }
  .accordion dt {
    gap: 16px;
    font-size: 1.7rem;
  }
  .accordion dd {
    padding: 0;
  }
  .accordion dd .block {
    width: 120px;
  }
  .accordion dd .block:last-child {
    width: calc(100% - 120px);
  }
}

@media screen and (min-width: 896px) {}

@media screen and (min-width: 1030px) {}

@media screen and (min-width: 1110px) {}

@media screen and (min-width: 1200px) {}

@media screen and (min-width: 1400px) {}
/* FADEIN */


/* DEVICE */
.pcOnly {
  display: none;
}
.spOnly {
  display: block;
}
@media screen and (min-width: 400px) {}

@media screen and (min-width: 600px) {}

@media screen and (min-width: 768px) {
  .pcOnly {
    display: block;
  }
  .spOnly {
    display: none;
  }
}

@media screen and (min-width: 896px) {}

@media screen and (min-width: 1030px) {}

@media screen and (min-width: 1110px) {}

@media screen and (min-width: 1200px) {}

@media screen and (min-width: 1400px) {}