@charset "utf-8";

/* *****************************************************************
home
会社概要
お問い合わせ
***************************************************************** */

/* *****************************************************************
home
***************************************************************** */
.home_head{
    width: 100%;
    position: relative;
    margin-top: -40px;
}
.home_head .main_photo{
    width: 62.591%;
    margin-left: auto;
}
.home_head .main_photo .mask{
    clip-path: polygon(29% 1%, 45% 0, 100% 22%, 100% 78%, 52% 100%, 9% 85%, 0 30%);
}
.home_head .txt_area{
    height: 100%;
    position: absolute;
    padding-left: 8.982vw;
    top: 40px;
    z-index: 1;
    display: flex;
    flex-direction: column;
}
.home_head .txt_area h1{
    font-size: 60px;
    letter-spacing: .2em;
    background-color: #fff;
    padding: 0 .5em;
    margin-top: 10.179vw;
}
.home_head .txt_area .sub_titile{
    margin-top: auto;
    padding-bottom: 1em;
}
.home_head .txt_area .sub_titile h2{
    font-size: 65px;
    line-height: 1;
    letter-spacing: 0;
}
.home_head .txt_area .sub_titile p{
    font-size: 20px;
    letter-spacing: 1em;
}
.greet{
    background-color: #fff;
}
.greet figure{
    width: 50%;
}
.greet p{
    width: 50%;
    display: flex;
    align-items: center;
    padding: 30px;
    font-size: 18px;
    line-height: 2;
}
.business{
    background-color: #F0F0EA;
}
.business h2.title{
    text-align: center;
}
.business .list{
    justify-content: space-between;
    margin-top: 2.245vw;
}
.business .list .business_box{
    width: 30.535%;
}
.business .list .business_box h3{
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
    margin: 1.2em 0 .7em;
}
.voice{
    padding-top: 7.485vw;
}
.voice .voice_head{
    width: 91.508%;
    min-width: 1250px;
    background: url("../../images/home_voice.jpg") no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1%;
}
.voice .voice_head:before {
    content:"";
    display: block;
    padding-top: 20%;
}
.voice .voice_head h2{
    padding-left: 13%;
}
.voice ul.voise_list li{
    width: 31.333%;
    background:url("../../images/home_mark.svg") no-repeat #fff;
    background-size: 33% auto;
    background-position: right 4% bottom 4%;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.5));
    padding: 3%;
    margin-right: 3%;
    margin-top: 3%;
}
.voice ul.voise_list li:nth-child(3n){
    margin-right: 0;
}
.voice ul.voise_list li .name{
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0;
    color: #000;
    padding-bottom: 7px;
    border-bottom: 1px solid #000;
    display: flex;
    align-items: center;
}
.voice ul.voise_list li .name::before{
    display: block;
    width: 20px;
    height: 20px;
    content: "";
    background: url("../../images/home_kazari.svg") no-repeat;
    background-size: contain;
    margin-right: 5px;
}
.voice ul.voise_list li .txt{
    margin-top: 1em;
    line-height: 2;
    letter-spacing: 0.05em;
    text-align: justify;
}

@media only screen and (max-width: 1336px) {
    .home_head .txt_area h1{
        font-size: 4.116vw;
    }
    .home_head .txt_area .sub_titile h2{
        font-size: 4.491vw;
    }
    .home_head .txt_area .sub_titile p{
        font-size: 1.497vw;
    }
    .voice .voice_head{
        width: 95%;
        min-width: auto;
    }
    .voice ul.voise_list li{
        width: 47.5%;
    }
    .voice ul.voise_list li:nth-child(3n){
        margin-right: 3%;
    }
    .voice ul.voise_list li:nth-child(2n){
        margin-right: 0;
    }
}
@media only screen and (max-width: 850px) {
    .home_head .txt_area{
        width: 100%;
        padding-left: 5%;
    }
    .home_head .main_photo{
        width: 80%;
    }
    .home_head .txt_area h1 {
        margin-top: 20px;
        width: 12.5em;
        padding-right: 0;
    }
    .greet figure{
        margin: 50px auto 0;
    }
    .greet p{
        display: block;
        width: 100%;
        text-align: center;
    }
}
@media only screen and (max-width: 640px) {
    .home_head{
        margin-top: 0;
    }
    .home_head .main_photo{
        width: 100%;
        padding-bottom: 30px;
    }
    .home_head .txt_area{
        top: 0;
        padding-right: 5%;
        padding-left: 0;
    }
    .home_head .txt_area h1 {
        font-size: 26px;
        width: calc(12em + 5%);
        padding-left: 5%;
    }
    .home_head .txt_area .sub_titile{
        padding-bottom: 0;
        padding-left: 5%;
        text-align: right;
    }
    .home_head .txt_area .sub_titile h2{
        font-size: 35px;
    }
    .home_head .txt_area .sub_titile p{
        font-size: 12px;
    }
    .greet figure{
        width: 90%;
        margin-top: 5%;
    }
    .greet p{
        font-size: 17px;
        padding: 5%;
        text-align: left;
    }
    .business .list{
        margin-top: 20px;
    }
    .business .list .business_box{
        width: 100%;
        margin-bottom: 20px;
    }
    .business .list .business_box:last-child{
        margin-bottom: 0;
    }
    .business .list .business_box h3{
        margin: .5em 0 .3em;
    }
    .voice .voice_head{
        width: 100%;
        background-position: center;
    }
    .voice .voice_head:before {
        padding-top: 45%;
    }
    .voice .voice_head h2{
        padding-left: 0;
    }
    .voice ul.voise_list li{
        width: 100%;
        margin-right: 0!important;
        margin-top: 15px;
        padding: 7%;
    }
    .voice ul.voise_list li .name {
        font-size: 18px;
    }
    .voice ul.voise_list li .name::before{
        width: 18px;
        height: 18px;
    }
    .voice ul.voise_list li .txt {
        margin-top: .5em;
        line-height: 1.7;
    }
}

