@charset "UTF-8";

#key-visual {
  background-image: url(../images/news-key-visual.jpg);
}

main {
  border-bottom: 0.1rem solid #ccc;
}
#sec01:before {
  content: "";
  display: block;
  border-left: 21.8vw solid #ffd700;
  border-bottom: 21.8vw solid transparent;
  position: absolute;
  left: 0;
  top: 0;
}
#sec01:after {
  content: "";
  display: block;
  border-bottom: min(29.3vw, 42rem) solid #00a1e9;
  border-left: min(29.3vw, 42rem) solid transparent;
  position: absolute;
  right: 0;
  bottom: 0;
}
#sec01 .inner {
  z-index: 9;
}

#sec01 .bg-white {
  padding: 5.4rem 4.8rem;
}
.date {
  display: block;
}
#post-title {
  font-size: 3rem;
  line-height: 1.75;
  padding: 1.8rem 0 2.4rem;
  border-bottom: 0.1rem solid #ccc;
  margin-bottom: 3.6rem;
}
.post-txt p:not(:last-of-type) {
  margin-bottom: 2em;
}
.pic-area {
  margin-bottom: 4.8rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.pic-area .pic {
  width: calc(50% - 2rem);
}
.pic_img {
  width: 48%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.pager02 {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}
.pager02 a {
  height: 4rem;
  border-radius: 2rem;
  padding: 0 2em;
  background: #ffd700;
  margin: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s all ease;
}

@media screen and (max-width: 599px) {
  main {
    border-bottom: 0.2rem solid #ccc;
  }
  #sec01:before {
    border-left: 19vw solid #ffd700;
    border-bottom: 19vw solid transparent;
  }
  #sec01:after {
    border-bottom: 28.7rem solid #00a1e9;
    border-left: 28.7rem solid transparent;
  }

  #sec01 .bg-white {
    padding: 8rem 4rem;
  }
  #post-title {
    font-size: clamp(20px, 4.8rem, 48px);
    padding: 3.6rem 0 4.8rem;
    border-bottom: 0.2rem solid #ccc;
    margin-bottom: 7.2rem;
  }
  .pic-area {
    margin-bottom: 7.2rem;
  }
  .pic-area .pic {
    width: 100%;
  }
  .pic-area .pic:not(:last-of-type) {
    margin-bottom: 2rem;
  }
  .pager02 a {
    /*height: 7.2rem;*/
    height: clamp(36px, 7.2rem, 72px);
    border-radius: 9999px;
    padding: 0 6rem;
    margin: 0 2rem;
    font-size: clamp(16px, 2.8rem, 28px);
  }
  .pic-area {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .pic_img {
    max-width: 100%;
  }
  .pic_img {
    width: 100%;
  }
}
