
.contents .intro {
    text-align: center;
    margin-bottom: 100px;
    word-break: keep-all;
}

/*top*/
.contents .top {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contents .top .label {
    flex-shrink: 0;
    margin-right: 20px;
    width: 120px;
}
.contents .top .label img {width: 100%;}

.contents .top .line {
    display: block;
    border-top: 1px dashed #b5b5b5;
    width: 100%;
    height: 1px;
}
/*flex_box*/
.contents .flex_box {
    display: flex;
    flex-wrap: wrap;
}
.contents .flex_box .flex_left {
    width: 40%;
}
.contents .flex_box .flex_right {
    width: 60%;
    padding-left: 50px;
}


/*flex_left*/
.flex_box {
    background-image: url(../img/5-7.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background: none;
    
    position: relative;
}
.flex_box .bg {
    position: absolute;
    bottom: 0;
    left: 0;
    left: -80px;
}
.flex_box .bg.bg1 {width: 310px; min-width: 150px;}
.flex_box .bg.bg2 {width: 710px; min-width: 300px;}
.flex_box .bg img {width: 100%;}


.flex_left { position: relative;}
.flex_left h4 {margin-bottom: 20px; height: 50px;}
.flex_left h4 img { height: 100%; }
.flex_left h5 {
    font-size: 26px;
    line-height: 40px;
    font-weight: 600;
    color: #40A8AF;
    margin-bottom: 50px;
}
.flex_left h5 span {display: block;}
.flex_left a.yout_link {
    display: inline-block;
    padding: 20px 45px;
    border: 1px solid #40A8AF;
    background-color: white;
    border-radius: 100px;
    color: #40A8AF;
    transition: all 0.15s ease;
}
.flex_left a.yout_link:hover {
    color: white;
    background-color: #40A8AF;
}



/*flex_right*/
.flex_right {position: relative;}
.flex_right p {
    text-align: justify;
    margin-bottom: 70px;
}
.flex_right .fig_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.flex_right .fig_wrap figure {
    width: 48%;
    border-radius: 30px;
    overflow: hidden;        
    box-shadow: 0px 0px 0px 1px black;
    border: 15px solid #40A8AF;
    outline-offset: -15px;
    outline: 1px solid black;    
}
.flex_right .fig_wrap figure:first-child {
    width: 100%;
    margin-bottom: 35px;
    border-radius: 50px;
    border: 20px solid #40A8AF;
    outline-offset: -20px;
}
.flex_right .fig_wrap figure img {
    object-fit: cover;
}

/*arti_1*/
.contents .arti_1 {margin-bottom: 90px;}

/*arti_2*/
.arti_2 .flex_left h5 {color: #7D82B8;}
.arti_2 .flex_left a.yout_link {
    border: 1px solid #7D82B8;
    color: #7D82B8;
}
.arti_2 .flex_right .fig_wrap figure {
    border-color: #7D82B8;
}
.arti_2 .flex_left a.yout_link:hover {
    color: white;
    background-color: #7D82B8;
}
.arti_2 .flex_box {
    /*background-image: url(../img/5-8.png);*/
}

@media all and (max-width:1200px) {
    .wrap .outer { padding: 0 6vw; }
    
    .flex_right .fig_wrap figure {
        border-radius: 2.5vw;  
        border-width: 1.25vw;
        outline-offset: -1.25vw; 
    }    
    .flex_right .fig_wrap figure:first-child {
        border-radius: 4.16vw;
        border-width: 1.6vw;
        outline-offset: -1.6vw;
    }
    
    .flex_box .bg {left: -6vw;}
    .flex_box .bg.bg1 {width: 25.83vw;}
    .flex_box .bg.bg2 {width: 59.16vw;}
}

@media all and (max-width:900px) {
    /*flex_box*/
    .contents .flex_box .flex_left {
        width: 100%;
    }
    .contents .flex_box .flex_right {
        width: 100%;
        padding-left: 0px;
    }
    
    .flex_left {
        margin-bottom: 50px;
    }
    .flex_left h5 {margin: 0;}
    .flex_left .yout_link {
        position: absolute;
        top: 0;
        right: 0;
    }
    
    .flex_right {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .flex_right .fig_wrap {
        width: 100%;
        max-width: 500px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    
    .flex_right .fig_wrap figure {
        border-radius: 22px;  
        border-width: 12px;
        outline-offset: -12px; 
    }    
    .flex_right .fig_wrap figure:first-child {
        border-radius: 37px;
        border-width: 18px;
        outline-offset: -18px;
    }
}

@media all and (max-width:700px) {
    .contents .intro {margin-bottom: 80px;}
    .contents .top .label {width: 80px;}
    .flex_left h4 {height: 40px; margin-bottom: 10px;}
    .flex_left h5 {
        font-size: 22px;
        line-height: 32px;
    }
    .flex_left a.yout_link {
        padding: 14px 20px;
        font-size: 14px;
    }
}
@media all and (max-width:600px) {
    .flex_right .fig_wrap figure {
        border-radius: 3.66vw; 
        border-width: 2vw;
        outline-offset: -2vw; 
    }    
    .flex_right .fig_wrap figure:first-child {
        border-radius: 6.16vw;
        border-width: 3vw;
        outline-offset: -3vw;
    }
}

@media all and (max-width:500px) {
    .contents .intro {margin-bottom: 60px;}
    .contents .top .label {width: 70px;}
    .flex_left {margin-bottom: 40px;}
    .flex_left h4 {height: 30px; margin-bottom: 5px;}
    .flex_left h5 {
        font-size: 20px;
        line-height: 30px;        
    }
    .flex_left a.yout_link {
        padding: 12px 18px;
    }
    
    .flex_right p { margin-bottom: 30px; }
    .flex_right .fig_wrap {
        justify-content: center;
        padding: 0 10px;
    }
    .flex_right .fig_wrap figure {
        width: 100% !important;
        max-width: 350px;
        margin-bottom: 30px !important;        
        border-radius: 6.2vw !important;
        border-width: 2.8vw !important;
        outline-offset: -2.8vw !important;
    }
}
@media all and (max-width:380px) {
    .flex_left .title {z-index: 1; position: relative;}
    .arti_1 .flex_left a.yout_link { position: relative; }
    .arti_1 .flex_left h5 { margin-bottom: 30px; }
}


