html {
  scroll-behavior: smooth;
}

body {
  opacity: 0;
  transition: opacity 800ms ease-in;
  background-color: #fff;
}

body.fade-in {
  opacity: 1;
}

body.fade-out {
  opacity: 0;
}

:root {
  --basic-width: calc(100vw / 1280);
  --primary-color: #23443E;
}

.is-sp {
  display: none;
}

.pc-br {
  
}
@media screen and (max-width: 767px) {
  .pc-br {
    display: none;
  }
}

.hover-effect {
  opacity: 1 !important;
  transition: opacity 800ms ease !important;
}

.hover-effect:hover {
  opacity: .6 !important;
}

@media screen and (max-width: 767px) {
  :root {
    --basic-width: calc(100vw / 390);
  }
  .is-sp {
    display: block;
  }
  .is-pc {
    display: none;
  }
  
}

.header-logo {
  width: 186px;
  margin: 40px auto 150px;
}

.header-logo .logo {
  width: 100%;
}

@media screen and (max-width: 767px) {
  .header-logo {
    width: 150px;
    margin: 60px auto;
  }
}

.side-menu {
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(1.5625vw) translateZ(0);
  animation: headerfade 800ms 0ms linear forwards;
}

.side-menu .hamburger {
  position: relative;
  width: 36px;
  height: 20px;
  cursor: pointer;
}

.side-menu .language {
  cursor: pointer;
}
.side-menu .language a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.side-menu .hamburger .bar {
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  background-color: var(--primary-color);
}

.side-menu .hamburger .bar:nth-child(1) {
  top: 0;
}
.side-menu .hamburger .bar:nth-child(2) {
  top: 0;
  bottom: 0;
  margin: auto;
}
.side-menu .hamburger .bar:nth-child(3) {
  bottom: 0;
}

@keyframes headerfade {
  0% {
    opacity: 0;
    transform: translateY(5%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 767px) {
  .side-menu {
    width: 30px;
    top: 15px;
    right: 15px;
  }

  .side-menu .hamburger {
    width: 30px;
  }

  .side-menu .language .img {
    width: 100%;
  }

  .side-menu .come-in .img {
    width: 100%;
  }

  .side-menu .instagram .icon {
    width: 100%;
  }
}

.heading-title {
  font-size: 30px;
  line-height: 1;
  font-weight: bold;
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  gap: 0.06em;
  overflow: hidden;
}

.heading-title .string {
  transform: translateY(101%) translateZ(0);
  transition: opacity 1000ms cubic-bezier(0.2, 0.5, 0.4, 1), transform 1000ms linear;
  transition-delay: 200ms;
}

.heading-title .string.slash {
  display: inline-block;
  padding: 0 0.24em;
}

.heading-title .string.space {
  display: inline-block;
  padding-right: 0.24em;
}

.heading-title .string:nth-child(1) {
  transition-delay: 0ms;
}
.heading-title .string:nth-child(2) {
  transition-delay: 200ms;
}
.heading-title .string:nth-child(3) {
  transition-delay: 400ms;
}
.heading-title .string:nth-child(4) {
  transition-delay: 600ms;
}
.heading-title .string:nth-child(5) {
  transition-delay: 800ms;
}
.heading-title .string:nth-child(6) {
  transition-delay: 1000ms;
}
.heading-title .string:nth-child(7) {
  transition-delay: 1200ms;
}
.heading-title .string:nth-child(8) {
  transition-delay: 1400ms;
}
.heading-title .string:nth-child(9) {
  transition-delay: 1600ms;
}
.heading-title .string:nth-child(10) {
  transition-delay: 1800ms;
}
.heading-title .string:nth-child(11) {
  transition-delay: 2000ms;
}
.heading-title .string:nth-child(12) {
  transition-delay: 2200ms;
}
.heading-title .string:nth-child(13) {
  transition-delay: 2400ms;
}
.heading-title .string:nth-child(14) {
  transition-delay: 2600ms;
}
.heading-title .string:nth-child(15) {
  transition-delay: 2800ms;
}

.heading-title.show .string {
  transform: none;
}

.main-btn-style {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 168/41;
  width: 168px;
  height: 100%;
  margin: auto;
  background: url(../img/main_button.svg) center center / 100% 100% no-repeat;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  transition: opacity 1000ms cubic-bezier(0.2, 0.5, 0.4, 1), transform 1000ms linear;
}

.main-btn-style:hover {
  opacity: .5;
}


.main-swiper {
  width: auto;
  height: calc(604 * var(--basic-width));
  box-sizing: border-box;
  margin-top: 60px;
}

.main-swiper-wrapper {
  background-color: var(--primary-color);
}

.main-swiper-slide {
  border: solid 2px var(--primary-color);
  object-fit: cover;
  overflow: hidden;
}

.main-swiper-slide .img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  /* transform: scale(1.1); */
  /* transition: transform 12000ms ease; */
}

.main-swiper-slide .img:hover {
  transform: scale(1);
  transition: transform 12000ms ease;
}


@media screen and (max-width: 767px) {
  .heading-title {
    font-size: 20px;
  }
  
  .main-swiper {
    height: calc(209 * var(--basic-width));
    margin-top: 40px;
  }
}

/* --------------------------
            faq
---------------------------- */
.faq {
  margin-top: 200px;
  text-align: center;
}

.faq .question-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: min(calc(100% - 60px), 734px);
  margin: 60px auto 0;
} 

