@charset "utf-8";
 
/*-- rental housing（賃貸住宅ページ）--*/

.w1250-br {display: inline;} 
.w945-br {display: none;}
.w768-br {display: inline;}
.w500-br {display: none;}


.rental-intro {
  margin: 0 auto 70px;
  display: block;
  font-size: 0;
}

.rental-intro__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin: 0 auto 40px;
  width: calc(100% - 140px);
}

.intro-head__copy {
  justify-self: center;
}

.intro-head__copy > h1 {
  margin-bottom: 22px;
  color: var(--rntl-green);
  font-size: clamp(2.5rem, 0.785rem + 1.62vw, 3.2rem);/* 768-1200 */
  line-height: 1.5;
  letter-spacing: var(--05rem);
}

.intro-head__copy > p {
  font-size: clamp(1.6rem, 0.778rem + 0.46vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.3rem;
  line-height: 1.8;
}

.intro-head__img {
  align-self: start;
  justify-self: end;
  width: 100%;
  max-width: 635px;
  display: block;
}

.intro-head__img > img {
  width: 100%;
  line-height: 1;
}

.head-icons {
  position: absolute;
  bottom: 25px;
  right: 4%;
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 10px;
}

.head-icons > figure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  aspect-ratio: 1;
  padding: 10px;
  max-width: 130px;
  background-color: rgb(255 255 255/0.95);
  border-radius: 10px;
}

.head-icons > figure img {
  margin: auto;
  margin-bottom: 10px;
  width: 75px;
}

.head-icons > figure figcaption {
  font-size: 13px;
  text-align: center;
  letter-spacing: 0;
  line-height: 1.4;
}

.rental-intro__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: auto;
  width: calc(100% - 200px);
  margin-bottom: 80px
}

.intro-body__copy {justify-self: center;}

.intro-body__copy > h2 {
  margin-bottom: 16px;
  color: var(--rntl-green);
  font-size: clamp(2.0rem, 1.028rem + 0.46vw, 2.2rem);
  line-height: 1.6;
}

.intro-body__copy > p {
  font-size: clamp(1.4rem, 0.546rem + 0.68vw, 1.6rem);
}

.intro-body__img {
  justify-self: end;
  display: flex;
  align-items: flex-start;
  max-width: 470px;
}

.intro-body__img > img {margin-right: 10px;}
.intro-body__img > img:last-child {margin-right: 0;}

.bg-wht-sct,.bg-lgy-sct {
  padding: 50px 0 70px;
  background-color: var(-wht);
}

.bg-lgy-sct {
  background-color: var(--l-g-yellow);
}

.sct-title {
  margin-bottom: 36px;
  width: 100%;
  text-align: center;
}

.sct-title > p {
  color: var(--rntl-green);
  font-family: "Spartan","League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.sct-title > h2,hgroup > h2 span {
  width: 100%;
  color: var(--rntl-green);
  font-size: clamp(2.3rem, 1.104rem + 0.69vw, 2.6rem);
  font-feature-settings: 'palt';
  letter-spacing: var(--03rem);
}

.sct-title > h2 span {font-size: 30px;}

.sct-inner > p.intro {
  margin-bottom: 40px;
}

.strong-pt__card {
  display: flex;
  justify-content: space-between;
  margin: auto;
  max-width: 940px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 31.914893%;
  max-width: 300px;
  padding: 26px 0;
  background-color: var(--wht);
  border: 2px solid var(--rntl-green);
  border-radius: 18px;
}

.card-title {
  display: flex;
  align-items: flex-start;
  margin: 0 20px 22px;
  width: 100%;
  line-height: 1.5;
}

.card-title > p {
  margin: 5px 7px 0 0;
  aspect-ratio: 1 / 1;
  color: var(--wht);
  font-family: "Spartan","League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-size: 20px;
  font-weight: 600;
  width: 16.66666%;
  max-width: 50px;
  background-color: #27b037;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  letter-spacing: 0;
}

.card-title > h3 {
  font-size: 20px;
  font-weight: 400;
}

.card-container > img {max-width: 300px;}

