/*-------------*/
/* ボタン */
/*-------------*/
.c-button {
  position: relative;
  max-width: 230px;
  width: 100%;
  display: block;
  text-align: center;
  padding: 20px 48px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  transition: transform 0.3s ease;
}
.s .c-button {
  max-width: 360px;
  width: 63%;
  font-size: clamp(1rem, calc(3.92vw + 0.12rem), 2rem);
}
.c-button:hover {
  transform: scale(1.05);
}
button.c-button {
  border: none;
  cursor: pointer;
}
.arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 1rem;
  height: 0.13rem;
  background: currentColor;
}
.arrow::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border: 0.15rem solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  transform-origin: top right;
  position: absolute;
  top: 50%;
  right: -0.05em;
}
.s .arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 1.2rem;
  height: 0.13rem;
  background: currentColor;
}
.s .arrow::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border: 0.15rem solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  transform-origin: top right;
  position: absolute;
  top: 50%;
  right: -0.05em;
}

/* 左矢印 */
.__backArrow {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 1rem;
  height: 0.13rem;
  background: currentColor;
}
.s .__backArrow {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 1.2rem;
  height: 0.13rem;
  background: currentColor;
}
.__backArrow::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border: 0.15rem solid currentColor;
  border-right: 0;
  border-top: 0;
  transform: translateY(-50%) rotate(45deg);
  position: absolute;
  top: 50%;
  left: -0.05em;
}
.s .__backArrow::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border: 0.15rem solid currentColor;
  border-right: 0;
  border-top: 0;
  transform: translateY(-50%) rotate(45deg);
  position: absolute;
  top: 50%;
  left: -0.05em;
}

/*------------------*/
/* ページネーション */
/*------------------*/
.c-pagination__list {
  padding: 80px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
  list-style: none;
}
.s .c-pagination__list {
  padding: 75px 0 0;
}
.c-pagination a {
  color: #00829e;
  text-decoration: none;
}

.page-numbers {
  padding: 10px;
  list-style: none;
}
.prev.page-numbers,
.next.page-numbers {
  padding: 0 !important;
}
.prev.page-numbers {
  margin-right: 39px;
}
.next.page-numbers {
  margin-left: 39px;
}

.c-pagination-arrow {
  position: relative;
  display: inline-block;
  width: 8.1px;
  height: 15.1px;
  clip-path: none;
}
.c-pagination__prev,
.c-pagination__next {
  display: inline-block;
  width: 11px;
  height: 19px;
  position: relative;
  vertical-align: middle;
}
.c-pagination__prev::before,
.c-pagination__prev::after {
  content: '';
  position: absolute;
  top: calc(50% - 0.5px);
  left: 0;
  width: 11px;
  height: 1px;
  border-radius: 9999px;
  background-color: #00829e;
  transform-origin: 0.5px 50%;
}
.c-pagination__next::before,
.c-pagination__next::after {
  content: '';
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 11px;
  height: 1px;
  border-radius: 9999px;
  background-color: #00829e;
  transform-origin: calc(100% - 0.5px) 50%;
}
/* クリックできない矢印のスタイル */
.c-pagination .page-numbers.is-disabled .c-pagination__prev::before,
.c-pagination .page-numbers.is-disabled .c-pagination__prev::after,
.c-pagination .page-numbers.is-disabled .c-pagination__next::before,
.c-pagination .page-numbers.is-disabled .c-pagination__next::after {
  background-color: #ccc;
  /* cursor: not-allowed; */
}

.c-pagination__prev::before {
  transform: rotate(45deg);
}
.c-pagination__prev::after {
  transform: rotate(-45deg);
}
.c-pagination__next::before {
  transform: rotate(45deg);
}
.c-pagination__next::after {
  transform: rotate(-45deg);
}

/*-------------*/
/* タグ */
/*-------------*/
.c-tag {
  width: fit-content;
  padding: 4px 15px 5px 13px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}
.s .c-tag {
  padding: 1.1% 3.5% 1.5%;
  font-size: clamp(0.75rem, calc(2.59vw + 0.1rem), 1.63rem);
}

/*-----------*/
/* h2 */
/*-----------*/
.c-title {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 5.625rem;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.2;
}
.s .c-title {
  font-size: clamp(3.44rem, calc(12.34vw + 0.4rem), 6.88rem);
}