.faq .question-item {
  padding: 0 0 28px;
  border-bottom: solid 2px var(--primary-color);
  font-size: 16px ;
  position: relative;
  cursor: pointer;
  opacity: 0;
  transform: translateY(1.5625vw) translateZ(0);
  transition: opacity 1000ms cubic-bezier(0.2, 0.5, 0.4, 1), transform 1000ms linear;
}

.faq .question-item.show {
  opacity: 1;
  transform: none;
}

.faq .question-item .question,
.faq .question-item .answer {
  padding: 0 97px 0 67px;
  text-align: left;
}

.faq .question-item .question {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.125;
  padding: 4px 97px 6px 67px;
  min-height: 3.25em;
  display: flex;
  align-items: center;
}

.faq .question-item .answer {
  font-size: 14px;
  line-height: 0;
  visibility: hidden;
  padding: 0 97px 0 67px;
  opacity: 0;
  transition: visibility 800ms cubic-bezier(0.2, 0.5, 0.4, 1),
  opacity 800ms cubic-bezier(0.2, 0.5, 0.4, 1), 
  line-height 800ms cubic-bezier(0.2, 0.5, 0.4, 1), 
  padding 800ms cubic-bezier(0.2, 0.5, 0.4, 1);
}

.faq .question-item.open .answer {
  visibility: visible;
  line-height: 1.2857;
  padding: 20px 97px 0 67px;
  opacity: 1;
  transition: visibility 800ms cubic-bezier(0.2, 0.5, 0.4, 1),
  opacity 800ms cubic-bezier(0.2, 0.5, 0.4, 1), 
  line-height 800ms cubic-bezier(0.2, 0.5, 0.4, 1), 
  padding 800ms cubic-bezier(0.2, 0.5, 0.4, 1);
}

.faq-slider {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: .5s max-height;
}
.faq-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 25px;
}
.faq-slider img {
  max-width: 100%;
  max-height: 300px;
  height: 100%;
  
}

.faq .question-item.open .faq-slider {
  max-height: 350px;
}

.faq .question-item::before {
  content: "Q";
  width: 45px;
  height: 45px;
  border-radius: 25px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
}

.faq .question-item .icon-btn {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 14px;
  right: 21px;
  transform: rotate(0);
  transition: transform 600ms cubic-bezier(0.2, 0.5, 0.4, 1);
}

.faq .question-item.open .icon-btn {
  transform: rotate(135deg);
  transition: transform 600ms cubic-bezier(0.2, 0.5, 0.4, 1);
}

