/* =====================
2024/06 追加
 ======================= */

/* スムーススクロール */
html{
  scroll-behavior: smooth;
}

/* Gナビのアコーディオン（ログイン/新規作成） */
#pc_header .nav_login ul {
  right: 370px !important;
}
#pc_header .nav_login--job ul {
  right: 315px !important;
}
#pc_header .nav_login a[href="#"]{
  pointer-events: none;
}
#pc_header .nav_login img{
  object-fit: cover;
}

/* 目次スタイル */
#toc_container {
  margin-inline: auto;
}
#toc_container a{
  padding-left: 0;
}

/* 投稿記事用CTA */
.cta{
  max-width: 800px;
  width: 100%;
  margin-inline: auto;
  border: 4px solid #2FA16B;
  padding: 18px 24px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.cta_image{
  width: calc(80% * 1/4);
  flex-shrink: 0;
  text-align: center;
}
.cta_image img{
  width: 100%;
  padding-inline: 16px;
}
.cta_title{
  font-size: 24px;
  color: #2FA16B;
  font-weight: bold;
  line-height: 1;
}
.cta_text{
  margin-top: 12px;
  line-height: 1.6em;
}
.cta_link{
  margin-top: 16px;
  width: 100%;
  font-size: 18px;
  line-height: 1;
  padding-block: 10px;
  background-color: #2FA16B;
  color: #ffffff;
  position: relative;
  text-align: center;
  padding-left: 0 !important;
  font-weight: bold;
  transition: all .3s;
}
.cta_link:hover{
  color: #ffffff;
  opacity: 0.8;
}
.cta_link::before{
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
}
@media(width <= 768px){
  .cta{
    padding: 20px;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .cta_image{
    width: 56px;
    text-align: center;
  }
  .cta_image img{
    max-width: 100%;
    padding-inline: 0;
  }
  .cta_body{
    flex: 1;
  }
  .cta_title{
    font-size: 18px;
  }
  .cta_text {
    margin-top: 6px;
    line-height: 1.4em;
  }
  .cta_link{
    margin-left: calc( (-56px + -16px) / 2);
    margin-top: 18px;
    padding-block: 12px;
    font-size: 16px;
    vertical-align: text-top;
  }
  .cta_link::before {
    width: 9px;
    height: 9px;
    right: 18px;
  }
}

/*投稿記事のタグ表示*/
.category{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 2rem;
}
.category span{
  display: inline-block;
  background: #DB2764;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0.5em;
}
.tag_list{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.tag_list li a{
  display: inline-block;
  background: #2FA16B;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0.5em;
}
.tag_related{
  width: 10%;
  flex-shrink: 0;
  text-align: center;
  background: #2FA16B;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  padding: 0.7rem;
  margin-right: 2rem;
}
@media(width <= 992px){
  .tag_related{
    width: auto;
    margin-right: 0;
    font-size: 1.1rem;
    min-width: 30%;
    padding: 0.5em;
    margin-left: 0.5em;
  }
  .news_list li a {
    justify-content: flex-start !important;
  }
}