/* common */

h4:not(.maintitle){
    font-size: 100%;
    color: rgba(96,100,46,1.00);
    line-height: 1.4;
    margin-bottom: 10px;
    background: rgba(228,227,214,0.4);
    padding: 10px;
    border-bottom: 2px solid rgba(228,227,214,1);
}

.imgarea{
    margin-bottom: 5px;
}

img{
    max-width: 100%;
}

.maintitle{
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
    font-weight: bold;
    color: rgba(89,89,29,1.00);
    font-size: 150%;
    line-height: 1.4;
    margin-bottom: 20px;
}

.nayamilist{
    margin-bottom: 20px;
}

.nayamilist li{
    margin-bottom: 10px;
    padding-left: 1em;
    text-indent: -1em;
    font-size: 110%;
    font-weight: bold;
    line-height: 1.3;
    border-bottom: 1px dotted rgba(110,115,54,1.00);
    padding-bottom: 10px;
}

.nayamilist li::before{
    content: "●";
    color: rgba(100,144,41,0.4);
}

.senmon{
    background: rgba(57,39,21,1.00);
    color: #fff;
    font-weight: bold;
    padding: 5px;
    border-radius: 5px;
    line-height: 1.4;
    margin-top: 10px;
}

.section_contents{
    margin-bottom: 30px;
}

.supportlist{
    margin-top: 15px;
}

.supportlist li{
    padding: 10px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.supportlist dt{
    font-weight: bold;
    color:rgba(115,113,57,1.00);
    margin-bottom: 6px;
    font-size: 120%;
    line-height: 1.3;
}

.linkbtn{
    margin-top:10px; 
}

.linkbtn a{
    display: block;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    background: #9c272d;
    border-radius: 30px;
    padding: 5px;
    color: #fff;
}

section h3{
    font-weight: bold;
    color:rgba(115,113,57,1.00);
    margin-bottom: 10px;
    font-size: 120%;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

section h3::before{
    content: "";
    width: 100%;
    height: 3px;
    background : linear-gradient(90deg, rgba(115, 99, 87, 1) 0%, rgba(181, 174, 170, 1) 50%, rgba(115, 99, 87, 1) 100%);
    position: absolute;
    left: 0;
    bottom: 0;
}

.kariage p{
    margin-bottom: 1em;
}

.flow , .imgset{
    margin-bottom: 20px;
}

.imgset{
    display: flex;
    justify-content: center;
}

.meritimg{
    margin-bottom: 10px;
}

.meritset dt{
    font-weight: bold;
    font-size: 110%;
    line-height: 1.3;
    color: #7e7570;
    margin-bottom: 5px;
    padding-left: 2.6em;
    text-indent: -2.6em;
}

.meritset dd{
    margin-bottom: 15px;
    padding-left: 2.6em;
}

.merit_table{
    width: 100%;
    margin-bottom: 20px;
}

.merit_table th{
background: rgba(47,42,5,0.6);
color: #fff;
    font-weight: bold;
}

.kaitoriarea li{
    padding: 10px;
    border-radius: 10px;
    border:1px solid #dfdfdf;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    background: #fafafa;
}

.renovation_img , .renovation_conversion dd{
    margin-bottom: 20px;
}

.renovation_conversion dt{
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 5px;
}

.supportimg{
    margin-bottom: 20px;
}

/*footer*/
footer {
    padding-bottom: 170px;
}

#footer_fix{
    position: fixed;
    bottom: 0;
    left: 0;
    width: calc(100% - 20px);
    background :rgba(39,25,8,0.8);
    color: #fff;
    padding: 10px;
    line-height: 1.3;
    border-top: 1px solid rgba(255,255,255,0.4);
    text-align: center;
}

#footer_fix h5{
    border-radius: 5px;
    background: #fff;
    padding: 5px;
    text-align: center;
    color: rgba(59,56,17,1.00);
    margin-bottom: 5px;
}

.color_yellow{
    color: rgba(208,212,45,1.00);
    font-weight: bold;
    font-size: 130%;
}

