@charset "UTF-8";
@import 'subpage.css';


/* ----------------------------------------------------
  事業概要
----------------------------------------------------*/
.page_business .business-message{
    text-align: center;
}
.page_business .bs_wrap{
    margin-top: 6rem;
    border-bottom: 1px solid #eee;
}
.page_business .bs_box a.no_detail{
    pointer-events: none;
}
.page_business .bs_box a{
    width: 100%;
    padding: 5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    text-decoration: none;
    color: unset;
    border-top: 1px solid #eee;
}
.page_business .bs-thum{
    width: 46%;
    height: 300px;
    overflow: hidden;
}
.page_business .bs-thum img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page_business .bs-txt{
    width: 50%;
}
.page_business .bs-txt .title{
    display: flex;
    align-items: center;
    margin: 0;
}
.page_business .bs-txt .title .icon{
    width: 50px;
    margin-right: 1.5rem;
}
.page_business .bs-txt .title h3{
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
}
.page_business .bs-txt .title h3 span{
    display: block;
    font-size: 1.3rem;
    font-weight: 300;
}
.page_business .bs_box a .title{
    position: relative;
    transition: 0.5s;
}
.page_business .bs_box a:not(.no_detail) .title::after{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 1.2rem;
    margin: auto;
    width: 3.6rem;
    height: 3.6rem;
    color: #e40001;
    font-size: 3.6rem;
    line-height: 1;
    content: '\f138';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: .5s;
    }

    @media (hover: hover) {
        .page_business .bs_box a .bs-thum img{
            transition: transform .6s ease;
        }
        .page_business .bs_box a:hover .bs-thum img{
            transform: scale(1.1);
        }
        .page_business .bs_box a:hover .title{
            color: #e40001;
        }
        .page_business .bs_box a:hover .title::after{
            right: .5rem;
        }
    }
    @media screen and (max-width: 767px){
        .page_business .bs_wrap{
            margin-top: 3rem;
        }
        .page_business .bs_box{
            padding: 0;
        }
        .page_business .bs_box, .bs_box a{
            display: block;
        }
        .page_business .bs_box a{
            padding: 3rem 0;
        }
        .page_business .bs-thum, .bs-txt{
            width: 100%;
        }
        .page_business .bs-thum{
            height: 180px;
        }
        .page_business .bs-txt{
            width: 100%;
            padding-top: 2rem;
        }
        .page_business .bs-txt ul{
            padding-left: 2rem;
        }
        .page_business .bs-txt .title .icon{
            width: 36px;
        }
        .page_business .bs-txt .title h3{
            font-size: 1.7rem;
        }
        .page_business .bs-txt .title h3 span{
            font-size: 1.2rem;
        }
        .page_business .bs_box a .title::after{
            right: 0;
            font-size: 2.6rem;
            width: 2.6rem;
            height: 2.6rem;
        }

    }

/* system
--------------------------------*/
.page_system .system-item{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 3.5rem 0 0;
    padding: 2rem 3rem;
    background: #f3f8fb;
    }
    .page_system .system-item li {
        display: flex;
        background: #fff;
        box-shadow: 0 8px 25px rgb(0 0 0 / 9%);
        transition: .5s;
    }
    .page_system .system-item li a{
        display: flex;
        align-items: center;
        color: #000;
        text-decoration: none;
        font-weight: 600;
        height: 100%;
        width: 100%;
        padding: 2rem 1rem;
    }
    .page_system .system-item li .thum{
        width: 100px;
        display: flex;
        align-items: center;
    }
    .page_system .system-item li .thum img{
        width: 50px;
        margin: auto;
    }
    .page_system .system-item li .thum+p{
        flex: 1;
        width: 100%;
        display: flex;
        align-items: center;
    }
    @media screen and (min-width: 768px){
        .page_system .system-item li{
            width: 32%;
            margin: 1rem 0;
        }
        .page_system .system-item li:nth-of-type(3n-1){
            margin: 1rem 2%;
        }
        .page_system .system-item li:hover{
            box-shadow: 0 1px 1px rgb(0 0 0 / 8%);
        }
    }
    @media screen and (max-width: 767px){
        .page_system .system-item{
            padding: 1rem 2rem;
        }
        .page_system .system-item li{
            width: 100%;
        }
        .page_system .system-item li a{
            padding: 1.5rem 1rem;
        }
        .page_system .system-item li .thum{
            width: 80px;
        }
        .page_system .system-item li .thum img{
            width: 40px;
        }
    }
