@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================
   NEWS リスト カスタマイズ
   ========================================== */

/* 区切り線 */
.p-postList.-type-simple .p-postList__item {
  border-top: 0.5px solid #ffffff;
}
.p-postList.-type-simple .p-postList__item:last-child {
  border-bottom: 0.5px solid #ffffff;
}

/* 日付・カテゴリ・タイトルを横並び */
.p-postList.-type-simple .p-postList__body {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.5rem 0;
  width: 100%;
}

/* 日付＋カテゴリをまとめて横並び・縮まないよう固定 */
.p-postList.-type-simple .p-postList__meta {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  flex-shrink: 0;
}

/* 日付 */
.p-postList.-type-simple .c-postTimes__posted {
  font-size: 0.8rem;
  color: #ffffff;
  white-space: nowrap;
}
.p-postList.-type-simple .c-postTimes__posted::before {
  display: none; /* カレンダーアイコン非表示 */
}

.p-postList.-type-simple .p-postList__cat {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  border: 1px solid currentColor;
  padding: 0.2em 0.8em;
  white-space: nowrap;
}

.p-postList.-type-simple .p-postList__cat::before {
  display: none; /* フォルダアイコン非表示 */
}

/* タイトル */
.p-postList.-type-simple .p-postList__title {
  font-size: 0.95rem;
  font-weight: normal;
  margin: 0;
  line-height: 1.5;
}

/* スマホは縦並び */
@media (max-width: 767px) {
  .p-postList.-type-simple .p-postList__body {
    flex-direction: column;
    gap: 0.3rem;
  }
}