@charset "utf-8";

/* =============================================================================
  Elements
   
  ========================================================================== */

body {
  font-size: 15px;
  font-family: 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
}

#wrapper {
	width: 100%;
	overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:hover {
  color: inherit;
  opacity: 0.5;
  filter: alpha(opacity=50);
  -ms-filter: "alpha( opacity=50 )";
  text-decoration: none;
}

a:hover img{
  opacity: 0.5;
  filter: alpha(opacity=50);
  -ms-filter: "alpha( opacity=50 )";
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
	background: none;
}

.container {
  height: auto;
  overflow: hidden;
}

.btn {
  background: #023b89;
  border-radius: 0;
  color: #fff !important;
  font-size: 14px;
  padding: 8px 45px 8px 35px;
  position: relative;
}

.btn:after {
  content: "";
  display: inline-block;
  background: url("img/ico-arrow.png") no-repeat center center;
  background-size: contain;
  width: 8px;
  height: 12px;
  position: absolute;
  top: 50%;
  right: 10px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.btn-white {
  background: #fff;
  border: solid 2px #023b89;
  color: #023b89 !important;
  padding: 6px 45px 6px 35px;
}

.btn-white:after {
  content: "";
  display: inline-block;
  background: url("img/ico-arrow-b.png") no-repeat center center;
  background-size: contain;
  width: 8px;
  height: 12px;
  position: absolute;
  top: 50%;
  right: 10px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

p {
  line-height: 1.86;
}

.page-title h1 {
  background: rgba(51, 51, 51, 0.3);
	color: #fff;
	font-size: 28px;
	font-weight: bold;
	letter-spacing: 5px;
	padding: 80px 0;
	text-align: center;
}

.page-title h1 small {
	display: block;
	font-size: 15px;
	margin-bottom: 10px;
}

.site-body h2 {
	position: relative;
	font-size: 26px;
	font-weight: bold;
	letter-spacing: 3px;
	padding: 0 0 30px 0;
	margin: 80px 0 60px;
	clear: both;
}

.site-body h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #023b89;
  width: 40px;
  height: 3px;
	clear: both;
}

.home .site-body h2 {
	font-size: 26px;
	font-weight: bold;
	letter-spacing: 3px;
	padding: 0;
	margin-bottom: 20px;
}

.home .site-body h2:after {
	display: none;
}

.site-body h3 {
	color: #023b89;
	font-size: 22px;
	font-weight: bold;
	margin: 0 0 20px 0;
	clear: both;
}

.site-body h4 {
	font-size: 19px;
	font-weight: bold;
	margin: 0 0 20px 0;
	padding: 0 0 10px 0;
  border-bottom: solid 1px #eee;
	clear: both;
}

.site-body h5 {
	font-size: 17px;
	font-weight: bold;
	margin: 0 0 20px 0;
	clear: both;
}

.site-body h6 {
	font-size: 15px;
	font-weight: bold;
	margin: 0 0 20px 0;
	clear: both;
}

/*
.page-title {
	background: linear-gradient(rgba(51, 51, 51, 0.3), rgba(51, 51, 51, 0.3)), url("img/slide01.jpg") no-repeat center center;
	background-size: cover;
	clear: both;
}
*/

.about .page-title {
	background: #71a9e4 url("img/hd_about.jpg") no-repeat center center;
	background-size: 70%;
}

@media screen and (max-width: 1150px) {
  .about .page-title {
  	background: url("img/hd_about.jpg") no-repeat center center;
  	background-size: cover;
  }
}

.works .page-title {
	background: url("img/hd-works.jpg") no-repeat center center;
	background-size: cover;
}

.recruit .page-title {
	background: url("img/hd-recruit.jpg") no-repeat center center;
	background-size: cover;
}

.news .page-title {
	background: url("img/hd-news.jpg") no-repeat center center;
	background-size: cover;
}

.row {
	clear: both;
}


/* =============================================================================
   Table
   
  ========================================================================== */

table {
  width: 100%;
}

tr:nth-child(odd) {
  background: #f5f5f5;
}

th,
td {
  padding: 15px;
}

th {
	white-space: nowrap;
}


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

.navbar {
  background: #fff;
  height: 73px;
  padding: 0;
  z-index: 9999;
  box-shadow: 0px 3px 3px -3px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0px 3px 3px -3px rgba(0,0,0,0.5);
  -moz-box-shadow: 0px 3px 3px -3px rgba(0,0,0,0.5);
}

ul.navbar-nav {
  background: #fff;
  width: 100%;
  padding: 30px 30px 0 30px;
  line-height: 1.5;
}

.navbar-expand-md .navbar-nav .nav-link {
  margin: 0 20px;
  white-space: nowrap;
}

a.nav-link {
  color: #333 !important;
  font-weight: bold;
  text-align: center;
  padding: 0 0 16px 0;
}

a.nav-link:hover {
  border-bottom: solid 5px #023b89;
  color: #023b89 !important;
  opacity: 1;
}

.site-logo {
  background: #023b89;
  display: inline-block;
  float: left;
  padding: 30px 30px 20px 30px;
  height: 73px;
}

.site-logo img {
  max-width: 200px;
}

.site-logo a {
  display: inline-block;
}

.active a {
  border-bottom: solid 5px #023b89;
  color: #023b89 !important;
}

/* スマホメニュー */
.navbar-light .navbar-toggler {
	color: inherit;
  border: none;
  border-radius: 0;
  padding: 0 20px 0 0;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("img/toggle.png");
	-webkit-transition: 0.1s;
  transition: 0.1s;
}

.navbar-light .navbar-toggler.active .navbar-toggler-icon {
  background-image: url("img/toggle-open.png");
	-webkit-transition: 0.1s;
  transition: 0.1s;
}


/* =============================================================================
   Body
   
  ========================================================================== */

.site-body {
}

.site-body .container {
  min-height: 700px;
}

.home .site-body .container {
  min-height: inherit;
}




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

footer {
  text-align: center;
  margin: 100px 0 30px;
}

.home footer {
  margin: 0 0 30px;
}

footer h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 45px 0 10px 0;
}

