@charset "utf-8";

header {
  background: rgba(242, 242, 242, .7);
}

header nav > ul > li:nth-child(1) a {
  width: 113px;
  height: 45px;
  background-image:url(../images/common/menu-shotoku.png);
}
header nav>ul>li:nth-child(1)>a:hover{
  background-position:center 0;
}

main section {
  text-align: center;
}

main section .box {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767.98px){
  main section {
    font-size: .875rem !important;
  }
}
/*---------------------------------------------------------------
  メイン動画
---------------------------------------------------------------*/

main div#movie iframe {
  box-sizing: border-box;
  border: none;
}

main div#movie + p {
  text-align: center;
}

main div#movie + p a {
  text-decoration: underline;
  color: #000;
}


@media (max-width: 767.98px){
  main div#movie {
    position: relative;
    height: 0;
    padding: 0 0 56.25%;
    overflow: hidden;
    margin-bottom: 10px;
  }

  main div#movie iframe.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
  }

  main div#movie + p {
    font-size: .8rem;
  }
}

@media (min-width: 767.98px){
  main div#movie {
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
  }

  main div#movie iframe {
    height: 56.25vw; /* 16:9 の高さなので 56.25% (= 9 ÷ 16) */
    left: 50%;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 177.77777778vh; /* 16:9 の幅なので 177.77% (= 16 ÷ 9) */
  }
}

@media all and (min-width: 992px) {
  main div#movie + p {
    padding-top: calc(100vh - 80px);
  }
}

/*---------------------------------------------------------------
  MESSAGE
---------------------------------------------------------------*/
main section#message > div.box {
  margin: 0 auto 80px;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  background: none;
}

main section#message > div.box figure {
  width: calc(90% / 2);
  font-size: .8rem;
}

main section#message > div figure img {
  width: 100%;
  height: auto;
  margin-bottom: 5px;
}

.modaal-inner-wrapper {
  background: rgba(0, 0, 0, .7);
}

.modaal-close:focus:before,
.modaal-close:focus:after,
.modaal-close:hover:before,
.modaal-close:hover:after {
  background: #0f7cb8;
}

@media (min-width: 767.98px) {
  main section#message {
  }
}

@media all and (min-width: 992px) {
  main section#message > div.box {
    max-width: 920px;
  }

  main section#message > div.box figure {
    width: calc(90% / 4);
  }
}

main section#message > div.box::after{
  content: "";
  display: block;
  width: calc(90% / 4);
}

/*---------------------------------------------------------------
  わっか
---------------------------------------------------------------*/

main section#wakka {
  background: #FFF;
  padding-top: 100px;
}

@media all and (min-width: 992px) {
  main section#wakka img {
    width: 920px;
    max-width: 920px;
    height: auto;
    margin: 0 auto;
  }
}

/*---------------------------------------------------------------
  everyone
---------------------------------------------------------------*/

main section#everyone {
  padding-bottom: 100px;
}

main section#everyone h2 span {
  display: inline-block;
  position: relative;
}

main section#everyone h2 span:after {
  content: "";
  display: inline-block;
  background: url(../images/ttl_everyone_web.png);
  position: absolute;
  width: 80px;
  height: 75px;
  top: -80px;
  right: 0;
  background-size: cover;
}

main section#everyone p {
  font-weight: bold;
}

main section#everyone p:first-of-type {
  line-height: 2.5;
  margin-bottom: 50px;
}

main section#everyone p strong {
  display: block;
  letter-spacing: 2px;
  font-size: 2rem;
}

@media (max-width: 767.98px) {
  main section#everyone .PCV{
    display: none !important;
  }
}

@media (min-width: 992px) {
  main section#everyone {
    padding-bottom: 180px;
  }

  main section#everyone h2 span:after {
    width: 140px;
    height: 135px;
    top: -100px;
    right: -70px;
  }
  main section#everyone p strong {
    font-size: 30px;
  }
  main section#everyone .SPV{
    display: none !important;
  }
}

/*---------------------------------------------------------------
  学長祝辞
---------------------------------------------------------------*/

main section#president {
  background: #FFF;
  padding-top: 100px;
  box-sizing: border-box;
}

main section#president .box > figure {
  text-align: left;
  padding-top: 0;
}

main section#president .box > figure:nth-child(2) {
  margin-top: 30px;
}

main section#president .box figure .movie-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

main section#president .box figure .movie-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

main section#president .box figure .movie-wrap + p {
  font-size: .8rem;
}