.page_system .flow{
    display: flex;
    justify-content: space-between;
    margin: 0 4rem 3rem 0;
    padding: 0;
    list-style: none;
    }
    .page_system .flow li{
        position: relative;
        width: 22%;
        padding: 0 2rem;
        height: 120px;
        background: #FCE5E5;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 600;
        font-size: 1.1em;
    }
    .page_system .flow li::after{
        position: absolute;
        right: -4rem;
        top: 0;
        z-index: -1;
        display: block;
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 60px 0 60px 40px;
        border-color: transparent transparent transparent #FCE5E5;
    }
    .page_system .flow li:nth-of-type(2){
        background: #FBD9D9;
        }
        .page_system .flow li:nth-of-type(2)::after{
            border-color: transparent transparent transparent #FBD9D9;
        }
    .page_system .flow li:nth-of-type(3){
        background: #FBD9D9;
        }
        .page_system .flow li:nth-of-type(3)::after{
            border-color: transparent transparent transparent #FBD9D9;
        }
    .page_system .flow li:nth-of-type(4){
        background: #FACCCC;
        }
        .page_system .flow li:nth-of-type(4)::after{
            border-color: transparent transparent transparent #FACCCC;
        }
    @media screen and (max-width: 767px){
        .page_system .flow{
            display: block;
            margin-right: 0;
        }
        .page_system .flow li{
            width: 100%;
            height: 50px;
            margin: 0 0 2rem;
        }
        .page_system .flow li::after{
            transform:rotate(90deg);
            left: 0;
            right: 0;
            top: auto;
            bottom: -2.5rem;
            margin: auto;
            border-width: 20px 0 20px 12px;
        }
    }

