@charset "UTF-8";

/*-----------------------
$utility 
-----------------------*/
.color_yellow {
  color: #FFE500; }

.bg_navy {
  background: var(--color-main); }

.bg_white {
  background: white; }

.flex_row {
  display: flex;
  flex-direction: row; }

.f40 {
  font-size: 40px; }

.f32 {
  font-size: 32px; }

.f28 {
  font-size: 16px; }

.f26 {
  font-size: 26px; }

.f24 {
  font-size: 24px; }

.f22 {
  font-size: 22px; }

.f20 {
  font-size: 20px; }

.f16 {
  font-size: 16px; }

.f12 {
  font-size: 12px; }

.bold {
  font-weight: bold; }

.bottom10 {
  position: absolute;
  bottom: 10px; }

.bottom80 {
  position: absolute;
  bottom: 80px; }

.al_center {
  text-align: center; }

/*-----------------------
    $main 
-----------------------*/
#recruit{
  .main{
    height: calc(100vh - 60px);
    display: flex;
    background: var(--color-main);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    min-height: 720px;
    @media screen and (max-width: 1060px) {
      max-height: 780px;
      margin-top: 92px;
    }
    /* main__banner */
    .main__banner {
      width: 95%;
      height: 50vh;
      margin: auto;
      background: url(../img/recruit/recruit-main-banner3.jpg);
      background-size: cover;
      background-repeat: no-repeat;
      @media screen and (max-width: 1060px) {
        height: 440px;
        margin: 0px auto;
        background: url(../img/recruit/recruit-main-banner_sp.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center; }
        @media screen and (max-height: 760px) {
          height: 350px; }

          .img-box {
            display: flex;
            justify-content: space-evenly;
            position: absolute;
            top: 5%;
            right: 5%;
            width: 40%;
            @media (max-width: 640px) {
              top: 10%;
              right: 0;
              width: 100%;
            }
            img{
              width: 120px;
              opacity: 0;
            }
            img:nth-child(1){
              width: 20px;
              animation: downup .5s forwards .4s ease-in;
            }
            img:nth-child(2){
              animation: downup .3s forwards .8s ease-in;
            }
            img:nth-child(3){
              animation: downup .3s forwards 1.1s ease-in;
            }
            img:nth-child(4){
              animation: downup .3s forwards 1.4s ease-in;
            }
            img:nth-child(5){
              animation: downup .3s forwards 1.7s ease-in;
            }
          }
          p{
            position: absolute;
            right: 5%;
            bottom: 5%;
            font-size: 48px;
            font-family: 'ta-fuga-fude','Yusei Magic', sans-serif;
            font-weight: bold;
            color: var(--color-main);
            text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF, -1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
            opacity: 0;
            transition: all 1s ease-out;
            @media screen and (max-width: 1060px) {
              font-size: 40px;
              width: 100%;
              text-align: center;
              bottom: 20px; }
          }
    }
    /* main__sentence */
    .main__sentence {
      height: calc(50vh - 60px);
        @media screen and (max-width: 1060px) {
          height: auto;
          flex-shrink: 0; }
          @media screen and (max-height: 760px) {
            height: 350px; }

          .bg_white {
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            height: calc(50vh - 30px);
            width: 95%;
            margin: auto;
            margin-top: 0px;
            clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 90% 100%, 10% 100%, 0% 75%);
            @media (max-width: 1060px) {
              height: 100%;
              align-items: center;
              padding-bottom: 30px; }
              @media (max-height: 760px) {
                height: 350px; }
                @media (max-width: 640px){
                  clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 90% 100%, 10% 100%, 0% 90%); }

            img {
              max-width: 250px;
              max-height: 400px;
              @media (max-width: 1060px) {
                max-width: 150px;
                max-height: 250px; }
            }
            .main__sentence__slogan h3{
              font-family: "ta-fuga-fude", sans-serif;
              font-size: 32px;
              font-weight: 400;
              color: var(--color-main);
              text-align: left;
              padding: 1rem 0;
              border-bottom: 1px solid var(--color-main);
              opacity: 0;
                @media (max-width: 1060px) {
                    font-size: 20px; }
            }
            .main__sentence__slogan h3:nth-child(1){
              animation: downup .3s forwards 2.3s ease-in;
            }
            .main__sentence__slogan h3:nth-child(2){
              animation: downup .3s forwards 2.6s ease-in;
            }
            .main__sentence__slogan h3:nth-child(3){
              animation: downup .3s forwards 2.9s ease-in;
              border-bottom: 0; } 
          }
    }
    .main__arw-box{
      z-index: 100;
      top: -3%;
      margin: 0 auto;
      width: 60px;
      height: 70px;
      background-color: var(--color-main);
      @media (max-width: 1060px) {
        top: -4%; }
      .main__arw-box__line{
        position: absolute;
        left: 50%;
        top: 20%;
        transform: translate(-50%);
        height: 30px;
        border: 2px solid #fff;
        border-radius: 4px;
        background-color: #fff;
        animation: arrow2 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s infinite;
      }
      .main__arw-box__line::before {
        content: "";
        position: absolute;
        border: 2px solid #fff;
        border-radius: 4px;
        width: 20px;
        margin-left: -5px;
        bottom: 15%;
        transform: rotate(-45deg); }
        .main__arw-box__line::after{
          content: "";
          position: absolute;
          border: 2px solid #fff;
          border-radius: 4px;
          height: 20px;
          bottom: -18%;
          margin-left: -10px;
          transform: rotate(-45deg); }
    }
  }
  /* gallery1 */
  .gallery1 {
    width: 100%;
    height: 400px;
    background: url(../img/recruit/gallary_group2.jpg) repeat-x;
    background-position: center;
    animation: bgloop 30s linear infinite;
  }
  /* interview */
  .interview {
    background: var(--color-main);
    display: block;
    padding: 100px 0px;
    .interview_title {
      width: 200px;
      display: block;
      text-align: center;
      margin: auto;
    }

    .interview_inner {
      display: flex;
      padding: 100px 0px;
      @media (max-width: 1060px) {
        padding: 30px 0px; }

      .interview_card {
        width: 300px;
        margin: 0 60px;
        padding: 30px 10px;
        padding-bottom: 0px;
        background-color: #2D7AEE;
        color: white;
        clip-path: polygon(30px 0, 100% 0%, 100% 100%, 0% 100%, 0 30px);
        @media (max-width: 1060px) {
            margin: 30px 50px; }

        div{
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin: 0px 30px;
          p{font-weight: bold;}
        }

          img {
            height: 250px;
            margin: auto; }
      }
      .interview_card:nth-child(odd) {
        background-color: #45b1e0; }
    }
    .page_link{
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      a{
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        font-weight: bold;
        line-height: 50px;
        transition: all .3s;
        p {
          font-size: 32px;
          margin-right: 20px; }
          .page-link__arw-box {
            width: 60px;
            height: 60px;
            background-color: #FFF;
            .page-link__arw-box__line {
              position: absolute;
              right: 60%;
              top: 50%;
              transform: translate(50%);
              width: 30px;
              border: 2px solid var(--color-main);
              border-radius: 4px;
              background-color: var(--color-main);
              animation: arrow6 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s infinite; }
              .page-link__arw-box__line:before,
              .page-link__arw-box__line:after{
                content: "";
                position: absolute;
                border: 2px solid var(--color-main);
                border-radius: 4px;
                height: 20px;
                right: 10%;
                transform: rotate(-45deg); }
                .page-link__arw-box__line:before{
                  bottom: -4px;
                }
                .page-link__arw-box__line:after {
                  bottom: -19px;
                  transform: rotate(45deg); }
          }
      }
      a:hover{ opacity: 1; color: var(--color-second);}
      a:hover .page-link__arw-box{
        background-color: var(--color-second);
      }
    }
  }
  /* fukuri */
  .fukuri {
    display: flex;
    flex-direction: column;
    background: #F6F4F4;
    .fukuri_image {
      display: flex;
      height: 28vw;
      background: url(../img/recruit/fukuri_image.jpg);
      background-position: center;
      background-size: cover;
      @media (max-width: 1060px) {
        height: 400px;
        background-position: right;
      }
      div{
        width: 1000px;
        margin: auto;
        @media (max-width: 1060px) {
          width: 100%;
          margin: 24px; }
        .walfare {
          height: 40px;
          opacity: 0;
          @media (max-width: 1060px){
            height: 60px; }
        }
        h3{
          color: var(--color-main);
          font-size: 32px;
          opacity: 0;
          @media (max-width: 1060px){
            color: var(--color-main);
            font-size: 32px; }
        }
        p {
          color: var(--color-black);
          font-size: 24px;
          font-weight: bold;
          margin: 20px auto;
          opacity: 0;
          @media (max-width: 1060px){
            color: var(--color-black);
            font-size: 20px;
            font-weight: bold;
            margin: 10px auto; }
        }
      }
    }
    .fukuri__cardarea {
      width: 1000px;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-between;
      margin: auto;
      @media (max-width: 1060px) {
        width: 100%;
        padding: 30px;
        box-sizing: border-box; }
        .fukuri__cardarea__card{
          clip-path: polygon(30px 0, 100% 0%, 100% 270px, 270px 100%, 0 100%, 0 30px);
          width: 300px;
          height: 300px;
          display: flex;
          flex-direction: column;
          flex-wrap: nowrap;
          justify-content: space-between;
          align-items: center;
          margin: 20px auto;
          @media (max-width: 1060px) {
            width: 250px;
            height: 300px;
          }
          h4 {
            margin-top: 20px;
            font-size: 20px;
            color: var(--color-main);
            @media (max-width: 1060px) {
                font-size: 18px; }
          }
          div {
            width: 100%;
            height: 120px;
            margin: 0px;
            padding: 20px;
            color: white;
            text-align: center;
            line-height: normal;
            box-sizing: border-box;
            clip-path: polygon(0 0, 100% 0%, 100% 90px, 270px 100%, 0 100%);
            @media (max-width: 1060px) {
              font-size: 0.7em;
              padding: 10px; }
            .fukuri__cardarea__card__date{
              height: auto;
              padding: 0px;
            }
          }
        }
        .fukuri__cardarea__card:nth-child(1) .flex_row{
          display: flex;
          flex-direction: row;
        }
        .fukuri__cardarea__card:hover span.color_yellow {
          color: #FF7D45;
        }
        .fukuri__cardarea__card-photo{
          width: 300px;
          height: 300px;
          img {
            width: 100%;
            height: 100%;
            max-width: 100%;
            max-height: 100%; }
        }
    }
  }
  /* entry */
  .recruit__entry {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 30vw;
    background: url(../img/recruit/26929477_m_1.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    @media (max-width: 1060px){
      justify-content: center;
      height: 600px;
      width: 100vw;
      background-size: cover;
      background-position: center;
    }
    .entry__btn-area {
      width: 1000px;
      display: flex;
      flex-wrap: nowrap;
      flex-direction: row;
      justify-content: space-evenly;
      @media (max-width: 1060px) {
        width: 100vw;
        flex-direction: column;
        text-align: center;
        align-items: center; }
        .entry__btn-area__btn {
          width: 300px;
          height: 100px;
          border: 8px solid var(--color-white);
          box-shadow: var(--form-shadow);
          transition: all .3s ease-out;
          opacity: 0;
          @media (max-width: 1060px) {
            margin-bottom: 1rem;
          }
          a{
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
            background-image: linear-gradient(to right, #001D54, #45B1E0);
            color: white;
          }
          a::before {
            content: "";
            position: absolute;
            inset: 0; /* same as { top: 0; right: 0; bottom: 0; left: 0; } */
            background-image: linear-gradient(to right, #45B1E0, #001D54);
            opacity: 0;
            transition: opacity 0.25s linear;
          }
          a:hover, a:hover::before {
            opacity: 1;
          }
        }
    }
  }
}
@keyframes arrow2 {
  to {
    top: 30%; } }

@keyframes bgloop{
  0%{background-position: 0 0; }
  100%{background-position: -2104px 0; }
}

@keyframes arrow6 {
  to {
    right: 40%; } }

@keyframes downup{
  0%{ top: -50px;}
  100%{ opacity: 1; top: 0;}
}

/* $recruit slogan */
.recruit__slogan{
  text-align: center;
  @media (max-width: 1060px) {
    font-size: 30px;
    margin-top: 2rem;
    margin-bottom: 5rem;
  }
}
.recruit__slogan::before, .recruit__slogan::after{
  display: inline-block;
  width: 100%;
  position: absolute;
  left: 0%;
  font-family: arial;
  font-size: 72px;
  color: #fff;
  opacity: .5;
}
.recruit__slogan::before{
  content: "The essence of Japanese";
  top: -130%;
}
.recruit__slogan::after{
  content: "manufacturing";
  top: 0%;
}
@media (max-width: 1060px){
  .recruit__slogan::before, .recruit__slogan::after{
    font-size: 48px;
  }
  .recruit__slogan::before{
    left: -15%;
    top: -50%;
    width: auto;
    text-wrap: nowrap;
  }
  .recruit__slogan::after{
    top: 70%;
  }
}
 /* ------------------
      $interview
-------------------*/
@media (max-width: 1060px) {
  #interview .interview-main{
    margin-top: 92px; }
  }
/* interview-main__banner */
#interview .interview-main .common-hero .text-box{
  top: 5%;
  left: 5%;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  h1 {
    font-size: 100px;
    font-family: 'arial';
    font-weight: 1000;
    color: var(--color-main2);
    letter-spacing: 10px;
    -webkit-text-stroke-width: 4px;
    -webkit-text-stroke-color: white;
    @media (max-width: 1060px) {
      font-size: 72px;
    }
  }
    p {
      display: inline-block;
      font-size: 28px;
      color: white;
      margin: 10px 0px;
      padding: 10px 30px;
      position: relative;
      background-color: var(--color-second2); }
}
#interview .interview-main .common-hero__inner::before{
  background: url(../img/recruit/interview/interview-cover.jpg) center no-repeat;
  background-size: cover;
}
/* interview-main__list */
#interview .interview-main__list {
  background-color: #F6F4F4;
  .interview-main__list__inner {
    width: 1000px;
    background: #FFF;
    margin: auto;
    .card {
      display: flex;
      flex-direction: row;
      width: 1000px;
      height: 370px;
      margin: auto;
      @media (max-width: 1060px) {
        flex-direction: column;
        width: 100vw;
        margin: 0;
        height: auto; }

      .card__info {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        width: 500px;
        padding: 30px;
        background-color: var(--color-main);
        color: white;
        @media (max-width: 1060px) {
            width: 100vw; }

        .card__title {
          width: 120px;
          height: inherit; }
          .text-area{
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            align-content: center;
            justify-content: flex-start;
            align-items: center;
            padding: 30px;
            width: 300px;
            height: 150px;
            margin: 20px;
            background-color: white;
            color: var(--color-main);
            clip-path: polygon(50px 0, 100% 0%, 100% 100px, 250px 100%, 0 100%, 0 50px);
            p {
              text-align-last: justify;
              width: 200px;
              font-weight: bold; }
        }
      }
      .card__img {
        width: 500px;
        height: auto;
        object-fit: cover;
        @media (max-width: 1060px) {
            width: 100vw;
            height: 60%; }
      }
    }
    .card:nth-child(n+7) .card__info{
      background-color: #0068B6;
      @media (max-width: 1060px) {
          width: 100vw;
          order: 2;
        }
    }
    @media screen and (max-width: 1060px) {
      .card:nth-child(n+7) {
        flex-direction: column-reverse;
        height: auto; }
    }
    .card:nth-child(5) .card__info .text-area span:nth-child(2) p{
      text-align: center;
      text-align-last: auto;
    }
      
    .question {
      display: flex;
      margin-top: 32px;
      margin-bottom: 32px;
      @media (max-width: 1060px) {
        flex-direction: column;
        align-items: center;
        width: 100vw;
        margin-bottom: 0;
      }
      .imagearea, .textarea{
        width: 50%;
        padding-right: 20px;
        flex-shrink: 1;
        @media (max-width: 1060px){
          width: 80vw; 
          padding-right: 0;
          padding-bottom: 32px;
        }
      }
      .imagearea {
        height: 100%;
        text-align: center;
        overflow: hidden;
        @media (max-width: 1060px){
          order: 2;
          padding: 0;
          width: 100%;
          height: 480px;
        }
        img {
          width: 100%;
          margin: auto;
          @media (max-width: 1060px){
            width: auto;
            height: 100%;
          }
        }
      }
      p {
        font-size: 1rem;
        margin: 20px auto;
        @media (max-width: 1060px) {
          font-size: 1.5rem;
        }
      }
        p.question_q {
          font-weight: bold;
          font-size: 1.2rem;
          color: var(--color-second2);
          @media (max-width: 1060px) {
            font-size: 1.5rem;
          }
        }
        p.question_q:nth-child(1){
          margin-top: 0;
        }
    }
    .question:nth-last-of-type(1){
      margin-bottom: 0; }
  }
}
 /* ------------------
      $data
-------------------*/
#data {
  background: #F6F4F4;
  @media (max-width: 1060px) {
      margin-top: 92px;
  }
  #top .recruit__slogan{
    top: 15%;
  }
  @media (max-width: 1060px) {
    .recruit__slogan::before{
      left: 5%;
    }
  }
  .wrap {
    background-color: white;
    padding: 20px 150px;
    @media (max-width: 1060px) {
      padding: 20px 30px;
    }

    h3 {
      text-align: center;
      margin: 30px; }

    #location-filters, #employment-type-filters{
      display: flex;
      justify-content: space-between;
      margin: 20px auto;
      width: auto;
      font-weight: bold;
      h4 {
        display: inline-block;
        width: 100px;
        font-size: 16px; }
        p{
          font-weight: bold;
          @media (max-width: 1060px) {
            font-size: 20px;
          }
        }
        #filter-form{
          display: flex;
          flex-direction: row;
          align-content: center;
          justify-content: space-evenly;
          margin: 20px auto;
          width: 100%;
          font-weight: bold;
          @media (max-width: 1060px) {
            flex-wrap: wrap;
          }
          label {
            display: flex;
            align-items: center;
            input {
              display: inherit; }
          }
        }
    }
    .databox{
      margin-bottom: 1px;
      .accordion {
        font-size: 100%;
        padding: 1rem;
        background: var(--color-main) url(../img/recruit/plus.svg) right center no-repeat;
        color: #fff;
        font-weight: normal;
        cursor: pointer;
        @media (max-width: 1060px) {
          padding-right: 3rem;
          background-size: auto 60%;
        }
        span {
          display: inline-block;
          width: 10rem;
          @media (max-width: 1060px) {
            display: block;
            width: auto;
          }
        }
          span.data_location_term {
            width: auto;
            font-size: 0.8em; }
      }
      .close {
        background: var(--color-main) url(../img/recruit/minus.svg) right center no-repeat;
      }
      .child {
        display: none;
        table {
          margin-bottom: 35px;
          width: 100%;
          th, td{
            padding: 1rem;
            border-bottom: 1px solid var(--color-grey);
            @media (max-width: 1060px){
              display: block;
            }
          }
        }
      }
    }
  }
  .wrap:nth-child(2){
    padding: 0 0 0 150px;
    @media (max-width: 1060px) {
    padding: 0 0 0 20px;
    }
  }
}
 /* ------------------------
      entry & contact table
----------------------------*/
#contact,
#entry {
  padding-bottom: 100px;
  form{
    padding: 2rem;
    text-align: left;
    @media (max-width: 1060px) {
      padding: 2rem 0 0 0;
    }
    .error {
      margin-bottom: 20px;
      padding: 15px;
      border: 4px double #c00;
      color: #c00;
    }
    p{
      font-weight: bold;
      margin-bottom: 0px;
      span {
        letter-spacing: 0px;
        padding-left: 4rem;
        @media (max-width: 1060px){
          padding: 0.9rem;
        }
      }
    }
    table {
      width: 100%;
      margin-bottom: 45px;
      th{
        width: 125px;
        text-align: center;
        @media (max-width: 1060px) {
          width: auto;
          padding: 1rem;
        }
      }
      th, td{
        padding: 8px;
        @media (max-width: 1060px) {
          display: block;
        }
      }
      input {
        width: 70%;
        @media (max-width: 1060px) {
          width: 100%;
          padding: 15px 10px;
        }
      }
      textarea {
        width: 100%;
        height: 12rem;
      }
      @media (max-width: 1060px) {
        select {
          padding: 8px;
          padding-right: 2rem;
          width: 100%;
        }
      }
      option[value]{ font-size: 1rem;}
      table {
        border: none;
        margin: 0px;
        th{
          width: 10rem;
          text-align: left;
          padding-left: 2rem;
          @media (max-width: 1060px) {
            width: auto;
            padding-left: 8px;
            padding-top: 8px;
            padding-bottom: 0px;
            border-bottom: none;
            font-weight: bold;
          }
        }
        #zip {
          width: 10rem;
          margin-right: 8px;
          @media (max-width: 1060px) {
            width: 60%; }
        }
        .zipbtn {
          display: inline-block;
          padding: 8px 32px;
          background: var(--color-main);
          color: #fff;
          line-height: 1.2;
        }
      }
    }
  }
  p.error, p.memo, p.privacy{ /*error memo privacy*/
    text-align: left;
    letter-spacing: 0px;
    margin-bottom: 20px;
  }
  p.privacy, p.confirm-btn{ text-align: center;}
  @media (max-width: 1060px) {
    p.privacy{ letter-spacing: -2px; }
  }
  p.privacy a{
    color: var(--color-second2);
    border-bottom: 1px solid var(--color-second2); }
  p.confirm-btn{ margin-top: 2rem;}
  .required {
    padding-left: 0.5em;
  }
  p.read{
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    color: var(--color-second2);
    padding: 16px 0;
    @media (max-width: 1060px) {
      font-size: 1.5rem;
    }
  }
  .complete {
    height: 400px;
    p.text{
      padding: 40px;
      border-radius: 8px;
      background: var(--color-light-grey);
      color: var(--color-black);
      text-align: left;
      line-height: 2;
    }
  }
}

 /* ------------------
      $entry
-------------------*/
#entry{
  background: #F6F4F4;
  padding-bottom: 100px;
  #top{
    height: 27.5vw;
    background: #E5E7ED;
    @media (max-width: 1060px) {
      height: 111vw;
      margin-top: 100px;
    }
    .entry-hero{
      max-width: 1060px;
      display: flex;
      align-items: center;
      @media (max-width: 1060px) {
        flex-direction: column;
        overflow: auto;
        padding-top: 52px;
      }
      .img-box{
        width: 32%;
        height: 100%;
        @media (max-width: 1060px){
          width: 80%;
          height: 300px;
          overflow: hidden;
        }
        img{
          width: 100%;
          @media (max-width: 1060px){
            object-position: 0 -80px;
          }
        }
      }
      .text-box{
        position: relative;
        width: 60%;
        padding: 0 2rem;
        text-align: left;
        color: var(--color-black);
        h4{
          padding: 1rem 0;
          @media (max-width: 1060px) {
            font-size: 1.8rem;
          }
        }
        @media (max-width: 1060px){
          width: 100%;
          padding: 2rem;
          text-align: center;
        }
        @media (max-width: 1060px) {
          h5{ font-size: 1.5rem; }
        }
      }
    }
  }
  .wrap{
    background-color: white;
    @media (max-width: 1060px){
      padding: 40px;
    }
    form{
      .entry__table, .entry__table-blank{
        border-top: none;
        tr{
          th{
            color: black;
            text-align: left;
            font-weight: bold;
            border-bottom: none;
            background: none;
            padding-left: 1rem;
            width: 10rem;
            @media (max-width: 1060px) {
              width: auto;
              padding-left: 0;
            }
          }
          td{
            border-bottom: none;
            padding-left: 0;
            input,select {
              width: 100%;
              margin-bottom: 1rem;
            }
            #zip{
              margin: 0;
              @media (max-width: 1060px) {
                width: 60%;
              }
            }
          }
        }
      }
      .entry__table table tr th{
        width: 7rem;
        padding-left: 0;
        @media (max-width: 1060px) {
          width: auto;
        }
      }
    }
  }
  .wrap:nth-child(2){
    background-color: none;
    padding-left: 48px;
    @media (max-width: 1060px) {
      padding: 0 0 0 40px;
    }
  }
  .complete p.text{
    margin: 0 2rem;
  }
}
 /* ------------------
      $contact
-------------------*/
#contact{
  padding: 72px 0;
  @media (max-width: 1060px) {
    padding: 100px 0;
  }
  .text-box{
    text-align: center;
    @media (max-width: 1060px) {
      padding-top: 60px;
    }
    .common-title{ margin-bottom: 0; }
    .common-title::after{
      content: none;
    }
    .area-title{
      line-height: 2;
      color: var(--color-main);
    }
    .area-title::after{ background-color: var(--color-main); }
  }
  .contact__table__row{
    border: 1px solid var(--color-light-grey);
    border-left: 0px;
    @media (max-width: 1060px) {
      border-left: 1px solid var(--color-light-grey);
    }
  }
    .contact__table__title{
      color: black;
      font-weight: bold;
      border-bottom: none;
      background: var(--color-grey);
    }
    .contact__complete-address{
      padding-top: 16px;
      padding-bottom: 16px;
      padding-left: 40px;
    }
    .contact__table-blank{
      th{
        width: 12rem; text-align: left;
        @media (max-width: 1060px) {
          width: auto;
        }
      }
      tr:nth-child(2) td{
        color: var(--color-second2);
        font-weight: bold;
      }
    }
}


 /* ------------------
      $sidebar
-------------------*/

