@charset "utf-8";
body{
     width: 100%;
     height: 100%;
     margin: 0;
     font-family: sans-serif;
     font-size: 16px;
     background-color: #F0DEBC;
    /* background:url(images/back.jpg) no-repeat; */
     margin: 0 auto 0 auto;
}
a{
    text-decoration: none;
}
header{
    width: 95%;
    height: 220px;
    background: url(images/header-back.jpg) no-repeat;
    margin: 0 auto 0 auto;
}
h1{
    font-family:"Kaisei Opti", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 140px;
    font-style: normal;  
    text-align: center;
    color: #000000;
    padding-top: 27px;
    margin-bottom: -10px;

}
.box {
    width: 100%;
    height: 80px;
    background-color:  #FFE2F3;
    margin-left:  8px;
    margin-top: 15px;
    padding: 15px;
    border-radius: 12px;
}
.box p{
    font-size: 16px;
}
#service {
    width: 500px;
    height: 50px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
    background-color: #721ca3;
    text-align: center;
    padding-top: 20PX;
    border-radius: 15px;
    font-family: "Cardo", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
    color: #f4efd7;
}
nav{
    display: flex;
    flex-flow: wrap;
    width: 70%;
    margin-left: auto;
    margin-left: auto;
    margin-top: 3px;
    margin-bottom: 30px;
}
.kouzi img{
    width: 750px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    border-radius: 10px;
}
.line img{
    width: 150px;
    height: 150px;
    margin-right: 15px;
}
.inst img{
    width: 150px;
    height: 150px;
    margin-left: 60px;
    background-color: #fff;
    border-radius: 20px;
}

.sns,.m-sns{
    display: flex;
    flex-flow: row;
    margin-left: 120px;
}
.sns,.m-sns{
    margin-top: 700px;
}
main{
    display: flex;
    flex-flow: row;
    width: 95%;
    margin: 0 auto 0 auto;
}
.left{
    width: 40%;
    margin: 0 auto 0 auto;
}
.right{
    width: 60%;
    margin-left: auto;
    padding-left: 10%;
    
}
/* トップページのあいさつエリア */
.aisatu{
    width: 100%;
    height: 500px;
    background-color: #D4FDCD;
    margin-top: 30px;
    position: relative;
}
.aisatu h2{
    text-align: center;
    padding-top: 20px;
    font-size: 40px;
    color: #080c7b;
}
/* ご挨拶ページ以外のあいさつエリア */
.aisatu-small{
    width: 300px;
    height: 100px;
    background-color: #54ff35;
    margin-top: 30px;
    margin-left: 10%;
    position: relative;
    border-radius: 15px;
}
.daihyou{
    text-align: center;
    padding-top: 15px;
    font-size: 40px;
    color: #080c7b;
}
.neko img{
    width: 25%;
    height: 65%;
    position: absolute;
    left: 37%;
}
.blog-small{
    width: 300px;
    height: 100px;
    background-color: #FFFEDB;
    margin-top: 30px;
    margin-left: 0;
    position: relative;
    border-radius: 15px;
}
.bloghe{
    text-align: center;
    padding-top: 20px;
    font-size: 40px;
    color: #080c7b;
}
/* ご挨拶ページのあいさつエリア */
.okyakusama{
    width: 100%;
    height: 1000px;
    background: url(images/aisatu-back.jpg) no-repeat;
    margin-right: 10%;
}
.okyakusama h2{
    width: 620px;
    text-align: center;
    padding-top: 80px;
    font-size: 32px;
}
.okyakusama p{
    width: 620px;
    font-size: 21px;
    line-height: 1.9rem;
    padding-left: 30px;
}
/* トップページのブログエリア */
.blog{
    width: 100%;
    height: 320px;
    background-color: #FFFEDB;
    margin-top: 10%;
    padding-bottom: 10px;
}
.blog-img img{
    width: 100%;
    height: 180px;
}
.blog h2{
    text-align: center;
    font-size: 40px;
    color: #080c7b;
    margin-bottom: 0;
    margin-top: 5px;
}
.blog p{
    text-align: center;  
    font-size: 28px;
    margin-top: -8px;
}

