@charset "UTF-8";

/********* common *********/
.df{display: flex;}
.jcc{justify-content: center;}
.aic{align-items: center!important;}

.tac{text-align: center;}
.tar{text-align: right;}
.font22{font-size: 22px;}
.font26{font-size: 26px;}

.mt10{margin-top: 10px;}
.mt15{margin-top: 15px;}
.mt25{margin-top: 25px;}
.mt30{margin-top: 30px;}
.mt40{margin-top: 40px;}

.mb0{margin-bottom: 0px!important;}
.mb30{margin-bottom: 30px;}
.mb40{margin-bottom: 40px;}
.mb50{margin-bottom: 50px;}
.mb60{margin-bottom: 60px;}

.mr10{margin-right: 10px;}
.mr20{margin-right: 20px;}

.ml10{margin-left: 10px;}
.ml20{margin-left: 20px;}

img.wid100 {
    width: 100%;
    margin-bottom: 3%;
}

.fwb{font-weight: bold;}

h1.ttl, 
h1.ttl2,
h1.ttl3 {
    font-size: 6rem;
    font-family: 'Roboto Condensed', sans-serif;
    display: flex;
    align-items: flex-start;
    position: relative;
    line-height: 1;
    font-weight: 600;
}
h1.ttl:before{
    content: '';
    width: 22px;
    height: 54px;
    margin-right: 18px;
    display: block;
    background: #003162;
}
h1.ttl2:before{
    content: '';
    width: 6px;
    height: 54px;
    margin-right: 18px;
    display: block;
    background: #000;
}
h1.ttl3:before{
    content: '';
    width: 22px;
    height: 54px;
    margin-right: 18px;
    display: block;
    background: #FFA64D;
}
h1.ttl:after,
h1.ttl3:after{
    content: '';    
    width: 245px;
    height: 1px;
    display: block;
    background: #000;
    position: absolute;
    bottom: 8px;
    left: 41px;
}
h1.ttl2:after{
    content: '';    
    width: 276px;
    height: 1px;
    display: block;
    background: #000;
    position: absolute;
    bottom: 8px;
    left: 23px;
}

h1.ttl4 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 55px;
    margin-left: 10px;
}


h2.ttl {
    margin-bottom: 18px;    
    font-size: 3.1rem;
    font-weight: bold;
    line-height: 1.2;
}
h2.ttl span{
    color: #003160;    
    font-size: 4.2rem;
    line-height: 1.3;    
}

/********* TOP *********/
.mv{
    background: url(../img/mv_bg.webp)no-repeat top center;
    background-size: cover;
}
.mv .inner{
    max-width: 1100px;
    margin: 0 auto;
    padding: 134px 0 112px;
}
.mv .inner .txt{
    padding: 120px 0 190px;
}

@media screen and (max-width: 768px){
    .mv .inner{
        width: 100%;
        padding: 0;
    }
}

section#about .inner,
section#describe .inner,
section#works .inner,
section#flow .inner,
section#news .inner,
section#qa .inner,
section#contact .inner,
section#company .inner{
    max-width: 1100px;
    margin: 0 auto;
}

    .about_block {
    padding-top: 55px;
    margin-bottom: 86px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;}

.about_block p{
    font-size: 4rem;
    font-weight: bold;
    line-height: 1.4;    
}
.about_block p span{
    color: #003160;
}

.about_block2 {
    margin-bottom: 80px;    
    padding: 0 10px 0 23px;    
    display: flex;
    justify-content: space-between;

}

.about_block2 .img_block{
    background: url(../img/about_bg.webp)no-repeat top left;
    padding-top: 20px;
}

section#service h1{
    width: 1100px;
    margin: 0 auto 75px;
}
section#service h2{
    margin-bottom: 26px; 
}

section#service .inner{
    background: url(../img/contents_bg2.webp)no-repeat center;
    margin-bottom: 143px;
}
section#service .inner2{
    background: url(../img/contents_bg3.webp)no-repeat center;
    margin-bottom: 84px;
}

section#service div:nth-child(3).inner{
    margin-bottom: 85px;    
}

