.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 0;
    padding-top: 0;
    background-image: url('/assets/images/chat-uranai.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* === 新着コラムセクションのCSS === */

/* カード全体のレイアウト */
.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px; /* カード間の余白 */
}

.blog-card {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 記事のアイキャッチ画像 */
.blog-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* 画像の比率を16:9に固定 */
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像がコンテナに合わせてトリミングされる */
}

.blog-card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(206, 33, 114, 0.85); /* サイトのテーマカラーに合わせる */
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* カードのテキスト部分 */
.blog-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content h3 {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 10px 0;
    flex-grow: 1;
}

/* コラム一覧セクション */
.blog-card-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.blog-card-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

/* ▼『コラム一覧をもっと見る』ボタンの配置を調整 */
.view-more-button-container {
  display: flex;           /* 横中央寄せ */
  justify-content: center;
  margin-top: 40px;        /* カードとの間隔 */
  width: 100%;
}

/* スケジュール案内ボタンも同様にセンター配置（念のため） */
.schedule-button-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
}

/* PC 3カラム時にボタンがグリッドに噛まないよう、
   blog-cards の後ろでフローを切る */
.blog-cards {
  margin-bottom: 0; /* 念のため余白をリセット */
}

/* モバイルファースト：ボタンサイズを100%にしない */
.view-more-button-container .cta-button,
.schedule-button-container .cta-button {
  min-width: 260px;
}
