@charset "UTF-8";

/* department */
#department {
  margin-top: 75px;
  padding: 0 20px;
  background-color: var(--bs-red);
  height: 400px;
}
#department .title {
  font-weight: 400;
  border-bottom: solid 1px white;
}

#department a {
  color: black;
}
#department h1 {
  padding: 4px;
  text-align: center;
  letter-spacing: 0.05em;
  color: white;
}
#department h3 {
  padding: 0.5em 1em;
  margin: 1em 0;
  transition: border-left 400ms;
  font-weight: 400;
  background: white;
  border-left: solid 10px #265b94;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.33);
}
#department h3:hover {
  border-left: solid 15px var(--bs-gold);
}
#department .autor {
  color: white;
}
@media screen and (min-width: 870px) {
  #department {
    width: 270px;
    margin-left: 75px;
    border-radius: 14px;
  }
  #department h1 {
    font-size: 22px;
  }
}
@media screen and (max-width: 870px) {
  #department h1 {
    font-size: 1.2em;
    margin: auto;
  }
  #department h3 {
    width: 220px;
    margin: 1em auto;
  }
}

/* notice */
#notice-inner {
  height: 400px;
  border: solid 3px black;
  background-color: #fcf7f7;
  overflow: auto;
}
#notice-inner dt {
  margin-left: 5px;
  font-size: 1.5em;
  color: var(--bs-red);
}
#notice-inner dd {
  margin-right: 40px;
  font-size: 1.25em;
  word-wrap: break-word;
}
#notice-inner dd a {
  text-decoration: none;
  color: black;
}

#notice-inner dd a:hover {
  color: #2997ff;
}

#notice-inner dl {
  margin-right: 40px;
  border-bottom: solid 0.5px black;
}
#notice-title {
  text-align: center;
}

@media screen and (max-width: 870px) {
  #notice-inner {
    margin: auto;
    width: 80%;
    overflow: auto;
  }
}

@media screen and (min-width: 870px) and (max-width: 1150px) {
  #notice-inner {
    width: 400px;
  }
}

@media screen and (min-width: 1150px) {
  #notice-inner {
    width: 700px;
  }
}
@media screen and (max-width: 1150px) {
  #notice-inner dt {
    font-size: 1.2em;
  }
  #notice-inner dd {
    font-size: 1em;
  }
}

/* SNS */
#links {
  margin: 100px 0 50px 0;
  text-align: center;
}
.links-inner {
  padding-bottom: 50px;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}

#links-title {
  margin-top: 40px;
}
.links-inner p {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  margin: 0 20px;
  width: 250px;
  height: 84px;
  border: solid 1px gray;
}
.links-inner a {
  color: black;
}
.links-inner a:hover {
  text-decoration: underline;
}

.links-inner i {
  color: #1877f2;
  margin-right: 10px;
}
@media screen and (max-width: 870px) {
  #links {
    margin: auto;
    width: 100%;
    margin-bottom: 100px;
  }
}

@media screen and (max-width: 870px) {
  #links-title {
    font-size: 1.5em;
  }
}

/* twitter timeline */
.twitter-timeline {
  margin: auto;
}

/* page top button */
#page_top {
  z-index: 2;
  width: 80px;
  height: 80px;
  position: fixed;
  right: 10%;
  bottom: 40px;
  border: solid 2px var(--bs-gold);
  border-radius: 50%;
  background-color: rgba(213, 150, 73, 0.8);
}

#page_top a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0d8";
  font-size: 40px;
  color: white;
  position: absolute;
  width: 40px;
  height: 40px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a {
  transition: 400ms;
}
#page_top a:hover {
  opacity: 0.5;
}

/* video */
#video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#video-area {
  z-index: -1;
  position: relative; /*h1の中央寄せ配置の起点とするためのrelative*/
}
#video-area #message-ja {
  z-index: 1;
  padding: 6px 12px 12px 12px;
  font-weight: 400;
  /*要素の配置*/
  position: absolute;
  /*要素を天地中央寄せ*/
  transform: translateY(-50%) translateX(-50%);
  /*見た目の調整*/
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5);
}

#video-area #message {
  z-index: 1;
  font-weight: 400;
  /*要素の配置*/
  position: absolute;
  /*要素を天地中央寄せ*/
  transform: translateY(-50%) translateX(-50%);
  /*見た目の調整*/
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 870px) {
  #video-area {
    overflow: hidden;
  }
}

@media screen and (min-width: 870px) and (max-width: 1150px) {
  #video-area {
    height: 65vh;
  }
  #video {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
  }
}

@media screen and (min-width: 1150px) {
  #video {
    width: 177.77777778vh; /* 16 ÷ 9＝ 177.77% */
    height: 56.25vw; /* 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
  }
  #video-area {
    height: 100vh;
  }
}

@media screen and (max-width: 800px) {
  #video-area #message {
    padding-left: 10px;
    font-size: 40px;
    left: 40%;
    width: 60vw;
  }
  #video-area #message-ja {
    padding-left: 10px;
    font-size: 30px;
    left: 40%;
    width: 60vw;
  }
}

@media screen and (min-width: 800px) and (max-width: 1150px) {
  #video-area #message {
    font-size: 50px;
    width: 530px;
    top: 45vh;
    left: 35vw;
    text-align: center;
  }
  #video-area #message-ja {
    font-size: 4vw;
    width: 60vw;
    top: 45vh;
    left: 35vw;
    text-align: center;
  }
}

@media screen and (min-width: 1150px) {
  #video-area #message {
    top: 60vh;
    left: 70vw;
    width: 550px;
    padding-left: 40px;
    font-size: 80px;
  }
  #video-area #message-ja {
    top: 70vh;
    left: 70vw;
    width: 50vw;
    padding-left: 40px;
    font-size: 3.5vw;
  }
}

/* container for index */
#container {
  background: #fff;
  margin-top: 0px;
}