footer address {
  margin: 0 0 45px 0;
}

.pagetop p {
  margin: 0;
}

.pagetop img {
  max-width: 70px;
}

.pagetop a {
  background: #023b89;
  color: #fff;
  display: block;
  padding: 20px 15px;
}

.pagetop a:hover {
  opacity: 0.5;
  filter: alpha(opacity=50);
  -ms-filter: "alpha( opacity=50 )";
  text-decoration: none;
}

.ft-contact {
  background: #eaf0f5;
  padding: 30px;
}

.ft-contact h3 {
  margin: 45px 0 15px 0
}

.btn-contact {
  display: block;
  padding: 15px;
  background: #023b89;
  border-radius: 10px;
  color: #fff;
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 20px;
}

.btn-contact:hover {
  color: #fff;
}

.link-text {
  position: relative;
  padding-left: 37px;
}

.link-text:before {
  position: absolute;
  content: "";
  display: inline-block;
  background: url("img/ico-email.png") no-repeat;
  background-size: contain;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 30px;
  height: 23px;
}

.ft-tel,
.ft-fax {
  color: #023b89;
  display: inline-block;
  font-size: 30px;
  font-weight: bold;
  padding: 0 0 0 30px;
  position: relative;
}

.ft-tel {
  margin: 0 30px 0 0;
}

.ft-fax {
  padding: 0 0 0 37px;
}

.ft-tel:before {
  position: absolute;
  content: "";
  display: inline-block;
  background: url("img/ico-tel.png") no-repeat;
  background-size: contain;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 23px;
  height: 30px;
}

.ft-fax:before {
  position: absolute;
  content: "";
  display: inline-block;
  background: url("img/ico-fax.png") no-repeat;
  background-size: contain;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
}


/* =============================================================================
   Home
   
  ========================================================================== */

h2 {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
  margin: 60px 0 30px 0;
}

.home-sekou {
  background: #f3f1e9;
  padding: 0 0 60px 0;
}


.home-sekou .lead {
  color: #023b89;
  font-weight: bold;
  line-height: 1;
}

.home-sekou .lead + p {
  margin: 0 0 20px 0;
}

.box {
  position: relative;
  min-height: 400px;
}

