@charset "UTF-8";
body {
  color: #082b48;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 1.5;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

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

.header-left {
  float: left;
}

.header-right {
  float: right;
}

.clear::after {
  content: "";
  clear: both;
  display: block;
}

header {
  padding: 20px 0;
}
header .header-title {
  font-weight: bold;
  font-size: 24px;
}
header .header-nav-item {
  float: left;
  margin-left: 50px;
}
header .header-nav-item a {
  font-size: 15px;
  font-weight: 600;
  line-height: 36px;
}

.course-toggle {
  text-align: center;
  display: none;
}
.course-toggle a {
  display: block;
  /* background-color: aqua; */
  opacity: 0.7;
}

/* section共通クラス */
.section {
  padding: 60px 0;
}
.section .section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

/* .top */
.top {
  background-image: url(../img/main-vsual-nontitle.png);
  background-size: cover;
  padding: 80px 0;
}
.top .top-title {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}
.top .top-subtitle {
  font-size: 18px;
  text-align: center;
}

/* about */
.about-left {
  float: left;
  width: 48%;
}

.about-right {
  float: right;
  width: 48%;
}

/* cource */
.course {
  background-color: #e3fcf4;
}
.course .course-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.course .course-wrapper .course-item {
  width: 30%;
}

/* contact */
.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;
}

.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;
}

#page_top {
  position: fixed;
  bottom: 30px;
  right: 20px;
}
#page_top a {
  background-color: #999;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 20px 20px;
}
#page_top a:hover {
  background-color: #666;
  text-decoration: none;
}

/* footer */
footer {
  background-color: #082b48;
  color: #fff;
  padding: 20px 0;
}
footer .copyright {
  font-size: 12px;
  float: right;
}

/* モーダル */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
}
.modal .bigimg {
  position: absolute;
  width: 80%;
  max-width: 800px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.modal .close-btn {
  color: #fff;
  font-size: 40px;
  position: absolute;
  right: 20px;
  top: 0;
}
.modal .close-btn a {
  color: #fff;
  text-decoration: none;
}

/* スマホ用の表示 */
@media only screen and (max-width: 767px) {
  .clear::after {
    content: none;
  }
  /* header */
  .header-left {
    float: none;
  }
  .header-title {
    text-align: center;
  }
  .header-right {
    float: none;
  }
  .header-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .header-nav-item {
    float: none;
    margin: 0;
  }
  /* top */
  .top {
    padding: 120px 0;
  }
  .top-title {
    font-size: 32px;
  }
  .top-subtitle {
    font-size: 14px;
  }
  .section {
    padding: 80px 0;
  }
  .section-title {
    font-size: 24px;
    font-weight: bold;
    /* margin-bottom: 30px; */
  }
  /* about */
  .about-left {
    float: none;
    width: 100%;
    margin-bottom: 20px;
  }
  .about-right {
    float: none;
    width: 100%;
  }
  /* course */
  .course .course-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .course .course-wrapper .course-item {
    width: 100%;
    margin-bottom: 20px;
  }
  /* contact */
  input[type=email] {
    width: 100%;
  }
  /* footer */
  .copyright {
    font-size: 10px;
    float: none;
    text-align: center;
  }
}