@media screen and (min-width: 870px) {
  #container {
    padding: 100px 0 0px 0;
  }
}

/* header for index */
#header h1,
#header i {
  color: #fff;
}

#wrapper .btn-gnavi span {
  background-color: #fff;
}

#header {
  background-color: rgba(0, 0, 0, 0);
}

/* slider */
#slider {
  margin: auto;
  position: relative;
  width: 800px;
}
#slider-title {
  margin-top: 100px;
  text-align: center;
}
#slider-content {
  margin: auto;
  margin-top: 50px;
  width: 800px;
}
#slider .slider-inner {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-left: 0;
}
#slider .slider-inner li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-transition: all 600ms;
  transition: all 600ms;
  pointer-events: none;
}
#slider .slider-inner li.show {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  z-index: 1;
  pointer-events: auto;
  width: auto;
}

#slider .nav {
  padding-left: 0;
  margin-top: 10px;
  text-align: center;
  font-size: 0;
}
#slider .nav li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 15px;
  background: #ddd;
  cursor: pointer;
  -webkit-transition: background 400ms;
  transition: background 400ms;
}

#slider .nav li:hover {
  background: var(--bs-red);
}

#slider .nav li.current {
  background: var(--bs-red);
}

#slider .arrow {
  position: absolute;
  top: 50%;
  cursor: pointer;
  background: var(--bs-navy);
  color: #fff;
  padding: 5px;
  -webkit-transition: opacity 400ms;
  transition: opacity 400ms;
}
#slider .arrow:hover {
  opacity: 0.7;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
}

#slider .arrow#arrow-prev {
  -webkit-transform: translate(-100%, -50%);
  transform: translate(-100%, -50%);
}

#slider .arrow#arrow-next {
  -webkit-transform: translate(100%, -50%);
  transform: translate(100%, -50%);
}
@media screen and (max-width: 870px) {
  #slider {
    width: 100%;
    margin-bottom: 55vw;
  }
  #slider-title {
    font-size: 1.5em;
  }
  #slider-content {
    margin-top: 70vw;
    width: 80vw;
  }
  #slider .nav {
    display: none;
  }
  #slider .arrow {
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin-top: 30vw;
    z-index: 1;
    line-height: 20px;
  }
  #slider .arrow#arrow-prev {
    left: 30px;
  }
  #slider .arrow#arrow-next {
    right: 30px;
  }
}
@media screen and (min-width: 870px) {
  #slider {
    height: 450px;
  }
  #slider .slider-inner img {
    border-radius: 4px;
  }
  #slider .arrow {
    font-size: 25px;
    line-height: 75px;
  }
  #slider .arrow#arrow-prev {
    left: 0;
  }
  #slider .arrow#arrow-next {
    right: 0;
  }
}

/* short movie */
#movie {
  color: white;
  text-align: center;
  margin: 2em 0;
  padding: 20px 0;
  background: var(--bs-navy);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
#movie span {
  border-bottom: solid 2px var(--bs-gold);
}
@media screen and (max-width: 870px) {
  #movie #inner-video {
    width: 100%;
    height: 55vw;
  }
}
@media screen and (min-width: 870px) and (max-width: 1150px) {
  #movie #inner-video {
    width: 800px;
    height: 450px;
    border-radius: 10px;
  }
}

@media screen and (min-width: 1150px) {
  #movie #inner-video {
    width: 1066px;
    height: 599.625px;
    border-radius: 10px;
  }
}

/* scroll down prompting */
@media screen and (min-width: 1150px) {
  .scroll_down {
    position: absolute;
    bottom: 10px;
    left: 50%;
  }

  .scroll_down span {
    /*描画位置*/
    position: absolute;
    left: 10px;
    bottom: 30px;
    /*テキストの形状*/
    color: #eee;
    font-size: 1rem;
    letter-spacing: 0.05em;
    /*縦書き設定*/
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
  }

  /* 丸の描写 */
  .scroll_down:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    left: -6px;
    /*丸の形状*/
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #eee;
    /*丸の動き1.6秒かけて透過し、永遠にループ*/
    animation: circlemove 1.6s ease-in-out infinite,
      cirlemovehide 1.6s ease-out infinite;
  }

  @keyframes circlemove {
    0% {
      bottom: 95px;
    }
    100% {
      bottom: -5px;
    }
  }

  @keyframes cirlemovehide {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    80% {
      opacity: 0.9;
    }
    100% {
      opacity: 0;
    }
  }

  /* drawing the line */
  .scroll_down:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3px;
    height: 100px;
    background: #eee;
  }
}
@media screen and (max-width: 1150px) {
  .scroll_down {
    display: none;
  }
}
