/*

【CSS記述ルール】

① font-sizeはpxで指定してください
　（rem、%等の指定はしないようお願いいたします）

② midcareer はディレクトリ名に変更してください

③ 必ずディレクトリ名が付いたidセレクタを先頭に記述した後に、要素を記述してください
　（例：#oneday .inner、#oneday .page-title 等）

④ CSS内の画像指定パスは、CSSファイルから見た相対パスで指定してください
　（例：../images/ディレクトリ名/画像名.拡張子）

*/

/*------------------------------------------------------------
common
------------------------------------------------------------*/
.midcareer {
  font-family: 'Noto Sans JP', 'Century Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 游ゴシック体, YuGothic, "Yu Gothic Medium", 游ゴシック, 'Yu Gothic', メイリオ, Meiryo, sans-serif;
  font-size: 13px;
  font-weight: 500;
}

#midcareer * {
  box-sizing: border-box;
}

#midcareer a {
  transition: opacity .3s;
}

#midcareer a[href^="tel:"] {
  display: inline-block;
  transition: none;
}

#midcareer a:hover {
  text-decoration: none;
}

#midcareer a:focus-visible {
  outline: none;
}

#midcareer img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#midcareer .js-fadein {
  opacity: 0;
  transform: translate(0, 20px);
  transition-property: opacity, transform;
  transition-duration: 1s;
}

#midcareer .scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

#midcareer .text {
  margin-bottom: 2em;
}

#midcareer .text:last-of-type {
  margin-bottom: 0;
}

#midcareer .pc-br {
  display: none;
}

#midcareer .notes {
  display: inline-block;
  position: relative;
  margin-left: 1em;
}

#midcareer .notes::before {
  content: '\0203B';
  display: block;
  position: absolute;
  top: 0;
  left: -1em;
}

#midcareer .inner {
  width: calc(100% - 24px);
  max-width: 1280px;
  margin: 0 auto;
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
  .midcareer {
    font-size: 16px;
  }
  
  #midcareer a[href^="tel:"] {
    color: inherit;
    pointer-events: none;
  }
  
  #midcareer a:not([href^="tel:"]):hover {
    opacity: .5;
  }
  
  #midcareer .sp-br {
    display: none;
  }
  
  #midcareer .pc-br {
    display: inline;
  }
}

/*------------------------------------------------------------
content style
------------------------------------------------------------*/
#midcareer .font-pop{
  font-family: poppins, sans-serif;
  font-weight: 800;
  font-style: normal;
}

/*===============
mainvisual
================*/

#midcareer .main-area{
  position: relative;
}

#midcareer .main-img{
  margin-bottom: 20px;
  text-align: right;
}

#midcareer .main-ttl .en{
  position: relative;
  font-size: 22px;
  letter-spacing: .1em;
}

#midcareer .main-ttl .en::before{
  position: absolute;
  content: "";
  background: url("../images/midcareer/midcareer_ttl_ico.png") no-repeat;
  background-size: contain;
  width: 25px;
  height: 5px;
  bottom: -8px;
  left: 0;
}

#midcareer .main-ttl .ja{
  display: block;
  margin-top: 20px;
  font-size: 12px;
  color: #000;
  letter-spacing: .1em;
}

/*===================*/

#midcareer .overview{
  margin: 40px 6px 30px;
  line-height: 1.64;
  font-size: 12px;
}

#midcareer .actively{
  padding: 80px 0 56px;
  background-color: #FBF1CA;
}

#midcareer .actively-ttl{
  position: relative;
  font-size: 20px;
  text-align: center;
  z-index: 0;
  letter-spacing: .1em;
}

#midcareer .actively-ttl::before{
  position: absolute;
  content: "ACTIVELY EMPLOYS";
  width: calc(100% + 24px);
  font-family: poppins, sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 36px;
  font-size: calc(1.75rem + ((1vw - 3.2px) * 1.7897));
  min-height: 0vw;
  letter-spacing: .04em;
  color: #fff;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

#midcareer .actively-list{
  margin: 40px auto 0;
}

#midcareer .actively-item{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 10px 30px;
  padding: 8px;
  background-color: #fff;
  box-shadow: 0px 2px 3px rgba(0,0,0,.16);
}

#midcareer .actively-item:last-of-type{
  margin-bottom: 0;
}

#midcareer .actively-item-txt{
  width: calc(100% - 125px - 12px);
  padding-top: 5px;
  font-size: 13px;
  letter-spacing: .1em;
}

#midcareer .actively-item-txt .place{
  margin: 5px 0 16px;
  font-size: 18px;
}

#midcareer .actively-item-txt .occupation{
  margin-bottom: 5px;
}

#midcareer .actively-item-txt .occupation .txt{
  padding: 1px 6px 2px;
  background-color: #ECC010;
  color: #fff;
  font-size: 12px;
}

