@charset "utf-8" ;

.main-area .main-visual{
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.main-area .main-visual img{
    width: 48%;
}

.main-area .text{
    text-align: center;
    margin-bottom: 20px;
    
}

.main-area .text .title{
    font-size: 28px;
    line-height: 2.5em;
}

.main-area .text .title span{
    color: red;
}

.message{
    display: flex;
    justify-content: center;
    background-color: rgb(0, 23, 124);
    align-items: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.message .img{
    width: 100px;
    margin:0 50px 0 100px;
}

.message .img img{
    width: 100%
}

.message .text{
    color: white;
    font-size: 20px;
    line-height: 1.3;
}

.what .section-title{
    color: rgb(0, 23, 124);
    font-size: 30px;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}


.what .section-title::after{
    content: "";
    background-color: rgb(0, 23, 124);
    height: 1px;
    width: 250px;
    position: absolute;
    transform: translate(-50%,-50%);
    bottom: -10px;
    left: 50%;
}

.service .what .detail{
    margin-bottom: 20px;
    position: relative;
    transform-origin: top left;
    
}

.service .what .detail .box{
    display: flex;
    justify-content: center;
}

#aboutus{
    margin-bottom: 20px;
}

#aboutus .section-title{
    font-size: 20px;
    margin-bottom: 20px;
}

#aboutus .contents{
    display: flex;
    position: relative;
}

#aboutus .about-list{
    width: 70%;
    font-size: 18px;
}

#aboutus .about-list dl{
    display: flex;
    margin-right: 0px;
}

#aboutus .about-list dl dt{
    width: 40%;
}

#aboutus .about-list dl dd{
    width:60%;
}

#aboutus .images{
    width: 100%;
    display: flex;
}

#aboutus .images .map{
    margin-right: 0px;
    width: 100%;
    height: 100%;
    margin-right: 10px;
}

#aboutus .images .map iframe{
    width: 100%;
    aspect-ratio: 16/9;
    min-height: auto;
}

#aboutus .images .box{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 30%;
}

#aboutus .images .img1,
#aboutus .images .img2{
    height: 50%;
}

#aboutus .images .img1 img,
#aboutus .images .img2 img{
    height: 100%;
    width: 100%;
    object-fit: cover;

}

#aboutus .contents::before{
    content: "";
    height: 4px;
    width: 300px;
    background-color: rgb(0, 23, 124);
    position: absolute;
    top: -10px;
    left: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

#aboutus .contents::after{
    content: "";
    height: 4px;
    width: 800px;
    background-color:gray;
    position: absolute;
    top: -10px;
    left: 305px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

#footer{
    position: relative;
}

@media screen and (max-width:767px) {

    .wrapper767{
        max-width: 767px;
        min-width: 300px;
        padding: 0 38px;
    }
    .main-area .main-visual{
        flex-direction: column;
        align-items: center;
    }

    .main-area .main-visual img{
        min-width: 300px;
        width: 80%;
    }

    .main-area .main-visual .left{
        margin-bottom: 15px;
    }

    .main-area .text .title{
        font-size: 20px;
        line-height: 1.1em;
        margin-bottom: 20px;
    }

    .main-area .text .description{
        font-size: 15px;
    }

    .message .img{
        min-width: 95px;
        margin: 0 10px 0 30px;

    }

    .message .text{
        font-size: 15px;
        margin-right: 30px;
    }

    .message .text .pc{
        display: none;
    }

    .service .what .section-title{
        font-size: 25px;
        margin-bottom: 25px;
    }

    .service .what .detail{
        margin-bottom: 40px;
        line-height: 1.1;
        text-align: center;
        min-width: 300px;
        width: 90%;
        margin-left: 5%;
    }

    .service .what .detail ul li{
        text-align: start;
    }

    .service .what .detail ul .box{
        flex-direction: column;
    }

    #aboutus{
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    #aboutus .anchor-offset{
        position: absolute;
        height: 95px;
        top: -95px;
        visibility: hidden;
    }

    #aboutus .section-title{
        font-size: 25px;
        padding-left:0px;
        margin-bottom: 30px;
        position: relative;
    }

    #aboutus .section-title::after{
        content: "";
        background-color: black;
        height: 1px;
        width: 200px;
        position: absolute;
        transform: translate(-50%,-50%);
        bottom: -10px;
        left: 50%;
    }

    #aboutus .contents{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 767px;
    }

    #aboutus .about-list{
        width: 70%;
        margin: 0;
        font-size: 15px;
        margin-bottom: 20px;
        text-decoration: none;
    }

    #aboutus .about-list a{
        text-decoration: none;
        color: black;
    }

    #aboutus .about-list dl{
        display: flex;
        color: black;
    }   

    #aboutus .about-list dl dt{
        width: 30%;
    }

    #aboutus .about-list dl dd{
        width:70%;
        pointer-events: none;
    }
    
    #aboutus .contents::before{
        display: none;
    }

    #aboutus .contents::after{
        display: none;
    }

    #aboutus .images{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    #aboutus .images .map{
        width: 300px;
        margin-bottom: 10px;
    }

    #aboutus .images .map iframe{
        width: 300px;
        aspect-ratio: 16/9;
        height: auto;
    }

    #aboutus .images .box{
        display: flex;
        flex-direction: row;
        min-width: 300px;

    }




}