.card-txt {
  margin-top: 20px;
  width: calc(100% - 44px);
  min-height: 170px;
  font-size: 14px;
  text-align: justify;
}

.support {
  display: grid;
  grid-template-columns: 1fr;
}

.support-container {
  justify-self: start;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 60px;
  width: 68.75%;
  max-width: 900px;
}

.support-container:nth-child(2) {
  max-width: 600px;
  justify-self: center;
}

.support-container:nth-child(3) {align-items: flex-end;} 

.support-title {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.support-icon1,.support-icon2 {
  margin-right: 14px;
  max-width: 102px;
}
.support-icon2 {max-width: 60px;}

.support-title > h3 {
  color: var(--rntl-green);
  font-size: 21px;
  line-height: 1.4;
}

.support-txt {
  margin-bottom: 16px;
  font-size: 14px;
}

.partner-btn a {
  padding: 8px 24px;
  max-width: 250px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wht);
  background-color: var(--rntl-green);
  text-align: center;
  display: inline-block;
  transition: all 0.4s;
}

.partner-btn a:hover {background-color: #27b037;}

.support-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 10px;
  max-width: 70%;
}

.support-tag > p.tag {
  padding: 5px 14px;
  font-size: 13px;
  border: 1px solid var(--rntl-green);
  text-align: center;
  border-radius: 8px;
}

.support-tag__attn {
  font-size: 12px;
}

.support-img1 {width: 22.22222%; max-width: 200px;}
.support-img2 {max-width: 300px;}


.flow-card {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
 margin: auto;
 width: 100%;
 max-width: 1025px;
}

.flow-card > div {
  background-color: var(--wht);
  border-left: 1px solid var(--rntl-green);
  border-bottom: 1px solid var(--rntl-green);
}
.flow-card > div:last-child {border-right: 1px solid var(--rntl-green);}

.flow-card__num {
  position: relative;
  padding: 2px 2px 2px 16px;
  color: var(--wht);
  font-family: "Spartan","League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-size: 20px;
  font-weight: 600;
  background-color: var(--rntl-green);
}

.flow-card__num::before {
  content: '';
  position: absolute;
  top: 4px;
  left: -3px;
  background-image: url(../../rental-housing/images/flow-arrow.svg);
  background-repeat: no-repeat;
  width: 11px;
  height: 28px;
  display: inline-block;
}
.flow-card > div:first-child > .flow-card__num::before {display:none;}


.flow-card__body {padding: 17px 12px;}

.flow-card__body h3 {
  margin-bottom: 10px;
  min-height: 46px;
  color: var(--rntl-green);
  font-size: 15px;
  font-feature-settings: 'palt';
  line-height: 1.5;
}

.flow-card__body p {
  min-height: 110px;
  font-size: 13px;
  line-height: 1.6;
  text-align: justify;
}

.bnr-sct {
  position: relative;
  margin: 20px auto 70px;
}

.bnr-sct > picture {filter: brightness(0.58);}

.bnr-txt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: var(--wht);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.bnr-txt > h2 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 1.056rem + 0.93vw, 2.8rem);
  line-height: 1.5;
  text-shadow: 0 0 1px #000;
}

.bnr-txt > p {
  margin-bottom: 22px;
  font-size: clamp(1.5rem, 0.604rem + 0.69vw, 1.8rem);
  font-weight: 600;
  text-shadow: 0 0 1px #000;
}

.bnr-btn a {
  margin: auto;
  padding: 11px 25px;
  color: var(--rntl-green);
  font-size: clamp(1.6rem, 0.556rem + 0.93vw, 2.0em);
  font-weight: 600;
  background-color: var(--wht);
  text-align: center;
  transition: all 0.4s;
  display: block;
  max-width: 500px;
  line-height: 1.5;
}

.bnr-btn a:hover {
  color: var(--wht);
  background-color: var(--rntl-green);
}


@media screen and (max-width: 1265px) {

  .flow-card {
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    max-width: 745px;
  }
  
  .flow-card > div:nth-child(4) {border-right: 1px solid var(--rntl-green);}
  .flow-card > div:nth-child(5) > .flow-card__num::before {display:none;}

}

