/* 共通 */
.flex{
    display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
}
.rr{
  flex-direction: row-reverse;
}
.brown{
  color:#6b2d1c
}
  .bg_wall{
    background-image:url(/wp-content/themes/reformhiroba/images/bg_wall.jpg);
    background-size: cover;
    z-index: -1;
}
.mincho{
  font-family: "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.pc{
  display: block;
}
.sp{
  display: none;
}
  /* ファーストビュー */
  #fv{
    background-image:url(/wp-content/themes/reformhiroba/images/fv_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width:100%;
    height:auto;
    padding-bottom:50px;
    border-bottom:10px solid #6b2d1c;
  }
  .logo{
    max-width:580px;
    width:100%;
    padding:20px 5%;
    box-sizing: border-box;
  }
  .fv_catch{
    max-width: 800px;
    width:90%;
    margin: 0 auto;
  }
  .fv__form{
    max-width: 1000px;
    width:90%;
    margin: 0 auto 30px;
    justify-content: space-between;
  }
  ul.fv__form li{
    width:45%;
  }
  .merit{
    max-width: 650px;
    width:90%;
    margin: 0 auto 20px;
  }
  .animation{
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 2s;
  }
  .fuwafuwa{
    animation-name: anim_sc;
  transform: scale(0.88,0.88);
  }

  .fade {
    transition: all 2000ms;
    opacity: 0;
    visibility: hidden;
    transform: translate(0px, 50px);
  }
  /* スクロールイン */
  .fadein {
    opacity: 1;
    visibility: visible;
    transform: translate(0px, 0px);
  } 
  @keyframes anim_sc {
    100% {
      transform: scale(1,1);
    }
  }
  /*---scroll_up ｜下から上へ出現*/
.scroll_up {
  transition: 0.3s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}
