@charset "utf-8";

/* =========================================================
   メイン領域の配置（固定ヘッダーとの余白調整）
========================================================= */
#news1 #main {
    width: 100vw;
    position: relative;
    top: 5vw;
    box-sizing: border-box;
    padding-bottom: 8vw;
}

@media (max-width: 900px) {
    #news1 #main {
        top: 40px;
        padding-bottom: 60px;
    }
}

/* 見出しのスタイル調整 */
#news1 .headline {
    color: #222;
}

#news1 .headline_ja {
    text-align: center;
    font-size: 1.37vw;
    letter-spacing: 0.3em;
    color: #666;
    margin-bottom: 3vw;
}

@media (max-width: 900px) {
    #news1 .headline_ja {
        font-size: 4vw;
        margin-bottom: 24px;
    }
}

/* =========================================================
   カテゴリ選択ドロップダウンメニュー
========================================================= */
.flex_start {
    width: 80vw;
    max-width: 1100px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: flex-end;
}

.cp_ipselect {
    position: relative;
    width: 180px;
    text-align: center;
}

.cp_ipselect select {
    width: 100%;
    padding: 10px 36px 10px 16px;
    cursor: pointer;
    text-indent: 0.01px;
    text-overflow: ellipsis;
    border: 1px solid #dcdcdc;
    outline: none;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    font-size: 13px;
    font-family: 'Roboto Slab', "游ゴシック", "Yu Gothic", sans-serif;
    color: #444;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}

.cp_ipselect select:focus {
    border-color: #1aa170;
    box-shadow: 0 0 0 3px rgba(26, 161, 112, 0.15);
}

/* ドロップダウン矢印カスタム */
.cp_ipselect::after {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    content: '';
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    pointer-events: none;
}

@media (max-width: 900px) {
    .flex_start {
        width: 90vw;
        margin-bottom: 20px;
    }
    .cp_ipselect {
        width: 150px;
    }
    .cp_ipselect select {
        padding: 8px 30px 8px 14px;
        font-size: 12px;
    }
}

/* =========================================================
   ブログ・お知らせ一覧（3カラムグリッドレイアウト）
========================================================= */
.three-column.blogList {
    width: 80vw;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.three-column_items {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.three-column_items:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* サムネイル画像 */
.three-column_items img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background-color: #eee;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* テキスト情報エリア */
.blog_list_title {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* 日付とカテゴリタグ */
.blog_list_title .gray {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.blogTime {
    font-family: 'Roboto Slab', serif;
    font-size: 12px;
    color: #888;
}

.blogCat {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background-color: #1aa170;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

/* 記事タイトル */
.three-column_items_title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
}

.three-column_items_title a {
    color: #222;
    transition: color 0.25s ease;
}

.three-column_items_title a:hover {
    color: #1aa170;
}

/* 概要文 */
.blog_list_outline {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

/* =========================================================
   PC版ホバーマスク（JSで制御される .blogList_hover）
========================================================= */
.blogList_hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px; /* サムネイル画像の高さに合わせる */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(26, 161, 112, 0.75); /* ブランドカラーの半透明 */
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.blogList_hover p {
    color: #fff;
    font-family: 'Roboto Slab', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
}

/* 右矢印アイコン */
.blogList_hover .arrow {
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

/* =========================================================
   レスポンシブ対応（900px以下）
========================================================= */
@media (max-width: 900px) {
    .three-column.blogList {
        width: 90vw;
        grid-template-columns: 1fr; /* スマホは1列カード */
        gap: 25px;
    }

    .three-column_items img {
        height: 180px;
    }

    .blog_list_title {
        padding: 18px 16px;
    }

    .three-column_items_title {
        font-size: 16px;
    }

    /* スマホではホバーマスクを非表示 */
    .blogList_hover {
        display: none !important;
    }
}