@charset "utf-8";
/* CSS Document */

/* -----------------------------------
  リセット
----------------------------------- */

a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, caption, canvas, center, cite, code, dd, del, details, dfn, dialog, div, dl, dt, em, embed, fieldset, figcaption, figure, form, footer, header, hgroup, h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, tt, table, tbody, textarea, tfoot, thead, time, tr, th, td, u, ul, var, video {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 16px;
  font-weight: normal;
  line-height: 1em;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

ol, ul { list-style: none; }

a {
  outline: none;
  color: #39f;

  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
a:link,
a:visited {
  color: #39f;
  text-decoration: none;
}
a:hover {
  outline: none;
  color: #039;
  text-decoration: underline;
}
a:active {
  outline: none;
}

a:hover img {
  opacity: 0.85;

  filter: alpha(opacity=85);
  -moz-opacity: 0.85;
}

blockquote,
q {
  quotes: none;
}

:focus {
  outline: 0;
}

table {
  border-spacing: 0;
}

img {
/*  max-width: 100%;*/
  width /***/: auto;
  height: auto;
  vertical-align: bottom;
}

/* For modern browsers */
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.clearfix:after {
  clear: both;
}

/* For IE 6/7 (trigger hasLayout) */
.clearfix {
  zoom: 1;
}
/* -----------------------------------
  @font
----------------------------------- */

@font-face {
  font-family: "Noto Sans JP";
  font-weight: 400;
  font-style: normal;

  src: local("Noto Sans CJK JP Regular"),
  url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Regular.woff2) format("woff2"),
  url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Regular.woff) format("woff"),
  url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Regular.otf) format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  font-weight: 700;
  font-style: normal;

  src: local("Noto Sans CJK JP Bold"),
  url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Bold.woff2) format("woff2"),
  url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Bold.woff) format("woff"),
  url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Bold.otf) format("opentype");
  font-display: swap;
}

