@charset "sjis";

html,body,main{
    height: 100%;
}
body{
    width: 100%;
    margin: 0;
    padding:0;
    font-family: "Hiragino Kaku Gothic ProN","Noto Sans JP","Helvetica Neue",Arial,"Hiragino Sans",Meiryo,sans-serif;
}

header{
    background-image: url("../image/mainimage-sp.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    text-align: center;
    height: 60%;
    position: relative;
}
header div.logo{
    width: 50%;
    max-width: 250px;
    position: relative;
    color: #fff;
    font-size: 14px;
    text-align: left;
    top: 8%;
    left: 5%;
}
header div.logo h4{
    margin: 0;
}
header div.logo img{
    width: 100%;
}

header h1{
    width: 90%;
    margin: 0;
    position: relative;
    color: #fff;
    font-size: min(5.0vw,35px);
    text-align: left;
    top: 12%;
    left: 5%;
    text-shadow: 0px 0px 3px #000;
}

header p{
    color: #fff;
    font-size: 80%;
    padding:50px 0 30px;
    margin: 0;
}

/*グループ会社*/
.grp{
    background-color: #fff8db;
    width: 100%;
    padding: 10px 0;
}
.grp h3{
    color: #f16d00;
    margin: 0;
    width: 90%;
    margin: auto;
    font-size: 14px;
    text-align: center;
}

/*リード*/
.read{
    background-image: url(../image/bg_border.png);
    padding: 40px 0 120px 0;
}
.read h2{
    font-weight: bold;
    color: #002954;
    width: 100%;
    text-align: center;
    font-size: 18px;
}
.read p{
    width: 90%;
    margin: auto;
    font-size: 14px;
    line-height: 1.8em;
}

/*.anshin*/
.anshin{
    background-image: url(../image/bg_green.jpg);
    background-size: auto 100%;
    background-position: center right;
    background-repeat: no-repeat;
    
}
.anshin .green{
    background-image: url(../image/green80.png);
    position: relative;
    padding: 0 0 40px 0;
}

.anshin .green .ill{
    width: 90%;
    max-width: 400px;
    text-align: center;
    background-color: #fff;
    margin:-40px auto -40px auto;
    border: 1px solid #cccccc;
    position: relative;
    top: -40px;
    padding: 20px 0;
}
.anshin .green .ill img{
    width: 40%;
    margin: auto;
}
.anshin .green h4{
    
    color: #b5aa00;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}
.anshin .green p{
    width: 90%;
    margin: auto;
    font-size: 14px;
    line-height: 1.8em;
    color: #05005c;
}

/*footer*/
footer{
    clear: both;
    background-color: #002954;
    padding:40px 0 0 0;
}
footer h2{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin:0 auto 20px auto;
    color: #fff;
}
footer p{
    color:#ffe47c;
    width: 90%;
    margin:0 auto 40px;
    font-size: 15px;
    text-align: center;
}
footer table,
footer table tr,
footer table th,
footer table td,
footer table tbody{
    display: block;
    color: #fff;
}
footer table{
    width: 90%;
    margin:0 auto 40px;
}
footer table th{
    background-color:#21456a;
    text-align: left;
    font-weight: normal;
    padding: 5px;
    font-size: 14px;
}
footer table td{
    padding: 10px 5px;
    font-size: 14px;
}
footer p.copy{
    color:#fff;
    font-weight: normal;
    padding: 40px 0 10px 0;
    background-image: url(../image/line_bottom.png);
    background-repeat: repeat-x;
}


/*-----------------------------------------------------
window size 650-
-----------------------------------------------------
-------------------------------------------------- */
@media screen and (min-width:650px){

    /*グループ会社*/
    .grp h3{
        font-size: 18px;
    }
    /*リード*/
    .read h2{
        font-size: 25px;
    }
    /*.anshin*/
    .anshin .green .text h4{
        font-size: 22px;
    }
}









/*-----------------------------------------------------
window size 900-
-----------------------------------------------------
-------------------------------------------------- */
@media screen and (min-width:900px){
    header{
        background-image: url("../image/mainimage-pc.jpg");
        height: 70%;
    }
    header div.logo{
        font-size: 18px;
    }

    /*グループ会社*/
    .grp h3{
        font-size: 18px;
        padding: 20px 0;
    }

    /*リード*/
    .read{
        display: flex;
        justify-content :center;
        align-items: center;
        padding: 100px 0;
    }
    .read h2{
        width: 40%;
        max-width: 400px;
        margin-block-end: 0;
        margin-block-start: 0;
        text-align: left;
        font-size: 30px;
        height: auto;
    }
    .read p{
        width: 60%;
        max-width: 580px;
        font-size: 16px;
        margin: auto 0;
    }

    /*.anshin*/
    .anshin{
        padding: 60px 0;
        background-size: 100% auto;
        background-position: center center;
    }
    .anshin .green{
        max-width: 980px;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px 0;
    }
    .anshin .green .ill{
        margin: 0;
        width: 50%;
        position: static;
    }
    .anshin .green .text{
        width: 46%;
    }
    .anshin .green .text h4{
        font-size: 22px;
        margin:0 auto 20px auto;
    }
    .anshin .green .text p{
        font-size: 16px;
    }

    /*footer*/
    footer{
        padding: 40px 0 0px;
    }
    footer h2{
        font-size: 26px;
    }
    footer p{
        font-size: 18px;
        margin-bottom: 60px;
    }
    footer table{
        display: table;
        max-width: 800px;
        border-spacing:0;
        margin-bottom: 100px;
        font-size: 16px;
    }
    footer table tr{display:table-row;}
    footer table tr th{
        display: table-cell;
        width: 30%;
        background-color: transparent;
        border-bottom: 1px solid #838baa;
        padding-left: 80px;
        border-collapse: collapse;
        font-size: 16px;
    }
    footer table tr td{
        display: table-cell;
        border-bottom: 1px solid #838baa;
        border-collapse: collapse;
        font-size: 16px;  
    }
    footer table tr:last-child th,
    footer table tr:last-child td{
        border: none;
    }
    footer table tbody{display: table-row-group;}
    footer p.copy{
        font-size: 14px;
    }
    
}