@charset "UTF-8";
/* ニュース一覧ページ */
.news .page-body-wrap {
  display: flex;
  gap: 72px;
}

@media screen and (max-width: 768px) {
  .news .page-body-wrap {
    flex-direction: column;
    gap: 36px;
  }
}

.news .news-nav {
  position: sticky;
  top: 133px;
  left: 0;
  width: 100%;
  max-width: 270px;
  height: 100%;
  padding: 32px 40px;
  border-radius: 16px;
  background-color: #fff;
}

.news .news-nav .news-nav-title {
  margin: 0 auto;
  font-size: 0.8125em;
  font-weight: 700;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.news .news-nav-category {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
}

.news .news-nav-category li a {
  position: relative;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.5;
  color: rgb(34, 34, 34, 0.4);
  text-decoration: none;
}

.news .news-nav-category li.current a {
  color: var(--main-color-black);
}

.news .news-nav-category li.current a::before {
  position: absolute;
  top: 0;
  left: -40px;
  width: 2px;
  height: 100%;
  background: #4fb3ff;
  content: "";
}

@media screen and (max-width: 768px) {
  .news .news-nav {
    position: relative;
    top: 0;
    max-width: none;
    padding: 0;
    border-radius: 0;
    background-color: transparent;
  }

  .news .news-nav-category {
    flex-direction: row;
    gap: 6px;
    margin: 0;
  }

  .news .news-nav-category li a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 18px 7px;
    border-radius: 23px;
    border: 1px solid var(--main-color-gray);
    color: var(--main-color-black);
    background-color: #fff;
    font-size: 0.8125em;
    font-weight: 500;
  }

  .news .news-nav-category li.current a {
    border: none;
    color: #fff;
    background: var(--gradient-blue);
  }

  .news .news-nav-category li.current a::before {
    content: none;
  }
}

.news .news-main {
  flex: 1;
}

.news .news-main .news-lists {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 42px 92px 90px;
  border-radius: 16px;
  background-color: #fff;
}

.news .news-main .news-lists:has(.no-post) {
  padding: 84px 92px;
}

.news .news-main .news-lists .news-list {
  padding: 22px 0 28px;
  border-bottom: 1px solid var(--main-color-gray);
}

.news .news-main .news-lists .news-list a {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px 14px;
  color: var(--main-color-black);
  text-decoration: none;
}

.news .news-main .news-lists .news-list a::after {
  position: absolute;
  display: block;
  bottom: -29px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--main-color-black);
  transition: all 0.4s ease;
  content: "";
}

.news .news-main .news-lists .news-list a:hover::after {
  width: 100%;
}

.news .news-main .news-lists .news-list a .news-date {
  width: 100%;
  font-size: 0.875em;
  font-weight: 700;
  line-height: 1.5;
}

.news .news-main .news-lists .news-list a .news-category {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 108px;
  height: 28px;
  margin: 0;
  padding: 0 10px 2px;
  border-radius: 28px;
  font-weight: 700;
  background: linear-gradient(to right bottom, rgb(34, 136, 214, 0.08) 0%, rgb(38, 75, 128, 0.08) 100%);
}

.news .news-main .news-lists .news-list a .news-category span {
  font-size: 0.75em;
  font-weight: 500;
  line-height: 1.75;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.news .news-main .news-lists .news-list.important a .news-category {
  background: rgb(255, 102, 48, 0.08);
}

.news .news-main .news-lists .news-list.important a .news-category span {
  color: var(--main-color-orange);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.news .news-main .news-lists .news-list a .news-title {
  flex: 1;
  margin: 0;
  font-weight: 500;
  line-height: 1.75;
}

@media screen and (max-width: 768px) {
  .news .news-main .news-lists {
    padding: 18px 24px 52px;
  }
  
  .news .news-main .news-lists:has(.no-post) {
    padding: 36px 24px;
  }

  .news .news-main .news-lists .news-list {
    padding: 22px 0 20px;
  }

  .news .news-main .news-lists .news-list a {
    gap: 16px 12px;
  }

  .news .news-main .news-lists .news-list a::after {
    bottom: -20px;
  }

  .news .news-main .news-lists .news-list a .news-date {
    width: auto;
    font-size: 0.8125em;
  }

  .news .news-main .news-lists .news-list a .news-category {
    min-width: 97px;
    height: 22px;
  }

  .news .news-main .news-lists .news-list a .news-category span {
    font-size: 0.6875em;
  }

  .news .news-main .news-lists .news-list a .news-title {
    flex: unset;
    width: 100%;
    margin: 0;
    font-size: 0.9375em;
    font-weight: 500;
  }
}

/* ペジネーション */
.pagenation {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 64px 0 0;
}

.pagenation ol {
  display: flex;
  gap: 13px;
  margin: 0 48px;
  padding: 0;
}

.pagenation ol li:has(.page-dots) {
  display: flex;
  align-items: center;
}

.pagenation ol li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  color: var(--main-color-black);
  background-color: #fff;
  font-size: 0.8125em;
  transition: all 0.3s ease;
  z-index: 1;
}

.pagenation ol li a::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gradient-blue);
  opacity: 0;
  transition: all 0.3s ease;
  content: "";
  z-index: -1;
}

