@charset "UTF-8";

/*===============================================
ALL（header / footer / nav）
===============================================*/
.siteHeader{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  & .siteHeaderInner{
    position: relative;
    width: calc(100% - 30px);
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 70px;
  }
}

/*--------hamburger--------*/
.navToggle{
  display: none;
}
.hamburgerBtn{
  position: relative;
  z-index: 110;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  & img{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
  }
  & .iconOpened{
    display: none;
  }
}
.navOverlay{
  display: none;
}

/*--------nav drawer--------*/
.globalNav{
  position: fixed;
  top: 0;
  right: 0;
  z-index: 105;
  width: 78%;
  max-width: 320px;
  height: 100%;
  padding: 100px 30px;
  background-color: #161B33;
  transform: translateX(100%);
  transition: transform .3s ease;
  & ul{
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  & a{
    color: #F7F5F0;
    font-weight: bold;
    font-size: 16px;
  }
}

/*--------checked state（:has()でJSなしにメニュー開閉を制御）--------*/
.siteHeaderInner:has(.navToggle:checked){
  & .globalNav{
    transform: translateX(0);
  }
  & .navOverlay{
    display: block;
    position: fixed;
    inset: 0;
    z-index: 104;
    background-color: rgba(22,27,51,.4);
  }
  & .hamburgerBtn .iconClosed{
    display: none;
  }
  & .hamburgerBtn .iconOpened{
    display: block;
  }
}

/*--------footer--------*/
.footerContents{
  position: relative;
  overflow: hidden;
  background-color: #F7F5F0;
  & .footerInner{
    position: relative;
    overflow: hidden;
    padding: 50px 0 30px 0;
    text-align: center;
    &::after{
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      width: 220px;
      height: 159px;
      background-image: url(../img/background_top.svg);
      background-repeat: no-repeat;
      background-position: bottom right;
      background-size: 100% 100%;
      transform: rotate(180deg);
      pointer-events: none;
    }
  }
  & .footerInnerCenter{
    position: relative;
    width: calc(100% - 40px);
    margin: 0 auto;
  }
  & .footerLogo{
    width: 140px;
    margin: 0 auto 45px auto;
  }
  & .footerOfficeWrap{
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
    padding-bottom: 120px;
  }
  & .footerOffice{
    font-size: 13px;
    line-height: 1.8em;
    & .officeName{
      margin-bottom: 8px;
      font-size: 16px;
      font-weight: bold;
      font-family: "Zen Maru Gothic", sans-serif;
    }
    & .officeMail{
      display: flex;
      align-items: center;
      gap: 6px;
      & img{
        height: 12px;
        width: auto;
      }
    }
  }
}
.footerBottomBar{
  padding: 20px 0;
  text-align: center;
  color: #FFFFFF;
  background-color: #1C28A6;
  & .footerCatch{
    margin-bottom: 6px;
    font-weight: bold;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 16px;
  }
  & .footerCopyright{
    font-size: 11px;
  }
}

/*--------------------------Responsive*/
@media (min-width: 1024px) { /*--for PC--*/
  .siteHeader{
    & .siteHeaderInner{
      /*width: 1024px;*/
      height: 100px;
    }
  }
  .hamburgerBtn{
    width: 62px;
    height: 62px;
    & img{
      width: 40px;
      height: 40px;
    }
  }
  .footerContents{
    & .footerInner{
      padding: 80px 0 50px 0;
      &::after{
        width: 340px;
        height: 245px;
      }
    }
    & .footerInnerCenter{
      width: 1024px;
    }
    & .footerLogo{
      width: 180px;
      margin-bottom: 65px;
    }
    & .footerOfficeWrap{
      flex-direction: column;
      gap: 40px;
      width: 600px;
      margin: 0 auto;
      padding-bottom: 50px;
      & .footerOffice{
        width: 100%;
      }
    }
  }
  .footerBottomBar{
    padding: 30px 0;
    & .footerCatch{
      font-size: 20px;
    }
    & .footerCopyright{
      font-size: 14px;
    }
  }
}
