/* ========================================
   INFORMATION LIST：TOPページ
======================================== */

/* ----------------------------------------
   投稿リスト全体
---------------------------------------- */

.information-list .p-postList {
  display: flex;
  flex-direction: column;
  gap: 12px;

  width: 100%;
  max-width: 868px;
  margin-inline: auto;

  border-top: none !important;
}

/* ----------------------------------------
   各投稿
---------------------------------------- */

.information-list .p-postList__item {
  margin: 0;
  padding: 0;
}

/* ----------------------------------------
   カードリンク
---------------------------------------- */

.information-list .p-postList__link {
  position: relative;

  display: block;
  padding: 18px 52px 18px 22px;

  border-radius: 14px;
  background: rgba(211, 159, 159, 0.10);

  text-decoration: none;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

/* PCホバー */
@media (hover: hover) {

  .information-list .p-postList__link:hover {
    background: rgba(211, 159, 159, 0.16);
    transform: translateY(-2px);
  }

}

/* ----------------------------------------
   本文
---------------------------------------- */

.information-list .p-postList__body {
  margin: 0;
  padding: 0;
}

/* ----------------------------------------
   メタ情報
---------------------------------------- */

.information-list .p-postList__meta {
  margin: 0 0 5px;
}

/* 日付 */
.information-list .c-postTimes__posted {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: #aaa;
}

/* 時計アイコンを削除 */
.information-list .c-postTimes__posted::before {
  display: none;
}

/* ----------------------------------------
   タイトル
---------------------------------------- */

.information-list .p-postList__title {
  margin: 0;

  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;

  color: #444;
}

/* ----------------------------------------
   カテゴリー
---------------------------------------- */

.information-list .p-postList__cat {
  display: inline-flex;
  align-items: center;

  margin-left: 8px;
  padding: 3px 9px;

  border-radius: 999px;
  background: #fff;

  color: #dbb8b8;
  opacity: 1;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

/* フォルダアイコンを削除 */
.information-list .p-postList__cat::before {
  display: none;
}

/* ----------------------------------------
   右矢印
---------------------------------------- */

.information-list .p-postList__link::after {
  content: "›";

  position: absolute;
  top: 50%;
  right: 22px;

  color: #D39F9F;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;

  transform: translateY(-50%);
}

/* ----------------------------------------
   SWELL標準の境界線・影をリセット
---------------------------------------- */

.information-list .p-postList__item,
.information-list .p-postList__link,
.information-list .p-postList__body {
  border: none !important;
  box-shadow: none !important;
}

/* ========================================
   SP
======================================== */

@media (max-width: 767px) {

  .information-list .p-postList {
    gap: 9px;
  }

  .information-list .p-postList__link {
    padding: 14px 40px 14px 18px;
    border-radius: 12px;
  }

  .information-list .c-postTimes__posted {
    font-size: 9px;
  }

  .information-list .p-postList__title {
    font-size: 12px;
    line-height: 1.6;
  }

  .information-list .p-postList__link::after {
    right: 16px;
    font-size: 22px;
  }

}

/* ========================================
   INFORMATION・CASE：記事詳細ページ共通
======================================== */

/* ----------------------------------------
   記事全体の横幅
---------------------------------------- */

#body_wrap:is(.single-post, .single-case) .l-mainContent__inner {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------
   記事ヘッダー
---------------------------------------- */

#body_wrap:is(.single-post, .single-case) .p-articleHead {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  padding: 18px 22px 10px;
  border-radius: 14px 14px 0 0;
  background: rgba(211, 159, 159, 0.10);
}

/* ----------------------------------------
   記事タイトル（H1）
---------------------------------------- */

#body_wrap:is(.single-post, .single-case) .p-articleHead .c-postTitle__ttl {
  order: 2;
  margin: 4px 0 0;
  padding: 0;
  color: #444;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* ----------------------------------------
   日付
---------------------------------------- */

#body_wrap:is(.single-post, .single-case) .p-articleHead .c-postTitle__date {
  position: static;
  display: block;
  order: 1;
  align-self: flex-start;
  width: auto;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  color: #aaa;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: left;
  transform: none;
}

/* 年・月日の表示を横並びに */

#body_wrap:is(.single-post, .single-case) .c-postTitle__date .__y,
#body_wrap:is(.single-post, .single-case) .c-postTitle__date .__md {
  display: inline;
  font-size: inherit;
  line-height: inherit;
}

/* ----------------------------------------
   カテゴリーエリア
---------------------------------------- */

#body_wrap:is(.single-post, .single-case) .p-articleMetas.-top {
  margin: 0;
  padding: 0 22px 18px;
  border-radius: 0 0 14px 14px;
  background: rgba(211, 159, 159, 0.10);
}

#body_wrap:is(.single-post, .single-case) .p-articleMetas__termList {
  margin: 0;
}

