@CHARSET "UTF-8";
/*
Theme Name: 株式会社 美建様
date: 2019.08.02
*** basic setting on css/normalize.css ***
*/


/* = common setting
-------------------------------------------------------------- */ 

*{
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
html{
	overflow-y: scroll;
}
body {
	margin: 0;
	font-size: 14px;
	font-weight: normal;
	font-family : 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	color: #000;
	line-height: 1.7;
	letter-spacing: 1px;
}
.font_mincyo{
	font-family: "Hiragino Mincho ProN","游明朝",YuMincho,"HG明朝E",Meiryo;
}
a {
	outline: none;
	color: #000;
	text-decoration: none;
	-webkit-transition-duration: .3s;
	transition-duration: .3s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
a:hover {
	color: #000;
}
img{
	max-width: 100%;
	height: auto;
	-webkit-transition-duration: .3s;
	transition-duration: .3s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	vertical-align: bottom;
}
iframe{
	max-width: 100%;
}
h1,h2,h3,h4,h5,h6{
	font-weight: normal;
	margin: 0 0 20px;
}
ul,dl,dt,dd{
	margin: 0;
	padding: 0;
	font-weight: normal;
}
li{
	list-style-type: none;
	margin: 0;
	padding: 0;
}
p{
	margin: 0 0 20px;
}
.sp_none{
	display: none;
}

.btn_link{
	background: #100964;
	color: #fff;
	display: block;
	padding: 15px 20px;
	width: 100%;
	max-width: 300px;
	margin: 10px auto;
  position: relative;
}
.btn_link::after{
  content: '';
  background: #e25211;
  width: 100%;
  height: 3px;
  bottom: 0;
  right: 0;
  z-index: 5;
  position: absolute;
  transition: .5s;
}
.btn_link .fa-long-arrow-alt-right{
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
.btn_link:hover{
  color: #fff;
}
.btn_link:hover::after{
	width: 0;
}
.btn_link:hover .fa-long-arrow-alt-right{
  right: 15px;
}
table{
	width: 100%;
	border-collapse: collapse;
  border-spacing: 0;
}
table th{
	padding: 5px 0;
	display: block;
	border-bottom: #aaa solid 3px;
	text-align: left;
	font-weight: bold;
}
table td{
	padding: 10px 0 20px;
	display: block;
}

.txt_right{
	text-align: right;
}

/* Clearing floats */
.clear:after{
	clear: both;
}
.clear:before,
.clear:after{
	display: table;
	content: "";
}

.accordion dd{
	display: none;
}

.slick-prev{
  left: 5px;
  width: 10px;
  height: 10px;
  z-index: 10;
}
.slick-next{
  right: 5px;
  width: 10px;
  height: 10px;
  z-index: 10;
}
.slick-prev:before, 
.slick-next:before{
  content: '' !important;
  width: 10px;
  height: 10px;
  border-top: #e25211 solid 2px;
  border-left: #e25211 solid 2px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  display: block;
}
.slick-next:before{
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}
.slick-slide:focus{
  outline: 0;
}
.slick-dots li{
  margin: 0;
}
.slick-dots li button:before{
  font-size: 20px;
}
.youtube_wrap{
  position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}
.youtube_wrap iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wrapper{
	width: 90%;
	max-width: 1050px;
	margin: 0 auto;
}

#page{
  padding-top: 45px;
}






/* =Header
-------------------------------------------------------------- */

#site_header{
  background: #e25211;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 99;
  padding: 0 10px;
  height: 45px;
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
}
#header_logo{
  display: block;
}
#header_logo img{
  vertical-align: middle;
  height: 45px;
  width: auto;
}


/* =Nav
-------------------------------------------------------------- */

.menu_wrap dt{
	position: fixed;
	top: 0;
	right: 0;
	width: 45px;
	height: 45px;
	background: none;
	text-align: center;
	z-index: 9999;
}
.menu_wrap dt span{
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
	position: absolute;
	left: 5px;
}
.menu_wrap dt span.border{
	width: 34px;
	height: 3px;
	background-color: #fff;
	border-radius: 3px;
}
.menu_wrap dt span.border:nth-of-type(1) {
	top: 10px;
}
.menu_wrap dt span.border:nth-of-type(2) {
	top: 20px;
	opacity: 1;
}
.menu_wrap dt span.border:nth-of-type(3) {
	top: 30px;
}
.menu_wrap dt.open span:nth-of-type(1) {
	-webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(10px) rotate(-45deg);
}
.menu_wrap dt.open span:nth-of-type(2) {
	opacity: 0;
}
.menu_wrap dt.open span:nth-of-type(3) {
	-webkit-transform: translateY(-10px) rotate(45deg);
	transform: translateY(-10px) rotate(45deg);
}
.main_navigation dd{
	width: 100%;
	background: #e25211;
	z-index: 999;
	position: absolute;
	top: 0;
	left: 0;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}