/* *****************************************************************
会社概要
***************************************************************** */
.company h2{text-align: center;}
.company .map_area {
    position: relative;
    width: 100%;
	padding-top: 46%;
    margin-top: 20px;
}
.company .map_area iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* *****************************************************************
お問い合わせ
***************************************************************** */
.contact h2{
    font-size: 30px;
    line-height: 1.3;
    text-align: center;
}
.contact h3{
    font-size: 22px;
    text-align: center;
    margin-bottom: 10px;
}
.contact_tel{
    background-color: #F0F0EA;
    padding: 40px;
    margin-bottom: 50px;
    align-items: center;
}
.contact_tel .left{
    width: 50%;
    border-right: 1px solid #000;
    padding-right: 30px;
}
.contact_tel .right{
    width: 50%;
    padding-left: 30px;
}
.contact_tel .left h2{
    text-align: left;
}
.contact_tel .right a{
    align-items: center;
    justify-content: center;
    margin: auto;
    line-height: 1;
}
.contact_tel .right a p{
    font-size: 50px;
    font-weight: bold;
}
.contact_tel .right a img{
    width: auto;
    height: 40px;
    margin-right: 5px;
}
.contact_tel .right p{
    font-weight: normal;
    font-size: 14px;
    text-align: center;
}
#formWrap h2{
    margin-bottom: .5em;
}
#formWrap table{
    width: 100%;
    margin: 20px auto 50px;
}
#formWrap table tr th{
    text-align: left;
    vertical-align: middle;
    width: 190px;
    font-size: 14px;
    padding: 12px 0;
}
#formWrap table tr td{
    width: calc(100% - 190px);
    padding: 12px 0;
}
#formWrap table tr td label{
    margin-right: 1em;
}
.send{
    text-align: center;
    margin-top: 30px;
}
input[type="text"],textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 0;
    outline: none;
    background: #eee;
    font-size: 16px;
    line-height: 1.7;
    transition: all 0.3s ease;
	border: 2px solid #eee;
}
input[type="text"]:focus,
textarea:focus {
    background-color: #fff;
}
input[type="submit"],input[type="button"]{
    width: 300px;
    height: 60px;
    line-height: 60px;
    background-color: #fff;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 0.3s ease;
}
input[type="submit"]:hover,
input[type="button"]:hover,
.backhome:hover{
    background-color: #000;
    color: #fff;
}
input[type="button"]{
    background-color: #ccc;
    border: 1px solid #000;
}
.privacy{
    height: 350px;
    border: 1px solid #ccc;
    overflow-y: auto;
    padding: 30px;
    margin-top: 5vw;
    font-size: 14px;
}
.privacy dt{
    margin-top: 1.2em;
    font-size: 16px;
}
.privacy li{
    list-style: disc inside;
}
.contact .thanks{
    font-size: 28px;
}
.backhome{
    display: block;
    width: 300px;
    height: 60px;
    line-height: 60px;
    background-color: #fff;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 0.3s ease;
}
.error_messe{
    margin-top: 10px;
    color: #FF4049;
}
table.confirm tr{
    border-bottom: 1px solid #ccc;
}
@media only screen and (max-width: 1366px) {
    .contact h2 {
        font-size: 2.196vw;
    }
    .contact_tel{
        padding: 2.928vw;
        margin-bottom: 3.66vw;
    }
    .contact_tel .left p{
        font-size: 1.317vw;
    }
    .contact_tel .right a p{
        font-size: 3.66vw;
    }
    .contact_tel .right p{
        font-size: 1.124vw;
    }
    .contact_tel .right a img{
        height: 2.928vw;
    }
}
@media only screen and (max-width: 640px) {
    .contact{
        font-size: 14px;
    }
    .contact h2 {
        font-size: 20px;
    }
    .contact_tel{
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    .contact_tel .left{
        width: 100%;
        border-right: none;
        padding-right: 0;
        text-align: center;
    }
    .contact_tel .left p{
        font-size: 12px;
        line-height: 1.5;
        margin: 5px 0 15px;
    }
    .contact_tel .left h2{
        text-align: center;
    }
    .contact_tel .right{
        width: 100%;
        padding-left: 0;
    }
    .contact_tel .right a p{
        font-size: 28px;
    }
    .contact_tel .right p{
        font-size: 12px;
    }
    .contact_tel .right a img{
        height: 24px;
    }
    #formWrap table{
        margin-bottom: 30px;
    }
    #formWrap table tr th,
    #formWrap table tr td{
        display: block;
        width: 100%;
    }
    #formWrap table tr th{
        padding-bottom: 0;
    }
    #formWrap table tr td{
        padding-top: 0;
    }
    .privacy{
        height: 300px;
        padding: 15px;
        margin-top: 50px;
    }
}