/* ============================
   BLOG 一覧 page
   ============================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans JP",
    sans-serif;
  color: #145087;
}

.page-content {
  position: relative;
  z-index: 10;
}

/* ============================
   レイアウト
   ============================ */

.main {
  max-width: 92%;
  margin: 0 auto;
  padding: 0 12px 60px;
}

.section {
  margin-top: 36px;
}

.section__inner {
  max-width: 960px;
  margin: 0 auto;
}

/* ============================
   見出しカード
   ============================ */

.page-heading {
  background: #ffffffee;
  border-radius: 24px;
  padding: 16px 10px 14px;
  text-align: center;
  border: 1px solid #e2f1ff;
  box-shadow: 0 4px 10px rgba(13, 71, 125, 0.08);
  margin-top: 24px;
}

.page-heading__title {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.1em;
}

.page-heading__sub {
  margin: 4px 0 0;
  font-size: 11px;
  color: #6a7c93;
}

/* ============================
   ブロック見出し
   ============================ */

.block-heading {
  margin-bottom: 10px;
}

.block-heading.center {
  text-align: center;
}

.block-heading__title {
  margin: 0 0 4px;
  font-size: 16px;
  color: #145087;
}

.block-heading__sub {
  margin: 0;
  font-size: 11px;
  color: #6a7c93;
}

/* ============================
   新着ブロググリッド
   ============================ */

.blog-grid--latest {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  padding: 0; /* ← 余白ゼロ */
}

.blog-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;

  -webkit-line-clamp: 2; /* Chrome / Safari */
  line-clamp: 2;         /* 将来の標準 */

  overflow: hidden;
}


@media (min-width: 768px) {
  .blog-grid--latest {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* PC：3列 */
    gap: 32px;
  }
}

/* ============================
   ブログカード
   ============================ */

.blog-card {
  background: #ffffffee;
  border-radius: 18px;
  border: 1px solid #e2f1ff;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(13, 71, 125, 0.08);
}

.blog-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* サムネ */
.blog-card__thumb {
  width: 100%;
  padding-top: 70%;      /* アスペクト比（縦横比）用 */
  background: #dcdcdc;
  position: relative;
  overflow: hidden;
}

/* ここを修正 */
.blog-card__thumb img {
  position: absolute;    /* ← 枠の中に固定配置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* ← 中央でトリミング */
  display: block;
}

/* 本文 */
.blog-card__body {
  padding: 12px 12px 18px;
}

/* メタ（日時・キャスト名） */
.blog-card__meta {
  margin: 0 0 4px;
  font-size: 11px;
  color: #6a7c93;
  display: flex;
  justify-content: space-between;
}

.blog-card__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.blog-card__excerpt {
  margin: 0;
  font-size: 12px;
  color: #43566a;
  line-height: 1.7;
}

/* ============================
   彼女から選ぶ（グリッド）
   ============================ */

.girl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* スマホ：3列 */
  gap: 26px 16px;
  margin-top: 14px;
  justify-items: center;
}

@media (min-width: 768px) {
  .girl-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)); /* PC：6列 */
    gap: 28px 20px;
  }
}

/* 彼女カード */
.girl-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.girl-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e8f1ff;
  box-shadow: 0 4px 12px rgba(13, 71, 125, 0.15);
  margin-bottom: 6px;
}

.girl-card__name {
  margin: 0;
  font-size: 12px;
  text-align: center;
}

/* hover effect */
.girl-card:hover .girl-card__avatar {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(13, 71, 125, 0.2);
  transition: 0.2s ease;
}

/* 彼女から選ぶ */
.girl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 20px;
  justify-items: center;
}

.girl-icon {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.girl-icon__image {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
}

.girl-icon__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.girl-icon__name {
  margin-top: 8px;
  font-size: 14px;
}
