@charset "utf-8";

/* ============================================
  Reset
============================================ */
ul {
  list-style: none;
}

/* ============================================
  施工事例
============================================ */
.case-section {}

.case-section + .case-section {
  margin-top: 60px;
}

.case-section h2 {}

.case-section h3 {}

.case-section .introduction {
}

.case-article {}

.case-article + .case-article {
  margin-top: 45px;
}

.caseList {
  list-style: none;
}

.caseList,
.caseList *,
.caseList *::before,
.caseList *::after {
  box-sizing: border-box;
}

@media(max-width: 640px) {
  .case-section {
    padding: 0 10px;
  }
  .case-section h3 {
    margin: 20px 0 15px;
  }
  .case-section .introduction {
    margin: 15px auto;
  }
}

/* ============================================
  新築の施工事例
============================================ */

#case_shinchiku .caseList + .caseList {
  margin-top: 30px;
}

#case_shinchiku .caseList_item {
  position: relative;
}

#case_shinchiku .caseList_item + .caseList_item {
  margin-top: 50px;
}

#case_shinchiku .caseList_item > a {
  display: flex;
  color: inherit;
  text-decoration: none;
}

#case_shinchiku .caseList_item > a:hover {
  opacity: .65;
}

#case_shinchiku .caseList_item .category {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f5f5f5;
  font-size: 12px;
  padding: 5px 15px;
}

#case_shinchiku .caseList_item .img {
  width: calc(440/1000*100%);
}

#case_shinchiku .caseList_item .img img {
  max-width: 100%;
  border: 1px solid #ddd;
}
.btn{
  display: none;
}
@media (max-width: 640px){
  .btn{
    border: 2px solid #c2dbeb;
    background-color: #fff;
    color: #15669c;
    height: 40px;
    line-height: 37px;
    width: 50%;
    align-items: center;
    box-sizing: border-box;
    text-align: center;
    margin: 20px auto 0;
    display: block;
    position: relative;
  }

.btn:after{
  content: '\f107'; 
    position: absolute;
    top: auto;
    right: 8px;
    transform: translateY(-50%);
    font-family: "FontAwesome";
    color: #15669c;
    transform: rotate(-90deg);
}
}



#case_shinchiku .caseList_item .content {
  width: calc(((1000 - 440 - 30)/1000*100%));
  margin-left: calc(30/1000*100%);
}

#case_shinchiku .caseList_item .content .table {
  display: flex;
  flex-flow: column;
  height: 100%;
}

#case_shinchiku .caseList_item .content .table dl:first-of-type{
  border-top: 1px solid #ddd;
}

#case_shinchiku .caseList_item .content .row {
  flex: 1 1 auto;
  display: flex;
  flex-wrap:wrap;
  border-bottom: 1px solid #ddd;
}

#case_shinchiku .caseList_item .content .title,
#case_shinchiku .caseList_item .content .data {
  display: flex;
  flex-flow: column;
  justify-content: center;
  padding: 10px 15px;
}

#case_shinchiku .caseList_item .content .title {
  background: #f5f5f5;
  width: 25%;
}

#case_shinchiku .caseList_item .content .data {
  width: 75%;
}

#case_shinchiku .caseList_item .content .layout {}

#case_shinchiku .caseList_item .content .equipmentList {
  font-size: 0;
  list-style: none;
  margin-top: 5px;
}

#case_shinchiku .caseList_item .content .equipmentList > li {
  display: inline-block;
  font-size: 14px;
}

#case_shinchiku .caseList_item .content .equipmentList > li:not(:last-of-type)::after {
  content: "/";
}

@media(max-width: 640px) {
  #case_shinchiku .caseList_item > a {
    flex-direction: column;
  }
  #case_shinchiku .caseList_item .img {
    width: 100%;
  }
  #case_shinchiku .caseList_item .content {
    width: 100%;
    margin: 15px auto 0;
  }
  #case_shinchiku .caseList_item .content .title {
    width: 30%;
  }
  #case_shinchiku .caseList_item .content .data {
    width: 70%;
  }
}



/* ============================================
  リフォームの施工事例
============================================ */
#case_reform {}

#case_reform .gridBox {
  margin: 30px auto;
}

#case_reform .gridBox .title {
  text-align: right;
  margin: 10px 0 0;
}

#case_reform .gridList {
  display: flex;
  flex-wrap: wrap;
}

#case_reform .gridList_item {
  width: 50%;
}

#case_reform .gridList_item .img {
  position: relative;
  padding: 0;
}

#case_reform .gridList_item .img::before {
  content: "";
  display: block;
  padding-top: calc(552/800*100%);
}

#case_reform .gridList_item .img img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  margin: auto;
}


#case_reform .caseList {
  margin-top: 30px;
}

#case_reform .caseList_item {}

#case_reform .caseList_item + .caseList_item {
  margin-top: 30px;
}

#case_reform .caseList_item .img_wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#case_reform .caseList_item .img_wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% - 32px), -50%);
  border-style: solid;
  border-width: 22.5px 0 22.5px 39.0px;
  border-color: transparent transparent transparent #007bff;
  width: 0;
  height: 0;
}

#case_reform .caseList_item .img_wrap .img {
  position: relative;
}

#case_reform .caseList_item .img_wrap .img::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  width: 80px;
  padding: 5px 15px;
}

#case_reform .caseList_item .img_wrap .img-before {
  width: calc(440px * 0.85);
}

/* #case_reform .caseList_item .img_wrap .img-before.is-vertical {
  width: calc(210px * 0.85);
} */

#case_reform .caseList_item .img_wrap .img-before::after {
  content: "Before";
  background: #0082d8;
  pointer-events: none;
}

#case_reform.case_reform02 .caseList_item .img_wrap .img-before::after {
	left: 0;
}

#case_reform .caseList_item .img_wrap .img-after {
  width: 440px;
  margin-left: 60px;
}
/* #case_reform .caseList_item .img_wrap .img-after.is-vertical {
  width: 210px;
} */
#case_reform .caseList_item .img_wrap .img-after::after {
  content: "After";
  background: #a47e23;
  pointer-events: none;
}

#case_reform .caseList_item .img_wrap .img::before {
  content: "";
  display: block;
  padding-top: calc(552/800*100%);
}

/* #case_reform .caseList_item .img_wrap .img.is-vertical::before {
  padding-top: calc(800/552*100%);
} */

#case_reform .caseList_item .img_wrap .img a,
#case_reform .caseList_item .img_wrap .img img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  margin: auto;
}

#case_reform .caseList_item .img_wrap .img img[src=""] {
  background-color: #efefef;
  width: 100%;
  height: 100%;
}

#case_reform .caseList_item .text_wrap {
  margin-top: 15px;
}

#case_reform .caseList_item .summary {}

@media(max-width: 640px) {
  #case_reform .caseList_item .img_wrap {
    margin: 15px auto;
  }
  #case_reform .caseList_item .img_wrap::before {
    transform: translate(calc(-50% - 10px), -50%);
    border-style: solid;
    border-width: 11.25px 0 11.25px 19.5px;
  }
}
