/*ロゴ*/
h1{
  width: 500px;
  height: auto;
  margin: 120px auto 0;
}
/*メインのグリーン*/
.sub_main{
  width: 100%;
  height: 237px;
  background: #70b889;
  text-align: center;
  min-width: 1202px;
  position: relative;
  z-index: 10;
}
#star{  
  min-width: 1202px;
}
#mv_wrap{
  min-width: 1202px;
}
.mv_bg{
min-width: 1202px;
}
.mv .sub_main img:first-of-type{
  width: 240px;
  height:auto;
  animation-name:fadeUp2;
  animation-delay: 0.4s;
  margin-right: -10px;
}
.mv .sub_main img:nth-of-type(2){
  width: 180px;
  height:auto;
  animation-name:fadeUp3;
  animation-delay: 0.8s;
  margin-left: -118px;
}
.mv .sub_main img:nth-of-type(3){
  width: 151px;
  height:auto;
  animation-name:fadeUp4;
  animation-delay: 1.2s;
  margin-left: -99px;
}
.mv .sub_main img:nth-of-type(4){
  width: 260px;
  height:auto;
  animation-name:fadeUp4;
  animation-delay: 1.2s;
  margin-left: -60px;
}
.mv .sub_main img:nth-of-type(5){
  width: 144px;
  height:auto;
  animation-name:fadeUp3;
  animation-delay: 0.8s;
  margin-left: -82px;
}
.mv .sub_main img:last-of-type{
  width: 80px;
  height:auto;
  animation-name:fadeUp2;
  animation-delay: 0.4s;
  margin-left: -25px;
}
.sub_main p{
  display: inline-block;
  color:#FFF7E2;
  font-weight: bold;
  animation-name:fadeUp5;
  animation-delay: 1.6s;
}
.sub_main p span{
  font-size: 1.6rem;
}
h1,nav{
  animation-name:fadeUp1;
  }
