/* CSS Document */

/* Flexible Images */

img {
	max-width: 100%;
	height: auto;
	width/***/
	: auto;
}
/* ------------------------------------------------------------------------ */

/*  Basic Style

/* ------------------------------------------------------------------------ */

body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: "メイリオ", Meiryo, 'ヒラギノ角ゴ Pro W3', "Hiragino Kaku Gothic Pro", 'ヒラギノ角ゴ ProN W3', "Hiragino Kaku Gothic ProN", MS PGothic, sans-serif;
	font-size: 1.6rem;
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	color: #1a1a1a;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}
#wrap {
	margin: 0 auto;
	text-align: center;
	overflow: hidden;
}
body>#wrap {
	height: auto;
	box-sizing: border-box;
}
a:link {
	text-decoration: none;
}

h1,h2{
  font-weight: bold;
  margin: 0;
  line-height: 1.5;
}
/*contents*/

#h_inquiry {
	max-height: 361px;
	height: 100%;
	background: url("../img/h1_corporation_pc.jpg") no-repeat center center;
	color: white;
	background-size: cover;
}
.container {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	padding: 2.5% 0;
	text-align: left;
}
#h_inquiry h1 {
	font-size: 38px;
	letter-spacing: 2.5;
	margin-bottom: 10px;
}
#h_inquiry p {
	font-weight: bold;
	font-size: 14px;
	letter-spacing: 1.7px;
	margin-top: 30px;
}
.inner {
	margin: 80px auto;
	max-width: 1000px;
	width: 100%;
}
.inner h2 {
	font-size: 28px;
	margin-top: 20px;
}
@media screen and (max-width:1000px) {
  .container{
		padding: 3%;
  }
	.inner {
		box-sizing: border-box;
    padding: 0 15px;
	}
}

@media screen and (max-width:768px) {
	.inner {
    padding: 0;
	}
	#h_inquiry {
		padding: 0;
		background: url("../img/h1_corporation_sp.jpg") no-repeat center center;
		background-size: 100%;
    height: 255px;
		max-height: auto;
	}
	#h_inquiry h1 {
		font-size: 30px;
	}
  #h_inquiry p {
    margin-top: 10px;
  }
	.container {
    position: absolute;
    box-sizing: border-box;
	}
}

/*共通ボックス*/

.service_box {
	display: flex;
	margin-top: 40px;
	position: relative;
}
.service_box.mansion {
	flex-direction: row-reverse;
}
.service_contents {
	width: 100%;
	position: absolute;
}
.service_box.architecture .service_contents {
	max-width: 420px;
}
.service_box.mansion .service_contents {
	max-width: 424px;
}
.service_box.temporary .service_contents {
	max-width: 420px;
}
.service_box.architecture .service_contents,
.service_box.temporary .service_contents {
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}
.service_box.mansion .service_contents {
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.service_contents p.icon_txt {
	font-size: 26px;
	font-weight: bold;
	display: flex;
	flex-direction: column;
	position: relative;
	padding-left: 90px;
	text-align: left;
}
.architecture p.icon_txt {
	max-width: 300px;
}
.mansion p.icon_txt {
	max-width: 520px;
	width: 120%;
}
.temporary p.icon_txt {
	max-width: 300px;
}
.icon_txt:before {
	content: "";
	width: 80px;
	height: 80px;
	display: block;
	position: absolute;
	left: 0;
	top: 5px;
}
.service_box.architecture .icon_txt:before {
	background: url("../img/icon_architecture.png") no-repeat;
}
.service_box.mansion .icon_txt:before {
	background: url("../img/icon_mansion.png") no-repeat;
}
.service_box.temporary .icon_txt:before {
	background: url("../img/icon_temporary.png") no-repeat;
}
.service_contents p.icon_txt img {
	margin-right: 10px;
}
.service_contents p.icon_txt span {
	color: #ff8800;
	font-size: 12px;
	border-bottom: 2px dotted #ff8800;
	padding-bottom: 2px;
	margin-bottom: 5px;
}
.architecture p.icon_txt span {
	width: 204px;
  display: inline-block;
}
.mansion p.icon_txt span {
	width: 277px;
  display: inline-block;
}
.temporary p.icon_txt span {
	width: 145px;
  display: inline-block;
}

@media screen and (max-width:768px) {

.service_box,.service_box.mansion {
   flex-direction: column;
   align-items: center;
}
  .service_box.architecture .service_contents,.service_box.mansion .service_contents, .service_box.temporary .service_contents {
      position: inherit;
      transform: none;
      padding: 0 15px;
      box-sizing: border-box;
  }

.service_contents p.icon_txt {
    padding-top: 40px;
    padding-left: 0;
    margin: 0 auto;
    text-align: center;
  font-weight: bold;
}
.service_contents p.icon_txt_sp {
    font-size: 26px;
    font-weight: bold;
    line-height: 1.3;
    margin-top: 5px;
}
  .icon_txt:before {
    left: 50%;
    top: -45px;
    transform: translateX(-50%);
  }
  
.service_contents p.icon_txt span {
  margin: 0 auto;
  display: inline-block;
  margin-bottom: -50px;
  padding: 0;
  font-size: 13px;
}
.architecture p.icon_txt{
    min-width: 235px;
  }
.mansion p.icon_txt {
  width: 100%;
}
.architecture p.icon_txt span {
    width: 235px;
}
.mansion p.icon_txt span {
    width: 310px;
}
.temporary p.icon_txt span {
    width: 170px;
}
  
  .icon_txt:before {
    background-size: 80px !important;
  } 
.service_box.architecture .icon_txt:before {
	background: url("../img/icon_architecture_sp.png") no-repeat;
}
.service_box.mansion .icon_txt:before {
	background: url("../img/icon_mansion_sp.png") no-repeat;
}
.service_box.temporary .icon_txt:before {
	background: url("../img/icon_temporary_sp.png") no-repeat;
}

}
/*リンクボタン*/

.btn_area {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-top: 25px;
}
.btn_area a {
	width: calc((100%/2) - 5px);
	background: #ff8800;
	color: #FFF;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
	padding-left: 10px;
	height: 50px;
	margin-bottom: 10px;
	text-align: left;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	position: relative;
  font-feature-settings: "palt";
}
.btn_area a.disabled {
  background: #cccccc;
  pointer-events: none;
}
@media all and (-ms-high-contrast: none){
.btn_area a {
  padding-top: 5px;
  }
}
.btn_area a:nth-last-child(-n+2) {
	margin-bottom: 0;
}
.btn_area a:after {
	position: absolute;
  top: 50%;
	right: 10px;
  transform: translateY(-50%);
	content: "";
	width: 21px;
	height: 8px;
	background: url("../../img/icon_more02.png") no-repeat;
	transition: 0.2s all ease;
}
.btn_area a:hover:after {
	text-decoration: none;
	transform: translate(5px,-50%);
}
.btn_area a:hover {
	background: #fd9723;
}
.btn_area a span.small {
	font-size: 12px;
  display: contents;
}

@media screen and (max-width:375px) {
.btn_area a {
  font-size: 80%;
  }
}