/*-----------*/
/* h3 */
/*-----------*/
.c-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
}
.s .c-subtitle {
  gap: 8px;
  font-size: clamp(0.88rem, calc(3vw + 0.1rem), 1.75rem);
}
.c-subtitle__circle {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.s .c-subtitle__circle {
  width: 0.625rem;
  height: 0.625rem;
}

/*---------------------------*/
/* アーカイブページ　タイトル */
/*---------------------------*/
.archive-title {
  z-index: 1;
  color: #fff;
  text-shadow: 0 5px 15px rgba(56, 147, 180, 0.8);
}
.c-archive-title-column {
  display: flex;
  flex-direction: column;
  gap: 50px;
  text-align: center;
}
.s .c-archive-title-column {
  gap: 20px;
}
.c-archive-title {
  font-size: 100px;
  letter-spacing: 5px;
  line-height: 1;
}
.s .c-archive-title {
  font-size: clamp(3.44rem, calc(12.34vw + 0.4rem), 6.88rem);
  line-height: 1.3;
  letter-spacing: 3px;
}
.c-archive-subtitle {
  font-size: 24px;
  letter-spacing: 1.5px;
  font-weight: bold;
}
.s .c-archive-subtitle {
  font-size: clamp(0.88rem, calc(3vw + 0.1rem), 1.75rem);
}

/*------------------*/
/* project card */
/*------------------*/
.c-project-listItem {
  display: flex;
  flex-direction: column;
  min-height: stretch;
  gap: 28px;
  width: 380px;
  list-style: none;
}
.s .c-project-listItem {
  width: 100%;
  gap: 23px;
}
.c-project-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.c-project-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.c-project-card__content {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.c-project-card__title {
  background: linear-gradient(90deg, #42b4d5, #00829e);
  padding: 8px 0 10px;
  text-align: center;
  font-size: 1.25rem;
}
.s .c-project-card__title {
  padding: 14px 0 16px;
  font-size: clamp(1.13rem, calc(4.3vw + 0.13rem), 2.25rem);
}
.c-project-card__text {
  font-size: 1rem;
}
.s .c-project-card__text {
  font-size: clamp(0.88rem, calc(3vw + 0.1rem), 1.75rem);
}
.c-project-listItem .c-button {
  margin: auto auto 0;
}
.c-project-listItem .c-button .arrow {
  height: 0.12rem;
}
.c-project-listItem .c-button:hover .arrow {
  height: 0.13rem;
}

/*------------------*/
/* voice card */
/*------------------*/
.c-voice-listItem {
  position: relative;
  width: 400px !important;
  height: 530px !important;
  display: flex;
  align-items: flex-start;
  filter: drop-shadow(6px 6px 10px rgba(0, 130, 158, 0.2));
  margin-left: 40px;
  overflow: hidden;
}
.s .c-voice-listItem {
  width: 60% !important;
  height: auto !important;
  aspect-ratio: 230 / 305;
  margin-left: 20px;
}

.c-voice-listItem a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent, #0000000d 15% 10%, #fff 100%);
  border-radius: 32px; /* 画像の角丸に合わせる */
  pointer-events: none;
}
.s .c-voice-listItem a::before {
  border-radius: 12px;
}
.c-voice-listItem a {
  text-decoration: none;
  width: 100%;
  height: 100%;
  color: #00829e;
  transition: 0.3s ease;
  position: relative; /* オーバーレイを a の上に配置するため */
  display: block;
}
.c-voice-listItem a::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  /* オーバーレイをやや濃くして確実に見えるようにする */
  background-color: rgba(111, 111, 111, 0.4);
  z-index: 5;
  border-radius: 32px;
  pointer-events: none;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.c-voice-listItem:hover a::after,
.c-voice-listItem a:hover::after {
  opacity: 1; /* マスクを表示する */
}

.c-voice-card__content {
  width: 100%;
  padding: 0 32px;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  z-index: 10; /* オーバーレイより前面に表示する */
}
.s .c-voice-card__content {
  padding: 0 10% 0 7%;
}

/* 画像はブロックにして高さを自動に */
.c-voice-listItem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}
.c-voice-card__title {
  font-size: 1.5rem;
  padding-bottom: 10px;
}
.s .c-voice-card__title {
  font-size: clamp(0.94rem, calc(3.91vw + 0rem), 2rem);
  padding-bottom: 5px;
}
.c-voice-card__post {
  font-size: 1rem;
  padding-top: 18px;
  letter-spacing: -0.5px;
}
.s .c-voice-card__post {
  font-size: clamp(0.75rem, calc(2.21vw + 0.09rem), 1.5rem);
  padding-top: 6px;
}
.c-voice-card__name {
  font-size: 1.25rem;
  font-weight: bold;
}
.s .c-voice-card__name {
  font-size: clamp(0.88rem, calc(3vw + 0.1rem), 1.75rem);
}
.c-voice-card__name span {
  font-size: 1rem;
  padding-left: 5px;
}
.s .c-voice-card__name span {
  font-size: clamp(0.88rem, calc(3vw + 0.1rem), 1.75rem);
  padding-left: 2px;
}
.c-voice-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.s .c-voice-card__tags .c-tag {
  font-size: clamp(0.75rem, calc(2.2vw + 0.1rem), 1.63rem);
}

/*------------------*/
/* news list */
/*------------------*/
.c-news-listItem {
  width: 100%;
  list-style: none;
  background: #fff !important;
  box-shadow: 7px 6px 15px rgba(0, 110, 189, 0.1) !important;
  transition: transform 0.3s ease;
}
.c-news-listItem:hover {
  transform: scale(1.05);
}
.c-news-listItem a {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px 60px 30px 48px;
  text-decoration: none;
  color: #00829e;
}
.s .c-news-listItem a {
  gap: 8px;
  padding: 15px 50px 15px 24px;
  flex-direction: column;
  align-items: flex-start;
}
.c-news-listItem__day {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  color: #00829e !important;
  letter-spacing: 0.5px;
}
.s .c-news-listItem__day {
  font-size: clamp(0.88rem, calc(3vw + 0.1rem), 1.75rem);
}
.c-news-listItem__day span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.125rem;
}
.s .c-news-listItem__day span {
  font-size: clamp(0.75rem, calc(2.21vw + 0.09rem), 1.5rem);
}
.c-news-listItem__title {
  font-size: 1rem;
  color: #000;
}
.s .c-news-listItem__title {
  font-size: clamp(1rem, calc(3.92vw + 0.12rem), 2rem);
}
.news-list .arrow {
  right: 37px;
  height: 0.12rem;
}
.s .news-list .arrow {
  right: 18px;
}