/* pc sidebar */
@media screen and (min-width: 1061px) {
  .header_scroll, .sidebar{
    display: none; }

  .sidebar_scroll {
    position: fixed;
    width: 60px;
    height: 100vh;
    right: 0px;
    top: 0px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    z-index: 501;
    box-shadow: 0 0 14px rgba(0,0,0,.2);
    p.menu {
      position: absolute;
      width: 60px;
      height: 60px;
      padding: 8px;
      z-index: 1000;
      background: var(--color-second);
      cursor: pointer;
      transition: all .4s;
      span {
        display: inline-block;
        position: absolute;
        left: 8px;
        width: 45px;
        height: 4px;
        background-color: var(--color-main);
        transition: all .4s; }
        span:nth-of-type(1) {
          top: 16px;
          animation: menu-bar01 .75s forwards; }
          span:nth-of-type(2) {
            top: 28px;
            transition: all .25s .25s;
            opacity: 1; }
            span:nth-of-type(3) {
              bottom: 16px;
              animation: menu-bar02 .75s forwards; }
    }
    .contact, .followus, .inteview_side_nav{
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: calc(50% - 60px);
      text-align: center;
    }
    .contact{
      margin-top: 60px;
      writing-mode: vertical-rl;
      background: -webkit-linear-gradient(bottom, var(--color-main), #45B1E0);
      background: -o-linear-gradient(bottom, var(--color-main), #45B1E0);
      background: linear-gradient(to bottom, var(--color-main), #45B1E0);
      a {
        width: 100%;
        height: 100%;
        color: white;
        p{
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%,-50%); }
      }
    }
    .followus{
      position: static;
      color: var(--color-main);
      background: white;
      writing-mode: vertical-rl;
      @media (max-width: 1060px){
        height: 50vh; }

      a{ position: static;}
      a:first-child {
        color: var(--color-main);
        font-weight: bold;
        margin-bottom: 20px; }
      a:hover{ opacity: 1; }
    }
    .icon:hover:after{
      content: "";
      position: absolute;
      bottom: 195px;
      left: -30px;
      padding: 8px;
      width: 20%;
      height: 10%;
      border-radius: 4px;
      background-color: rgba(2, 42, 104, 1.0);
      text-align: center;
      font-size: 0.8rem;
      color: white; }
      @media (max-width: 1060px) {
        .icon li:hover:after{
          display: none; } }

      .fb:hover::after{
        content: "Facebook"; }
        .ig-main:hover::after{
          content: "広報";
          bottom: 150px; }
          .ig-recruit:hover::after{
            content: "機械加工";
            bottom: 105px; }

    .inteview_side_nav {
      flex-direction: column;
      justify-content: space-around;
      color: var(--color-main);
      font-weight: bold;
      background: white;
      @media (max-width: 1060px) {
        height: 50vh; }

      a{
        width: 100%;
        height: calc(389px / 5);
        span{
          position: absolute;
          text-wrap: nowrap;
        }
      }
    }
    .top {
      height: 60px;
      background: var(--color-main);
      color: white;
      a{
        width: 100%;
        height: 100%;
        text-align: center;
        color: var(--color-white); }
      }
  }
}
.sidebar_scroll p.menu.active{
    span:nth-of-type(1) {
      animation: active-menu-sidebar01 .75s forwards; }
      span:nth-of-type(2) {
        opacity: 0; }
        span:nth-of-type(3) {
          animation: active-menu-sidebar03 .75s forwards; }
}
@keyframes active-menu-sidebar01 {
  0% {
    transform: translateY(0) rotate(0); }
  50% {
    transform: translateY(12px) rotate(0); }
  100% {
    transform: translateY(12px) rotate(45deg); }
}

@keyframes active-menu-sidebar03 {
  0% {
    transform: translateY(0) rotate(0); }
  50% {
    transform: translateY(-12px) rotate(0); }
  100% {
    transform: translateY(-12px) rotate(-45deg); }
}

#sidebar_menu {
  display: none;
  position: fixed;
  right: 0px;
  top: 0px;
  z-index: 500;
  width: 30%;
  height: 100vh;
  text-align: center;
  background: white;
  padding-right: 60px;
  box-shadow: 0 0 14px rgba(0,0,0,.2);
  > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    padding-bottom: 30px;
    .side-logo{
      position: relative;
      z-index: 1000;
      width: 100%;
      padding: 20px 0;
      a{
        display: inline-block;
        width: 100%;
        height: 100%; }
    }
      li{
        width: 100%;
        font-weight: 500;
        transition: all .3s;
        a{
          position: relative;
          display: inline-block;
          width: 100%;
          padding: 12px 0;
          transition: all .3s cubic-bezier(0.215, 0.61, 0.355, 1); }
          a.child{
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
          }
          a.open-new{
            display: flex;
            align-items: center;
            justify-content: center;
            i{
              background-image: url(/site/img/common/icon-open-in-new.svg);
              width: 24px;
              height: 24px;
              margin-left: 0.5rem; }
          }
          a.open-new:hover i{
            background-image: url(/site/img/common/icon-open-in-new-side-hover.svg); }

        .side-dropdown{
          display: none;
          .wrap{
            width: 100%;
            .parent{
              display: flex;
              height: 100%;
              width: 100%;
              flex-direction: column;
              align-items: center;
              justify-content: space-evenly;
              > li:hover{
                background-color: var(--color-light-grey);
              }              
            }
          }
        }
      }
      #search{
        height: 64px;
        [type=text]{
          width: 200px;
        }
      }
  }
}

 /* ------------------
    $head-room
-------------------*/
.headroom {
  will-change: transform;
  transition: transform 200ms linear; }
  
.headroom--pinned {
  transform: translateX(0%); }

.headroom--unpinned {
  transform: translateX(100%); }