@charset "utf-8";
.header{
  position: fixed;
  z-index:9999;
  top: 0;
  left: 0;
  width: 300px;
  padding:2rem 1rem;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  transition: 0.3s;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.header-address{
  font-size:14px;
  font-weight:400;
  margin-top:14px;
}

.header-address a{
  color:#01A0EA;
}

.header > a{
  width:180px;
  display:block;
  margin: 0 auto;
}

.header-menu{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap:1rem;
}

.header-menu a p{
  line-height:1;
}

.header-menu a p:first-child{
  color:#01A0EA;
  margin-bottom: 8px;
}

.header-menu img{
  margin-top:8px;
}

.sub-menu{
  margin-bottom:0.5rem;
}

.header-logo{
  display: block;
  width: 256px;
}

.header-menu a:has(img):hover,
.header > a:hover{
  opacity:1;
  transform:translateY(3px);
}

.header-menu a:has(img) img{
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  border-radius:8px;
}

.header > a img.pc-tab{
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  border-radius:999vh;
}

.header-menu a:has(img):hover img,
.header > a:hover img.pc-tab{
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.16);
}


.header-tel-wrap{
  padding:1rem;
  border-radius:10px;
  border:1px solid #EF7946;
  margin-bottom:2rem;
}

.header-tel-wrap > p:first-child{
  font-size:14px;
  color:#EF7946;
  font-weight:500;
}

.header-tel{
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size:28px;
  font-weight:bold;
  margin:0.5rem auto 8px;
  font-family: "Arial";
}

.header-tel:hover{
  color:#EF7946;
}

.header-tel p{
  border-bottom:2px solid;
  font-weight:bold;
}

.header-tel + p{
  font-size:12px;
}

.header-tel img{
  width:2rem;
}

.header .hamBtn{
  cursor: pointer;
  z-index: 9999;
  transition: all .5s;
  display: none;
  width: 48px;
  height: 48px;
  background-color: #FEF200;
  padding:4px;
}

.sp__menu .hamBtn{
  cursor: pointer;
  z-index: 9999;
  transition: all .5s;
  width: 48px;
  height: 48px;
  background-color: #FEF200;
  padding:4px;
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.hamBar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  border:2px solid #01A0EA;
}

.hamBar>div {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: #01A0EA;
  transition: .5s;
}


.hamBar>div:nth-child(1) {
  top: 30%; 
}

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

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

.hamBar.active>div:nth-child(1) {
  top: 50%;
  transform: translateX(-50%) rotate(-30deg);
}

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

.hamBar.active>div:nth-child(3) {
  top: 50%;
  transform: translateX(-50%) rotate(30deg);
}

.demo-cover{
  display:none;
}

.demo-cover.active{
  display:block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 99999;
}

.sp__menu {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background: #fff;
  position: fixed;
  opacity: 0;
  width: 90%;
  height: 90%;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items:center;
  transition: 0.1s;
  z-index: 8000;
  padding:3.5rem 5%;
  z-index:-100;
  border-radius:2.5rem;
  max-width:960px;
  max-height:400px;
}

.sp__menu-wrap .header_menu a p br{
  display:none;
}

.sp__menu-wrap .header_menu {
  align-items: baseline;
  width: fit-content;
  margin: 0 auto 2rem;
}

.sp__menu-wrap .header_menu a{
  border-bottom:1px solid #EFAE63;
  width: 100%;
  padding-bottom: 6px;
}

.sp__menu-wrap .header-tel-wrap{
  width: fit-content;
  margin: 0 auto;
}


.sp__menu-wrap{
  padding: 0.5rem 0.5rem 5rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: scroll;
  min-height: 750px;
}

.header_menu a:nth-child(8){
  display:none;
}



.sp__menu.active {
  opacity: 1;
  visibility: visible;
  z-index:100000;
}

.ham-bottom{
  width: 256px;
  margin: 1rem auto 0;
}

.ham-bottom a{
  color:#9D9D9D;
}

.ham-bottom a + p{
  color:#EF7946;
  margin-top: 0.5rem;
}

.sp__menu-wrap > a{
  display:none;
}

.company-a p:last-child{
  display:none;
}

.header > a .tab{
  display:none;
}

