@charset "utf-8";

.top_msg {
  padding: 150px 0;
  background: url('../images/top_msg.jpg?v3') no-repeat center center;
  background-size: cover;
  color: #fff;
  text-align: center;
  font-size: 24px;
  line-height: 1.8;
}

.top_msg h2 {
  font-weight: bold;
  font-size: 38px;
}

.top_msg p {
  font-size: 20px;
  margin-top: 20px;
}

.top_place ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.top_place ul > li {
  width: 50%;
  background: #f6f7f7;
  padding: 50px 20px;
}

.top_place ul > li.tp_img {
  background: url('../images/top_place.jpg?v=2') no-repeat center center;
  background-size: cover;
}

.top_place h3 {
  text-align: center;
  padding: 20px 0 50px;
  font-size: 30px;
  font-weight: bold;
  color: #c89f63;
}

.tp_text {
  font-size: 17px;
  font-weight: bold;
  max-width: 600px;
  margin: 0 auto 30px;
}

.top_place_l {
  position: relative;
}

.top_place_l:before {
  content: '';
  background: url('../images/top_ar.png') no-repeat center center;
  background-size: cover;
  position: absolute;
  bottom: -40px;
  left: 50%;
  margin-left: -20px;
  width: 80px;
  height: 40px;
}

.top_voice {
  margin: 80px 0;
}

.condition_title:before {
  background: url(../images/top_reason.png) no-repeat center center;
  z-index: 1;
}

.top_reason {
  background: #f6f7f7;
  padding: 120px 0 60px !important;
}

.top_flowtext {
  max-width: 900px;
  color: #fff;
  margin: 50px auto;
}

.flow_contents ul:before {
  content: url(../images/flow_ar.png);
  position: absolute;
  left: 190px;
  top: 262px;
}

@media screen and (max-width: 500px) {
  .flow_contents ul:before {
    content: url(../images/flow_ar.png);
    position: absolute;
    left: 50%;
    top: auto;
    bottom: 15px;
    margin-left: -8px;
  }
}

.top_campaign {
  padding: 80px 0 60px;
}

.top_qa {
  position: relative;
  min-height: 300px;
  background: url('../images/qa.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding-bottom: 60px;
}

@media screen and (max-width: 500px) {
  .top_qa {
    background-attachment: initial;
  }
}

.top_qa h3 {
  color: #fff;
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  padding: 60px 0;
  position: relative;
}

.top_qabox {
  max-width: 900px;
  width: 96%;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
}

.qa_list {
  padding-left: 70px;
  position: relative;
  border-bottom: 1px solid #d8b453;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.qa_list:before {
  content: '';
  width: 50px;
  height: 50px;
  background: url('../images/qa_mark.jpg') no-repeat center center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.qa_list h4 {
  font-size: 20px;
  font-weight: bold;
  padding-top: 10px;
}

.qa_list p {
  margin-top: 30px;
}

.top_menu {
  background: url('../images/top_menu.jpg') no-repeat center center;
  background-size: cover;
  text-align: center;
  padding: 80px 30px;
  color: #fff;
}

.top_menu h3 {
  font-size: 40px;
  padding-bottom: 80px;
  font-weight: bold;
}

.top_menu p {
  font-size: 24px;
  padding-bottom: 50px;
}

.menu_link a {
  display: inline-block;
  background: #d9b553;
  padding: 10px 50px;
  font-weight: bold;
  font-size: 20px;
}

@media screen and (max-width: 500px) {
  .top_msg {
    padding: 60px 20px;
    background-position: -275px center;
  }
  .top_msg h2 {
    font-size: 6vw;
  }
  .top_msg p {
    font-size: 14px;
    margin-top: 20px;
    text-align: left;
  }
  .top_place ul {
    display: block;
  }
  .top_place ul > li {
    width: 100%;
  }
  .tp_img {
    height: 260px;
  }
  .top_place h3 {
    font-size: 24px;
  }
  .tp_text {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .top_qa h3 {
    font-size: 24px;
  }
  .qa_list:before {
    width: 25px;
    height: 25px;
    top: 3px;
  }
  .qa_list {
    padding-left: 35px;
  }
  .qa_list h4 {
    padding-top: 0;
    font-size: 18px;
  }
  .top_menu h3 {
    font-size: 5vw;
  }
  .top_menu p {
    font-size: 18px;
  }
  .menu_link a {
    display: inline-block;
    background: #d9b553;
    padding: 10px 0;
    font-weight: bold;
    font-size: 15px;
    width: 90%;
  }
  ._sp {
    display: none;
  }
}

.pimg {
  margin-top: 100px;
}

.pimg ul {
  display: flex;
  flex-wrap: wrap;
}

.pimg li:first-child {
  width: 60%;
}

.pimg li:nth-child(2) {
  width: 40%;
}

.pimg_catch {
  background: url('../images/pimg.jpg') no-repeat center center;
  background-size: cover;
}

.pimg_text {
  padding: 50px 80px 50px 30px;
}

.pimg_text h3 {
  font-size: 26px;
  color: #d8b453;
  font-weight: bold;
  padding-bottom: 30px;
}

.pimg_text p {
  line-height: 2;
}

.price_tuika {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #d8b453;
}

.sp_only {
  display: none;
}

@media screen and (max-width: 800px) {
  .pimg_text {
    padding: 50px 30px;
  }
  .pimg {
    margin-top: 50px;
  }
}

@media screen and (max-width: 500px) {
  .pimg li {
    width: 100% !important;
  }

  .pimg li:first-child {
    height: 280px;
  }
  .pimg_text {
    padding: 15px;
  }
  .pimg_text h3 {
    font-size: 20px;
  }
  .sp_only {
    display: block;
  }
}

.free_msg {
  background: url('../images/free_bg.jpg') no-repeat center center;
  background-size: cover;
  margin: 80px 0;
}

.free_msg p {
  font-size: 20px;
  padding-top: 50px;
}

.course_list:nth-child(2n) .floating_text,
.floating_text {
  position: inherit;
  top: 0;
  margin-top: 30px;
}

@media screen and (max-width: 500px) {
  .free_msg p {
    font-size: 15px;
  }
}
