@charset "UTF-8";
/*
Theme Name: 進路カレンダー
*/
@media screen and (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}
.p-path {
  padding-top: 6vw;
  /*=======================================
  KV
  =========================================*/
  /*=======================================
  カレンダー
  =========================================*/
  /*=======================================
  リンク
  =========================================*/
}
.p-path img {
  max-width: 100%;
  height: auto;
}
.p-path__kv {
  background: url(../img/kv_bg1.svg) no-repeat center top;
  background-size: 1700px auto;
  padding-top: 60px;
  margin-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.p-path__kv .h {
  margin-right: 50px;
}
.p-path__kv .lead {
  width: 100%;
  margin-top: 60px;
}
.p-path__kv .lead .title {
  font-size: 35px;
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.p-path__kv .lead .title span {
  background-repeat: no-repeat;
  background-position: center bottom;
  padding: 0 36px 20px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.p-path__kv .lead .title span:nth-child(1) {
  background-image: url(../img/kv_title_icon1.png);
  margin-bottom: 5px;
}
.p-path__kv .lead .title span:nth-child(2) {
  background-image: url(../img/kv_title_icon2.png);
}
.p-path__kv .lead p {
  font-size: 20px;
  font-size: 2rem;
  font-weight: 500;
  line-height: 2.1;
}
.p-path__kv .lead .icon {
  margin-top: 50px;
}
.p-path__calendar {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
  text-align: center;
}
.p-path__link {
  padding: 0 0 40px;
}
.p-path__link .wrap {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.p-path__link ul:after {
  display: block;
  content: "";
  clear: both;
}
.p-path__link li {
  float: left;
  width: 48%;
  margin-bottom: 8%;
}
.p-path__link li h4 {
  text-align: center;
}
.p-path__link li .btn {
  margin-top: 20px;
}
.p-path__link li .btn a {
  display: block;
  font-weight: bold;
  text-align: center;
  font-size: 1.8rem;
  border-radius: 10px;
  border: 1px solid;
  padding: 15px 0;
  text-decoration: none;
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: center right 5%;
  position: relative;
  top: 0;
}
.p-path__link li .btn a:hover {
  top: 5px;
  box-shadow: unset !important;
}
.p-path__link li:nth-child(1) {
  float: none;
  margin: 0 auto 8%;
}
.p-path__link li:nth-child(3), .p-path__link li:nth-child(5) {
  float: right;
}
.p-path__link li.list1 .btn a {
  border-color: #f08a97;
  background-image: url(images/link_icon5.png);
  box-shadow: 0 5px 0 #f08a97;
}
.p-path__link li.list2 .btn a {
  border-color: #3FA6D7;
  background-image: url(images/link_icon1.png);
  box-shadow: 0 5px 0 #3FA6D7;
}
.p-path__link li.list3 .btn a {
  border-color: #FD4E68;
  background-image: url(images/link_icon4.png);
  box-shadow: 0 5px 0 #FD4E68;
}
.p-path__link li.list4 .btn a {
  border-color: #EB6D57;
  background-image: url(images/link_icon2.png);
  box-shadow: 0 5px 0 #EB6D57;
}
.p-path__link li.list5 .btn a {
  border-color: #F8AF07;
  background-image: url(images/link_icon3.png);
  box-shadow: 0 5px 0 #F8AF07;
}

/* ----------------------------- タブレット（768～1024px） */
/* ----------------------------- スマホ（～767px） */
@media screen and (max-width: 767px) {
  .p-path {
    padding-top: 0;
  }
  .p-path__kv {
    background-image: url(../img/kv_bg1_sp.svg);
    background-position: center -12px;
    background-size: contain;
    display: block;
    padding-top: 23px;
    margin-bottom: 30px;
    text-align: center;
  }
  .p-path__kv .h {
    position: relative;
    z-index: 1;
    margin-right: 0;
  }
  .p-path__kv .h img {
    width: 233px;
  }
  .p-path__kv .img1 {
    position: relative;
    margin-top: -8px;
  }
  .p-path__kv .lead {
    margin-top: 20px;
  }
  .p-path__kv .lead .title {
    font-size: 17px;
    font-size: 1.7rem;
    margin-bottom: 20px;
  }
  .p-path__kv .lead .title span {
    background-size: contain;
    padding: 0 10px 10px;
  }
  .p-path__kv .lead .title span:nth-child(1) {
    margin-bottom: 2px;
  }
  .p-path__kv .lead p {
    font-size: 13px;
    font-size: 1.3rem;
    line-height: 1.61;
  }
  .p-path__kv .lead .icon {
    margin-top: 30px;
  }
  .p-path__kv .lead .icon img {
    width: 16px;
  }
  .p-path__calendar {
    margin-bottom: 20px;
  }
  .p-path__link {
    padding: 40px 0;
  }
  .p-path__link .wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
  .p-path__link li {
    float: none;
    width: auto;
    margin-bottom: 40px;
  }
  .p-path__link li .btn {
    margin-top: 10px;
  }
  .p-path__link li .btn a {
    font-size: 1.6rem;
  }
  .p-path__link li:nth-child(1) {
    margin-bottom: 40px;
  }
  .p-path__link li:nth-child(3), .p-path__link li:nth-child(5) {
    float: none;
  }
}