.service_block{
    width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
}

.inner .service_block .txt_block {
    width: 500px;
    margin-left: 42px;
}
.inner2 .service_block .txt_block {
    width: 500px;
    margin-left: 10px;
}

.service_block .txt_block p{
    margin-bottom: 30px;
    line-height: 1.45;
}

.service_block .img_block{
    width: 534px;
    display: block;
}

section#describe{margin-bottom: 179px;}

.describe_block {
    display: flex;
    justify-content: space-between;
}

.describe_block > div h2{
    font-size: 2.0rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    line-height: 1;
}
.describe_block > div:nth-child(odd) h2{
    margin-bottom: 20px;      
}
.describe_block > div:nth-child(even) h2{
    margin-top: 20px;      
}


.describe_block > div p{
    background: #FF9326;
    color: #fff;
    font-size: 2.1rem;
    font-weight: bold;
    line-height: 1.4;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
}


section#works{
    background: url(../img/contents_bg4.webp)top left;
    margin-bottom: 115px;    
    padding: 58px 0 74px;   
}
section#works h1{
    margin-bottom: 48px;
}

section#works .inner > div{
    display: flex;
    align-items: center;
}
section#works .inner .moreBtn{
    width: 180px;
    text-align: center;
}
section#works .inner .moreBtn span.icon{
    display: block;
    margin-top: 10px;
}

section#works .inner article{
    width: 280px;
    height: 327px;
    background: #fff;
    margin-left: 26px;
    padding: 18px;
}

section#works .inner article .img{
    width: 242px;
    height: 161px;
    margin-bottom: 15px;
    display: block;
}
section#works .inner article img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

section#works .inner article time.day {
    margin-bottom: 8px;
    color: #FF9326;
    font-weight: bold;
    display: block;
}


section#flow{
    margin-bottom: 125px;
}

section#flow h1{
    margin-bottom: 70px;
}

.flow_block{
    background: #fff;
    padding: 20px 0 0 40px;
    border-top: 1px solid #003162; 
    border-bottom: 1px solid #003162; 
    border-left: 6px solid #003162; 
    border-right: 6px solid #003162; 
}
.flow_block h2{
    margin-bottom: 8px;
    font-size: 2.0rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    line-height: 1;
}

.flow_block > div {
    margin-bottom: 51px;    
    padding: 14px 14px 0;
    background: url(../img/flow_bg.webp)no-repeat top left;
    display: flex;
    align-items: center;
}
.flow_block > div .img_block{
    width: 338px;
    margin-right: 26px; 
}
.flow_block > div .txt_block{
    width: 650px;
}

.flow_block > div .txt_block h3{
    margin-bottom: 26px;
    font-size: 3.1rem;
    font-weight: bold;
}

section#news h1{
    margin-bottom: 62px;
}

section#news .inner > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
section#news .inner > div article{
    margin-bottom: 63px;    
    width: 280px;
    position: relative;
}
section#news .inner > div article .img-wrap{
    width: 280px;
    height: 220px;
}
section#news .inner > div article .img-wrap img{
    width: 100%;
    height: 100%;    
    object-fit: cover;
}

section#news .inner > div article .text{
    background: #fff;
    padding: 6px 5px 24px 8px;
    display: flex;
    align-items: center;
    border: 1px solid #BABABA;
    border-top: none;
}
section#news .inner > div article .text time{
    margin-right: 10px;
    font-size: 2.8rem;
    color: #BABABA;    
}
section#news .inner > div article .text time span{
    display: block;
    font-size: 1.8rem;
    color: #FF9226;
}
section#news .inner > div article span.cat{
    display: inline-block;
    padding: 2px 20px;
    background: #FF9226;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    
}
section#news .inner article.moreBtn{
    background: #fff;
    border: 1px solid #BABABA;
    display: flex;
    justify-content: center;
    text-align: center;   
    align-items: center;    
}
section#news .inner article.moreBtn a{
    width: 100%;
    }

section#news .inner article.moreBtn .icon{
    display: block;
    margin-top: 10px;
}

