@charset "utf-8";

* {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
}

a {
  color: #000;
  text-decoration: none;
}

ul,
ol {
  padding: 0;
}

li {
  list-style: none;
}

img {
  width: 100%;
}

video {
  width: 100%;
  height: auto;
  display: block;
}

.pc-none {
  display: block;
}

.sm-none {
  display: none;
}

@media screen and (min-width: 768px) {
  .pc-none {
    display: none;
  }

  .sm-none {
    display: block;
  }
}

/***************
    sm-menu
***************/

.menu-btn {
  position: fixed;
  top: 5px;
  right: 10px;
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background-color: none;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #0f0f0f;
  position: absolute;
}
.menu-btn span:before {
  bottom: 8px;
}
.menu-btn span:after {
  top: 8px;
}
#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(
    255,
    255,
    255,
    0
  ); /*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
  background-color: #0f0f0f;
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
  background-color: #0f0f0f;
}
#menu-btn-check {
  display: none;
}
#menu-btn-check:checked ~ .menu-content {
  left: 0; /*メニューを画面内へ*/
}
.menu-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 80;
  background-color: #fff;
  transition: all 0.5s; /*アニメーション設定*/
  overflow-y: scroll;
}
.menu-content ul {
  padding: 70px 10px 0;
}
.menu-content ul li {
  border-bottom: solid 1px #1c1d88;
}

.menu-content .menu-title {
  color: #fff;
  background-color: #1c1d88;
  margin-top: 20px;
  padding: 10px 20px;
}

.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #1c1d88;
  text-decoration: none;
  padding: 20px 10px;
  position: relative;
}
.menu-content ul .menu-list a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 2px #1c1d88;
  border-right: solid 2px #1c1d88;
  transform: rotate(45deg);
  position: absolute;
  right: 20px;
  top: 29px;
}

.menu-content .menu-list {
  width: 90%;
  margin-left: 10%;
}

.menu-logo {
  width: 100px;
  position: absolute;
  top: 20px;
  left: 20px;
}

@media screen and (min-width: 768px) {
  /***************
        pc-menu
    ***************/
  .pc-menu {
    margin: 0 auto;
    background-color: #fff;
  }

  .pc-menu li {
    text-align: center;
    font-size: 0.8rem;
  }

  .menu-lists {
    padding: 0;
    margin: 0;
  }

  .menu-lists > li {
    padding: 30px 0;
  }

  .menu-lists .zigyou-list,
  .menu-lists .rios-list,
  .menu-lists .rios-attempt-list {
    width: 15%;
    padding: 0;
    position: absolute;
    top: 150px;
    z-index: 100;
  }
  .menu-lists .zigyou-list {
    left: 17.5%;
  }
  .menu-lists .rios-list {
    left: 35.5%;
  }
  .menu-lists .rios-attempt-list {
    left: 52%;
  }

  .zigyou-list li,
  .rios-list li,
  .rios-attempt-list li {
    height: 0;
    overflow: hidden;
    transition: 0.5s;
    text-align: center;
    font-size: 0.8rem;
    background-color: #fff;
  }

  .menu-lists li:hover > ul > li {
    height: 3rem;
    overflow: visible;
  }

  .hero-image {
    height: 40vh;
  }

  .hero-image h1 {
    height: 40vh;
  }

  .menu-lists li ul li {
    line-height: 3rem;
  }

  .menu-lists li ul li a {
    display: block;
  }

  .menu-lists li ul li:hover {
    background-color: #1c1d88;
  }

  .menu-lists li ul li:hover > a {
    color: #fff;
  }
}

/***************
    footer
***************/
footer {
  border-top: 1px solid #000;
  background-color: #1d2088;
  color: #fff;
}

footer a {
  color: #fff;
}

footer .contents {
  padding: 20px;
}

footer .info {
  background-color: #1c1d88;
  text-align: center;
  border: 1px solid #fff;
  position: relative;
}

footer .info::after {
  content: "";
  position: absolute;
  bottom: 5px;
  right: 5px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  border-width: 0px 0px 10px 10px;
}

.footer-logo {
  width: 100%;
  height: 100px;
  margin: 0 auto;
  padding: 10px 0;
  background-color: #fff;
  position: relative;
}

.footer-logo img {
  width: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 768px) {
  footer {
    /* background-image: url(../img/footer-pc-back.png); */
    background-position: 75%;
    background-size: cover;
  }

  .footer-logo img {
    width: 100px;
    margin: 0 auto;
  }
}
