@charset "UTF-8";
/* 共通設定 ---------------------------------- */
section{
    scroll-margin-top: 170px;
}

/* ボタン */
.btn{
    display: block;
    width: 250px;
    height: 50px;
    background-color: #AC8241;
    border-radius: 3px;
    border: 1px solid #AC8241;
    color: #fff;
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding-left: 30px;
    position: relative;
    transition: all 0.4s ease;
}
.btn::after{
    content: "";
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    position: absolute;
    top: 52%;
    right: 30px;
    transform: translateY(-50%) rotate(45deg);
}
.btn:hover{
    background-color: #fff;
    color: #AC8241;
}
.btn:hover::after{
    border-top: 1px solid #AC8241;
    border-right: 1px solid #AC8241;
    right: 15px;
}

/* page-title ------------------------------ */
.numbers #page-title::after{
    background-image: url(../img/numbers/title.webp);
}

/* numbers-main ---------------------------- */
#numbers-main{
    width: 100%;
    padding: 0 5%;
    margin-bottom: 70px;
}

#numbers-main > ul{
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 3vw;
    justify-content: center;
    align-items: stretch;
    margin: 0 auto;
}
#numbers-main > ul li{
    width: 100%;    
    padding: 45px;
}
#numbers-main > ul li .title{
    font-size: 24px;
    padding-left: 50px;
    position: relative;
}
#numbers-main > ul li .title::before{
    content: "";
    width: 40px;
    height: 40px;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
}
#numbers-main > ul li:nth-of-type(1) .title::before{
    background-image: url(../img/numbers/icon1.webp);
}
#numbers-main > ul li:nth-of-type(2) .title::before{
    background-image: url(../img/numbers/icon2.webp);
}
#numbers-main > ul li:nth-of-type(3) .title::before{
    background-image: url(../img/numbers/icon3.webp);
}
#numbers-main > ul li:nth-of-type(4) .title::before{
    background-image: url(../img/numbers/icon4.webp);
}
#numbers-main > ul li:nth-of-type(5) .title::before{
    background-image: url(../img/numbers/icon5.webp);
}
#numbers-main > ul li:nth-of-type(6) .title::before{
    background-image: url(../img/numbers/icon6.webp);
}

#numbers-main > ul li .number{
    width: fit-content;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 80px;
    font-weight: 600;
    line-height: 1em;
    color: #154783;
    margin: 0 auto;
    position: relative;
}
#numbers-main > ul li .number::after{
    width: fit-content;
    height: 24px;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 24px;
    font-weight: 600;
    line-height: 1em;
    color: #154783;
    position: absolute;
    bottom: 3px;
}
#numbers-main > ul li:nth-of-type(1) .number::after{
    content: "社";
    right: -24px;
}
#numbers-main > ul li:nth-of-type(2) .number::after{
    content: "領域";
    right: -48px;
}
#numbers-main > ul li:nth-of-type(3) .number::after{
    content: "拠点";
    right: -48px;
}
#numbers-main > ul li:nth-of-type(4) .number::after{
    content: "名";
    right: -24px;
}
#numbers-main > ul li:nth-of-type(5) .number::after{
    content: "県";
    right: -24px;
}
#numbers-main > ul li:nth-of-type(6) .number::after{
    content: "年";
    right: -24px;
}

#numbers-main > ul li .notice{
    width: 100%;
    height: 14px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1em;
    text-align: center;
    margin-bottom: 20px;
}

/* zaimu ----------------------------------- */
#zaimu{
    width: 100%;
    padding: 0 5%;
    margin-bottom: 70px;
}
#zaimu .zaimu-wrap{
    width: 100%;
    max-width: 1280px;
    background-color: #F9F2E8;
    padding: 45px;
    margin: 0 auto;
}
#zaimu .zaimu-wrap .main-wrap{
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    margin: 0 auto;
}

#zaimu .zaimu-wrap .main-wrap .img-area{
    width: 140px;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #D2B07B;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
#zaimu .zaimu-wrap .main-wrap .img-area img{
    width: 120px;
    height: 120px;
    object-fit: contain;
}

#zaimu .zaimu-wrap .main-wrap .text-area{
    width: calc(100% - 140px - 5%);
}
#zaimu .zaimu-wrap .main-wrap .text-area > h2{
    font-size: 24px;
    margin-bottom: 25px;
}

/* to-contact ------------------------------ */
#to-contact{
    width: 100%;
    background-color: #01295A;
    padding: 45px 5%;
    border-bottom: 1px solid #fff;
}
#to-contact .main-wrap{
    width: 70%;
    min-width: 800px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto;
}
#to-contact .main-wrap .text-area{
    width: calc(100% - 250px);
    color: #fff;
    padding-left: 100px;
    position: relative;
}
#to-contact .main-wrap .text-area::before{
    content: "";
    width: 70px;
    height: 70px;
    background-image: url(../img/numbers/icon-mail.svg);
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}
#to-contact .main-wrap .text-area .title{
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 24px;
    font-weight: 600;
    line-height: 1em;
    margin-bottom: 10px;
}

#to-contact .main-wrap > .btn{
    width: 250px;
}


/*-------------------------------------------
メインメニュー調整用
-------------------------------------------*/
@media screen and (max-width: 1277px) {

    /* 共通設定 ---------------------------------- */
    section{
        scroll-margin-top: calc(90px + 40px);
    }

}


/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* numbers-main ---------------------------- */
    #numbers-main > ul{
        grid-template-columns: repeat(2, 1fr);
    }

    /* zaimu ----------------------------------- */
    #zaimu .zaimu-wrap .main-wrap{
        width: 100%;
    }

    /* to-contact ------------------------------ */
    #to-contact .main-wrap{
        width: 100%;
        min-width: 100%;
        flex-direction: column;
        align-items: center;
    }
    #to-contact .main-wrap .text-area{
        width: 100%;
        max-width: 500px;
        margin-bottom: 20px;
    }

    #to-contact .main-wrap > .btn{
        margin: 0 auto;
    }

}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* 共通設定 ---------------------------------- */
    section{
        scroll-margin-top: calc(60px + 40px);
    }

    /* page-title ------------------------------ */
    .numbers #page-title{
        height: 400px;
    }
    .numbers #page-title::after{
        background-image: url(../img/numbers/titleSP.webp);
    }

    /* numbers-main ---------------------------- */
    #numbers-main > ul{
        grid-template-columns: repeat(1, 1fr);
    }
    #numbers-main > ul li{
        padding: 30px 5vw;
    }

    /* zaimu ----------------------------------- */
    #zaimu .zaimu-wrap{
        padding: 45px 5vw;
    }
    #zaimu .zaimu-wrap .main-wrap{
        flex-direction: column;
        gap: 30px;
    }

    #zaimu .zaimu-wrap .main-wrap .text-area{
        width: 100%;
    }

    /* to-contact ------------------------------ */
    #to-contact .main-wrap .text-area{
        width: fit-content;
        padding-left: 50px;
        margin: 0 auto 30px auto;
    }
    #to-contact .main-wrap .text-area::before{
        width: 40px;
        height: 40px;
        top: -7px;
        left: 0;
        transform: none;
    }

    #to-contact .main-wrap > .btn{
        margin: 0 auto;
    }

}