/* max-width 960px
   height auto

   【スマホ切り替え】
   ヘッダー、ナビ、フッター　768px

	z-index
   1  body .site

*/

/*****************************************************************************
****************** 共通 ******************************************************
*****************************************************************************/
.top-img {
  background-image: url(../img/news/img-top-back.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 8rem 0;
  border-radius: 200px 0 0 / 200px 0 0 0;
}
.top-img h2 {
  font-size: 132px;
  color: #fff;
  letter-spacing: 3px;
}
.top-img h2 span.initials {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  display: inline-block;
}
.top-img p {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  margin-top: 0.5rem;
}
@media screen and (max-width: 767px) {
  .top-img {
    background-image: url(../img/news/img-top-back-sp.webp);
    background-position: center left;
    padding: 5rem 0 10rem;
    border-radius: 110px 0 0 / 110px 0 0 0;
  }
  .top-img h2 {
    font-size: 68px;
  }
  .top-img p {
    font-size: 16px;
  }
}

/*****************************  一覧 ***************************/
.news {
  background-color: #d4e7ff;
  border-radius: 0 0 200px / 0 0 200px 0;
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}
.news::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #f7f7f7;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
.news .frame {
  max-width: 750px;
  width: auto;
  margin: 0 auto;
}
.news .frame .news-box a {
  background-color: #fff;
  border: 1px solid #b8bed8;
  border-radius: 20px;
  display: block;
  padding: 1.5rem;
  color: #000;
  position: relative;
}
.news .frame .news-box a:not(:first-of-type) {
  margin-top: 1rem;
}
.news .frame .news-box a::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  background-color: #d4e7ff;
  border: 1px solid #fff;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 1.2rem;
  bottom: 0;
  margin: auto;
}
.news .frame .news-box a::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 6px;
  border-bottom: 1px solid #122487;
  border-right: 1px solid #122487;
  transform: skew(45deg);
  position: absolute;
  top: 0;
  right: 2rem;
  bottom: 0;
  margin: auto;
}
.news .frame .news-box a:hover,
.news .frame .news-box a:hover::before {
  border-color: #122487;
}
.news .frame .news-box a p {
  font-size: 14px;
  font-weight: bold;
  color: #122487;
}
.news .frame .news-box a h3 {
  line-height: 140%;
  margin-top: 0.2rem;
}
.news .frame .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-top: 3rem;
}
.news .frame .pagination .page-numbers {
  width: 33px;
  height: 33px;
  border: 1px solid #122487;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #122487;
  margin: 0 0.2rem;
}
.news .frame .pagination .page-numbers.current {
  width: 40px;
  height: 40px;
  color: #fff;
  background-color: #122487;
}
.news .frame .pagination .page-numbers.prev,
.news .frame .pagination .page-numbers.next,
.news .frame .pagination .page-numbers.dots {
  border: 0;
}
.news .frame .pagination a.prev div,
.news .frame .pagination a.next div {
  cursor: pointer;
  width: 38px;
  height: 8px;
  border-bottom: 2px solid #122487;
}
.news .frame .pagination a.prev div {
  border-left: 2px solid #122487;
  transform: skew(-45deg);
}
.news .frame .pagination a.next div {
  border-right: 2px solid #122487;
  transform: skew(45deg);
}
@media screen and (max-width: 767px) {
  .news {
    border-radius: 0 0 100px / 0 0 100px 0;
  }
  .news .frame {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/*****************************  詳細 ***************************/
.contentarea {
  background-color: #fbfbfb;
  border: 2px solid #aabdd2;
  border-radius: 50px;
  padding: 3rem;
  margin-top: 5rem;
  margin-bottom: 3rem;
}
.contentarea figure,
.contentarea p {
  margin-top: 2rem;
}
.contentarea .title {
  margin-bottom: 3rem;
}
.contentarea .title p {
  color: #122487;
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}
.contentarea .title h3 {
  font-size: 34px;
  line-height: 140%;
  margin-top: 0.5rem;
}
.contentarea .wp-block-image {
  overflow: hidden;
  border-radius: 20px;
}
#content .link {
  width: fit-content;
  margin: 0 auto 5rem;
}
#content .link a {
  color: #fff;
  background-color: #122487;
  border: 2px solid #fff;
  border-radius: 100px 50px 50px 0;
  display: flex;
  align-items: center;
  padding: 2rem 6rem;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 3px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
#content .link a::before {
  background-color: #77b8ff;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
  z-index: -1;
}
#content .link a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
#content .link a::after {
  content: "";
  display: inline-block;
  width: 25px;
  height: 5px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: skew(45deg);
  margin-left: 1rem;
}
@media screen and (max-width: 767px) {
  .contentarea .title p {
    font-size: 14px;
  }
  .contentarea .title h3 {
    font-size: 20px;
  }
  #content .link a {
    padding: 2rem 4rem;
    justify-content: center;
    margin-top: 2rem;
  }
}
