/*==========================================
  施工事例一覧
===========================================*/

ul {
  list-style-type: none;
}

/* 一覧全体 */
.gallery_list {
  font-weight: 500;
  font-size: 14px;
  max-width: 940px;
  padding: 0 15px;
  margin: 0 auto 30px;
}

.gallery_list .refine_container {
  clear: both;
  margin: 0 auto 40px;
  position: relative;
}

/* 絞り込みや表示切替枠全体のリンク */
.refine_container a {
  text-decoration: none;
}

.refine_container a:not(.refine_img) {
  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;
}

.refine_container a:not(.refine_img):hover {
  opacity: .7;
}

.view_change {
  height: 35px;
  width: 200px;
  position: absolute;
  top: -90px;
}

refine_label {
  font-weight: 600;
}

.view_change .refine_label {
  margin-right: 12px;
  display: table-cell;
  padding: 5px 12px 5px 0;
  border-right: 1px solid #cfcfcf;
}

.refine_container img {
  width: auto;
  display: inline-block;
  margin-right: 2px;
}

.view_all {
  margin-bottom: 15px;
  max-width: 200px;
  position: absolute;
  margin-top: -40px;
}

/* 全事例を表示 */
.view_all a {
  background: #666;
  color: #fff;
  border: none;
  letter-spacing: 1px;
  padding: 0 23px 0 25px;
  line-height: 25px;
  height: 25px;
  display: block;
  width: 155px;
}

.view_all .arrow {
  display: inline-block;
  padding: 0 0 0 5px;
  line-height: 22px;
}

/* 場所別にみると大きさ別にみるの全体枠 */
.refine_row {
/*  display: flex;
  flex-direction: row;
  flex-wrap: wrap;*/
  width: 100%;
  margin-top: 0;
}

.refine_row div {
  display: flex;
  flex-wrap: wrap;
}

/* 場所別に見る枠 */
/*.refine_row .place_container {
  margin-right: 60px;
}*/

.place_container {
  margin: 0 auto 10px 0
}

.size_container {
  margin: 0 0 10px auto;
}

.refine_row .refine_label {
  margin-right: 0;
  padding: 5px 5px 5px 0;
  border-right: 1px solid #cfcfcf;
  margin-bottom: 10px;
  flex-basis: 12%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 105px;
}

.refine_buttonbox {
  padding: 0 0 0 7px;
  flex-basis: 85%;
}

.refine_buttonbox a {
  display: block;
  padding: 4px 7px;
  margin-right: 5px;
  border: 1px solid #cfcfcf;
  color: #8c8c8c;
  margin-bottom: 10px;
}

.refine_buttonbox a:first-child {
  letter-spacing: 2px;
}

.refine_buttonbox a:last-child {
  margin-right: 0;
}

/* ～記号 */
.range {
  padding: 0 2px;
}

.selected {
  background: #ddd;
}

/* 一覧に表示する施工事例全体 */
.gallery_containers {
  clear: both;
  display: flex;
  flex-wrap: wrap;
}

/* 一覧に表示する施工事例個別 */
.gallery_container {
  max-width: 100%;
  display: block;
  margin-bottom: 20px;
}

.column-4 {
  padding: 0 12px 0 0;
  max-width: 225px;
}

/* リンク */
.gallery_container a {
  text-decoration: none;
}

/* タイトル, フリーワード */
.gallery_title, .gallery_freeword {
  padding: 7px 2px 0;
  word-wrap: normal;
  height: 58px;
  overflow: hidden;
}

/* フリーワード */
.gallery_freeword {
  padding: 0 2px 0;
  text-align: right;
  padding-right: 10px;
  color: #8c8c8c;
}

/* メイン画像コンテナ 2カラム表示 */
.column-2 .gallery_imgbox {
  width: 100%;
  height: auto;
  max-width: 420px;
  max-height: 350px;

  position: relative;
  overflow: hidden;
}

/* メイン画像コンテナ 4カラム表示 */
.column-4 .gallery_imgbox {
  width: 100%;
  height: auto;
  max-width: 210px;
  max-height: 157px;

  position: relative;
  overflow: hidden;
  }

.gallery_imgbox::before {
  content:"";
  display: block;
  padding-top: 84%;
}

/* 画像 */
.gallery_img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

/* newラベルコンテナ */
.gallery_new {
  margin: 0 auto 7px 0;
  height: 18px;
  line-height: 15px;
  position: relative;
}

/* newラベル */
.gallery_newlabel {
  background: #cf000e;
  font-size: 14px;
  color: #fff;
  border-radius: 3px;
  padding: 2px 3px 0;
  display: inline-block;
}

/* もっと見るボタン */
.more_button button {
  width: 100%;
  max-width: 500px;
}

