main {
  padding-bottom: 100px;
}
@media screen and (max-width: 767px) {
  main {
    padding-bottom: 50px;
  }
}

#dormitory #first {
  position: relative;
  margin-bottom: 100px;
}
@media screen and (max-width: 767px) {
  #dormitory #first {
    margin-bottom: 50px;
  }
}
#dormitory #first .inner {
  position: absolute;
  width: 100%;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
}
@media screen and (max-width: 767px) {
  #dormitory #first .inner {
    position: static;
    color: #000;
    text-align: center;
    transform: none;
  }
}
#dormitory #first .inner .cat_title {
  font-size: clamp(3rem, 2.304rem + 0.9vw, 3.6rem);
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  #dormitory #first .inner .cat_title {
    font-size: 2.6rem;
  }
}
#dormitory #first .inner .lead {
  font-size: clamp(2rem, 1.304rem + 0.9vw, 2.6rem);
  margin-top: 8px;
  line-height: 1.6;
}
#dormitory #profiles .profile-layout {
  display: flex;
  gap: 28px;
  margin-bottom: 25px;
}
@media screen and (max-width: 767px) {
  #dormitory #profiles .profile-layout {
    flex-wrap: wrap;
    gap: 0;
    justify-content: space-between;
  }
}
#dormitory #profiles .profile-layout .box {
  width: 25%;
}
@media screen and (max-width: 767px) {
  #dormitory #profiles .profile-layout .box {
    width: 49%;
    margin-bottom: 20px;
  }
}
#dormitory #profiles .profile-layout .box .text h2 {
  font-size: clamp(1.6rem, 1.136rem + 0.6vw, 2rem);
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.4;
}
#dormitory #profiles .profile-layout .box .text p {
  font-size: clamp(1.2rem, 0.968rem + 0.3vw, 1.4rem);
}
#dormitory #content_wrap {
  position: relative;
}
#dormitory #content_wrap #sidenav {
  position: absolute;
  left: 3vw;
  top: 0;
  width: 300px;
  height: 100%;
  padding-top: 115px;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #sidenav {
    display: none;
    width: 40px;
    left: 0;
  }
}
#dormitory #content_wrap #sidenav .sidenav-stickey {
  position: sticky;
  left: 3vw;
  top: 120px;
  padding-bottom: 100px;
  padding-left: 5%;
  font-size: 1.2rem;
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #sidenav .sidenav-stickey {
    left: 0;
  }
}
#dormitory #content_wrap #sidenav .sidenav-stickey > ul > li {
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #sidenav .sidenav-stickey > ul > li {
    margin-bottom: 15px;
    padding-left: 5px;
  }
}
#dormitory #content_wrap #sidenav .sidenav-stickey > ul li a {
  display: block;
  position: relative;
  color: #333;
  font-weight: 500;
  margin-bottom: 12px;
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #sidenav .sidenav-stickey > ul li a {
    writing-mode: vertical-rl;
  }
}
#dormitory #content_wrap #sidenav .sidenav-stickey > ul li a:hover::before, #dormitory #content_wrap #sidenav .sidenav-stickey > ul li a.active::before {
  content: "";
  display: block;
  position: absolute;
  left: -10px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #E93325;
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #sidenav .sidenav-stickey > ul li a:hover::before, #dormitory #content_wrap #sidenav .sidenav-stickey > ul li a.active::before {
    left: -5px;
    top: 0;
    transform: none;
    width: 3px;
    height: 100%;
    border-radius: 0;
  }
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #sidenav .sidenav-stickey > ul li a.active-p::after {
    content: "";
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #E93325;
    left: -5px;
    top: 0;
    width: 3px;
    height: 100%;
  }
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #sidenav .sidenav-stickey > ul li .child {
    display: none;
  }
}
#dormitory #content_wrap #sidenav .sidenav-stickey > ul li .child li a {
  font-weight: 400;
}
#dormitory #content_wrap #content_block .content_section {
  position: relative;
  padding-block: 100px;
  padding-left: 340px;
  padding-right: 3vw;
  z-index: 1;
  overflow: hidden;
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #content_block .content_section {
    padding: 30px 5%;
  }
}
#dormitory #content_wrap #content_block .content_section.bg::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #F6F6F4;
  left: 0;
  top: 0;
  z-index: -1;
}
#dormitory #content_wrap #content_block .content_section .section-inner {
  max-width: 980px;
  margin: auto;
}
#dormitory #content_wrap #content_block .content_section h2 {
  font-size: clamp(3rem, 2.072rem + 1.2vw, 3.8rem);
  font-weight: 500;
  margin-bottom: 100px;
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #content_block .content_section h2 {
    font-size: 1.8rem;
    padding-bottom: 12px;
    margin-bottom: 40px;
  }
}
#dormitory #content_wrap #content_block .content_section h2 .num {
  display: block;
  margin-bottom: 20px;
  font-size: clamp(1.6rem, 1.136rem + 0.6vw, 2rem);
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #content_block .content_section h2 .num {
    margin-bottom: 0;
  }
}
#dormitory #content_wrap #content_block .content_section .question {
  margin: 50px 0;
}
#dormitory #content_wrap #content_block .content_section .row {
  display: flex;
  gap: 36px;
  margin-bottom: 2rem;
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #content_block .content_section .row {
    gap: 15px;
  }
}
#dormitory #content_wrap #content_block .content_section .row .prof {
  width: 55px;
  text-align: center;
  line-height: 1;
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #content_block .content_section .row .prof {
    width: 45px;
  }
}
#dormitory #content_wrap #content_block .content_section .row .prof span {
  display: inline-block;
  font-size: 1.1rem;
}
#dormitory #content_wrap #content_block .content_section .row p {
  flex: 1;
}
#dormitory #content_wrap #content_block .content_section .image {
  margin: 50px 0;
}
#dormitory #content_wrap #content_block .content_section .layout {
  display: flex;
  gap: 30px;
}
#dormitory #content_wrap #content_block .content_section .layout .text {
  width: 60%;
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #content_block .content_section .layout .text {
    width: 100%;
  }
  #dormitory #content_wrap #content_block .content_section .layout .text figure {
    margin-bottom: 30px;
  }
}
#dormitory #content_wrap #content_block .content_section .layout .detail {
  width: 40%;
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #content_block .content_section .layout .detail {
    display: none;
  }
}
#dormitory #content_wrap #content_block .content_section .layout .detail figure {
  margin-bottom: 150px;
}
@media screen and (max-width: 767px) {
  #dormitory #content_wrap #content_block .content_section .layout .detail figure {
    margin-bottom: 40px;
  }
}
#dormitory #content_wrap #content_block .content_section .layout .detail figure figcaption {
  text-align: right;
}
#dormitory #last {
  padding-top: 100px;
}
@media screen and (max-width: 767px) {
  #dormitory #last {
    padding-top: 50px;
  }
}