.faculties_title h1,
.faculties_title h2,
.faculties_title h3,
.faculties_title h4,
.faculties_title h5,
.faculties_title h6 {
  font-size: 6rem;
  line-height: 1.1;
}
@media screen and (max-width: 767px) {
  .faculties_title {
    text-align: center;
  }
  .faculties_title h1,
  .faculties_title h2,
  .faculties_title h3,
  .faculties_title h4,
  .faculties_title h5,
  .faculties_title h6 {
    font-size: 5rem;
  }
}
.faculties-wrap {
  margin-top: 40px;
  margin-bottom: -80px;
  padding-top: 60px;
  padding-bottom: 200px;
  background-color: #f9a80d;
  background-image: url(/faculties/img/index_faculties_bg01.jpg);
  background-position: left bottom;
  background-size: auto 317px;
  background-repeat: no-repeat;
}
@media screen and (max-width: 767px) {
  .faculties-wrap {
    margin-bottom: -70px;
    padding-top: 40px;
    padding-bottom: 169px;
    background-position: left -10px bottom 0;
    background-size: auto 329px;
  }
}
.faculties_catch {
  font-weight: 700;
  font-size: 1.6rem;
  margin-top: 80px;
}
@media screen and (max-width: 767px) {
  .faculties_catch {
    text-align: left;
  }
}
.faculties_index {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 50px;
}
@media screen and (max-width: 767px) {
  .faculties_index {
    gap: 24px 15px;
  }
}
.faculties_index_item {
  width: 220px;
  font-size: 1.8rem;
  text-align: center;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: end;
}
@media screen and (max-width: 767px) {
  .faculties_index_item {
    width: 165px;
  }
}
.faculties_index_item a {
  text-decoration: none;
  color: #000;
  padding-right: 46px;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .faculties_index_item a {
    padding-right: 26px;
  }
}
.faculties_index_item::before {
  display: block;
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  border-top: 1px solid #d8d8d8;
  pointer-events: none;
}
.faculties_index_item::after {
  display: block;
  content: "";
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: -8px;
  left: 0;
  border-top: 1px solid #000;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  pointer-events: none;
}
.faculties_index_item:hover::after {
  transform: scaleX(1);
}
.faculties_index_item a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0.5em;
  right: 7%;
  transform: translateY(-50%) rotate(135deg);
  width: 10px;
  height: 10px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transition: all 0.3s;
}
@media screen and (max-width: 767px) {
  .faculties_index_item a::after {
    right: 3%;
  }
}
.faculties_list {
  max-width: 980px;
  margin-top: 128px;
  margin-right: auto;
  margin-left: auto;
}
.faculties_list > ul {
  overflow: hidden;
  margin: 0 -35px;
  padding-top: 120px;
}
.faculties_list > ul > li {
  float: left;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 33.33%;
  padding: 0 35px;
}
.faculties_list > ul > li:nth-child(3n + 1) {
  clear: left;
  -webkit-transform: translateY(-120px);
  transform: translateY(-120px);
}
.faculties_list > ul > li:nth-child(3n + 2) {
  -webkit-transform: translateY(-60px);
  transform: translateY(-60px);
}
.faculties_list > ul > li:nth-child(n + 4) {
  margin-top: 80px;
}
.faculties_list > ul > li > a {
  display: block;
}
.faculties_list > ul > li > a:active,
.faculties_list > ul > li > a:hover {
  text-decoration: none;
}
@media screen and (max-width: 1199px) {
  .faculties_list > ul {
    margin: 0 -10px;
  }
  .faculties_list > ul > li {
    padding: 0 10px;
  }
}
@media screen and (max-width: 767px) {
  .faculties_list {
    margin-top: 30px;
  }
  .faculties_list > ul {
    margin: 0 -7px;
    padding-top: 95px;
  }
  .faculties_list > ul > li {
    width: 50%;
    padding: 0 7px;
  }
  .faculties_list > ul > li:nth-child(3n + 1) {
    clear: none;
    -webkit-transform: none;
    transform: none;
  }
  .faculties_list > ul > li:nth-child(3n + 2) {
    -webkit-transform: none;
    transform: none;
  }
  .faculties_list > ul > li:nth-child(2n + 1) {
    clear: left;
    -webkit-transform: translateY(-95px);
    transform: translateY(-95px);
  }
  .faculties_list > ul > li:nth-child(n + 3) {
    margin-top: 19px;
  }
}
.faculties_item_image-wrap {
  position: relative;
  overflow: hidden;
}
.faculties_item_image {
  position: relative;
  overflow: hidden;
  padding-top: 114.29%;
}
.faculties_item_image > img {
  position: absolute;
  top: -2000%;
  right: -2000%;
  bottom: -2000%;
  left: -2000%;
  min-width: 500%;
  min-height: 500%;
  margin: auto;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform: scale(0.2);
  transform: scale(0.2);
}
a.is-current .faculties_item_image > img,
a:active .faculties_item_image > img,
a:hover .faculties_item_image > img {
  -webkit-transform: scale(0.22);
  transform: scale(0.22);
}
@media screen and (max-width: 767px) {
  .faculties_item_image {
    padding-top: 114.55%;
  }
}
.faculties_item_name-wrap {
  position: absolute;
  bottom: -1px;
  left: -1px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: calc(100% + 1px);
  max-height: calc(100% + 1px);
  padding: 35px 8px 9px 9px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(56, 41, 36, 0)),
    to(rgba(56, 41, 36, 0.8))
  );
  background: linear-gradient(
    to bottom,
    rgba(56, 41, 36, 0),
    rgba(56, 41, 36, 0.8)
  );
  color: #fff;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform-origin: left bottom;
  transform-origin: left bottom;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
