@charset "utf-8";

/*****************************************
*
* 共通
*
******************************************/

/*------------------------------------------*/
/* ページ送り 一覧ページ
/*------------------------------------------*/

.post-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-pagination li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-width: 1px;
  border-style: solid;
  border-color: white;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  transition: all .5s ease;
}

.post-pagination .number.current a {
  background: white;
  color: var(--color-main);
}

.post-pagination li+li a {
  margin-left: 10px;
}

.post-pagination li.prev a::before,
.post-pagination li.next a::before {
  content: '';
  display: inline-block;
  background-image: url('../../img/common/arrow/arrow_ku_white.svg');
  background-size: 100%;
  background-repeat: no-repeat;
  aspect-ratio: 1/2;
  width: 8px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .5s ease;
}

.post-pagination li.prev a::before {
  transform: translate(-50%, -50%) scaleX(-1);
}

.post-pagination li.double a::before {
  background-image: url('../../img/common/arrow/arrow_ku_double_white.svg');
  background-size: 100%;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
  width: 16px;
}

.post-pagination .number a:hover,
.post-pagination li.prev a:hover,
.post-pagination li.next a:hover {
  text-decoration: none;
  background: var(--color-dark-blue-navback);
  color: white;
}

.post-pagination li.prev a:hover::before,
.post-pagination li.next a:hover::before {
  background-image: url('../../img/common/arrow/arrow_ku_white.svg');
}

.post-pagination li.double a:hover::before {
  background-image: url('../../img/common/arrow/arrow_ku_double_white.svg');
}

@media screen and (min-width: 834px), print {
  .post-pagination li a {
    width: 50px;
    height: 50px;
  }
}

/* リンクオフ */
.post-pagination li.nolink a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}


/*------------------------------------------*/
/* ページ送り
/*------------------------------------------*/

.post-button {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 10px;
}

.post-button-single a,
.post-button .list a,
.post-button .prev a,
.post-button .next a {
  position: relative;
  display: inline-block;
  width: 100%;
  background: white;
  border-style: solid;
  border-width: 1px;
  border-color: white;
  border-radius: 40px;
  text-decoration: none;
  text-align: center;
  color: var(--color-main);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 10px;
  transition: all .3s ease;
}

.post-button .prev a {
  padding-left: 20px;
}

.post-button .next a {
  padding-right: 20px;
}

.post-button-single a {
  max-width: 340px;
}

.post-button .prev a::before,
.post-button .next a::before {
  content: '';
  display: inline-block;
  background-image: url('../../img/common/arrow/arrow.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  aspect-ratio: 1/1;
  width: 10px;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all .5s ease;
}

.post-button .prev a::before {
  transform: translateY(-50%) scaleX(-1);
  left: 10px;
}

.post-button .next a::before {
  right: 10px;
}

.post-button-single a:hover,
.post-button .list a:hover,
.post-button .prev a:hover,
.post-button .next a:hover {
  text-decoration: none;
  color: white;
  background: transparent;
}

.post-button .list a:hover::before,
.post-button .prev a:hover::before,
.post-button .next a:hover::before {
  background-image: url('../../img/common/arrow/arrow_white.svg');
}

@media screen and (min-width: 576px), print {
  .post-button {
    column-gap: 20px;
  }

  .post-button-single a,
  .post-button .list a,
  .post-button .prev a,
  .post-button .next a {
    font-size: 1rem;
  }

  .post-button .prev a::before,
  .post-button .next a::before {
    width: 15px;
  }
}

@media screen and (min-width: 834px), print {
  .post-button {
    column-gap: 40px;
  }

  .post-button-single a,
  .post-button .list a,
  .post-button .prev a,
  .post-button .next a {
    font-size: 1.1rem;
    padding: 20px;
  }

  .post-button .prev a::before,
  .post-button .next a::before {
    width: 20px;
  }

  .post-button .prev a::before {
    left: 20px;
  }

  .post-button .next a::before {
    right: 20px;
  }
}

/* リンクオフ */
.post-button .prev.nolink a,
.post-button .next.nolink a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: white;
  background: transparent;
  border-color: white;
}

.post-button .prev.nolink a::before,
.post-button .next.nolink a::before {
  background-image: url('../../img/common/arrow/arrow_white.svg');
}


/*------------------------------------------*/
/* 一覧
/*------------------------------------------*/

.post-list {
  text-align: left;
  width: 100%;
}

.post-list li a {
  position: relative;
  display: inline-block;
  border-bottom: solid 1px var(--color-main);
  width: 100%;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  padding: 20px 0;
  transition: all .3s ease;
}

.post-list li a::before {
  content: '';
  display: inline-block;
  background: white;
  width: 0;
  height: 1px;
  position: absolute;
  bottom: -1px;
  left: 0;
  transition: all .3s ease;
}

.post-list li a:visited {
  color: var(--color-bright-blue);
}

.post-list li a:hover {
  text-decoration: none;
}

.post-list li a:hover::before {
  width: 100%;
}

.post-list li .box {
  display: grid;
  grid-template-columns: 7em 1fr;
  column-gap: 1em;
  margin-bottom: 15px;
}

@media screen and (min-width: 834px), print {
  .post-list li a {
    font-size: 1.1rem;
  }
}

/* 日付 --------------------------------*/
.post-list li .date {
  font-size: 1rem;
  font-family: var(--font-en);
  font-weight: bold;
}

/* category --------------------------------*/
.post-list li .category {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  width: 120px;
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
}

.post-list li .category.news {
  background: var(--color-news-border);
}

.post-list li .category.schedule {
  background: var(--color-schedule-border);
}

/* タイトル --------------------------------*/
.post-list .title {
  width: 100%;
}


/*------------------------------------------*/
/* ページ 見出し
/*------------------------------------------*/

.post-contents-heading-wrap {
  margin-bottom: 40px;
}

.post-contents-heading {
  position: relative;
  text-align: left;
  width: 100%;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: bold;
  padding-bottom: 20px;
}

.post-contents-heading::before {
  content: '';
  display: inline-block;
  background: var(--color-back);
  border-radius: 4px;
  width: 100%;
  height: 6px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (min-width: 768px), print {
  .post-contents-heading {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 834px), print {
  .post-contents-heading-wrap {
    margin-bottom: 60px;
  }

  .post-contents-heading {
    font-size: 2.2rem;
  }
}

/* 日付 --------------------------------*/
.post-contents-date {
  text-align: right;
  color: var(--color-text);
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 1em;
}