/**/
figure{
  margin: 0;
}

/* ------------- inview ------------- */
.inview {
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 0.8s 0.2s, transform 0.8s 0.2s;
}

.inview.is-action {
  transform: translateY(0);
  opacity: 1;
}

.inview-img {
  overflow: hidden;
}

.inview-img img {
  display: block;
  transform: scale(1.02);
  opacity: 0;
  transition: opacity 1.2s 0.4s, transform 1.2s 0.4s;
}

.inview-img.is-action img {
  transform: scale(1);
  opacity: 1;
}



/*__ Google Font __*/
.font-Zen-Antique,
.zen-antique-soft-regular {
  font-family: "Zen Antique Soft", serif;
  font-weight: 400;
  font-style: normal;
}


.hms-body a{
  transition: all 0.8s 0s ease;
}

/*__ 百名社 __*/
.hms-body{
  z-index: 0;
  position: relative;
  padding-top: 0;
}
.main{
  background-color: #EDEDED;
  background: url('../img/bg_main_pc.webp') no-repeat #EDEDED;
  background-size: 100%;
  background-position: 0 -160px;
  padding-top: 90px;
  padding-bottom: 90px;
  color: #595959;
}
.main p{
  /*letter-spacing: 0.28em;*/
  letter-spacing: 0.17em;
  line-height: 180%;
}
@media screen and (max-width: 768px) {
  .main{
    /*background: url('../img/bg_main_sp.webp') no-repeat #EDEDED;*/
    background-position: top right;
  }
}

/*__ header __*/
.hms-header{
  position: fixed;
  width: calc( 100vw - 45px );
  display: flex;
  justify-content: space-between;
  padding: 15px 30px 10px 15px;
  z-index: 1000;
}

@media screen and (min-width: 768.1px) {
  .hms-header.js-scrolled{
    background: rgba(255,255,255,0.5 );
    /*border-bottom: solid 1px #fff;*/
  }
  .hms-header.is-overlap{
    background: none;
    border: none;
  }
  .hms-header.is-overlap .hms-header-nav{
    opacity: 0;
  }
  .hms-header-logo{
    flex-grow: 2;
  }
  .hms-header-nav{
    align-self: center;
  }
  .hms-header-nav ul{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    margin: 0 20px;
  }
  .hms-header-nav ul a{
    position: relative;
  }
  .hms-header-nav ul a::after{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: rgba(210, 177, 105, 0.60);
    transition: width 0.2s 0s ease;
  }
  .hms-header-nav ul a.js-active::after{
    width: 100%;
  }
}
@media screen and (min-width: 768.1px) {
  #hms-sp-nav{
    display: none;
    visibility: hidden;
  }
}
@media screen and (max-width: 768px) {
  .hms-header-logo{
    display: none;
  }
  .hms-header-nav{
    display: none;
  }

  /**/
  .hms-header{
    justify-content: flex-end;
    padding: 0 10px;
    width: calc( 100vw - 20px );
  }
  .hamburger-button-line-container{
    width: 32px;
    height: 24px;
  }
  .hamburger-button-line{
    background: #9E7803;
  }
  #hms-sp-nav{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #181818;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
  }
  #hms-sp-nav.is-open{
    opacity: 1;
    visibility: visible;
    z-index: 100;
  }
  .hms-sp-nav-block{
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding: 78px 20px 0;
  }
  .hms-sp-nav-logo{
    display: flex;
    justify-content: center;
    align-items: start;
    height: 130px;
  }
  .hms-sp-nav-logo img{
    width: 274px;
  }
  .hms-sp-nav-list {
    display: flex;
    flex-direction: column;
  }
  .hms-sp-nav-list li{
    padding: 0;
  }
  .hms-sp-nav-list li+li{
    border-top: solid 1px #3C3C3C;
  }
  .hms-sp-nav-list a{
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 8px;
  }
  .hms-sp-nav-list a::after{
    content: "";
    width: 9px;
    height: 9px;
    border: solid 1px #B0B0B0;
    border-width: 0 0 1px 1px;
    transform: rotate(-135deg);
  }
}


/*__ layout __*/
.hms-section{
  margin: 50px 0 50px;
  position: relative;
  z-index: 0;
}
.hms-section + .hms-section{
  margin-top: 100px;
}

.section-container{
  max-width: 1314px;
  margin: 10px auto 30px;
  padding: 60px;
  position: relative;
  z-index: 0;
}
@media screen and (max-width: 768px) {
  .hms-section{
    margin: 0;
  }
  .hms-section + .hms-section{
    margin-top: 0;
  }
  .section-container{
    padding: 20px;
  }
}

