@charset "utf-8";
/* レイアウトのためのCSS */
body {
  overflow-x: hidden;
  background: var(--vk-color-primary);
  color: #333;
  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;
}

body.appear {
  background: #fff;
}

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;
  }
}

/* header */

#top-header {
  height: 100vh;
  position: relative;
  background-color: #f0f0f0;
}

#top-header h1 img,
#top-header h1 canvas {
  width: 100px;
  position: relative;
  left: 1.8em;
  margin-bottom: -20px;
}

#top-header h1 {
  font-size: 2.7vw;
  color: #666;
  line-height: 1.5;
  margin: 0 0 50px 0;
  letter-spacing: 0.2em;
}

#top-header h1 span {
  color: var(--vk-color-primary);
  display: block;
}

.header-area {
  position: relative;
  z-index: 2;
  top: 30px;
  left: 50px;
  animation-delay: 0.5s;
}

@media screen and (max-width: 1200px) {
  #top-header h1 img,
  #top-header h1 canvas {
    width: 80px;
  }

  #top-header h1 {
    font-size: 2rem;
    margin-bottom: -8px;
  }
}

@media screen and (max-width: 940px) {
  #top-header {
    height: 90vh;
  }

  .header-area {
    top: 0;
    left: 0;
  }
  #top-header h1 {
    text-align: center;
    width: 150px;
    background: #f0f0f0;
    border-radius: 0 0 10px 10px;
    padding: 10px 0 10px 0;
    margin: 0 auto;
    font-size: 1.3rem;
    border-bottom: 7px solid var(--vk-color-primary);
  }

  #top-header h1 img,
  #top-header h1 canvas {
    width: 60px;
    left: inherit;
    margin-bottom: -8px;
  }
}

/* course */

#course {
  position: relative;
  margin: 0 0 100px 0;
}

@media screen and (max-width: 840px) {
  #course {
    margin: 0;
  }
}

#course:after {
  position: absolute;
  z-index: -1;
  content: "";
  top: 280px;
  left: -30%;
  width: 150%;
  height: 800px;
  background: #ddd;
  transform: rotate(5deg);
}

.course-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.course-list section {
  width: 28%;
  background: #fff;
  position: relative;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
  margin: 0 0 50px 0;
  padding: 20px 20px 50px 20px;
  border-radius: 10px;
}

.course-list section:nth-child(2) {
  animation-delay: 0.2s;
}
.course-list section:nth-child(3) {
  animation-delay: 0.4s;
}

@media screen and (max-width: 840px) {
  .course-list section {
    width: 46%;
  }
}

@media screen and (max-width: 545px) {
  .course-list section {
    width: 100%;
  }
  .course-list section:nth-child(2),
  .course-list section:nth-child(3) {
    animation-delay: 0s;
  }
}

.course-list section .bg-yellow {
  background: #ff0;
  display: inline-block;
  position: absolute;
  left: -5px;
  top: -5px;
  z-index: 2;
  padding: 3px 5px;
  font-size: 0.9rem;
}

.course-list section .course-img {
  padding-top: 70%;
  background-size: cover !important;
}

.course-list section h3 {
  font-size: 1.3rem;
  text-align: center;
  border-bottom: 5px double #333;
  margin: 30px 0 0 0;
  padding: 0 0 20px 0;
}

@media screen and (max-width: 1090px) {
  .course-list section h3 {
    font-size: 1rem;
  }
}

/* gallery */

.img-gallery {
  background-size: 50px 16px;
  padding: 50px 0;
  margin: 0 0 100px 0;
}

.img-gallery img {
  border-radius: 10px;
}

/* contact */

#contact {
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 30px;
}

#contact h2 {
  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 h2::after {
  content: "";
  background: #fff;
  width: 15%;
  height: 5px;
  position: absolute;
  left: 40%;
  bottom: -20px;
}

#contact p {
  text-align: center;
  margin: 0 0 50px 0;
}

@media screen and (max-width: 480px) {
  #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: var(--vk-color-primary);
  color: #fff;
}

#footer a {
  color: #fff;
}

.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.7rem;
  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;
}

.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;
  }
}
