@charset "UTF-8";

/*学部紹介目次*/
.faculty_list h1 {
font-family: 'Affogato-Black';
  color: #fff;
  font-size: 2.3em;
  text-align: center;
  padding: 15px 0 10px;
  letter-spacing: 0.09em;
  background: #12386a;
  margin-bottom: 40px;
}

.faculty_list h1 span{
  font-size: medium;
}

.faculty_list .inner{
    width: 100%;
    max-width: 1200px;
    padding: 0;
    margin: 0 auto;
}


.faculty_list h2 {
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", 'Noto Serif JP', serif;
  font-size: 2em;
  font-weight:500;
  margin-left:10px;
}

p.faculty_text {
  margin: 30px 10px 0;
  font-size:medium;
  line-height:2;
}


.faculty_ul_wrap {
  padding: 50px 0 60px;
  margin-bottom: 40px;
}


.faculty_ul_wrap ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  max-width: 1280px;
}

.imgwrap {
  overflow: hidden;
  max-width: 300px; /*画像の幅*/
  height: 300px;
  position: relative;
  background: #16328a;
  transition-duration: 0.1s;
  margin: 10px;
}

.imgwrap img {
  display: block;
  width: 100%;
  transition-duration: 0.3s; /*変化に掛かる時間*/
}

.imgwrap img:hover {
  transform: scale(1.1); /*画像の拡大率*/
  opacity: 0.9;
}

.imgwrap a:hover {
  opacity: 1;
}

.faculty_ul_wrap ul li h3 {
  color: #fff;
  position: absolute;
  bottom: 0;
  width: 20%;
  height:90%;
  text-align: left;
  padding: 10px 0 0;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", 'Noto Serif JP', serif;
  font-size: 1.5em;
  top:0;
  left:0;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}


.c_law_new{background:rgba(102,102,153,0.6);}
.c_economics_new{background:rgba(0,160,233,0.6);}
.c_commerce_new{background:rgba(0,161,97,0.6);}
.c_fundam_new{background:rgba(240,170,16,0.7);}
.c_society_new{background:rgba(239, 130, 0,0.6);}
.c_advanced_new{background:rgba(233, 85, 32,0.6);}
.c_letters_new{background:rgba(228,0,119,0.6);}
.c_policy_new{background:rgba(0,159,168,0.6);}
.c_gm_new{background:rgba(0,32,99,0.6);}
.c_itl_new{background:rgba(35,24,21,0.6);}



.faculty_ul_wrap ul li h3 span {
  display: block;
  font-weight: bold;
  letter-spacing: 0.15em;
  font-size: 0.5em;
}

/*モーションCSS*/
.bottom {
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 1s, transform 0.5s;
}
.in {
  opacity: 1;
  transform: translateX(0);
  transform: translateY(0);
}
.in_mb {
  opacity: 1;
  transform: translateX(0);
  transform: translateY(0);
}

@media screen and (max-width: 959px) {
  .faculty_ul_wrap ul {
    justify-content: center;
  }  
}