/*__ Headline __*/
.hms-h2{
  text-align: center;
  margin: 0 auto 60px;
  font-size: 4.5rem;
  line-height: 1.5;
  position: relative;
}
.hms-h2 strong{
  position: relative;
}
.hms-h2::before{
  content: "";
  position: absolute;
  bottom: -30px;
  left: calc( 50% - 60px );
  width: 120px;
  height: 4px;
  background: rgba(210, 177, 105, 0.60);
}
@media screen and (max-width: 768px) {
  .hms-h2{
    font-size: 2.1rem;
    margin: 0 auto 6cqh;
  }
  .hms-h2::before{
    bottom: -10px;
  }
}

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

/* KV */
/*__ Hero __*/
.hero-block{
  padding: 0;
  margin: 0;
  position: relative;
  height: 520px;
  width: 100%;
  overflow: hidden;
}
.hms-hero-logo{
  position: relative;
  top: 170px;
  left:8vw;
}
.hms-hero-fig{
  position: absolute;
  right: 0;
  top: 0;
  width: 64vw;
  height: auto;
}
@media screen and (max-width: 768px) {
  .hero-block{
    height: 130px;
  }
  .hms-hero-container{
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  .hms-hero-logo{
    position: relative;
    top: auto;
    left: auto;
    width: 274px;
  }
}

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

/* 助太刀百名社とは */
/*__ lead __*/
.lead-text{
  text-align: center;
  margin-bottom: 50px;
}
.lead-text p{
  font-size: 15px;
}
.lead-text p + p{
  margin-top: 1em;
}
@media screen and (max-width: 768px) {
  .lead-block{
    margin-top: 0;
  }
  .lead-text{
    margin-bottom: 20px;
  }
  .lead-text p{
    font-size: 13px;
  }
}

.hms-category-nav{
  display: flex;
  justify-content: center;
  gap: 41px;
}
@media screen and (max-width: 768px) {
  .hms-category-nav{
    flex-direction: column;
    gap: 16px;
  }
}
.hms-anchor-link{
  text-align: center;
}
.hms-anchor-link a{
  display: block;
  padding: 30px 120px 50px;
  position: relative;
  background: #f1f1f1;
  border: solid 1px #fff;
  border-radius: 9px;
  box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.13);
}
.hms-anchor-link a::before{
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  margin-left: -10px;
  width: 0;
  height: 0;
  border: solid 30px transparent;
  border-width: 12px 18px;
  border-top-color: #A5A5A5;
}
.hms-anchor-link a:hover{
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.25);
}

.hms-anchor-link a small{
  font-size: 13px;
  font-weight: 600;
}
.hms-anchor-link a strong{
  display: block;
  font-size: 2.9rem;
}

@media screen and (max-width: 768px) {
  .hms-anchor-link a{
    padding: 10px 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .hms-anchor-link a small{
    font-size: 11px;
  }
  .hms-anchor-link a strong{
    font-size: 18px;
  }
  .hms-anchor-link a::before{
    display: none;
    visibility: hidden;
  }
}

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

/* 月桂冠？飾り */
.has-ornament{
  position: relative;
  padding: 0 30px;
}
.has-ornament::after,
.has-ornament::before{
  display: block;
  content: "";
  position: absolute;
  top: 0;
  width: 22.56px;
  height: 42.92px;
}
.has-ornament::before{
  left: 0;
  background-image: url(../img/ornament-left.svg) ;
}
.has-ornament::after{
  right: 0;
  background-image: url(../img/ornament-right.svg) ;
}
@media screen and (max-width: 768px) {
  .has-ornament{
    padding: 0 15px;
  }
  .has-ornament::after,
  .has-ornament::before{
    top: 2px;
    width: 12.05px;
    height: 22.92px;
    background-size: 100% 100%;
  }
}

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

/*__ article detail __*/
.bg-white{
  background: #fff;
  border-radius: 5px;
}
.section-header{
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: solid 2px #E1CE94;
}
.section-header::before{
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 172.516px;
  background: #A07F18;
}
.section-header h3{
  font-size: 2.9rem;
  line-height: 1.5;
  white-space: nowrap;
}
.section-header p{
  display: block;
}

@media screen and (max-width: 768px) {
  .section-header{
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
  }
  .section-header::before{
    width: 46.947px;
  }
  .section-header h3{
    font-size: 18px;
    align-self: flex-start;
  }
  .section-header p{
    font-size: 12px;
    line-height: 160%;
    font-weight: 300;
    color:#595959;
  }
}

/*==================================================*/
.hms-select-block{
  display: flex;
  gap: 20px;
}
.hms-select{
  min-width: 240px;
  max-width: 240px;
  border: solid 1px #666;
  background: #fff;
  border-radius: 5px;
  font-size: 16px;
}
.nice-select .list{
  padding: 10px;
  box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.51);
}
.nice-select .option + .option{
  border-top: solid 1px #d1d1d1;
}

