@charset "utf-8";

.first-view {
  height: calc(100vh);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #070633;
  display: flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}

.first-view img {
  margin-top: 10px;
}

.first-view-text {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-right: 20px;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 1px 1px 10px #535353;
}

.first-view h1 {
  background-color: #5b8df8;
  background-color: transparent;
}

.first-view h1 small {
  font-size: 30px;
  color: #e6e6e6;
  line-height: 50px;
  padding-top: 10px;
}

.first-view-text p {
  font-size: 18px;
  margin-top: 20px;
}

.obi {
  border-top: solid 1px #0a0922;
  height: 10px;
  background-color: #bfc1da;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-shadow: 1px 1px 10px #8b8b8b;
}

.lead {
  max-width: 1200px;
  margin: 60px auto auto auto;
}

.lead h2 {
  color: #5c5c5c;
  font-family: 'Noto Serif JP', serif;
  line-height: 2;
  font-size: 25px;
  margin-bottom: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  text-align: center;
  background-color: #e6e6e6;
  border-bottom: solid 1px #858585;
  border-radius: 15px;
}

.lead p {
  line-height: 2;
  text-align: left;
}

.lead2 {
  width: 100%;
  height: 100%;
  margin: 0px auto auto auto;
  background-color: #070633;
  background-size: cover;
}

.lead2 h2 {
  color: #ffffff;
  line-height: 2;
  font-size: 18px;
  margin-bottom: 20px;
  padding-top: 50px;
  padding-left: 20px;
  text-align: center;
}

.lead2 p {
  max-width: 900px;
  font-size: 18px;
  color: #ffffff;
  line-height: 2;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 50px;
}

.lead3 {
  max-width: 900px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
}

.lead3 h2 {
  color: #ffffff;
  line-height: 2;
  font-size: 22px;
  padding-top: 7px;
  padding-bottom: 7px;
  padding-left: 20px;
  margin-bottom: 5px;
  text-align: center;
  background-color: #831212;
  border-top: solid 0.5px #c9c9c9;
  border-right: solid 0.5px #c9c9c9;
  border-left: solid 0.5px #c9c9c9;
}

.lead3 p {
  font-size: 15px;
  color: #444444;
  border-right: solid 0.3px #c9c9c9;
  border-bottom: solid 0.3px #c9c9c9;
  border-left: solid 0.3px #c9c9c9;
  height: 400px;
  overflow-y: scroll;
  line-height: 2;
  padding-top: 20px;
  padding-left: 20px;
  text-align: left;
}

.lead3 a {
  text-decoration: none;
}

.lead3 p a:hover {
  color: #204977;
  text-decoration: underline;
}

.link-button-area {
  color: #000000;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 80px;
}

.link-button {
  background-color: #5b8df8;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-size: 14px;
}

.link-button:hover {
  background-color: #a3c0ff;
}

.sub-navi {
  background-color: #ffffff;
  margin-top: 80px;
  padding-top: 45px;
  padding-bottom: 45px;
}

.sub-navi h2 {
  color: #070633;
  font-size: 22px;
  text-align: center;
}

.sub-navi h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.navi-list {
  max-width: 1200px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.navi-list a li {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  text-align: center;
  overflow: hidden;
}

.navi-list img {
  width: 250px;
  height: 250px;
  transition: all 0.5s ease-in-out;
}

.navi-list img:hover {
  opacity: 0.7;
  transform: scale(1.3);
}

.navi-list p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 1px 2px 3px #000000;
  width: 100%;
}

.navi-list li:first-child {
  margin: 0;
}

.navi-list dl {
  margin-top: 10px;
}

.navi-list dt {
  color: #070633;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 15px;
  text-align: center;
}

.navi-list dd {
  color: #3f3f3f;
  font-size: 15px;
  line-height: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
}

.video_wrapper {
  border-top: solid 2px #d44444;
  position: relative;
  width: 100%;
  height: calc(100vh - 110px);
  overflow: hidden;
}

.video_wrapper>video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  min-width: 100%;
  min-height: 100%;
}

.news-area {
  display: flex;
  justify-content: space-between;
  width: 930px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
  padding-top: 0px;
  padding-bottom: 50px;
}

.news-area img {
  width: 350px;
  height: auto;
}

.img-sp {
  display: none;
}

.news-area h2 {
  font-size: 40px;
}

.news-area h2 span {
  color: #4c4ad3;
}

.news-list {
  list-style: none outside;
  margin: 0;
  padding: 0;
}

.news-list .item a {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #CCC;
  padding: 20px 20px;
}

.news-list .item a :hover {
  color: #2067ff;
}

.news-list .item:first-child a {
  border-top: 1px solid #CCC;
}

.news-list .item .date {
  margin: 0;
  min-width: 120px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #999;
  padding: 0 20px 0 0;
}

.news-list .item .title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bolder;
  margin: 0;
  width: 100%;
}

.link-banner-area {
  color: #333333;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 80px;
}

.link-banner-linkbtn {
  background-color: #ffffff;
  display: inline-block;
  min-width: 230px;
  line-height: 48px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: bold;
  box-shadow: 0px 0px 5px #535353;
}

.link-banner-linkbtn:hover {
  opacity: 0.8;
}

.link-banner-area img {
  width: 180px;
}

.link-banner-area img:hover {
  opacity: 0.5;
}

@media (max-width: 900px) {
  
  .video_wrapper {
    position: relative;
    width: 100%;
    height: calc(100vh - 50px);
    overflow: hidden;
  }

  .video_wrapper>video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    min-width: 100%;
    min-height: 100%;
  }

  .first-view h1 {
    padding: 5px 5px;
  }

  .first-view h1 small {
    font-size: 15px;
  }

  .first-view {
    margin-top: 0px;
    height: calc(100vh);
    align-items: flex-start;
  }

  .first-view-text {
    text-align: left;
    padding-top: 60px;
    padding-left: 20px;
  }

  .first-view-text h1 {
    font-size: 18px;
    line-height: 48px;
  }

  .first-view-text p {
    font-size: 14px;
    margin-top: 15px;
  }

  .lead {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lead h2 {
    font-size: 14px;
  }

  .lead p {
    text-align: left;
  }

  .lead2 {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lead2 h2 {
    font-size: 15px;
  }

  .lead2 p {
    font-size: 13px;
    text-align: left;
  }

  .lead3 {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lead3 h2 {
    font-size: 14px;
    border-top: solid 0.5px #c9c9c9;
    border-right: solid 0.5px #c9c9c9;
    border-left: solid 0.5px #c9c9c9;
  }

  .lead3 p {
    line-height: 1.5;
    border-right: solid 0.3px #c9c9c9;
    border-bottom: solid 0.3px #c9c9c9;
    border-left: solid 0.3px #c9c9c9;
    text-align: left;
  }

  .navi-list {
    margin: auto;
  }

  .navi-list a {
    text-align: center;
    margin: auto;
  }

  .navi-list li {
    width: 200px;
    flex-shrink: 0;
  }

  .news-area {
    display: block;
    width: 500px;
  }

  .news-area img {
    width: 500px;
    height: 250px;
  }

  .img-pc {
    display: none;
  }

  .img-sp {
    display: block;
    width: 500px;
  }

  .news-area h2 {
    font-size: 25px;
  }

  .news-list .item a {
    flex-wrap: wrap;
  }

  .news-list .item .date {
    min-width: 100px;
  }

  .news-list .item .title {
    margin-top: 10px;
  }

  .link-banner-area {
    margin-top: 5px;
    margin-bottom: 80px;
  }

  .link-banner-area img {
    width: 120px;
  }

}