
.banner {
  padding-top: 30px;
  padding-bottom: 10px;
}

div#title h2.jp {
  color: #fff;
}

div#title p.oh_news{
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    width: 1200px;
	font-size: 26px;
	font-weight: bold;
	color: #003f84;

}

div#title span.bg-w{
box-sizing: border-box;
background-color: #fff;
width: 50%;
padding: 14px 10px 10px 10px;
}

div#title span.oh_fw-b{
	font-size: 40px;
}

.oh_info p{
	font-weight: bold;
	color: #f44336;
}

.oh_info .oh_fw-b{
	font-size: 30px;
}



h3.h3_type01.openhouse_title {
  font-size: 24px;
  font-weight: bold;
  margin: 40px 0 20px 0;
  padding: 10px;
  background: #009688;
  color: #FFF;
  width: 50%;
  text-align: center;
}

.sns-share {
  height: 30px;
  text-align: right;
}

.fb_iframe_widget {
  padding-right: 20px;
  vertical-align: top;
}

.fb_iframe_widget span {
  vertical-align: top !important;
}

main#container section.block div.block_inner.openhouse {
  width: 960px;
}

.flexbox3col div.col div.col_inner {
  border: 1px solid #00bfa5;
  position: relative;
  z-index: 2;
}

.oh_start,
.oh_end {
  display: inline-block;
}

.oh_date {
  /* font-family: 'DINNextLTPro-MediumCond';
  font-size: 24px;
  font-weight: normal; */
  font-feature-settings: "palt";
  font-size: 21px;
  font-weight: bold;
  margin: 0;
  padding: 0;
}
.oh_day {
  font-size: 40px;
}

.saturday {
  color: #2196f3;
  padding-left: 5px;
}

.holiday {
  color: #f44336;
  padding-left: 5px;
}

.flexbox3col div.col div.col_inner .oh_box_inner_1 {
  position: relative;
}

.flexbox3col div.col div.col_inner .oh_box_inner_3 {
  padding: 30px 0 15px;
}

.flexbox3col div.col div.col_inner .oh_box_inner_4 {
  border-top: 1px dotted #00bfa5;
  margin-top: 15px !important;
  padding: 15px 0 0 !important;
}

.openhouse-btn {
  background-color: #424242 !important;
  font-size: 16px !important;
  text-align: center !important;
}

.openhouse-btn:after {
  top: 12px !important;
}

.oh_icon {
  width: 60px;
  height: 60px;
  display: inline-block;
  background: #f44336;
  border-radius: 50%;
  color: #fff !important;
  line-height: 24px;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
  padding: 5px 0;
  position: absolute;
  top: 90px;
  right: 10px;
  overflow: inherit;
}

.oh_icon:before {
  content: "";
	position: absolute;
	bottom: -2px;
	left: -1px;
	margin-top: -15px;
	border: 5px solid transparent;
	border-right: 10px solid #f44336;
	-ms-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.oh_icon.next {
  background: #ff9800;
}

.oh_icon.next:before {
	border-right: 15px solid #ff9800;
}


@media screen and (min-width: 768px) and (max-width: 1200px) {
}

@media screen and (max-width: 767px) {

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


  div#title.openhouse h2.jp {
    color: #212121;
    font-size: 24px;
    font-weight: bold;
    font-family: inherit;
  }

  h3.h3_type01.openhouse_title {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 15px 0;
    padding: 10px 15px;
    background: #009688;
    color: #FFF;
    width: 75%;
    text-align: left;
  }

  main#container section.block div.block_inner.openhouse {
    width: 100%;
  }

  .oh_date {
    font-size: 16px;
    display: inline-block;
    position: absolute;
    left: 135px;
  }

  .oh_day {
    font-size: 32px;
  }

  .saturday,
  .holiday {
    font-size: 16px;
  }

  .oh_icon {
    font-size: 12px;
    width: 45px;
    height: 45px;
    line-height: 16px;
    padding: 7px 0;
    top: 15px;
    right: 15px;
  }

  .flexbox3col div.col {
    padding: 0;
    background-color: #f5f5f5;
  }
  .flexbox3col div.col:last-of-type {
    border-bottom: 1px solid #9e9e9e;
  }

  .flexbox3col div.col div.col_inner {
    border: none;
    border-top: 1px solid #9e9e9e;
    background-color: inherit;
  }

  .flexbox3col div.col div.col_inner .oh_box_inner_1 {
    float: left;
    width: 105px !important;
  }

  .flexbox3col div.col div.col_inner .oh_box_inner_3 {
    font-size: 12px !important;
    padding: 15px 0 8px 15px;
    float: left;
    padding-left: 15px;
    padding-top: 50px;
    width: calc(100% - 120px) !important;
  }

  .flexbox3col div.col div.col_inner .oh_box_inner_4 {
    font-size: 12px !important;
    margin-top: 7px !important;
  }

  .openhouse-btn:after {
    top: 8px !important;
  }

}





/*=================
202308 施工事例一覧　写真２枚ずつ表示
=================*/

.flexbox3col.gallery.ver2{
	margin-bottom: 50px;
}	
.flexbox3col.gallery.ver2 div.col div.col_inner div.oh_box div.oh_box_inner_1 div.hh_img_box:nth-child(2) {
    display: block;
}
.flexbox3col.gallery.ver2 div.col div.col_inner div.oh_box div.oh_box_inner_1{
	display: flex;
	justify-content: space-between;
}
.flexbox3col.gallery.ver2 div.col div.col_inner div.oh_box div.oh_box_inner_1 div.hh_img_box{
	width:49%;
	aspect-ratio: 296 / 197;
/*	aspect-ratio: 1 / 1;*/
}
/*
.flexbox3col.gallery.ver2 div.col div.col_inner div.oh_box div.oh_box_inner_1 div.hh_img_box img{
   width: 100% !important;
   height: 100% !important;
   object-fit:cover;	
}
*/

.flexbox3col.gallery.ver2 div.col div.col_inner div.oh_box div.oh_box_inner_1 div.hh_img_box img {
     width: 100% !important; 
    height: 100% !important;
    /* object-fit: cover; */
    object-fit: contain;
/*	background: #F5F5F5;*/
}

.flexbox3col.gallery.ver2 div.col div.col_inner {
/*	padding: 25px 15px;*/
	padding: 30px 15px 20px 15px;
}
.flexbox3col.gallery.ver2 div.col div.col_inner div.oh_box div.oh_box_inner_7 {
    padding-top: 10px;
	padding-bottom: 0;
}

.flexbox3col.gallery.ver2 div.col div.col_inner .oh_box_inner_3 {
    padding-top: 15px;
}


@media screen and (min-width: 768px) {
	
	.flexbox3col.gallery.ver2 div.col {
		width: calc(100% / 3 );
		padding: 12px;
	}
	.flexbox3col.gallery.ver2 div.col div.col_inner .oh_box_inner_3 {
		min-height: 57px;
	}
	
}

@media screen and (max-width: 767px) {
	
	.flexbox3col.gallery.ver2 div.col div.col_inner .oh_box_inner_1 {
		float:none;
		width: 100% !important;	
	}
	.flexbox3col.gallery.ver2 div.col div.col_inner {
		padding: 15px;
		margin:0;
	}

	.flexbox3col.gallery.ver2 div.col div.col_inner .oh_box_inner_3 {
		font-size: 14px !important;
		padding: 15px 0 0 0 !important;
		float: none;
		width: 100% !important;
	}	
	
}