/*
 Theme Name: Casa Mia Home 不動産 - Real Estate -
 Description:
 Theme URI: https://cmh.riki.nagoya/
 Author: Natsumi Saito
 Author URI: https://riki.nagoya/
 Tags:
 License:
 Version:1
 License URI:
*/

@charset "utf-8";
:root{
  --keycolor: #2c4093;
}

/* パンくず */
#path{
  padding: 2px 10px;
  background: #ffffff;
  font-size: 12px;
  width: calc(100% - 20px);
}
#path .mCSB_horizontal.mCSB_inside>.mCSB_container{
  margin-bottom: 10px;
}
#path p{
  white-space: nowrap;
  /* overflow-x: scroll; */
  width: 100%;
}
#path .inner{
    max-width: 1200px;
    margin: auto;
}
#path .inner strong{
    font-weight: normal;
}
#contract-flow{
  background: #e7eff3;
  padding: 8vw 0;
}
#contract-flow .flex > div{
  margin: 7vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#contract-flow .step-wrap{
  background: #fff;
  padding: 30px;
  width: 260px;
  margin: auto;
  border-top: solid 4px #2c4093;
}
#contract-flow ol{
}
#contract-flow li{
  position: relative;
  margin: 20px;
  color: #2c4093;
}
#contract-flow li img{
  position: absolute;
  width: 60px;
  right: 0;
  top: 10px;
}
#contract-flow.en li:first-child img{
  top:60px;
}
#contract-flow li p{
  font-size: 1.3em;
  line-height: 2em;
}
#contract-flow li:last-child img{
  top: -25px;;
}
#contract-flow li:not(:last-child){
  margin-bottom: 50px;
} 
#contract-flow li:not(:last-child):after{
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  border-top: solid 10px #525252;
  border-left: solid 10px transparent;
  border-right: solid 10px transparent;
  left: calc(50% - 5px);
  bottom: -30px;
}


#self-introduction{
  margin: 50px 0;
  overflow: hidden;
}
#self-introduction #prof-img{
  position: relative;

}
#self-introduction #prof-img p{
  text-align: center;
  line-height: 1.6em;
}
#self-introduction img{
  display: block;
  width: 200px;
  margin: 0px auto;
  margin-bottom: 1em;
}
#self-introduction #prof-img::before{
  content: "";
  display: block;
  position: absolute;
  width: 36px;
  height: 40px;
  bottom: 40px;
  left: calc(50% - 130px);
  background: url(../img/deco-tree.png) no-repeat;
  background-size: contain;
}
#self-introduction #prof-img:after{
  content: "";
  display: block;
  position: absolute;
  width: 212px;
  height: 270px;
  z-index: -1;
  top: -6px;
  left: calc(50% - 109px);
  background: #fff5f8;
  transform: rotate(-6deg);
}
#self-introduction #introduction-message{
  position: relative;
}

#self-introduction #introduction-message h2{
  text-align: center;
  font-weight: normal;
  font-size: 1.7em;
  line-height: 1.5em;
  background: linear-gradient(0deg, #fff2fe 54%, transparent 52%);
  width: 10em;
  margin: auto;
  position: relative;
}
#self-introduction #introduction-message h2:after{
  content: "";
  display: block;
  width: 80px;
  height: 40px;
  background: url(../img/deco-bird.png) no-repeat;
  background-size: contain;
  position: absolute;
  left: calc(50% - -130px);
  top: 0;
}
#self-introduction #introduction-message p{
  margin: 20px 40px;
}
#self-introduction #introduction-message a{
  border: solid 1px #000;
  padding: .4em 1em;
  margin-top: 3em;
  display: block;
  width: 6em;
  float: right;
  position: relative;
}
#self-introduction #introduction-message a::before{
  content: "";
  display: block;
  position: absolute;
  width: 76px;
  height: 39px;
  top: -37px;
  right: 0;
  background: url(../img/deco-home.png) no-repeat;
  background-size: contain;
}
  #contract-flow h2{
    background: #2c4093;
    color: #fff;
    text-align: center;
    border-radius: 2.5em;
    line-height: 1.8em;
    display: block;
    margin: auto;
    max-width: 19em;
    font-size: 1.3em;
  }
  #contract-flow.en h2{
  line-height: 2.5em;
    max-width: 18em;
  }
  #contract-flow h3{
    width: 100%;
    color: #2c4093;
    text-align: center;
    margin: 1em;
    font-size: 1.6em;
    letter-spacing: .2em;
  }
  #contract-flow.en h3{
    letter-spacing: .05em;
  }
  #contract-flow h3 span{
    font-size: 0.5em;
    letter-spacing: .2em;
    padding-left: .5em;
    font-weight: normal;
  }
  #contract-flow.en li p {
    line-height: 1.4em;
}
  #contract-flow .step-num{
    background: #2c4093;
    color: #fff;
    text-align: center;
    width: 4em;
    border-radius: 0.3em;
    line-height: 1.8em;
    margin-right: .5em;
    display: block;
    font-weight: bold;
    margin-bottom: .5em;
  }
#main-img img{
  max-width: 1000px;
  margin: auto;
  display: block;
  width: 100%;
}


/************************************************************************************
bigger than 440
*************************************************************************************/
@media screen and (min-width: 440px) {


}


/************************************************************************************
bigger than 560
*************************************************************************************/
@media screen and (min-width: 560px) {

}
/************************************************************************************
bigger than 640
*************************************************************************************/
@media screen and (min-width: 640px) {



}
/************************************************************************************
bigger than 767
*************************************************************************************/
@media screen and (min-width: 767px) {

  #self-introduction{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 80px auto;
    max-width: 900px;
  }
  #self-introduction #prof-img{
    width: 280px;
  }
  #self-introduction img{
    width: 180px;
  }
  #self-introduction #introduction-message{
    width: calc(100% - 330px);
    padding-right: 50px;
  }
  #self-introduction #introduction-message p{
    margin: 20px 0px;
  }
  #self-introduction #introduction-message h2{
    /* margin-bottom: 30px; */
  }
  #self-introduction #prof-img::before {
    left: calc(50% - -90px);
}
#contract-flow .flex{
  display: flex  ;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 30px auto;
  width: 750px;
}
#contract-flow h2{
  font-size: 1.4em;
  line-height: 2.3em;
  margin: 0 auto 50px;
  /* max-width: 17em; */
}
#contract-flow .flex > div{
  margin: 0;
  width: 50%;
}
#contract-flow .step-wrap{
  
}
#contract-flow {
  padding: 80px 0;
}


}
/************************************************************************************
bigger than 1280
*************************************************************************************/
@media screen and (min-width: 1280px) {
  #path{
    padding: 2px calc(50% - 490px);
    margin: auto;
    width: auto;
  }

#main-img {
  text-align: center;
}
  #self-introduction img {
      width: 200px;
  }
  #self-introduction #introduction-message {
    width: calc(100% - 370px);
    padding-right: 50px;
}
#self-introduction #prof-img::before {
  left: calc(50% - -116px);
  bottom: 60px;
  width: 40px;
  height: 50px;
}
#self-introduction #introduction-message h2:after {
  width: 91px;
  height: 60px;
  left: calc(50% - -130px);
  top: 13px;
}
#self-introduction #introduction-message p {
  margin: 31px 0px;
  line-height: 1.8em;
}
#self-introduction #introduction-message a {
  margin-top: 4em;
}
}