.main_navigation dd ul{
	position: relative;
  padding: 60px 0;
}
.main_navigation dd ul li a{
	color: #fff;
	display: block;
	padding: 10px;
	border-bottom: #fff dotted 1px;
  position: relative;
}
.main_navigation dd ul li a i{
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
.sub_nav{
  display: none;
}
.entry_content{
	padding-bottom: 80px;
}
.entry_content p{
	word-break: break-all;
}
.entry_content img{
	margin-top: 10px;
	margin-bottom: 10px;
}
.nav_single{
	clear: both;
	text-align: center;
	border-top: #00561f dotted 1px;
	padding-top: 30px;
	position: relative;
}
.nav_single .nav_prev{
	position: absolute;
	top: 30px;
	left: 0;
}
.nav_single .nav_next{
	position: absolute;
	top: 30px;
	right: 0;
}




/* =Footer
-------------------------------------------------------------- */

#site_footer{
  background: #e25211;
  color: #fff;
  padding-top: 50px;
  margin-top: 80px;
}
#site_footer a{
  color: #fff;
}
#footer_logo{
  display: block;
  max-width: 350px;
  margin: 0 auto 30px;
}
#footer_info{
  border-top: #100964 solid 3px;
  margin: 30px 0 50px;
  padding-top: 30px;
}
#footer_info li{
  font-size: 12px;
}
#footer_info li h2{
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 0;
}
#footer_info a{
  text-decoration: underline;
}
#footer_contact{
  background: #000;
  border: #000 solid 1px;
}
#footer_contact::after{
  content: none;
}
#footer_contact:hover{
  background: #fff;
  color: #000;
}
#footer_copy{
  text-align: center;
  font-size: 12px;
  margin: 0;
  padding: 10px 0;
  color: #fff;
  background: #000;
}






/* =TOP
-------------------------------------------------------------- */

#main_visual{
  background: #100964;
  position: relative;
}
#main_visual h1{
  padding: 10px 5%;
  margin: 0;
}
.section_container{
  padding: 30px 0;
}
.section_title{
  font-size: 20px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  letter-spacing: 3px;
  z-index: 5;
}
.title_border{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}
.title_border li{
  width: 5px;
  height: 5px;
  background: #e25211;
  margin: 0 5px;
}

.works_list{
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
}
.works_list li{
  margin-bottom: 20px;
  width: 50%;
  padding: 0 5px;
}
.works_thmb{
  position: relative;
  overflow: hidden;
  margin-btotom: 5px;
}
.works_cat{
  background: #e25211;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  color: #fff;
  padding: 1px 10px;
  text-align: center;
}
#front_works .works_cat{
  font-size: 12px;
}
.works_box p{
  margin-bottom: 0;
  font-size: 12px;
}
.works_box p.works_box__title{
  font-size: 14px;
}
.front_bnr__box{
  margin-bottom: 5px;
}
#front_bnr li a{
  display: flex;
  text-align: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 200px;
}
#front_bnr li a::before{ 
  content: '';
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 200px;
  position: absolute;
  top: 0;
  left: 0;
  transition: 1s;
}
#front_bnr li a h2{
  width: 100%;
  color: #fff;
  margin: 0;
}
#front_bnr__company a::before{
  background-image: url('images/top/company_bg.jpg');
}
#front_bnr__recruit a::before{
  background-image: url('images/top/recruit_bg.jpg');
}




/* =common
-------------------------------------------------------------- */

#page_header{
  padding: 50px 0 20px;
}
#page_header .section_title{
  margin: 0;
  font-size: 25px;
}

#page_404 p{
  margin-bottom: 50px;
}

.page_title{
  margin-bottom: 20px;
  position: relative;
}
.page_title::before{
  content: '';
  background: #100964;
  width: 100%;
  height: 3px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}
.page_title span{
  background: #fff;
  color: #100964;
  font-size: 24px;
  font-weight: bold;
  display: inline-block; 
  padding: 0 20px;
  margin-left: 5%;
}