@media screen and (max-width: 1080px) {
   
  .w1250-br {display: none;} 
  .w945-br {display: inline;}

  .intro-head__copy > h1 {margin-bottom: 12px;}
  .intro-head__copy > p {line-height: 1.6;}
  .intro-head__img > img {margin-bottom: 20px;}
  .head-icons {position: initial;}  
  
  .intro-body__copy > h2 {margin-bottom: 12px;}
  
  .intro-body__img {align-self: end;}

  .strong-pt__card {width: calc(100% - 180px);}
  .card-title > p {font-size: 17px;}
  .card-title > h3 {font-size: 18px;}
  .card-txt {min-height: 220px;}

}


@media screen and (max-width: 768px) {

  .w768-br {display: none;}

  header {
    margin-bottom: 50px;
    height: 55px;
  }
  
  .rental-intro {margin: 0 auto 40px;}
  
  .rental-intro__head {
    grid-template-columns: 1fr;
    width: 85%;
  }

  .intro-head__copy {margin-bottom: 40px;}
  .intro-head__copy > h1 {font-size: 32px;}
  .intro-head__copy > p {font-size: 18px;}
  
  .head-icons {
    grid-template-columns: repeat(3, 110px);
    place-content: center;
  }
  .head-icons > figure {
    padding: 0;
    max-width: 110px;
    background-color: transparent;
  }  
  
  .rental-intro__body {
    grid-template-columns: 1fr;
    width: 85%;
  }
  
  .intro-body__img {display: none;}
  .intro-body__copy > h2 {font-size: 22px;}
  .intro-body__copy > p {font-size: 16px;}
  
  .strong-pt__card {
    flex-direction: column;
    align-items: center;
    width: 85%;
    }
    
  .card-container {
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
  }
  
  .card-container > img {max-width: 100%;}
  .card-txt {
    min-height: auto;
    padding-bottom: 5px;
  }
  
  .card-title > p {
    margin-top: 1px;
    font-size: 20px;
  }

  .support-container {
    justify-content: initial;
    margin: 0 auto 60px;
    width: 85%;
    flex-direction:  column;
    align-items: center;
  }
  
  .partner-btn a {
    margin-bottom: 50px;
    width: 100%;
    max-width: 100%;
  }

  .support-img1 {width: 100%; max-width: 50%;}
  
  .support-container:nth-child(3) {
    margin-bottom: 20px;
    max-width: 570px;
    align-items: center;
  } 

  .support-tag {
    margin-bottom: 50px;
    max-width: 100%;
  }

  .support-img1,.support-img2 {width: 100%; max-width: 300px;}
  .support-img1 {max-width: 220px;}
  
  .flow-card {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    max-width: 85%;
  }
  
  .bnr-btn a {max-width: 450px;}

}


@media screen and (max-width: 500px) {

  .w500-br {display: inline;}

  .rental-intro {margin: 0 auto 38px;}

  .rental-intro__head {width: 100%;}    
  .intro-head__copy > h1 {font-size: 25px;}
  .intro-head__copy > p {
    font-size: 16px;
    line-height: 1.7;
  }
  .intro-head__img > img {margin-bottom: 25px;}    
  .intro-body__copy > h2 {font-size: 20px;}
  .intro-body__copy > p {font-size: 15px; line-height: 1.8;}
  
  .sct-title {margin-bottom: 32px;}
  
  .sct-title > p {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .sct-title > h2, hgroup > h2 span {
    font-size: 23px;
    line-height: 1.5;
  }

  .sct-title > h2 span {font-size: 30px;}
  
  .flow-card > div:nth-child(2),.flow-card > div:nth-child(6) {border-right: 1px solid var(--rntl-green);}
  .flow-card > div:nth-child(3) > .flow-card__num::before,.flow-card > div:nth-child(7) > .flow-card__num::before {display:none;}
  
  .support-title > h3 {font-size: 19px;}
  
  .support-icon1,.support-icon2 {
    margin-right: 11px;
    max-width: 82px;
  }
  .support-icon2 {max-width: 52px;}
  
  .support-txt {text-align: justify;}
  .support-txt br {display: none;}

  

  .bnr-btn a {max-width: 85%;}

}
