/* ==============================
  column トップページ
============================== */


/* ------------------------------
  スライダー
------------------------------ */

.top #post_slider .p-postSlider__title{
  font-size: 58px;
  font-weight: bold;
  color: #1a365d;
  margin-bottom: -0.45em;
  position: relative;
  z-index: 10;
}

.top #post_slider{
  --ps_space: 8px;
  padding-bottom: 0;
  overflow: hidden;
}

.top #post_slider .p-postSlider__swiper{
  width: 2868px;
  max-width: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* 画像表示領域 */
.top #post_slider .c-postThumb__figure{
  height: 530px;
  aspect-ratio: auto;
}

.top #post_slider .c-postThumb__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top #post_slider.p-postSlider.-ps-style-img .p-postList__body{
  padding: 0 .875em 2.75em;
}

.top #post_slider .p-postList__body{
  display: flex;
  flex-direction: column;
}

.top #post_slider .p-postList__meta{
  order: -1;
  font-size: 16px;
  font-weight: bold;
}

.top #post_slider .p-postList__cat{
  background: #d57004 !important;
  padding: 2px 8px 4px;
}

.top #post_slider .p-postList__title{
  order: 1;
  font-size: 28px;
  margin-top: 10px;
  max-height: none;
}


/* ------------------------------
  記事一覧
------------------------------ */

.top #content{
  padding-top: 8.75em;
}

.top #main_content.l-article{
  max-width: 1400px;
}

.top #post_list_tab_1 > .p-postList.-type-card,
.top #post_list_tab_1 > .p-postList.-type-thumb{
  margin: 0;
  column-gap: 20px;
  row-gap: 55px;
}

.top #post_list_tab_1 .-type-card .p-postList__item{
  margin-bottom: 0;
  padding: 0;
  width: calc((100% - 40px) / 3) !important;
}

.top #post_list_tab_1 .-type-card .p-postList__title,
.top #post_list_tab_1 .-type-list .p-postList__title,
.top #post_list_tab_1 .-type-list2 .p-postList__title{
  font-size: 18px;
  padding: 0 10px;
}

.top #post_list_tab_1 .p-postList__meta{
  font-size: 15px;
  font-weight: bold;
  padding: 0 10px;
}

.top #post_list_tab_1 .p-postList__title + .p-postList__meta{
  margin-top: .5em;
}

.top #post_list_tab_1 .p-postList__meta ::before{
}

.top #post_list_tab_1 .p-postList__meta .c-postTimes__posted,
.top #post_list_tab_1 .p-postList__meta .c-postTimes__modified{
  color: #b0aeaf;
}

.top #post_list_tab_1 .p-postList__meta .p-postList__cat{
  background: none;
  color: #d57004;
  font-weight: 500;
  padding: 0;
}

.top #post_list_tab_1 .c-pagination{
  margin-top: 6.75em;
}


/* ==============================
  column 詳細ページ
============================== */

.single #top_title_area{
  height: 300px;
  min-height: 300px;
  padding: 0;
}

.single .c-postTitle__ttl {
  font-size: 30px;
  color: #fff;
}

.single .p-articleMetas__times.c-postTimes {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  opacity: 0.75;
}

.single .c-categoryList__link{
  font-size: 16px;
}

.single .c-secTitle {
  font-size: 25px;
  margin-bottom: 37px;
  border-left: none;
  border-bottom: 2px solid #e1e1e1;
  padding: 0 12px 10px;
}

.single .c-secTitle::before {
  content: "";
  width: 422px;
  height: 2px;
  background: #667e88;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.single .l-articleBottom__section .p-postList.p-postList {
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: space-between;
}

.single .l-articleBottom__section .-type-card .p-postList__item {
  padding: 0;
  width: 48.34%;
}

.single .l-articleBottom__section .-type-card .p-postList__item .p-postList__link {
  display: flex;
  justify-content: space-between;
}

.single .l-articleBottom__section .-type-card .p-postList__thumb {
  width: 36.47%;
}

.single .l-articleBottom__section .p-postList__body {
  width: 57.843%;
  padding-top: .5em;
}

.single .l-articleBottom__section .p-postList__title {
  font-size: 19px;
}

