@charset "utf-8";

/*--------------------------------------------------------------------------
   Overwright
---------------------------------------------------------------------------*/
.page-ttl {
  background: url(../image/dormitory/img_kv_pc.jpg) no-repeat top center;
  background-size: cover;
}

/*--------------------------------------------------------------------------
   dormitory
---------------------------------------------------------------------------*/

.dormitoryWrap {
  background-color: #f2f7e8;
  max-width: 100%;
  padding: 5% 60px;
  margin: 0 auto;
}

.dormitoryWrap h3 {
  font-size: 2.8rem;
  text-align: center;
  font-weight: 600;
  color: #7fbe26;
}

.dormitoryList {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 40px auto 0;
  max-width: 1440px;
}

.dormitoryList ul {
  flex-basis: 30%;
  max-width: 30%;
  background-color: #fff;
  border: 3px solid #231815;
  border-radius: 20px;
  padding: 20px 30px;
  margin: 0 1.66%;
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.dormitory {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
}

.dormitoryList h4 {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.3;
  color: #7fbe26;
  border-bottom: 2px solid #7fbe26;
  padding-bottom: 10px;
}

.dormitoryList h4 span {
  font-size: 1.8rem;
  font-weight: 300;
  color: #231815;
}

.spec {
  flex-basis: 80%;
  max-width: 80%;
  padding-right: 10px;
}

.photo {
  flex-basis: 50%;
  max-width: 50%;
  text-align: right;
  padding-top: 30px;
}

.spec dl {
  font-size: 1.3rem;
  padding-left: 1em;
  text-indent: -1em;
}

.spec dd span {
  font-size: 0.5rem;
  color: #7fbe26;
}

.rentAria {
  border: 2px solid #bfbfbf;
  border-radius: 10px;
  margin-top: 10px;
  padding: 5px 15px;
  font-size: 2rem;
  line-height: 1.2;
  display: inline-block;
}

.rentAria .rent {
  display: block;
  font-size: 1.4rem;
}

.rentAria .price {
  font-size: 3.2rem;
}

.planImg {
  text-align: center;
  margin-top: auto;
  padding-top: 30px;
}

/* intro
-----------------------------------------------------------------*/
.intro {
  padding: 55px 0 75px;
}

.intro .txt-lead {
  margin-bottom: 25px;
  text-align: center;
  font-size: 2.8rem;
  line-height: 1.5;
  font-weight: 800;
  color: #7fbc26;
}

.intro .txt {
  font-size: 1.8rem;
  text-align: center;
}

.intro .txt:nth-child(n + 2) {
  margin-top: 35px;
  margin-bottom: 30px;
}

.other {
  text-align: center;
  font-size: 1.8rem;
}

.other p:nth-of-type(2) {
  padding-top: 10px;
}

@media screen and (max-width: 1280px) {
  .dormitoryList ul {
    flex-basis: 48%;
    max-width: 48%;
    margin: 0 1% 25px;
  }
}

/*--------------------------------------------------------------------------
   mobile
---------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  .page-ttl {
    background: url(../image/dormitory/img_kv_sp.jpg) no-repeat center center;
    background-size: cover;
  }

  .dormitoryWrap {
    background-color: #f2f7e8;
    max-width: 100%;
    padding: 10% 20px;
  }

  .dormitoryWrap h3 {
    font-size: 2.8rem;
    text-align: center;
    font-weight: 600;
    color: #7fbe26;
  }

  .dormitoryList {
    display: block;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 5% auto 0;
    max-width: 500px;
  }

  .dormitoryList ul {
    flex-basis: 100%;
    max-width: 100%;
    background-color: #fff;
    border: 3px solid #231815;
    border-radius: 20px;
    padding: 5%;
    margin: 0 0px;
    display: flex;
    flex-direction: column;
    margin-bottom: 7%;
  }

  .dormitory {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
  }

  .dormitoryList h4 {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.3;
    color: #7fbe26;
    border-bottom: 2px solid #7fbe26;
    padding-bottom: 10px;
  }

  .dormitoryList h4 span {
    font-size: 1.8rem;
    font-weight: 300;
    color: #231815;
  }

  .spec {
    flex-basis: 80%;
    max-width: 80%;
  }

  .photo {
    flex-basis: 50%;
    max-width: 50%;
    text-align: right;
    padding-top: 30px;
  }

  .spec dl {
    font-size: 1.3rem;
  }

  .spec dl dt {
    max-width: 100px;
  }

  .spec dd span {
    font-size: 0.5rem;
    color: #7fbe26;
  }

  .rentAria {
    border: 2px solid #bfbfbf;
    border-radius: 15px;
    margin-top: 10px;
    padding: 5px 15px;
    font-size: 2rem;
    line-height: 1.2;
    display: inline-block;
  }

  .rentAria .rent {
    font-size: 1.4rem;
  }

  .rentAria .price {
    font-size: 3.2rem;
  }

  .planImg {
    text-align: center;
    margin-top: auto;
    padding-top: 30px;
  }

  /* intro
-----------------------------------------------------------------*/
  .intro {
    padding: 35px 0;
  }

  .intro .txt-lead {
    font-size: 1.8rem;
  }

  .intro .txt {
    font-size: 1.4rem;
    text-align: left;
  }

  .intro .txt:nth-child(n + 2) {
    margin-top: 12px;
  }

  .other {
    margin: 0 auto;
    max-width: 500px;
  }
}