@charset "utf-8";
/* CSS Document */

@media print,
screen and (min-width: 768px) {
  .p-top {
    background-image: url("../images/mv.webp");
    position: relative;
    background-position: center;
    background-color: #f0f0f0;
    border-radius: 15px;
    background-size: cover;
  }
}

@media not all and (min-width: 768px) {
  .p-top {
    background-image: url("../images/mv.webp");
    background-color: #000000;
    padding: 130px 0 50px;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}


.box01 {
  padding: 0.5em 1em;
  margin: 2em 0;
  color: #474747;
  background: whitesmoke;
  border-left: double 7px #4ec4d3;
  border-right: double 7px #4ec4d3;
}

/*===============================
   モデルコース
================================*/
.mb-20 {
  margin-bottom: 20px;
}

.day_box {
  background: #FFF;
  width: 90%;
  margin: 5% auto;
  position: relative;
  font-size: 0.85em;
}

.modelcourse_area {
  position: relative;
  counter-reset: count;
  padding-left: 2em;
}

.modelcourse_area:before {
  content: "";
  position: absolute;
  top: -2em;
  left: calc(2em - 1px);
  width: 2px;
  height: calc(100% + 4em);
  background: #223a70;
  z-index: 1;
}

.modelcourse_area>* {
  margin: 2em 0;
}

.modelcourse_area section {
  position: relative;
  background: #fff;
}

.modelcourse_area h3 {
  color: #223a70;
}

.modelcourse_area p {
  font-size: 1rem;
}

.modelcourse_area .move {
  font-size: 1rem;
  position: relative;
  padding-left: 3.5em;
  line-height: 1.4em;
  color: #1a1a1a;
}

.modelcourse_area .move:before {
  content: "";
  position: absolute;
  top: calc(50% - 0.5em);
  left: 0;
  border: 0.5em solid transparent;
  border-left-color: #223a70;
}

.modelcourse_area .date {
  align-self: center;
  display: inline-block;
  margin: 2%;
  padding: 0 1em;
  background: #fff;
  border: 3px solid #246cb3;
  color: #246cb3;
  font-weight: bold;
  font-size: 1.5em;
}

.m-flex {
  display: flex;
}

.m-flex li {
  margin-left: 2%;
  width: 46%;
}

.modelcourse_box_ttl {
  font-size: 1.3rem;
  color: #004098;
  margin-bottom: 3%;
}

.modelcourse_box_txt {
  font-size: 1rem;
  line-height: 1.6;
}

@media not all and (min-width: 768px) {
  .modelcourse_ttl {
    width: 100%;
    font-size: 1.2rem;
    padding: 1.5% 0;
    border-radius: 5px;
  }

  .modelcourse_area {
    padding-left: 0.3em;
  }

  .modelcourse_box_ttl {
    margin-top: 1em;
  }

  .modelcourse_area p {
    padding-left: 1em;
    font-size: 1rem;
  }

  .modelcourse_area:before {
    top: -2em;
    left: calc(0.3em - 0.3px);
    width: 1px;
  }

  .modelcourse_ttl:after {
    font-size: 1.3rem;
    right: 5px;
  }

  .day_box {
    width: 100%;
    margin-top: 20%;
  }

  .modelcourse_area .move {
    font-size: 1rem;
    padding-left: 1em;
  }

  .modelcourse_area .date {
    border: 1px solid #246cb3;
    font-size: 1rem;
  }

  .modelcourse_sg {
    font-size: 1.5em;
  }

  .m-flex {
    display: block;
    margin-bottom: 10%;
  }

  .m-flex li {
    width: 98%;
  }
}