/* -- reset module8 -- */
.edit,
.show_content,
.main_part { width: 100% !important; max-width: 100% !important; margin: auto !important; padding: 0px !important;}
.pageIndex .main_part { border:none !important; }
.path{ display:none;}
.edit_part {max-width: 100%;margin: auto;padding: 0;}
/* -- reset module8 end -- */
.banner{background: url(../images/service_banner.jpg) center / cover;}
.banner h5::after {content: 'SERVICE'; margin: 20px 0 0; display: block; font-size: var(--f18);color: var(--colorText-white);font-family: var(--Cardofont);font-weight: normal;    writing-mode: lr;letter-spacing: 0.2em;}

html{
    scroll-behavior: smooth;
}

.fos_a{
    padding: var(--pdy) 10px;
    background: url(../edit_image/service/fo_bg01.jpg) center / cover;
    text-align: center;
}
.fos_a > ul{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1550px;
    margin: auto;
}
.fos_a > ul li{
    padding: 15px 5%;
    counter-increment: list_num;
}
.fos_a > ul li:nth-of-type(2){
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
}
.fos_a > ul li figure{
    max-width: fit-content;
    margin: auto;
}
.fos_a > ul li h4{
    margin: 20px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    font-size: var(--f20);
    color: var(--colorText-white);
}
.fos_a > ul li h4::before{
    content: counter(list_num, decimal-leading-zero);
    min-width: fit-content;
    margin: 0 15px 0 0;
    font-size: var(--f18);
    color: var(--colorGreen);
    font-family: var(--Cardofont);
}

.fos_b{
    padding: calc(var(--pdy)*1.3) var(--pdx);
    background: url(../edit_image/service/fo_bg02.jpg) center / cover;
}
.fos_b01{
    max-width: 1550px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    counter-increment: list_num;
    position: relative;
    z-index: 1;
}
.fos_b01 > a.TP_link{
    position: absolute;
    top: -18vw;
    left: 0px;
    z-index: -1;
}
.fos_b01 > figure{
    border-radius: clamp(15px,5vw,50px);
    overflow: hidden;
    align-self: stretch;
}
.fos_b01 > figure img{
    min-height: 100%;
    object-fit: cover;
}
.fos_b01 > article{
    width: 680px;
    margin: 0 0 0 5%;
}
.fos_b01 > article h4{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: normal;
    font-size: var(--f18);
}
.fos_b01 > article h4::before{
    content: counter(list_num, decimal-leading-zero);
    font-style: italic;
    font-size: clamp(36px,5vw, 56px);
    min-width: fit-content;
    margin: 0 15px 0 0;
}
.fos_b01 > article h5{
    font-weight: normal;
    margin: calc(2vw + 30px) 0;
    font-size: var(--f32);
}
.fos_b01 > article h5 span{
    display: block;
}
.fos_b01 > article p{
    margin: 0 0 calc(1vw + 30px);
}
.fos_b01 > article a{
    display: block;
    text-align: center;
    max-width: 200px;
    padding: 10px;
    background-color: var(--colorGreen-dark);
    color: var(--colorText-white);
    transition: all .4s;
}
.fos_b01 > article a:hover{
    background-color: #3C4937;
}
.fos_b_hr{
    display: block;
    width: 100%;
    border-bottom: 3px dashed #CDCDCD;
    margin: calc(3vw + 50px) auto;
    max-width: 1600px;
}
.fos_b01:nth-of-type(even){
    flex-direction: row-reverse;
}
.fos_b01:nth-of-type(even) > article{
    margin: 0 5% 0 0;
}

/* --- Media Queries --- */
@media (max-width: 1500px) {}
@media (max-width: 1440px) {}
@media (max-width: 1024px) {}
@media (max-width: 992px) {}
@media (max-width: 768px) {}
@media (max-width: 576px) {
    .fos_a > ul{grid-template-columns: 1fr;}
    .fos_a > ul li:nth-of-type(2){border-right: unset;border-left: unset;border-top: 1px solid #fff;border-bottom: 1px solid #fff;}
    
    .fos_b01{flex-direction: column !important;}
    .fos_b01 > article{margin: 30px 0 0 !important;}
}
@media (max-width: 480px) {}
@media (max-width: 375px) {}