/* =Contact
-------------------------------------------------------------- */

#contact_attention{
  background: #ffffe0;
  padding: 30px 10px;
  margin-bottom: 50px;
}
#contact_attention h2{
  text-align: center;
  font-size: 16px;
}
#contact_attention ul li{
  text-indent: -1em;
  padding-left: 1em;
  margin-bottom: 5px;
  font-size: 12px;
}
.contact_form{
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.required{
	background: #e60012;
	color: #fff;
	font-size: 12px;
	padding: 1px 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}
.contact_form th{
  position: relative;
  padding-right: 60px;
}
.contact_form input[type="text"],
.contact_form input[type="email"],
.contact_form input[type="tel"],
.contact_form textarea{
	width: 100%;
	padding: 5px;
	margin-bottom: 3px;
}
.contact_form input[type="text"].short_box{
	width: 150px;
}
.contact_form input[type="radio"],
.contact_form input[type="checkbox"]{
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}
.contact_form label{
	cursor: pointer;
}
span.wpcf7-list-item{
  display: block;
  margin-bottom: 5px;
}
div.wpcf7-response-output{
	text-align: center;
}
.btn_submit input[type="submit"]{
	background: #100964;
	color: #fff;
	text-align: center;
	display: block;
	padding: 15px 10px;
	width: 100%;
	max-width: 350px;
	margin: 20px auto 0;
	box-shadow: 0;
	outline: 0;
	border: #100964 solid 1px;
	cursor: pointer;
  transition: .3s;
}
.btn_submit input[type="submit"]:hover{
	color: #100964;
	background: #fff;
}
.contact_form input[disabled]{
	background: #ccc !important;
	border: #ccc solid 1px;
	color: #fff !important;
}




/* =Compnay
-------------------------------------------------------------- */

#idea p{
  text-align: center;
  font-size: 18px;
  margin-bottom: 50px;
  line-height: 2.5;
  font-weight: 600;
}
#overview table{
  max-width: 900px;
  margin: 0 auto;
}
#overview td h3{
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}
#overview td a{
  text-decoration: underline;
}
#overview td a:hover{
  text-decoration: none;
}
#access_map p{
  font-size: 12px;
  margin-bottom: 0;
}
#access_map li{
  margin-bottom: 20px;
}
#access_map li .company_photo{
  margin-top: 20px;
}
.gmap iframe{
  width: 100%;
  height: 250px;
}
#access_map__head{
  display: flex;
  align-items: center;
}
#access_map__head__inner{
  width: 55%;
  padding-right: 10px;
} 
#access_map__head .company_photo{
  width: 45%;
}


/* =Works
-------------------------------------------------------------- */

.page_works__box{
  padding: 50px 0;
  position: relative;
}
.page_works__box:nth-child(2n+1){
  background: #eee;
}
.page_works__box .slider{
  margin-bottom: 10px;
  position: relative;
}
.page_works__box .slick-slide img{
  max-height: 40vh;
  margin: 0 auto;
}
.page_works__box h2{
  font-size: 18px;
  font-weight: bold;
  border-bottom: #100964 solid 2px;
  margin-bottom: 10px;
  color: #100964;
}
.works_photo{
  position: relative;
  margin-bottom: 35px;
}
.works_comment{
  border-top: #aaa dotted 1px;
  padding-top: 10px;
}
.wp-pagenavi{
  text-align: center;
  margin-top: 50px;
}
.wp-pagenavi span,
.wp-pagenavi a{
  border: #100964 solid 1px;
  color: #100964;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: inline-block;
  margin: 0 3px;
  text-align: center;
  line-height: 30px;
  font-size: 12px;
}
.wp-pagenavi .current,
.wp-pagenavi a:hover{
  background: #100964;
  color: #fff;
}



/* =Service
-------------------------------------------------------------- */

.service_box{
  margin-bottom: 50px;
}
.service_box h2{
  margin-bottom: 20px;
}
.service_box img{
  margin-bottom: 10px;
}