.faq .question-item .icon-btn .bar {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

.faq .question-item .icon-btn .bar:nth-child(2) {
  transform: rotate(90deg);
}

.faq .main-btn-style {
  margin-top: 80px;
  opacity: 0;
  transform: translateY(1.5625vw) translateZ(0);
  transition: opacity 800ms cubic-bezier(0.2, 0.5, 0.4, 1), transform 800ms linear;
}

.faq .main-btn-style.show {
  opacity: 1;
  transform: none;
}

@media screen and (max-width: 767px) {
  .faq {
    margin-top: 100px;
  }

  .faq .question-list {
    margin: 50px auto 0;
  }

  .faq .question-item .question,
  .faq .question-item .answer {
    padding: 0 36px 0 50px;
  }

  .faq .question-item .question {
    padding: 4px 36px 6px 50px;
  }

  .faq .question-item .answer {
    padding: 0 36px 0 50px;
  }

  .faq .question-item.open .answer {
    padding: 20px 36px 0 50px;
  }

  .faq .question-item::before {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .faq .main-btn-style {
    margin-top: 50px;
  }
}

/* --------------------------
            footer
---------------------------- */
.footer {
  text-align: center;
  padding: 200px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .logo-portside {
  width: 223px;
  margin: auto;
}

.footer .address {
  font-size: 18px;
  margin-top: 90px;
  position: relative;
}

.footer .address .title {
  font-weight: bold;
}

.footer .telephone {
  font-size: 18px;
  margin-top: 70px;
  position: relative;
}

.footer .address::before,
.footer .telephone::before {
  content: "";
  height: 1px;
  width: 52px;
  background-color: #000;
  position: absolute;
  top: -35px;
  left: 0;
  right: 0;
  margin: auto;
}

.footer .telephone .title {
  font-weight: bold;
}

.footer .logo-reservation {
  width: 270px;
  margin: 55px auto 0;
  transition: .5s opacity;
}
.footer .logo-reservation:hover {
  opacity: .7;
}

.footer .facility-text {
  font-size: 18px;
  font-weight: bold;
  margin-top: 108px;
}

.footer .facility-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
}
.footer .facility-list img {
  height: 30px;
}
.footer .facility-list a {
  transition: .5s opacity;
}
.footer .facility-list a:hover {
  opacity: .7;
}

.footer .copy-right {
  font-size: 11px;
  margin-top: 80px;
}

@media screen and (max-width: 767px) {
  .footer {
    padding: 150px 0 60px;
  }

  .footer .address {
    width: calc(100% - calc(80 * var(--basic-width)));
    margin: 90px auto 0;
  }
}

.navi-window {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease-in;
}

.navi-window.active {
  opacity: 1;
  pointer-events: all;
}

.navi-window .navi-inner {
  width: 380px;
  height: 535px;
  background: url(/img/menu_bg.svg) center center / 100% 100% no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(1.5625vw) translateZ(0);
  transition: opacity 700ms cubic-bezier(0.2, 0.5, 0.4, 1), transform 700ms linear;
}

.navi-window.active .navi-inner {
  opacity: 1;
  transform: none;
}

.navi-window .navi-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.navi-window .navi-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.navi-window .link {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFFBE2;
  transform: translateY(101%) translateZ(0);
  opacity: 1;
  transition: opacity 800ms linear;
}

.navi-window.active .fade {
  overflow: hidden;
}

.navi-window.active .link {
  display: inline-block;
  transform: translateY(0);
  transition: opacity 700ms cubic-bezier(0.2, 0.5, 0.4, 1), transform 700ms linear;
}

.navi-window.active .fade:nth-child(1) .link {
  transition-delay: 350ms;
}
.navi-window.active .fade:nth-child(2) .link {
  transition-delay: 500ms;
}
.navi-window.active .fade:nth-child(3) .link {
  transition-delay: 650ms;
}
.navi-window.active .fade:nth-child(4) .link {
  transition-delay: 800ms;
}

.navi-window .link:hover {
  opacity: .5;
}

.navi-window .navi-close {
  width: 34px;
  height: 34px;
  position: absolute;
  top: 0;
  right: -34px;
  z-index: 3;
  cursor: pointer;
  transition: opacity 800ms ease;
}

.navi-window .navi-close::before, 
.navi-window .navi-close::after {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background-color: var(--primary-color);
  transition: transform 800ms ease;
}

.navi-window .navi-close::before {
  transform: rotate(45deg);
}

.navi-window .navi-close::after {
  transform: rotate(-45deg);
}

.navi-window .navi-close:hover::after {
  animation: closeAnima 800ms ease forwards;
}
.navi-window .navi-close:hover::before {
  animation: closeAnimb 800ms ease forwards;
}

@keyframes closeAnima {
  0% {
    transform: rotate(-45deg);
  }
  100% {
    transform: rotate(45deg);
  }
}

@keyframes closeAnimb {
  0% {
    transform: rotate(45deg);
  }
  100% {
    transform: rotate(-45deg);
  }
}

@media screen and (max-width: 767px) {
  .navi-window .navi-inner {
    width: calc(100% - calc(60 * var(--basic-width)));
  }

  .navi-window .link {
    font-size: 20px;
    line-height: 0.9;
  }

  .navi-window .navi-close {
    right: 0;
    top: -34px;
  }
}
  

