/**
 * page-forfront2col-pickup 用の追加CSS
 * created by 2025.06.10 
 *    https://shunsukeoyama.com/blog-top のスタイルを元に新規作成
 * 2025.07.29 update ボタン用CSS追加、カードの高さを微調整
 **/

/* ボタンのベース 2025.07.29 add */
a.btn {
    color: #fff;
    background-color: #333;
    display: inline-block;
    padding: 0.5em 2em 0.5em 1.5em;
    margin: 15px 0;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 2px 20px rgb(0 0 0 / 20%);
}

/* カード表示部分のスタイル start
 * ----------------------------------------------------- */
#post-list{
    padding:20px 0;
}
.top-card{
    /* margin: 1em 3% 4em; 2025.06.10 update */
    margin: 0 3%;
    padding-bottom: 1em;
}
.top-card a:hover{
    text-decoration-line: none;
}
.top-card ul{
    text-align: center;
    /* margin-top: 1.5em; 2025.06.10 update */
    margin: 1.5em 0 0;
}
.top-card li{
    border-bottom: solid 1px #cdcdcd;
    padding-bottom: 1em;
}
.top-card li a{
    display: block;
    width: 100%;
    height: 100%;
}
.top-card li:nth-child(3){
    display: none;
}
.one-column .top-card ul#news li:nth-child(n+5),
.one-column .top-card ul:not(#news) li:nth-child(n+3){
    display: none;
}
.top-card li a:hover{
    opacity: 0.75;
}
.top-card li:after{
    content: '';
    clear: both;
    display: block;
}
.top-card li p.top-card-img{
    float: left;
    width: 30%;
    margin: 0.5em 0.5em 0.5em 0;
}
.one-column .top-card li p.top-card-img{
    width: 45%;
}
.top-card .top-card-heder-title{
    text-align: center;
    font-size: 1.2em;
    font-family: sans-serif;
    color: #333;
    padding: 10px 3% 0;
    border-bottom: solid 1px #333;
}
.top-card .top-card-date{
    font-size: 0.8em;
    line-height: 3em;
    text-align: left;
    margin-bottom: 0;
}
.top-card .top-card-title{
    font-size: 0.8em;
    line-height: 1.4em;
    text-align: left;
    color: #000;
    display: grid;
    margin-top: 0;
}
.top-card .top-card-more{
    margin: 2em auto;
    text-align: center;
    border: 1px solid #707070;
    width: 80%;
    max-width: 320px;
}
.top-card .top-card-more:hover{
    background-color: #4f96f6;
    border: 1px solid #4f96f6;
}
.top-card .top-card-more a{
    display: block;
    color:#333;
}
.top-card .top-card-more a:hover{
    color: #fff;
}

/* ボタンエリア 2025.07.29 add start */
.linkbtn-are {
    text-align: center;
}
.linkbtn-are a {
    background-color: #c4302b;
    border-bottom: solid 4px #601411;
    position: relative;
}
.linkbtn-are a:hover{
    background-color: #fc0400;
}
.linkbtn-are a::after{
    font-family: 'Material Icons';
    content: '\e5df';/* arrow_right */
    font-size: 2em;
    line-height: 1em;
    position: absolute;
    top: 5px;
    right: 5px;
}
/* 2025.07.29 add end   */

/* このサイズから3つずつカードタイプで表示 */
@media only screen and (min-width: 769px) {
    .top-card{
        /* height: 380px;2025.07.29 del */
        /* margin: 20px 0; 2025.06.10 update */
        margin: 20px 3%;
    }
    .one-column .top-card{
        margin: 0;
    }
    .top-card ul{
        margin: 1.5em 0 0;
    }
    .sort-left ul {
        text-align: left;
        margin-left: 5%;
    }
    .top-card li{
        border-bottom:none;/* SP用を打ち消し*/
        display: inline-block;
        width: 30%;
        /* height: 250px; 2025.07.29 update */
        height: 255px;
        overflow: hidden;
        list-style-type: none;
        list-style-position: outside;
        margin-right: 15px;
    }
    .one-column .top-card li{/* 2022.06.09 add サイドバーなしの場合のサイズ調整*/
        width: 22%;
    }
    .top-card li:nth-child(3){
        display: inline-block;
    }
    .one-column .top-card ul#news li:nth-child(n+5),
    .one-column .top-card ul:not(#new) li:nth-child(n+3){
        display: inline-block;
    }
    .top-card li:last-child {
        margin-right: 0;
    }
    .top-card li p.top-card-img,
    .one-column .top-card li p.top-card-img{
        /*SP用を打ち消し*/
        float: none;
        width: 100%;
        margin: 0;
    }
    .top-card p{
        margin: 0;
    }
    .top-card .top-card-heder-title{
        text-align: left;
        font-size: 20px;
    }
    .top-card .top-card-date{
        padding: 0 5px;
    }
    .top-card .top-card-title{
        padding: 0 5px;
    }
    .top-card .top-card-more{
        text-align: right;
        margin: 0 auto;
        padding-right: 5%;
        /*SP用を打ち消し*/
        border:0;
        width: 100%;
        max-width: none;
    }
    .top-card .top-card-more:hover{
        /*SP用を打ち消し*/
        background-color: #fff;
        border: none;
    }
    .top-card .top-card-more a,
    .top-card .top-card-more a:hover{
        display: inline;
        color:#4f96f6;
    }
    .top-card .top-card-more a:after{
        content: ' >>';
    }
}
/* カード表示部分のスタイル end ----------------------------------- */