/*==========================================
  イベント＆見学会一覧
===========================================*/

.event_list {
  max-width: 940px;
  margin: 0 auto 0;
  font-weight: 500;
  font-size: 16px;
}

.event_list a {
  text-decoration: none;
  opacity: 1;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all  0.2s ease;
}

.event_list a:hover {
  text-decoration: none;
  opacity: .7;
}

.event_header .event_nav {
  list-style-type: none;
  padding: 0;
}

.event_header .event_nav a {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 5px;
  margin-bottom: 22px;
  padding: 3px 0;
  display: block;
  border: 1px solid #ccc;
}

.event_nav .selected_category a {
  border: 1px solid #1a1a1a;
  background: #1a1a1a;
  color: #fff;
}

.event_containers {
  margin-top: 33px;
}

.event_container {
  margin-bottom: 30px;
}

.event_container:nth-child(odd) .event_container_inside {
  margin: 0 auto 0 0;
}

.event_container:nth-child(even) .event_container_inside {
  margin: 0 0 0 auto;
}

.event_container_inside {
  max-width: 420px;
}

/* 住宅見学会またはイベントのタグ */
.event_category_tag {
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  width: 80px;
  padding-top: 1px;
  text-align: center;
}

.event_content_title {
  display: flex;
  margin-top: 28px;
  margin-bottom: 10px;
  overflow-y: hidden;
}

/* newラベルコンテナ */
.event_new {
  padding: 6px 0 0;
  width: 45px;
}

/* newラベル */
.event_newlabel {
  background: #cf000e;
  font-size: 12px;
  color: #fff;
  border-radius: 3px;
  padding: 2px 2px 0 4px;
  width: 40px;
  line-height: 13px;
  height: 15px;
}

.event_title {
  font-weight: 600;
  height: 60px;
  flex: 1;
}

/* メイン画像コンテナ */
.event_list .event_main_imgbox {
  width: 100%;
  height: auto;
  max-width: 420px;
  max-height: 280px;
  position: relative;
  overflow: hidden;
  clear: both;
}
  
.event_list .event_main_imgbox::before {
  content:"";
  display: block;
  padding-top: 66.7%;
}