.pagenation ol li a:hover::before {
  opacity: 1;
}

.pagenation ol li a:hover {
  color: #fff;
}

.pagenation ol .current a {
  color: #fff;
  background: var(--gradient-blue);
}

@media screen and (max-width: 768px) {
  .pagenation {
    margin: 36px 0 0;
  }

  .pagenation ol {
    gap: 16px;
  }

  .pagenation ol li a {
    font-size: 0.8125em;
  }

  .pagenation .prev a,
  .pagenation .next a {
    width: 12px;
    height: 12px;
  }
}

/* ニュース記事ページ */
.news-heading {
  display: flex;
  flex-direction: column;
  row-gap: 31px;
  width: 100%;
  max-width: 1204px;
  margin: 0 auto;
  padding: 129px 20px 0;
}

.news-heading .news-heading-info {
  display: flex;
  align-items: center;
  column-gap: 20px;
}

.news-heading .news-heading-info .news-heading-date {
  font-size: 0.875em;
  font-weight: 700;
  line-height: 1.5;
}

.news-heading .news-heading-info .news-heading-category {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 108px;
  height: 28px;
  margin: 0;
  padding: 0 10px 2px;
  border-radius: 28px;
  font-weight: 700;
  background: linear-gradient(to right bottom, rgb(34, 136, 214, 0.08) 0%, rgb(38, 75, 128, 0.08) 100%);
}

.news-heading .news-heading-info .news-heading-category span {
  font-size: 0.75em;
  font-weight: 500;
  line-height: 1.75;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.news-heading.important .news-heading-info .news-heading-category {
  background: rgb(255, 102, 48, 0.08);
}

.news-heading.important .news-heading-info .news-heading-category span {
  color: var(--main-color-orange);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}

.news-heading .news-heading-title h1 {
  font-size: 2.25em;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .news-heading {
    row-gap: 24px;
    margin: 0 auto;
    padding: 74px 20px 0;
  }

  .news-heading .news-heading-info {
    column-gap: 12px;
  }

  .news-heading .news-heading-info .news-heading-date {
    font-size: 0.8125em;
  }

  .news-heading .news-heading-info .news-heading-category {
    min-width: 97px;
    height: 22px;
  }

  .news-heading .news-heading-info .news-heading-category span {
    font-size: 0.6875em;
  }

  .news-heading .news-heading-title h1 {
    font-size: 1.5em;
  }
}

.page-body.news-detail {
  margin: 100px 0 0;
}

.news-detail .news-detail-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 68px 92px 104px;
  border-radius: 16px;
  background-color: #fff;
}

.news-detail .news-detail-main h2 {
  position: relative;
  padding-left: 20px;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.5;
}

.news-detail .news-detail-main h2::before,
.news-detail .news-detail-main h2::after {
  position: absolute;
  left: 0;
  width: 3px;
  height: 50%;
  content: "";
}

.news-detail .news-detail-main h2::before {
  top: 0;
  background: var(--gradient-blue);
}

.news-detail .news-detail-main h2::after {
  top: 50%;
  background: var(--main-color-orange);
}

.news-detail .news-detail-main * + h2 {
  margin: 64px 0 0;
}

.news-detail .news-detail-main p {
  margin: 0;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.75;
}

.news-detail .news-detail-main p + p {
  margin: 20px 0 0;
}

.news-detail .news-detail-main h2 + p {
  margin: 28px 0 0;
}

.news-detail .news-detail-main figure + p {
  margin: 48px 0 0;
}

.news-detail .news-detail-main a {
  color: var(--main-color-black);
  text-underline-offset: 2px;
}

.news-detail .news-detail-main figure {
}

.news-detail .news-detail-main * + figure {
  margin: 48px 0 0;
}

.news-detail .news-detail-main figure img {
  max-width: 100%;
  height: auto;
}

.news-detail .common-back-btn {
  margin: 60px auto 0;
}

@media screen and (max-width: 768px) {
  .page-body.news-detail {
    margin: 48px 0 0;
  }

  .news-detail .news-detail-main {
    padding: 40px 24px 64px;
  }

  .news-detail .news-detail-main h2 {
    padding-left: 18px;
    font-size: 1.125em;
  }

  .news-detail .news-detail-main h2::before,
  .news-detail .news-detail-main h2::after {
    width: 2px;
  }

  .news-detail .news-detail-main * + h2 {
    margin: 48px 0 0;
  }

  .news-detail .news-detail-main p {
    font-size: 0.9375em;
  }

  .news-detail .news-detail-main p + p {
    margin: 12px 0 0;
  }

  .news-detail .news-detail-main h2 + p {
    margin: 20px 0 0;
  }

  .news-detail .news-detail-main figure + p {
    margin: 28px 0 0;
  }

  .news-detail .news-detail-main * + figure {
    margin: 28px 0 0;
  }

  .news-detail .common-back-btn {
    margin: 48px auto 0;
  }
}