@media (max-width: 767.98px) {
  main section#president > div.box,
  main section#president .box > figure.box {
    padding: 15px 0;
  }
}

@media (min-width: 992px) {
  main section#president > div.box {
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }
  main section#president .box > figure:nth-child(1) {
    width: 60%;
    margin: 0 auto;
  }
  main section#president .box > figure:nth-child(2) {
    margin-top: 50px;
    padding: 0 30px;
  }
}


/*---------------------------------------------------------------
  送辞・答辞
---------------------------------------------------------------*/

main section#student h2 {
  margin-bottom: 35px;
}

main section#student > div {
  padding: 15px 0;
  margin: 0 auto 40px;
  text-align: left;
}

main section#student > div.box a.btnSound {
  display: inline-block;
  width: 48%;
  text-align: center;
  margin-bottom: 5px;
}

main section#student > div.box a.btnSound span {
  position: relative;
  display: inline-block;
  padding: 0 0 0 21px;
  color: #000;
  vertical-align: middle;
  text-decoration: none;
  font-size: .9rem;
  font-style: normal;
}

main section#student > div.box .btnSound span::before,
main section#student > div.box .btnSound span::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

main section#student > div.box .btnSound span.play::before {
  width: 16px;
  height: 16px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #0f7cb8;
}

main section#student > div.box .btnSound span.play::after {
  left: 7px;
  width: 4px;
  height: 4px;
  box-sizing: border-box;
  border: 4px solid transparent;
  border-left: 4px solid #FFF;
}

main section#student > div.box .btnSound span.stop::before {
  width: 16px;
  height: 16px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #666;
}

main section#student > div.box .btnSound span.stop::after {
  left: 5px;
  width: 3px;
  height: 3px;
  box-sizing: border-box;
  border: 3px solid #FFF;
}


main section#student > div.box .sign img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

main section#student > div.box .sign p {
  color: #FFF;
  padding: 10px 20px;
  line-height: 1.5;
  border-radius: 10px;
}

main section#student div.box:first-of-type .sign p {
  background: #e8ab1d;
}
main section#student div.box:nth-of-type(2) .sign p {
  background: #7abf42;
}

main section#student > div.box {
  background: none;
}

@media (min-width: 992px) {
  main section#student > div {
    padding: 15px;
    display: flex;
    align-items: top;
    justify-content: space-between;
  }
  main section#student > div.box a.btnSound {
    display: block;
    width: 100%;
    text-align: left;
  }
  main section#student > div figure {
    width: 240px;
  }
  main section#student > div figure:nth-child(2):last-child {
    width: 820px;
  }
  main section#student p br.SPV{
    display: none;
  }
}

/*---------------------------------------------------------------
  SPECIAL
---------------------------------------------------------------*/

main section#special {
  background: #FFF;
}

main section#special > div {
  margin: 0 auto 40px;
}

main section#special > div figure {
  font-weight: bold;
  margin-bottom: 30px;
}

main section#special > div figure img {
  margin-bottom: 10px;
}

main section#special > div figure span {
  display: block;
  color: #0e7cb7;
}


/* vimeo */
main section#special .vimeo-outer {
  position: relative;
  height: 0;
  padding: 0 0 56.25%;
  overflow: hidden;
  margin-bottom: 10px;
}

main section#special iframe.vimeo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  main section#special > div {
    width: 932px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
  }
  main section#special > div figure {
    width: 48%;
  }
  main section#special > div figure img {
    margin-bottom: 30px;
  }
  main section#special .vimeo-outer {
    margin-bottom: 20px;
  }

}

/*---------------------------------------------------------------
  GRATITUDE
---------------------------------------------------------------*/

main section#gratitude {
  padding-bottom: 120px;
}

main section#gratitude .logo {
  margin-top: 60px;
}

@media (min-width: 992px) {
  main section#gratitude {
    padding-bottom: 180px;
  }
}

/*---------------------------------------------------------------
  アナウンス
---------------------------------------------------------------*/

main section#announce {
  background: #FFF;
}

main section#announce > div {
}

main section#announce > div figure {
  display: flex;
  justify-content: center;
  align-items: top;
  margin-bottom: 30px;
}

main section#announce > div figure a {
  color: #000;
}

main section#announce > div figure img {
  border: 1px solid #a0a0a0;
  margin-bottom: 10px;
}


@media (min-width: 992px) {
  main section#announce > div {
    width: 932px;
    margin: 0 auto 40px;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  main section#announce > div figure {
    align-items: top;
    margin-bottom: 0;
    width: 446px;
  }
  main section#announce > div figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
  }
}