h1, nav, .sub_main img, .sub_main p, .scroll{
  animation-duration:0.6s;
  animation-fill-mode:forwards;
  opacity: 0;
  }
  @keyframes fadeUp1{
    from {
      opacity: 0;
    transform: translateY(40px);
    }
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  @keyframes fadeUp2{
    from {
      opacity: 0;
    transform: translateY(-125px);
    }
    to {
      opacity: 1;
    transform: translateY(-165px);
    }
  }
  @keyframes fadeUp3{
    from {
      opacity: 0;
    transform: translateY(-73px);
    }
    to {
      opacity: 1;
    transform: translateY(-113px);
    }
  }
  @keyframes fadeUp4{
    from {
      opacity: 0;
    transform: translateY(-30px);
    }
    to {
      opacity: 1;
    transform: translateY(-70px);
    }
  }
  /*スクロール*/
.scroll {
  margin: 35px auto 0;
  animation-name:fadeUp5;
  animation-delay: 2s;
  animation-duration:0.8s;
  animation-fill-mode:forwards;
  opacity: 0;
  width: 48px;
  height: 63px;
  background-image: url(../images/scrool_button.svg);
  background-repeat: no-repeat;
  background-position: center;
  }
@keyframes fadeUp5{
  from {
  opacity: 0;
  transform: translateY(-40px);
  }
  to {
  opacity: 1;
  transform: translateY(-160px);
  }
}
/*ボタン*/
.green_bt{
  width: 270px;
  height: 52px;
  background-color: #70b889;
  color: #FFF7E2;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
}
.green_bt:hover{
  background: #a2c5ae;
  transition-duration: 0.4s;
}
/*コンテンツ*/
.cont1,.cont2{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  width: 100%;
  height: 450px;
}
.cont2{
  margin-top: -2rem;
}
.cont1{
  background-image: url(../images/contents_bg5.svg),url(../images/contents_bg6.svg),url(../images/contents_bg3.svg),url(../images/contents_bg7.svg),url(../images/contents_bg8.svg);
  background-position: 40% 15%,31% 72%,100% 100%,17% 100%,1% 100%;
  background-size: 89px,249px,96px,124px,131px;
  background-repeat: no-repeat;
}
.cont2{
  background-image: url(../images/contents_bg1.svg),url(../images/contents_bg2.svg),url(../images/contents_bg4.svg);
  background-position: 82% 37%,7% 50%,62% 80%;
  background-size: 100px,179px,145px;
  background-repeat: no-repeat;
}
h2{
  display: inline;
  font-size: 2rem;
  background: linear-gradient(transparent 0.9em, #FFB79E 0, #FFB79E calc(0.9em + 9px) , transparent 0);
}
.cont1 span,.cont2 span{
  color: #70b889;
}
.cont-capture{
  width: 530px;
  height: 350px;
  background-size: cover;
  border-radius: 20px;
  position: relative;
  z-index: 5;
}
.cont-capture1{
  background-image: url(../images/contents_pho0.jpg);
}
.cont1 .cont_tex{
  position: sticky;
  margin-right: -70px;
  z-index: 6;
}
.cont-capture2{
  background-image: url(../images/contents_pho.jpg);
}
.cont2 .cont_tex{
  text-align: right;
  position: relative;
  margin-left: -70px;
  z-index: 6;
}
.cont_tex p{
  margin-top: 1rem;
}
/*おすすめ物件*/

.osusume{
  text-align: center;
  margin-bottom: 3rem;
}
.osusume_bukken{
  margin-top: -9rem;
}
.osusume h4{
  width: 100%;
  max-width: 850px;
  height: 4rem;
  background: none;
  display: inline-block;
  margin: 3rem auto;
  padding-top: 1rem;
}
.osusume h4:first-child{
  background-image: url(../images/tatemono.bg.svg);
}
.osusume h4:nth-child(3){
  background-image: url(../images/tochi_bg.svg);
}
.slider {
  width:850px;
  margin:0 auto;
}
.bukken-img img{
  opacity: 0.85;
}
.bukken-img div{
  background: #fffff2;
  width: 400px;
  padding: 0.5rem;
}
.osusume ul{
  margin-bottom: 1rem;
}
.bukken-tt{
  font-size: 28px;
  color: #70b889;
}
.bukken-tt span{
  font-size: 18px;
  color: #494949;
}
.space{
  margin-right: 0.3rem;
}
.bukken-tt, .bukken-tt2{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*バナーなど*/
.banner{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 2rem auto;
}
.banner img{
  width: 200px;
  height: 134px;
}
/*柴犬*/
.cont1 .shiba{
  margin: 0 0 25px -88px;
}
.cont2 .shiba{
  margin: 8px -59px -19px -10px;
  transform: rotate(43deg);
}
.osusume .shiba{
  margin: 10px -13px -23px -65px;
  transform: rotate(-47deg);
}
@media (max-width:1201px){
  .sub_main{
    min-width: 821px;
      height: 190px;
  }
  #star{  
    min-width: 821px;
  }
  #mv_wrap{
    min-width: 821px;
  }
  .mv_bg{
  min-width: 821px;
  }
  .mv .sub_main img:first-of-type{
    width: 168px;
    margin-right: 10px;
  }
  .mv .sub_main img:nth-of-type(2){
    width: 126px;
  }
  .mv .sub_main img:nth-of-type(3){
    width: 105px;
  }
  .mv .sub_main img:nth-of-type(4){
    width: 182px;
  }
  .mv .sub_main img:nth-of-type(5){
    width: 99px;
    margin-left: -76px;
  }
  .mv .sub_main img:last-of-type{
    width: 56px;
  }
  .sub_main p{
    font-size: 14px;
  }
  .sub_main p span{
    font-size: 1.3rem;
  }
    @keyframes fadeUp1{
      from {
        opacity: 0;
      transform: translateY(40px);
      }
      to {
        opacity: 1;
      transform: translateY(0);
      }
    }
    @keyframes fadeUp2{
      from {
        opacity: 0;
      transform: translateY(-87px);
      }
      to {
        opacity: 1;
      transform: translateY(-117px);
      }
    }
    @keyframes fadeUp3{
      from {
        opacity: 0;
      transform: translateY(-44px);
      }
      to {
        opacity: 1;
      transform: translateY(-74px);
      }
    }
    @keyframes fadeUp4{
      from {
        opacity: 0;
      transform: translateY(13px);
      }
      to {
        opacity: 1;
      transform: translateY(-17px);
      }
    }
    /*スクロール*/
  .scroll {
    margin: 12px auto 0;
    width: 44px;
    height: 50px;
    }
  @keyframes fadeUp5{
    from {
    opacity: 0;
    transform: translateY(-41px);
    }
    to {
    opacity: 1;
    transform: translateY(-71px);
    }
  }
  /*ボタン*/
  .green_bt{
    width: 230px;
    height: 45px;
    border-radius: 8px;
    font-size: 16px;
  }
  /*コンテンツ*/
  .cont1{
    background-size: 78px,200px,86px,104px,111px;
  }
  .cont2{
    background-size: 80px,149px,115px;
    background-position: 82% 43%,7% 60%,62% 76%;
  }
  .cont1 .cont_tex{
    margin-right: -112px;
  }
  h2{
    font-size: 1.6rem;
    background: linear-gradient(transparent 0.8em, #FFB79E 0, #FFB79E calc(0.8em + 9px) , transparent 0);
  }
  .cont-capture{
    width: 454px;
    height: 302px;
    border-radius: 18px;
  }
  /*おすすめ物件*/
  .slider {
    width:650px;
  }
  .osusume h4{
    width: 650px;
  }
  .bukken-img img{
    width: 300px;
  }
  .bukken-img div{
    width: 300px;
  }
  .cont2 .shiba{
    margin: 8px -31px -19px -25px;
  }
}
@media (max-width:820px){
  h1{
    width: 450px;
    margin: 190px auto 0;
  }
  #star{ 
    height: 690px;
  }
  .mv_bg{
    height: 352px;
  }
  .sub_main{
    height: 237px;
    min-width: 481px;
  }
  #star{  
    min-width: 481px;
    height: 496px;
  }
  #mv_wrap{
    min-width: 481px;
    height: 313px;
  }
  .mv_bg{
  min-width: 481px;
  height: 313px;
  }
  
  .green_bt{
    width: 182px;
    height: 42px;
    font-size: 13px;
  }
  .cont1,.cont2{
    height: 420px;
  }
  .cont1{
    background-position: 40% 15%,31% 72%,96% 100%,87% 100%,9% 100%;
    background-size: 48px,178px,69px,80px,94px;
  }
  .cont2{
    background-size: 64px,129px,115px;
    background-position: 82% 77%,7% 74%,72% 76%;
  }
  .cont-capture{
    width: 348px;
    height: 236px;
    margin-bottom: -80px;
  }
  .cont1 .cont_tex{
    margin-right: -280px;
    margin-top: -200px;
  }
  .cont2 .cont_tex{
    margin-left: -283px;
    margin-top: -215px;
  }
  .slider {
    width:470px;
  }
  .osusume h4{
    width: 470px;
  }
  .bukken-img img{
    width: 220px;
  }
  .bukken-img div{
    width: 220px;
  }
  .bukken-tt{
    font-size: 20px;
  }
  .bukken-tt span{
    font-size: 14px;
  }
  .cont1 .shiba{
    margin: 0 0 21px -174px;
  }
}
@media (max-width:720px){
.mv .sub_main img:first-of-type{
  width: 149px;
  margin-right: -68px;
}
.mv .sub_main img:nth-of-type(2){
  width: 116px;
  position: relative;
  z-index: 22;
  margin-left: -179px;
  margin-right: 4px;
}
.mv .sub_main img:nth-of-type(3){
  width: 95px;
  margin-left: -72px;
  margin-right: -123px;
}
.mv .sub_main img:nth-of-type(4){
  width: 166px;
  position: relative;
  z-index: 20;
  margin-left: -149px;
}
.mv .sub_main img:nth-of-type(5){
  width: 92px;
  margin-left: -63px;
  position: relative;
  z-index: 22;
}
.mv .sub_main img:last-of-type{
  margin-left: -193px;
}
  @keyframes fadeUp1{
    from {
      opacity: 0;
    transform: translateY(40px);
    }
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  @keyframes fadeUp2{
    from {
      opacity: 0;
    transform: translateY(-132px);
    }
    to {
      opacity: 1;
    transform: translateY(-152px);
    }
  }
  @keyframes fadeUp3{
    from {
      opacity: 0;
    transform: translateY(-63px);
    }
    to {
      opacity: 1;
    transform: translateY(-83px);
    }
  }
  @keyframes fadeUp4{
    from {
      opacity: 0;
    transform: translateY(-102px);
    }
    to {
      opacity: 1;
    transform: translateY(-122px);
    }
  }
@keyframes fadeUp5{
  from {
  opacity: 0;
  transform: translateY(1px);
  }
  to {
  opacity: 1;
  transform: translateY(-19px);
  }
}
}
@media (max-width:480px){
  h1{
    width: 350px;
  }
  .sub_main{
    height: 224px;
    min-width: 375px;
  }
  #star{  
    min-width: 375px;
  }
  #mv_wrap{
    min-width: 375px;
    height: 294px;
  }
  .mv_bg{
  min-width: 375px;
  height: 295px;
  }
  .mv .sub_main img:first-of-type{
    width: 131px;
    margin-right: -61px;
  }
  .mv .sub_main img:nth-of-type(2){
    width: 102px;
    margin-left: -179px;
    margin-right: 4px;
  }
  .mv .sub_main img:nth-of-type(3){
    width: 90px;
    margin-left: -63px;
    margin-right: -125px;
  }
  .mv .sub_main img:nth-of-type(4){
    width: 144px;
    height:auto;
    animation-name:fadeUp4;
    animation-delay: 1.2s;
    margin-left: -155px;
  }
  .mv .sub_main img:nth-of-type(5){
    width: 85px;
    height:auto;
    animation-name:fadeUp3;
    animation-delay: 0.8s;
    margin-left: -70px;
  }
  .mv .sub_main img:last-of-type{
    width: 55px;
    margin-left: -187px;
  }
    @keyframes fadeUp2{
      from {
        opacity: 0;
      transform: translateY(-120px);
      }
      to {
        opacity: 1;
      transform: translateY(-140px);
      }
  }
  .cont1{
    background-position: 40% 5%,31% 25%,100% 100%,27% 100%,1% 100%;
    background-size: 63px,77px,109px,70px,111px;
  }
  .cont2{
    background-position: 92% 20%,0% 10%,50% 50%;
    background-size: 122px,128px,116px;
    margin-top: 0;
  }
  h2{
    font-size: 1.4rem;
  }
  .cont-capture{
    width: 320px;
    height: 227px;
  }
  .cont1 .cont_tex{
    margin-right: -312px;
    margin-top: -200px;
  }
  .cont2 .cont_tex{
    margin-left: -318px;
    margin-top: -215px;
  }  
  .cont2 .shiba {
    margin: 8px -5px -19px -25px;
  }
  .osusume h4{
    max-width: 360px;
    margin: 5rem auto 1rem;
  }
  .osusume h4:nth-child(3){
    margin: 2rem auto 1rem;
  }
  .slider {
    width:360px;
  }
  .bukken-img div{
    width: 185px;
  }
  .bukken-img img{
    width: 185px;
  }
  .bukken-tt{
    font-size: 18px;
  }
  .bukken-tt span{
    font-size: 14px;
  }
  .banner {
    margin: 0 auto;
  }
  .banner img{
    width: 150px;
    height: 99px;
    margin-bottom: 0.5rem;
  }
  .banner a {
    margin-left: 0;
}
}