header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(1px) contrast(110%);
  box-shadow: 0 0 10px 0 rgba(0, 165, 154, 0.40);
  z-index: 20;
  @media screen and (max-width: 1279px){
    display: block;
  }
  @media screen and (max-width: 767px){
    padding: 12px;
  }
  .header-logo{
    img{
      display: block;
      @media screen and (max-width: 767px){
        width: 115px;
      }
    }
  }
  .header-main-nav{
    display: flex;
    justify-content: end;
    align-items: center;
    letter-spacing: .9px;
    a:not(.btn-base){
      display: block;
      font-size: 18px;
      color: #333;
      font-weight: 700;
      padding: 8px 16px;
      transition: all .3s;
      &:hover{
        background: #DBF0EF;
        border-radius: 4px;
        color: #008D84;
      }
    }
    .navbtn1{
      margin-left: 24px;
    }
    .navbtn2{
      margin-left: 16px;
    }
    .btn-nav{
      font-size: 18px;
      font-weight: 700;
      padding: 8px 16px;
      transition: all .3s;
      @media screen and (max-width: 1279px){
        margin-top: 24px;
        text-align: center;
      }
    }
    @media screen and (max-width: 1279px){
      display: none;
      opacity: 0;
      padding: 24px;
      transition: all .3s;
      &.is-visible{
        opacity: 1;
      }
      &.menu-open{
        display: block;
      }
    }
  }
  .sp-menu-icon{
    display: none;
    @media screen and (max-width: 1279px){
      position: absolute;
      right: 40px;
      top: 18px;
      width: 20px;
      height: 20px;
      cursor: pointer;
      display: inline-block;
      transition: all .3s;
      box-sizing: border-box;
      span{
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #333;
        border-radius: 4px;
        display: inline-block;
        transition: all .3s;
        box-sizing: border-box;
        &:nth-of-type(1){
          top: 0;
          animation: bartop .75s forwards;
        }
        &:nth-of-type(2){
          top: 9px;
          transition: all .25s .25s;
          opacity: 1;
        }
        &:last-child{
          bottom: 0;
          animation: barlast .75s forwards;
        }
      }
      &.active{
        span{
          &:nth-of-type(1){
            animation: active-bartop .75s forwards;
          }
          &:nth-of-type(2){
            opacity: 0;
          }
          &:last-child{
            animation: active-barlast .75s forwards;
          }
        }
      }
    }
    @media screen and (max-width: 767px){
      right: 12px;
      top: 15px;
    }
  }

  .header-sub-menu{
    position: absolute;
    top: 69px;
    left: 0;
    width: 100vw;
    background-color: rgba(255, 255, 255, .95);
    backdrop-filter: blur(1px) contrast(110%);
    box-shadow: 0 10px 10px 0 rgba(0, 165, 154, 0.40);
    z-index: 10;
    padding: 24px;
    border-top: 1px solid #DBF0EF;
    display: none;
    opacity: 0;
    transition: all .3s;
    &.is-active{
      display: block;
    }
    &.is-view{
      opacity: 1;
    }
  }
  .header-sub-menu-img-link,
  .header-sub-menu-text-link{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    li{
      width: calc((100% - 40px) / 3);
    }
    a{
      display: block;
      & > p{
        text-align: center;
        font-weight: 700;
        color: #00A59A;
      }
    }
  }
  .header-sub-menu-img-link{
    padding-bottom: 24px;
    border-bottom: 1px solid #DBF0EF;
    li:hover{
      .nav-arrow{
        opacity: 1;
      }
    }
  }
  .header-sub-menu-text-link{
    margin-top: 24px;
    gap: 4px 20px;
    a{
      color: #00A59A;
      font-weight: 700;
      padding: 8px 4px;
      &:hover{
        background: rgba(74, 156, 150, .2);
        border-radius: 4px;
      }
    }
  }
  .navi-img{
    position: relative;
    img{width: 100%;}
    .nav-arrow{
      position: absolute;
      top: 0;
      left: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      width: 100%;
      height: 100%;
      background: rgba(74, 156, 150, .7);
      color: #fff;
      font-weight: 700;
      opacity: 0;
      transition: all .3s;
      &::before{
        content: "";
        display: block;
        width: 16px;
        height: 16px;
        background: url(/images/rn2026/common/icon/arrow-circle-whi.svg) no-repeat;
        margin-top: 4px;
      }
    }
  }
  .header-sub-menu-bnr-link{
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 24px;
    li{
      transition: all .3s;
      &:hover{
        filter: drop-shadow(0 0 4px rgba(0, 0, 0, .6));
      }
    }
  }
  .btn-subnav{
    font-size: 18px;
    font-weight: 700;
    padding: 12px 0;
    width: 100%;
    max-width: 358px;
    margin: 0 auto;
    border: 1px solid #FEE144;
    color: #333;
    letter-spacing: .8px;
    &:hover{
      border: 1px solid #4A9C96;
    }
  }
}

@keyframes bartop {
  0% {
    transform: translateY(9px) rotate(45deg);
  }
  50% {
    transform: translateY(9px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
@keyframes barlast {
  0% {
    transform: translateY(-9px) rotate(-45deg);
  }
  50% {
    transform: translateY(-9px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes active-bartop {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(9px) rotate(0);
  }
  100% {
    transform: translateY(9px) rotate(45deg);
  }
}
@keyframes active-barlast {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-9px) rotate(0);
  }
  100% {
    transform: translateY(-9px) rotate(-45deg);
  }
}