* {
  margin: 0;
  padding: 0;
}

body {
  color: #066292;
}

a {
  text-decoration: none;
  color: #066292;
  cursor: pointer;
  transition: opacity .3s;
}

a:hover {
  opacity: 0.6;
}

li {
  list-style: none;
}

img {
  max-width: 100%;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn a {
  background-color: skyblue;
  padding: 5px 20px;
  width: 80px;
  border-radius: 7px;
  font-weight: bold;
  margin: 0 auto;
}

.btn i {
  margin-left: 5px;
}

/* header */

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
}

.info span {
  margin-right: 20px;
}

.info i {
  margin-right: 5px;
}

header .pc-menu {
  width: 100%;
  text-align: center;
  margin-top: 70px;
}

header nav a {
  display: inline-block;
  padding: 0 50px;
  font-weight: bold;
  border-right: solid 2px #066292;
}

header nav a:first-child {
  border-left: solid 2px #066292;
}

.sp-menu {
  display: none;
}

.overlay {
  display: none;
}

@media (max-width: 835px) {
  header nav {
    display: none;
  }
  header .info {
    display: none;
  }
  .sp-menu {
    margin-left: auto;
    display: block;
  }
  .sp-menu #open {
    font-size: 32px;
    line-height: 50px;
    cursor: pointer;
  }
  .sp-menu #open.hide {
    display: none;
  }
  .overlay {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 255, 255, .95);
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s;
  }
  .overlay.show {
    opacity: 1;
    pointer-events: auto;
  }
  .overlay #close {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
  }
  .overlay ul {
    padding: 100px;
  }

  .overlay a {
    padding: 30px 0;
    display: block;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .3s, transform .3s;
  }
  .overlay.show a {
    opacity: 1;
    transform: none;
  }
  .overlay.show a:nth-child(1) {
    transition-delay: .1s;
  }
  .overlay.show a:nth-child(2) {
    transition-delay: .2s;
  }
  .overlay.show a:nth-child(3) {
    transition-delay: .3s;
  }
}

/* mainvisual */
.mainvisual {
  margin-bottom: 40px;
  opacity: 0;
  transition: opacity .3s;
}

.mainvisual.fadeIn {
  opacity: 1;
}

.mainvisual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* about */
.about {
  background-color: #edf6fa;
  margin-bottom: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
  opacity: 0;
  transition: opacity .3s;
}

.about.fadeIn {
  opacity: 1;
}

.about h2 {
  text-align: center;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.about-item {
  width: 30%;
  text-align: center;
  background-color: #fff;
  padding: 30px 10px;
  margin-top: 60px;
}

.about-item p {
  font-size: 1.2rem;
  margin-bottom: 26px;
  height: 100px;
}

@media (max-width: 768px) {
  .about-item {
    width: 40%;
  }
  .about-item p {
    font-size: 0.875rem;
  }
  .about-item .btn {
    margin-top: 5px;
    font-size: 0.875rem;
  }
}

/* course */
.course {
  margin-bottom: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
  opacity: 0;
  transition: opacity .3s;
}

.course.fadeIn {
  opacity: 1;
}

.course h2 {
  text-align: center;
  padding-bottom: 60px;
}

.course-detail {
  display: flex;
  margin: 0 auto;
  gap: 30px 60px;
  flex-wrap: wrap;
}

.course-detail .item {
  width: 300px;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: solid 3px rgb(246, 139, 139);
  border-radius: 7px;
  padding: 10px 20px;
}

.course-detail img {
  width: 20%;
  border-radius: 50%;
}

.course-detail .text {
  width: 60%;
}

.course-detail .text h3 {
  color: rgb(145, 41, 41);  
}


/* access */
.access {
  margin-bottom: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #edf6fa;
  opacity: 0;
  transition: opacity .3s;
}

.access.fadeIn {
  opacity: 1;
}

.access h2 {
  text-align: center;
}

.access-detail {
  padding-top: 60px;
  text-align: center;
}

.access-detail img {
  width: 600px;
  height: auto;
  object-fit: cover;
}

.access-detail ul {
  border-bottom: solid 1px #066292;
  max-width: 500px;
  margin: 40px auto;
}

.access-detail li {
  border-top: solid 1px #066292;
  padding: 15px;
  text-align: left;
  box-sizing: border-box;
}

/* contact */
.contact {
  margin-bottom: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
  opacity: 0;
  transition: opacity .3s;
}

.contact.fadeIn {
  opacity: 1;
}

.contact h2 {
  text-align: center;
  padding-bottom: 60px;
}

.contact .content {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.contact .item {
  width: 350px;
  text-align: center;
  border: solid 1px rgb(199, 237, 250);
  background-color: rgb(199, 237, 250);
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
}

.contact .item p {
  width: 250px;
  font-weight: bold;
  margin: 7px auto 0;
  background-color: #fff;
  border-radius: 7px;
}

@media (max-width: 768px) {
  .contact .content {
    flex-direction: column;
    align-items: center;
  }
}

/* footer */
footer {
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
}