@charset "utf-8";

/* 共通 */
header.sub-header {
    top: 0;
}
.sub_mv {
    width: 100%;
    height: 30vh;
    margin-top: 85px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
section.subpage {
    margin-top: 85px;
}

.blue-circle_margin {
    margin: 110px auto 0;
}
p {
    line-height: 2.3;
}
.h3_ttl {
    position: relative;
    margin-bottom: 60px;
}
.blue-h3 {
    font-size: 38px;
    letter-spacing: 4px;
    margin-left: 60px;
}
.blue_circle {
    content: '';
    position: absolute;
    top: 56%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    display: inline-block;
    width: 43px;
    height: 43px;
    background-color: #00479d;
    border-radius: 30px;
}
.blue_circle::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    display: inline-block;
    width: 9px;
    height: 9px;
    background-color: #fff;
    border-radius: 30px;
}

.subpage .table {
    line-height: 2;
}
.subpage table {
    border-collapse:  collapse;
    width: 100%;
}
.subpage tr {
    border-bottom: solid 1px #c5c5c5;
}
.subpage th {
    width: 20%;
    text-align: left;
    vertical-align: top;
    padding: 15px 5px;
}
.subpage td {
    width: 80%;
    padding: 15px 5px;
}
.gradient-box {
    border: solid 5px;
    border-image: linear-gradient(150deg, #84bdff80, #049c8180) 1;
    background-color: #fff;
    background-clip: padding-box;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
}

/* company */
.mv_company {
    background-image: url(../img/subpage/company_mv.jpg);
}
.message p:nth-child(2) {
    text-align: right;
    margin-top: 60px;
}
.company tr:last-child{
    border-bottom: none;
}
.company {
    background-image: url(../common/img/s_line01.png);
    background-repeat: no-repeat;
    background-position: 50% clamp(13.75rem, 66.55rem + -51.2vw, 33.75rem);
    background-size: contain;
}
#message, #outline {
    padding-top: 85px;
    margin-top: 25px;
}

/* service共通 */
.service h3 {
    font-size: 38px;
    text-align: center;
    margin-bottom: 70px;
}
.service h4 {
    font-size: 23px;
    padding-top: 35px;
}
.service_text {
    margin-top: 60px;
    margin-bottom: 95px;
}
.service_text p {
    width: 85%;
}
.reason-box .flex {
    flex-wrap: wrap;
    gap: 35px 0;
    width: 920px;
    margin: 0 auto;
}
.reason-box li {
    width: 400px;
    text-align: center;
}
.reason-box li p {
    line-height: 1.5;
    padding: 35px 0 40px;
    display: inline-block;
    text-align-last: left;
    font-size: 18px;
}
.service_subimg {
    width: 100%;
    margin-top: 105px;
    height: 35vh;
}
.service {
    background-image: url(../common/img/s_line01.png);
    background-repeat: no-repeat;
    background-position: 50% clamp(6.25rem, 47.5rem + -40vw, 21.875rem);
    background-size: contain;
}
/* service01 */
.mv_service01 {
    background-image: url(../img/subpage/service01_mv.jpg);
}
.service_subimg01 {
    background: url(../img/subpage/service01_subimg.jpg) no-repeat center / cover;
}
/* service02 */
.mv_service02 {
    background-image: url(../img/subpage/service02_mv.jpg);
}
.service_subimg02 {
    background: url(../img/subpage/service02_subimg.jpg) no-repeat center / cover;
}

/* flow */
.mv_flow {
    background-image: url(../img/subpage/flow_mv.jpg);
}
.flow_text {
    margin: 75px auto 80px;
    text-align: center;
}
.flow_text p {
    display: inline-block;
}
.flow ul li {
    margin-bottom: 60px;
    padding-bottom: 100px;
    position: relative;
}
.flow ul li::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 36px solid transparent;
    border-left: 36px solid transparent;
    border-top: 36px solid #00479d;
    border-bottom: 0;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 0;
}
.flow ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}
.flow ul li:last-child::after {
    display: none;
}
.flow-step {
    background-color: #00479d;
    width: 200px;
}
.flow-step p {
    color: #fff;
    line-height: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}
.flow-step span:first-child {
    font-size: 26px;
}
.flow-step span:last-child {
    font-size: 56px;
}
.flow-box {
    background-color: #fff;
    border: solid 3px #00479d;
    padding: 60px 40px;
    width: 100%;
}
.flow-box h3 {
    color: #00479d;
    font-size: 24px;
    margin-bottom: 20px;
}
.flow-box p {
    line-height: 1.8;
}
section.flow {
    background: url(../common/img/s_line01.png) no-repeat 50% 30% / contain;
}

/* works */
.mv_works {
    background-image: url(../img/subpage/works_mv.jpg);
}
.junbi-box {
    height: 800px;
}
.junbi-box p {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    padding-top: 240px;
}
section.works {
    background: url(../common/img/s_line01.png) no-repeat 50% / contain;
}

