/* ヘッダー */
.mid-header {
  align-items: center;
  padding: 15px 30px 10px !important;
}

.main-menu {
  padding-bottom: 20px;
}

.main-menu ul li a {
  padding: 0px 12px !important;
}

.menu-main {
  display: block !important;
  text-align: center;
}

.lang-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  column-gap: 16px;
  position: relative;
  z-index: 1000;
}

.lang-wrap ul {
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.lang-wrap ul li {
  color: #767678;
  font-size: 16px;
}

.lang-wrap ul li.current-lang {
  color: #000;
  text-decoration: underline;
}

.accessibility-wrap {
  text-align: center;
  margin-top: 16px;
}

.accessibility-button a {
  border: 1px solid #2D1F1F;
  padding: 6px 10px;
  border-radius: 5px;
}

.hidden-pc {
  display: none;
}

@media (max-width: 1200px) {
  .hidden-pc {
    display: block;
  }
}

@media (max-width: 1200px) {
  .hidden-sp {
    display: none;
  }

  .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #C8C8C8;
  }

  .mid-header {
    order: 2;
    flex-grow: unset;
    border-bottom: none;
  }

  .mobile-menu {
    order: 3;
    flex-grow: unset;
    text-align: right;
  }

  .search-wrap {
    order: 1;
    margin-left: 0;
  }

  .search-form-wrap {
    z-index: 1000;
  }
}

@media (max-width: 1441px) {
  .mid-header {
    padding: 15px 10px 10px !important;
  }
}

/* フッター */
@media (max-width: 576px) {
  .site-bottom h3.wp-block-heading {
    margin-bottom: 20px;
  }

  .follow-footer {
    bottom: 130px;
    left: 165px;
  }
}

/* トップへ戻る */
.totop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.totop img {
  width: 95px;
}

@media (max-width: 768px) {
  .totop img {
    width: 60px;
  }
}

/* カテゴリー選択機能 */
.p-calegory ul {
	justify-content: center;
}

@media (min-width: 769px) {
  .parent-category label {
    font-size: 2rem !important;
  }
}

.sub-categories {
  margin-top: 16px;
}
.sub-categories label {
  border-color: #666 !important;
}
.sub-categories label:hover {
  background-color: #666 !important;
}
.sub-categories input:checked+label {
  background-color: #666 !important;
}

@media (max-width: 540px) {
  .parent-categories .parent-category,
  .sub-categories .sub-category {
    display: inline-block !important;
  }
}

/* 2025をつくる人たちの一覧ページ記事のカテゴリー */
.support-category-wrap {
  display: flex;
  align-items: center;
  gap: 4px 10px;
  flex-wrap: wrap;
}

.support-category-wrap .rst-cate-new {
  display: inline-block !important;
}

@media screen and (max-width: 768px) {
  .support-category-wrap .rst-cate-new {
    font-size: 10px;
    padding: 3.5px 3px;
  }
}

/* 関連サイトページ */
.partners-heading {
  width: 100%;
  text-align: center;
}

.partners-heading {
  font-size: inherit;
}

.partners-heading span {
  font-size: 24px;
  position: relative;
}

.partners-heading span::before,
.partners-heading span::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 3px;
  background-color: #000;
}

.partners-heading span::before {
  left: -40px;
}

.partners-heading span::after {
  right: -40px;
}

@media (min-width: 769px) {
  .partners-heading span {
    font-size: 32px;
  }
}

.list-partners {
  display: flex;
  flex-direction: column;
  row-gap: 100px;
}

/* 2025をつくる人たち */
@media (max-width: 576px) {
  .p-supporter .heading p br {
    display: block !important;
  }
}

/* 選手を知ろう */
.click-single-ath {
    text-align: center;
}

.click-single-ath a {
    text-align: center;
    border-radius: 40px;
    border: 1px solid var(--color-border);
    height: 70px;
    line-height: 68px;
    padding: 0 110px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-a);
    font-weight: 500;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    position: relative;
}

.click-single-ath a:hover, .click-single-ath a:focus-visible {
    background-color: var(--color-black);
    color: var(--color-bg);
}

.click-single-ath a:before {
  content: "\f105";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 28px;
  color: rgba(149, 150, 150, 1);
  font-size: 24px;
  font-family: 'Line Awesome Free';
  font-weight: bold;
}

.athlete-name, .athlete-event {
  text-align: center;
  margin-top: 8px;
  font-size: 1.8rem;
  font-weight: bold;
}