.career_list{
  margin-bottom: 50px;
}
.career_list h2{
  margin-bottom: 10px;
}
.career_list p{
  font-size: 12px;
  text-align: right;
  margin-bottom: 10px;
}
.career_list table{
  border: #ccc solid 1px;
}
.career_list table thead{
  display: none;
}
.career_list table tr{
  border: 0;
}
.career_list table tbody th{
  padding: 5px;
  border-bottom: #ccc dotted 1px;
  background: #ccc;
}
.career_list table td{
  padding: 2px 8px;
  font-size: 12px;
}
.career_list table td:first-child::before{
  content: '工事名：';
}
.career_list table td:nth-child(2)::before{
  content: '発注者：';
}
.career_list table td:nth-child(3)::before{
  content: '工事場所：';
}
.career_list table td:nth-child(4)::before{
  content: '区別：';
}
.career_list table td:nth-child(5)::before{
  content: '金額（千円）：';
}
.career_list table td:nth-child(6)::before{
  content: '期間：';
}
/* =Recruit
-------------------------------------------------------------- */

.recruit_box h3{
  color: #e25211;
  font-size: 18px;
  font-weight: bold;
  padding-left: 20px;
  border-left: #e25211 solid 5px;
  line-height: 1.2;
}
.recruit_box{
  margin-bottom: 50px;
}


/* =RWD
-------------------------------------------------------------- */