/* area */
.mv_area {
    background-image: url(../img/subpage/area_mv.jpg);
    background-position: right;
}
.area_map {
    text-align: center;
    margin: 25px auto 75px;
}
.area_map img {
    max-width: 660px;
}
.area_text div {
    width: 730px;
    margin: 0 auto;
    padding: 70px 0 80px

}
.area_text p {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}
section.area {
    background: url(../common/img/s_line01.png) no-repeat bottom / contain;
    padding-bottom: 95px;
}
/* recruit */
.mv_recruit {
    background-image: url(../img/subpage/recruit_mv.jpg);
}
.recruit th {
    vertical-align: middle;
    padding: 30px 5px;
}
.recruit td {
    padding: 30px 5px;
}
/* news */
.mv_news {
    background-image: url(../img/subpage/news_mv.jpg);
}
.news_list {
    margin: 110px auto 0;
}
.news_list ul li {
    margin-bottom: 30px;
}
.news_list ul li a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: solid 1px #c5c5c5;
    font-size: 18px;
}
.news_list ul li a span {
    display: block;
    width: 12%;
}
.news_list ul li a p {
    width: 85%;
}
.news_inner {
    margin: 110px auto 0;
}
.news_inner span {
    display: block;
    margin: 0 auto 15px;
}
.news_inner h3 {
    font-size: 20px;
    margin-bottom: 30px;
}
.news-pagination {
    text-align: center;
    margin: 50px auto 0;
}
.news-pagination .page-numbers {
    font-weight: 500;
    width: 30px;
    height: 35px;
    display: inline-flex;
;
    align-items: center;
    justify-content: center;
}
.news-pagination .page-numbers.current {
    background-color: #000;
    color: #fff;
}
@media only screen and (max-width: 1024px) {
    /* 共通 */
    .sub_mv {
        height: 16vh;
        margin-top: 75px;
    }
    section.subpage {
        margin: 55px auto 80px;
    }    
    .blue-circle_margin {
        margin-top: 70px;
    }
    p {
        line-height: 2;
    }
    .sp_blue-line {
        position: relative;
    }
    .sp_blue-line::before {
        content: "";
        display: inline-block;
        width: 100vw;
        margin: 0 calc(50% - 50vw);
        position: absolute;
        inset: 0;
        z-index: -1;
    }
    .h3_ttl {
        margin-bottom: 30px;
    }
    .blue-h3 {
        font-size: 24px;
        letter-spacing: 2px;
        margin-left: 40px;
        line-height: 1.2;
    }
    .blue_circle {
        width: 30px;
        height: 30px;
    }
    .blue_circle::before {
        width: 6px;
        height: 6px;
    }
    .subpage .table {
        line-height: 1.5;
    }
    /* company */
    .company ul li {
        margin: 60px auto 0;
    }
    .message p:nth-child(2) {
        margin-top: 25px;
    }
    .message::before {
        background: url(../common/img/s_line01.png) no-repeat bottom / contain;
    }
    .company {
        background: none;
    }
    #message, #outline {
        padding-top: 70px;
        margin-top: 0;
    }    
    /* service */
    .service_text {
        margin-top: 45px;
        margin-bottom: 70px;
    }
    .service_text p {
        width: 90%;
    }
    .service h3 {
        font-size: 28px;
        margin-bottom: 55px;
    }
    .service h4 {
        font-size: 18px;
    }
    .reason-box li p {
        font-size: 15px;
    }
    .reason-box .flex {
        width: initial;
    }
    .reason-box .flex .gradient-box {
        width: 80%;
        min-width: 285px;
        margin: 0 auto 2rem;
    }
    .reason-box .flex .gradient-box:last-child {
        margin-bottom: 0;
    }
    .service_subimg {
        margin-top: 70px;
        height: 20vh;
    }
    .reason-box::before {
        background: url(../common/img/s_line01.png) no-repeat top / contain;
    }
    .service {
        background: none;
    }
    /* flow */
    .flow_text {
        margin: 55px auto 65px;
        text-align: left;
    }
    .flow ul li {
        margin-bottom: 30px;
        padding-bottom: 60px;
    }
    .flow ul li::after {
        border-right: 22px solid transparent;
        border-left: 22px solid transparent;
        border-top: 22px solid #00479d;
    }
    .flow-step {
        width: 100%;
    }
    .flow-step p {
        flex-direction: row;
        align-items: center;
        padding: 8px 0;
    }
    .flow-step span:first-child {
        padding-right: 10px;
    }
    .flow-step span:last-child {
        font-size: 38px;
    }
    .flow-box {
        padding: 20px 20px;
    }
    .flow-box h3 {
        font-size: 20px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    .flow-box p {
        line-height: 1.8;
    }
    /* works */
    .junbi-box {
        height: 425px;
    }
    .junbi-box p {
        font-size: 20px;
        font-weight: 600;
        padding-top: 100px;
    }
    /* area */
    .area_map {
        margin-bottom: 60px;
    }
    .area_map img {
        width: 100%;
        max-width: 450px;
    }
    .area_text div {
        width: 80%;
        padding: 30px 0 35px
    } 
    .area_text p {
        font-size: 14px;
        line-height: 1.5;
        margin: 5px 0 10px;
    }
    section.area {
        padding-bottom: 0;
        background-position: 50% 85%;
    }
    /* recruit */
    .recruit th {
        width: 26%;
        padding: 16px 5px;
    }
    .recruit td {
        width: 74%;
        padding: 16px 5px;
    }
/* news */
.news_list {
    margin: 70px auto 0;
}
.news_list ul li {
    margin-bottom: 25px;
}
.news_list ul li a {
    display: block;
    padding-bottom: 10px;
}
.news_list ul li a span {
    width: 100%;
    font-size: 14px;
}
.news_list ul li a p {
    width: 100%;
    font-size: 16px;
}
.news_inner {
    margin: 70px auto 0;
}
.news_inner h3 {
    font-size: 18px;
    margin-bottom: 20px;
}
}