.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}
    /* お見積りまでの3ステップ */
  #step{
    padding:80px 0 200px;
    width:100%;
    position: relative;
  }
  #step::before{
    content: "";
    position: absolute;
    display: inline-block;
    background-size: contain;
    background-image: url(/wp-content/themes/reformhiroba/images/step_icon01.png);
    background-repeat:no-repeat;
    top: 10%;
    left: 5%;
    width: 40vw;
    height: 140px;
    z-index:-1;
  }
  #step::after{
    content: "";
    position: absolute;
    display: inline-block;
    background-size: contain;
    background-position: right;
    background-image: url(/wp-content/themes/reformhiroba/images/step_icon02.png);
    background-repeat:no-repeat;
    top: 10%;
    right: 0;
    width: 40vw;
    height: 140px;
    z-index:-1;
  }
  .step_title{
    max-width: 1000px;
    width:90%;
    margin: 0 auto 30px;
    text-align: center;
  }
  .step_title img{
    max-width: 500px;
    margin-bottom:10px ;
  }
  .step_title p{
    font-size: 28px;
    text-align: center;
    font-weight: bold;
  }
  .step__inner{
    max-width: 1000px;
    width:90%;
    margin: 0 auto;
    background-color: #e1dcd0;
    border-radius: 20px;
    justify-content: space-between;
    padding: 30px;
    box-sizing: border-box;
  }
  .cards{
    width: calc((100% - 40px * 2) / 3);
    background-color: #FFF;
    border-radius: 20px;
    box-shadow: 0 0 10px #CCC;
  }
  .cards--items{
    padding:20px;
  }
  .cards--title{
    color:red;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
  }
  .stepallow{
    position: relative;
  }
  .stepallow::after{
    position:absolute;
    content: url(/wp-content/themes/reformhiroba/images/allow.png);
    top: 50%;
    right: -35px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
  }
    /* リフォームのこんなことに悩んでいませんか？ */
  #trouble{
    background-color: #f0f2d8;
    padding-top:150px;
    padding-bottom:80px;
    position:relative;
  }
  #trouble::after{
    position:absolute;
    content: url(/wp-content/themes/reformhiroba/images/allow_trouble.gif);
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
  .trouble__inner{
    max-width: 1000px;
    width:90%;
    margin:0 auto;
    justify-content: space-between;
  }
  .cards_trouble{
    width: calc((100% - 40px * 2) / 3);
  }
  .trouble__title{
    position: absolute;
    max-width:660px;
    top:-100px;
  }
  .trouble--title{
    font-size: 22px;
    line-height: 1.4;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
  }
  /* リフォーム広場なら安心 */
  #safety{
    padding:160px 0;
    width:100%;
    position: relative;
    overflow: hidden;
  }
  #safety::before{
    content: "";
    position: absolute;
    display: inline-block;
    background-size: contain;
    background-image: url(/wp-content/themes/reformhiroba/images/safety_left.png);
    background-repeat:no-repeat;
    top: 4%;
    left: 3%;
    width: 40vw;
    height: 240px;
    z-index:-1;
  }
  #safety::after{
    content: "";
    position: absolute;
    display: inline-block;
    background-size: contain;
    background-position: right;
    background-image: url(/wp-content/themes/reformhiroba/images/safety_right.png);
    background-repeat:no-repeat;
    top:1%;
    right: 3%;
    width: 40vw;
    height: 340px;
    z-index:-1;
  }
  .safety_title{
      max-width: 800px;
      width: 90%;
      margin: 0 auto 30px;
      text-align: center;
  }
  .safety__inner{
    max-width: 1000px;
    width:90%;
    margin: 0 auto;
    justify-content: space-between;
    font-size: 20px;
  }
  .safety__area{
    width:70%;
  }
  .safety__list{
    padding-bottom:20px;
    border-bottom: 2px dashed #6b2d1c;
    margin-bottom: 50px;
  }
  .safety__image{
    width:28%;
  }
  .safe_number{
    width:60px;
  }
  .safety__list--title01{
    padding-left:60px;
    font-size: 1.7em;
    font-weight: bold;
    background: url(/wp-content/themes/reformhiroba/images/safety_no01.png);
    background-repeat: no-repeat;
    background-position: 0 5px;
    background-size: 4rem;
    margin-bottom:10px;
  }
  .safety__list--title02{
    padding-left:60px;
    font-size: 1.7em;
    font-weight: bold;
    background: url(/wp-content/themes/reformhiroba/images/safety_no02.png);
    background-repeat: no-repeat;
    background-position: 0 5px;
    background-size: 4rem;
    margin-bottom:10px;
  }
  .safety__list--title03{
    padding-left:60px;
    font-size: 1.7em;
    font-weight: bold;
    background: url(/wp-content/themes/reformhiroba/images/safety_no03.png);
    background-repeat: no-repeat;
    background-position: 0 5px;
    background-size: 4rem;
    margin-bottom:10px;
  }
  .safety__list--title04{
    padding-left:60px;
    font-size: 1.7em;
    font-weight: bold;
    background: url(/wp-content/themes/reformhiroba/images/safety_no04.png);
    background-repeat: no-repeat;
    background-position: 0 5px;
    background-size: 4rem;
    margin-bottom:10px;
  }
  .safety__list--title05{
    padding-left:60px;
    font-size: 1.7em;
    font-weight: bold;
    background: url(/wp-content/themes/reformhiroba/images/safety_no05.png);
    background-repeat: no-repeat;
    background-position: 0 5px;
    background-size: 4rem;
    margin-bottom:10px;
  }
  .safety__list--title06{
    padding-left:60px;
    font-size: 1.7em;
    font-weight: bold;
    background: url(/wp-content/themes/reformhiroba/images/safety_no06.png);
    background-repeat: no-repeat;
    background-position: 0 5px;
    background-size: 4rem;
    margin-bottom:10px;
  }
  .safety__list--title01>span,.safety__list--title02>span,.safety__list--title03>span,.safety__list--title04>span,.safety__list--title05>span,.safety__list--title06>span{
    color: red!important;
  }
