@charset "utf-8";
/* CSS Document */

/*===============================

    common

================================*/
.main {
  display: flex;
  justify-content: space-between;
  overflow: initial;/* hiddenだと追従ナビが動かない */
  padding-top: 30px;
  width: 1240px;

  &:has(.main__sideNavi) {
    flex-direction: row-reverse;
  }
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.main__left {
  padding: 0;
  width: 1020px;
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}
/* .ml:first-child { padding-top: 0; } */

.main__sideNavi {
  @media screen and (max-width: 768px) {
    display: none;
  }
}



/*
    追従ナビ
================================*/
body:not(.newType) { /* 公開トップのCSSを上書きしないように */
  .nav--container {
    .subnav{
      background-color: #e5f3fa;
      /* display: flex;
      align-items: flex-start; */
      @media screen and (max-width:768px) {
        flex-direction: column;
      }
    }
    .subnav__inner {
      display: flex;
      margin-inline: auto;
      max-width: 1240px;
    }
    /* 検索 */
    .searchField {
      @media screen and (max-width:768px) {
        margin: 0 auto;
      }
    }
    .searchField__inner {
      background-color: transparent;
      margin: auto;
      width: 630px;
      @media screen and (max-width:768px) {
        width: 100%;
      }
    }
    .searchField__heading {
      background-color: #164a84;
      flex: 0 0 180px;
      position: relative;
    }
    .searchField__heading::before {
      border-top: 15px solid transparent;
      border-bottom: 15px solid transparent;
      border-left: 15px solid #164a84;
      content: "";
      display: block;
      height: 0;
      position: absolute;
      top: 0;
      right: 0;
      transform: translateX(100%);
      width: 0;
    }
    .searchField__heading::after {
      background-color: #f8f3ed;
      -webkit-clip-path: polygon(172px -1px, 167px -1px, 183px 50%, 168px 100%, 173px 100%, 188px 50%);
              clip-path: polygon(172px -1px, 167px -1px, 183px 50%, 168px 100%, 173px 100%, 188px 50%);
      content: "";
      display: block;
      height: 100%;
      position: absolute;
      top: 0;
      right: -15px;
      width: calc(100% + 15px);
    }
    .searchField__title {
      color: #fff;
      font-size: 15px;
      font-weight: bold;
      line-height: 30px;
      padding: 0 10px;
      position: relative;
    }
    .searchWordBox__ttl { margin-right: 10px; }

    /* お問合せ＆商談 */
    .subnav_btnList {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      padding: 10px 10px 10px 0;
      width: 100%;
      @media screen and (max-width: 768px) {
        padding: 10px;
      }
    }
    .subnav_btnItem {
      width: 50%;

      .subnav_btnItem_target {
        --subnavTarget_theme: #333;
        align-items: center;
        background-color: #fff;
        border: 1px solid var(--subnavTarget_theme);
        border-radius: 4px;
        color: var(--subnavTarget_theme);
        display: flex;
        font-weight: bold;
        height: 100%;
        justify-content: center;
        &:hover {
          opacity: .7;
          text-decoration: none;
        }
        &.subnav_btnItem_target--ask {
          --subnavTarget_theme: #ec4062;
        }
        &.subnav_btnItem_target--shodan {
          --subnavTarget_theme: #2a6cae;
        }
        @media screen and (max-width: 768px) {
          min-height: 40px;
        }
      }
    }
  }

  .nav--container.is_fixed {
    position: sticky;
    top: 0;
    z-index: 999;
    .nav-top2 {
      padding-bottom: 0;
    }
  }


  @media screen and (min-width: 769px) and (max-width: 1220px) {
    width: 1240px;
  }
  @media screen and (max-width: 768px) {
    margin-bottom: 20px;
  }
  .nav-top2 {
    padding: 10px 10px 0 10px;
    display: flex;
    align-items: center;
    @media screen and (max-width: 768px){
      flex-direction: column;
    }
  }
  .nav-top2--win{
    background:#E5F3FA;
  }
  .nav-top2__inner {
    align-items: center;
    display: flex;
    gap: 10px 25px;
    margin-inline: auto;
    max-width: 1240px;
    width: 100%;
    @media screen and (max-width: 768px){
      flex-direction: column;
      /* width: 100%; */
    }
  }
  .nav-top2__logo {
    > a {
      transition: .3s opacity;
      &:hover { opacity: .7; }
    }
  }
  .nav-top2__title{
    width: auto;
    word-break: keep-all;
    margin: 0;
    font-size: 14px;
    @media screen and (max-width: 768px){
      margin-bottom: 10px;
    }
  }
  .nt2{
  }
  .nt2__list{
    /* width: 120px; */
    padding:0;
    @media screen and (max-width: 768px){
      /* width:calc(33.333% - 3px); */
    }
  }
  /* お問合せ＆商談予約 */
  .nt2__list--grid {
    --theme_contact: #ec4062;
    --theme_bizMtRsv: #2a6cae; 
    display: grid;
    gap: 3px;
    @media screen and (max-width: 768px) {
      grid-template-columns: 1fr 1fr; 
      /* grid-area: 3 / 1 / 4 / 5; */
      grid-column: 1 / -1;
    }
    .nt2__span {
      .nt2__link {
        --theme_nt2Link: #333;
        border: 1px solid var(--theme_nt2Link);
        font-size: 11px;
        height: auto;
        padding: 3px;
        &:is(.nt2__link--contact,.nt2__link--bizMeetingReserve) {
          &:hover {
            background-color: var(--theme_nt2Link);
            color: #fff;
            &::before { background-color: #fff; }
          }
          &::before {
            aspect-ratio: 24 / 19;
            content: "";
            display: block;
            height: 1.3em;
            mask-position: center;
            mask-repeat: no-repeat;
            mask-size: contain;
            width: auto;
          }
          @media screen and (max-width: 768px) {
            font-size: inherit;
            min-height: 50px;
            padding: 10px;
          }
        }
        &.nt2__link--contact {
          --theme_nt2Link: var(--theme_contact);
          &::before {
            /* aspect-ratio: 22 / 16; */
            background-color: var(--theme_nt2Link);
            mask-image: url("/resource/img/gnav/icon_navi-b02_inquiry.svg");
          }
        }
        &.nt2__link--bizMeetingReserve {
          --theme_nt2Link: var(--theme_bizMtRsv);
          &::before {
            aspect-ratio: 24 / 19;
            background-color: var(--theme_nt2Link);
            mask-image: url("/resource/img/gnav/icon_navi-b03_business-discussion.svg");
          }
        }
      }
    }
  }
  /* お問合せ＆商談予約 */

  .nt2{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
    flex-wrap: wrap;
    @media screen and (max-width: 768px){
      grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
      justify-content: space-between;
      gap: 6px;
    }
  }


  .nt2__link{
    display: flex;
    height: 50px;
    justify-content: center;
    align-items: center;
    text-align: left;
    font-size: 14px;
    padding: 4px ;
    border: 2px solid #ccc;
    border-radius: 4px;
    box-shadow: none;
    line-height: 1.3;
  }
  .nt2__link--skill{border-color:#7A4881}
  .nt2__link--hierarchy{border-color:#394C99}
  .nt2__link--map{border-color:#BF362A}
  .nt2__link--schedule{border-color:#BA8E1E}
  .nt2__link--online{border-color:#70711F}
  .nt2__link--area{border-color:#01663A}
  .nt2__link--situation{border-color:#4C312C}
  .nt2__link::before{
    width:30px;
    height: 100%;
    background-size: contain;
    margin: 0px 5px 0px 0;
    @media screen and (max-width: 768px){
      content:none;
    }
  }
  .nt2__link::after{
    display: none;
  }

  /* 受講者ページ */
  .nt2 {
    &.__students {
      .nt2__link {
        height: auto;
        text-align: center;
      }
      .nt2__link::before {
        height: 30px;
        margin: 0 auto 10px;
        width: 80%;
      }
    }
  }
  /* スマートパックリンク追加 */
  .nt2__link--smartpack {
    --theme_smp: #4D3E8C;
    --nt2link_bgColor: var(--theme_smp);
    background-color: var(--nt2link_bgColor);
    border-color: var(--theme_smp);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    &::before {
      content: none;
    }
    &:hover {
      --nt2link_bgColor: #fff;
      color: currentColor;
    }
    > span {
      align-items: center;
      display: flex;
      flex-direction: column;
      gap: 3px;
    }
    @media screen and (max-width: 768px) {
      height: auto;
    }
  }

/* 検索ボックス */
.searchField{
  margin-bottom: 0;
  padding: 0;
}
.searchField__inner{
  padding: 10px;
  background: #E8EAEF;
}
.searchField__body{
  display: flex;
  align-items: center;
}
.searchField__heading{
  flex: 0 0 200px;
  position: relative;
  margin-right: 30px;
  background: #164A84;
}
.searchField__heading::before{
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
  border-top: 15px solid rgba(255, 255, 255, 0);
  border-bottom: 15px solid rgba(255, 255, 255, 0);
  border-left: 15px solid #164A84;
  transform: translateX(100%);
}
.searchField__ttl{
  position: relative;
  padding: 0 16px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  line-height: 30px;
}
.searchField__ttl::after{
  content: "";
  position: absolute;
  right: 8px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  border-top: 15px solid rgba(255, 255, 255, 0);
  border-bottom: 15px solid rgba(255, 255, 255, 0);
  border-left: 15px solid #E8EAEF;
  transform: translateX(100%);
}
.searchField__ttl::before{
  content: "";
  position: absolute;
  right: 12px;
  top: 0;
  bottom: 0;
  z-index: 1;
  margin: auto 0;
  border-top: 15px solid rgba(255, 255, 255, 0);
  border-bottom: 15px solid rgba(255, 255, 255, 0);
  border-left: 15px solid #164A84;
  transform: translateX(100%);
}
.searchField__fieldWrap{
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
}

.searchField__field{
  width: calc(100% - 30px);
}
.searchField__field input{
  width: 100%;
  padding: 0;
  border: 1px solid #707070;
  border-right: none;
  border-radius: 0;
  outline: none;
  line-height: 28px;
  text-indent: .5em;
}
.searchField__btn{
  background: #2793D2;
  width: 30px;
  height: 30px;
  padding: 6px;
  border: none;
  line-height: 0;
  cursor: pointer;
  transition: .3s opacity;
}
.searchField__btn img{
  max-width: 100%;
  height: auto;
}
.searchField__btn:hover{
  opacity: .7;
}
.searchField__footer{
  margin-top: 16px;
}
@media screen and (max-width: 768px){
  .searchField{
    width: 95%;
    margin: 40px auto 0;
  }
  .searchField__body{
    flex-wrap: wrap;
  }
  .searchField__heading{
    margin: 0 0 8px 0;
  }
  .searchField__fieldWrap{
    width: 100%;
  }
}

}
