@charset "utf-8";

/*-------------------------------------------
nav
-------------------------------------------*/
#header .navi {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  font-family: "Noto Sans", sans-serif;
  transition: all 0.3s ease;
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 0;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  background: #63b6ff;
  z-index: 999;
}
nav a {
  color: #fff;
  padding: 15px 20px;
  text-decoration: none;
}

nav a:hover {
  color: #fff;;
}
#header .navi .menu {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  font-size: 22px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0 30px;
  gap: 2rem;
}
#header .navi .menu li{
  text-align: center;
}

.header_igicon{
  width: 35px;
}
.nav_logo{
  width: 120px;
  padding-left: 20px;
  display: flex;
  align-items: center;
}

.menu li {
  padding-bottom: 5px;
}
.menu li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #1f1f1f;
}
.menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #1f1f1f;
  transition: width 0.3s cubic-bezier(0.45, 0, 0.55, 1);
}
.menu li:not(:last-child) a:hover::after {
  width: 100%;
}

#btn_open{
  display: none;
}
.hamburger{
  width: 100%;
  display: none;
}


/*【タブレット】
================= */
@media screen and (max-width: 900px) {

}


/*【スマホ】
================= */
@media screen and (max-width: 640px) {
/*********ドロワーボタン ********/
#header .navi{
  display: none;
}
.hamburger{
  display: block;
}
.drawerNab{
  width: 100%;
}
.drawerNab a{
  display: inline;
  color: #3ae2ff;
}
.drawerNab {
  width: 100%;
  height: 100%;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.drawerNab a{
  width: 100%;
  color: #fff;
  font-size: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.btn_menu {
  display: block;
  width: 35px;
  height: 40px;
  position: absolute;
  position: fixed;
  z-index: 999;
  top: 20px;
  right: 20px;
  border-radius: 5px;
}
.btn_menu span{
  width: 80%;
  height: 2px;
  display: block;
  position: absolute;
  left: 0;
  background-color: #0c272f;
  border-radius: 5px;
  transition: 0.2s ease-in-out;
}
.btn_menu span:nth-of-type(1){
  top: 10px;
  transform: rotate(0);
}
.btn_menu span:nth-of-type(2){
  top: 19px;
  transform: scale(1);
}
.btn_menu span:nth-of-type(3){
  bottom: 10px;
  transform: rotate(0);
}
#btn_open:checked + .btn_menu span:nth-of-type(1){
  top: 18px;
  transform: rotate(-45deg);
}
#btn_open:checked + .btn_menu span:nth-of-type(2){
  transform: scale(0);
}
#btn_open:checked + .btn_menu span:nth-of-type(3){
  bottom: 21px;
  transform: rotate(45deg);
}

#gnav{
  width: 100%;
  height: 100vh;
  background-color: rgb(99 160 201 / 85%);
  overflow: hidden;
  position: fixed;
  z-index: 990;
  top: 0;
  right: -100%;
  transition: left .5s, right .5s,top .5s, bottom .5s;
}

#btn_open:checked ~ #gnav{
  right: 0;
}
.btn_menu{
  cursor: pointer;
}
/*********ドロワーボタン終了 ********/
}


