@charset "UTF-8";

body {
  font-family: "Kiwi Maru", Arial, Helvetica, sans-serif;
  background-color: #ece6e0;
  background-image: url(img/bg02.jpg);
  background-size: 100%;
  color: #602d1d;
  text-align: center;
}

.main {
  width: 100%;
  font-weight: 300;
  font-size: 18px;
  margin: 0 auto;
  justify-content: center;
}

header {
  background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, #ffffffd4 100%),
    url(img/mainvisual.jpg) no-repeat center/cover;
  width: 100%;
  height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.logo {
  width: 200px;
}

h3 {
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: 300;
}

.scroll {
  display: inline-block;
  padding-top: 70px;
  position: relative;
}

.scroll::before {
  animation: scroll 3.5s infinite;
  border: solid #602d1d;
  border-width: 0 0 2px 2px;
  content: "";
  display: inline-block;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  transform: rotate(-45deg);
  width: 20px;
  height: 20px;
}

@keyframes scroll {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }

  80% {
    transform: rotate(-45deg) translate(-30px, 30px);
  }

  0%,
  80%,
  100% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2px 0;
}

ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding-left: 0;
  justify-content: space-around;
}

ul li a {
  text-decoration: none;
  color: #602d1d;
  font-weight: 400;
  padding: 0px 15px;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

ul li a:hover {
  text-decoration: underline;
  color: #ec770a;
}


section {
  background-color: #f0e5dbdb;
  padding: 50px 20px 80px 20px;
  margin: 100px auto;
  text-align: center;
  letter-spacing: 2px;
  animation: scroll-anim linear;
  animation-timeline: view();
  animation-range: entry 0% contain 15%;
}

@keyframes scroll-anim {
  from {
    opacity: 0;
    scale: 0.9;
  }

  to {
    opacity: 1;
    scale: 1;
  }
}

.flex {
  display: flex;
  flex-basis: 50%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  padding-bottom: 20px;
}

.iframeWrapper {
  position: relative;
  width: 35%;
  padding: 0px 50px;
  padding-top: 35%;
  overflow: hidden;
  text-align: center;
  margin:15px ;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


.flextext {
  padding: 50px;
}


h2 {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ec770a;
  font-family: "Crimson Pro", serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-size: 22px;
  padding: 30px 0px 30px 0px;
  text-align: center;
}

p {
  line-height: 1.5;
}

.address {
  font-size: 20px;
  line-height: 1;
  font-style: italic;
}

.address a {
  color: #602d1d;
}

.menu {
  display: flex;
  flex-basis: 50%;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}

.menutext {
  padding: 50px 45px 15px 35px;
  text-align: left;
  position: relative;
}

dt {
  padding-bottom: 0.3em;
  font-weight: 500;
}

dd {
  margin-left: 3px;
  font-size: 14px;
}

.menutitle {
  position: absolute;
  display: inline-block;
  top: -10;
  left: 40;
  font-weight: 500;
  font-size: 17px;
  font-style: italic;
}

.menuwrap {
  margin: 0px 10px 20px 10px;
  background-color: #ffffff5a;
  border-radius: 15px 15px;
}

.css-carousel-slider7 {
  max-width: 600px;
  aspect-ratio: 4/3;
  margin: 0px auto;
  overflow: hidden;
  position: relative;
}

.css-carousel-slider7 img {
  width: 600px;
  padding-top: 10px;
}

.css-carousel-slider7 .slide-wrap {
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  z-index: 0;
  animation: css-carousel-slider7 35s infinite;
  animation-delay: 2s;
}

.css-carousel-slider7 .slide-wrap-main {
  z-index: 1;
  animation: css-carousel-slider-main7 35s infinite;
  animation-delay: 2s;
}


@keyframes css-carousel-slider7 {
  0% {
    transform: translateX(0);
  }

  11.8% {
    transform: translateX(calc(1 / 7 * -100%));
  }

  14.3% {
    transform: translateX(calc(1 / 7 * -100%));
  }

  26.1% {
    transform: translateX(calc(2 / 7 * -100%));
  }

  28.6% {
    transform: translateX(calc(2 / 7 * -100%));
  }

  40.4% {
    transform: translateX(calc(3 / 7 * -100%));
  }

  42.9% {
    transform: translateX(calc(3 / 7 * -100%));
  }

  54.7% {
    transform: translateX(calc(4 / 7 * -100%));
  }

  57.2% {
    transform: translateX(calc(4 / 7 * -100%));
  }

  69% {
    transform: translateX(calc(5 / 7 * -100%));
  }

  71.5% {
    transform: translateX(calc(5 / 7 * -100%));
  }

  83.3% {
    transform: translateX(calc(6 / 7 * -100%));
  }

  85.8% {
    transform: translateX(calc(6 / 7 * -100%));
  }

  97.5% {
    transform: translateX(calc(7 / 7 * -100%));
  }

  100% {
    transform: translateX(calc(7 / 7 * -100%));
  }
}

@keyframes css-carousel-slider-main7 {
  0% {
    transform: translateX(100%);
  }

  85.8% {
    transform: translateX(100%);
  }

  97.5% {
    transform: translateX(0%);
  }
}

textarea {
  width: 40%;
  height: 200px;
}

form p {
  margin-bottom: 0px;
  margin-top: 2em;
}
input[type="text"],
input[type="email"],
input[type="tel"]{
  width: 30%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  border: 1px solid #602d1d;
  background-color: white;
  margin-bottom: 10px;
}

input[type="submit"] {
  color: #602d1d;
  border: 1px solid #602d1d;
  background-color: rgb(255, 255, 255);
  width: 10%;
  min-width: 100px;
  margin-top: 40px;
  padding: 5px 5px;
  font-weight: 300;
}

footer {
  color: #602d1d;
  font-style: italic;
  text-align: center;
  width: 100%;
  padding: 10px 0px;
  background-color: #8a6745ca;
}

@media screen and (max-width: 1024px) {
  header {
    min-height: 80vh;
  }

  ul li a {
    padding: 1px 5px;
  }

  nav {
    padding: 0;
    width: 100vw;
  }

  h3 {
    font-size: 17px;
    letter-spacing: 2px;
  }

  .scroll::before {
    border-width: 0 0 1px 1px;
    width: 10px;
    height: 10px;
  }

  .main {
    font-size: 13px;
  }

  section {
    padding: 10px 25px 50px 25px;
    margin: 20px auto;
  }

  .logo {
    width: 130px;
  }

  h2 {
    font-size: 15px;
  }

  .address {
    font-size: 15px;
  }

  .css-carousel-slider7 {
    max-width: 400px;
  }

  .css-carousel-slider7 img {
    width: 400px;
  }
}

@media screen and (max-width: 768px) {
  ul {
    display: block;
  }

  ul li a {
    font-size: 15px;
    padding: 3px 15px;
  }

  nav {
    background-color: transparent;
    text-align: right;
  }

  .main {
    font-size: 14px;
  }

  .abouttext {
    text-align: left;
  }

  p {
    padding: 10px 30px 10px 30px;
  }

  header {
    height: 95vh;
  }

  h2 {
    font-size: 14px;
    padding: 10px 0px 15px 0px;
  }

  h3 {
    font-size: 16px;
    letter-spacing: 1px;
  }

  section {
    padding: 20px 25px;
    margin: 30px auto;
    letter-spacing: 1px;
  }

  .gallery {
    padding: 20px 50px 50px 50px;
  }


  .address {
    font-size: 15px;
    margin-bottom: 0;
  }


  .menu,
  .flex {
    margin: 0 auto;
  }

  .scroll::before {
    width: 8px;
    height: 8px;
    border-width: 0 0 1px 1px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"] {
    width: 90%;
    margin: 0 auto;
  }

  textarea {
    width: 90%;
    margin: 0 auto;
  }

  input[type="submit"] {
    width: 50%;
    min-width: 120px;
    padding: 8px;
  }

  footer>p {
    font-size: 10px;
    padding: 8px 5px;
  }

  .onlypc {
    display: none;
  }

  .flextext {
    padding: 0px 0px;
  }

  .iframeWrapper {
    width: 55%;
    padding: 0px 35px;
    padding-top: 40%;
  }
  

  .css-carousel-slider7 {
    max-width: 500px;
  }

  .css-carousel-slider7 img {
    width: 500px;
  }

}
@media screen and (max-width: 491px) {
  .css-carousel-slider7 {
    max-width: 300px;
  }

  .css-carousel-slider7 img {
    width: 300px;
    
  }

  .iframeWrapper {
    width: 85%;
    padding: 0px 25px;
    padding-top: 75%;
  }
}