/* IE11 */
@media all and (-ms-high-contrast:none){

  .gallery_imgbox::before {
    content:"";
    display: block;
    padding-top: 83.3%;
  }

  /* newラベルコンテナ */
  .gallery_new {
    height: 18px;
    line-height: 13px;
  }

  /* newラベル */
  .gallery_newlabel {
    padding: 5px 3px 0;
    line-height: 13px;
  }

  .view_all a {
    padding: 2px 23px 0 25px;
  }

  .refine_row .refine_label {
    padding: 5px 5px 2px 0;
  }

  .refine_buttonbox a {
    line-height: 24px;
    padding: 5px 7px 0;
  }
}


/* 小さい画面 */
@media(max-width: 767px){

  .refine_row .place_container {
    margin-right: 0;
  }

  .refine_row .refine_label {
    margin-right: 12px;
    display: table-cell;
    padding: 5px 12px 5px 0;
    border: none;
    flex-basis: 100%;
  }

  .refine_buttonbox {
    padding: 0;
    flex-basis: 100%;
  }

  .refine_buttonbox a {
    padding: 8px 3px;
    margin-bottom: 5px;
  }

  .column-4 {
    padding: 0 15px;
    max-width: 420px;
  }

  .column-4 .gallery_imgbox {
    width: 100%;
    height: auto;
    max-width: 420px;
    max-height: 350px;

    position: relative;
    overflow: hidden;
  }

  /* タイトル, フリーワード */
  .gallery_freeword {
    padding: 5px 1px;
    height: 0;
    overflow: hidden;
  }
  .gallery_title{
    width: 100%;
    /* padding: 5px 1px; */
    overflow: hidden;
  }

  .place_container, .size_container, .refine_label {
    margin-right: none;
    width: 100%;
    display: block;
  }
}

/*==========================================
  ギャラリー（施工事例）詳細
===========================================*/

.gallery_single {
  max-width: 940px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 500;
}

.gallery_single a {
  text-decoration: none;
}

/* 絞り込みボタンエリア */
.gallery_single .refine_container {
  font-size: 14px;
}

.gallery_content .title {
  margin-top: 45px;
  font-size: 21px;
  padding-bottom: 28px;
  border-bottom: 1px solid #000;
  margin-bottom: 30px;
}

.gallery_content .freeword {
  margin-bottom: 30px;
  font-size: 14px;
  color: #4d4d4d;
}

/* メイン画像コンテナ */
.main_imgbox {
  width: 100%;
  height: auto;
  max-width: 910px;
  max-height: 682px;
  position: relative;
  overflow: hidden;
  z-index: -2;
}

.main_imgbox::before {
  content:"";
  display: block;
  padding-top: 75%;
}

/* 画像 */
.main_imgbox .gallery_main_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  border: 1px solid #ddd;
}

/* メイン画像のナビゲーションコンテナ */
.nav_imgbox {
  width: 100%;
  height: auto;
  max-height: 112px;
  position: relative;
  overflow: hidden;
  margin: 0 4px 0 1px;
  }

.nav_imgbox::before {
  content:"";
  display: block;
  padding-top: 76.2%;
}