/* 見積り依頼する */
#request{
  background-image:url(/wp-content/themes/reformhiroba/images/bg_living.jpg);
  background-size: cover;
  padding-top:50px;
  padding-bottom:50px;
}
.request__inner{
  background-color: #ffffffb6;
  padding:40px;
  box-sizing: border-box;
  max-width:600px;
  width:90%;
  margin:0 auto;
  border-radius: 30px;
  box-sizing: 0 0 10px #555;
}
.p-request{
  text-align: center;
  font-size:1.3rem;
}
.p-request span{
  color:red
}
.request_btn{
  max-width:500px;
  width:100%;
  margin:0 auto 40px;
}
/* 一括サポート */
#comparison{
  padding-top:50px;
  padding-bottom:150px;
}
.comparison__inner{
  max-width:1000px;
  width:90%;
  margin:0 auto;
}
/* リフォームの事例 */
#example{
  background-color: #f0f2d8;
  padding-top:150px;
  padding-bottom:80px;
  position:relative;
}
.trouble__inner{
  max-width: 1000px;
  width:90%;
  margin:0 auto;
  justify-content: space-between;
}
.cards_trouble{
  width: calc((100% - 40px * 2) / 3);
}
.example__title{
  position: absolute;
  max-width:660px;
  top:-100px;
}
.example__inner{
  max-width: 1000px;
  width:90%;
  margin:0 auto;
  justify-content: space-between;flex-wrap: wrap;
}
.cards__example{
  width: calc((100% - 40px * 2) / 3);
  background-color: #FFF;
  box-shadow: 0 0 10px #CCC;
  margin-bottom:20px;
}
/* 全国の相談に対応可能 */
#country{
  background-image:url(/wp-content/themes/reformhiroba/images/bg_sky.jpg);
  background-size: cover;
  padding-top:30px;
  padding-bottom:30px;
}
.country__inner{
  max-width: 1000px;
  width:90%;
  margin:0 auto;
}
/* リフォームの見積りを比較するなら「リフォーム広場」 */
#reform{
  width:100%;
  background-image:url(/wp-content/themes/reformhiroba/images/bg__reformguide.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom:10px solid #6b2d1c;
  background-position: right;
}
.reform__inner{
  max-width: 1000px;
  width:90%;
  margin:0 auto;
}
.reform__left{
  width:60%;
  padding:40px 0 30px;
}
#reform p{
  font-weight: bold;
}
.reform__left>.btn,.reform__left>.tel{
  max-width:400px;
  width:100%;
  margin-bottom:10px;
}
/* お客様の声*/
#voice{
  padding:80px 0;
  width:100%;
  position: relative;
  background: rgb(221,221,221);
background: linear-gradient(0deg, rgba(221,221,221,1) 0%, rgba(255,255,255,1) 58%);
}
#voice::before{
  content: "";
  position: absolute;
  display: inline-block;
  background-size: contain;
  background-image: url(/wp-content/themes/reformhiroba/images/voice_left.png);
  background-repeat:no-repeat;
  top: 0;
  left: 0;
  width: 40vw;
  height: 340px;
  z-index:-1;
}
#voice::after{
  content: "";
  position: absolute;
  display: inline-block;
  background-size: contain;
  background-position: right;
  background-image: url(/wp-content/themes/reformhiroba/images/voice_right.png);
  background-repeat:no-repeat;
  top:1%;
  right: 0;
  width: 40vw;
  height: 340px;
  z-index:-1;
}
.voice_title{
    max-width: 400px;
    width: 90%;
    margin: 0 auto 30px;
    text-align: center;
}
.voice__member{
  flex-wrap: wrap;
  max-width: 1000px;
  width: 90%;
  margin: 0 auto 30px;
  justify-content: space-between;
}
.voice__member li{
  width: calc((100% - 30px * 2) / 2);
  box-shadow: 0 0 10px #CCC;
  padding:5px 20px;
  justify-content: center;
  align-items: center;
  margin-bottom:30px;
  background-color: #FFF;
  box-sizing: border-box;
}
.face{
  padding-right:10px;
  text-align: center;
  line-height: 1.2;
  width:100px;
  font-size: .8rem;
}
.face img{
  width:60px;
}
.face__text{
  border-left:2px solid #CCC;
  padding:20px;
  flex:1;
}
/* よくある質問*/
#faq{
  padding:80px 0;
  width:100%;
  background-image: url(/wp-content/themes/reformhiroba/images/bg_wood.jpg);
  background-size: contain;
}
.faq_title{
  max-width: 400px;
  width: 90%;
  margin: 0 auto 30px;
  text-align: center;
}
.faq__inner {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto 80px;
}
.Qa{
  background-color: #FFF;
  padding:3px 20px;
  margin-bottom:10px;
  box-shadow: 2px 2px 6px #CCC;
}
.faq__inner {
  margin: 0 auto 20px;
}
.faq__inner .Qa dt,
.faq__inner .Qa dd {
  display: flex;
  align-items: baseline;
  margin: 20px 0;
}

.faq__inner .Qa dt p {
  margin: 0;
  padding-left: 15px;
  font-weight: bold;
  width: 100%;
  color:#fa5014;
  font-weight: bold;
}

.faq__inner .Qa dd p {
  margin: 0;
  padding-left: 15px;
  width: 100%;
  font-weight: bold;
}

.faq__inner .Qa dt::before {
  content: "Q";
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fa5014;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50px;
}