/* 画像 */
.event_list .event_main_img {
  /*width: 100%;*/
  width: auto;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

.event_list .event_date {
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 10px;
  border-bottom: 1px dashed #ccc;
}

/* 開催日時 */
.event_list .event_date_title {
  width: 80px;
  margin: 4px 10px 10px 0;
  padding: 15px 0;
  background: #ccc;
  font-weight: 600;
  text-align: center;
  color: #323232;
}

.event_list .event_date_value {
  margin-top: 5px;
  height: 55px;
  overflow-y: hidden;
}

.event_list .event_place {
  font-size: 14px;
  margin-top: 10px;
}

/* 開催場所 */
.event_list .event_place_title {
  width: 80px;
  margin: 0 10px 0 0;
  padding: 2px 0;
  background: #ccc;
  font-weight: 600;
  text-align: center;
  color: #323232;
}

.event_list .event_place_value {
  margin-top: 2px;
  height: 25px;
  overflow-y: hidden;
}

/* 詳しくはこちら大枠 */
.event_list .event_details {
  display: block;
  margin: 12px 0 0 auto;
}

/* 詳しくはこちらボタン */
.event_list .details {
  background: #fbb03b;
  border-radius: 12px;
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: 600;
  height: 25px;
  line-height: 18px;
  margin: 0 0 0 auto;
  padding: 4px 8px 5px 12px;
  width: 152px;
}
/* IE11 */
@media all and (-ms-high-contrast:none){
  /* 詳しくはこちらボタン */
  .event_list .details {
    padding: 5px 8px 5px 12px;
  }
}

/* Edge */
@supports (-ms-ime-align:auto) {
  
  /* newラベル */
  .event_newlabel {
    padding: 1px 2px 0 4px;
  }
}

/* 小さい画面 */
@media(max-width: 767px){

  .event_nav li:nth-child(odd) {
    padding-right: 7px;
  }
  .event_nav li:nth-child(even) {
    padding-left: 7px;
  }

  .event_container:nth-child(odd) .event_container_inside,
  .event_container:nth-child(even) .event_container_inside {
    margin: 0 auto;
  }
  
  /* もっと見るボタン */
  .more_button button {
    width: 170px;
  }
}


/* IE11 */
@media all and (-ms-high-contrast:none){

  .event_list .event_category_tag {
    padding-top: 1px;
  }

  .event_header .event_nav a {
    padding: 6px 0 0;
  }
  .event_list a:hover {
    opacity: inherit;
  }
  
  /* 住宅見学会またはイベントのタグ */
  .event_category_tag {
    height: 18px;
  }

  /* newラベル */
  .event_newlabel {
    padding: 3px 2px 1px 4px;
  }

  /* 開催日時 */
  .event_list .event_date_title {
    padding: 17px 0 13px;
  }

  .event_list .event_date_value {
    margin-top: 7px;
  }

  /* 開催場所 */
  .event_list .event_place_title {
    padding: 4px 0 0;
  }

  .event_list .event_place_value {
    margin-top: 4px;
  }

  /* 詳しくはこちら大枠 */
  .event_list .event_details {
    line-height: 30px;
  }

  /* もっと見るボタン */
  .more_button button {
    padding-top: 10px;
  }
} 

/*==========================================
  イベント＆見学会 詳細
===========================================*/

.event_single {
  max-width: 940px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 500;
}

.event_single img {
  width: 100%;
}

.event_single a {
  text-decoration: none;
  opacity: 1;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all  0.2s ease;
}

.event_single a:hover {
  text-decoration: none;
  opacity: .7;
}

.event_single p {
  padding: 0;
  margin-bottom: 0;
}

.event_single .header_button {
  display: block;
  width: 260px;
  background: #999;
  color: #fff;
  border-radius: 3px;
  text-align: center;
  line-height: 32px;
  margin: 7px 0 30px auto;
}

.event_single .event_new {
  padding: 8px 0 0;
}

.event_single .event_title {
  height: auto;
  font-size: 24px;
  line-height: 40px;
}

.event_single .event_content_title {
  margin-top: 16px;
  border-bottom: 1px solid #000;
  margin-bottom: 22px;
  padding-bottom: 12px;
}

/* 1つめの参加お申込 */
.event_single .event_entry a {
  color: #fff;
  display: block;
  background: #4d4d4d;
  width: 260px;
  line-height: 40px;
  margin: 0 0 22px auto;
  text-align: center;
}

/* フッター付近の参加お申込 */
.event_single .event_entry2 a {
  color: #fff;
  display: block;
  background: #4d4d4d;
  width: 260px;
  line-height: 40px;
  margin: 30px auto 0;
  text-align: center;
}


/* イベント概要 */
.event_overview {
  border: 1px solid #9f9e9c;
  margin-bottom: 55px;
  width: 100%;
}

.event_overview tr td {
  padding: 12px 10px;
  border-bottom: 1px solid #9f9e9c;
}

.event_overview tr td:nth-child(1) {
  border-right: 1px solid #9f9e9c;
  margin-bottom: 55px;
  background: #f1edea;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  width: 78px;
}

/* メイン画像コンテナ */
.single_main_img {
  width: 100%;
  height: auto;
  max-width: 910px;
  /*max-height: 500px;*/
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

/*.single_main_img::before {
  content:"";
  display: block;
  padding-top: 54.9%;
}*/
.single_main_img .main_imgbox{
 padding-top:65%;
}

/* メイン画像 */
.single_main_img img {
  /*width: 100%;*/
  width: auto;
  height: 100%;
  /*object-fit: cover;*/
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

.row_container {
  margin-bottom: 40px;
}

/* テキストのみのフォーマットの下だけ多めに余白とる */
.text_only {
  margin-bottom: 55px;
}

/* 画像説明 */
.description {
  font-size: 12px;
  margin: 6px 0 8px;
}

.right_container {
/*  float: right;*/
}

/* 左画像、右テキストのときの画像 */
.row_container.left_img {
  display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	-ms-flex-pack: justify;
}
@media(max-width: 767px){
.row_container.left_img {
	display: block;
}
}
.left_img .left_container {
  flex-basis: 47%;
}
.left_img .text {
	flex-basis: 50%;
}
.left_img img {
	max-width: 100%;
}

/* 右画像、左テキストのときの画像 */
.row_container.right_img {
  display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	-ms-flex-pack: justify;
	flex-direction: row-reverse;
}
@media(max-width: 767px){
.row_container.right_img {
	display: block;
}
}
.right_img .right_container {
  flex-basis: 47%;
}
.right_img .text {
	flex-basis: 50%;
}

.right_img img {
	max-width: 100%;
}

/* 見出し */
.event_single .headline {
  font-size: 21px;
  line-height: 35px;
}

/* 画像横並びコンテナ */
.row_container.img_pair {
  display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	-ms-justify-content: space-between;
	-ms-flex-pack: justify;
}
@media(max-width: 767px){
.row_container.img_pair {
	display: block;
}
}
.img_pair .left_container {
/*  max-width: 445px;
  padding-left: 0;*/
	flex-basis: 48%;
}

.img_pair .right_container {
/*  max-width: 445px;
  padding-right: 0;*/
	flex-basis: 48%;
}

/* 画像横並びのときの画像領域 */
.img_pair .imgbox {
/*  width: 100%;
  height: auto;
  max-width: 430px;
  max-height: 290px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;*/
	text-align: center;
}

.img_pair .imgbox::before {
/*  content:"";
  display: block;
  padding-top: 67.4%;*/
}

/* 画像横並びのときの画像 */
.img_pair img {
/*  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;*/
	max-width: 100%;
	height: 280px;
}

/* 画像のみのときの画像 */
.img_only img {
/*  width: 100%;*/
	max-width: 100%;
}

/* 画像のみ */
.img_only .imgbox {
/*  width: 100%;
  height: auto;
  max-width: 910px;
  max-height: 450px;
  position: relative;
  overflow: hidden;*/
	text-align: center;
}

/*.img_only .imgbox::before {
  content:"";
  display: block;
  padding-top: 49.5%;
}*/

.img_only .imgbox img {
/*  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;*/
	max-width: 100%;
	max-height: 510px;
}

/* 地図コンテナ */
.google_mapbox {
  width: 100%;
  height: auto;
  max-width: 910px;
  max-height: 420px;
  position: relative;
  overflow: hidden;
  }
  
.google_mapbox::before {
  content:"";
  display: block;
  padding-top: 46.2%;
}

/* 地図 */
.google_mapbox .google_map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

/* イベント＆見学会一覧へボタン */
.event_single_foot .more_button {
  margin-top: 40px;
}

/* 小さい画面 */
@media(max-width: 767px){

  /* メイン画像以外の、画像のみを囲むdiv要素 */
/*  .img_pair > .left_container,
  .img_pair > .right_container,
  .left_container img,
  .right_container img,
  .img_pair .description {
    margin: 0 auto;
  }
  
  .right_img .description {
    max-width: 380px;
  }
  
  .left_container, .right_container {
    float: none;
    margin: 0 auto 22px;
  }
  
  .left_container img, .right_container img {
    display: block;
  }

  .img_pair .description {
    max-width: 430px;
  }*/

  /* 左画像右テキストの画像領域 */
  /* 右画像左テキストの画像領域 */
  /* 画像のみの画像領域 */
  /* 画像横並びの画像領域 */
/*  .left_container .imgbox,
  .right_container .imgbox,
  .img_only .imgbox,
  .img_pair .left_container .imgbox,
  .img_pair .right_container .imgbox {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
  }*/

  /* 左画像右テキスト */
/*  .left_img .left_container {
    margin: 0 auto;
    float: none;
  }

  .left_img .left_container .imgbox::before {
    content:"";
    display: block;
    padding-top: 67.4%;
  }

  .left_img .left_container .imgbox img {
    width: 100%;
    height: 100%;
    max-width: 430px;
    max-height: 290px;
    object-fit: cover;

    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
  }*/
	.left_img .text {
		margin-top: 20px;
	}

  /* 右画像左テキストの画像 */
  .right_img .right_container {
/*    width: 100%;
    max-width: 380px;
    float: none;
    margin: 0 auto;*/
  }

  .right_img .right_container .imgbox::before {
/*    content:"";
    display: block;
    padding-top: 126.3%;*/
  }

  .right_img .right_container .imgbox img {
/*    width: 100%;
    height: 100%;
    max-width: 380px;
    max-height: 480px;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;*/
  }
	.right_img .text {
		margin-top: 20px;
	}

  /* 画像横並びの左 */
/*  .img_pair .left_container,
  .img_pair .right_container {
    width: 100%;
    padding: 0;
  }
  
  .img_pair .left_container .description {
    margin-bottom: 20px;
  }

  .img_pair .left_container .imgbox::before,
  .img_pair .right_container .imgbox::before {
    content:"";
    display: block;
    padding-top: 67.4%;
  }

  .img_pair .left_container .imgbox img,
  .img_pair .right_container .imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
  }*/
	.img_pair .right_container {
		margin-top: 40px;
	}
	.img_pair img {
		height: auto;
	}
  
  /* イベント＆見学会一覧へボタン */
  .more_button button {
    width: 190px;
  }
}


/* IE11 */
@media all and (-ms-high-contrast:none){

  .event_single .event_new {
    padding: 5px 0 0;
  }
  
  .event_newlabel {
    padding: 3px 2px 2px 4px;
  }

  .event_overview tr td {
    padding: 14px 10px 10px;
  }

  /* 参加お申込 */
  .event_single .event_entry a, .event_entry2 a {
    padding-top: 2px;
  }

  /* 右上の一覧へ戻るボタン */
  .event_single .header_button {
    padding-top: 4px;
  }
  
}

@supports (-ms-ime-align:auto) {
  .event_newlabel {
    line-height: 13px;
  }
}

.youtube iframe {
  width: 100%;
  height: 50vw;
  max-height: 500px;
  margin: 40px 0;
}
.youtube_header {
  border-bottom: 1px solid #000;
  font-size: 24px;
  line-height: 37px;
  font-weight: 600;
  max-width: 910px;
  margin: 40px auto 0;
}
.youtube_ttl {
  width: 300px;
  display: inline-block;
  border-bottom: 3px solid #000;
}