
/*ページ全体-------------------------------------------------*/


body{
    /*--<head>と<footer>の間--*/
    font-size: 1rem;
    line-height: 1.75;
    font-family: Kosugi Maru, sans-serif;
    font-weight:400;
    color:#240e03;
    box-sizing: border-boxs;
    margin: 0 auto;

}



/* トップページ*/
/*上部（ヘッダー部）*/
.hero{
    margin: 0 auto;
    display: flow-root;

    .heroimg{
        margin-top: 3em;
    }

    .title{
        height: fit-content;
        max-width:70%;
        padding: 0;
        margin: 0 auto;
        img{
            float: left;
            width:clamp(5em,25%,10em); 
        }

        h1{
            font-family: var(--mincho);
            padding: 0.5em 0;
            text-align: left;
            font-size: clamp(1.75em,3em,5dvw);
            margin: 0.75em 0;
            margin-bottom: 0;
        }
        span{
            text-align: center;
        }
    }

}


/*TOPページ：メインエリア
＞新着情報
＞センター案内
＞スライドショー（未）*/
.home{

    .newsarea{
        max-width: 70%;
        margin: 5em clamp(5%,calc(25%/2),15%);
        padding: 1.25em 1em;
        box-sizing: border-box;
    


        p{
            font-family: var(--label-s);
            font-weight: 500;
            font-size: 1.25em;
            margin-bottom: 0.25em;
            border: 2px solid var(--cp-y);
            padding: 0.2em 0.5em;
            border-radius: 1em;
            background-color: color-mix(in srgb, var(--cp-y) , white 90%);


            time{
                letter-spacing: var(--sp-middle);
                font-size: 1rem;
            }
            time::after{
                font-family: var(--icon);
                content: "double_arrow";
                font-size: 1em;
                vertical-align: -0.2em;
            }
        }
    }

    .news{
        line-height: 1.75em;
        display: flow-root;
        padding-bottom: 0.25em;
        margin-bottom: 0.5em;
        border-bottom: gainsboro 1px dotted;
        background-color: #ffffff90;

        a{
            display: inline-block;
            border-bottom: var(--cp-o) 2px dashed;
        }
        a:hover{
            translate: 0 -3px ;
        }
    }
    .newsicon{
        float: left;
        padding: 0;
        line-height: 1.25em;
        font-size: 3.5em;
        color:color-mix(in srgb, var(--cp-o) ,var(--cp-y) 30%);
    }
    .mark{
        color:var(--cp-alert);
    }

    .service_list{
        .catch{
            color: color-mix(in srgb, var(--cp-accent), black 30%);
            text-align: center;
            font-size: 1.125em;
        }

        .support{
            margin-bottom: 3em;
            
            background:
                linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
                url("../image/parts/home_service-support.png") center bottom / contain no-repeat;
                border-bottom: 2px solid;
                border-color:color-mix(in srgb, #2c7786 , white 80%);
            
            height: fit-content;
            padding: 1em clamp(0.5em,calc(15%/2),15%);

            .target{
                font-weight: bold;
                margin-left: 1.5em;
                line-height: 1;
                vertical-align: top;
            }
            .target::before{
                font-family: var(--icon);
                font-variation-settings: var(--Bicon);
                content: "check_circle";
                margin-right: 0.5em;
                font-size: 1.25em;
                color: var(--cp-accent);
                vertical-align: -0.2em;
                text-indent: -2em;
            }
        }

        .list{
            display: flex;
            gap:0.5em;
            flex-wrap: wrap;
            justify-content: center;
            div{
                padding: 0.2em;
                width: 24em;
            }
            ul{
                list-style: disc;
                position: relative;
            }
        }
    
    }


}

footer{
   
    width: 100%;
    margin-top: 5em;
    /*
    background-image: url(../image/footer.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    */
    border-top:var(--cp-accent) 1em solid;
    padding-top: 1em;

    .content{
        margin: 0 auto;
        padding: 0 var(--padding);
        display: flex;
        flex-wrap: wrap;
        column-gap: 0;
        row-gap: 1em;
        max-width: fit-content;        
        .footlist{
            border-right: var(--cp-accent) 1px solid;
            margin-bottom: 10em;

            .label{
                font-size: 1.25em;
                font-family: var(--label-g);
                font-weight: bold;
                color: color-mix(in srgb, var(--cp-accent) , black 30%);
            }

        }

        div{
            padding: 0.5em;
            max-width: fit-content;
        }
    
    }


    

    .logo{
        width: 100%;
    }
}



/*　モバイル表示　*/

@media (width <= 768px) {

    .home{

        .newsarea{
            max-width: 95%;
            margin: 0.75em auto;
        }
    }

    .hero{

        .heroimg{
            margin: 0;
        }
        
        .title{
            position: static;
            transform: none;
            width: 100%;
            margin: 0 auto;
            img{width: 2.5em;}
            h1{
                font-size: 0.8125em;
            }
            span{
                font-size: 0.625em;
            }
        }
    }

    footer{
        .content{
            flex-direction: row;
            .footlist{
                border: none;
                margin-bottom: 0;
            }
        }
        .logo{
            width: 100%;
        }
    }


}

/* 確認用
*,*::before,*::after{
    outline: 2px solid red !important;
}*/