/* -----------------------------------
  全体設定
----------------------------------- */
/*
html {
  overflow: auto;
}
*/
body {
  position: relative;
  min-width: 1080px;
  color: #333;
  background-color: #d21d22;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, Osaka, "MS PGothic", arial, helvetica, sans-serif;
  font-size: 16px;
  font-size: 88%\9;
  line-height: 1.8;
  letter-spacing: 0.04em;

  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

section {
  padding: 0;
}

pre {
  overflow: auto;
}

pre code {
  white-space: pre;
  word-wrap: normal;
}

br.sp {
  display: none;
}

h1 {
  background-color: #fff;
  text-align: center;
}

h1 img {
  max-width: 100%;
}

.loopSliderWrap {
    width: 12000px !important;
    top: 0;
    left: 0;
    overflow: hidden;
    position: absolute;
}

.loopSlider {
    margin: 0 auto;
    width: 100%;
    height: 960px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.loopSlider ul {
    width: 6000px !important;
    height: 960px;
    float: left;
    overflow: hidden;
    position: relative;
}

.loopSlider ul li {
    position: absolute;
    float: left;
    display: inline;
    overflow: hidden;
}

.loopSliderWrap:after {
    content: "";
    display: none;
    clear: none;
}

.ex_rand_list li a {
  display: block;
  overflow: hidden;
  transition: all .5s;
  box-shadow:12px 12px 0px 0px rgba(0,0,0,0.1);
}

.ex_rand_list li:hover a:after {
  position: absolute;
  content: '';
  display: block;
  width : -webkit-calc(100% - 10px) ;
  width : calc(100% - 10px) ;
  height: -webkit-calc(100% - 10px);
  height: calc(100% - 10px);
  border: 2px solid #d21d22;
  box-sizing: border-box;
  -ms-box-sizing: border-box;
  top: 5px;
  left: 5px;
  z-index: 5;
}

.ex_rand_list li img {
  width: 100%;
  vertical-align: top;
  transition: all .5s;
}

.ex_rand_list li:hover img {
  -webkit-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}

@media only screen and (min-width: 481px) {
  .ex_rand_list li {
    width: 320px;
  }

  .ex_rand_list li:nth-of-type(2n) {
    width: 160px;
  }

  .ex_rand_list li:nth-of-type(3n) {
    width: 240px;
  }

  .ex_rand_list li:nth-of-type(4n) {
    width: 180px;
  }

  .ex_rand_list li:nth-of-type(5n) {
    width: 280px;
  }

  .ex_rand_list li:nth-of-type(6n) {
    width: 120px;
  }

.ex_rand_list li:nth-of-type(1) { top: 0px; left: 0px; }
.ex_rand_list li:nth-of-type(2) { top: 400px; left: 40px; }
.ex_rand_list li:nth-of-type(3) { bottom: 260px; left: 260px; }
.ex_rand_list li:nth-of-type(4) { top: 140px; left: 600px; }
.ex_rand_list li:nth-of-type(5) { top: 360px; left: 560px; }
.ex_rand_list li:nth-of-type(6) { bottom: 60px; left: 480px; }
.ex_rand_list li:nth-of-type(7) { top: 60px; left: 900px; }
.ex_rand_list li:nth-of-type(8) { top: 460px; left: 1060px; }
.ex_rand_list li:nth-of-type(9) { bottom: 0px; left: 20px; }
.ex_rand_list li:nth-of-type(10) { bottom: 0px; left: 800px; }
.ex_rand_list li:nth-of-type(11) { top: 0px; left: 1380px; }
.ex_rand_list li:nth-of-type(12) { top: 400px; left: 1420px; }
.ex_rand_list li:nth-of-type(13) { bottom: 280px; left: 1660px; }
.ex_rand_list li:nth-of-type(14) { top: 400px; left: 2080px; }
.ex_rand_list li:nth-of-type(15) { top: 20px; left: 1940px; }
.ex_rand_list li:nth-of-type(16) { bottom: 40px; left: 1760px; }
.ex_rand_list li:nth-of-type(17) { top: 60px; left: 2280px; }
.ex_rand_list li:nth-of-type(18) { top: 500px; left: 2280px; }
.ex_rand_list li:nth-of-type(19) { bottom: 20px; left: 2700px; }
.ex_rand_list li:nth-of-type(20) { bottom: 0px; left: 2200px; }
.ex_rand_list li:nth-of-type(21) { top: 0px; left: 2780px; }
.ex_rand_list li:nth-of-type(22) { top: 300px; left: 2700px; }
.ex_rand_list li:nth-of-type(23) { bottom: 280px; left: 3060px; }
.ex_rand_list li:nth-of-type(24) { top: 400px; left: 3480px; }
.ex_rand_list li:nth-of-type(25) { top: 20px; left: 3200px; }
.ex_rand_list li:nth-of-type(26) { bottom: 40px; left: 3200px; }
.ex_rand_list li:nth-of-type(27) { top: 60px; left: 3680px; }
.ex_rand_list li:nth-of-type(28) { top: 480px; left: 2440px; }
.ex_rand_list li:nth-of-type(29) { bottom: 20px; left: 1300px; }
.ex_rand_list li:nth-of-type(30) { bottom: 0px; left: 1980px; }
.ex_rand_list li:nth-of-type(31) { top: 480px; left: 3660px; }
.ex_rand_list li:nth-of-type(32) { bottom: 0px; left: 3420px; }

.ex_rand_list li:nth-of-type(33) { top: 200px; left: 4000px; }
.ex_rand_list li:nth-of-type(34) { top: 0px; left: 3940px; }
.ex_rand_list li:nth-of-type(35) { top: 100px; left: 4300px; }
.ex_rand_list li:nth-of-type(36) { top: 0px; left: 4700px; }
.ex_rand_list li:nth-of-type(37) { bottom: 100px; left: 4100px; }
.ex_rand_list li:nth-of-type(38) { bottom: 60px; left: 4500px; }
.ex_rand_list li:nth-of-type(39) { bottom: 0px; left: 4700px; }
.ex_rand_list li:nth-of-type(40) { top: 0px; left: 5000px; }
.ex_rand_list li:nth-of-type(41) { top: 300px; left: 4600px; }
.ex_rand_list li:nth-of-type(42) { top: 360px; left: 5160px; }
.ex_rand_list li:nth-of-type(43) { bottom: 100px; left: 5000px; }
.ex_rand_list li:nth-of-type(44) { top: 0px; left: 5500px; }
.ex_rand_list li:nth-of-type(45) { top: 300px; left: 5400px; }
.ex_rand_list li:nth-of-type(46) { top: 200px; left: 5800px; }
.ex_rand_list li:nth-of-type(47) { bottom: 0px; left: 5600px; }

}

@media only screen and (max-width: 480px) {
  body {
    min-width: 100%;
    font-size: 14px;
    line-height: 1.7;
  }

.loopSliderWrap {
    width: 6000px !important;
}

.loopSlider {
    height: 480px;
}

.loopSlider ul {
    width: 3000px !important;
    height: 480px;
}

  .ex_rand_list li {
    width: 160px;
  }

  .ex_rand_list li:nth-of-type(2n) {
    width: 80px;
  }

  .ex_rand_list li:nth-of-type(3n) {
    width: 120px;
  }

  .ex_rand_list li:nth-of-type(4n) {
    width: 90px;
  }

  .ex_rand_list li:nth-of-type(5n) {
    width: 140px;
  }

  .ex_rand_list li:nth-of-type(6n) {
    width: 60px;
  }


.ex_rand_list li:nth-of-type(1) { top: 0px; left: 0px; }
.ex_rand_list li:nth-of-type(2) { top: 200px; left: 20px; }
.ex_rand_list li:nth-of-type(3) { bottom: 130px; left: 130px; }
.ex_rand_list li:nth-of-type(4) { top: 70px; left: 300px; }
.ex_rand_list li:nth-of-type(5) { top: 180px; left: 280px; }
.ex_rand_list li:nth-of-type(6) { bottom: 30px; left: 240px; }
.ex_rand_list li:nth-of-type(7) { top: 30px; left: 450px; }
.ex_rand_list li:nth-of-type(8) { top: 230px; left: 530px; }
.ex_rand_list li:nth-of-type(9) { top: 40px; left: 980px; }
.ex_rand_list li:nth-of-type(10) { bottom: 0px; left: 0px; }
.ex_rand_list li:nth-of-type(11) { top: 0px; left: 690px; }
.ex_rand_list li:nth-of-type(12) { top: 2000px; left: 710px; }
.ex_rand_list li:nth-of-type(13) { bottom: 140px; left: 830px; }
.ex_rand_list li:nth-of-type(14) { top: 200px; left: 1040px; }
.ex_rand_list li:nth-of-type(15) { bottom: 0px; left: 370px; }
.ex_rand_list li:nth-of-type(16) { bottom: 20px; left: 880px; }
.ex_rand_list li:nth-of-type(17) { top: 30px; left: 1140px; }
.ex_rand_list li:nth-of-type(18) { top: 250px; left: 1140px; }
.ex_rand_list li:nth-of-type(19) { bottom: 10px; left: 1350px; }
.ex_rand_list li:nth-of-type(20) { bottom: 0px; left: 1100px; }
.ex_rand_list li:nth-of-type(21) { top: 0px; left: 1390px; }
.ex_rand_list li:nth-of-type(22) { top: 150px; left: 1350px; }
.ex_rand_list li:nth-of-type(23) { bottom: 140px; left: 1530px; }
.ex_rand_list li:nth-of-type(24) { top: 200px; left: 1740px; }
.ex_rand_list li:nth-of-type(25) { top: 10px; left: 1600px; }
.ex_rand_list li:nth-of-type(26) { bottom: 20px; left: 1600px; }
.ex_rand_list li:nth-of-type(27) { top: 30px; left: 1840px; }
.ex_rand_list li:nth-of-type(28) { top: 240px; left: 1220px; }
.ex_rand_list li:nth-of-type(29) { bottom: 10px; left: 650px; }
.ex_rand_list li:nth-of-type(30) { bottom: 0px; left: 990px; }
.ex_rand_list li:nth-of-type(31) { top: 240px; left: 1830px; }
.ex_rand_list li:nth-of-type(32) { bottom: 0px; left: 1710px; }

.ex_rand_list li:nth-of-type(33) { top: 100px; left: 2000px; }
.ex_rand_list li:nth-of-type(34) { top: 0px; left: 1970px; }
.ex_rand_list li:nth-of-type(35) { top: 50px; left: 2150px; }
.ex_rand_list li:nth-of-type(36) { top: 0px; left: 2350px; }
.ex_rand_list li:nth-of-type(37) { bottom: 50px; left: 2050px; }
.ex_rand_list li:nth-of-type(38) { bottom: 30px; left: 2250px; }
.ex_rand_list li:nth-of-type(39) { bottom: 0px; left: 2350px; }
.ex_rand_list li:nth-of-type(40) { top: 0px; left: 2500px; }
.ex_rand_list li:nth-of-type(41) { top: 150px; left: 2300px; }
.ex_rand_list li:nth-of-type(42) { top: 180px; left: 2580px; }
.ex_rand_list li:nth-of-type(43) { bottom: 50px; left: 2500px; }
.ex_rand_list li:nth-of-type(44) { top: 0px; left: 2750px; }
.ex_rand_list li:nth-of-type(45) { top: 150px; left: 2700px; }
.ex_rand_list li:nth-of-type(46) { top: 100px; left: 2900px; }
.ex_rand_list li:nth-of-type(47) { bottom: 0px; left: 2800px; }

}
/* *********** */

.white-popup {
  position: relative;
  background: #FFF;
  padding: 0px;
  width:auto;
  max-width: 600px;
  margin: 10px auto;
  border-radius: 6px;
}

.white-popup .modal-photo img {
  border-radius: 6px 6px 0 0;
}

.white-popup .modal-desc {
  padding: 25px;
}

.white-popup .modal-desc dt {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5em;
  padding-bottom: 10px;
}

.white-popup .modal-desc dt p {
  padding-bottom: 20px;
  text-align: center;
}

.white-popup .modal-desc dt p img {
  height: 39px;
}

.white-popup .modal-desc dt span {
  margin-left: 20px;
  font-size: 14px;
  line-height: 1.5em;
}

/*
.white-popup .modal-desc dt span {
  display: block;
  font-size: 14px;
  line-height: 1.5em;
}
*/

@media only screen and (max-width: 480px) {

  .white-popup .modal-desc {
    padding: 11px;
  }

  .white-popup .modal-desc dt p {
    padding: 10px 0 10px;
  }

  .white-popup .modal-desc dt p img {
    width: 92%;
    height: auto;
  }

  .white-popup .modal-desc dt span {
    display: block;
    margin-left: 0;
  }

}

/* *********** */

#page-top {
  position: fixed;
  z-index: 900;
  right: 0;
  bottom: 0;
}

#page-top a {
  display: block;
  padding: 10px;
  background: #666;
  color: #fff;
  line-height: 1;
}

