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

/* ボタン */
.btn{
    display: block;
    width: 325px;
    height: 50px;
    background-color: #154783;
    border-radius: 3px;
    border: 1px solid #154783;
    color: #fff;
    display: flex;
    align-items: center;
    padding-left: 60px;
    position: relative;
    transition: all 0.4s ease;
}
.btn::before{
    content: "";
    width: 20px;
    height: 20px;
    background-image: url(../img/icon-mail_white.png);
    background-size: contain;
    position: absolute;
    top: 58%;
    left: 30px;
    transform: translateY(-50%);
}
.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: #154783;
}
.btn:hover::before{
    background-image: url(../img/icon-mail_blue.png);
}
.btn:hover::after{
    border-top: 1px solid #154783;
    border-right: 1px solid #154783;
    right: 15px;
}

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

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

#profile .card-wrap{
    width: 100%;
    padding: 45px;
}
#profile .card-wrap > h2{
    text-align: center;
    margin-bottom: 40px;
}

#profile .card-wrap > .profile-list{
    width: 80%;
    border: 1px solid #AC8241;
    margin: 0 auto;
}
#profile .card-wrap > .profile-list .list-item-wrap{
    width: 100%;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #AC8241;
}
#profile .card-wrap > .profile-list .list-item-wrap > dt{
    width: 220px;
    padding: 30px 50px;
    background-color: #F9F2E8;
}
#profile .card-wrap > .profile-list .list-item-wrap > dd{
    width: calc(100% - 220px);
    padding: 30px 50px;
}
#profile .card-wrap > .profile-list .list-item-wrap > dd .post-number{
    font-size: 15px;
    margin-right: 10px;
}

/* structure ---------------------------- */
#structure{
    width: 100%;
    padding: 0 5%;
    margin-bottom: 70px;
}
#structure .card-wrap{
    width: 100%;
    padding: 45px 0;
}
#structure .card-wrap > h2{
    text-align: center;
    margin-bottom: 40px;
}

#structure .card-wrap .hospitalia-wrap{
    width: 100%;
    margin-bottom: 120px;
    position: relative;
}

#structure .card-wrap .hospitalia-wrap::after{
    content: "";
    width: 1px;
    height: 60px;
    background-color: #AC8241;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
}
#structure .card-wrap .hospitalia-wrap > p{
    display: block;
    width: fit-content;
    color: #fff;
    background-color: #154783;
    padding: 15px 20px;
    margin: 0 auto;
}

#structure .card-wrap .group-wrap{
    width: 80%;
    margin: 0 auto;
    position: relative;
}
#structure .card-wrap .group-wrap .companies-wrap{
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 30px;
    position: relative;
}
#structure .card-wrap .group-wrap .companies-wrap::after{
    content: "";
    width: calc(75% + 22.5px);
    height: 1px;
    background-color: #AC8241;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}
#structure .card-wrap .group-wrap .companies-wrap .group-company{
    flex: 1;
    background-color: #FDF9F4;
    border: 1px solid #AC8241;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    position: relative;
}
#structure .card-wrap .group-wrap .companies-wrap .group-company::before{
    content: "";
    width: 1px;
    height: 60px;
    background-color: #AC8241;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}
#structure .card-wrap .group-wrap .companies-wrap .group-company > img{
    width: 90%;
    max-width: 130px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
#structure .card-wrap .group-wrap .companies-wrap .group-company > p{
    text-align: center;
    color: #154783;
}


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

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

}


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

    /* page-title ------------------------------ */
    .company #page-title .text-wrap .introduction-s > br{
        display: none;
    }

    /* profile ------------------------------ */
    #profile .card-wrap{
        padding: 45px 5vw;
    }

    #profile .card-wrap > .profile-list{
        width: 100%;
    }
    #profile .card-wrap > .profile-list .list-item-wrap > dt{
        width: 170px;
        padding: 30px;
    }
    #profile .card-wrap > .profile-list .list-item-wrap > dd{
        width: calc(100% - 170px);
        padding: 30px;
    }

    /* structure ---------------------------- */
    #structure .card-wrap .group-wrap{
        width: 90%;
    }


}

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

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

    /* ボタン */
    .btn{
        width: 270px;
        margin: 0 auto;
    }

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


    /* profile ------------------------------ */
    #profile .card-wrap > .profile-list .list-item-wrap{
        flex-direction: column;
        justify-content: flex-start;
    }
    #profile .card-wrap > .profile-list .list-item-wrap > dt{
        width: 100%;
        padding: 20px 5vw;
        border-bottom: 1px solid #AC8241;
    }
    #profile .card-wrap > .profile-list .list-item-wrap > dd{
        width: 100%;
        padding: 20px 5vw;
    }
    #profile .card-wrap > .profile-list .list-item-wrap:last-of-type > dd{
        padding: 20px 0;
    }

    /* structure ---------------------------- */
    #structure .card-wrap .hospitalia-wrap{
        margin-bottom: 20px;
    }

    #structure .card-wrap .hospitalia-wrap::after{
        height: 950px;
        bottom: -950px;
        left: 50px;
    }
    #structure .card-wrap .hospitalia-wrap > p{
        width: 90%;
        text-align: center;
    }

    #structure .card-wrap .group-wrap{
        width: 100%;
    }
    #structure .card-wrap .group-wrap .companies-wrap{
        flex-direction: column;
        padding-left: 110px;
    }
    #structure .card-wrap .group-wrap .companies-wrap::after{
        content: none;
    }
    #structure .card-wrap .group-wrap .companies-wrap .group-company{
        flex: none;
        width: 200px;
        height: 240px;
    }
    #structure .card-wrap .group-wrap .companies-wrap .group-company::before{
        width: 60px;
        height: 1px;
        top: 50%;
        left: -60px;
        transform: translateY(-50%);
    }


}
