@charset "UTF-8";
/*====================
共通クラス
======================*/
body {
  color: #082B48;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  /* ↓書いてなかった */
  /* font-size: 15px; */
  line-height: 1.5;
}

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

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

a:hover {
  opacity: 70%;
}

.container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto 60px;
}

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

.section-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 40px 0;
}

/*====================
header
======================*/
.header-wrapper {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  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) {
  .header-wrapper {
    display: block;
    padding: 20px 0;
  }
}

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

.header-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 767px) {
  .header-nav {
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
}

.header-nav-item {
  font-size: 12px;
  line-height: 36px;
  margin-left: 20px;
  margin-right: 20px;
}
.header-nav-item toggle-list {
  font-size: 12px;
}
.header-nav-item a {
  display: block;
  font-weight: bold;
}

#toggle {
  position: relative;
}

.toggle-list {
  display: none;
  width: 80px;
  border: none;
  position: absolute;
  top: 40px;
  left: 10;
  background-color: rgba(247, 247, 247, 0.5);
  padding: 5px;
}

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

.top-wrapper {
  padding: 90px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .top-wrapper {
    padding: 120px 10px;
  }
}

.top-title {
  font-size: 32px;
  font-weight: bold;
  padding: 20px 0;
}
@media screen and (max-width: 767px) {
  .top-title {
    font-size: 30px;
    font-weight: normal;
  }
}

.top-subtitle {
  font-size: 14px;
  font-weight: bold;
}

.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 2px #000;
  border-radius: 50%;
  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 2;
  cursor: pointer;
}

.pagetop__arrow {
  display: block;
  height: 10px;
  width: 10px;
  border-top: 3px solid #000;
  border-right: 3px solid #000;
  -webkit-transform: translateY(20%) rotate(-45deg);
          transform: translateY(20%) rotate(-45deg);
}

/*====================
about
======================*/
.about-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}
@media screen and (max-width: 767px) {
  .about-wrapper {
    display: block;
  }
}

.about-left {
  width: 45%;
}
@media screen and (max-width: 767px) {
  .about-left {
    width: 90%;
    margin: 0 auto 20px;
  }
}

.about-right {
  width: 45%;
}
@media screen and (max-width: 767px) {
  .about-right {
    width: 90%;
    margin: auto;
  }
}

/*====================
course
======================*/
.course-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}
@media screen and (max-width: 767px) {
  .course-wrapper {
    display: block;
  }
}

.course-item {
  width: 30%;
}
.course-item p {
  font-size: 14px;
}
@media screen and (max-width: 767px) {
  .course-item {
    width: 90%;
    margin: 0 auto 20px;
  }
}

.course-item a:hover {
  opacity: 0.8;
}

.course-item a img {
  width: 100%;
}

.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;
  margin-right: auto;
  margin-left: auto;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

/*====================
contact
======================*/
.contact p, .contact form {
  text-align: center;
}
.contact input {
  font-size: 16px;
  border-radius: 999px;
  border-color: #CCCCCC;
  display: block;
  margin: auto;
  padding: 10px;
  width: 50.4736129905%;
  max-width: 474px;
}
@media screen and (max-width: 767px) {
  .contact input {
    font-size: 14px;
    width: 90%;
  }
}
.contact button {
  font-size: 18px;
  color: white;
  background-color: #EC6C63;
  border: none;
  border-radius: 5px;
  padding: 15px;
  width: 30%;
  max-width: 292px;
  margin: 20px 0 100px 0;
}
@media screen and (max-width: 767px) {
  .contact button {
    font-size: 14px;
    width: 90%;
  }
}

/*====================
footer
======================*/
footer p {
  font-size: 10px;
  text-align: right;
}