.faq__inner .Qa dd::before {
  content: "A";
  display: flex;
  justify-content: center;
  align-items: center;
  background: #00a99d;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50px;
}
/*フッター*/
#footer{
  background-color: #333333;
  padding:40px 40px 10px;
}
.footer__inner{
  width:90%;
  margin:0 auto;
}
.footer__inner>p{
  color:#FFF;
  margin-bottom:20px;
}
.company__intro{
  margin-bottom:40px;
}
.company{
  width:90px;
  margin-right:20px;
}
p.company__title{
  font-size: 16px;
  color:#FFF;
}
p.company__text{
  color:#FFF;
}
.footer__inner ul li{
  padding-left:15px;
  padding-right:15px;
}
.footer__inner ul li:first-child{
  border-right:1px solid #FFF;
}
.footer__inner ul li a{
  color:#FFF;
}
.copyright{
  text-align: right;
  font-size:12px;
  color:#CCC;
}
.pagetop {
  display: none;
  position: fixed;
  bottom: 15px;
  right: 15px;
}

@media screen and (max-width: 960px) {
  #safety::before {
    left: 0;
}
  #safety::after {
    right: -100px;
  }
  .Qa-Box {
    width: 95%;
  }
}
  @media screen and (max-width: 767px){
    .fv__form li {
      width: 48%;
  }
  .voice__member {
    display: block;
  }
  .voice__member li {
    width: 100%;
  }
  }
  @media screen and (max-width: 640px) {
  .pc{
     display: none;
  }
  .sp{
    display: block;
  }
  .fv__form{
    display: block;
  }
  .fv_catch {
    margin: 0 auto 30px;
}
  ul.fv__form li {
    width: 100%;
}
    .trouble__inner {
      display: block;
  }
  .step__inner{
    display: block;
  }
  #step::before {
    top: 1%;
    left: 5%;
    width: 80vw;
    height: 200px;
}
#step::after{
  display: none;
}
.stepallow::after{
  display: none;
}
  .cards {
    width: 100%;
    margin-bottom: 20px;
}
  .cards_trouble {
    width: 100%;
  }
  #trouble {
    padding-top: 100px;
}
  .trouble__title{
    width:100%;
  }
  #trouble::after {
    display: none;
}
  .cards--img{
    max-width:200px;
    width:100%;
    margin: 0 auto;
  }
  .cards--text{
    text-align: center;
  }
  .safety__inner{
    display: block;
  }
  .safety__area {
    width: 100%;
  }
  .safety__image{
    display: none;
  }
  #support>ul>li:first-child{
    display: none;
  }
  #support>ul>li:last-child{
    display: none;
  }
  #example {
    padding-top: 120px;
  }
    .example__title {
      width:100%;
  }
  .cards__example {
    width: calc((100% - 20px * 2) / 2);
  }
  .footer__inner ul{
    justify-content: center;
    margin-bottom:20px;
  }
  .copyright {
    text-align: center;
  }
  }
  @media screen and (max-width: 640px) {
    #fv {
      padding-bottom: 30px;
  }
  .step_title p {
    font-size: 26px;
  }
  #step {
    padding: 80px 0 150px;
  }
.step__inner {
  padding: 15px;
}
#trouble {
  padding-top: 180px;
}
.trouble__title {
  top: -25px;
}
#safety {
  padding: 80px 0;
}
#safety::before,#safety::after{
  display: none;
}
.safety_title {
  width: 96%;
  margin: 0 auto 15px;
}
.safety__list--title01,.safety__list--title02,.safety__list--title03,.safety__list--title04,.safety__list--title05,.safety__list--title06 {
  font-size: 1.8rem;
  line-height: 1.3;
}
.request__inner {
  padding: 30px 15px;
}
.request_btn {
  margin: 0 auto;
}
#comparison {
  padding-bottom: 75px;
}
#example {
  padding-top: 180px;
}
.example__title {
  top: -50px;
}
.cards__example {
  width: 100%;
}
#reform {
  background-position: left;
}
#reform p{
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 20px;
}
.reform__left {
  width: 100%;
}
.voice__member li {
  padding: 5px 5px;
}
.face__text {
  padding: 10px 0 10px 10px;
}
.Qa {
  padding: 3px 10px;
}
.company__intro{
  display: block;
}
.company__text{
  font-size:14px;
}
#footer {
  padding: 15px 15px 10px 15px;
}
.footer__inner ul{
  display: block;
}
.footer__inner ul li {
  padding-left: 0;
  padding-right: 0;
  font-size: 16px;
}
.footer__inner ul li:first-child {
  border-right: 0 solid #FFF;
}
}


  .containar{
    max-width:1000px;
    width:100%;
    margin:50px auto;
  }