section#qa h1{
    margin-bottom: 46px;
}

section#qa{
    background: url(../img/contents_bg4.webp)top left;
    padding: 58px 0 22px;
}

@media screen and (max-width: 768px){
    h1.ttl, h1.ttl2, h1.ttl3{
        font-size: 4rem;    
    }
    
    h1.ttl:before,
    h1.ttl2:before,
    h1.ttl3:before{
        height: 38px;    
    }
    h1.ttl:after,
    h1.ttl3:after{
        width: 140px;  
        bottom: 5px;          
    }
    h1.ttl2:after{
        width: 186px;    
        bottom: 5px;        
    }
    
    h1.ttl4 {
        font-size: 2.1rem;
        margin-bottom: 36px;
        margin-left: 0;
    }     
    
    h2.ttl{
        font-size: 2rem;
    }
    h2.ttl span{
        font-size: 2.8rem;
    }
    
    section#about .inner,
    section#describe .inner,
    section#works .inner,
    section#flow .inner,
    section#news .inner,
    section#qa .inner,
    section#contact .inner,
    section#company .inner{
        max-width: 96%;
    }
    
    section#about{    
        margin-bottom: 50px;}

    .about_block{
        padding-top: 15px; 
        margin-bottom: 20px;
        display: block;
    }
    .about_block p{
        margin-top: 10px;
        margin-left: 5px;        
        font-size: 2.2rem;
    }    
    
    .about_block2{
        margin-bottom: 5%;    
        padding: 0px 5% 0;
        flex-wrap: wrap-reverse;
    }
    .about_block2 .img_block{
        background-size: contain;
        padding-top: 12px;
        margin-bottom: 10px;
    }    
    
    section#service h1{
        width: 96%;
        margin: 0 auto 15px;    
    }
    section#service h2{
        margin-bottom: 18px;    
    }
    
    section#service .inner{
        background: none;
        margin-bottom: 30px;        
    }
    section#service .inner2{
        background: none;
        margin-bottom: 22px;       
    }    
    section#service div:nth-child(3).inner{
        margin-bottom: 10px;    
    }
    
    .service_block{
        width: 100%;
    }
    
    .inner .service_block{
        background: url(../img/contents_bg2-sp.webp)no-repeat top right;  
        background-size: 100%;        
        display: block;        
    }    
    .inner2 .service_block{
        background: url(../img/contents_bg3-sp.webp)no-repeat top left;     
        background-size: 100%;        
        flex-wrap: wrap-reverse;
    }
    .service_block .txt_block p{
        margin-bottom: 15px;
    }
    .service_block .img_block{
        width: 91%;
        margin: 0 auto 10px;
    }
    .inner .service_block .txt_block{
        width: 100%;
        margin-left: 0;
    }
    
    section#describe{
        margin-bottom: 26px;    
    }
    
    .describe_block{
        width: 94%;
        margin: 0 auto;        
        flex-wrap: wrap;
    }
    .describe_block > div{
        width: 48%;
        margin-bottom: 35px;    
    }
    .describe_block > div h2{
        font-size: 1.6rem;
    }
    .describe_block > div:nth-child(even) h2{
        margin-top: 10px;
    }
    .describe_block > div:nth-child(odd) h2{
        margin-bottom: 10px;
    }
    
    .describe_block > div p{
        font-size: 1.6rem;
        height: 54px;    
    }
    
    section#works{
        padding: 34px 0 0;  
        margin-bottom: 20px;    
        position: relative;        
    }
    
    section#works .inner > div{
        flex-wrap: wrap;
    }
    section#works .inner .moreBtn{
        position: absolute;
        right: 0;
        top: 10px;
    }
    section#works .inner .moreBtn span.icon{
        width: 55px;
        margin: 10px auto 0;
    }
    section#works .inner article{
        width: 100%;
        height: auto;
        margin-left: 0;
        margin-bottom: 18px;
        padding: 15px;
        
    }
    section#works .inner article a{
        display: flex;
        justify-content: space-between;
    }
    section#works .inner article .img{
        width: 48%;
        height: 120px;
        margin-bottom: 0;
    }
    
    section#works .inner article .txt {
        width: 50%;
        display: block;
    }
    
    
    section#flow{margin-bottom: 45px;}
    
    section#flow h1{
        margin-bottom: 26px;
    }
    .flow_block h2{
        font-size: 1.6rem;
    }
    
    .flow_block{
        padding: 20px 10px 0 10px;    
    }
    
    .flow_block > div{
        display: block;
        margin-bottom: 30px;  
        background: url(../img/flow_bg-sp.webp)no-repeat top left;  
        background-size: 100%;    
    }
    .flow_block > div .txt_block{
        width: 100%;
        margin-top: 10px;   
    }
    .flow_block > div .txt_block h3{
        margin-bottom: 10px;
        font-size: 2.6rem;
    }
    
    .flow_block > div .img_block{
        width: 70%;
    }
    
    section#news h1{margin-bottom: 26px;}
    section#news .inner > div article{
        width: 46%;    
        margin-bottom: 23px;    
    }
    section#news .inner > div article .img-wrap{
        width: 100%;
        height: 150px;       
    }
    
    section#news .inner > div article .text{
        display: block;
    }
    section#news .inner > div article span.cat{
        padding: 2px 10px;    
    }
    section#news .inner > div article .text time{
        margin-right: 0;
        font-size: 2.4rem;
    }
    section#news .inner > div article .text time span{
        font-size: 1.6rem;
        line-height: 1;
    }
    
    section#news .inner article.moreBtn .icon{
        width: 55px;
        margin: 10px auto 0;
    }
    
    section#qa{
        padding: 23px 0 1px;    
    }
    article.qa_block{
        padding: 10px 0 1px;
    }
    
}


