/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 16 2026 | 06:11:31 */
/*--------------------------------------------------------*/
/* セクション４、セクション５エリア共通　４×４カラム表示 */
/*--------------------------------------------------------*/

#top.ban-toppage .top-section{  
    background: var(--color1);
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 100px 20px;
    box-sizing: border-box;
    color: #000000;
    text-align: center;
}

/* タイトル系文字装飾 */
#top.ban-toppage .s-title{
    font-size:3rem;
    margin:10px;
}
#top.ban-toppage .s-title-sub{
    font-size:3rem;
    margin:10px;
}
#top.ban-toppage .s-lead{
    font-size:2rem;
}

/* コンテナ装飾 */
#top.ban-toppage .matrix2by2-container{
    width:100%;
    max-width:1120px;
    margin:0 auto;
    padding:0 20px;
    box-sizing:border-box;
}

/* グリッド装飾 */
#top.ban-toppage .matrix2by2-grid{
    display:grid !important;
    align-items:start !important;
    gap:16px;
    margin-top:40px;
}

/* カード装飾 */
#top.ban-toppage .matrix2by2{
    display:flex;
    flex-direction:column;
    margin:0 !important;
    padding:0 !important;
    background:#000000;
    border:1px solid var(--border);
    border-radius:var(--radius);
    overflow:hidden;
    height:100%;
}

#top.ban-toppage .matrix2by2 img{
    display:block;
    width:100%;
    height:200px;
    object-fit:cover;
}

/* ボディ装飾 */
#top.ban-toppage .matrix2by2-body{
    padding:14px;
    color:#ffffff;
    text-align:center;
}

#top.ban-toppage .matrix2by2-body h3{
    margin:0 0 6px !important;
    padding:0 !important;
    color:#ffffff;
}

/* more も work_more */
#top.ban-toppage .matrix2by2_more{
    display:flex !important;
    justify-content:flex-end !important;
    width:100% !important;
    max-width:1120px;
    margin-top:40px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-right:20px;
    box-sizing:border-box;
}

#top.ban-toppage .matrix2by2_more a{
    display:inline-block !important;
    text-align:right !important;
    color:var(--ink) !important;
    text-decoration:none;
    font-weight:bold;
}

/* レスポンシブ */
/* スマホ表示 */
@media (max-width:768px){

    #top.ban-toppage .top-section{
        background:var(--color1);
        min-height:100vh;
        padding:60px 10px;
    }

    #top.ban-toppage .matrix2by2-container{
        padding:0 5px;
    }

    #top.ban-toppage .matrix2by2-grid{
        grid-template-columns:repeat(2,1fr);
        gap:8px;
    }

    #top.ban-toppage .s-title{font-size:2rem;}
    #top.ban-toppage .s-lead{font-size:1.2rem;}

    #top.ban-toppage .matrix2by2_more{
        padding-right:15px;
        margin-top:30px !important;
    }
}
/* PC表示 */
@media (min-width:769px){
    #top.ban-toppage .matrix2by2-grid{
        grid-template-columns:repeat(2,1fr);
        min-width:150px;
    }
}

