/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

@charset "utf-8";
/* CSS Document */

/* global */

body{
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;
    font-weight: 500;
}

a{
    color: black;
    text-decoration: none;
}

img.fit{
	width: 100%;
	height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

h3{
	font-weight: 800;
	font-size: 16px;
}

h4{
	font-weight: 800;
	font-size: 13px;
}



/* global_header*/

#global_header{
	
}

.gnav_container{
	display: block;
	width: 100%;
	height: 80px;
	/* ここでlineheightとheightを合わせてセコい感じで上下中央揃えてる、refactor必要かも */
	line-height: 80px;
	background-color: #004C73;
}

.gnav_logo{
	display: inline-block;
	vertical-align: middle;
	margin-left: 30px;
	width: 20%;
	height: auto;
}

.gnav{
	float: right;
	margin-right: 20px;
	width: 50%;
    min-width: 400px;
	display: -ms-grid;
	display: grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
	-ms-grid-rows: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    list-style-type: none;
}

.gnav > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.gnav > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.gnav > *:nth-child(3){
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.gnav > *:nth-child(4){
    -ms-grid-row: 1;
    -ms-grid-column: 4;
}



.gnav_item{
	display: inline-block;
    text-align: center;
    font-size: 1.1vw;
	vertical-align: middle;
}

/* あまりに画面がでかいときにgnavのフォントを小さく */
@media (min-width: 1120px){
		
	.gnav_item{
    	font-size: 1vw;
	}
}


.gnav_item > a{
	color: white;
}

.gnav_container::after{
	content: "";
    display: block;
    clear: both;
}


/* global_footer*/

.footer{
	margin-top: 60px;
	width: 100%;
	height: 120px;
	background-color: #004C73;
	padding: 10px;
}

.footer_content{
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 1fr;
	-ms-grid-rows: auto;
	grid-template-columns: 1fr 1fr;
	width: 600px;
	height: 100px;
	margin: 0 auto;
}

_:-ms-lang(x)::-ms-backdrop, .footer{
	height: auto; /* IEだけfooterの上マージンがなくなるの調整 */
}

_:-ms-lang(x)::-ms-backdrop, .footer_content{
	margin-top: 20px; /* IEだけfooterの上マージンがなくなるの調整 */
}

.footer_content > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.footer_content > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.footer_logo img{
	width: 300px;
	height: auto;
}

.footer_logo{
	-ms-grid-column-align: center;
	    justify-self: center;
	-ms-flex-item-align: center;
	    -ms-grid-row-align: center;
	    align-self: center;
}

.footer_address{
	line-height: 1.8em;
	font-size: 12px;
	color: #FFFFFF;
	-ms-grid-column-align: center;
	    justify-self: center;
	-ms-flex-item-align: center;
	    -ms-grid-row-align: center;
	    align-self: center;
}

/* top_header */

#top_image{
    position: relative;
    width: 100%;
    height: 600px;
}

.top_logo{
    position: absolute;
    width: 250px;
    top:40px;
    left:40px;
}

.top_copy{
	display: block;
    position: absolute;
	width: 300px;
    top: 25%;
    left: calc((100% - 300px) /2);
    text-align: center;
    line-height: 2em;
    color: white;
	font-size: 1em;
    /* text-shadow:2px 2px 3px #b9b9b9; */
}


/* top_navi */

.top_navi_container{
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
	-ms-grid-rows: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    width: 800px;
    margin: 40px auto;
    list-style-type: none;
}

.top_navi_container > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.top_navi_container > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.top_navi_container > *:nth-child(3){
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.top_navi_container > *:nth-child(4){
    -ms-grid-row: 1;
    -ms-grid-column: 4;
}

.top_navi_item{
	display: inline-block;
    height: 30px;
    text-align: center;
    font-size: 14px;
	vertical-align: middle;
}

.top_navi_item > a{
    vertical-align: middle;
}

li.top_navi_item + li.top_navi_item{
    border-left: solid grey 1px;
}


/* top_message */

#message{
	position: relative;
}