.athlete-event {
  text-align: center;
  margin-top: 4px;
  font-size: 1.6rem;
  font-weight: bold;
}

@media (max-width: 540px) {
  .click-single-ath a {
    height: 50px !important;
    padding: 0 64px !important;
    margin-top: 12px !important;
    border-radius: 20px !important;
    line-height: 50px !important;
  }

  .thumb-athlete {
    margin: 0 10px;
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .athlete-name {
    font-size: 14px !important;
  }

  .athlete-event {
    font-size: 12px !important;
  }

  .songTxt,
  .addDesc {
    font-size: 100% !important;
  }
}

/* みんなで楽しもう */
.p-contents.on .button-more::after {
  transform: translateY(-50%) rotate(-90deg);
}

@media screen and (max-width: 480px) {
  .hero-for-kids__banner p span.is-pc {
    display: block !important;
  }
}



/* 目次 */
/* #toc_container {
  padding: 25px 45px;
  background-color: transparent;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  margin-bottom: 3em;
}

.toc_list a {
  font-size: 16px;
}

.toc_list li a span {
  margin-right: 8px;
}

#toc_container p.toc_title+ul.toc_list {
  padding-left: 1em;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

#toc_container.no_bullets ul li {
  list-style: decimal;
  padding-left: 0.5em;
}

@media (max-width: 768px) {
  #toc_container {
    padding: 25px 16px;
  }

  .toc_list a {
    font-size: 12px;
  }
} */


/* シェアするボタンの調整 */
/* .p-social ul {
    margin-bottom: 32px !important;
}

@media (max-width: 820px) {
  .p-social ul {
      margin-bottom: 24px !important;
  }
} */

/* 記事サムネイル */
/* .athlete-thumb {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 15px;
} */

/* ギャラリー */
/* .athlete-thumb .image-wrapper,
.content-signal .image-wrapper {
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.gallery-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-icon i {
  color: white;
  font-size: 18px;
}

.gallery-icon:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.view-all-images-btn {
  text-align: center;
  margin: 15px 0 30px;
}

.view-all-images-btn button {
  background: #333;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.view-all-images-btn button:hover {
  opacity: 0.7;
}

.view-all-images-btn button i {
  font-size: 18px;
}

.gallery-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.gallery-popup.active {
  opacity: 1;
  visibility: visible;
}

.gallery-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.gallery-popup-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.gallery-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.3s ease;
}

.gallery-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gallery-close-btn i {
  color: white;
  font-size: 24px;
}

.gallery-swiper {
  width: 100%;
  height: 80%;
  max-width: calc(100% - 120px);
}

.gallery-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-swiper .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-popup-content .swiper-button-next,
.gallery-popup-content .swiper-button-prev {
  color: #000;
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: opacity 300ms ease-out;
}

.gallery-popup-content .swiper-button-next:after,
.gallery-popup-content .swiper-button-prev:after {
  font-size: 20px;
}

.gallery-popup-content .swiper-button-next:hover,
.gallery-popup-content .swiper-button-prev:hover {
  opacity: 0.7;
}

.gallery-popup-content .swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 70px;
}

.gallery-popup-content .swiper-pagination-bullet {
  background: white;
  opacity: 0.8;
}

.gallery-popup-content .swiper-pagination-bullet-active {
  opacity: 1;
  background: #444;
}

.gallery-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
  border-radius: 20px;
}

@media screen and (max-width: 768px) {
  .gallery-popup-content {
    padding: 0 10px;
  }

  .gallery-swiper {
    max-width: 100%;
  }

  .gallery-swiper .swiper-slide {
    margin-top: -30px;
  }

  .gallery-close-btn {
    width: 40px;
    height: 40px;
    top: 15px;
    right: 15px;
  }

  .gallery-close-btn i {
    font-size: 20px;
  }

  .gallery-popup-content .swiper-button-next,
  .gallery-popup-content .swiper-button-prev {
    top: auto;
    bottom: 120px;
  }

  .gallery-popup-content .swiper-button-next {
    right: 30px;
  }

  .gallery-popup-content .swiper-button-prev {
    left: 30px;
  }

  .gallery-popup-content .swiper-button-next:after,
  .gallery-popup-content .swiper-button-prev:after {
    font-size: 14px;
  }

  .view-all-images-btn button {
    font-size: 14px;
    padding: 10px 20px;
  }

  .gallery-icon {
    width: 35px;
    height: 35px;
    bottom: 8px;
    right: 8px;
  }

  .gallery-icon i {
    font-size: 16px;
  }
} */
