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

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

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

/* main-wrap ------------------------------- */
.main-wrap{
    width: 100%;
    margin-bottom: 70px;
}
.main-wrap > h2{
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}
.main-wrap > p{
    width: 100%;
    text-align: center;
    margin-bottom: 55px;
}

.card-wrap{
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: center;
    gap: 5%;
    padding: 45px;
    margin: 0 auto;
}

.card-wrap .name-area{
    width: 25%;
}
.card-wrap .name-area .img-wrap{
    width: 110px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}
.card-wrap .name-area .img-wrap img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.card-wrap .name-area > h3{
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.card-wrap .info-list{
    width: 70%;
    padding-left: 5%;
    border-left: 1px solid #D2B07B;
}
.card-wrap .info-list .info-item-wrap{
    padding: 30px 0 30px 100px;
    position: relative;
    border-bottom: 1px solid #D2B07B;
}
.card-wrap .info-list .info-item-wrap:last-of-type{
    border-bottom: 0;
}
.card-wrap .info-list .info-item-wrap::before{
    content: "";
    width: 60px;
    height: 60px;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

/* アイコン */
.card-wrap .info-list .info-item-wrap:nth-of-type(1):before{
    background-image: url(../img/group_companies/icon1.webp);
}
.card-wrap .info-list .info-item-wrap:nth-of-type(2):before{
    background-image: url(../img/group_companies/icon2.webp);
}
.card-wrap .info-list .info-item-wrap:nth-of-type(3):before{
    background-image: url(../img/group_companies/icon3.webp);
}

.card-wrap .info-list .info-item-wrap dt{
    font-weight: 600;
    color: #154783;
    line-height: 1.3em;
    margin-bottom: 10px;
}

/* million --------------------------------- */
#million{
    width: 100%;
    padding: 0 5%;
    margin-bottom: 40px;
}

/* F --------------------------------------- */
#F{
    width: 100%;
    padding: 0 5%;
    margin-bottom: 40px;
}

/* seniorfull ------------------------------ */
#seniorfull{
    width: 100%;
    padding: 0 5%;
}

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

#network .main-wrap{
    width: 100%;
    max-width: 1280px;
    padding: 45px;
    background-color: #F9F2E8;
    margin: 0 auto;
}
#network .main-wrap > p{
    width: 70%;
    margin: 0 auto 50px auto;
}

#network .main-wrap .company-list{
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0 auto;
    position: relative;
    z-index: 0;
}
#network .main-wrap .company-list::before{
    content: "";
    width: calc(100% - 190px);
    height: 1px;
    background-color: #AC8241;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
}
#network .main-wrap .company-list::after{
    content: "";
    width: 10px;
    height: 10px;
    border-top: 1px solid #AC8241;
    border-right: 1px solid #AC8241;
    position: absolute;
    top: calc(50% + 1px);
    right: 190px;
    transform: translateY(-50%) rotate(45deg);
    z-index: -1;
}
#network .main-wrap .company-list li{
    width: 120px;
    height: 120px;
    background-color: #fff;
    border-radius: 70px;
    border: 1px solid #D2B07B;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#network .main-wrap .company-list li:nth-of-type(3){
    width: 240px;
}
#network .main-wrap .company-list li:last-of-type{
    width: 190px;
    background-color: transparent;
    border-radius: 0;
    border: 0;
    color:#154783;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3em;
    text-align: center;
    padding-left: 20px;
}
#network .main-wrap .company-list li > img{
    width: 90px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

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

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

    /* network --------------------------------- */
    #network .main-wrap > p{
        width: 100%;
    }

    #network .main-wrap .company-list{
        width: 100%;
    }

    #network .main-wrap .company-list li{
        width: 100px;
        height: 100px;
        border-radius: 51px;
    }
    #network .main-wrap .company-list li:nth-of-type(3){
        width: 200px;
    }
    #network .main-wrap .company-list li > img{
        width: 85px;
    }

}


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

    /* 共通設定 ---------------------------------- */
    /* ボタン */
    .btn{
        width: 170px;
        padding-left: 10px;
    }
    .btn::before{
        right: 15px;
    }
    .btn::after{
        right: 10px;
    }
    .btn:hover{
        background-color: #fff;
        color: #AC8241;
    }
    .btn:hover::before{
        content: none;
    }
    .btn:hover::after{
        content: none;
    }

    /* main-wrap ------------------------------- */
    .card-wrap{
        gap: 0;
        padding: 45px 5vw;
    }

    .card-wrap .name-area{
        width: 35%;
    }

    .card-wrap .info-list{
        width: 65%;
        padding-left: 20px;
    }
    .card-wrap .info-list .info-item-wrap{
        padding: 30px 0 30px 70px;
    }
    .card-wrap .info-list .info-item-wrap::before{
        left: 0;
    }

    /* network --------------------------------- */
    #network .main-wrap > p{
        text-align: left;
    }
    #network .main-wrap > p > br{
        display: none;
    }

    #network .main-wrap .company-list li{
        width: 70px;
        height: 70px;
        border-radius: 36px;
    }
    #network .main-wrap .company-list li:nth-of-type(3){
        width: 140px;
    }
    #network .main-wrap .company-list li > img{
        width: 60px;
    }

}

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

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

    /* ボタン */
    .btn{
        width: 200px;
        padding-left: 30px;
    }
    .btn::before{
        right: 20px;
    }
    .btn::after{
        right: 15px;
    }

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

    /* main-wrap ------------------------------- */
    .main-wrap > p{
        width: 80%;
        text-align: left;
        margin: 0 auto 55px auto;
    }

    .card-wrap{
        flex-direction: column;
    }

    .card-wrap .name-area{
        width: 100%;
        margin-bottom: 30px;
    }
    .card-wrap .name-area .img-wrap{
        width: 130px;
    }

    .card-wrap .info-list{
        width: 100%;
        padding-left: 0;
        border-left: 0;
    }
    .card-wrap .info-list .info-item-wrap{
        padding: 30px 0 30px 42px;
    }
    .card-wrap .info-list .info-item-wrap::before{
        width: 32px;
        height: 32px;
        top: 30px;
        transform: none;
    }

    /* network --------------------------------- */
    #network .main-wrap{
        padding: 45px 5vw;
    }
    #network .main-wrap > p{
        margin-bottom: 40px;
    }

    #network .main-wrap .company-list{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    #network .main-wrap .company-list::before{
        width: 1px;
        height: calc(100% - 110px);
        top: 0;
        left: 50%;
    }
    #network .main-wrap .company-list::after{
        top: auto;
        bottom: 110px;
        right: 50%;
        transform: translateX(+50%) rotate(135deg);
    }
    #network .main-wrap .company-list li{
        width: 120px;
        height: 120px;
        border-radius: 61px;
        flex-direction: column;
    }
    #network .main-wrap .company-list li:nth-of-type(3){
        width: 120px;
        height: 240px;
    }
    #network .main-wrap .company-list li:last-of-type{
        padding-left: 0;
    }
    #network .main-wrap .company-list li:last-of-type p{
        text-align: center;
    }
    #network .main-wrap .company-list li > img{
        width: 90px;
    }

}