.sp__menu .sub-menu{
  display:block;
}

.sp__menu > a{
  max-width:150px;
  margin:2rem auto 0;
}

.sp__menu .header-menu{
  align-items: baseline;
  justify-content: space-between;
  flex-direction: row;
  gap: 1.5rem;
  font-size: 14px;
}

.sp__menu .header-menu  > div{
  width:30%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sp__menu .company-a img{
  display:block;
}

.sp__menu .header-menu img{
  margin: 0px auto 12px;
}

@media (max-height: 1000px) {
  .header > a {
    width: 150px;
  }
  .header-menu img {
    margin-top: 8px;
    margin: 8px auto 0;
    width: 90%;
  }
}

@media (max-height: 900px) {
  .header{
    padding: 0.5rem 1rem;
  }
  .header > a {
    width: 120px;
  }
  .header-menu img{
    width: 80%;
  }
  .header-menu {
    gap: 14px;
  }
  .sub-menu {
    margin-bottom: 0;
  }
  .header-menu a p:first-child{
    margin-bottom: 4px;
  }
  .header-menu a:has(img) img{
    margin-top:2px;
  }
}
@media (min-width: 768px) {
  @media (max-height: 750px) {
    .header{
      align-items: center;
      width: 100%;
      padding: 0 0 0 2.5%;
      height: auto;
      flex-direction: row;
    }
    .header-menu {
      flex-direction: row;
      gap: 1.5rem;
    }
    .company-a p:last-child{
      display:block;
    }
    .company-a img{
      display:none;
    }
    .company-a:hover,
    .header > a:hover{
      opacity:0.7 !important;
      transform:none !important;
    }
    .header > a{
      margin: 0;
      width: 160px;
    }
    .header > a .tab {
      display: block;
    }
    .header > a .pc-tab {
      display:none;
    }
    .sub-menu{
      display:none;
    }
    .header-address-box{
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .header-address{
      margin:0;
    }
    .header-logo{
      width: 200px;
    }
    .header-parent{
      position: relative;
    }
    .header-parent::before{
      position: absolute;
      width:100%;
      height:80px;
      content:"";
      bottom:-80px;
      left:0;
    }
    .header-parent .sub-menu img{
      margin: 2px auto 0 !important;
      width:100% !important;
    }
    .header-parent:hover .sub-menu{
      position: absolute;
      display: block;
      width: 200px;
      left: 50%;
      transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      top: 50px;
    }
  }
}


@media (max-width: 1279px) {
  .header{
    align-items: center;
    width: 100%;
    padding: 0 0 0 2.5%;
    height: auto;
    flex-direction: row;
  }
  .header-menu {
    flex-direction: row;
    gap: 1.5rem;
    font-size: 14px;
  }
  .header-address{
    font-size: 12px;
  }
  .company-a p:last-child{
    display:block;
  }
  .company-a img{
    display:none;
  }
  .header > a{
    margin: 0;
    width: 140px;
  }
  .header > a .tab {
    display: block;
  }
  .header > a .pc-tab {
    display:none;
  }
  .sub-menu{
    display:none;
  }
  .header-address-box{
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .header-address{
    margin:0;
  }
  .header-logo{
    width: 150px;
  }
  .sp__menu{
    overflow: scroll;
  }
}

@media (max-width: 1180px) {
  .header-address{
    display:none;
  }
  .header > .header-menu{
    display:none;
  }
  .header > a{
    display:none;
  }
  .header .hamBtn {
    display: block;
  }
  .header{
    background:transparent;  
  }
}

@media (max-width: 767px) {
  .sp__menu {
    width:90%;
    max-width: none;
    max-height: none;
    justify-content: flex-start;
  }
  .sp__menu .header-menu > div {
    width: 100%;
  }
  .header-logo {
    width: 180px;
  }
  .sp__menu .header-menu{
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  .hamBar>div {
    height: 1px;
    width: 65%;
  }
  .hamBtn{
    width: 40px;
    height: 40px;
  }
  .sp__menu .header-menu img {
    margin: 0px auto 4px;
  }
}


.page_top {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index:999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}


@media (max-width: 767px) {
  .page_top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

body:has(.banner) .page_top,
body:has(.contact) .page_top{
  display:none !important;
}