.home-sekou .box {
  background: url("img/img-zisseki.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
}

.inner-box {
  background: rgba(255, 255, 255, 0.85);
  position: absolute;
  top: 50%;
  left: 0;  
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  max-width: 400px;
  padding: 40px 45px;
}

.home-saiyou {
  margin: 60px 0;
  overflow: hidden;
}

.home-saiyou .inner-box {
  left: inherit;
  right: 0;
}

.home-saiyou h2 {
  text-align: left;
  margin: 0 0 15px 0;
}

.home-saiyou .box {
  background: url("img/bg-recruit.jpg") no-repeat center center;
  background-size: cover;
  min-height: 400px;
}

.home-news {
  position: relative;
}

.home-news .btn-white {
  position: absolute;
  right: 0;
  top: -6px;
}


/* =============================================================================
   会社概要
   
  ========================================================================== */

.rinen {
	color: #2890e5;
	font-weight: bold;
	font-size: 26px;
	text-align: center;
	margin: 0 0 100px 0;
}


/* =============================================================================
   施工実績
   
  ========================================================================== */

.box-works {
	margin: 80px 0;
}

.box-works:last-child {
	margin: 80px 0 0;
}

.box-works a {
	margin: 0 0 30px;
}

.works .site-body h3 {
	padding: 15px 0;
}

.works .site-body h3 small {
	color: #999;
	font-size: 15px;
}

.works .col-md-4 a {
	display: block;
  max-height: 123px;
  overflow: hidden;
}

.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* =============================================================================
   採用情報
   
  ========================================================================== */

.message {
	margin: 15px 0 100px 0;
	overflow: hidden;
	font-weight: bold;
	font-size: 18px;
}

.message p {
	margin: 0;
	padding: 15px 20px;
	border: solid 1px #2890e5;
	height: 94px;
}

.message p:first-child {
	color: #fff;
	width: 350px;
	background: #2890e5;
	float: left;
}

.message p:last-child {
	color: #2890e5;
	width: 70%;
	width: calc(100% - 350px);
	width: -webkit-calc(100% - 350px);
	float: left;
}

.profile {
	position: relative;
}

.profile img {
	width: 100%;
	margin: 0;
}

.profile h3 {
  color: #2790e5;
	font-size: 24px;
	padding: 15px 15px 5px;
	border-left: solid 3px #2790e5;
/*
	margin-top: 15px;
	position: absolute;
	bottom: 10px;
	left: 10px;
	background: rgba(255, 255, 255, 0.8);
*/
	background: #ecf1f5;
/*
	width: 95%;
	width: calc(100% - 20px);
	width: -webkit-calc(100% - 20px);
*/
}

.profile h3 small {
	display: block;
	font-size: 13px;
	margin: 10px 0;
	line-height: 1.6;
  color: #666;
}

.recruit .site-body h4 {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px 0;
  padding: 0 0 10px 0;
  border-bottom: solid 1px #eee;
  clear: both;
}

.recruit .site-body h4 {
  margin: 0 0 10px 0;
}

.recruit .site-body h4 + p {
  margin: 0 0 30px 0;
}


/* =============================================================================
   お知らせ
   
  ========================================================================== */

.date {
  margin-right: 15px;
}



/* =============================================================================
   slick
   
  ========================================================================== */

.slider {
  opacity: 0;
  padding: 0;
  transition: opacity .3s linear;
}

.slick-dotted.slick-slider {
  margin-bottom: 0;
}

.slick-list:before {
  position: absolute;
  color: #fff;
  content: "確かな技術で、住まいを造る。";
  font-size: 22px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%); /* Safari用 */
  transform: translate(-50%, -50%);
  z-index: 9999;
  letter-spacing: 3px;
}

.slider.slick-initialized {
  opacity: 1;
}

.slick-dots {
  bottom: 15px;
}

.slick-dots li {
  height: 7px;
  width: 70px;
}

.slick-dots li button:before {
  content: "";
  display: inline-block;
  background: #fff;
  height: 7px;
  width: 70px;
  opacity: 1;
}

.slick-dots li.slick-active button:before {
  content: "";
  display: inline-block;
  background: #2890e5;
  height: 7px;
  width: 70px;
  opacity: 1;
}