a.is-current .faculties_item_name-wrap,
a:active .faculties_item_name-wrap,
a:hover .faculties_item_name-wrap {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
@media screen and (max-width: 767px) {
  .faculties_item_name-wrap {
    padding: 62px 3px 4px 4px;
  }
}
.faculties_item_position {
  font-size: 1.4rem;
  line-height: 1.2;
}
@media screen and (max-width: 767px) {
  .faculties_item_position {
    font-size: 1rem;
  }
}
.faculties_item_name {
  font-size: 3rem;
  line-height: 1.05;
}
.faculties_item_name:nth-child(n + 2) {
  margin-top: 4px;
}
.faculties_item_name > span {
  color: #f9a80d;
}
@media screen and (max-width: 767px) {
  .faculties_item_name {
    font-size: 2.2rem;
  }
}
.faculties_item_caption {
  margin-right: 8px;
  margin-left: 8px;
  color: #000;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
}
.faculties_item_caption:nth-child(n + 2) {
  margin-top: 7px;
}
.faculties_detail-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  -ms-flex-align: center;
  position: fixed;
  z-index: 101;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  pointer-events: none;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
}
.faculties_detail-wrap.is-active {
  opacity: 1;
}
.faculties_detail-outer {
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 980px;
  max-width: calc(100% - 75px - 75px);
  padding: 10px;
  background-color: #fff;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease,
    -webkit-transform 0.3s ease;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.faculties_detail-wrap.is-active .faculties_detail-outer {
  opacity: 1;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  -webkit-transform: scale(1);
  transform: scale(1);
  pointer-events: auto;
}
@media screen and (max-width: 1199px) {
  .faculties_detail-outer {
    max-width: calc(100% - 25px - 25px);
  }
}
@media screen and (max-width: 767px) {
  .faculties_detail-outer {
    max-width: calc(100% - 15px - 15px);
    padding: 5px;
  }
}
.faculties_detail {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 200px);
}
@media screen and (max-width: 767px) {
  .faculties_detail {
    max-height: calc(100vh - 140px);
  }
}
.faculties_detail_inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 55px;
}
@media screen and (max-width: 767px) {
  .faculties_detail_inner {
    display: block;
    padding: 40px 25px;
  }
}
.faculties_detail_image-wrap {
  width: 350px;
  margin-right: 50px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 350px;
  flex: 0 0 350px;
}
@media screen and (max-width: 1199px) {
  .faculties_detail_image-wrap {
    width: 280px;
    margin-right: 30px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 280px;
    flex: 0 0 280px;
  }
}
@media screen and (max-width: 767px) {
  .faculties_detail_image-wrap {
    width: 260px;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
}
.faculties_detail_image > img {
  max-width: 100%;
}
@media screen and (max-width: 767px) {
  .faculties_detail_body-wrap:nth-child(n + 2) {
    margin-top: 13px;
  }
}
.faculties_detail_header_title {
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.2;
}
@media screen and (max-width: 767px) {
  .faculties_detail_header_title {
    text-align: center;
    font-size: 2.8rem;
  }
}
.faculties_detail_header_text {
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.5;
}
.faculties_detail_header_text:nth-child(n + 2) {
  margin-top: 1px;
}
@media screen and (max-width: 767px) {
  .faculties_detail_header_text {
    text-align: center;
  }
}
.faculties_detail_body:nth-child(n + 2) {
  margin-top: 13px;
}
.faculties_detail_body p {
  line-height: 1.5;
}
.faculties_detail_close {
  position: absolute;
  top: 13px;
  right: 13px;
  margin-top: 0;
}
.faculties_detail_close > a {
  display: block;
  position: relative;
  overflow: hidden;
  width: 49px;
  height: 49px;
  border: 0;
  background: 0 0;
  text-indent: 200%;
  white-space: nowrap;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.faculties_detail_close > a::after,
.faculties_detail_close > a::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0;
  margin: auto 0;
  border-top: 1px solid #000;
}
.faculties_detail_close > a::before {
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}
.faculties_detail_close > a::after {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.faculties_detail_close > a:active,
.faculties_detail_close > a:hover {
  -webkit-animation: faculties_detail_close_a 0.5s ease both;
  animation: faculties_detail_close_a 0.5s ease both;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
@-webkit-keyframes faculties_detail_close_a {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  10% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  40% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@keyframes faculties_detail_close_a {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  10% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  40% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
@media screen and (max-width: 767px) {
  .faculties_detail_close > a {
    width: 30px;
    height: 30px;
  }
}
