@charset "utf-8";

/* ここから初期設定 */
*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    font-family: sans-serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    vertical-align: bottom;
}

/* ここまでが初期設定 */

/* ここからヘッダー部分 */
.header {
    background-color: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    z-index: 100;

}

.header-inner {
    display: flex;
    max-width: 1920px;
    width: 100%;
    height: 90px;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 30px;
}

.header-inner h1 a img {
    display: block;
    max-width: 400px;
    width: 90%;
}

.header-inner .menu-list {
    width: 60%;
}

.menu-list ul li a {
    font-size: clamp(0.625rem, 0.268rem + 0.71vw, 1.125rem);
    text-wrap: nowrap;
}

.header nav ul {
    display: flex;
    justify-content: space-between;
}

.header nav ul li {
    margin: 0 1vw;
    font-family: sans-serif;
    font-size: clamp(0.5rem, 0.318rem + 0.78vw, 1.25rem);
    font-weight: bold;
    position: relative;
    text-decoration: none;
    outline: none;
}


/*下線の設定*/
.header nav ul li a::before,
.header nav ul li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    z-index: 1;
    bottom: -5px;
    left: 0;
    /*線の形状*/
    width: 100%;
    height: 2px;
    /*アニメーションの指定*/
    transition: all 0.2s ease-in-out;
}

/*hover時に伸びる線の形状*/
.header nav ul li a::after {
    width: 0;
    background: #000;
}

/*hover時に100%に伸びる*/
/* bodyにクラスを設定し指定のページにいるときだけそのページの下線を */
/* 100％のままにする */
.header nav ul li a:hover::after,
.recruitment-information .header nav ul li:nth-child(5) a::after {
    width: 100%;

}

/* 下線の設定ここまで */


/* レスポンシブデザイン時のハンバーガーメニュー */
.toggle-menu-button {
    display: block;
    width: 40px;
    height: 3px;
    background-color: #000;
    position: relative;
    left: 35%;
    transition: all 0.01s linear;

}

.toggle-menu-button::before {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: #000;
    position: absolute;
    top: -10px;
    transition: all 0.2s linear;
}

.toggle-menu-button::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: #000;
    position: absolute;
    top: 10px;
    transition: all 0.2s linear;
}

.toggle-menu-button.is-show {
    background-color: transparent;
}

.is-show::before {
    top: 0;
    transform: rotate(45deg)
}

.is-show::after {
    top: 0;
    transform: rotate(-45deg)
}

.toggle-menu-button {
    display: none;
}

/* レスポンシブデザイン時のハンバーガーメニューここまで */
/* ここまでがヘッダー部分 */

/* ここからがメイン部分 */
/* セクションヘッダー部分ここから */



.section-header {
    background-image: url(../img/banner/Recruitment\ Information.png);
    background-repeat: no-repeat;
    background-position-x: center;
    margin-top: 90px;
    height: 225px;
    width: 100%;

}

.section-text {
    padding-top: 5vh;
    margin-left: 5vw;
}
.section-header h2 {
    margin-left: 3%;
    font-size: 44px;
    font-weight: bold;
    color: #fff;
}

.section-header .english {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    margin-left: 3%;
}

.section-header .explanation {
    font-size: 20px;
    font-weight: normal;
    color: #fff;
    padding-top: 10px;
    margin-left: 3%;
}

/* セクションヘッダー部分ここまで */

.sub-head {
    background-image: url(../img/banner/sub-banner.png);
    background-position: center;
    background-repeat: no-repeat;
    height: 100px;
    margin-top: 90px;
}

.sub-head h3 {
    display: flex;
    color: #fff;
    height: 100px;
    max-width: 1400px;
    font-size: clamp(1.5rem, 0.696rem + 1.61vw, 2.625rem);
    margin-left: 10%;
    align-items: center;
}

.wrap {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    margin: 50px auto;
    padding: 2%;
    align-items: center;
}

.wrap p {
    max-width: 60%;
    margin: 0 auto;
}

