@charset "UTF-8";

/* --- 変数定義（画像に合わせたカラー） --- */
:root {
    --color-bg: #fffdf5;          /* 全体の背景色（ごく薄いクリーム色） */
    --color-text: #222;           /* 基本のテキスト色 */
    --color-border: #333;         /* 枠線の色 */
    --color-yellow: #f8c800;      /* 画像のメインの黄色 */
    --color-tag-bg: #fbeea4;      /* タグの薄い黄色 */
    --color-date: #999;           /* 日付のグレー */
    --border-style: 2px solid var(--color-border); /* 共通の枠線スタイル */
    --font-en: 'Poppins', sans-serif;
    --font-ja: 'Noto Sans JP', sans-serif;
}

/* --- リセット & ベース --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: var(--font-ja);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    letter-spacing: 0.03em;
    background-image: linear-gradient(#ffebb8 1px, transparent 1px), linear-gradient(90deg, #ffebb8 1px, transparent 1px);
    background-size: 22px 22px;
    background-color: #fff4b3;

}
a {
    text-decoration: none;
    color: inherit;
}

/* --- ヘッダー --- */
.header {
    background: #fff;
    border-bottom: var(--border-style);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 900;
}

/* --- メインコンテンツ --- */
.main-content {
    padding: 60px 0 100px;
}
.section-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- セクション見出し（画像の「#news お知らせ」を再現） --- */
.section-header-wrap {
    background: #fff;
    border: var(--border-style);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}
/* シャドウを使わない立体表現（黄色の背景をずらして配置） */
.section-header-wrap::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    background-color: var(--color-yellow);
    border: var(--border-style);
    border-radius: inherit;
    z-index: -1;
}

.en-title {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 900;
    color:#fff;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    /* text-shadowを使って白抜きにならない縁取りを表現 */
    text-shadow:
        -1.5px -1.5px 0 var(--color-border),
         1.5px -1.5px 0 var(--color-border),
        -1.5px  1.5px 0 var(--color-border),
         1.5px  1.5px 0 var(--color-border);
}
.en-title .hash {
    margin-right: 2px;
}
.ja-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 15px;
}
.ja-desc {
    color: #555;
    font-weight: 500;
}

/* --- グリッドレイアウト --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* --- カードデザイン（シャドウなしの立体表現） --- */
.card-wrap {
    position: relative;
    z-index: 1;
    height: 100%;
}
/* カートの立体ベース部分 */
.card-wrap::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    background-color: var(--color-yellow);
    border: var(--border-style);
    border-radius: 16px;
    z-index: 0;
}

.card-inner {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: var(--border-style);
    border-radius: 16px;
    height: 100%;
    position: relative;
    z-index: 2;
    transition: transform 0.15s ease-out;
}
/* ホバー時のアクション：浮くのではなく「押し込まれる」動き */
.card-wrap:hover .card-inner {
    transform: translate(6px, 6px);
}

/* カード上部の画像ダミー */
.card-thumb {
    height: 180px;
    border-bottom: var(--border-style);
    border-radius: 14px 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-weight: 900;
    color: #fff;
    font-size: 1.2rem;
    -webkit-text-stroke: 1px rgba(0,0,0,0.2);
}
.bg-blue { background: #5bc0eb; }
.bg-light { background: #9bc53d; }
.bg-pink { background: #fa7921; }
.bg-yellow { background: #fde74c; color: #333; -webkit-text-stroke: 0; }

/* カード下部のテキストエリア */
.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
/* 画像の点線デザインをカード内に取り入れる */
.card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px dotted var(--color-yellow);
}
.card-date {
    font-family: var(--font-en);
    color: var(--color-date);
    font-size: 0.95rem;
    font-weight: 700;
}
/* タグデザイン（薄い黄色に丸み） */
.card-tag {
    background: var(--color-tag-bg);
    color: var(--color-text);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
}

/* --- ボタンエリア（画像右下のボタンデザインを再現） --- */
.btn-container {
    margin-top: 50px;
    text-align: center;
}
.btn-wrap {
    display: inline-block;
    position: relative;
    z-index: 1;
}
/* ボタンの立体ベース */
.btn-wrap::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 100%;
    height: 100%;
    background-color: var(--color-yellow);
    border: var(--border-style);
    border-radius: 50px;
    z-index: -1;
}

.more-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: var(--border-style);
    border-radius: 50px;
    padding: 8px 8px 8px 25px;
    position: relative;
    transition: transform 0.15s ease-out;
}
/* ボタンのホバーも押し込みアクション */
.btn-wrap:hover .more-btn {
    transform: translate(4px, 4px);
}

.btn-text {
    font-weight: 700;
    font-size: 1rem;
    margin-right: 20px;
}
.btn-icon {
    width: 44px;
    height: 44px;
    background: var(--color-yellow);
    border: var(--border-style);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text);
}
