@charset "UTF-8";
/*-- mixinフォルダの中の_index.scss --*/
/*---------------------
変数
-----------------------*/
/**************************

  カラーパレット

**************************/
/*------------------------------------
SP特化サイト用メディアクエリ MIXIN
---------------------------------*/
/*---------------------
 ★ 文字関連一括指定（フォントサイズ+2px対応版）
-----------------------*/
/*---------------------
//Fontサイズ vw可変指定（SP特化サイト用）
----------------------*/
/* @include font-vw(font-size, 440px, 16px, 12px);
SP特化サイトの最大幅440pxのとき16pxの文字sizeをvw変換し、
幅を狭めるごとに比率で縮めるが、そのまま適用すると早々に小さくなりすぎるので、
最小値12pxを指定。最小値になる幅sizeを割り出し、メディアクエリにmin指定することで
16pxの比率のまま縮め、12px以下には縮まないという指定にしている。
*/
/*---------------------
 ★ リンク文字色 一括指定
-----------------------*/
/*---------------------
 ★ リンク下線復活
-----------------------*/
/*-------------------------------------
 ★ リンク下線消去 一括指定//フォーカスのみ下線
---------------------------------------*/
/*-------------------------------------
 ★ floatのあとは自動 clear: both;
 @include clearfix;
 float: left;
 のように使用する
---------------------------------------*/
/*-------------------------------------
 ★セレクトのプロパティをサイズ指定して変更
---------------------------------------*/
/*-------------------------------------

   レイアウト汎用

---------------------------------------*/
/*-----------------------------------

 上部余白

-----------------------------------*/
/*-----------------------------------

 改行制御

-----------------------------------*/
/*-----------------------------------

 中央寄せと左寄せ制御

-----------------------------------*/
/*--------------------------------------------
//文字数を指定行数で丸めて…で省略・複数行対応mixin
----------------------------------------------*/
/*-----------------------------------

 文章段落

-----------------------------------*/
/*--------------------------------
  通常投稿 アーカイブページ
  p-archive-post
---------------------------------*/
.p-archive-post {
  /* ヒーローセクション */
}
.p-archive-post__hero {
  padding: 30px 0 20px;
  text-align: center;
}
.p-archive-post__title {
  font-style: normal;
  font-weight: bold;
  font-size: calc(26 / 16 * 1rem);
  color: #333;
  letter-spacing: 0em;
  line-height: 1.4;
  margin-bottom: 10px;
}
.p-archive-post {
  /* 記事グリッド */
}
.p-archive-post__grid-section {
  padding: 20px 0 40px;
}
.p-archive-post__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 15px 1fr;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
@media screen and (max-width: 480px) {
  .p-archive-post__grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
.p-archive-post__card {
  display: block;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  -webkit-transition: -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
  transition: -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s, -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
}
.p-archive-post__card:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
  -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
          box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.p-archive-post__card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f5f5f5;
}
.p-archive-post__card-thumb-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.p-archive-post__card:hover .p-archive-post__card-thumb-img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.p-archive-post__card-noimage {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 100%;
  font-style: normal;
  font-weight: 400;
  font-size: calc(15 / 16 * 1rem);
  color: #666;
  letter-spacing: 0em;
  line-height: 1;
  background: #f5f5f5;
}
.p-archive-post__card-body {
  padding: 15px;
}
.p-archive-post__card-categories {
  margin-bottom: 8px;
}
.p-archive-post__card-category {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(33, 66, 135, 0.1);
  border-radius: 10px;
  font-style: normal;
  font-weight: 500;
  font-size: calc(13 / 16 * 1rem);
  color: #214287;
  letter-spacing: 0em;
  line-height: 1.4;
}
.p-archive-post__card-title {
  font-style: normal;
  font-weight: 600;
  font-size: calc(16 / 16 * 1rem);
  color: #333;
  letter-spacing: 0em;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-archive-post__card-date {
  font-style: normal;
  font-weight: 400;
  font-size: calc(14 / 16 * 1rem);
  color: #666;
  letter-spacing: 0em;
  line-height: 1.4;
}
.p-archive-post {
  /* ページネーション（archive-worksと同一スタイル） */
}
.p-archive-post__pagination {
  margin-top: 40px;
}
.p-archive-post__pagination .nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (max-width: 480px) {
  .p-archive-post__pagination .nav-links {
    gap: 5px;
  }
}
.p-archive-post__pagination .page-numbers {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
  font-size: calc(16 / 16 * 1rem);
  color: #333;
  letter-spacing: 0em;
  line-height: 1;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
@media screen and (max-width: 480px) {
  .p-archive-post__pagination .page-numbers {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 5px;
  }
}
.p-archive-post__pagination .page-numbers:hover {
  background: rgba(33, 66, 135, 0.1);
  border-color: #214287;
}
.p-archive-post__pagination .page-numbers.current {
  background: #214287;
  border-color: #214287;
  color: #ffffff;
}
.p-archive-post__pagination .page-numbers.dots {
  border: none;
  background: transparent;
  min-width: auto;
  padding: 0 4px;
}
@media screen and (max-width: 480px) {
  .p-archive-post__pagination .page-numbers.dots {
    padding: 0 2px;
    font-size: 12px;
  }
}
.p-archive-post__pagination .page-numbers.dots:hover {
  background: transparent;
}
.p-archive-post__pagination .page-numbers.prev .material-icons, .p-archive-post__pagination .page-numbers.next .material-icons {
  font-size: 20px;
}
@media screen and (max-width: 480px) {
  .p-archive-post__pagination .page-numbers.prev .material-icons, .p-archive-post__pagination .page-numbers.next .material-icons {
    font-size: 16px;
  }
}
.p-archive-post {
  /* 投稿なし */
}
.p-archive-post__no-posts {
  text-align: center;
  padding: 60px 20px;
}
.p-archive-post__no-posts p {
  font-style: normal;
  font-weight: 400;
  font-size: calc(17 / 16 * 1rem);
  color: #666;
  letter-spacing: 0em;
  line-height: 1.6;
}