/* 全体のベースと背景色 */
body {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: #f8f9fa; /* やわらかい薄グレー */
    color: #333;
}

header h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 400;
    color: #222;
    margin: 50px 0 30px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

/* 綺麗なカード並びを作るグリッド */
.column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

/* ✨ コラムカード単体のリッチな設定 */
.column-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); /* 通常時はごく薄い影 */
    
    display: flex;
    flex-direction: column;
    cursor: pointer; /* カーソルを指マークにする */
    position: relative;
    
    /* 🚀 動くときの滑らかさ（高級感が出るスピード設定） */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 🔥 カーソルが乗ったときの「浮き出る」挙動 */
.column-card:hover {
    transform: translateY(-6px); /* 上に6px浮かす */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); /* 影を大きく柔らかく広げる */
}

/* 日付 */
.column-card .date {
    font-size: 0.85rem;
    color: #bbb;
    margin-bottom: 15px;
    display: block;
}

/* タイトル */
.column-card h2 {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.5;
    color: #111;
    margin: 0 0 15px 0;
}

/* 概要の文章 */
.column-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* 中身のテキスト量に関わらずRead Moreの位置を綺麗に揃える */
}

/* Read More → の文字 */
.column-card .read-more {
    font-size: 0.95rem;
    font-weight: bold;
    color: #111;
    text-decoration: none;
    margin-top: auto;
    display: inline-block;
}

/* カードにカーソルが乗った時、Read Moreに自動で下線を引く */
.column-card:hover .read-more {
    text-decoration: underline;
}

/* 戻るボタンエリア */
.back-button-container {
    text-align: center;
    margin-top: 50px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: background 0.2s;
}

.back-button:hover {
    background: #f0f0f0;
}

/* フッター */
.guide-footer {
    text-align: center;
    padding: 50px 0;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

/* 運営テキスト */
.footer-copy {
    color: #888888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* リンクを囲むディブ */
.footer-link-item {
    margin-bottom: 10px;
}

/* 🔗 フッターのリンク単体の設定（ここから動きをつけます） */
.footer-link {
    color: #888888;
    font-size: 0.8rem;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
    
    /* 文字色がフワッと変わる時間設定 */
    transition: color 0.25s ease;
}

/* ✨ リンクの下線をアニメーションさせるための下準備（透明な線を作っておく） */
.footer-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0); /* 最初は幅をゼロにして隠す */
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #333333; /* ホバー時に出る線の色 */
    transform-origin: bottom right;
    /* 線が伸びる滑らかさの設定 */
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 🚀 カーソルを合わせた（ホバー）時の動き */
.footer-link:hover {
    color: #333333; /* 文字色を濃くしてアクティブ感を出す */
}

.footer-link:hover::after {
    transform: scaleX(1); /* 線を左から右へシャキッと100%伸ばす */
    transform-origin: bottom left;
}