@charset "utf-8";

.header{
  position: fixed;
  top: 0;
  left: 0;
  z-index:9999;
  width: 100%;
  height: 180px;
  background-image: linear-gradient(90deg, #ffffff, #f5f9fa 60%, #e8e8e8 80%, #e0e0e0);
}

.header-top{
  position: fixed;
  top: 0;
  left: 0;
  z-index:9999;
  width: 100%;
  height: 100px;
}

.header_inner{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  //align-items: center;
  height: auto;
  padding: 1rem 5% 5rem;
  gap: 1.5rem;
}

.header_logo{
    position: relative;
}

.header_logo img {
  max-width: 120px;
  height: auto;
}

.header_menu{
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.header_menu{
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.header_ch{
    display: flex;
    flex-direction: row;
  align-items: center;
}

.header_ch a:nth-child(1){
    padding: 0 .5rem;
  	border-right: 3px solid #000;
  	font-size: 20px;
}

.header_ch a:nth-child(2){
    padding: 0 .5rem;
  	font-size: 20px;
}

.header_menu-link{
    position: relative;
    padding: 0 .5rem;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  	text-align: center;
    transition: all .5s;
   font-size: 20px;
}

.header_menu-link:hover{
    opacity: .8;
}

.header_menu-link-img{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_menu-link-img img{
    width: 40px;
    height: auto;
  box-shadow: none!important;
}

.header_btn{
    display: block
}
.header_btn-sp{
    display: none;
}

 .hamBtn {
   display: none;
    cursor: pointer;
    z-index: 9999;
    transition: all .5s;
	position: fixed;
    right: 5%;
    top: 10px;
   padding: 0.25rem;
  }
  .header__sp{
    position: fixed;
    bottom: 0%;
    display: flex;
    width: 100%;
    height: 60px;
    z-index: 99;
  }

.hamBar {
  position: relative;
  width: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 20px;
}

.hamBar>div {
  position: absolute;
  right: 0;
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: .5s;
}

@media (max-width: 1400px) {
  .header_menu-tel{
      display: none;
  }
}

@media (max-width: 1200px) {
  .header_logo img {
    width: 90px;
    height: auto;
  }
}

@media (max-width: 1024px) {
  .header{
    height: 80px;
  }
  .header_logo img {
    width: 80px;
    height: auto;
  }
  .header_inner{
    padding: .5rem 5%;
    gap: 1.5rem;
  }
  .header_menu-link-img img{
      min-width: 32px;
      height: 32px;
    box-shadow: 0px 3px 6px;
  }
   .hamBtn {
   display: flex;
     gap: 1.5rem;
     align-items: center;
  }
  .header_btn{
      display: none!important;
  }
  .header_btn-sp{
      display: block;
      width: 32px;
      height: auto;
    margin-right: 1rem;
  }
   .header_right{
      display: none;
  }
  .header_logo{
      padding-right: 0; 
      border-right: none;
  }
  .header_menu{
    display: none;
  }
  .header{
      height: 80px;
  }
  .hamBtn {
    width: auto;
    height: 60px;
  }
}



@media (max-width: 1024px) {
  .hamBar > div {
    height: 2px;
  }
}
.hamBar>div:nth-child(1) {
  top: 0; 
}

.hamBar>div:nth-child(2) {
  top: 50%;
}

.hamBar>div:nth-child(3) {
  top: 100%;
}

.hamBar.active>div:nth-child(1) {
  top: 5px;
  transform: rotate(-45deg);
}

.hamBar.active>div:nth-child(2) {
  opacity: 0;
}

.hamBar.active>div:nth-child(3) {
  top: 5px;
  transform: rotate(45deg);
}

.sp__menu {
  position: fixed;
  top: 0;
  right: -100%;
  opacity: 0;
  width: 100%;
  height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items:center;
  padding: 5rem 0;
  color: #000;
  transition: 1s;
  z-index: 8000;
  max-width:500px;
  background-color: #FFF;
  overflow-y: scroll;
  overflow-x: hidden;
}

.sp__menu.active {
  opacity: 1;
  right:0;
  visibility: visible;
}

.sp_menu-item{
    position: relative;
    height: auto;
  	width: 100%;
    display: flex;
    flex-direction: column;
  	gap: 1rem;
  	align-items: center;
    justify-content: center;
    transition: all .5s;
    padding: 2rem 0;
    border-bottom: #C1C1C1 1px solid;
}

.sp_menu-item-has{
    font-size: 24px;
  text-align: center;
}

.sp_menu-item-child{
    font-size: 16px;
  text-align: center;
  font-weight: 400;
}

.sp__menu-link{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  width: 180px;
}

.sp__menu-link p{
  color: #FFF;
}

.sp__menu-link img{
  width: 24px;
  height: auto;
}


.sp__menu-wrap{
    display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .sp__menu {
    width:100%;
  }
  .sp__menu-link{
    margin: 0 auto;
  }
}


#header.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/

#header.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}

