@charset "utf-8";
/* CSS Document */
/* -----------------
  ページヘッダー
----------------- */
body {
  scrollbar-gutter: stable;
}
body.modal-open {
  overflow: hidden;
  padding-right: var(--sb-width);
}
/* fixed ヘッダーにも同じ余白を与える */
body.modal-open #header {
  padding-right: var(--sb-width);
}
/* Firefox では上書きして無効化 */
@-moz-document url-prefix() {
  body.modal-open, body.modal-open #header {
    padding-right: 0 !important;
  }
}
.header-container {
  background-image:
    linear-gradient(rgba(58, 58, 58, 0.5), rgba(58, 58, 58, 0.5)), url("/recruit/blog/img/blog_head_bg.webp");
}
@media only screen and (max-width: 767px) {
  .header_wide .header-container {
    padding-top: 70px;
    box-sizing: border-box;
    height: 80px;
  }
  .head-sp-only {
    display: block;
    padding: 5px 15px 0;
    color: #fff;
    font-weight: bold;
    font-size: 22px;
  }
}
.blog-head {
  padding-top: 60px;
  position: relative;
  width: 1115px;
  margin: -230px auto 23px;
  padding-left: 190px;
  box-sizing: border-box;
  color: #fff;
}
.blog-head-icon {
  width: 140px;
  height: 140px;
  float: left;
  margin-left: -190px;
}
.blog-head h1 {
  font-size: 21px;
  font-weight: bold;
  color: #fff;
  margin-top: initial;
  margin-bottom: 10px;
}
.blog-head p {
  font-size: 14px;
  margin-bottom: 40px;
}
.blog-head a {
  font-size: 14px;
  background-color: #fff;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 193px;
  padding: 5px 0;
  box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
  .blog-head {
    width: 100%;
    margin: auto;
    padding: 20px 15px;
  }
  .blog-head-icon {
    width: 107px;
    height: 107px;
    margin-left: 0;
  }
  .blog-head h1 {
    color: #3A3A3A;
    font-size: 16px !important;
    padding-left: 120px;
    box-sizing: border-box;
    margin-top: 20px !important;
  }
  .blog-head p {
    color: #3A3A3A;
    font-size: 14px;
    padding-top: 10px;
    padding-left: 0;
    box-sizing: border-box;
    margin-bottom: 10px;
  }
  .blog-head a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 182px;
    padding: 3px 0;
    margin: auto;
    border: 1px solid #3a3a3a;
  }
}
/* -----------------
  ブログプロフィール
----------------- */
.blog-profile-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.blog-profile-popup.active {
  display: flex;
}
.blog-profile {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 710px;
  font-size: 14px;
  padding: 50px 20px;
  box-sizing: border-box;
  border-radius: 10px;
}
.blog-profile-wrap {
  width: 100%;
}
.blog-profile-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  background-color: #981888;
  width: 26px;
  height: 26px;
  border-radius: 50px;
  color: #fff;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
  .blog-profile-close {
    line-height: 1;
  }
}
.blog-profile-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0 40px;
  padding-bottom: 10px;
  box-sizing: border-box;
  margin-bottom: 20px;
  border-bottom: 1px solid #D4D4D4;
}
.blog-profile-head img {
  width: 107px;
  height: 107px;
}
.blog-profile-body {
  max-height: 350px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 5px;
  box-shadow:
    inset 0 3px 5px rgba(0, 0, 0, 0.18), inset 0 -3px 6px rgba(255, 255, 255, 0.8);
}
.simplebar-horizontal {
  display: none !important;
}
.simplebar-scrollbar:before {
  background: #981888 !important;
}
/* モーダル開閉時、背景スクロール禁止 */
body.modal-open {
  overflow: hidden;
  padding-right: 15px; /* Chrome/Edge 用 */
  box-sizing: border-box;
}
.blog-profile-body p {
  margin-bottom: 1em;
}
.blog-profile-list {
  margin-bottom: 1em;
}
.blog-profile-list:last-child {
  margin-bottom: 0;
}
.blog-profile-list::before {
  display: block;
  content: '⸻';
  width: 100%;
  height: auto;
  padding-bottom: 1em;
}
.blog-profile-list::after {
  display: block;
  content: '⸻';
  width: 100%;
  height: auto;
  padding-top: 1em;
}
.blog-profile-list dl dt::before, .blog-profile-list ul li::before {
  content: '•';
  margin-right: 0.5em;
}
.blog-profile-list dd {
  padding-left: 1em;
  line-height: 1.5;
}
@media only screen and (max-width: 767px) {
  .blog-profile-popup {
    padding: 20px 15px 15px;
    box-sizing: border-box;
  }
  .blog-profile-head {
    gap: 0 10px;
  }
}
/* -----------------
　ブログ　一覧
----------------- */
main#main {
  width: 1115px;
  margin: auto;
  padding-bottom: 120px;
  box-sizing: border-box;
}
.blog-tab-area {
  display: flex;
  justify-content: flex-start;
  border-bottom: 1px solid #D4D4D4;
}
.blog-tab-area a:hover, .blog-tab-area a:focus {
  opacity: 1;
}
.blog-tab {
  width: 120px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.blog-tab.active {
  height: 60px;
  border-bottom: 5px solid #3D4041;
}
a.blog-tab.active {
  height: 55px;
}
.tab-container {
  display: none;
}
.tab-container.active {
  display: block;
}
.blog-list {
  padding-top: 60px;
  box-sizing: border-box;
}
.blog-list-category, .blog-list-year {
  margin-top: -15px;
  margin-bottom: 20px;
}
.blog-list-category h2, .blog-list-year h2 {
  font-size: 21px;
  font-weight: bold;
}
.blog-list-content-wrap {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 40px 47px;
}
.blog-list-single {
  width: 340px;
  box-sizing: border-box;
}
.blog-list-img {
  overflow: hidden;
  position: relative;
}
.blog-list-img img {
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px;
}
.blog-list-text {
  display: flex;
  flex-direction: column;
}
.blog-list-tag {
  font-size: 14px;
  color: #3D4041;
  background-color: #D4D4D4;
  width: fit-content;
  padding: 5px 14px;
  margin-bottom: 10px;
}
.blog-list-title {
  font-size: 18px;
  font-weight: bold;
  color: #3D4041;
  width: 100%;
  margin-bottom: 10px;
}
.blog-list-date {
  font-size: 12px;
  color: #3D4041;
  width: fit-content;
}
@media print,screen and (min-width: 768px) {
  .blog-list-img {
    width: 100%;
    height: 196px;
    margin-bottom: 10px;
  }
  .blog-list-img img {
    width: 100%;
    height: 100%;
  }
}
@media only screen and (max-width: 767px) {
  main#main {
    padding-top: 10px;
    width: 100%;
  }
  .blog-tab-area {
    justify-content: space-between;
    margin-bottom: 0;
  }
  .blog-tab {
    width: calc(100% / 3);
    height: 55px;
  }
  .blog-tab.active {
    height: 58px;
    border-bottom: 3px solid #3D4041;
  }
  .blog-list {
    gap: 0;
    padding-top: 0;
  }
  .blog-list-category, .blog-list-year {
    margin-top: 40px;
    margin-bottom: 0;
  }
  .blog-list-content-wrap {
    gap: 0;
  }
  .blog-list-single {
    width: 100%;
    padding: 20px 0 15px;
    border-top: 1px solid #D4D4D4;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0 10px;
  }
  .blog-list-single:first-child {
    border-top: none;
  }
  .blog-list-single:last-child {
    border-bottom: 1px solid #D4D4D4;
  }
  .blog-list-img {
    width: 125px;
    height: 72px;
    margin-bottom: 0;
  }
  .blog-list-img img {
    width: 100%;
    border-radius: 5px;
  }
  .blog-list-text {
    width: calc(100% - 145px);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .blog-list-title {
    order: 1;
    width: 100%;
    font-size: 15px;
    margin-bottom: 10px;
  }
  .blog-list-tag {
    order: 2;
    width: fit-content;
    padding: 5px 10px;
    box-sizing: border-box;
    font-size: 12px;
    margin-bottom: 0;
  }
  .blog-list-date {
    order: 3;
    width: fit-content;
    margin-left: 15px;
  }
}
/* -----------------
　ブログ　カテゴリ・年別
----------------- */
.blog-sort-list {
  justify-content: center;
  padding-top: 80px;
  box-sizing: border-box;
}
.blog-sort-content-wrap {
  width: 100%;
  max-width: 710px;
  margin: auto;
}
.blog-sort-content {
  border: 1px solid #D4D4D4;
  margin-top: -1px;
  display: flex;
  justify-content: space-between;
  padding: 15px;
  box-sizing: border-box;
}
.blog-sort-content:first-child {
  margin-top: 0;
}
@media only screen and (max-width: 767px) {
  .blog-sort-list {
    padding: 55px 25px 0;
  }
}

/* -----------------
　ページネーション
----------------- */
.pager-wrap {
  width: fit-content;
  margin: auto;
}
@media print, screen and (min-width: 768px) {
  .pager-wrap {
    padding-top: 80px;
  }
}
@media only screen and (max-width: 767px) {
  .pager-wrap {
    padding-top: 40px;
  }
}
.wp-pagenavi a, .wp-pagenavi span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0px !important;
  color: #AAA;
}
@media print, screen and (min-width: 768px) {
  .wp-pagenavi a, .wp-pagenavi span {
    width: 40px;
    height: 40px;
  }
}
@media only screen and (max-width: 767px) {
  .wp-pagenavi a, .wp-pagenavi span {
    width: 37px;
    height: 37px;
  }
}
.wp-pagenavi span.current {
  color: #ffffff;
  background: #403736;
}
.wp-pagenavi a.nextpostslink {
  color: #403736;
  border: none;
  background-repeat: no-repeat;
  background-size: cover;
  font-size: 14px;
}
.wp-pagenavi a.nextpostslink:after {
  font-family: FontAwesome;
  content: "";
  margin-left: auto;
  color: #4C4948;
}
@media print, screen and (min-width: 768px) {
  .wp-pagenavi a.nextpostslink:after {
    margin-right: 15px;
  }
}
@media only screen and (max-width: 767px) {
  .wp-pagenavi a.nextpostslink:after {
    margin-right: -15px;
  }
}
@media print, screen and (min-width: 768px) {
  .wp-pagenavi a.nextpostslink {
    width: 80px;
    height: 24px;
    margin-left: 25px;
  }
}
@media only screen and (max-width: 767px) {
  .wp-pagenavi a.nextpostslink {
    width: 50px;
    height: 17px;
    margin-left: 25px;
  }
}
.wp-pagenavi a.previouspostslink {
  color: #403736;
  border: none;
  background-repeat: no-repeat;
  background-size: cover;
  font-size: 14px;
}
.wp-pagenavi a.previouspostslink:before {
  font-family: FontAwesome;
  content: "";
  margin-right: auto;
  color: #4C4948;
}
@media print, screen and (min-width: 768px) {
  .wp-pagenavi a.previouspostslink:before {
    margin-left: 15px;
  }
}
@media only screen and (max-width: 767px) {
  .wp-pagenavi a.previouspostslink:before {
    margin-left: -15px;
  }
}
@media print, screen and (min-width: 768px) {
  .wp-pagenavi a.previouspostslink {
    width: 80px;
    height: 24px;
    margin-right: 25px;
  }
}
@media only screen and (max-width: 767px) {
  .wp-pagenavi a.previouspostslink {
    width: 50px;
    height: 17px;
    margin-right: 25px;
  }
}