.case_list{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding-top: 1rem;
}
.case_list a{
    text-decoration: none;
    color: unset;
    display: block;
    line-height: 1.5;
}
.case_item{
    position: relative;
    width: 32%;
    margin: 0 2% 5% 0 ;
    border: 1px solid #eee;
    box-shadow: 0 0 36px 0 rgb(150 150 150 / 40%);
    transform-origin: center;
    transition-duration: .3s;
    border-radius: 10px;
}
}
.case_item.no_detail a{
    pointer-events: none;
}
.case_item:nth-child(3n){
    margin-right: 0;
}
.case_item a{
    height: 100%;
    display: block;
    padding: 1.8rem 2.4rem 2rem;
}
.case_item:nth-of-type(3n) {
    margin-right: 0;
}
.case_item .case-img{
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.case_item .case-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.case_item .case-name{
    font-weight: 600;
    font-size: 1.1em;
    margin: 1.6rem 0 1rem;
}
.case_item p{
    font-size: 1.4rem;
    margin: 0;
}
.system-list{
    padding: 0!important;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
.system-list li{
    color: #fff;
    padding: .7rem 1rem;
    margin: 0 .5rem .5rem 0;
    font-size: 1.3rem;
    line-height: 1;
    background: #5a6a81;
    border-radius: 50px;
}
.case_item i{
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    color: #e40001;
    font-size: 2rem;
}
.no_detail{
    pointer-events: none;
}
    @media (hover: hover) {
        .case_item:hover:not(.no_detail){
            border: 1px solid #ddd;
            box-shadow: 0 2px 2px rgb(0 0 0 / 8%);
        }
    }
    @media screen and (max-width: 767px){
        .case_tit{
            font-size: 1.8rem;
            margin-bottom: 3rem;
        }
        .case_wrap{
            padding-bottom: 6rem;
        }
        .case_wrap .midashi_txt{
            text-align: center;
        }
        .case_list{
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }
        .case_item{
            width: 100%;
            font-size: 1.3rem;
            margin: 0 auto 3rem !important;
            }
            .page_business .case_item{
                width: 96%;
            }
        .case_item .case-img{
            height: 130px;
        }
        .case_item p{
            font-size: unset;
        }
        .case-name{
            font-size: 1.5rem;
        }
        .case_item li{
            font-size: 1.2rem;
        }
    }

/* ----------------------------------------------------
  会社概要
----------------------------------------------------*/

.page_company .block:nth-child(even){
    background: #f7f7f7;
}

.page_company .greeting{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 720px;
    }
    .page_company .greeting > .name{
        width: 100%;
        display: block;
    }
    @media screen and (max-width: 1250px){
        .page_company .greeting{
            max-width: 770px;
        }
    }

.rinen h3{
    font-size: 2.4em;
    margin: 0;
    }
    @media screen and (max-width: 767px){
        .rinen h3{
            font-size: 1.8em;
        }
        .rinen p{
            text-align: left!important;
        }
    }

.profile table{
    border-top: 1px solid #ddd;
    margin-top: 4rem;
    }
    .profile tr{
        border-bottom: 1px solid #ddd;
    }
    .profile th{
        background: none;
    }
    .profile th,
    .profile td{
        border: none;
    }
    .profile td ul{
        margin: 0;
        }
    @media screen and (max-width: 767px){
        .profile td ul{
            padding-left: 2rem;
            margin: .5rem 0;
        }
        .profile td li{
            line-height: 1.5;
            margin: .5rem 0;
        }
    }

.history{
    overflow: hidden;
    }
    .history dl{
        display: flex;
        position: relative;
        margin: 0;
        padding: 1.2rem 0;
    }
    .history dl::before{
        position: absolute;
        top: 1.8rem;
        left: 6px;
        content: "";
        display: inline-block;
        width: 5px;
        height: 100%;
        background: #f4d4d4;
    }
    .history dt{
        color: #666;
        min-width: 160px;
    }
    .history dt::before{
        position: relative;
        z-index: 1;
        content: "";
        display: inline-block;
        width: 16px;
        height: 16px;
        border-radius: 16px;
        background: #e40001;
        margin-right: 3rem;
    }
    @media screen and (max-width: 767px){
        .history dl{
            padding: .5rem 0;
        }
        .history dl::before{
            width: 4px;
            left: 3px;
        }
        .history dt{
            width: 120px;
            min-width: initial;
        }
        .history dt::before{
            width: 10px;
            height: 10px;
            margin-right: 1.5rem;
        }
        .history dd{
            margin: 0;
            flex: 1;
        }
    }



/* ----------------------------------------------------
  提供サービス
----------------------------------------------------*/
.page_provided .page_conts h2{
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    margin: 0 0 3rem;
}
.page_provided .page_conts h3{
    font-weight: 600;
    font-size: 2.8rem;
    margin: 6rem 0 3rem;
    padding: .8rem 0 .8rem 2rem;
    border-left: 4px solid #e40001;
}
.page_provided .ankerlink{
    max-width: 800px;
    margin: auto;
}
@media screen and (max-width: 767px){
    .page_provided .ankerlink{
        margin-bottom: 3em;
    }
    .page_provided .page_conts h2{
        font-size: 1.8rem;
    }
}
.page_provided .service_list{
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    }
    .page_provided .service_list a {
        height: 100%;
        color: #000!important;
        display: block;
        padding: 5rem 4rem 4rem;
        text-decoration: none;
        font-size: 1.4rem;
        transition: all 0.4s ease 0s;
    }
    .page_provided .service_list li .service_img img {
        width: auto;
        max-height: 90px;
        margin: auto;
        display: block;
    }
    .page_provided .service_list li .title {
        text-align: center;
        font-weight: 700;
        font-size: 1.8rem;
    }
    .page_provided .service_list li .title span {
        display: block;
        color: #666;
        font-weight: normal;
        font-size: 1.4rem;
    }
    @media (hover: hover) {
        .page_provided .service_list a:hover{
            background: #f3f8fb;
        }
    }
    @media screen and (min-width: 768px){
        .page_provided .service_list{
            border-left: 1px solid #ddd;
        }
        .page_provided .service_list li {
            width: 33.3333%;
            border-right: 1px solid #ddd;
            border-bottom: 1px solid #ddd;
        }
        .page_provided .service_list li:nth-last-child(n+3),
        .page_provided .service_list li:nth-last-child(n+3) ~ li {
          border-top: 1px solid #ddd;
        }
        .page_provided .service_list li:nth-of-type(n+4){
            border-top: none!important;
        }
        
    }
    @media screen and (max-width: 767px){
        .page_provided .page_conts h3{
            font-size: 1.8rem;
            margin: 3rem 0 2rem;
        }
        .page_provided .service_list {
            display: block;
        }
        .page_provided .service_list li {
            width: 98%;
            margin: auto auto 1.8rem;
        }
        .page_provided .service_list a {
            padding: 2.4rem 2rem 3rem;
            border-radius: 10px;
            border: 1px solid #e6e6e6;
            box-shadow: 0 5px 8px rgb(0 0 0 / 4%);
        }
        .page_provided .service_list li .title {
            font-size: 1.5rem;
            text-align: left;
            margin: 1.2rem 0 0.5rem;
        }
        .page_provided .service_list li .title span {
            color: unset;
            font-size: 1.3rem;
            display: inline-block;
        }
        .page_provided .service_list li .title span::before {
            content: "（";
        }
        .page_provided .service_list li .title span::after {
            content: "）";
        }
        .page_provided .service_list li .service_img img {
            max-height: 70px;
        }
        .page_provided .service_list li p {
            font-size: 1.2rem;
            margin: 0;
        }
    }