@media screen and (max-width: 768px) {
  .hms-select-block{
    flex-direction: column;
    gap: 10px;
  }
  .hms-select{
    width: 100%;
    max-width: unset;
  }
}

/*__ Grid Layout __*/
.hms-article-list{
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC画面では3列 */
  grid-gap: 40px; /* カード間の隙間 */
  margin: 0px;
}
@media screen and (max-width: 768px) {
  .hms-article-list{
    grid-gap: 15px;
    grid-template-columns: repeat(2, 1fr); /* スマホ画面では2列 */
  }
}

.no-items-message{
  padding-bottom: 40px;
}
.no-items-message p+p{
  margin-top: 2em;
}


/*==================================================*/
/*__ Card __*/
.hms-detail{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  border-radius: 8px;
  height: 100%;
  min-height: 320px;
  text-align: left;
}
/*__ Detail  __*/
.hms-detail{
  overflow: hidden;
  /*background: #F0F0F0;*/
  background: #fff;
  box-shadow: 0px 0px 35px 0px rgba(0, 0, 0, 0.25);
}
.hms-detail-header{
  position: relative;
  width: 100%;
  height: 214px;
  overflow: hidden;
  object-fit: cover;
  /*background: url('../img/bg-detail-header.png') no-repeat;*/
  background-size: cover;
  background-color: #ccc;
}
.hms-detail-header::before{
  content: "";
  position: absolute;
  bottom: 0;
  height: 100px;
  width: 100%;
  /*background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 0%, #F0F0F0 82%);*/
  background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 0%, rgba(255, 255, 255, 0.71) 63%, #FFF 100%);
}
@media screen and (max-width: 768px) {
  .hms-detail{
    min-height: 252px;
  }
  .hms-detail-header{
    height: 140px;
  }
  .hms-detail-header::before{
    height: 100px;
    z-index: 8;
  }
}

.hms-detail-title{
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 0 20px;
  position: absolute;
  bottom: 0;
}
.hms-detail-figure{
  height: 70px;
  width: 70px;
  border-radius: 40px;
  overflow: hidden;
  border: solid 4px #fff;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.10);
}
.hms-detail-header img,
.hms-detail-figure img{
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.hms-detail-header figure img{
  min-height: 216px;
}

.hms-detail-title h4{
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.25;
  color: #2D2D2D;
  width: calc(100% - 80px);
}
.hms-detail-title h4 small{
  font-size: 14px;
  display: block;
}
@media screen and (max-width: 768px) {
  .hms-detail-title{
    flex-direction: column;
    align-items: start;
    padding: 0 10px;
    z-index: 10;
  }
  .hms-detail-figure{
    width: 44px;
    height: 44px;
  }
  .hms-detail-header figure img{
    max-height: 90px;
  }
  .hms-detail-title h4{
    font-size: 12px;
    width: 100%;
  }
  .hms-detail-title h4 small{
    font-size: 11px;
    width: 100%;
  }
}

.hms-detail-meta{
  padding: 10px 20px;
  flex-grow: 2;
}
.hms-detail-meta li{
  position: relative;
  padding-left: 20px;
  min-height: 1em;
}
.hms-detail-meta li+li{
  margin-top: 4px;
}

.hms-detail-meta li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  margin-top: -1px;
  width: 18px;
  height: 16px;
  background-repeat: no-repeat;
}
.hms-detail-meta .hms-job-text::before{
  background-image: url('../img/icon_occupation.svg');
}
.hms-detail-meta .hms-address-text::before{
  background-image: url('../img/location-fill.svg');
}

@media screen and (max-width: 768px) {
  .hms-detail-meta{
    padding: 10px 10px;
  }
  .hms-detail-meta li{
    font-size: 11px;
    font-weight: 400;
    color: #595959;
  }
}

