@charset "utf-8";
/* レイアウトのためのCSS */
body {
  overflow-x: hidden;
  background: #fff;
  font-family: 'Kosugi Maru', sans-serif;
  color: #222;
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
  letter-spacing: 0.2em;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: #333;
  text-decoration: none;
  outline: none;
}
img {
  width: 100%;
  height: auto;
}
* {
  box-sizing: border-box
}

/* area */
.inner {
  width: 100%;
  margin: 0 auto;
  padding: 70px;
}
@media screen and (max-width:940px) {
  .inner {
    padding: 70px 30px;
  }
}
/* heading */
h2 {
  text-align: center;
  margin: 0 0 50px 0;
  font-size: 1.1vw;
  line-height: 1.5;
}
h2 span {
  font-size: 3.5vw;
  display: block;
}
@media screen and (max-width:1130px) {
  h2 {
    font-size: 0.9rem;
  }
  h2 span {
    font-size: 2.5rem;
  }
}
@media screen and (max-width:768px) {
  h2 {
    font-size: 0.8rem;
  }
  h2 span {
    font-size: 2rem;
  }
}
/* header */
#header {
  position: relative;
  width: 100%;
  height: 800px;
  background-image: url("../img/mainimg.jpg");
  background-size: cover;
  background-position: center center;
}

#header h1 img, #header h1 canvas {
  width: 250px;
  position: relative;
}
#header h1 {
  margin: 0 0 20px 60px;
}


@media screen and (max-width:600px) {
  #header {
    height: 500px;
  }
}



.header-area {
  position: relative;
  z-index: 2;
  top: 30px;
  animation-delay: .5s;
}
.header-area .lead {
  position: relative;
  font-size: 2.1em;
  margin: 75px 0 0 75px;
  font-weight: bold;
  line-height: 3em;
}

@media screen and (max-width:600px) {
  .header-area .lead {
    font-size: 0.9em;
    line-height: 4em;
    margin: 0 0 0 50px;
  }
}

.header-area .bg-white {
  background: #fff;
  padding: 15px;
}
.header-area .border-yellow {
  background: linear-gradient(transparent 60%, #ffff00 60%);
}
/* gnavi */
#g-nav ul {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
#g-nav.panelactive ul li {
  position: relative;
  width: 30%;
  text-align: left;
  white-space: nowrap;
}
@media screen and (max-width:960px) {
  #g-nav.panelactive ul li {
    width: 48%;
  }
}
@media screen and (max-width:580px) {
  #g-nav.panelactive ul li {
    width: 100%;
  }
}
#g-nav li a {
  padding: 15px 20px;
}
#g-nav.panelactive ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #149fd8;
  position: absolute;
  left: -10px;
  top: 43%;
}
/* contact */
#contact {
  background: url("../img/bg_footer.jpg") no-repeat center;
  background-size: cover;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 30px;
}
#contact h2 {
  font-size: 2rem;
  position: relative;
  margin: 0 0 50px 0;
}
#contact .contact-detail br {
  display: none;
}
@media screen and (max-width:1090px) {
  #contact h2 {
    font-size: 1.5rem;
  }
}
@media screen and (max-width:600px) {
  #contact .contact-detail h2 br {
    display: block;
  }
}
#contact p {
  text-align: center;
  margin: 0 0 50px 0;
}
@media screen and (max-width:400px) {
  #contact .contact-detail h2 {
    font-size: 1.3rem;
  }
  #contact .contact-detail p br {
    display: block;
  }
}
#contact ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#contact ul li {
  padding: 0 20px 20px 0;
}
/* footer */
#footer {
  background: #222222;
  color: #fff;
}
#footer a {
  color: #fff;
}
#footer a:hover {
  color: #666;
}
.footer-area {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}
.school-info {
  width: 30%;
}
.school-info span {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.5;
}
.school-info dt.footer-title, .school-info li:first-of-type {
  margin: 0 0 10px 0;
}
.school-info li dt {
  margin: 0 10px 0 0;
}
.school-info li dt, .school-info li dd {
  display: inline-block;
}
.footer-sitemap {
  width: 65%;
}
.footer-sitemap ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 50px 0;
  font-size: 0.9rem;
}
.footer-sitemap li {
  padding: 10px 20px;
}
.footer-sitemap li a {
  position: relative;
  padding: 0 10px;
  transition: all 0.3s;
}
.footer-sitemap li a:before {
  position: absolute;
  top: 40%;
  left: -10px;
  content: '';
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}
small {
  display: block;
  text-align: right;
}
@media screen and (max-width:1090px) {
  .footer-area {
    align-items: flex-start;
  }
  .school-info {
    width: 40%;
  }
  .footer-sitemap {
    width: 56%;
  }
}
@media screen and (max-width:940px) {
  small {
    text-align: center;
  }
  #page-top {
    position: relative;
    text-align: center;
    right: inherit;
    bottom: inherit;
    margin: 50px auto 30px auto;
    width: 80px;
    animation: none !important;
    transform: none !important;
    opacity: 1;
  }
}
@media screen and (max-width:768px) {
  .school-info, .footer-sitemap {
    width: 100%;
  }
  .school-info {
    text-align: center;
    margin: 0 0 70px 0;
    padding: 0 0 70px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  }
  .school-info span {
    font-size: 1.3rem;
  }
}