@charset "utf-8";

#gnav {
  background: transparent;
  box-sizing: border-box;
  flex: .95;
  margin: 60px 0 20px;
  padding-right: 5%;
  position: relative;
  z-index: 10;
}

#gnav ul {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
}

#gnav ul li a {
  box-sizing: border-box;
  color: #333333;
  display: block;
  font-weight: 500;
  padding: 10px 0 0 0;
  position: relative;
  text-align: left;
}

#gnav ul li a:hover {
  color: var(--color-main-default);
}

.hd-info {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: 5%;
  top: 0;
  z-index: 11;
}

.hd-tel {
  display: inline-block;
  margin-right: 30px;
}

.hd-tel a {
  color: var(--color-main-default);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-size: 24px;
  font-weight: 600;
}

.hd-btn {
  width: 190px;
}

.hd-btn a {
  background: var(--color-main-default);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  color: #fff;
  display: block;
  font-weight: 600;
  padding: 10px 0;
  text-align: center;
}

.hd-btn a:hover {
  background: #f4e4e4;
  color: var(--color-main-default);
}


#spnav,
.menu-trigger {
  display: none;
}

@media screen and (max-width: 1280px) {
  #gnav {
    flex: 1;
    margin: 0 auto 20px;
    padding-right: 0;
    width: 90%;
  }
}

@media screen and (max-width: 999px) {
  #gnav {
    display: none;
  }

  .menu-trigger {
    border: 1px solid #ddd;
    border-radius: 7px;
    cursor: pointer;
    display: block;
    padding: 13px 10px 7px;
    position: absolute;
    right: 20px;
    top: 14px;
    z-index: 19;
  }

  .menu-trigger span {
    background-color: #000;
    display: block;
    height: 2px;
    margin-bottom: 6px;
    transition: transform 0.3s ease-in-out;
    width: 24px;
  }

  .menu-trigger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-trigger.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-trigger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu-trigger.active span {
    background-color: #000;
  }

  #spnav {
    background-color: rgba(0,0,0,0.9);
    display: block;
    height: 100%;
    overflow-y: scroll;
    padding: 30px 0 100px;
    position: fixed;
    right: -100%;
    top: 79px;
    transition: right 0.3s ease-in-out;
    width: 100%;
    z-index: 999;
  }

  @media (max-width: 700px) {
    #spnav {
      top: 72px;
    }
  }

  #spnav.open {
    right: 0;
  }

  #spnav .en {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    line-height: 40px;
    margin: 0 30px 15px;
  }

  #spnav ul {
    list-style-type: none;
    padding: 0 0 30px;
    margin: 0 30px;
  }

  #spnav li a {
    border-top: 1px solid #fff;
    color: #ffffff;
    display: block;
    padding: 20px 15px;
    position: relative;
    text-decoration: none;
    font-weight: 500;
    font-size: 17px;
  }

  #spnav li:last-child a {
    border-bottom: 1px solid #fff;
  }

  .hd-info {
    display: none;
  }

  .sp-info {
    margin: 0 auto;
    width: 90%;
  }

  .sp-tel {
    margin-bottom: 30px;
    text-align: center;
  }

  .sp-tel a {
    color: #fff;
    display: block;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 30px;
    font-weight: 600;
    line-height: 40px;
    margin-bottom: 10px;
  }

  .sp-btn {
    width: 100%;
  }

  .sp-btn a {
    background: var(--color-main-default);
    border-radius: 50px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: block;
    font-weight: 500;
    padding: 12px 10px;
    text-align: center;
  }
}