.single .l-articleBottom__section .p-postList__meta {
  font-size: 16px;
  color: #b0aeaf;
}


.single .l-articleBottom__section .p-postList__meta ::before {
  display: none;
}


/* ==============================
  アーカイブページ
============================== */

.archive #post_list_tab_1 > .p-postList.-type-card,
.archive #post_list_tab_1 > .p-postList.-type-thumb{
  margin: 0;
  column-gap: 20px;
  row-gap: 55px;
}

.archive #post_list_tab_1 .-type-card .p-postList__item{
  margin-bottom: 0;
  padding: 0;
  width: calc((100% - 40px) / 3) !important;
}

.archive #post_list_tab_1 .-type-card .p-postList__title,
.archive #post_list_tab_1 .-type-list .p-postList__title,
.archive #post_list_tab_1 .-type-list2 .p-postList__title{
  font-size: 18px;
  padding: 0 10px;
}

.archive #post_list_tab_1 .p-postList__meta{
  font-size: 15px;
  font-weight: bold;
  padding: 0 10px;
}

.archive #post_list_tab_1 .p-postList__title + .p-postList__meta{
  margin-top: .5em;
}

.archive #post_list_tab_1 .p-postList__meta ::before{
}

.archive #post_list_tab_1 .p-postList__meta .c-postTimes__posted,
.archive #post_list_tab_1 .p-postList__meta .c-postTimes__modified{
  color: #b0aeaf;
}

.archive #post_list_tab_1 .p-postList__meta .p-postList__cat{
  background: none;
  color: #d57004;
  font-weight: 500;
  padding: 0;
}

.archive #post_list_tab_1 .c-pagination{
  margin-top: 6.75em;
}

.category #top_title_area,
.tag #top_title_area{
  height: 300px;
  min-height: 300px;
  padding: 0;

  background-image: url("https://pro.fujioh.com/blog/wp-content/uploads/2024/10/img_column-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* SWELLのNO IMAGE画像を非表示 */
.category #top_title_area .l-topTitleArea__img,
.tag #top_title_area .l-topTitleArea__img{
  display: none;
}

/* タイトルを白文字に */
.category #top_title_area .l-topTitleArea__body,
.tag #top_title_area .l-topTitleArea__body{
  color: #fff;
}

.category #top_title_area .c-pageTitle,
.tag #top_title_area .c-pageTitle{
  color: #fff;
}

@media screen and (max-width: 750px){

  .archive #post_list_tab_1 > .p-postList.-type-card,
  .archive #post_list_tab_1 > .p-postList.-type-thumb{
    margin: 0;
    column-gap: 0;
    row-gap: 10.667vw;
  }

  /* 3列 → 1列 */
  .archive #post_list_tab_1 .-type-card .p-postList__item{
    width: 100% !important;
    margin-bottom: 0;
    padding: 0;
  }

  .archive #post_list_tab_1 .-type-card .p-postList__title,
  .archive #post_list_tab_1 .-type-list .p-postList__title,
  .archive #post_list_tab_1 .-type-list2 .p-postList__title{
    font-size: 4.267vw;
    line-height: 1.6;
    padding: 0 2.667vw;
  }

  .archive #post_list_tab_1 .p-postList__meta{
    font-size: 3.2vw;
    padding: 0 2.667vw;
  }

  .archive #post_list_tab_1 .p-postList__title + .p-postList__meta{
    margin-top: 2.133vw;
  }

  .archive #post_list_tab_1 .c-pagination{
    margin-top: 16vw;
  }

  .category #top_title_area,
  .tag #top_title_area{
    height: 64vw;
    min-height: 64vw;
  }

  .category #top_title_area .c-pageTitle,
  .tag #top_title_area .c-pageTitle{
    font-size: 5.333vw;
  }

}


/* ==============================
  column トップページ SP
============================== */

