@charset "UTF-8";
.article {
  display: block;
  background-color: #fff;
  max-width: 980px;
  padding-bottom: 90px;
  margin: 0 auto;
}
.sec-inner {
  padding: 0;
}
.contents-inner {
  padding-right: 50px;
  padding-left: 50px;
}
.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.display_none {
  display: none !important;
}


.pc {
	display: block;
}
.sp {
	display: none;
}
@media screen and (max-width: 767px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}	
}

.clearfix::after {
  content: "";
  clear: both;
  display: block;
}

.ta-c {
  text-align: center;
}

.bold {
  font-weight: bold;
}
/* ---------------------------------------------------------
   apaman.css【アパマンページ】
----------------------------------------------------------*/
.mainvidual {
  margin-top: 40px;
  margin-bottom: 50px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .mainvidual {
    margin-top: 24px;
  }
}
.problem {
  text-align: center;
}
.problem h2 {
  position: relative;
  margin: 60px 0;
  font-size: 44px;
  line-height: 1.4;
  font-weight: 900;
}
.problem h2 span {
  font-size: 44px;
  color: #eb6120;
  font-weight: 900;
}
.problem h2::before {
  position: absolute;
  bottom: -30px;
  right: calc(50% - 50px);
  content: '';
  width: 50px;
  height: 5px;
  background: #000;
}
.problem h2::after {
  position: absolute;
  bottom: -30px;
  left: calc(50% - 51px);
  content: '';
  width: 50px;
  height: 5px;
  background: #eb6120;
}
.merit {
  margin: 80px 0;
}
h2.p-plan__headline {
  text-align: center;
  justify-content: center;
  height: auto;
  padding: 8px;
  min-height: 64px;
}
/* .merit h2 {
  font-size: 34px;
  margin-top: 50px;
  color: #fff;
  text-align: center;
  position: relative;
  background: #eb6120;
  padding: 20px 0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-left: 20px;
}
.merit h2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 70px 70px 0 0;
  border-color: #000000 transparent transparent transparent;
  line-height: 0px;
} */
.merit .flex {
  margin: 30px 0 50px;
  justify-content: center;
  align-items: center;
}
.merit .flex ul {
  list-style: disc;
  font-size: 30px;
  color: #eb6120;
  font-weight: 700;
}
.merit .flex ul li {
  padding: 10px 0;
}
.merit h3 {
  position: relative;
  margin: 60px 0;
  font-size: 44px;
  line-height: 1.4;
  font-weight: 900;
  text-align: center;
}
.merit h3 span {
  font-size: 44px;
  color: #eb6120;
  font-weight: 900;
}
.merit h3::before {
  position: absolute;
  bottom: -30px;
  right: calc(50% - 50px);
  content: '';
  width: 50px;
  height: 5px;
  background: #000;
}
.merit h3::after {
  position: absolute;
  bottom: -30px;
  left: calc(50% - 51px);
  content: '';
  width: 50px;
  height: 5px;
  background: #eb6120;
}
.merit p {
  line-height: 1.6;
}
.merit h4 {
  font-size: 34px;
  font-weight: 900;
  margin: 50px 0 20px;
  background: linear-gradient(transparent 60%, #ff0 0%);
  padding-bottom: 10px;
  display: inline-block;
  color: #eb6120;
}
.merit img {
  max-width: 50%;
  margin: 30px auto;
  display: block;
}
.merit img#bn {
  max-width: 100%;
}
.merit .flex img {
  width: 30%;
  max-width: 20%;
  margin: 0 70px 0 0;
}
.before-after {
  margin: 80px 0 0;
}
/* .before-after h2 {
  font-size: 34px;
  margin-top: 50px;
  color: #fff;
  text-align: center;
  position: relative;
  background: #eb6120;
  padding: 20px 0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-left: 20px;
}
.before-after h2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 70px 70px 0 0;
  border-color: #000000 transparent transparent transparent;
  line-height: 0px;
} */
.before-after .caseBOX {
  padding-bottom: 90px;
}
.before-after .case_ttl {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  position: relative;
  margin: 30px 0;
  min-height: 75px;
}
.before-after .case_ttl::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  box-sizing: border-box;
}
.before-after .case_ttl::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25px;
  border-bottom: 3px solid #eb6120;
  border-right: 3px solid #eb6120;
  box-sizing: border-box;
}
.before-after .case_item {
  width: 75px;
  height: 75px;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  justify-content: center;
}
.before-after .case_item::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 75px 75px 0 0;
  border-color: #000000 transparent transparent transparent;
  line-height: 0px;
  _border-color: #000000 #ffffff #ffffff #ffffff;
  _filter: progid:DXImageTransform.Microsoft.Chroma(color='#ffffff');
  z-index: -1;
}
.before-after .case_item p {
  font-size: 14px;
  font-weight: bold;
  color: #ffe832;
  margin-right: 10px;
  line-height: 2em;
  margin-bottom: 14px;
}
.before-after .case_item p span {
  font-size: 46px;
  color: #fff;
  display: block;
  font-style: italic;
  margin-top: 2px;
  text-shadow: black 2px 0px, black -2px 0px, black 0px -2px, black 0px 2px, black 2px 2px, black -2px 2px, black 2px -2px, black -2px -2px, black 1px 2px, black -1px 2px, black 1px -2px, black -1px -2px, black 2px 1px, black -2px 1px, black 2px -1px, black -2px -1px;
}
/* .before-after h3 {
  font-size: 30px;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 900;
  width: calc(100% - 75px);
  padding: 10px 0 10px 75px;
  color: #eb6120;
  margin: 10px;
  line-height: 1;
} */
.before-after .before-box {
  padding: 0 20px;
  max-width: 444px;
  width: 100%;
  margin: 50px auto 20px;
}
.before-after .before-box__title {
  padding: 5px 0;
  background: #ededed;
  font-size: 18px;
  text-align: center;
}
.before-after .before-box__title span {
  padding-right: 10px;
  font-size: 32px;
  font-weight: bold;
}
.before-after .after-box {
  padding: 0;
  max-width: 645px;
  width: 100%;
  margin: 10px auto 20px;
}
.before-after .after-box__title {
  padding: 5px 0;
  background: #eb6120;
  font-size: 18px;
  text-align: center;
  color: #fff;
}
.before-after .after-box__title span {
  padding-right: 10px;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
}
.before-after .caseBOX p.comment {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  margin-top: 5px;
  text-align: justify;
}
.before-after .before-box img, .before-after .after-box img {
  width: 100%;
}
@media screen and (max-width: 767px) {
  .problem h2, .problem h2 span {
    font-size: 24px;
  }
  .problem h2::before, .problem h2::after {
    bottom: -20px;
  }
  /* .merit h2 {
    padding: 10px 0 10px 58px;
    text-align: left;
    font-size: 24px;
    line-height: 1.2;
  } */
  .merit .flex {
    flex-direction: column;
  }
  .merit .flex img {
    margin: 0;
    max-width: 40%;
  }
  .merit .flex ul {
    font-size: 20px;
  }
  .merit .flex ul li {
    text-indent: 1em;
  }
  .merit h3, .merit h3 span {
    font-size: 24px;
    line-height: 1.6;
  }
  .merit h3::before, .merit h3::after {
    bottom: -20px;
  }
  .merit h4 {
    font-size: 24px;
  }
  .merit img {
    max-width: 85%;
  }
  /* .before-after h2 {
    padding: 10px 0 10px 58px;
    text-align: left;
    font-size: 24px;
    line-height: 1.2;
  }
  .before-after h3 {
    font-size: 20px;
    margin: 0px;
    line-height: 1.2;
    padding: 10px 10px 10px 58px;
    text-align: center;
  } */
  .before-after .before-box {
    max-width: 100%;
    padding: 0;
  }
  .before-after .caseBOX p.comment {
    font-size: 18px;
  }
}
@media screen and (max-width: 391px) {
  /* .merit h2 {
    font-size: 21px;
  }
  .merit h2::after {
    border-width: 60px 60px 0 0;
  } */
  .merit .flex ul {
    font-size: 17px;
    margin-top: 10px;
  }
  .merit .flex ul li {
    padding: 5px 0;
  }
  .merit h3 {
    margin: 0 0 50px;
  }
  .merit h3, .merit h3 span {
    line-height: 1.4;
  }
  .merit p {
    text-align: justify;
  }
  .merit h4 {
    font-size: 22px;
    margin-top: 30px;
  }
  /* .before-after h2 {
    font-size: 21px;
  }
  .before-after h3 {
    font-size: 18px;
  } */
  .before-after .before-box__title {
    font-size: 16px;
  }
  .before-after .before-box__title span {
    font-size: 24px;
  }
  .before-after .caseBOX {
    margin-bottom: 70px;
  }
  .before-after .caseBOX p.comment {
    font-size: 16px;
  }
}
.case-title {
  display: flex;
  align-items: center;
  border: solid 2px #EB6425;
  min-height: 48px;
  margin-top: 36px;
  margin-bottom: 50px;
}
.case-title-num-wrap {
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: baseline;
  line-height: 1;
  white-space: nowrap;
  background-color: #815124;
  color: #fff;
  border-radius: 0 20px 0 0;
  min-height: 48px;
  width: 122px;
  padding: 6px 28px 2px;
  margin: -2px;
}
.case-title-num-text {
  font-size: 14px;
  margin-right: 10px;
  font-weight: 700;
}
.case-title-num {
  font-size: 38px;
  font-weight: 700;
}
.case-title-text {
  font-size: 24px;
  font-weight: 700;
  color: #EB6425;
  margin-left: 24px;
}
@media screen and (max-width: 767px) {
  .article {
    padding-bottom: 40px;
  }
  .contents-inner {
    padding-right: 16px;
    padding-left: 16px;
  }
  h2.p-plan__headline {
    font-size: 24px;
  }
  .before-after .caseBOX {
    padding-bottom: 18px;
    margin-bottom: 0;
  }
  .case-title-num {
    font-size: 22px;
  }
  .case-title-num-wrap {
    border-radius: 0 0 20px 0;
    min-height: 34px;
  }
  .case-title {
    display: block;
    margin-bottom: 24px;
  }
  .case-title-text {
    display: block;
    text-align: center;
    font-size: 24px;
    margin: auto;
  }
  .before-after .before-box {
    margin-top: 24px;
  }
}