@import url('https://fonts.googleapis.com/css?family=Kosugi+Maru&subset=japanese');

body {
  background-image: url("../images/bg.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  padding-top: 60px;
  font-family: 'Kosugi Maru', sans-serif;
  color: #282828;
}

@media (max-width: 768px) {
  body {
    padding-top: 9em;
  }
}

@media (max-width: 479px) {
  body {
    padding-top: 7.5em;
  }
}

@media (max-width: 350px) {
  body {
    font-size: 90%;
  }
}

header {
  position: fixed;
  background-color: #fdfdfd;
  top: 0;
  left: 0;
  width: 100vw;
}


.top {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cd {
  border: solid 1px #282828;
  border-radius: 0.5em;
  background-color: rgba(255,255,255,0.9);
  max-width: 30em;
  padding: 0.5em;
  margin-top: 0.5em;
  text-align: left;
  line-height: 120%;
}

footer {
  z-index: 9;
  background-color: #fdfdfd;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 1em;
}

.info {
  text-indent: 1em;
  line-height: 150%;
  padding-right: 2em;
}

.title_bar {
  border: solid 0px;
  background-image: url("../images/wood.jpg");
  border-radius: 1em;
  color: #003366;
  font-size: 150%;
  letter-spacing: 0.3em;
  padding: 0.5em;
  box-shadow: 5px 5px 5px brown;
  margin-bottom: 0.5em;
}

#classroom {
  text-align: center;
  margin-bottom: 5em;
}

.class_cont {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.class_cont a {
  text-decoration: none;
  color: blue;
}

.room1 {
  border: solid 1px #282828;
  border-radius: 0.5em;
  background-color: rgba(255,255,255,0.9);
  min-width: 17em;
  max-width: 17em;
  padding: 0.5em;
  margin: 0.5em;
  text-align: left;
  line-height: 120%;
}

.room1 a {
  text-decoration: underline;
}

.kuri {
  border: solid 1px #282828;
  border-radius: 0.5em;
  width: 17em;
  height: 205px;
  margin: 0.5em;
}

.kuri1 {
  background-image: url("../images/kuri_boad.jpg");
  background-position: 0% 75%;
}

.kuri2 {
  background-image: url("../images/kuri_stu1.jpg");
  background-position: 0% 50%;
}

.kuri3 {
  background-image: url("../images/kuri_stu2.jpg");
  background-position: 0% 50%;
}

.kuri4 {
  background-image: url("../images/map_kuri.jpg");
}

.kuri5 {
  background-image: url("../images/ad1.jpg");
}

.kuri6 {
  background-image: url("../images/ad2.jpg");
}

.kuri_t {
  width: calc(100%-1em);
  border-radius: 0.5em;
  background-color: #f2f2f2;
  padding: 0.5em;
  letter-spacing: 0.3em;
  color: #0c0c0c;
}

.kuri_t span {
  font-size: 70%;
  letter-spacing: 0;
}

.higashi {
  border: solid 1px #282828;
  border-radius: 0.5em;
  width: 18em;
  height: 187px;
  margin: 0.5em;
}

.higashi1 {
  background-image: url("../images/higashi.jpg");
}

.higashi2 {
  background-image: url("../images/higashi_stu1.jpg");
}

.higashi3 {
  background-image: url("../images/map_higashi.jpg");
}

.takasu {
  border: solid 1px #282828;
  border-radius: 0.5em;
  width: 18em;
  height: 208px;
  margin: 0.5em;
}

.takasu1 {
  background-image: url("../images/takasu.jpg");
}

.takasu2 {
  background-image: url("../images/takasu_s.jpg");
}

.takasu3 {
  background-image: url("../images/map_takasu.jpg");
}

.yoshiwa {
  border: solid 1px #282828;
  border-radius: 0.5em;
  width: 18em;
  height: 208px;
  margin: 0.5em;
}

.yoshiwa1 {
  background-image: url("../images/yoshiwa.jpg?2025");
}

.yoshiwa2 {
  background-image: url("../images/yoshiwa_tt.jpg");
}

.mukaishima {
  border: solid 1px #282828;
  border-radius: 0.5em;
  width: 18em;
  height: 208px;
  margin: 0.5em;
}

.mukaishima1 {
  background-image: url("../images/mukaishima1.jpg?2025");
}

.mukaishima2 {
  background-image: url("../images/mukaishima_tt.jpg");
}
.ucon {
  font-size: 250%;
  color: red;
  text-align: center;
  margin: 0.5em 0;
}


#event {
  text-align: center;
  margin-bottom: 5em;
}

.kaki_wrap {
  border: solid 1px #282828;
  border-radius: 0.5em;
  background-color: #fdfdfd;
  padding: 0.5em;
  margin: 0.5em;
}

.kaki {
  border: solid 1px #282828;
  border-radius: 0.5em;
  padding: 0.5em;
  margin: 0.5em;
  text-align: left;
  line-height: 120%;
  width: 17em;
}

.kaki_red {
  color: red;
  margin-left: 1em;
  text-indent: -1em;
}

.sp10 {
  margin: 7em;
}

h3 {
  color: red;
  text-align: center;
}

h2 {
  margin-left: 20px;
  color: #008080;
  text-shadow: 2px 2px 5px #ffffff;
}

h1 {
  margin: 13px 0px 0px 13px;
}

.op0 {
  opacity: 0;
}



@media screen and (max-width: 1279px) {
  .pc-menu {
    display: none;
  }
}

@media screen and (min-width: 1280px) {
  .sp-menu {
    display: none;
  }
}

header {
  display: flex;
  background: #6495ed;
  height: 60px;
}
.main-menu {
  margin: 0 auto;
  display: flex;
  width: 1280px;
}
.logo {
  color: #ffffff;
  width: 360px;
  background: #4169e1;
}
.logo > a {
  text-decoration: none;
  color: #ffffff;
}
.pc-menu {
  margin-top: -17px;
  width: 100%;
}
.pc-menu > ul {
  display: flex;
  list-style: none;
}
.pc-menu > ul > li {
  text-align: center;
  font-size: 16px;
  width: 25%;
}
.pc-menu > ul > li > a {
  display: block;
  text-decoration: none;
  color: #ffffff;
  line-height: 60px;
}
.pc-menu > ul > li > a:hover {
  background: #4169e1;
}
.sp-menu__box {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background: #3584bb;
}
.sp-menu__box span,
.sp-menu__box span:before,
.sp-menu__box span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #ffffff;
  position: absolute;
}
.sp-menu__box span:before {
  bottom: 8px;
}
.sp-menu__box span:after {
  top: 8px;
}
#sp-menu__check {
  display: none;
}
#sp-menu__check:checked ~ .sp-menu__box span {
  background: rgba(255, 255, 255, 0);
}
#sp-menu__check:checked ~ .sp-menu__box span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#sp-menu__check:checked ~ .sp-menu__box span::after {
  top: 0;
  transform: rotate(-45deg);
}
#sp-menu__check:checked ~ .sp-menu__content {
  left: 0;
}
.sp-menu__content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 80;
  background-color: #3584bb;
  transition: all 0.5s;
}
.sp-menu__list {
  padding: 70px 10px 0;
}
.sp-menu__item {
  border-bottom: solid 1px #ffffff;
  list-style: none;
}
.sp-menu__link {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 15px 10px 0;
}
