@charset "UTF-8";
/* =======================================
高校生向け 出張模擬講義のご案内
========================================*/
@media screen and (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}
.p-koudai {
  max-width: 990px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 50px;
  padding-bottom: 120px;
}
.p-koudai-title1 {
  margin-bottom: 30px;
}
.p-koudai-title1 .h {
  font-size: 26px;
  font-weight: 700;
  border-bottom: 1px solid #ccc;
  line-height: 1.5;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 20px;
}
.p-koudai-title1 .h small {
  font-size: 18px;
}
.p-koudai-title1 .h:after {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 50px;
  border-bottom: 2px solid #ed2805;
}
.p-koudai-title2 {
  margin-top: 50px;
  margin-bottom: 25px;
}
.p-koudai-title2 .h {
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding-left: 22px;
}
.p-koudai-title2 .h::before {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 2px solid #ed2805;
  border-radius: 100%;
}
.p-koudai-btn1 {
  display: flex;
  margin-top: 20px;
  margin-bottom: 20px;
}
.p-koudai-btn1:last-child {
  margin-bottom: 0;
}
.p-koudai-btn1.center {
  justify-content: center;
}
.p-koudai-btn1 a {
  border: 1px solid #ed2805;
  background: #fff;
  color: #ed2805;
  border-radius: 50px;
  padding: 12px 20px;
  margin-right: 15px;
  font-size: 18px;
  display: flex;
  align-items: center;
}
.p-koudai-btn1 a::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid #ed2805;
  border-bottom: 2px solid #ed2805;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  margin-left: 10px;
}
.p-koudai-btn1 a:hover {
  color: #fff;
  background: #ed2805;
}
.p-koudai-btn1 a:hover::after {
  border-right-color: #fff;
  border-bottom-color: #fff;
}
.p-koudai-btn1 a.center {
  justify-content: center;
}
.p-koudai-btn1 a.business {
  border-color: #EA5457;
  color: #EA5457;
}
.p-koudai-btn1 a.business::after {
  border-right-color: #EA5457;
  border-bottom-color: #EA5457;
}
.p-koudai-btn1 a.business:hover {
  color: #fff;
  background: #EA5457;
}
.p-koudai-btn1 a.business:hover::after {
  border-right-color: #fff;
  border-bottom-color: #fff;
}
.p-koudai-btn1 a.ict {
  border-color: #0097C2;
  color: #0097C2;
}
.p-koudai-btn1 a.ict::after {
  border-right-color: #0097C2;
  border-bottom-color: #0097C2;
}
.p-koudai-btn1 a.ict:hover {
  color: #fff;
  background: #0097C2;
}
.p-koudai-btn1 a.ict:hover::after {
  border-right-color: #fff;
  border-bottom-color: #fff;
}
.p-koudai-btn1 a.anime {
  border-color: #EB8589;
  color: #EB8589;
}
.p-koudai-btn1 a.anime::after {
  border-right-color: #EB8589;
  border-bottom-color: #EB8589;
}
.p-koudai-btn1 a.anime:hover {
  color: #fff;
  background: #EB8589;
}
.p-koudai-btn1 a.anime:hover::after {
  border-right-color: #fff;
  border-bottom-color: #fff;
}
.p-koudai-list1 {
  list-style: disc;
  padding-left: 1.5em;
}
.p-koudai-list1 li {
  line-height: 1.8;
  font-size: 16px;
  font-weight: 400;
  list-style: inherit;
}
.p-koudai__nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}
.p-koudai__nav li {
  flex: 1;
  border-left: 1px solid #ccc;
}
.p-koudai__nav li:last-child {
  border-right: 1px solid #ccc;
}
.p-koudai__nav li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  padding: 20px 15px;
}
.p-koudai__nav li a::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1px solid #999;
  border-bottom: 1px solid #999;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  margin-top: 5px;
}
.p-koudai__nav li a:hover {
  color: #ed2805;
}
.p-koudai__nav li a:hover::after {
  border-right-color: #ed2805;
  border-bottom-color: #ed2805;
}
.p-koudai__content {
  margin-bottom: 80px;
  background: #fff;
  padding: 50px;
  padding-bottom: 60px;
}
.p-koudai__content:last-child {
  margin-bottom: 0;
}
.p-koudai__content p {
  line-height: 1.8;
  font-size: 16px;
}
.p-koudai__content .topics-post {
  margin-top: 60px;
}
.p-koudai__content .topics-post-content {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.p-koudai__content .topics-post-content li {
  width: 30%;
  margin-left: 5%;
  margin-bottom: 50px;
}
.p-koudai__content .topics-post-content li:nth-child(3n+1) {
  margin-left: 0;
}
.p-koudai__content .topics-post-content li:nth-last-child(-n+3) {
  margin-bottom: 0;
}
.p-koudai__content .topics-post-content li a {
  font-weight: 400;
}
.p-koudai__content .topics-post-h {
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 12px;
}
.p-koudai__content .topics-post-h span {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
  color: #ed2805;
  line-height: 1;
}
.p-koudai__content .topics-post-category {
  display: inline-block;
  padding: 2px 6px 3px;
  font-size: 12px;
  border: 1px solid #ed2805;
  color: #ed2805;
  border-radius: 2px;
}
.p-koudai__content .img1 {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}
.p-koudai__content .img1 > div {
  width: 31.7647%;
  margin-left: 2.35295%;
}
.p-koudai__content .img1 > div:nth-child(3n+1) {
  margin-left: 0;
}

@media screen and (max-width: 768px) {
  .p-koudai {
    padding-top: 30px;
    padding-bottom: 100px;
  }
  .p-koudai-title1 {
    margin-bottom: 20px;
  }
  .p-koudai-title1 .h {
    font-size: 18px;
    padding-bottom: 15px;
  }
  .p-koudai-title1 .h small {
    font-size: 14px;
  }
  .p-koudai-btn1 {
    display: block;
  }
  .p-koudai-btn1 a {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .p-koudai-btn1 a:last-child {
    margin-bottom: 0;
  }
  .p-koudai__nav {
    margin-bottom: 30px;
  }
  .p-koudai__nav li {
    display: flex;
  }
  .p-koudai__nav li a {
    font-size: 14px;
    padding: 10px 8px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .p-koudai__content {
    padding: 20px;
    padding-bottom: 30px;
    margin-bottom: 50px;
  }
  .p-koudai__content:last-child {
    margin-bottom: 0;
  }
  .p-koudai__content p {
    font-size: 14px;
    line-height: 1.7;
  }
  .p-koudai__content .topics-post {
    margin-top: 40px;
  }
  .p-koudai__content .topics-post-content {
    display: block;
    margin-bottom: 0;
  }
  .p-koudai__content .topics-post-content li {
    width: auto;
    margin-left: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
  }
  .p-koudai__content .topics-post-content li:nth-last-child(-n+3) {
    margin-bottom: 20px;
  }
  .p-koudai__content .topics-post-content li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .p-koudai__content .topics-post-content li a > img {
    display: none;
  }
  .p-koudai__content .img1 {
    margin-top: 20px;
    display: block;
  }
  .p-koudai__content .img1 > div {
    width: auto;
    margin-left: 0;
    margin-bottom: 10px;
    text-align: center;
  }
  .p-koudai__content .img1 > div:last-child {
    margin-bottom: 0;
  }
  .p-koudai__content .img1 img {
    width: 100%;
  }
}
