@charset "UTF-8";

.detail {
  margin-top: clamp(80px, 8.3333333333vw, 100px);
  margin-bottom: clamp(120px, 14.1666666667vw, 170px);
  background: #ffffff;
  padding: 20px 20px 60px;
  -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
          box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  border-radius: 10px;
    max-width: 1078px;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .detail {
    padding: 80px 40px 100px;
  }
}
@media screen and (min-width: 1200px) {
  .detail {
    padding: 103px 117px 100px;
  }
}

.p-news__item-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 50px;
}

.p-news__item-date {
  font-size: 14px;
  line-height: 1.4285714286;
  font-weight: 500;
}

.p-news__item-tag span {
  display: inline-block;
  padding: 3px 12px;
  color: #1b427a;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
  background: #f6f8fc;
  border: 1px solid #1b427a;
  border-radius: 20px;
  text-align: center;
}

.post-ttl {
  margin-top: 17px;
  font-size: 16px;
  font-weight: normal;
  line-height: 2;
  letter-spacing: 0.06em;
  color: #555555;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #d0d0d0;
  padding-left: 29px;
  position: relative;
  -webkit-text-stroke: 0.2px #635542;
}
@media screen and (min-width:768px) {
  .post-ttl {
    font-size: 22px;
  }
}

.post-ttl::before {
  content: "";
  position: absolute;
  background: #1A63D2;
  width: 8px;
  height: 57%;
  top: 6px;
  left: 0;
}

.post-detail__content img,
.detail img {
  margin: 40px auto 10px;
  margin-inline: auto;
  display: block;
  border-radius: 5px;
  width: auto;
  height: auto;
}

@media screen and (min-width: 768px) {
  .post-detail__content img,
  .detail img {
    margin: 65px auto;
  }
}
.post-detail__content img,
.detail img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.detail-text {
  padding-block: 60px 105px;
  color: #555555;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0px;
  line-height: 2.2142857143;
}
.detail-text p + p {
  padding-top: 30px;
}

.post-detail__content h4 {
  margin-top: 83px;
  font-size: 18px;
  letter-spacing: 0.06em;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #1B427A;
  margin-bottom: 40px;
}

.post-detail__content > h3:first-child {
  margin-top: 0;
}

.post-detail__content h3 {
  margin-top: 53px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.06em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 40px;
  -webkit-text-stroke: 0.2px #635542;
}

@media screen and (min-width: 768px) {
  .post-detail__content h3 {
    gap: 17px;
  }
}
.post-detail__content h3::before {
  content: "";
  width: 16px;
  height: 17px;
  border-radius: 3px;
  background: #1A63D2;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.detail__btn {
  display: block;
  min-width: 140px;
  background: #b6cfef;
  padding: 8.5px 30px;
  text-align: center;
  font-size: 12px;
  line-height: 1.4666666667;
  letter-spacing: 0.75px;
  font-weight: 500;
  color: #1a63d2;
  border-radius: 42px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media screen and (min-width:768px) {
  .detail__btn {
    min-width: 200px;
    padding: 12.5px 53px;
    font-size: 15px;
  }
}
@media (any-hover: hover) {
  .detail__btn:hover {
    color: #ffffff;
    background: #1a63d2;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

.col-2 img {
  max-width: 100%;
  height: auto;
}