@charset "UTF-8";

#recruit {
  overflow-x: hidden;


  main {}

  .wrapper {
    display: flex;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    gap: 5%;
  }



  /* 左メニュー　ここから */

  aside {
    width: 20%;
    padding-top: 100px;
  }

  aside nav {
    position: sticky;
    top: 200px;
    z-index: 20;
  }

  aside nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
  }

  aside nav ul li {
    width: max-content;
  }

  aside a {
    display: flex;
    align-items: center;
    font-weight: 600;
    border-bottom: solid 1px rgba(0, 0, 0, 0);
  }

  aside a::before {
    content: "";
    background: url(../img/img_company/nomal.webp);
    display: inline-block;
    vertical-align: middle;
    width: 19px;
    height: 19px;
    margin-right: 0.5em;
    transition: 0.1s
  }

  aside a:hover::before {
    background: url(../img/img_company/hover.webp);
  }

  aside a:hover {
    opacity: 1;
    color: #009375;
    border-bottom: solid 1px #009375;
  }

  /* 左メニュー　ここから */


  /* メイン　ここから */
  article {
    width: 75%;
  }

  article h3 {
    font-size: 3rem;
    font-weight: bold;
    color: #3e3e3e;
    /* border-bottom: solid 1px #adadad; */
    /* margin-bottom: 30px; */
    padding-bottom: 20px;
  }

  article figure {
    margin: 1em 0
  }

  #job_requirements p {
    text-align: justify;
    line-height: 2;
  }

  #job_requirements p+p {
    margin-top: 2em;
  }

  article figure:nth-of-type(2) {
    margin: 2em 0 0;
    /* float: right; */
    text-align: right;
    width: max-content;
    margin-left: auto;
  }

  /* メイン　ここまで */

  section {
    padding: 100px 0 120px;
  }

  #job_requirements {
    position: relative;
    /* padding: 100px 0 120px; */
    scroll-margin-top: 91px;
    margin-bottom: 0!important;
    
    
    
    
    
    
    
    
    
    
    
    

    .gray {
      background: #f4f4f4;
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      z-index: -1;
      width: 100vw;
      margin-left: calc(100% / 3 - 50vw);
      overflow: hidden;
    }

    dl {
      display: flex;
      gap: 0 5%;
      flex-wrap: wrap;
      padding: 1.3em 0;
      border-top: solid 1px #adadad;
    }

    dt {
      width: 25%;
    }

    dt h4 {
      font-weight: 600;
    }

    dd {
      width: 70%;
    }

    h4 {
      line-height: 2;
    }

    p {
      line-height: 2;
      text-align: justify;
    }

    p+p {
      margin-top: 2em;
    }




  }


  #terms_and_conditions {
    /* padding-bottom: 0; */
    /* scroll-margin-top: 91px; */
    padding: 100px 0 20px;
    width: 100%;
    margin: 0 auto 0px !important;
    scroll-margin-top: 91px;
    
    
    
    
    

    dl {
      display: flex;
      gap: 0 5%;
      flex-wrap: wrap;
      padding: 1.3em 0;
      border-top: solid 1px #adadad;
    }

    dt {
      width: 25%;
    }

    dt h4 {
      font-weight: 600;
    }

    dd {
      width: 70%;
    }

    h4 {
      line-height: 2;
    }

    p {
      line-height: 2;
      text-align: justify;
    }

    p+p {
      margin-top: 2em;
    }

  }



  @media screen and (max-width: 768px) {

    aside {
      display: none;
    }

    article {
      width: 100%;
    }

    article h3 {
      font-size: 2.4rem;
    }

    #job_requirements {
      width: 86%;
      margin: auto;
      padding: 50px 0;
    }

    #job_requirements .gray {
      margin-left: -8%;
    }

    #job_requirements dl {
      flex-direction: column;
    }

    #job_requirements dt {
      width: 100%;
    }

    #job_requirements dd {
      width: 100%;
    }

    #job_requirements p {
      line-height: 1.7;
    }

    #terms_and_conditions {
      padding: 50px 0 20px;
      width: 100%;
      margin: 0 auto 0px !important;
      scroll-margin-top: 91px;
    }

  }


}