@media screen and (max-width: 750px){

  /* ------------------------------
    スライダー
  ------------------------------ */

  .top #post_slider .p-postSlider__title{
    font-size: 10.667vw;
    margin-bottom: -4.8vw;
  }

  .top #post_slider{
    --ps_space: 2vw;
    overflow: hidden;
  }

  /*
   * SPはSWELL側が2枚表示なので、
   * swiper自体を176vwにすることで
   * 1スライド = 88vw
   *
   * 左右padding 2vwずつを除き、
   * 画像部分は約84vw
   */
  .top #post_slider .p-postSlider__swiper{
    width: 176vw;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  /* 940 : 530 の比率を維持 */
  .top #post_slider .c-postThumb__figure{
    height: 47.362vw;
    aspect-ratio: auto;
  }

  .top #post_slider .c-postThumb__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .top #post_slider.p-postSlider.-ps-style-img .p-postList__body{
    padding: 0 3.2vw 5.333vw;
  }

  .top #post_slider .p-postList__meta{
    font-size: 3.2vw;
  }

  .top #post_slider .p-postList__cat{
    padding: .533vw 2.133vw 1.067vw;
  }

  .top #post_slider .p-postList__title{
    font-size: 4.267vw;
    margin-top: 1.6vw;
    line-height: 1.5;
  }


  /* ------------------------------
    記事一覧
  ------------------------------ */

  .top #content{
    padding-top: 18.667vw;
  }

  .top #main_content.l-article{
    max-width: 100%;
  }

  .top #post_list_tab_1 > .p-postList.-type-card,
  .top #post_list_tab_1 > .p-postList.-type-thumb{
    margin: 0;
    column-gap: 0;
    row-gap: 10.667vw;
  }

  /* 3列 → 1列 */
  .top #post_list_tab_1 .-type-card .p-postList__item{
    width: 100% !important;
    margin-bottom: 0;
    padding: 0;
  }

  .top #post_list_tab_1 .-type-card .p-postList__title,
  .top #post_list_tab_1 .-type-list .p-postList__title,
  .top #post_list_tab_1 .-type-list2 .p-postList__title{
    font-size: 4.267vw;
    line-height: 1.6;
    padding: 0 2.667vw;
  }

  .top #post_list_tab_1 .p-postList__meta{
    font-size: 3.2vw;
    padding: 0 2.667vw;
  }

  .top #post_list_tab_1 .p-postList__title + .p-postList__meta{
    margin-top: 2.133vw;
  }

  .top #post_list_tab_1 .c-pagination{
    margin-top: 16vw;
  }

}


/* ==============================
  column 詳細ページ SP
============================== */

@media screen and (max-width: 750px){

  /* ------------------------------
    タイトルエリア
  ------------------------------ */

  .single #top_title_area{
    height: 64vw;
    min-height: 64vw;
    padding: 0;
  }

  .single #top_title_area .c-postTitle__ttl{
    font-size: 5.333vw;
    line-height: 1.5;
  }

  .single #top_title_area .p-articleMetas__times.c-postTimes{
    font-size: 3.467vw;
  }

  .single #top_title_area .c-categoryList__link{
    font-size: 3.467vw;
  }


  /* ------------------------------
    関連記事
  ------------------------------ */

  .single .l-articleBottom__section .c-secTitle{
    font-size: 5.333vw;
    margin-bottom: 6.4vw;
    padding: 0 0 2.667vw;
    border-bottom-width: .533vw;
  }

  .single .l-articleBottom__section .c-secTitle::before{
    width: 56vw;
    height: .533vw;
    bottom: -.533vw;
  }

  .single .l-articleBottom__section .p-postList.p-postList{
    display: block;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .single .l-articleBottom__section .-type-card .p-postList__item{
    width: 100%;
    margin-bottom: 5.333vw;
    padding: 0;
  }

  .single .l-articleBottom__section .-type-card .p-postList__item:last-child{
    margin-bottom: 0;
  }

  .single .l-articleBottom__section .-type-card .p-postList__item .p-postList__link{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .single .l-articleBottom__section .-type-card .p-postList__thumb{
    width: 32vw;
    flex: 0 0 32vw;
  }

  .single .l-articleBottom__section .p-postList__body{
    width: 52vw;
    padding-top: 1.067vw;
  }

  .single .l-articleBottom__section .p-postList__title{
    font-size: 4vw;
    line-height: 1.55;
  }

  .single .l-articleBottom__section .p-postList__meta{
    font-size: 3.2vw;
    margin-top: 1.6vw;
  }

}