.hms-detail{
  position: relative;
}
.hms-links{
  padding:0 20px 20px;
  z-index: 1;
}
.hms-links a{
  display: flex;
  padding: 8px 0px;
  margin-top: 4px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 3px;
}
@media screen and (max-width: 768px) {
  .hms-links{
    padding: 0 8px 8px;
  }
  .hms-links a{
    font-size: 12px;
    font-weight: 300;
    padding: 6px 0;
  }
}

.hms-links a::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.hms-links a:hover::after{
  background: #fff;
  opacity: .15;
}
.hms-links .hms-relay-link{
  background: #B39436;
  color: #fff;
}
.hms-links .hms-web-link{
  border: 1px solid #B39436;
  color: #B39436;
  position: relative;
  z-index: 3;
}
.hms-links .hms-web-link:hover{
  background: #fff;
}
.hms-links .hms-web-link::before{
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  margin-top: -6px;
  width: 12px;
  height: 12px;
  background: url(../img/icon_blanklink.svg) no-repeat;
}
.hms-links .hms-web-link::after{
  display: none;
}
@media screen and (max-width: 768px) {
  .hms-links .hms-web-link::before{
    margin-top: -4px;
    width: 8px;
    height: 8px;
    right: 6px;
    background-size: 100%;
  }
}

/* 調整用 暫定対応 */
#re-selection-list .company_link,
#be-selection-list .joboffer_link,
#be-selection-list .hms-web-link{
  display: none;
  visibility: hidden;
}



/*==================================================*/
/* 選考基準 */
/*__ selection-criteria __*/
.has-border{
  border: solid 1px #aaa;
  border-radius: 5px;
  padding: 26px;
}
.has-border{
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 1em;
}
.hms-criteria-list{
  font-weight: 300;
  line-height: 1.5;
  counter-reset: listnum;
  list-style: none;
}
.hms-criteria-list li{
  margin-top: 5px;
  padding-left: 2em;
  position: relative;
}
.hms-criteria-list li::before{
  counter-increment: listnum;
  content: "※"counter(listnum);
  position: absolute;
  left: 0;
}
.hms-criteria-text{
  position: relative;
}
.hms-criteria-text dd{
  padding-bottom: 10px;
}
@media screen and (min-width: 769px) {
  .hms-criteria-text dt{
    position: absolute;
    left: 0;
  }
  .hms-criteria-text dd{
    padding-left: 9em;
  }
  .hms-criteria-list{
    display: flex;
    justify-content: flex-end;
  }
  .hms-criteria-list li{
    margin-left: 1em;
  }
}

/*==================================================*/
/* 助太刀について */
/*__ about-sukedachi __*/
.sukedachi-block p{
  text-align: center;
}
.about-sukedachi-block{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 40px 0;
}
.about-sukedachi-block .flex-item{
  width: calc( 50% - 20px );
}

@media screen and (max-width: 768px) {
  .about-sukedachi-block{
    flex-direction: column;
    gap: 38px;
    margin: 40px 0 0;
  }
  .sukedachi-block p{
    text-align: left;
  }
  .about-sukedachi-block .flex-item{
    width: 100%;
  }
}

.sukedachi-block p{
  font-weight: 300;
  line-height: 1.5;
}
.button-items{
  text-align: center;
  padding: 40px 0;
}
.button-items a + a{
  margin-top: 20px;
}
.has-border-link{
  display: flex;
  padding: 20px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  font-size: 2.4rem;
  border-radius: 4px;
  border: 1px solid #D9D9D9;
  box-shadow:0px 0px 10px 0px rgba(0, 0, 0, 0.15);
}
.has-border-link:hover{
  background: #212121;
  color: #fff;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.10);
}
.has-underline-link{
  display: inline-block;
  text-decoration: underline;
  font-size: 17px;
  font-weight: 500;
  color: #aaa;
}
.has-underline-link:hover{
  color: #666;
}


/*__ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ __*/
/* 過去の受賞 */
/*__ award-archive __*/
.hms-archive-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  grid-gap: 40px; /* カード間の隙間 */
}
.hms-archive-link{
  transition: all 0.8s 0s ease;
}
.hms-archive-link:hover{
  opacity: 0.7;
}
.hms-archive-figure{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.hms-archive-figure figcaption{
  font-weight: 600;
  position: relative;
  display: flex;
  gap: 8px;
}
.hms-archive-figure figcaption::after{
  content: "";
  width: 20px;
  height: 20px;
  background: url(../img/icon_targetblank.svg) no-repeat 0 0;
}