/* ============================================================
   blog.css
   事例紹介：カテゴリーページ・記事詳細
============================================================ */

/* ============================================================
   共通：投稿・カテゴリーページ幅
============================================================ */

.archive.category .l-mainContent__inner,
.single-post .l-mainContent__inner{
  max-width:1052px;
  margin:0 auto;
}

/* カテゴリーページ上余白 */
.archive.category .l-mainContent__inner{
  padding-top:56px !important;
}

/* ============================================================
   不要要素の非表示
============================================================ */

/* 日付・メタ情報 */
.archive.category .p-postList__date,
.single-post .p-articleMetas,
.single-post .p-articleHead__date,
.single-post .c-postTitle__date{
  display:none !important;
}

/* SNSシェア */
.single-post .p-shareBtns,
.single-post .p-shareBtn,
.single-post .c-shareBtns{
  display:none !important;
}

/* 関連記事・前後記事 */
.single-post .p-relatedPosts,
.single-post .p-pnLinks{
  display:none !important;
}

/* ============================================================
   カテゴリーページ：タイトル
============================================================ */

.archive.category .c-pageTitle{
  font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;
  color:#0F2A44;
  font-size:32px;
  line-height:1.5;
  border-bottom:1px solid rgba(15,42,68,.18);
  padding-bottom:18px;
  margin-bottom:48px !important;
}

/* ============================================================
   カテゴリーページ：一覧カード
============================================================ */

.archive.category .p-postList{
  display:flex;
  flex-direction:column;
  gap:42px;
}

.archive.category .p-postList__item{
  width:100% !important;
  max-width:1000px !important;
  margin:0 auto !important;
  padding:0 !important;
  background:none !important;
  box-shadow:none !important;
  border:none !important;
}

/* 横長カード */
.archive.category .p-postList__link{
  display:grid !important;
  grid-template-columns:420px 1fr;
  gap:0;
  background:#fff;
  border:1px solid #e7e1d7;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 14px 42px rgba(15,42,68,.07);
  transition:.3s ease;
}

.archive.category .p-postList__link:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 48px rgba(15,42,68,.10);
}

/* ============================================================
   カテゴリーページ：画像
   ※切れない設定
============================================================ */

.archive.category .p-postList__thumb{
  margin:0 !important;
  height:auto !important;
  min-height:0 !important;
  background:#F7F7F5;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden;
}

.archive.category .p-postList__thumb img{
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  display:block !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

/* ============================================================
   カテゴリーページ：本文
============================================================ */

.archive.category .p-postList__body{
  padding:48px 48px 44px !important;
}

.archive.category .p-postList__title{
  font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;
  color:#0F2A44;
  font-size:34px !important;
  line-height:1.55 !important;
  font-weight:800;
  margin:0 0 24px !important;
}

.archive.category .p-postList__excerpt{
  color:#3E4A59;
  font-size:16px;
  line-height:2;
  margin:0 0 24px !important;
}

.archive.category .p-postList__meta{
  margin-top:20px;
  color:#6C7887;
  font-size:13px;
}

/* ============================================================
   記事詳細ページ
============================================================ */

.single-post .c-postTitle,
.single-post .p-articleHead__title{
  font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;
  color:#0F2A44;
  font-size:34px;
  line-height:1.5;
  font-weight:800;
  padding-top: 1.5em;
}

.single-post .post_content{
  color:#2F3B4C;
  font-size:16px;
  line-height:2.1;
}

.single-post .post_content img{
  border-radius:16px;
  box-shadow:0 12px 34px rgba(15,42,68,.10);
}

/* アコーディオン */
.single-post .swell-block-accordion__item{
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(15,42,68,.10);
  margin-bottom:14px;
}

.single-post .swell-block-accordion__title{
  background:#F5F1E8;
  color:#0F2A44;
  font-weight:700;
  padding:18px 22px;
}
.c-pageTitle[data-style=b_bottom] .c-pageTitle__inner {
    border-bottom: none;
}
/* ============================================================
   SP
============================================================ */

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

  .archive.category .l-mainContent__inner,
  .single-post .l-mainContent__inner{
    padding:0 20px;
  }

  .archive.category .l-mainContent__inner{
    padding-top:42px !important;
  }

  .archive.category .p-postList__link{
    grid-template-columns:1fr !important;
  }

  .archive.category .p-postList__body{
    padding:28px 24px 32px !important;
  }

  .archive.category .p-postList__title{
    font-size:26px !important;
  }

  .archive.category .p-postList__excerpt{
    font-size:15px;
  }

  .single-post .c-postTitle,
  .single-post .p-articleHead__title{
    font-size:26px;
  }
}

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

  .archive.category .c-pageTitle{
    font-size:26px;
    margin-bottom:34px !important;
  }

  .archive.category .p-postList__title{
    font-size:23px !important;
  }

  .archive.category .p-postList__body{
    padding:24px 20px 28px !important;
  }
}