/* ----------------------------------------
   カテゴリーラベル
---------------------------------------- */

#body_wrap:is(.single-post, .single-case) .p-articleMetas__termList a {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  color: #dbb8b8;
  opacity: 1;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

/* カテゴリーアイコンを削除 */

#body_wrap:is(.single-post, .single-case) .p-articleMetas__termList::before {
  display: none;
}

/* ----------------------------------------
   重複する日付・更新日を非表示
---------------------------------------- */

#body_wrap:is(.single-post, .single-case) .p-articleMetas__times {
  display: none;
}

/* ----------------------------------------
   記事本文との余白
---------------------------------------- */

#body_wrap:is(.single-post, .single-case) .post_content {
  margin-top: 32px;
}

/* ========================================
   SP
======================================== */

@media (max-width: 767px) {

  /* 記事ヘッダー */
  #body_wrap:is(.single-post, .single-case) .p-articleHead {
    padding: 14px 18px 10px;
    border-radius: 12px 12px 0 0;
  }

  /* 記事タイトル */
  #body_wrap:is(.single-post, .single-case) .p-articleHead .c-postTitle__ttl {
    font-size: 14px;
  }

  /* 日付 */
  #body_wrap:is(.single-post, .single-case) .p-articleHead .c-postTitle__date {
    font-size: 9px;
  }

  /* カテゴリーエリア */
  #body_wrap:is(.single-post, .single-case) .p-articleMetas.-top {
    padding: 0 18px 14px;
    border-radius: 0 0 12px 12px;
  }

  /* 記事本文との余白 */
  #body_wrap:is(.single-post, .single-case) .post_content {
    margin-top: 24px;
  }

}

/* ========================================
   INFORMATION：記事一覧（/info/）
======================================== */

/* ----------------------------------------
   投稿リスト全体
---------------------------------------- */

#body_wrap.blog .p-homeContent .p-postList {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: none !important;
}

/* ----------------------------------------
   各投稿
---------------------------------------- */

#body_wrap.blog .p-homeContent .p-postList__item {
  width: 100%;
  margin: 0;
  padding: 0;
  border: none !important;
  box-shadow: none !important;
}

/* ----------------------------------------
   カードリンク
---------------------------------------- */

#body_wrap.blog .p-homeContent .p-postList__link {
  position: relative;
  display: block;
  padding: 18px 52px 18px 22px;
  border-radius: 14px;
  background: rgba(211, 159, 159, 0.10);
  text-decoration: none;
  box-shadow: none !important;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) {
  #body_wrap.blog .p-homeContent .p-postList__link:hover {
    background: rgba(211, 159, 159, 0.16);
    transform: translateY(-2px);
  }
}

/* ----------------------------------------
   サムネイル・抜粋を非表示
---------------------------------------- */

#body_wrap.blog .p-homeContent .p-postList__thumb,
#body_wrap.blog .p-homeContent .p-postList__excerpt {
  display: none;
}

/* ----------------------------------------
   本文：日付・カテゴリーをタイトルの上へ
---------------------------------------- */

#body_wrap.blog .p-homeContent .p-postList__body {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none !important;
  box-shadow: none !important;
}

#body_wrap.blog .p-homeContent .p-postList__meta {
  display: flex;
  align-items: center;
  order: -1;
  gap: 13px;
  margin: 0 0 5px;
}

#body_wrap.blog .p-homeContent .p-postList__times {
  margin: 0;
}

/* ----------------------------------------
   タイトル
---------------------------------------- */

#body_wrap.blog .p-homeContent .p-postList__title {
  order: 1;
  margin: 0;
  color: #444;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* ----------------------------------------
   日付
---------------------------------------- */

#body_wrap.blog .p-homeContent .c-postTimes__posted {
  color: #aaa;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

#body_wrap.blog .p-homeContent .c-postTimes__posted::before {
  display: none;
}

/* ----------------------------------------
   カテゴリー：日付の横に表示
---------------------------------------- */

#body_wrap.blog .p-homeContent .p-postList__meta .c-postThumb__cat {
  position: static;
  inset: auto;
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  color: #dbb8b8;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  opacity: 1;
  transform: none;
}

#body_wrap.blog .p-homeContent .p-postList__meta .c-postThumb__cat::before {
  display: none;
}

/* ----------------------------------------
   右矢印
---------------------------------------- */

#body_wrap.blog .p-homeContent .p-postList__link::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 22px;
  color: #D39F9F;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
}

/* ----------------------------------------
   投稿一覧の横幅
---------------------------------------- */

@media (min-width: 768px) {
  #body_wrap.blog .p-homeContent .c-tabBody {
    width: 100%;
    max-width: 852px;
    margin-inline: auto;
  }
}

/* ========================================
   SP
======================================== */