.wrap img {
    max-width: 38%;
    width: 100%;
    height: auto;
}
.comment-link {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.comment-link p {
    font-size: clamp(0.75rem, 0.482rem + 0.54vw, 1.125rem);
    line-height: 2.5rem;
}

/* メインの所のリンクボタン */
.btn-hp {
    display: inline-block;
    width: 100%;
    max-width: 210px;
    position: relative;
    background-color: #4682b4;
    border: 2px solid #4682b4;
    margin: 80px auto 0px;
    padding: 10px 10px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-align: center;
    transition-duration: 0.3s;
}

.btn-hp:hover {
    border: 2px solid #4682b4;
    background: #fff;
    color: #4682b4;

}

.btn-hp span {
    font-size: clamp(1.125rem, 0.857rem + 0.54vw, 1.5rem);

}

/* メイン所のリンクボタンここまで */
/* トップページへの矢印  */
html {
    scroll-behavior: smooth;
}

.pagetop {
    height: 70px;
    width: 70px;
    position: fixed;
    right: 5%;
    bottom: 30px;
    border: solid 0px #000;
    opacity: 0.7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    cursor: pointer;
}

.pagetop_arrow {
    height: 20px;
    width: 20px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}

.pagetop:hover {
    opacity: 0.5;
}

/* トップページの矢印終わり */



/* ここまでがメイン部分 */

/* ここからがフッター部分 */
/* トップページへの矢印  */
html {
    scroll-behavior: smooth;
  }
  
  .pagetop {
    height: 70px;
    width: 70px;
    position: fixed;
    right: 5%;
    bottom: 30px;
    border: solid 0px #000;
    opacity: 0.7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    cursor: pointer;
  }
  
  .pagetop_arrow {
    height: 20px;
    width: 20px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
  }
  
  .pagetop:hover {
    opacity: 0.5;
  }
  
  /* トップページの矢印終わり */
  footer {
    width: 100%;
    background-color: #818181;
  }
  .inner-footer {
  max-width: 1200px;
  width: 100%;
  font-size: 20px;
    font-weight: 500;
    font-family: sans-serif;
    text-align: center;
    margin: 0 auto;
    color: #fff;
    padding: 0 4% 0;
    line-height: 2;
  }
  
  .main-li {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
  }
  .main-li dt,
  .main-li dd {
    text-align: start;
    line-height: 2;
  }
  .main-li dt a,
  .main-li dd a {
  font-size:clamp(0.875rem, 0.786rem + 0.18vw, 1rem);
  }
  
  dd:hover,
  dt:hover {
  opacity: 0.5;
  }
  
  footer h2 {
  font-size: clamp(1.875rem, 1.607rem + 0.54vw, 2.25rem);
  font-weight: bold;
  padding: 30px 0;
  }
  
  /*== ボタン共通設定 */
  .btn {
    /*アニメーションの起点とするためrelativeを指定*/
    position: relative;
    overflow: hidden;
    /*ボタンの形状*/
    text-decoration: none;
    display: inline-block;
    border: 2px solid #fff;
    /* ボーダーの色と太さ */
    padding: 0px 10px;
    margin-bottom: 30px;
    text-align: center;
    outline: none;
    /*アニメーションの指定*/
    transition: ease .2s;
    font-weight: bold;
  }
  
  /*ボタン内spanの形状*/
  .btn {
    background-color: #fff;
    width: clamp(13.75rem, 11.071rem + 5.36vw, 17.5rem);
  
  }
  
  .btn span {
    position: relative;
    z-index: 3;
    /*z-indexの数値をあげて文字を背景よりも手前に表示*/
    color: #000;
  
  }
  .bgleft {
    width: 150px;
  }
  
  .bgleft span {
    font-size: clamp(1.125rem, 1.036rem + 0.18vw, 1.25rem);
  
  }
  
  .btn:hover span {
    color: #fff;
  }
  
  /*== 背景が流れる（左から右） */
  .bgleft:before {
    content: '';
    /*絶対配置で位置を指定*/
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /*色や形状*/
    background: #4682b4;
    /*背景色*/
    width: 100%;
    height: 100%;
    /*アニメーション*/
    transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 1);
    transform-origin: right top;
  }
  
  /*hoverした際の形状*/
  .bgleft:hover:before {
    transform-origin: left top;
    transform: scale(1, 1);
  }
  
  footer p {
    font-size: clamp(0.75rem, 0.661rem + 0.18vw, 0.875rem);
    font-weight: 100;
    padding-top: 0px;
    padding-bottom: 10px;
  }
  
  /* ここまでがフッター部分 */
  







/* ここからレスポンシブデザイン */
@media (max-width: 800px) {


    .header {
        max-width: 800px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 90px;
        z-index: 5;
    }



    .header h1 a img {
        width: 50vw;
    }

    .header nav ul {
        display: block;
        text-align: center;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffffee;
        padding: 20px 0 20px;
        display: none;

    }

    .header nav ul li {
        text-align: center;
        margin-top: 10px;
        color: #fff;
    }

    .header nav ul li a {
        font-size: clamp(1rem, 0.779rem + 0.94vw, 1.25rem);
        color: #000;
    }

    .header nav ul.is-show {
        display: block;
    }
    .section-header {
        background-image: url(../img/banner/responsive-banner/r-Recruitment\ Information.png);
        height: 112px;
        margin-bottom: 30px;
    }
    .section-text {
        margin-left: 3vw;
  padding-top: 1vh;
      }

      .section-header h2 {
        font-size: 30px;
      }
      
      .section-header .english {
        font-size: 16px;
      }
      
      .section-header .explanation {
        font-size: 10px;
      }
    .recruitment-information .header nav ul li:nth-child(5) a::after {
        width: 0%;

    }

    .toggle-menu-button {
        display: block;
    }

    /* ヘッダーここまで */

    /* メインここから */
    .sub-head {
        margin-top: 10px;
        margin-bottom: 10px;
        background-image: url(../img/banner/responsive-banner/r-sub-banner.png);
    background-position: center;
    background-repeat: no-repeat;
    height: 56px;
    margin-top: 30px;
    margin-bottom: 30px;
    }

    .sub-head h3 {
        height: 56px;
        margin-left: 10%;
    }
    .wrap {
        flex-direction: column-reverse;
        margin: 40px auto 30px;
    }

    .wrap p,
    .wrap img {
        max-width: 90%;
        width: 100%;
        height: auto;
        line-height: 2rem;
    }

    
    .btn-hp {
        margin-top: 20px;
        margin-bottom: 0px;
    }

    /* フッターここから */

    footer h2 {
        padding: 20px 0;
    }
.comment-link {
    margin-top: 20px;
}
    .btn {
        margin-bottom: 0px;
    }

    footer .menu-list {
        display: none;
    }

    .inner-footer .group-logo {
        display: block;
        max-width: 150px;
        width: 100%;
        padding-top: 20px;
        margin: 0 auto;
    }

    .inner-footer .copyright {
        padding-top: 20px;
        font-size: clamp(0.625rem, 0.4rem + 1.2vw, 1rem);
        font-weight: 100;
    }

    /* トップページへの矢印  */
    .pagetop {
        height: 50px;
        width: 50px;
    }

    /* トップページへの矢印終わり  */
}