:root {
  --header-border: 1px;
}

.p-news {
  background: linear-gradient(to bottom, #F3D3FF 0%, #A5E3FF 100%);
}

.p-post {
  padding-top: 3rem;
  padding-bottom: 5rem;
  max-width: 500px;
  margin-inline: auto;
}

.p-post__posttype {
  font-size: 1.3125rem;
  font-weight: 700;
  color: #484848;
  text-align: center;
}

.p-post__header {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-post__breadcrumb {
}

.p-post__select-year {
  display: none;
}

.p-post__main {
  margin-top: 0.625rem;
  margin-bottom: 2rem;
  background-color: #fff;
  border-radius: 1.25rem;
  padding: 3.5rem 1.75rem 4rem;
}

.p-post__content {
}

.p-post__title {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #484848;
}

.p-post__date {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  color: #FF3B00;
}

.p-post__thumbnail {
  margin-bottom: 1.375rem;
}

.p-post__thumbnail img {
  width: 100%;
  max-width: unset;
}

.p-post__content > * {
  margin-bottom: 1.5rem;
}

.p-post__content p {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 2;
}

.p-post__content h2 {
  margin-top: 3rem;
}

.p-post__content h3 {
  margin-top: 2.5rem;
}

.p-post__content h4 {
  margin-top: 2rem;
}

.p-post__content figure img {
  width: 100%;
  max-width: unset;
  height: auto;
}

.p-post__content ul,
.p-post__content ol {
  padding-left: 1.5rem;
}

.p-post__content ul {
  list-style-type: disc;
}

.p-post__content ol {
  list-style-type: decimal;
}

.p-post__content li {
  line-height: 1.8;
}

.p-post__content a {
  font-size: 1rem;
  font-weight: 500;
  color: #0062FF;
  text-decoration: underline;
}

.p-post__content *:last-child {
  margin-bottom: 0;
}

.p-post__select {
  appearance: none;
  padding: 0.75rem 3rem;
  border: 1px solid #ADADAD;
  border-radius: 100vh;
  text-align: center;
}

.p-post__btn-area {
  text-align: center;
  margin-top: 3rem;
}

.p-post__btn {
  display: inline-block;
  min-width: 16.875rem;
  padding: 0.5rem;
  font-size: 1.3125rem;
  font-weight: 400;
  color: #fff;
  background-color: #002365;
  border-radius: 100vh;
}

.p-post__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-post__item-thumbnail {
  margin-bottom: 0.75rem;
}

.p-post__item-thumbnail img {
  width: 100%;
  max-width: unset;
  height: auto;
  aspect-ratio: 290 / 168;
  object-fit: cover;
  border-radius: 0.625rem;
  overflow: hidden;
  border: 1px solid #B2B2B2;
}

.p-post__item-date {
  font-size: 1rem;
  font-weight: 400;
  color: #FF3B00;
  margin-bottom: 0.375rem;
}

.p-post__item-title {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #383838;
  /* 3行までの表示 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-post__pagination-text {
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  color: #002B4B;
  margin-top: 1rem;
}

.p-post__pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.3125rem;
  flex-wrap: wrap;
}

.p-post__pagination .page-numbers {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-size: 1.3125rem;
  font-weight: 400;
  color: #002B4B;
  background-color: #fff;
  border: 1px solid #002B4B;
}

.p-post__pagination .page-numbers.current {
  background-color: #4F6B90;
  color: #fff;
}

.p-post__pagination .next,
.p-post__pagination .prev {
  display: none;
}

@media screen and (min-width: 768px) {
  .p-post {
    max-width: unset;
    padding-top: 5rem;
    padding-bottom: 5.5rem;
  }

  .p-post__posttype {
    font-size: 2rem;
  }

  .p-post__header {
    margin-top: 4rem;
  }

  .p-post__select-year {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .p-post__select-year-text {
    font-size: 1rem;
    font-weight: 400;
    color: #484848;
  }

  .p-post__main {
    margin-top: 0.75rem;
    padding: 5.75rem 5rem 7.5rem;
  }

  .p-news-list .p-post__main {
    padding: 4rem 2.5rem;
  }

  .p-post__title {
    margin-bottom: 1.75rem;
    font-size: 2rem;
  }

  .p-post__content p {
    font-size: 1rem;
  }

  .p-post__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem 1rem;
  }

  .p-post__item {
    width: calc((100% - 2rem) / 3);
  }
}

.c-breadcrumb {
  padding-inline: 2ch;
}

.c-breadcrumb__list {
  display: flex;
  gap: 3ch;
  align-items: center;
}

.c-breadcrumb__item {
  font-size: 0.75rem;
  font-weight: 400;
  color: #484848;
  position: relative;
}

.c-breadcrumb__item + .c-breadcrumb__item::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1px solid #484848;
  border-bottom: 1px solid #484848;
  position: absolute;
  left: -1.3rem;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

@media screen and (min-width: 768px) {
  .c-breadcrumb__item {
    font-size: 1rem;
  }

  .c-breadcrumb__item + .c-breadcrumb__item::before {
    left: -1.25rem;
  }
}