#midcareer .actively-item::before{
  position: absolute;
  content: "";
  width: 30px;
  height: 30px;
  background-color: #ECC010;
  border-radius: 50%;
  bottom: 15px;
  right: 15px;
  z-index: 0;
}

#midcareer .actively-item::after{
  position: absolute;
  content: "";
  background: url("../images/midcareer/midcareer_arrow01.png")no-repeat;
  background-size: contain;
  width: 7px;
  height: 14px;
  bottom: 23px;
  right: 25px;
  z-index: 1;
}

#midcareer .occupation-list{
  line-height: 1.38;
}

html.iziModal-isAttached,
html.iziModal-isOverflow,
html.iziModal-isAttached body,
html.iziModal-isOverflow body{
  overflow: hidden!important;
}

.midcareer.iziModal{
  width: calc(100% - 24px);
  z-index: 10001!important;
  min-height: 80vh!important;
}

.midcareer.iziModal::after{
  background: none!important;
}

.midcareer.iziModal .iziModal-header-buttons{
  position: fixed!important;
  top: -10px!important;
  right: 2px!important;
}

.midcareer.iziModal .iziModal-button{
  opacity: 1!important;
  width: 18px!important;
  height: 18px!important;
  overflow: visible;
}

.midcareer.iziModal .iziModal-button-close{
  background: none!important;
}

.midcareer.iziModal .iziModal-content{
  padding: 20px 20px 30px!important;
  letter-spacing: .1em;
}

.midcareer.actively-modal{
  margin-top: 100px!important;
  margin-bottom: 100px!important;
}

.midcareer .actively-modal-item-img{
  float: right;
}

.midcareer .actively-modal-main-txt{
  margin-bottom: 30px;
  font-size: 15px;
}

.midcareer .actively-modal-main-txt .place{
  margin: 5px 0 20px;
  font-size: 20px;
}

.midcareer .actively-modal-main-txt .occupation{
  margin: 0 0 5px;
  display: flex;
}

.midcareer .actively-modal-main-txt .occupation .txt{
  padding: 1px 6px 2px;
  background-color: #ECC010;
  color: #fff;
  font-size: 12px;
}
.midcareer .actively-modal-main-img img{
  width: 100%;
}

.iziModal-overlay{
  z-index: 10000!important;
-webkit-transform:translateZ(-1000px);
}

.midcareer.iziModal.comingOut{
  overflow: hidden;
}

.midcareer .actively-modal-txt{
  margin: 15px 0 50px;
  font-size: 12px;
  line-height: 1.5;
}

.midcareer .actively-modal-list{ 
  margin-bottom: 55px;
}

.midcareer .actively-modal-item{
  margin-bottom: 25px;
}

.midcareer .actively-modal-item::after{
  display: block;
  content: "";
  clear: both;
}

.midcareer .actively-modal-item:last-of-type{
  margin-bottom: 0;
}

.midcareer .actively-modal-item-ttl{
  margin-bottom: 15px;
  padding-left: 10px;
  font-size: 15px;
  border-left: solid 6px #ECC010;
}

.midcareer .actively-modal-item-img{
  width: 50%;
  margin: 0 0 0 5px;
}

.midcareer .actively-modal-item-img img{
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.midcareer .actively-modal-item-txt{
  font-size: 12px;
  line-height: 1.5;
}

.midcareer .actively-link{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 10px);
  margin: 0 auto;
  padding: 4px 13px;
  background: #FF860E;
  color: #fff;
  font-size: 20px;
}

.midcareer .actively-link:hover{
  text-decoration: none;
}

.midcareer.actively-modal .occupation-list{
  display: flex;
  flex-wrap: wrap;
}

.midcareer.actively-modal .occupation-item{
  margin-right: 10px;
}

.midcareer.actively-modal .occupation-item::after{
  content: "・";
  display: inline-block;
}

.midcareer.actively-modal .occupation-item:last-of-type::after{
  content: none;
}

@media print, screen and (min-width: 768px) {/* ---------- タブレット・PC以上 ---------- */
/*===============
mainvisual
================*/
  #midcareer .main-img{
    width: 63.5%;
    margin: 0 0 0 auto;
  }
  
  #midcareer .main-area .inner{
    position: absolute;
    top: 56.7%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  #midcareer .main-ttl .en{
    font-size: 50px;
  }

  #midcareer .main-ttl .en::before{;
    width: 50px;
    height: 10px;
    bottom: -14px;
    left: 0;
  }

  #midcareer .main-ttl .ja{
    margin-top: 50px;
    font-size: 20px;
  }