.bg_autoheight{
	width: 100%;
	height: auto;
	padding: 40px;
	background-image: url("../img/top_messageback.jpg");
	background-size: cover;
	background-position: center;
}

.message_content{
	display: block;
	position: relative;
	margin: auto;
	width: 600px;
	padding: 40px;
	background-color: #ffc93c;
}

.message_head{
	margin-bottom: 30px;
}

.message_main{
	line-height: 2em;
	font-size: 12px;
}

.message_main_mobile{
	display:none;
}

/* top_whatwecan */

#whatwecan{
	text-align: center;
}

.whatwecan_head{
	display: inline-block;
	margin: 0px auto;
	height: auto;
	padding: 80px 30px 20px;
	border-bottom: 1.5px solid black;
	text-align: center;
}

.whatwecan_content{
	display: -ms-grid;
	display: grid;
	margin: 30px auto;
	width: 800px;
	height: auto;
	-ms-grid-columns: 1fr 1fr 1fr 1fr;
	-ms-grid-rows: auto;
	grid-template-columns: 1fr 1fr 1fr 1fr;	
}

.whatwecan_content > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.whatwecan_content > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.whatwecan_content > *:nth-child(3){
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.whatwecan_content > *:nth-child(4){
    -ms-grid-row: 1;
    -ms-grid-column: 4;
}


.whatwecan_works{
	
}

.whatwecan_text{
	padding: 10px;
	line-height: 2.4em;
	font-size: 12px;
}

.lh_16{
	line-height: 1.6em;
}



/* top_form */

.formarea{
	width: 90%;
	height: 500px;
	margin: 100px auto;
	background-color: #77DBE7;
	border-radius: 20px;
}




/* works_common */

.works_head{
	width: 100%;
	height: 300px;
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 300px 1fr;
	grid-template-columns: 300px 1fr;
	-ms-grid-rows: 300px;
	grid-template-rows: 300px;
	background-color: aquamarine;
}

.works_head > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.works_head > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.works_head_reverse{
	width: 100%;
	height: 300px;
	margin-bottom: 60px;
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 300px;
	grid-template-columns: 1fr 300px;
	-ms-grid-rows: 300px;
	grid-template-rows: 300px;
	background-color: aquamarine;
}

.works_head_reverse > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.works_head_reverse > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.works_head_title{
	text-align: center;
	padding: 30px;
}

.works_head_title_bg_largerepair{
	background-image: url("../img/works_bg_largerepair.jpg")
}

.works_head_title_bg_painting{
	background-image: url("../img/works_bg_painting.jpg");
}

.works_head_title_bg_waterproof{
	background-image: url("../img/works_bg_waterproof.jpg")
}

.works_head_title_bg_reform{
	background-image: url("../img/works_bg_reform.jpg");
}

.works_head_title_bg_aboutus{
	background-image: url("../img/works_bg_aboutus.jpg");
}

.works_title{
	/* 何もしなくてもいい感じの配置になってしまっている */
	letter-spacing: 0.1em;
}

.works_head_image{
	background-color: blueviolet;
}

.works_content_container{
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 1fr;
	-ms-grid-rows: auto;
	grid-template-columns: 1fr 1fr;
	width: 80%;
	max-width: 800px;
	height: auto;
	margin: 20px auto;
}

.works_content_container > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.works_content_container > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.works_content_text{
	padding: 20px 0px;
	-ms-grid-column-align: center;
	    justify-self: center;
	-ms-flex-item-align: center;
	    -ms-grid-row-align: center;
	    align-self: center;
}

.works_text{
	margin-top: 20px;
	font-size: 12px;
	line-height: 1.8em;
}

.works_content_image_right{
	padding: 30px 0px 30px 40px;
	-ms-grid-column-align: center;
	    justify-self: center;
	-ms-flex-item-align: center;
	    -ms-grid-row-align: center;
	    align-self: center;
}

.works_content_image_left{
	padding: 30px 40px 30px 0px;
	-ms-grid-column-align: center;
	    justify-self: center;
	-ms-flex-item-align: center;
	    -ms-grid-row-align: center;
	    align-self: center;
}



/* largerepair */

.repair_insert_images{
	width: 100%;
	height: 400px;
	margin-top: 40px;
}

.repair_ourcommitment_container{
	width: 800px;
	height: auto;
	margin: 80px auto 60px;
}

.repair_ourcommitment_head{
	padding: 12px;
	margin: 0px auto;
	width: 40%;
	color: white;
	background-color: #65A5DD;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-align: center;
}

.repair_ourcommitment_contents{
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 1fr;
	-ms-grid-rows: auto;
	grid-template-columns: 1fr 1fr;
	margin-top: 30px;
}

.repair_ourcommitment_contents > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.repair_ourcommitment_contents > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.repair_ourcommitment_contents > *:nth-child(3){
    -ms-grid-row: 2;
    -ms-grid-column: 1;
}

.repair_ourcommitment_contents > *:nth-child(4){
    -ms-grid-row: 2;
    -ms-grid-column: 2;
}

.repair_ourcommitment_item{
	margin: 30px 25px;
}

.repair_ourcommitment_num{
	display: inline-block;
	width: 30px;
	height: 30px;
	vertical-align: middle;
}

.repair_ourcommitment_item > h4{
	display: inline-block;
	margin-left: 14px;
	line-height: 30px;
	vertical-align: middle;
}

.repair_ourcommitment_text{
	display: block;
	margin-top: 15px;
	font-size: 12px;
	line-height: 2em;
}



/* reform */

.reform_betterhome_container{
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 1fr;
	-ms-grid-rows: auto;
	grid-template-columns: 1fr 1fr;
	width: 800px;
	height: auto;
	margin: 30px auto;
}

.reform_betterhome_container > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.reform_betterhome_container > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.reform_betterhome_content{
	padding: 40px 0px 40px 40px;
	-ms-grid-column-align: center;
	    justify-self: center;
	-ms-flex-item-align: center;
	    -ms-grid-row-align: center;
	    align-self: center;
}

.reform_betterhome_logo{
	width: 200px;
	height: auto;
}

.reform_betterhome_text{
	font-size: 12px;
	line-height: 1.8em;
	margin-top: 20px;
}

.reform_betterhome_image{
	padding: 30px;
	-ms-grid-column-align: center;
	    justify-self: center;
	-ms-flex-item-align: center;
	    -ms-grid-row-align: center;
	    align-self: center;
}

.reform_showroom_container{
	width: 100%;
	height: auto;
	background-image: url("../img/reform_showroom_bg.jpg");
	background-size: cover;
	background-position: center;
}

.reform_showroom_head{
	padding: 12px;
	margin: 0px auto;
	width: 40%;
	color: white;
	background-color: #4E4E4E;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-align: center;
}

.reform_showroom_content{
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 1fr;
	-ms-grid-rows: auto;
	grid-template-columns: 1fr 1fr; 
	width: 600px;
	height: auto;
	margin: 0px auto;
}

.reform_showroom_content > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.reform_showroom_content > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.reform_showroom_info{
	color: white;
	text-align: center;
	margin: 50px 0px;
}

.reform_showroom_info h4{
	display: inline-block;
	width: 240px;
	height: auto;
	padding: 15px;
	margin: 0px auto;
	border-bottom: dotted 1px 
}

.reform_showroom_info p{
	display: block;
	padding: 20px;
	margin-bottom: 0px;
	font-size: 13px;
	line-height: 2em;
}

.reform_photogallery{
	width: 80%;
	padding: 50px;
	margin: 0px auto;
}

.reform_photogallery_head{
	display: block;
	margin: 40px auto 60px;
	width: 200px;
	height: auto;
}

.reform_photogallery_container{
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 1fr 1fr;
	-ms-grid-rows: auto ;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
}


_:-ms-lang(x)::-ms-backdrop, .reform_photogallery_container a{
	display: block;  /* 多分IEはa要素をgridの子にできなさそうだったのでとりあえずblockにした */
	text-align: center;
}

_:-ms-lang(x)::-ms-backdrop, .reform_photogallery_container img{
	width: 90%;  /* IEでobjectfit(fitie?)がうまいこと効いていない感じがしたのでコンテナ(a)に対しての比率で */
	height: auto;
	margin: 0px;
}


.reform_photogallery_container > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.reform_photogallery_container > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.reform_photogallery_container > *:nth-child(3){
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}

.reform_photogallery_container > *:nth-child(4){
    -ms-grid-row: 2;
    -ms-grid-column: 1;
}

.reform_photogallery_container > *:nth-child(5){
    -ms-grid-row: 2;
    -ms-grid-column: 2;
}

.reform_photogallery_container > *:nth-child(6){
    -ms-grid-row: 2;
    -ms-grid-column: 3;
}

.reform_photogallery_container > *:nth-child(7){
    -ms-grid-row: 3;
    -ms-grid-column: 1;
}

.reform_photogallery_container > *:nth-child(8){
    -ms-grid-row: 3;
    -ms-grid-column: 2;
}

.reform_photogallery_container > *:nth-child(9){
    -ms-grid-row: 3;
    -ms-grid-column: 3;
}

.reform_photogallery_container > *:nth-child(10){
    -ms-grid-row: 4;
    -ms-grid-column: 1;
}

.reform_photogallery_container > *:nth-child(11){
    -ms-grid-row: 4;
    -ms-grid-column: 2;
}

.reform_photogallery_container > *:nth-child(12){
    -ms-grid-row: 4;
    -ms-grid-column: 3;
}

/* aboutus */

.aboutus_table_container{
	width: 60%;
	max-width: 600px;
	margin: 60px auto;
}

.aboutus_table_container table{
	width: 100%;
	margin: 0px auto;
	border-collapse: collapse;
	font-size: 12px;
	line-height: 2em;
}

.aboutus_table_container table td{
	padding: 10px 10px;
}

table tr+tr{
	border-top-color: black;
	border-top-style: solid;
	border-top-width: 1px;
}

.aboutus_table_label{
	width: 34%;
}

.aboutus_table_value{
	width: 66%;
}

.aboutus_additionalinfo_container{
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 1fr;
	-ms-grid-rows: auto;
	grid-template-columns: 1fr 1fr;
	width: 60%;
	font-size: 12px;
	max-width: 600px;
	margin: 0px auto;
}

.aboutus_additionalinfo_container > *:nth-child(1){
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}

.aboutus_additionalinfo_container > *:nth-child(2){
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}

.aboutus_additionalinfo_content{
	border-left: dotted 1px black;
	padding-left: 20px;
}

.aboutus_additionalinfo_head{
	
}

.aboutus_additionalinfo_data{
	margin: 20px 0px;
	line-height: 2em;
}

.aboutus_insertimage{
	display: block;
	width: 700px;
	height: auto;
	margin: 40px auto;
}

.aboutus_history_head{
	display: block;
	margin: 0px auto;
	text-align: center;
	letter-spacing: 0.2em;
}

.aboutus_history_table_container{
	width: 60%;
	max-width: 600px;
	margin: 30px auto;
}

.aboutus_history_table_container table{
	width: 100%;
	margin: 0px auto;
	border-collapse: collapse;
	font-size: 12px;
	line-height: 2em;
}

.aboutus_history_table_container table td{
	padding: 10px 10px;
}

.aboutus_history_table_label{
	width: 25%;
}

.aboutus_history_table_value{
	width: 75%;
}


/* form and thanks*/

.form_head{
	display: block;
	margin: 0px auto;
	width: 200px;
	height: auto;
	padding: 80px 30px 20px;
	border-bottom: 1.5px solid black;
	text-align: center;
}

.thankspage{
	width: 100%;
	height: 75vh
}

.thanksmessage{
	display: block;
	margin: 50px auto;
	font-size: 14px;
	text-align: center;
	line-height: 2em;
}