.footerfix_btn{
    margin-top: 5px;
}

.footerfix_btn a{
    display: block;
    background:rgba(253,197,0,1.00);
    padding: 10px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    border-radius: 50px;
    width: 80%;
    margin: 0 auto;
    color: rgba(30,28,2,1.00);
}
/*footerarea*/

/* mobile only*/
@media all and (max-width: 767px) {
 
    .merit_table th , .merit_table td{
        display: block;
        text-align: center;
        padding: 5px;
    }
    
    .merit_table th{
        border-radius: 5px;
    }
    
    .allow_tb{
        transform: rotate(90deg);
        width: 30px;
        height: 30px;
        margin: 0 auto 10px;;
    }
    
}

/* PC only*/
@media all and (min-width: 768px) {
 
    .maintitle{
        font-size: 180%;
        margin-bottom: 35px;
    }
    
    .nayamiset{
        display: flex;
        justify-content: center;
        align-items: flex-end;
        margin-bottom: 40px;
    }
    
    .nayamiset > div{
        margin-right: 45px;
    }
    
    .nayamilist li{
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .nayamiimg img{
        height: 420px;
    }
    
    .service{
        text-align: center;
        max-width: 900px;
        margin:  0 auto 50px;
    }
    
    .service h4{
        font-size: 140%;
        text-align: center;
        background: rgba(28,87,77,1.00);
        color: #fff;
    }
    
    .senmon{
        font-size: 120%;
        padding: 10px;
        width: 60%;
        margin: 0 auto;
    }
    
    h4:not(.maintitle){
        font-size: 120%;
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .supportlist{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .supportlist li{
        width: 350px;
        margin: 0 15px 30px;
        position: relative;
        padding-bottom: 55px;
    }
    
    .linkbtn{
        position: absolute;
        left: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
    }
    
    .linkbtn a{
        transition: all 0.7s;
    }
    
    .linkbtn a:hover{
        background: rgba(191,149,26,1.00);
    }
    
    #pagewrapper > section{
        padding-top: 0;
    }
    
    #pagewrapper > section#borrowing{
        padding-top: 50px;
    }
    
    .section_contents:last-of-type{
        margin-bottom: 0;
    }
    
    section h3{
        font-size: 170%;
        margin-bottom: 20px;
    }
    
    section h4{
        margin-top: 30px;
    }
    
    .text_img{
        display: flex;
    }
    
    .textarea{
        flex: 1;
        margin-right: 30px;
    }
    
    .flow{
        width: 700px;
    }
    
    .meritimg ul{
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        width: 80%;
    }
    
    .meritimg li{
        margin: 0 10px;
    }
    
    .merit_table{
        border-top: 1px solid rgba(99,94,50,0.4);
    }
    
    .merit_table th , .merit_table td{
        border-bottom: 1px solid rgba(99,94,50,0.4);
        padding: 15px;
        text-align: left;
        width: 25%;
    }
    
    .kaitoriarea{
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .kaitoriarea li{
        width: 400px;
        padding: 40px;
        margin: 0 20px;
        font-size: 120%;
    }
    
    .jiturei{
        display: flex;
        justify-content: flex-start;
    }
    
    .jiturei li{
        margin-right: 45px;
    }
    
    .renovation_conversion dt{
        font-size: 120%;
        margin-bottom: 15px;
    }
    
    .supportimg{
        width: 650px;
        margin-right: 50px;
    }
    
    #footer_fix h5{
        max-width: calc(1200px - 10px);
        margin: 0 auto 10px;
        padding: 5px;
    }
    
    .footer_inftoset{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .footerfix_btn{
        margin-left: 15px;
        width: 400px;
    }
    
    .footerfix_btn a{
        padding: 10px;
    }
    
    #footer_fix{
        padding: 20px;
        width: calc(100% - 40px);
    }
    
    .color_yellow{
        font-size: 200%;
    }

}

@media all and (min-width: 1200px) {

}