/* ブログページのブログエリア */
.blog-itiran{
    width: 100%;
    height: 1000px;
    background: url(images/blog-back.jpg) no-repeat;
    margin-left: 10%;
}
.blog-itiran h2{
    width: 740px;
    height: 20px;
    text-align: center;
    padding-top: 200px;
    font-size: 55px;
    margin-bottom: 120px;
    color: #fcfc18;
}
.blog-kiji{
    height: 55%;
    overflow: scroll;
}
.kiji{
    display: flex;
    flex-flow: row;
    margin-bottom: -60px;
}
.kiji-naka{
    width: 400px;
}


/* 工事メニュー詳細 */
.menu-setumei{
    width: 100%;
    height: 1000px;
    background: url(images/menu-back.jpg) no-repeat;
    margin-left: 10%;
}
.menu-setumei h2{
    width: 620px;
    text-align: center;
    padding-top: 200px;
    font-size: 32px;
} 
table{
    width: 350px;
    text-align: center;
    margin-left: 150px;
    font-size: 18px;
    border-collapse: collapse;
}
th,td{
    border: 1px solid #fa37d9;
    padding: 6px;
}
.menu-setumei #tiratuki{
    width: 620px;
    color: red;
    text-align: center;
    font-size: 21px;
    font-weight: bold;
}
.menu-setumei #sonota{
    width: 620px;
    color: red;
    text-align: center;
    font-size: 21px;
    font-weight: bold;
}
.menu-setumei .tyousa{
    font-size: 40px;
    margin-left: 210px;
}
.menu-setumei .toiawase{
    font-size: 40px;
    margin-left: 80px;
    margin-top: -20px;
}
/* フッター */
.menu-kaisya,.mes-kaisya,.top-kaisya,.kaisya{
    width: 75%;
    background-color: #FFE2F3;
    margin: 50px auto 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
}
 #name{
    text-align: center;
    font-family: "Kaisei Opti", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 60px;  
}
#yuubin{
    text-align: center;
    text-indent: -17rem;
    font-size: 22px;
}
#address{
    text-align: center;
    font-size: 25px;
}
 #tel{
    text-align: center;
    text-indent: -15rem;
    font-size: 21px;
}
#mail{
    text-align: center;
    text-indent: -10rem;
    font-size: 19px;
}
footer p{
    text-align: center;
}

