/* ↓スライドショー */
.top-slide .swiper-wrapper {
  margin-top: 30px;
}

.top-slide .swiper-slide {
  height: auto;
}

.top-slide .swiper-slide a {
  display: flex;
  border-radius: 15px;
  box-shadow: 0 3px 5px #000000a1;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: 0.2s;
  width: 100%;
}

.top-slide .swiper-slide a:hover {
  opacity: 0.65;
}

.top-slide .slide-image {
  background-color: #000;
  overflow: hidden;
  position: relative;
  z-index: -2;
}

.top-slide img {
  display: block;
  max-height: 500px;
  object-fit: scale-down;
}

.top-slide img.fg-img {
  margin: auto;
}

.top-slide img.bk-img {
  filter: blur(10px);
  object-fit: cover;
  opacity: 0.8;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.top-slide .slide-text {
  align-items: center;
  background-color: #141414;
  color: #fff;
  display: flex;
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 15px 30px;
}

.top-slide .progressbar-outer {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.top-slide .progress-bar {
  background-color: #ddd;
  height: 2px;
  position: relative;
  transition: transform 0.4s;
  width: 45px;
}

.top-slide .progress-bar.active::after {
  animation: progress_animation 3.2s forwards linear;
  background-color: var(--vk-color-primary);
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  top: 0;
  width: 0;
}

.top-slide .progress-bar.active {
  transform: translateY(-3px);
}

.top-slide .progress-bar.completed {
  background-color: var(--vk-color-primary);
}

@keyframes progress_animation {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.top-slide .slide-button-prev,
.top-slide .slide-button-next {
  background-color: #000;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  opacity: 0.6;
  padding: 7px 10px;
  position: absolute;
  top: 44%;
  transition: 0.2s;
  transition: 0.2s;
  z-index: 10;
}

.top-slide .slide-button-prev:hover,
.top-slide .slide-button-next:hover {
  background-color: #fff;
  color: #333;
  opacity: 1;
}

.top-slide .slide-button-prev i,
.top-slide .slide-button-next i {
  margin-right: 0;
}

.top-slide .slide-button-prev {
  left: 8%;
}

.top-slide .slide-button-next {
  right: 8%;
}

@media(min-width:576px) {
  .top-slide .slide-button-next {
    right: calc(50% - 250px);
  }

  .top-slide .slide-button-prev {
    left: calc(50% - 250px);
  }
}

@media(min-width:768px) {
  .top-slide .slide-button-next {
    right: calc(50% - 300px);
  }

  .top-slide .slide-button-prev {
    left: calc(50% - 300px);
  }
}

@media(min-width:992px) {
  .top-slide .slide-button-next {
    right: calc(50% - 400px);
  }

  .top-slide .slide-button-prev {
    left: calc(50% - 400px);
  }
}

@media(min-width:1200px) {
  .top-slide .slide-button-next {
    right: calc(50% - 570px);
  }

  .top-slide .slide-button-prev {
    left: calc(50% - 570px);
  }
}
/* ↑スライドショー */

/* ↓トップページ用 */
/* →ナビゲーション */
.top-infolist {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 18px 10px;
  margin: 20px -6px 40px;
  overflow-x: auto;
  padding: 0 6px;
}

.top-infolist .data-item a {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: 0.2s ease-in-out;
}

.top-infolist .image-point {
  align-items: flex-start;
  justify-content: space-between;
  display: flex;
  border-radius: 15px;
  flex-direction: column;
  gap: 15px;
  padding: 16px;
  height: 135px;
  box-shadow: 3px 3px 6px #d5d5d5;
}

.top-infolist .data-item.item-a .image-point {
  background: linear-gradient(125deg, #22d3ee, #5798f2 50%, #8b5cf6);
}

.top-infolist .data-item.item-b .image-point {
  background: linear-gradient(125deg, #00cf29, #24c9a7 50%, #0086e7);
}

.top-infolist .data-item.item-c .image-point {
  background: linear-gradient(125deg, #bec7ff, #fda8f8 50%, #ff94bb);
}

.top-infolist .data-item.item-d .image-point {
  background: linear-gradient(125deg, #6aa0ad, #21269b 50%, #5c0095);
}

.top-infolist .data-item.item-e .image-point {
  background: linear-gradient(125deg, #ff0000, #a9b314 50%, #00b907);
}

.top-infolist .data-item.item-f .image-point {
  background: linear-gradient(125deg, #07b8ff, #ff841b 50%, #34d2e5);
}

.top-infolist .image-point .list-toptext {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-weight: 700;
  font-size: 1.15rem;
  gap: 10px;
}

.top-infolist .image-point .list-toptext i {
  margin: 0;
  transform: rotate(-45deg);
  font-size: 1.3rem;
  transition: 0.2s ease-in-out;
}

.top-infolist .image-point .list-bottomtext {
  background-color: #fff;
  color: #0000006e;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.91rem;
  font-weight: 500;
}

.top-infolist .text-point {
  color: #797979;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0 8px;
  line-height: 1.6;
  transition: 0.2s;
}

.top-infolist .data-item a:hover {
  filter: brightness(1.15);
}

.top-infolist .data-item a:hover .text-point {
  color: #333;
}

.top-infolist .data-item a:hover .list-toptext i {
  transform: translate(4px, -4px) rotate(-45deg);
}

@media(max-width:991px) {
  .top-infolist {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .top-infolist .image-point {
    height: 130px;
  }
}

@media(max-width:575px) {
  .top-infolist {
    grid-template-columns: 160px 160px 160px;
  }
}
/* ←ナビゲーション */

/* →見出し */
.top-infotitle {
  border-bottom: solid 2px #95233b;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 8px;
}

.top-infotitle i {
  color: #95233b;
  margin-left: 9px;
}
/* ←見出し */

/* →最新情報 */
.new-post-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -7px 40px -7px;
}

.new-post-list .post:nth-child(1),
.new-post-list .post:nth-child(2),
.new-post-list .post:nth-child(3) {
  width: calc(100% / 3);
}

.new-post-list .post:nth-child(4),
.new-post-list .post:nth-child(5),
.new-post-list .post:nth-child(6),
.new-post-list .post:nth-child(7) {
  width: calc(100% / 4);
}

.new-post-list .post {
  padding: 10px 7px;
}

.new-post-list .post a {
  border-radius: 5px;
  box-shadow: 0 1px 10px #00000021;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: 0.2s;
}

.new-post-list .post a:hover {
  transform: scale(1.02);
  box-shadow: 0 1px 10px #00000077;
  opacity: 0.85;
}

.new-post-list .post-info {
  color: #333;
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 6px;
  line-height: 1.55;
  padding: 10px 15px 15px 15px;
  width: 100%;
}

.new-post-list .info-data-item {
  display: flex;
  justify-content: space-between;
}

.new-post-list .p-term {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  width: 40%;
}

.new-post-list .p-term.event {
  background-color: #b56b00;
}

.new-post-list .p-term.sightseeing {
  background-color: #00874d;
}

.new-post-list .p-term.motto-kaminoyama {
  background-color: #0074a9;
}

.new-post-list .p-term.notice {
  background-color: #b2c800;
}

.new-post-list .p-term.shaberanight {
  background-color: #6c00c1;
}

.new-post-list .post-info .p-title {
  display: flex;
  height: 100%;
}

.new-post-list .post-info .p-title span {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.new-post-list .post-info .p-date {
  color: #989898;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: right;
}

.new-post-list .post .post-image {
  overflow: hidden;
}

.new-post-list .post-image img {
  aspect-ratio: 16/9;
  border-radius: 5px 5px 0 0;
  display: block;
  object-fit: cover;
  transition: 0.2s ease-in-out;
  width: 100%;
}

.new-post-list .post a:hover img {
  filter: brightness(1.2);
  transform: scale(1.2) rotate(-5deg);
}

@media(max-width: 767px) {
  .new-post-list {
    border-radius: 5px;
    box-shadow: 0 0 10px 0 #00000021;
    margin: 0 0 40px 0;
    padding: 15px;
  }

  .new-post-list .post {
    padding: 10px 0;
  }

  .new-post-list .post a {
    border-radius: 0;
    box-shadow: none;
    height: auto;
    padding: 0;
  }

  .new-post-list .post a:hover {
    box-shadow: none;
    transform: unset;
  }

  .new-post-list .post:nth-child(-n+3) {
    padding: 7px 0;
    width: 100%;
  }

  .new-post-list .post:first-child {
    padding: 0 0 7px;
  }

  .new-post-list .post:nth-child(-n+3) a {
    border-radius: 5px;
    position: relative;
  }

  .new-post-list .post:nth-child(-n+3) .post-image {
    position: relative;
  }

  .new-post-list .post .post-image {
    border-radius: 5px;
  }

  .new-post-list .post a:hover img {
    filter: unset;
    transform: unset;
  }

  .new-post-list .post:nth-child(-n+3) .post-image::before {
    background: linear-gradient(180deg, transparent, #00000033 33%, #000000a6 73%);
    border-radius: 5px;
    bottom: 0;
    content: "";
    height: 50%;
    position: absolute;
    width: 100%;
  }

  .new-post-list .post:nth-child(-n+3) .post-info {
    bottom: 0;
    color: #fff;
    height: auto;
    position: absolute;
  }

  .new-post-list .post:nth-child(-n+3) .post-info .p-date {
    color: #fff;
  }

  .new-post-list .post:nth-child(n+4):nth-child(-n+6) {
    border-bottom: 1px solid #e6e6e6;
    width: 100%;
  }

  .new-post-list .post:nth-child(7) {
    padding-bottom: 0;
    width: 100%;
  }
  .new-post-list .post:nth-child(n+4):nth-child(-n+7) a {
    align-items: center;
    flex-direction: row-reverse;
    gap: 12px;
  }

  .new-post-list .post:nth-child(n+4):nth-child(-n+7) .post-image {
    width: 35%;
  }

  .new-post-list .post .post-image img {
    aspect-ratio: 16 / 10;
  }

  .new-post-list .post:nth-child(n+4):nth-child(-n+7) .post-info {
    padding: 0;
    width: 65%;
  }
}
/* ←最新情報 */

/* →お知らせ */
.post-link {
  font-size: 0.91rem;
  margin-top: 15px;
  text-align: right;
}

.post-link a:hover {
  text-decoration: underline;
}

.notice-post-list {
  margin-bottom: 40px;
}

.notice-post-list .post-item {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr;
}

.notice-post-list .post-icon {
  text-align: center;
  width: 10%;
}

.notice-post-list .post-icon i {
  color: var(--vk-color-primary);
  font-size: 1.25rem;
  margin: 0;
  transition: 0.2s;
}

.notice-post-list article.post a:hover .post-icon i {
  transform: translate(5px);
}

.notice-post-list article.post {
  border-radius: 5px;
  box-shadow: 0 0 10px 0 #00000021;
  display: flex;
  overflow: hidden;
}

.notice-post-list article.post a {
  align-items: center;
  color: #333;
  display: flex;
  flex: auto;
  padding: 14px 16px;
  transition: 0.2s;
}

.notice-post-list article.post a:hover {
  background-color: #ededed;
}

.notice-post-list .p-title {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  font-size: 0.91rem;
  font-weight: 500;
  -webkit-line-clamp: 1;
  line-height: 1.55;
  margin-top: 3px;
  overflow: hidden;
}

.notice-post-list .post-info {
  display: flex;
  flex-direction: column;
  margin: auto;
  text-align: left;
  width: 90%;
}

.notice-post-list .p-date {
  color: #989898;
  font-size: 0.85rem;
}

@media(max-width:767px) {
  .notice-post-list .post-item {
    gap: 12px;
    grid-template-columns: 1fr;
  }
}
/* ←お知らせ */

/* →記事情報 */
.top-articleinfotext {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 40px;
}

.top-articleinfotext a {
  color: #333;
  transition: 0.2s;
}

.top-articleinfotext a:hover {
  color: #333;
  opacity: 0.5;
  text-decoration: underline;
}

.news-post-list {
  margin: 0 -6px 40px 0;
}

.news-post-list .post {
  padding: 10px 6px;
}

.news-post-list .post a {
  border-radius: 5px;
  box-shadow: 0 1px 6px #00000021;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: 0.2s;
}

.news-post-list .post a:hover {
  box-shadow: 0 1px 6px #00000077;
  opacity: 0.85;
}

.news-post-list .post-info {
  -webkit-box-orient: vertical;
  color: #333;
  display: -webkit-box;
  font-size: 0.95rem;
  font-weight: 600;
  -webkit-line-clamp: 2;
  line-height: 1.55;
  margin: 10px 15px;
  overflow: hidden;
}

.news-post-list .post-image {
  overflow: hidden;
}

.news-post-list .post-image img {
  aspect-ratio: 16 / 9;
  border-radius: 5px 5px 0 0;
  display: block;
  object-fit: cover;
  transition: 0.2s ease-in-out;
  width: 100%;
}

.news-post-list .post a:hover .post-image img {
  transform: scale(1.1);
  filter: brightness(1.15);
}

.news-post-list .swiper-button-prev,
.news-post-list .swiper-button-next {
  color: #333;
  opacity: 0.6;
  transition: 0.2s;
  top: 43%;
}

.news-post-list .swiper-button-prev {
  margin-left: 15px;
}

.news-post-list .swiper-button-next {
  margin-right: 15px;
}

.news-post-list .swiper-button-prev::after,
.news-post-list .swiper-button-next::after {
  background-color: #fff;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 600;
  padding: 10px 15px;
}

.news-post-list .swiper-button-prev:hover,
.news-post-list .swiper-button-next:hover {
  opacity: 1;
}

.news-post-list .postlist-pagination {
  margin-top: 15px;
  text-align: center;
}

.news-post-list .postlist-pagination .swiper-pagination-bullet {
  height: 12px;
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 7px);
  opacity: 0.1;
  width: 12px;
}

.news-post-list .postlist-pagination .swiper-pagination-bullet-active {
  background: #144881;
  opacity: 1;
}
/* ←記事情報 */

/* →手動設定 記事情報 */
.top-articleinfo-image {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.top-articleinfo-image .imagelist {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 10px #00000021;
  flex: 1;
  transition: 0.2s;
}

.top-articleinfo-image .imagelist a {
  display: flex;
  flex-direction: column;
}

.top-articleinfo-image .imagelist:hover {
  opacity: 0.5;
}

.top-articleinfo-image .imagelist img {
  aspect-ratio: 16 / 9;
  border-radius: 5px 5px 0 0;
  display: block;
  object-fit: cover;
  width: 100%;
}

.top-articleinfo-image .post-info {
  color: #333;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  margin: 9px 13px;
}

@media(max-width: 991px) {
  .top-articleinfo-image .imagelist {
    flex: none;
    width: calc(50% - 7px);
  }
}
/* ←手動設定 記事情報 */

/* →おすすめ情報 */
.text-post-list {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  width: 100%;
}

.text-post-list .post-icon {
  margin-right: 4px;
}

.text-post-list .post-icon i {
  color: var(--vk-color-primary);
  font-size: 1.2rem;
}

.text-post-list article.post {
  border-bottom: 2px solid #ededed;
  display: flex;
  padding-bottom: 7px;
}

.text-post-list article.post a {
  align-items: center;
  color: #333;
  display: flex;
  transition: 0.2s;
}

.text-post-list article.post a:hover {
  opacity: 0.5;
}

.text-post-list .p-title {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  font-size: 0.92rem;
  font-weight: 500;
  -webkit-line-clamp: 1;
  line-height: 1.6;
  overflow: hidden;
}

.text-post-list .date-text {
  color: #989898;
  font-size: 0.85rem;
  margin-bottom: 3px;
}

@media(max-width:991px) {
  .text-post-list {
    grid-template-columns: 1fr 1fr;
  }

  .text-post-list .p-title {
    -webkit-line-clamp: 2;
  }
}
/* ←おすすめ情報 */

/* →ランキング */
.home-ranking {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 10px #00000021;
  column-gap: 20px;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, auto);
  margin-bottom: 40px;
  padding: 20px 17px;
  transition: 0.2s;
}

@media(max-width:575px) {
  .home-ranking {
    grid-auto-flow: unset;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

.home-ranking .ranking-number {
  align-items: center;
  background: #f4f4f4;
  border-radius: 2px;
  display: flex;
  font-size: 0.88rem;
  font-weight: 600;
  justify-content: center;
  margin-right: 11px;
  width: 7%;
}

.home-ranking .post:nth-child(1) .ranking-number {
  background: #ffaa1e;
  color: #fff;
}

.home-ranking .post:nth-child(2) .ranking-number {
  background: #8a9dce;
  color: #fff;
}

.home-ranking .post:nth-child(3) .ranking-number {
  background: #e47a4d;
  color: #fff;
}

.home-ranking .post-image {
  margin-left: 8px;
  overflow: hidden;
  position: relative;
  width: 20%;
}

.home-ranking .post-image img {
  aspect-ratio: 3 / 2;
  border-radius: 2px;
  display: block;
  object-fit: cover;
  transition: 0.2s;
  width: 100%;
}

.home-ranking article.post {
  border-bottom: 1px solid #ededed;
}

.home-ranking article.post:nth-child(5),
.home-ranking article.post:nth-child(10) {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-ranking article.post a {
  color: #333;
  display: flex;
  padding: 10px;
  transition: 0.2s;
}

.home-ranking article.post a:hover {
  background-color: #e7e7e7;
}

.home-ranking article.post a:hover .post-image img {
  transform: scale(1.2);
}

@media(max-width:575px) {
  .home-ranking article.post:nth-child(5) {
    border-bottom: 1px solid #ededed;
  }

  .home-ranking article.post a {
    padding: 10px 5px;
  }

  .home-ranking article.post:first-child a {
    padding-top: 0;
  }

  .home-ranking article.post:last-child a {
    padding-bottom: 0;
  }
}

.home-ranking .post-info {
  align-items: center;
  display: flex;
  width: 73%;
}

.home-ranking .p-title {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  font-size: 0.95rem;
  font-weight: 500;
  -webkit-line-clamp: 2;
  line-height: 1.55;
  overflow: hidden;
}

@media(max-width:991px) {
  .home-ranking .post-image {
    width: 30%;
  }
  .home-ranking .post-info {
    width: 63%;
  }
}
/* ←ランキング */