header{
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  padding:0.5em 0.5em 0.5em 0;
  transition: 0.4s ease-out;
  z-index: 10;
  background-color: #fff;
}

.h-logo figure{
  width: 5em;
}

.pc-navi{
  display: flex;
  gap:1.5em;
  align-items: center;
  justify-content: flex-end;
}
.pc-navi-li a:hover{
  color: #DC4F26;
}

.h-sp-hb{
  display: none;
}
.h-sp-navi{
  display: none;
}

.h-contact{
  display: inline-block;
  width: 10em;
  padding: 0.25em 1.2em;
  background-color: #DC4F26;
  border-radius: 50px;
  text-align: center;
}


@media (max-width:1023px){
  .h-logo-wrap{
    margin-left: 0;
  }
  .h-pc-navi{
    display: none;
  }
  .h-sp-hb{
   display: block;
  }
  .h-sp-navi{
    padding-inline: 1em;
    position: fixed;
    flex-direction: column;
    align-items: center;
    display: flex;
    right:-100%;
    opacity:0;
    gap:2em;
    z-index: 2;
    width: 70%;
    height: 100vh;
    transition: 0.2s ease-out;
  }
  .h-sp-navi.drawer-show{
    opacity:1;
    right:0%;
  }
  .h-sp-navi-item{
    display: flex;
    flex-direction: column;
    gap:2em;
  }
  .drawer-toggle{
    position: relative;
    cursor: pointer;
    width: 50px;
    height:50px;
    border-radius: 5px;
    margin: 0.5em 0.5em 0.5em auto;
  }
 
  .drawer-toggle span{
    display: inline-block;
    transition: all .3s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    width: 45%;
  }

  .drawer-toggle span:nth-of-type(1) {
  top:15px; 
  }

  .drawer-toggle span:nth-of-type(2) {
  top:23px;
  }

  .drawer-toggle span:nth-of-type(3) {
  top:31px;
  }

  .drawer-toggle.drawer-show span:nth-of-type(1) {
    top: 18px;
    left: 12px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
  }

  .drawer-toggle.drawer-show span:nth-of-type(2) {
  opacity: 0;
  }

  .drawer-toggle.drawer-show span:nth-of-type(3){
    top: 30px;
    left: 12px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
  }
  .h-contact{
    margin: 0 auto;
  }
}

.h-wave{
  z-index: 1;
  position: fixed;
  left:0;
  top:3em;
  width:100%;
  z-index: 9;
}

.mv img {
  width: 100%;
  display: block;
  object-fit: contain;
}
.mv-wrap{
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 2em;
  z-index: 8;
}

.mv-ttl{
  position: absolute;
  left:30%;
  top:12em;
  transform: translate(-50%,0);
  width: min(18%,285px);
  height: auto;
  z-index: 10;
}
.mv-icon01{
  position: absolute;
  top:17%;
  left:-1em;
  width: 14em;
  z-index: 9;
}
.mv-icon02{
  position: absolute;
  bottom:20%;
  left:13%;
  width: 3.5em;
  z-index: 9;
}
.mv-icon03{
  position: absolute;
  top:17%;
  right:2%;
  width: 8em;
  z-index: 9;
}
.mv-icon04{
  position: absolute;
  bottom:-2em;
  right:1.5em;
  width: 20em;
  z-index: 9;
}
@media (max-width: 1023px){
  .h-wave {
    width: 100%;
    height: 70px; /* 必要な高さに調整 */
    overflow: hidden;
    top:2.25em;
  }

  .h-wave img {
    width: 767px;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .h-logo{
    gap: 1em;
  }
  .mv{
    height: 80vh;
    overflow: hidden;
  }
  .mv img{
    height: 100%;
    object-fit: cover; 
    object-position: 10% center; 
    display: block;
  }
  .mv-ttl{
    top:7em;
    width: 11em;
    left:35%;
  }

  .mv-icon01{
    width: 8em;
  }
  .mv-icon02{
    width: 3em;
  }
  .mv-icon03{
    width: 8em;
    top:5%;
  }
  .mv-icon04{
    width: 16em;
    right:0;
  }
}

.top-news-wrap{
  grid-template-columns: 40% 1fr;
  grid-gap: 2em;
}
.top-news-item{
  grid-template-columns: 13em 1fr;
  border-bottom: 1px solid #98BF3A;
  padding-bottom: 1em;
  grid-gap: 1em;
}
.top-news-item+.top-news-item{
  padding-top: 1em;
}
.category-news {
  padding:0.1em 1em;
  background-color: #DC4F26; 
  border-radius: 50px;
}
.category-blog {
  padding:0.1em 1em;
  background-color: #98BF3A; 
  border-radius: 50px;
}
@media (max-width: 767px){
  .top-news-wrap{
  grid-template-columns: repeat(1,1fr);
  grid-gap: 0;
  }
  .top-news-item{
    grid-template-columns: repeat(1,1fr);
    grid-gap: 0.5em;
    padding-bottom: 1.5em;
  }
  .top-news-item+.top-news-item{
    padding-top: 1.5em;
  }
}


/* --------------- footer--------------- */
footer,.f-wave{
  position: relative;
  z-index:2;
}

.f-tel{
  margin-inline:inherit;
  text-align: left;
}
.f-insta{
  width: 47px;
}
.f-company-data th{
  padding-right: 3em;
  padding: 0.5em 1.5em 0.5em 0;
  text-align: right;
  font-weight: 400;
}
.f-company-data td{
  padding: 0.5em 0 0.5em 1.5em;
  font-weight: 400;
}

@media (max-width: 767px){
  .f-wave {
    width: 100%;
    height: 100px; /* 必要な高さに調整 */
    overflow: hidden;
    position: relative;
  }

  .f-wave img {
    width: 767px;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .f-company-data th{
    width: 6em;
  }
  .gmap iframe{
    aspect-ratio: 1 / 1;
    max-width: 1000px;
    width: 100%;
    height: auto;
  }
}