@charset "utf-8";

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

.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;
  height: auto;
  padding: 0 3%;
  gap: 1.5rem;
}

.header_logo{
    position: relative;
}

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

.header_right{
  	margin-top: .5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: #00A109;
}

.header_right-menu{
    display: flex;
    gap: 1rem
    justify-content: end;
  align-items: center;
}

.header_right-menu-btn{
    margin: 0 1rem;
}

.header_right-menu-item{
    padding: .5rem 1rem;
    border-right: #00A109 2px solid;
    transition: all .5s;
}

.header_right-menu-item-text{
    padding: .5rem 1rem .5rem 0;
    border-right: #00A109 2px solid;
    font-size: 14px;
}

.header_right-menu-item:hover{
  opacity: .5;
}

.header_right-menu-item p{
  	color: #00A109;
  	font-weight: bold;
}

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

.header_menu-link{
    position: relative;
    padding: 0 .5rem 0 2rem;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  	text-align: center;
    transition: all .5s;
    font-size: 1rem;
  width: fit-content;
    font-weight: bold;
    color: #00A109!important;
}

.header_menu-link:before{
  	content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 20px;
    height: 20px;
    background: url("https://sugizakisouken.co.jp/system_panel/uploads/images/20251204155953323100.png");
    background-repeat: no-repeat;
    background-size: cover;
}

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

.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: 0;
   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: 1340px) {
  .header_logo img {
    width: 210px;
    height: auto;
  }
}

@media (max-width: 1200px) {
  .header_menu{
      gap: 1rem;
  }
  .header_menu-link{
      font-size: 14px;
      padding: 0 .5rem 0 1.5rem;
  }
  .header_menu-link:before{
      content: "";
      position: absolute;
      top: 2px;
      left: 0;
      width: 16px;
      height: 16px;
  }
}

@media (max-width: 1024px) {
  .header{
    height: 80px;
  }
  .header_logo img {
    width: 180px;
    height: auto;
  }
  .header_inner{
    padding: 0 5%;
    gap: 1.5rem;
  }
  .header_menu-link{
      font-size: 16px;
      padding: 0 .5rem 0 1.5rem;
  }
  .header_menu-link:before{
      content: "";
      position: absolute;
      top: 4px;
  }
  .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;
  width: 80%;
  max-width: 280px;
  margin: 0 auto;
  gap: 1.5rem;
}

@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);
  }
}

