@charset "utf-8";

/*ヘッダー*/
#header {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 50px;
  z-index: 100;
  background: #000;
  top: 0;
}
.header_wrapper {
  max-width: 1160px;
  margin: 0 auto;
}
.header_wrapper ul {
  display: flex;
  justify-content: space-between;
}
#header h1 {
  padding-left: 8px;
  height: 50px;
}
#header h1 a {
  color: #fff;
  line-height: 50px;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.g-nav{
  height: 50px;
}
.g-nav-menu li{
  margin: 0 1.25vw;
  list-style-type: none;
  display: inline-block;
  position: relative;
}
.g-nav-menu li a {
  display: block;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 50px;
  opacity: 1;
}
.g-nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.3s;
}
.g-nav-menu li a:hover::after {
transform: scale(1, 1);
}
.sp-nav {
   display: none;
}
@media (max-width: 768px) {
  #header h1 a {
    font-size: 1.8rem;
  }
  .g-nav {
    display: none;
  }
  .sp-menu {
    padding: 15px 18px;
  }
  .fixed .sp-menu {
    margin-left: auto;
    width: 50px;
    background: #000;
  }
  .hamburger {
    position: relative;
    display: block;
    width: 25px;
    height: 20px;
    margin-left: auto;
    cursor: pointer;
  }
  .hamburger span {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: translateY(-50%);
  }
  .hamburger::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
  }
  .hamburger::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 2px;
    background-color: #fff;
  }
  .sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: block;
    background: rgba(0, 0, 0, .9);
    transition: all .5s ease-in;
    opacity: 0;
    transform: translateY(-100%);
    z-index: 1;
  }
  .sp-nav ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  .sp-nav li {
    margin: 0;
    padding: 4vh 0;
  }
  .sp-nav li a, .sp-nav li span {
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
  }
  .sp-nav li a {
    display: inline-block;
    letter-spacing: 0.3em;
    margin-right: -0.3em;
  }
  .sp-inq a, .sp-nav li span {
    letter-spacing: 0.05em !important;
    margin-right: 0.05em !important;
  }
  /*閉じるボタン*/
  .sp-nav .close {
    cursor: pointer;
    position: relative;
    padding-left: 20px;
    margin-top: 10vh;
  }
  .sp-nav .close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate( 45deg );
  }
  .sp-nav .close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate( -45deg );
  }
  .toggle {
    transform: translateY( 0 );
    opacity: 1;
  }
}
.fixed {
  position: fixed;
  top: 0;
  left: 0;
}
.fixed .g-nav {
  background: #fff;
  opacity: 0.9;
}
.fixed .g-nav-menu li a {
  color: #333;
}

/*メインビジュアル*/
#mainVisual {
  position: relative;
  z-index: 1;
}
.mainIMG{
  position: relative;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  height: 680px;
  background: #000;
}
/*スライダー*/
.slider {
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.slider li {
  height: 680px;
}
.slider li:nth-child(1) {
  background: url(../images/mainIMG01.jpg) no-repeat center/cover;
}
.slider li:nth-child(2) {
  background: url(../images/mainIMG02.jpg) no-repeat center/cover;
}
.slider li:nth-child(3) {
  background: url(../images/mainIMG03.jpg) no-repeat center/cover;
}
@keyframes fadezoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1); /* 拡大率 */
  }
}
.add-animation {
  animation: fadezoom 5s 0s forwards;
}


/*固定バナー*/
#main .instaIcon {
  z-index: 11;
  position: fixed;
  top: 90px;
  right: 32px;
  width: 60px;
  height: 60px;
}
#main .inquiryIcon {
  z-index: 10;
  position: fixed;
  top: 275px;
  right: 20px;
  width: 82px;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.4));
}
.upDown {
  animation: upDown 4s infinite;
}


#main .instaIcon a,
#main .inquiryIcon a {
  transition: all .3s ease-in-out;
}
#main .instaIcon a:hover,
#main .inquiryIcon a:hover {
  opacity: 0.8;
}
@keyframes upDown {
  0% { transform:translateY(0px); }
  50% { transform:translateY(-20px); }
  100% { transform:translateY(0px); }
}

/*レスポンシブ*/
/*スマホ*/
@media (max-width: 768px) {
  #main .instaIcon {
  top: 80px;
  right: 10px;
  width: 40px;
  height: 40px;
  }
  #main .inquiryIcon {
    position: absolute;
    top: 150px;
    width: 60px;
    right: 0;
  }
}
@media (max-width: 400px) {
  #main .inquiryIcon {
    display: none;
  }
}