@media screen and (max-width: 786px){
    header{
        background: url(images/header-back_S.jpg) no-repeat;
        margin: 0 auto -60px auto;
    }
    h1{
        font-size: 48px;
        padding-top: 50px;
    }
    .left{
        width: 38%;
        margin: 0 auto 0 7px;
    }
    .right{
        width: 55%;
        margin-left: -15%;
        padding-left: 10%;
        
    }
    .box {
        width: 130px;
        height: 250px;
        margin-top: 2rem;
        margin-left: -10px;
        padding: 14px;
    }
    #service {
        width: 80%;
        height: 24px;
        font-size: 16px;
        margin: 35px 25px 15px 35px;
    }
    nav{
        display: flex;
        flex-flow: wrap;
        width: 60vh;
        margin-top: 3px;
        margin-bottom: 30px;
        margin-left: 20px;
    }
    .kouzi img{
        width: 370px;
        height: 80px;
        margin-top: 2%;
        margin-bottom: 5px;
    }
    .sns,.m-sns{
        margin-left: -5px;
    }
    .sns,.m-sns{
        margin-top: 30px;
    }
    .line img{
        width: 60px;
        height: 60px;
    }
    .inst img{
        width: 60px;
        height: 60px;
        margin-left: 20px;
    }
    .neko img{
        width: 45%;
        height: 60%;
        position: absolute;
        left: 30%;
    }
    /* トップページのあいさつエリア */
    .aisatu h2{
        font-size: 19px;
    }
    .aisatu{
        width: 100%;
        height: 200px;
        margin-top: 30px;
    }
    /* ご挨拶ページ以外のあいさつエリア */
    .aisatu-small{
    width: 80%;
    height: 70px;
    }
    .daihyou{
    text-align: center;
    padding-top: 20px;
    font-size: 21px;
    }
    .blog-small{
        width: 100%;
        height: 70px;
    }
    .bloghe{
        padding-top: 5px;
        font-size: 40px;
    }
    .menu-setumei{
        width: 130%;
        height: 1000px;
        background: url(images/menu-back_S.jpg) no-repeat;
        margin-left: -8%;
    }
    .menu-setumei h2{
        width: 230px;
        margin-left: 10px;
        padding-top: 80px;
        font-size: 16px;
        margin-left: 15px;
    }
    table{
        width: 180px;
        margin: 0 0 0  50px;
        padding-left: 0;
        font-size: 8px;
        border-collapse: collapse;
    }
    th,td{
        border: 1px solid #fa37d9;
        padding: 6px;
        padding-left: 2px;
        padding-right: 2px;
    }
    .menu-setumei #sonota{
        width: 155px;
        color: red;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        margin-left: 48px;
    }
    .menu-setumei .tyousa{
        font-size: 16px;
        margin-left: 80px;
    }
    .menu-setumei .toiawase{
        font-size: 14px;
        margin-left: 45px;
        margin-top: -6px;
    }
    .menu-setumei #tiratuki{
        width: 140px;
        color: red;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        margin-left: 60px;
    }
    /* ご挨拶ページのあいさつエリア */
.okyakusama{
    width: 110%;
    height: 800px;
    background: url(images/aisatu-back_S.jpg) no-repeat;
    margin-left: -3%;
}
.okyakusama h2{
    width: 230px;
    text-align: center;
    padding-left: 5px;
    padding-top: 20px;
    font-size: 21px;
}
.okyakusama p{
    width: 200px;
    font-size: 16px;
    line-height: 1.9rem;
    padding-left: 20px;
    padding-right: 30px;
}
    .blog{
        width: 100%;
        height: 250px;
        margin-top: 10%;
    }
    .blog-img img{
        width: 100%;
        height: 140px;
    }
    .blog h2{
        font-size: 21px;
        padding-bottom: 0;
        margin: 0;
    }
    .blog p{
        font-size: 15px;
        padding-top: -13px;
        margin-top: 0;
    }
    /* ブログページのブログエリア */
    .blog-itiran{
        width: 100%;
        height: 1000px;
        background: url(images/blog-back_S.jpg) no-repeat;
        margin-left: 10%;
    }
    .blog-itiran h2{
        width: 238px;
        text-align: center;
        padding-top: 30px;
        font-size: 18px;
        margin-bottom: 15px;
    }
    .blog-kiji{
        height: 64%;
        overflow: scroll;
        padding-left: 5px;
    }
    .kiji{
        margin-top: 20px;
        margin-bottom: 10%;
        display: flex;
        flex-flow: column;
    }
    .kiji-naka{
        width: 300px;
        height: 200px;
        margin-bottom: 10px;
    }
    .top-kaisya{
        margin-top: 40px;
    }
    .kaisya{
        margin-top: -180px;
    }
    .mes-kaisya{
        margin-top: 100px;
    }
    .menu-kaisya{
        margin-top: -150px;
    }

    #name{
        font-size: 42px;  
    }
    #yuubin{
        font-size: 18px;
        text-indent: -11rem;
    }
    #address{
        font-size: 18px;
    }
    #tel{
        text-align: center;
        text-indent: -7rem;
        font-size: 14px;
    }
    #mail{
        text-align: center;
        text-indent: -2rem;
        font-size: 14px;
    }
}