/*** contact ***/
section#contact{
    background: url(../img/contents_bg4.webp)top left;
    padding: 58px 0 72px;    
}
section#contact h1{
    margin-bottom: 32px;
}

section#contact .wpcf7{
    width: 1000px;
    margin: 0 auto;
    padding: 60px 0 25px;    
    background: #fff;
    border-top: 1px solid #003162;
    border-bottom: 1px solid #003162;
    border-left: 6px solid #003162;
    border-right: 6px solid #003162;    
}

form.contact-form{
    width: 800px;
    margin: 0 auto;
}

.wpcf7 dl{
    margin-bottom: 25px;    
}

.wpcf7 dt{
    margin-bottom: 12px;
    font-size: 2.2rem;
    font-weight: bold;}

.wpcf7 dt span.req{
    color: #fff;
    background: #003162;
    font-size: 1.8rem;
    padding: 3px 15px;
    margin-left: 7px;
    display: inline-block;
}
.wpcf7 dd{
    width: 100%;
    margin-bottom: 33px;
}

.wpcf7 dd input,
.wpcf7 dd select,
.wpcf7 textarea,
.wpuf-fields input,
.wpuf-fields select,
.wpuf-fields textarea
{
    font-size: 22px;
    border: 1px solid #003162;
    /*border-radius: 25px;*/
    padding: 13px 10px;
    }

.wpcf7 dd input{
    width: 100%;
}
/* 姓・名 / セイ・メイ の横並び（mail.php 用フォーム） */
.wpcf7 dd .name-row{
    display: flex;
    gap: 16px;
}
.wpcf7 dd .name-row input{
    flex: 1;
    min-width: 0;
}
.wpcf7 textarea {
    width: 100%;
    height: 175px;}


.wpuf-fields input,
.wpuf-fields textarea{width: 100%;}

input.contact-form-control.contact-submit{
    background:#003162;
    width: 300px;
    display: block;
    font-size: 22px;
    font-size: 2.2rem;    
    color: #fff;
    font-weight: bold;
    padding: 15px 0 15px;
    margin: 0 auto;
    letter-spacing: 0.5em;
    cursor: pointer;
}
span.contact-list-item{
    margin: 0!important;
    font-size: 19px;
}
.wpcf7  p.txt-etc{
    font-size: 22px;
    margin-top: 15px;
    margin-bottom: 13px;}