@media (max-width: 767px) {
  #body_wrap.blog .p-homeContent .p-postList {
    gap: 9px;
  }

  #body_wrap.blog .p-homeContent .p-postList__link {
    padding: 14px 40px 14px 18px;
    border-radius: 12px;
  }

  #body_wrap.blog .p-homeContent .p-postList__title {
    font-size: 12px;
    line-height: 1.6;
  }

  #body_wrap.blog .p-homeContent .c-postTimes__posted {
    font-size: 9px;
  }

  #body_wrap.blog .p-homeContent .p-postList__link::after {
    right: 16px;
    font-size: 22px;
  }

  #body_wrap.blog .p-homeContent .c-tabBody {
    width: calc(100% - 14px);
    margin-inline: auto;
  }
}

/* ========================================
   SP：カテゴリー文字の縦位置を微調整
   TOPページ・INFORMATION記事一覧共通
======================================== */

@media (max-width: 767px) {
  .information-list .p-postList__cat,
  #body_wrap.blog .p-homeContent .p-postList__meta .c-postThumb__cat {
    padding-top: 3.5px;
    padding-bottom: 2.5px;
  }
}



/* ========================================
   INFORMATION カテゴリーアーカイブ
======================================== */

/* ----------------------------------------
   サムネイル（4:5）
---------------------------------------- */

#body_wrap.category .p-postList__thumb {
  overflow: hidden;
  border-radius: 10px;
}

/* SWELL標準の画像比率を解除 */
#body_wrap.category .p-postList__thumb .c-postThumb__figure {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5 !important;
  overflow: hidden;
}

/* SWELL標準の疑似要素を無効化 */
#body_wrap.category .p-postList__thumb .c-postThumb__figure::before {
  content: none;
}

/* 画像を枠いっぱいに表示 */
#body_wrap.category .p-postList__thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ========================================
   INFORMATION カテゴリーアーカイブ PC
======================================== */

@media (min-width: 768px) {

  /* コンテンツ幅 */
  #body_wrap.category .l-mainContent__inner {
    max-width: 900px;
    margin-inline: auto;
  }

  /* 画像と日付の間隔 */
  #body_wrap.category .p-postList__body {
    padding-top: 8px;
  }

  /* 日付 */
  #body_wrap.category .p-postList__meta {
    margin-bottom: 3px;
    letter-spacing: 0.08em;
  }

  #body_wrap.category .p-postList__times {
    font-size: 10px;
    line-height: 1.4;
  }

  /* タイトル */
  #body_wrap.category .p-postList h2.p-postList__title {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
  }

}


/* ========================================
   INFORMATION カテゴリーアーカイブ SP
======================================== */

@media (max-width: 767px) {

  /* 投稿一覧：2列表示 */
  #body_wrap.category .p-postList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 24px;
  }

  #body_wrap.category .p-postList__item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* サムネイル */
  #body_wrap.category .p-postList__thumb {
    border-radius: 12px;
  }

  /* 画像と日付の間隔 */
  #body_wrap.category .p-postList__body {
    padding-top: 2px;
  }

  /* 日付 */
  #body_wrap.category .p-postList__meta {
    margin-bottom: 2px;
    letter-spacing: 0.08em;
  }

  #body_wrap.category .p-postList__times {
    font-size: 10px;
    line-height: 1.4;
  }

  /* タイトル */
  #body_wrap.category .p-postList h2.p-postList__title {
    margin-bottom: 4px;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.08em;
  }

}

/* ========================================
   INFORMATION カテゴリーアーカイブ
   日付・タイトルの表示順
======================================== */

#body_wrap.category .p-postList__body {
  display: flex;
  flex-direction: column;
}

/* 日付を上に */
#body_wrap.category .p-postList__meta {
  order: 1;
}

/* タイトルを下に */
#body_wrap.category .p-postList__title {
  order: 2;
}




/* ========================================
   INFORMATION カテゴリー一覧
   記事カードの縦間隔
======================================== */

/* PC */
@media (min-width: 768px) {

  #body_wrap.category .p-postList {
    row-gap: 0;
  }

}

/* スマホ */
@media (max-width: 767px) {

  #body_wrap.category .p-postList {
    row-gap: 24px;
  }

}


/* ========================================
   INFORMATION カテゴリー一覧
   画像と日付の間隔
======================================== */

/* スマホ・PC共通 */
#body_wrap.category .p-postList__body {
  padding-top: 8px;
}

/* PC */
@media (min-width: 768px) {

  #body_wrap.category .p-postList__body {
    padding-top: 12px;
  }

}

/* ========================================
   INFORMATION カテゴリー一覧
   カード左右間隔
======================================== */

@media (max-width: 767px) {

  #body_wrap.category .p-postList {
    width: calc(100% + 4px);
    margin-left: -2px;
    margin-right: -2px;
    column-gap: 10px;
  }

}