/*-----------------------------------*/
/* newsとprograms一覧の各記事の見た目 */
/*-----------------------------------*/
.news-item,
.programs-item {
  position: relative;
  max-width: 378px;
  width: 100%;
  cursor: pointer;
  pointer-events: auto;
  list-style: none;
}

/* プログラムの一覧 */
.programs-item {
  width: calc((100% - 64px) / 3);
}
.s .programs-item {
  width: 100%;
}
.__newicon {
  position: absolute;
  top: -4%;
  left: -5%;
  display: block;
  width: 80px;
}
.s .__newicon {
  top: -4%;
  left: -2%;
  width: 18.4%;
}
.programs-item__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-item__link,
.programs-item__link {
  text-decoration: none;
  color: #000;
  padding: 33px 33px 38px 33px;
  display: block;
}
.programs-item__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 25px;
}
.s .programs-item__link {
  padding: 7.2%;
}
.programs-item__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.s .news-item__img,
.s .programs-item__img {
  height: auto;
}
.news-item__img img,
.programs-item__img img {
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.programs-item__title {
  padding-top: 27px;
  font-size: 1.25rem;
}
.s .programs-item__title {
  font-size: clamp(1rem, calc(3.92vw + 0.12rem), 2rem);
}
.news-item__text,
.programs-item__text {
  padding-top: 9px;
  font-size: 1rem;
}
.s .programs-item__text {
  font-size: clamp(0.88rem, calc(3vw + 0.1rem), 1.75rem);
}
.programs-item__tag {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
}
.s .programs-item__tag .c-tag {
  font-size: clamp(0.81rem, calc(2.59vw + 0.1rem), 1.63rem) !important;
}

.news-item__date {
  font-size: 1.2rem;
  color: #0060a5;
  padding-top: 27px;
}
.news-item__date span {
  font-size: 1.125rem;
  letter-spacing: 1px;
}
.news-item__title {
  font-size: 1.25rem;
  padding-top: 12px;
}