#thanks{text-align: center;}

section#contact .pp-box {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #003162;
}
section#contact .pp-box > div {
    height: 240px;
    overflow-y: scroll;
    padding: 10px 30px 20px; 
}

section#contact .pp-box h2 {
    background: #003162;
    text-align: center;
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
    padding: 20px 5px 12px;
}

section#contact .pp-box h3 {
    margin-bottom: 10px;
    margin-top: 20px;
}

section#contact p.pp-txt{
    text-align: center;
    margin: 20px 0 40px;
}
section#contact p.pp-txt .contact-list-item{
    margin: 0px;    
}

#contact section#contact p.contact-form-control-wrap.your-file {
    display: block;
    width: 100%;
    margin: 0 auto 20px;
    border: 1px solid #003162;
    padding: 13px 10px;    
}

span.contact-form-control-wrap.zl-form-control-wrap.your-file{
    position: relative;
    display: block;
    width: 100%;
}
span.contact-form-control-wrap.zl-form-control-wrap.your-file:after{
    content: '';
    background: url(../img/file_btn.png)no-repeat;
    width: 146px;
    height: 45px;
    display: block;
    position: absolute;
    right: 8px;
    top: 8px;   
}

input#mfcf7_zl_add_file {
    background: none;
    text-align: left;
    font-size: 2.0rem;
    color: #666;    
    z-index: 2;
    position: relative;
}




p.pp-txt a{
    color: #003162;
    border-bottom: 1px solid #003162;
}

@media screen and (max-width: 768px){
    section#contact{
        padding: 0 0 28px;    
    }
    
    section#contact .wpcf7{
        width: 100%;
        padding: 30px 0 0;    
    }
    
    .contact-block{width: 100%;
    margin: 5% auto 0;
        background-size: 100% 70%;}
    
    #content .contact-block{
        background-size: 100% 70%;
    }
    .wpcf7 dl{margin-bottom: 5%;}
    .wpcf7 dt{
        width: 90%;
        font-size: 1.6rem;/* 26px*/
        margin-bottom: 6px;
    }
    .wpcf7 dt span.req{
        padding: 1px 10px;
        font-size: 1.6rem;
    }
    
    
    .wpcf7 dd{
        width: 100%!important;
        margin-bottom: 24px;}
    
    input.contact-form-control.contact-text.contact-validates-as-required{
        width: 100%;
        font-size: 1.8rem;}
    .wpcf7 dd input{
        width: 100%;
        font-size: 1.8rem;    
        padding: 6px 10px;
    }
    .wpcf7 dd input[type="checkbox"]{width: 5%;}    
    .wpcf7 dd select{
        width: 42%;
        font-size: 1.8rem;
        margin-right: 2%;    
    }
    .wpcf7 textarea{width: 100%;}
    
    
    .wpcf7 dd label {
    display: flex;}
    input.contact-form-control.contact-submit{
        width: 100%;
        background-size: 100% 100%;  
    }
    span.contact-list-item {width: 94%;}
    span.contact-list-item-label{
        font-size: 1.6rem;}
    
    .wpcf7 p.txt-etc{font-size: 1.8rem;}
    
    input.contact-form-control.contact-submit{
        width: 98%;
        font-size: 2.0rem;
    }

    form.wpuf-form-add.wpuf-form-layout1.wpuf-theme-style{
        padding:6% 0;
    }
    
    span.contact-form-control-wrap.zl-form-control-wrap.your-file:after{
        content: '';
        background: url(../img/file_btn.png)no-repeat;
        background-size: cover;        
        width: 100px;
        height: 32px;
        right: 4px;
        top: 4px;   
    }
    
    input#mfcf7_zl_add_file{
        font-size: 1.6rem;
    }    
    
    section#contact .pp-box h2{
        font-size: 1.8rem;
        padding: 10px 5px 12px;
    }
    
    section#contact .pp-box > div{
        height: 180px;
        padding: 10px 15px 20px;    
    }
    
    
    
}


