/*
Theme Name: Coding School
Author: Ryo Maemura
Description: 架空のプログラミングスクールのホームページ
Version: 5.7.1
*/

@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  font-family: "ヒラギノ明朝 Pro", serif;
}

.inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

header {
  width: 100%;
  height: 80px;
  background-color: #000;
}

.logo {
  position: absolute;
  top: 15px;
  left: 10px;
  width: 193px;
  height: 50px;
}

.header-right {
  color: #fff;
  position: absolute;
  top: 30px;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.header-right p {
  margin-right: 25px;
}

.top-bg {
  position: relative;
  width: 100%;
  height: 550px;
  background-image: url(image/top-bg.png);
  background-size: cover;
}

.top-bg h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  text-align: center;
  font-size: 60px;
}

.info-title {
  margin: 50px auto 40px;
  font-size: 40px;
  text-align: center;
}

.course-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0 18px;
  margin-bottom: 50px;
}

.course-item {
  width: 25%;
  padding: 0 10px;
}

.course-item .course-card {
  -webkit-box-shadow: 0px 3px 6px #00000029;
          box-shadow: 0px 3px 6px #00000029;
  padding-bottom: 10px;
  opacity: 1;
}

.course-item .course-image {
  width: 100%;
}

.course-item .course-text {
  margin: 20px 10px;
  font-size: 18px;
}

.course-item .deadline-text {
  text-align: center;
  font-size: 16px;
}

.read-more {
  width: 310px;
  height: 50px;
  margin: 0 auto 70px;
  padding: 16px 0;
  -webkit-box-shadow: 0px 3px 6px #00000029;
          box-shadow: 0px 3px 6px #00000029;
  border: 1px solid #EEEEEE;
  border-radius: 5px;
}

.read-more p {
  text-align: center;
  font-size: 18px;
}

.teacher-box {
  padding: 0 120px;
  margin-bottom: 80px;
}

.teacher-box .teacher-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin-bottom: 60px;
}

.teacher-box .teacher-item:last-child {
  margin-bottom: 0;
}

.teacher-box img {
  width: 250px;
  height: 250px;
  margin-right: 60px;
}

.teacher-box h2 {
  margin: 40px 0 30px;
  font-size: 40px;
}

.teacher-box p {
  font-size: 18px;
}

.contact {
  width: 100%;
  height: 460px;
  padding-top: 60px;
  background-image: url(image/contact-bg.png);
  background-size: cover;
  color: #fff;
  text-align: center;
}

.contact h2 {
  font-size: 36px;
  margin-bottom: 50px;
}

.contact p {
  font-size: 16px;
  margin-bottom: 30px;
}

.contact .contact-button {
  display: inline-block;
  padding: 20px 60px;
  color: #fff;
  background-color: #DC143C;
  border-radius: 5px;
}

footer {
  padding: 30px 0;
  text-align: center;
  background-color: #000;
}

footer .copyright {
  font-size: 14px;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .header-right {
    display: none;
  }
  .top-bg h1 {
    font-size: 26px;
  }
  .course-box {
    display: block;
    padding: 0 30px;
  }
  .course-item {
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
  }
  .course-item:last-child {
    margin-bottom: 0;
  }
  .read-more {
    width: calc(100% - 60px);
  }
  .teacher-box {
    padding: 0 30px;
  }
  .teacher-box .teacher-item {
    display: block;
    text-align: center;
  }
  .teacher-box img {
    width: 280px;
    height: 280px;
    margin: 0;
  }
  .teacher-box p {
    text-align: left;
  }
}
/*# sourceMappingURL=style.css.map */