@charset "UTF-8";
.blog {
  padding: 200px 40px 0; /* 左右16pxの余白 */
  max-width: 1104px; /* 1024 + 左右16pxずつ */
  margin: 0 auto;
  box-sizing: border-box;
}

.blog-container {
  border: 2px solid #222222;
  border-radius: 30px;
  padding: 120px 40px 80px;
  position: relative;
  background-color: #fff;
}

.blog-title {
  width: 280px;
  position: absolute;
  top: -50px;
  left: 40px;
  margin: 0;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは3列 */
  gap: 40px 24px;
}

.blog-item a {
  color: #222222;
  display: block;
}
.blog-item a:hover {
  animation: hop 0.6s; /* 無限ではなく一度だけ実行 */
  animation-fill-mode: forwards; /* アニメーション終了後も最後の状態を保持（必要に応じて） */
}

.blog-thumbnail {
  aspect-ratio: 1200/630;
  border: 2px solid #222222;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 15px;
}

.blog-thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}

/* ホバー時に画像を少し大きくする演出 */
.blog-item a:hover .blog-thumbnail img {
  transform: scale(1.05);
}

.blog-date {
  display: inline-block;
  background-color: #eee;
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.post-date {
  display: inline-block;
  background-color: #eee;
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 14px;
  font-weight: 900;
}

.blog-post-title {
  font-size: 16px;
  font-weight: 900;
}

.news-contact .contact-card {
  margin-top: 100px;
  background: #F4838D;
}
.news-contact .contact-card .deco {
  display: none;
}

/* 記事詳細ページ全体の余白 */
.post-detail {
  padding: 200px 40px 0;
  max-width: 1104px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 外側の白いボックス */
.post-container {
  border: 2px solid #000;
  border-radius: 30px;
  padding: 80px 60px; /* PC版の余白 */
  position: relative;
  background-color: #fff;
}

/* 左上の「blog」ロゴ */
.post-header-title {
  width: 250px;
  position: absolute;
  top: -45px;
  left: 40px;
  margin: 0;
}

/* 記事の中身 */
.post-content-inner {
  max-width: 800px; /* 読みやすいように本文の幅を少し絞る */
  margin: 40px auto 0;
}

.post-entry-header {
  margin-bottom: 40px;
}

.post-main-title {
  font-size: 24px;
  font-weight: 900;
  margin-top: 15px;
}

/* 画像の基本設定 */
.post-eyecatch, .post-figure {
  margin: 40px 0;
  border: 2px solid #222222;
  border-radius: 15px;
  overflow: hidden;
}

.post-eyecatch img, .post-figure img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* 本文のテキスト */
.post-entry-content p {
  margin-bottom: 32px;
  font-weight: 500;
}

.post-entry-content img {
  border-radius: 12px; /* 角丸 */
  max-width: 100%; /* 横幅がはみ出さないように */
  height: auto;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .blog {
    padding: 160px 16px 0;
  }
  .blog-title {
    width: 140px;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
  }
  .blog-list {
    grid-template-columns: 1fr; /* スマホは1列 */
    gap: 40px;
  }
  .blog-container {
    padding: 60px 20px;
  }
  .news-contact .contact-card {
    margin-top: 40px;
  }
  .post-detail {
    padding: 160px 16px 0;
    max-width: 1104px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .post-container {
    padding: 32px 20px;
  }
  .post-entry-header {
    margin-bottom: 24px;
  }
  .post-eyecatch {
    margin: 24px 0;
  }
  .post-eyecatch, .post-figure {
    margin: 24px 0;
  }
  .post-header-title {
    width: 140px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
  }
  .post-main-title {
    font-size: 20px;
  }
  .post-entry-content p {
    font-size: 14px;
    margin-bottom: 16px;
  }
}/*# sourceMappingURL=news.css.map */