#titleBlock {
  margin: 50px auto;
}

#titleBlock > h2 {
  font-size: 48px;
  color: #009944;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 20px;
}

#titleBlock > p#titleNum {
  font-size: 15px;
  color: #009944;
  font-weight: 700;
  text-align: center;
}

#titleBlock > p#titleNum > span {
  font-size: 24px;
  padding-right: 2px;
}

#titleBlock > div#titleTxt {
  width: 86%;
  max-width: 800px;
  margin: 30px auto 10px;
}

#titleBlock > div#titleTxt > p {
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  #titleBlock {
    margin: 30px auto;
  }
  #titleBlock > h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  #titleBlock > div#titleTxt {
    margin: 20px auto 10px;
  }
  #titleBlock > div#titleTxt > p {
    font-size: 14px;
  }
}
#dormitoryAll {
  padding: 80px 0;
  background-color: #f1f1f1;
}

#dormitorySpace {
  width: 100%;
  max-width: 1080px;
  margin: auto;
  margin-bottom: 50px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

@media (max-width: 1080px) {
  #dormitorySpace {
    max-width: 90%;
    justify-content: center;
  }
}
div.dormitoryContent {
  width: 340px;
  background-color: #fefefe;
  padding: 20px;
  border-radius: 20px;
  box-sizing: border-box;
}

div.dormitoryImg {
  width: 100%;
  position: relative;
}

div.dormitoryImg img {
  width: 100%;
  height: 220px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
}

div.dormitoryImg .dormitoryIcon {
  position: absolute;
  top: 0;
  right: 0;
  height: 28px;
  line-height: 28px;
  border-radius: 15px;
  box-sizing: border-box;
}

div.dormitoryImg .dormitoryIcon > p {
  font-size: 14px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 1px;
  color: #fefefe;
  width: 90px;
}

div.dormitoryImg .dormitoryIcon img.d_icon {
  width: 25px;
  height: auto;
  padding-right: 2px;
  -o-object-fit: contain;
     object-fit: contain;
  box-sizing: border-box;
  position: relative;
  top: -3px;
  left: -1px;
  border-radius: 0;
}

div.dormitoryImg .dormitoryIcon.firstIcon {
  background-color: #13bafc;
  top: 20px;
  right: 10px;
}

div.dormitoryImg .dormitoryIcon.secondIcon {
  background-color: #f54ea5;
  top: 55px;
  right: 10px;
}

div.dormitoryImg .dormitoryIcon.thirdIcon {
  background-color: #ff9411;
  top: 90px;
  right: 10px;
}

div.dormitoryTxt {
  margin: 20px auto;
}

div.dormitoryTxt > h3 {
  font-size: 48px;
  text-align: center;
  letter-spacing: 0.05em;
}

div.dormitoryTxt > h4 {
  font-size: 16px;
  text-align: center;
  margin: 5px auto 15px;
}

div.dormitoryTxt > p {
  font-size: 14px;
  line-height: 1.5;
  color: #434343;
}

div.dormitoryLink {
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 10px;
}

div.dormitoryLink div.btnDetail > a {
  color: #fefefe;
  background-color: #009944;
  width: 130px;
  height: 32px;
  line-height: 32px;
  display: inline-block;
  text-align: center;
  border-radius: 16px;
  transition: all 0.6s ease-in-out;
}

div.dormitoryLink div.btnDetail > a:hover {
  filter: opacity(0.7);
}

div.dormitoryLink div.btnApp > a {
  color: #fefefe;
  background-color: #434343;
  width: 130px;
  height: 32px;
  line-height: 32px;
  display: inline-block;
  text-align: center;
  border-radius: 16px;
  transition: all 0.6s ease-in-out;
}

div.dormitoryLink div.btnApp > a:hover {
  filter: opacity(0.7);
}

@media (max-width: 900px) {
  #dormitoryAll {
    padding: 50px 0;
  }
  div.dormitoryContent {
    width: 320px;
  }
  div.dormitoryImg > img {
    height: 200px;
  }
  div.dormitoryTxt > h3 {
    font-size: 40px;
  }
  div.dormitoryTxt > h4 {
    font-size: 15px;
  }
  div.dormitoryTxt > p {
    font-size: 13px;
  }
  div.dormitoryImg .dormitoryIcon > p {
    font-size: 12px;
    font-weight: normal;
    position: relative;
    top: 0;
    line-height: 1.4;
  }
  div.dormitoryImg .dormitoryIcon img.d_icon {
    padding-right: 2px;
    top: 3px;
    left: -4px;
  }
}
div#dormitoryPage {
  margin: 50px auto 20px;
  text-align: center;
}

div#dormitoryPage > p {
  letter-spacing: 0.7em;
}

div#dormitoryPage > p > a {
  color: #434343;
  position: relative;
  top: 1px;
}

div#dormitoryPage > p > a:hover {
  color: #009944;
}

div#dormitoryPage > p > a.activePage {
  color: #009944;
  display: inline-block;
  position: relative;
}

div#dormitoryPage > p > a.activePage::before {
  content: "";
  position: absolute;
  width: 1em;
  height: 1px;
  background-color: #009944;
  bottom: -2px;
  left: -0.25em;
}