@charset "UTF-8";
/*================================================================
Chrome/Firefox/Edgeなど、各ブラウザはそれぞれデフォルトで効くCSSを持っています。
何もしないと見え方が微妙に変わるので、デフォルトのCSSをリセットして
ブラウザごとの表示の差異をなくすために書くのが「リセットCSS」です。
================================================================*/
* {
  box-sizing: border-box;
}

html, body, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 100%;
  vertical-align: baseline;
}

header, footer, nav, section, article, aside, figure, figcaption {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
  list-style-type: none;
}

body {
  color: #082B48;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 1.5;
}

img {
  width: 90%;
  height: auto;
}

a {
  text-decoration: none;
  color: #082B48;
}
a:hover {
  opacity: 0.7;
}

.container {
  width: 90%;
  max-width: 980px;
  margin: auto;
}

.clear::after {
  content: "";
  clear: both;
  display: block;
}
@media screen and (max-width: 767px) {
  .clear::after {
    content: none;
  }
}

header {
  padding: 40px 0;
}
@media screen and (max-width: 767px) {
  header {
    padding: 20px 0;
  }
}

.header-left {
  float: left;
}
@media screen and (max-width: 767px) {
  .header-left {
    float: none;
    text-align: center;
  }
}

.header-title {
  font-weight: bold;
  font-size: 24px;
}

.header-right {
  float: right;
}
@media screen and (max-width: 767px) {
  .header-right {
    float: none;
  }
}

@media screen and (max-width: 767px) {
  .header-nav {
    display: flex;
    justify-content: space-between;
  }
}

.header-nav-item {
  float: left;
  margin-left: 50px;
}
.header-nav-item a {
  font-weight: bold;
  font-size: 15px;
  line-height: 36px;
}
@media screen and (max-width: 767px) {
  .header-nav-item {
    float: none;
    margin: 0;
  }
}

.toggle {
  position: relative;
}

.toggle-list {
  background-color: #082B48;
  display: none;
  width: 80px;
  position: absolute;
  top: 40px;
  left: 0;
}

.toggle-list-item {
  display: block;
  color: #fff;
  text-align: center;
}

.top {
  background-image: url(../img/main-visual-non-title.png);
  background-size: cover;
  padding: 80px 0;
}

.top-title {
  font-weight: bold;
  text-align: center;
  font-size: 48px;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .top-title {
    font-size: 32px;
  }
}

.top-subtitle {
  text-align: center;
  font-size: 18px;
}
@media screen and (max-width: 767px) {
  .top-subtitle {
    font-size: 14px;
  }
}

.section {
  padding: 60px 0;
}
@media screen and (max-width: 767px) {
  .section {
    padding: 80px 0;
  }
  .section p {
    font-size: 14px;
  }
}

.section-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 40px;
  font-size: 32px;
}
@media screen and (max-width: 767px) {
  .section-title {
    font-size: 24px;
  }
}

.about-left {
  float: left;
  width: 48%;
}
@media screen and (max-width: 767px) {
  .about-left {
    float: none;
    width: 100%;
    margin-bottom: 20px;
  }
}

.about-right {
  float: right;
  width: 48%;
}
@media screen and (max-width: 767px) {
  .about-right {
    float: none;
    width: 100%;
  }
}

.course {
  background-color: #e3fcf4;
}

.course-wrapper {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .course-wrapper {
    flex-wrap: wrap;
  }
}

.course-item {
  width: 30%;
}
.course-item:hover {
  opacity: 0.7;
}
.course-item a img {
  width: 100%;
}
@media screen and (max-width: 767px) {
  .course-item {
    width: 100%;
    margin-bottom: 20px;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
}

.bigimg {
  position: absolute;
  width: 80%;
  max-width: 800px;
  top: 150px;
  left: 80px;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 767px) {
  .bigimg {
    top: 250px;
    left: 40px;
  }
}

.close-btn {
  color: #fff;
  font-size: 40px;
  position: absolute;
  right: 20px;
  top: 0;
}
.close-btn a {
  color: #fff;
  font-size: 24px;
}

.contact-message {
  text-align: center;
  margin-bottom: 20px;
}

input[type=email] {
  width: 600px;
  border: 3px solid #d8d8d8;
  font-size: 18px;
  display: block;
  margin: auto;
  padding: 15px;
  border-radius: 999px;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  input[type=email] {
    width: 100%;
  }
}

.btn {
  padding: 20px 60px;
  display: inline-block;
  background-color: #082B48;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  border-radius: 4px;
  border: none;
}
.btn:hover {
  opacity: 0.7;
  cursor: pointer;
}

.btn-register {
  background-color: #ec6d64;
  display: block;
  margin: auto;
}

footer {
  background-color: #082B48;
  color: #fff;
  padding: 20px 0;
}

.footer-title {
  font-size: 12px;
  float: right;
}
@media screen and (max-width: 767px) {
  .footer-title {
    font-size: 10px;
    float: none;
    text-align: center;
  }
}

.page-top {
  position: fixed;
  bottom: 40px;
  right: 20px;
  cursor: pointer;
}
.page-top a {
  background-color: #00cc99;
  color: #fff;
  padding: 20px;
  border-radius: 50px;
}
@media screen and (max-width: 767px) {
  .page-top a {
    padding: 10px;
  }
}