/* 画像 */
.nav_imgbox .gallery_main_img {
  width: 147px;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

.nav_imgbox .gallery_main_img:hover {
  cursor: pointer;
}

.gallery_single ul {
  padding: 0;
  margin-bottom: 5px;
}

.main_img_text {
  background: #000;
  color: #fff;
  padding: 0 12px;
  font-size: 18px;
  min-height: 32px;
}

.slick-next, .slick-prev {
  z-index: 2;
  height: 48px;
  width: 48px;
  padding: 0;
}

.slick-next:before, .slick-prev:before {
  /* color:#000;
  font-size: 38px;
  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; */
}

.slick-next:hover, .slick-prev:hover {
  opacity: .7;
}

.gallery_main_imgs {
  margin-bottom: 50px;
}

.add_ml0 .slick-track, .recomend_posts .slick-track {
  margin: 0 auto 0 0;
}

.relation_voice {
  max-width: 420px;
  margin: 0 auto 55px;
  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;
}

.voice_border {
  border: 1px solid #808080;
  border-left: none;
  font-size: 18px;
  padding: 4px 0 4px 30.5%;
  margin-left: 20px;
  margin-bottom: -45px;
}

.relation_voice:hover {
  opacity: .7;
  cursor: pointer;
}

.relation_voice img {
  width: auto;
  position: relative;
  z-index: 9;
  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;
}

.text1 {
  font-size: 18px;
  padding-bottom: 17px;
  border-bottom: 1px solid #000;
  margin-bottom: 28px;
}

.text2 {
  font-size: 16px;
  line-height: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid #000;
  margin-bottom: 40px;
}

.overview {
  display: table;
  width: 50%;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  margin-bottom: 70px;
}
.overview_row {
  display: table-row;
}
.row_title, .row_value {
  display: table-cell;
  border-top: 1px solid #000;
  padding: 8px;
}
.row_title {
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  background: #e5e5e5;
  width: 110px;
}
.overview_row .row_title,
.overview_row .row_value {
  display: table-cell;
}

.pc_overview .overview_row .row_title {
  width: 12%;
}
.pc_overview .overview_row .row_value {
  width: 38%;
}

.recomend_full {
  clear: both;
  background: #f5f5f5;
  padding: 55px 0;
}

.recomend_full a {
  text-decoration: none;
}

li.nav_imgbox.slick-slide.slick-current img {
    border: 4px #000000 solid;
}
/* こちらの事例もおすすめです */
.recomend_title {
  margin-bottom: 20px;
  font-size: 21px;
  font-weight: 500;
}

.recomend_containers {
  max-width: 940px;
  margin: 0 auto;
}

.recomend_posts {
  padding: 0 5px;
  list-style-type: none;
}

.recomend_container {
  padding: 0 13px;
  font-size: 16px;
}

.recomend_container a {
  display: block;
  border: none;
}

/* おすすめの画像コンテナ */
.recomend_imgbox {
  width: 100%;
  height: auto;
  max-height: 120px;
  position: relative;
  overflow: hidden;
  margin: 0 4px 0 1px;
}

.recomend_imgbox::before {
  content:"";
  display: block;
  padding-top: 75%;
}

/* 画像 */
.recomend_imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

.recomend_freeword {
  margin-top: 5px;
  height: 30px;
  font-size: 12px;
  color: #4d4d4d;
  overflow-y: hidden;
}

.gallery_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;
}

.gallery_single .header_button {
  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;
}

.gallery_single .header_button:hover {
  opacity: .7;
}

/* 小さい画面 */
@media(max-width: 767px){

  /* おすすめの画像コンテナ */
  .recomend_imgbox {
    max-height: 100%;
  }
  .overview {
    width: 100%;
  }
}

/* IE11 */
@media all and (-ms-high-contrast:none){

  .voice_border {
    padding: 6px 0 2px 30.5%;
  }

  .row_title, .row_value {
    padding: 10px 8px 6px;
  }

  /* 右上の一覧へ戻るボタン */
  .gallery_single .header_button {
    padding-top: 4px;
  }

}


/* 選択式フォーマット */
.row_container {
  margin-bottom: 40px;
}

/* 画像説明 */
.description {
  margin: 6px 0 8px;
}

.left_img .left_container {
  max-width: 430px;
  margin-right: 30px;
  float: left;
}

.right_container {
  float: right;
}

/* 左画像、右テキストのときの画像 */
.left_img img {
  width: 430px;
  height: 290px;
  object-fit: cover;
  font-family: 'object-fit: cover';
}

/* 右画像、左テキストのときの画像 */
.right_img .right_container {
  max-width: 380px;
  float: right;
  margin-left: 30px;
}

.right_img img {
  width: 380px;
  height: 480px;
  object-fit: cover;
  font-family: 'object-fit: cover';
}

/* 画像のみのコンテナ, テキストのみのテキスト */
.img_only, .text_only p {
  margin: -5px 0 55px;
}


/* 見出し */
.headline h2 {
  font-size: 21px;
  line-height: 35px;
  margin: -5px 0 0;
}

/* 画像横並びコンテナ */
.img_pair .left_container {
  max-width: 445px;
  padding-left: 0;
}

.img_pair .right_container {
  max-width: 445px;
  padding-right: 0;
}

/* 画像横並びのときの画像領域 */
.img_pair .imgbox {
  width: 100%;
  height: auto;
  max-width: 430px;
  max-height: 290px;
  margin: 0 auto;

  position: relative;
  overflow: hidden;
}

.img_pair .imgbox::before {
  content:"";
  display: block;
  padding-top: 67.4%;
}

/* 画像横並びのときの画像 */
.img_pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover';

  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}


/* 画像のみのときの画像 */
.img_only img {
  width: 100%;
}

/* 画像のみ */
.img_only .imgbox {
  width: 100%;
  height: auto;
  max-width: 910px;
  max-height: 450px;

  position: relative;
  overflow: hidden;
}

.img_only .imgbox::before {
  content:"";
  display: block;
  padding-top: 49.5%;
}

.img_only .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover';

  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

/* 小さい画面 */
@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;
  }


  /* 右画像左テキストの画像 */
  .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;
  }

  /* 画像横並びの左 */
  .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;
  }
}