@media print, screen and (min-width: 768px){
  .pc_none{
		display: none;
	}
	.sp_none{
		display: block;
	}
  table tr{
    border-bottom: #aaa solid 3px;
  }
  table th{
		padding: 20px 10px;
		display: table-cell;
		width: 30%;
    border: 0;
	}
	table td{
		padding: 20px 10px;
		display: table-cell;
	}
	.flex-direction-nav a{
    width: 40px;
    height: 40px;
    opacity: 1;
  }
  .slick-prev{
    left: -20px;
    width: 20px;
    height: 20px;
  }
  .slick-next{
    right: -20px;
    width: 20px;
    height: 20px;
  }
  .slick-prev:before, 
  .slick-next:before{
    width: 20px;
    height: 20px;
  }
  #main_visual{
    text-align: right;
  }
  #main_visual h1{
    padding: 0 5%;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 5;
    transform: translateY(-50%);
  }
  #site_footer .wrapper{
    position: relative;
  }
  #footer_logo{
    margin: 0 0 20px;
    max-width: 360px;
  }
  #footer_contact{
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
  }
  #footer_info{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #footer_info li{
    width: 32%;
  }
  .section_container{
    padding: 50px 0;
  }
  .works_list{
    margin: 0 -10px;
  }
  .works_list li{
    width: 25%;
    padding: 0 10px;
  }
  .works_box .works_thmb img{
    transition: 1s;
  }
  .works_box:hover .works_thmb img{
    transform: scale(1.1);
  }
  #front_bnr{
    display: flex;
  }
  .front_bnr__box{
    width: 50%;
  }
  #front_bnr li a,
  #front_bnr li a::before{
    height: 300px;
  }
  #front_bnr li a:hover::before{
    transform: scale(1.1);
    opacity: .8;
  }
  #front_works__link{
    display: flex;
    justify-content: center;
  }
  #front_works__link li{
    margin: 50px 20px 0;
    width: 300px;
  }
  #page_404 p{
    text-align: center;
  }
  #page_header .section_title{
    font-size: 30px;
  }
  #overview table{
  	table-layout: fixed;
  }
  #overview th{
    text-align: center;
    vertical-align: top;
    font-size: 16px;
    width: 25%;
  }
  #overview td{
  	width: 75%;
  }
  #idea p{
    margin: 30px 0;
    font-size: 30px;
  }
  .page_works__box{
    padding: 80px 0;
  }
  .page_works__box .wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .page_works__box:nth-child(2n) .wrapper{
    flex-direction: row-reverse;
  }
  .page_works__box .works_cat{
    font-size: 16px;
    padding: 5px 10px;
    max-width: 200px;
  }
  .page_works__box:nth-child(2n) .works_cat{
    left: auto;
    right: 0;
  }
  .works_photo{
    width: 55%;
    margin: 0;
  }
  .page_works__box .works_box__inner{
    width: 40%;
  }
  .page_works__box .slick-slide img{
    max-height: 450px;
  }
  .page_works__box h2{
    font-size: 20px;
  }
  .wp-pagenavi span,
  .wp-pagenavi a{
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
  }
  .service_box__inner{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;;
  }
  .service_box__inner img{
    width: 50%;
  }
  .service_box__inner p{
    width: 45%;
    font-size: 16px;
  }
  .recruit_box h3{
    font-size: 20px;
  }
  .career_list table thead{
    display: table-row-group;
    background: #333;
    color: #fff;
    text-align: center;
  }
  .career_list table thead th{
    text-align: center;
  }
  .career_list table tbody th{
    border: #ccc solid 1px;
    border-bottom: #fff solid 1px;
    padding: 10px;
    width: 40%;
  }
  .career_list table td{
    border: #ccc solid 1px;
    padding: 10px;
    text-align: center;
  }
  .career_list table td::before{
    content: none !important;
  }
}
@media print, screen and (min-width: 1024px){
	.accordion dd{
		display: block;
	}
  #page{
    padding-top: 75px;
  }
  #site_header{
    height: 77px;
    display: flex;
    padding: 0 30px;
  } 
  #header_logo{
    margin: 0 auto 0 0;
    max-width: 400px;
    width: 40%;
  }
  #header_logo img{
    height: 60px;
  }
  .scroll #header_logo{
    max-width: 350px;
  }
	.menu_wrap{
		-webkit-transition: .3s;
		transition: .3s;
	}
	.menu_wrap dt{
		display: none;
	}
	.main_navigation dd{
		display: block;
		position: static;
    background: none;
    overflow: visible;
	}
  .main_navigation dd ul{
    padding: 0;
    display: flex;
    justify-content: flex-end;
  }
  .main_navigation dd ul li{
    margin-left: 20px;
    position: relative;
  }
	.main_navigation dd ul li a{
		border: 0;
    padding: 5px 0;
	}
  .main_navigation dd ul li a::before{
    content: '';
    background: #100964;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    position: absolute;
    transition: .3s;
  }
  .main_navigation dd ul li a:hover,
  .main_navigation dd ul li.current a{
    color: #100964;
  }
  .main_navigation dd ul li a:hover::before,
  .main_navigation dd ul li.current a::before{
    width: 100%;
  }
  .main_navigation dd ul li.sp_nav{
    display: none;
  }
  .main_navigation dd ul li a i{
    display: none;
  }
  .main_navigation dd ul.sub_nav{
    position: absolute;
    top: 32px;
    left: 0;
    padding-top: 10px;
    z-index: 99;
    display: none;
  }
  .main_navigation dd li:hover ul.sub_nav{
    display: block;
  }
  .main_navigation dd ul.sub_nav::before{
    content: '';
    border-right: 10px solid transparent;
    border-bottom: 10px solid #100964;
    border-left: 10px solid transparent;
    position: absolute;
    left: 20px;
    top: 0;
  }
  .main_navigation dd ul.sub_nav li{
    margin: 0;
  }
  .main_navigation dd ul.sub_nav li a{
    background: #100964;
    color: #fff;
    padding: 10px 20px;
    white-space: nowrap;
    font-size: 14px;
  }
  .section_container{
    padding: 80px 0;
  }
  .section_title{
    font-size: 30px;
    margin-bottom: 50px;
  }
  .title_border li{
    width: 8px;
    height: 8px;
  }
  #page_header{
    padding: 80px 0 30px;
  }
  #page_header .section_title{
    font-size: 36px;
  }
  #contact_attention{
    padding: 30px 80px;
  }
  #contact_attention h2{
    font-size: 20px;
  }
  #contact_attention ul li{
    font-size: 14px;
  }
  #access_map{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  #access_map li{
    width: 48%;
  }
  #access_map li:first-child{
    width: 100%;
  }
  #access_map li:first-child .gmap iframe{
    height: 400px;
  }
  #access_map li:first-child p{
    font-size: 14px;
  }
  .page_title{
    margin-bottom: 50px;
  }
  .page_works__box h2{
    margin-bottom: 20px;
    font-size: 24px;
  }
  .recruit_box h3{
    font-size: 25px;
  }
  .recruit_box{
    padding: 0 80px;
    margin-bottom: 80px;
  }
  #page_career .section_container{
    padding-top: 50px;
  }
  .career_list table tbody th{
    padding: 15px 10px;
  }
  .career_list table td{
    padding: 15px 5px;
  }
  .career_list p{
    font-size: 14px;
  }
}
@media print, screen and (min-width: 1200px){
  #page{
    padding-top: 77px;
  }
  .main_navigation dd ul li{
    margin-left: 40px;
  }
	.main_navigation dd ul li a{
    font-size: 16px;
	}
  #main_visual h1{
    left: 50%;
    margin-left: -600px;
  }
  #front_bnr li a,
  #front_bnr li a::before{
    height: 400px;
  }
}