.slick-slide {
  min-height: 500px;
  background: url("img/slide02.jpg") center bottom / cover no-repeat;
}

.slick-slide:nth-child(2) {
  min-height: 500px;
  background: url("img/slide05.jpg") center center / cover no-repeat;
}

.slick-slide:nth-child(3) {
  min-height: 500px;
  background: url("img/slide04.jpg") center center / cover no-repeat;
}


/* =============================================================================
   お知らせ
   
  ========================================================================== */

.list-news {
  list-style-type: none;
  padding: 0;
}

.list-news a {
  color: #2890e5;
}

.list-news li {
  padding: 13px 20px;
}

.list-news li:nth-child(odd) {
  background: #eaf0f5;
}

.home .list-news {
  margin: 0 0 60px 0;
}




	/* 979px以下用（タブレット用）の記述 */
@media screen and (max-width: 979px) {
	.home-saiyou .facebook {
		width: 100%;
		margin-top: 50px;
	}
}


	/* 767px以下用（タブレット／スマートフォン用）の記述 */
@media screen and (max-width: 767px) {
	.site-body .d-flex {
		flex-direction: column-reverse;
	}
  .date {
    margin-right: 0;
    display: block;
  }
  .home .list-news {
    margin: 0 0 30px 0;
  }
  .home-news .btn-white {
    display: block;
    margin: 0 auto 60px;
    max-width: 154px;
    position: inherit;
  }
  .home-sekou .col-md-4 img {
    margin: 30px 0 0;
  }
  .active .nav-link,
  a.nav-link:hover {
    border-bottom: 0;
  }
  ul.navbar-nav {
    padding: 0;
    border-bottom: solid 1px #ccc;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    margin: 0;
    padding: 15px;
    border-top: solid 1px #ccc;
  }
  .inner-box {
    max-width: 85%;
    padding: 40px 25px;
  }
  .message p:first-child,
  .message p:last-child {
    width: 100%;
    height: auto;
    float: inherit;
  }
  .profile h3 {
    margin: 0 0 50px 0;
  }
  .box-works h4 + p {
    margin: 0 0 30px 0;
  }
  .home-saiyou .facebook {
    margin: 30px 0 0 0;
  }
  .navbar {
    height: 52px;
  }
  .site-logo {
    padding: 15px 30px 15px 20px;
    height: 52px;
  }
  .navbar-toggler-icon {
    width: 25px;
    height: 25px;
  }
  header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
  }
  .page-title,
  .slider {
    margin-top: 52px;
  }
}


	/* 545px以下用（スマートフォン用）の記述 */
@media screen and (max-width: 545px) {
  body {
    font-size: 14px;
  }
  .ft-fax,
  .ft-tel {
    margin: 0 10px;
  }
  .message p {
    padding: 10px 15px;
    font-size: 15px;
  }
  .rinen {
    font-size: 22px;
    padding: 0 15px;
  }
  .home .site-body h2,
  .site-body h2 {
    font-size: 22px;
    margin: 50px 0 30px;
  }
  .home .site-body h2 {
    margin: 50px 0 15px;
  }
  .home .site-body .home-saiyou h2 {
    margin: 0 0 15px;
  }
  .home-news .btn-white {
    margin: 0 auto 50px;
  }
  .site-body h3 {
    font-size: 20px;
  }
  .site-body h4,
  .recruit .site-body h4 {
    font-size: 16px;
  }
  .site-body h5 {
    font-size: 15px;
  }
  .ft-tel,
  .ft-fax {
    font-size: 24px;
    padding: 0 0 0 40px;
  }
  footer h3 {
    font-size: 18px;
  }
  .btn-contact {
    max-width: 280px;
    font-size: 16px;
  }
  .btn-contact + p {
    font-size: 11px;
    white-space: nowrap;
    margin: 0 0 45px 0;
  }
  .slick-slide,
  .slick-slide:nth-child(2),
  .slick-slide:nth-child(3) {
    min-height: 300px;
  }
  .ft-contact h3 {
    margin: 20px 0;
  }
  table th {
    white-space: normal;
  }
}



/* =============================================================================
   Print Style
   
  ========================================================================== */


@media print {
  .container {
    width: auto;
  }
}
