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

img {
  width: 100%;
  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;
}

/* ------top----- */
.top {
  background-image: url(../img/main-vsual-nontitle.png);
  background-size: cover;
  padding: 80px 0;
}

.top-title {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.top-subtitle {
  font-size: 18px;
  text-align: center;
}

/* トップへ戻る */
.top-button {
  display: none;
  cursor: pointer;
  color: #fff;
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  border-radius: 50%;
  background-color: plum;
  position: fixed;
  top: 750px;
  left: 1380px;
}

/* ------header----- */
@media screen and (max-width: 767px) {
  .clear::after {
    content: none;
  }
}

header {
  padding: 20px 0;
}

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

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

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

@media screen and (max-width: 767px) {
  .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: left;
  margin-left: 50px;
}
.header-nav-item a {
  font-size: 15px;
  font-weight: 600;
  line-height: 36px;
}
@media screen and (max-width: 767px) {
  .header-nav-item {
    float: none;
    margin: 0;
  }
}

#course {
  position: relative;
}

.drawer {
  display: none;
  float: none;
  font-size: 15px;
  position: absolute;
  width: 75px;
  text-align: center;
}

/*------- top(mq) -------*/
@media screen and (max-width: 767px) {
  .top {
    padding: 120px 0;
  }
}

@media screen and (max-width: 767px) {
  .top-title {
    font-size: 32px;
  }
}

@media screen and (max-width: 767px) {
  .top-subtitle {
    font-size: 32px;
  }
}

/*----- section 共通クラス ------*/
.section {
  padding: 40px 0;
}
@media screen and (max-width: 767px) {
  .section {
    padding: 80px 0;
  }
}

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

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

/*------ about -------*/
.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 -------*/
.course {
  background-color: #e3fcf4;
}

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

.course-item {
  width: 30%;
  cursor: pointer;
}
@media screen and (max-width: 767px) {
  .course-item {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* modal-window */
.first {
  position: fixed;
  /* top: calc(50% - 100vh/2);
  left: calc(50% - 100%/2); */
  top: 0;
  left: 0;
  background-color: rgba(196, 196, 196, 0.5);
  width: 100%;
  height: 100vh;
  /* margin: 20px auto; */
  /* border-radius: 1%; */
  /* display: flex; */
  display: none;
  /* padding: 180px 0; */
  cursor: pointer;
}

.second {
  position: fixed;
  /* top: calc(50% - 100vh/2);
  left: calc(50% - 100%/2); */
  top: 0;
  left: 0;
  background-color: rgba(196, 196, 196, 0.5);
  width: 100%;
  height: 100vh;
  /* margin: 20px auto; */
  /* border-radius: 1%; */
  /* display: flex; */
  display: none;
  /* padding: 180px 0; */
  cursor: pointer;
}

.third {
  position: fixed;
  /* top: calc(50% - 100vh/2);
  left: calc(50% - 100%/2); */
  top: 0;
  left: 0;
  background-color: rgba(196, 196, 196, 0.5);
  width: 100%;
  height: 100vh;
  /* margin: 20px auto; */
  /* border-radius: 1%; */
  /* display: flex; */
  display: none;
  /* padding: 180px 0; */
  cursor: pointer;
}

.first-img {
  width: 60%;
  height: 60%;
  /* margin: 0 auto; */
  position: absolute;
  top: calc(50% - 60%/2);
  left: calc(50% - 60%/2);
}

.second-img {
  width: 60%;
  height: 60%;
  /* margin: 0 auto; */
  position: absolute;
  top: calc(50% - 60%/2);
  left: calc(50% - 60%/2);
}

.third-img {
  width: 60%;
  height: 60%;
  /* margin: 0 auto; */
  position: absolute;
  top: calc(50% - 60%/2);
  left: calc(50% - 60%/2);
}

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

input[type=email], input[type=text] {
  width: 600px;
  border: 3px solid #d8d8d8d8;
  font-size: 18px;
  display: block;
  margin: auto;
  padding: 15px;
  border-radius: 999px;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  input[type=email], input[type=text] {
    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;
}

/*------- course(mq) -------*/
@media screen and (max-width: 767px) {
  .course-wrapper {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

@media screen and (max-width: 767px) {
  .course-item {
    width: 100%;
    margin-bottom: 20px;
  }
}

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

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

/* ===================
スマホ用の表示
=================== */
/*------- header -------*/
/*------- top -------*/
/*----- section 共通クラス ------*/
/*----- about ------*/
/*------- course -------*/
/*------- contact -------*/
/*------- footer -------*/