@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ハーブ図鑑下部の関連日記エリア */
.l-el-herb-related {
    margin-top: 4em;
    padding-top: 2em;
    border-top: 1px solid #eee;
}
.l-el-herb-related .c-sectionTitle {
    font-size: 1.25rem;
    margin-bottom: 1.5em;
    text-align: center;
}



/* 日記リストをSWELL風の横並びカードにする */
.l-herb-diary-section .p-postList.-card {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
}
.l-herb-diary-section .p-postList.-card > li {
    flex: 1;
    min-width: 250px;
}


/* スマホ・タブレット向けの調整 */
@media screen and (max-width: 768px) {
    
    /* 栽培日記リスト：スマホでは2列、または1列で見やすく */
    .l-herb-diary-section .p-postList.-card {
        gap: 15px !important;
    }
    .l-herb-diary-section .p-postList.-card li {
        min-width: 100% !important; /* 1列にする場合は100%、2列なら47% */
    }

    /* BASEボタン：スマホで横幅いっぱいに広げて押しやすく */
    .base-link-area .sw-btn {
        width: 90%;
        padding: 12px 20px !important;
        font-size: 14px;
    }

    /* 日記から図鑑へのリンクボックス：余白の調整 */
    .diary-to-guide-link {
        padding: 15px !important;
        margin-top: 2em !important;
    }
    .diary-to-guide-link a {
        gap: 10px !important;
    }
    .diary-to-guide-link span {
        font-size: 0.95em !important;
    }
}