#page-top a img {
  width: 24px;
  height: auto;
}

#page-top a:hover {
  background: #000;
}

/* *********** */

.btn_faculty a {
  display: block;
  width: 450px;
  margin: 60px auto;
  padding: 30px 0;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  line-height: 1;
  background: #ff9999;
  background: -moz-linear-gradient(left,  #ff6677 50%, #ff5c78 50%);
  background: -webkit-linear-gradient(left, #ff6677 50%,#ff5c78 50%);
  background: linear-gradient(to right, #ff6677 50%,#ff5c78 50%);
}

.btn_faculty a:hover {
  opacity: 0.85;
  filter: alpha(opacity=85);
  -moz-opacity: 0.85;
}

.btn_faculty a br {
  display: none;
}

@media only screen and (max-width: 480px) {
  .btn_faculty a {
    width: 240px;
    margin: 25px auto 15px;
    padding: 15px 0;
    font-size: 14px;
    line-height: 1.2;
  }

  .btn_faculty a br {
    display: block;
  }
}

/* *********** */

footer {
  padding: 0;
  background-color: #fff;
  text-align: center;
}

footer small {
  display: block;
  padding: 40px 0;
  font-size: 18px;
}

@media only screen and (max-width: 479px) {
  footer small {
    display: block;
    padding: 16px 0;
    font-size: 12px;
    line-height: 1;
  }
}

.white-popup img {
  max-width: 100%;
  width /***/: auto;
  height: auto;
  vertical-align: bottom;
}