/*===================*/
  
  #midcareer .overview{
    max-width: 1000px;
    margin: 100px auto 86px;
    font-size: 16px;
    line-height: 1.875;
  }
  
  #midcareer .actively{
    padding: 170px 0 130px;
  }
  
  #midcareer .actively-ttl{
    font-size: 30px;
  }
  
  #midcareer .actively-ttl::before{
    font-size: 90px;/*IE*/
    font-size: min(calc(5rem + ((1vw - 7.68px) * 0.8681)),90px);
    letter-spacing: .1em;
    top: -76px;
  }
  
  #midcareer .actively-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 80px;
  }
  
  #midcareer .actively-item{
    display: flex;
    width: calc((100% - 38px) / 2);
    margin: 0 0 38px;
    padding: 10px;
    cursor: pointer;
    transition: all .3s;
    box-shadow: 0px 3px 6px rgba(0,0,0,.16);
    border: solid 2px transparent;
  }
  
  #midcareer .actively-item-txt{
    min-width: calc(100% - 270px);
    width: 45%;
    padding-top: 20px;
    font-size: 22px;
    font-size: min(calc(1.25rem + ((1vw - 7.68px) * 0.1736)),22px);
    min-height: 0vw;
  }
  
  #midcareer .actively-item-txt .place{
    margin: 10px 0 30px;
    font-size: 30px;
    font-size: min(calc(1.25rem + ((1vw - 7.68px) * 0.8681)),30px);
    min-height: 0vw;
  }

  #midcareer .actively-item-txt .occupation{
    margin-bottom: 10px;
  }

  #midcareer .actively-item-txt .occupation .txt{
    padding: 0px 8px 1px;
    font-size: 16px;
  }
  
  #midcareer .actively-item-img{
    overflow: hidden;
  }
  
  #midcareer .actively-item:hover{
    border: solid 2px #ECD610;
  }
  
  #midcareer .actively-item:hover .actively-item-img img{
    transition: all .3s;
  }
  
  #midcareer .actively-item:hover .actively-item-img img{
    transform: scale(1.1);
  }
  
  #midcareer .actively-item::before{
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    border: 2px solid transparent;
    transition: all .3s;
  }

  #midcareer .actively-item::after{
    width: 7px;
    height: 14px;
    bottom: 34px;
    right: 36px;
  }
  
  #midcareer .actively-item:hover::before{
    border: solid 2px #ECC010;
    background-color: #fff;
  }
  
  #midcareer .actively-item:hover::after{
    background: url("../images/midcareer/midcareer_arrow03.png")no-repeat;
    background-size: contain;
  }
  
  .midcareer.iziModal{
    max-width: 1220px;
  }
  
  .midcareer.iziModal .iziModal-header-buttons{
    top: -16px!important;
    right: 6px!important;
  }

  .midcareer.iziModal .iziModal-button{
    width: 26px!important;
    height: 26px!important;
  }
  
  .midcareer.iziModal .iziModal-content{
    padding: 70px 70px 38px!important;
  }
  
.midcareer.actively-modal{
  margin-top: 130px!important;
  margin-bottom: 80px!important;
}
  
  .midcareer .actively-modal-main{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .midcareer .actively-modal-main-txt{
    order: 1;
    width: calc(100% - 518px);
    margin: 10px 0 0;
    font-size: 26px;
  }
  
  .midcareer .actively-modal-main-txt .occupation-list{
    line-height: 1.15
  }
  
  .midcareer .actively-modal-main-txt .place{
    margin: 10px 0 36px;
    font-size: 30px;
  }
  
  .midcareer .actively-modal-main-txt .occupation{
    margin-bottom: 10px;
  }
  
  .midcareer .actively-modal-main-txt .occupation .txt{
    padding: 1px 12px 2px;
    font-size: 20px;
  }
  
  .midcareer .actively-modal-list{
    margin-bottom: 70px;
  }
  
  .midcareer .actively-modal-item{
    margin-bottom: 58px;
  }
  
  .midcareer .actively-modal-txt{
    min-height: 120px;
    margin: 40px 0 70px;
    font-size: 18px;
    line-height: 1.78;
  }
  
  .midcareer .actively-modal-item-img{
    width: auto;
    margin: -70px 0 0 20px;
  }
  
  .midcareer .actively-modal-item-img img{
    width: auto;
  }
  
  .midcareer .actively-modal-item-ttl{
    margin-bottom: 34px;
    padding-left: 12px;
    font-size: 22px;
    border-left: solid 10px #ECC010;
  }
  
  .midcareer .actively-modal-item-txt{
    font-size: 18px;
    line-height: 1.78;
  }
  
  .midcareer .actively-link{
    width: 400px;
    padding: 12px 26px;
    font-size: 22px;
    border: solid 2px transparent;
    transition: all .3s;
  }
  
  .midcareer .actively-link .fa-angle-right:before{
    font-size: 30px;
  }
  .midcareer .actively-link:hover{
    background-color: #fff;
    border: #FF860E solid 2px;
    color: #FF860E;
    text-decoration: none;
  }
  
  .midcareer .actively-link::before{
    top: 23px;
    right: 30px;
  }
  
  .midcareer.actively-modal .occupation-list{
    display: block;
  }

  .midcareer.actively-modal .occupation-item{
    margin-right: 0;
  }

  .midcareer.actively-modal .occupation-item::after{
    content: none;
  }

}