﻿/*--- 全体 ---------------------*/
.kashi_wrap {
    padding: 0 10px;
    background: #f8f9fb;
}

/*--- ヒーロー -----------------*/


/*---------- 検索結果 ----------*/

.search_result {
    width: 90%;
    margin: 30px auto;
    text-decoration: none;
}

.result_title {
    padding: 0 0 5px 0;
    margin-bottom: 5px;
    text-align: left;
    line-height: 20px;
    font-size: 138.5%;
    color: #e9528e;
}

/* --- ページャー用 --- */
.result_pager_base {
    width: 100%;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result_pager {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.my-link {
    margin: 0 5px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px; /* ← これ重要（flex親対策） */
    border-radius: 50%;
    padding: 0 !important;
    box-sizing: border-box;
    font-size: 115%;
}



/* ==========================================
   ちえん通信一覧
========================================== */

.communication_grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.communication_card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.communication_link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.communication_image img {
    width: 100%;
    display: block;
}

.communication_title {
    padding: 12px;
    text-align: center;
    line-height: 1.5;
    font-size: 15px;
    color: #333;
}

/* ==========================================
   PC表示
========================================== */

@media (min-width: 1024px) {

    .communication_grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        align-items: start;
    }

    .communication_card {
        transition: all .2s ease;
    }

        .communication_card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(0,0,0,.12);
        }

    .communication_title {
        padding: 16px;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* */

.com_header {
    text-align: center;
    margin: 30px 0 40px;
}

    .com_header h2 {
        margin: 0 0 30px;
        font-family: 'Marcellus SC', serif;
        font-size: 32px;
        color: #2589d0;
        font-weight: normal;
    }

.com_lead {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.8;
}

.com_message {
    margin: 0;
    padding-bottom: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

