/* 
    Theme Name:国スポ・障スポ実行委員会門川町事務局
*/

/* フォント読み込み（woff2優先、ttfはフォールバック） */
@font-face{
  font-family: 'Archivo Black';
  src: url('fonts/ArchivoBlack-Regular.woff2') format('woff2'),
       url('fonts/ArchivoBlack-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'ZenMaruGothic';
  src: url('fonts/ZenMaruGothic-Light.woff2') format('woff2'),
       url('fonts/ZenMaruGothic-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'ZenMaruGothic';
  src: url('fonts/ZenMaruGothic-Regular.woff2') format('woff2'),
       url('fonts/ZenMaruGothic-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face{
  font-family: 'ZenMaruGothic';
  src: url('fonts/ZenMaruGothic-Medium.woff2') format('woff2'),
       url('fonts/ZenMaruGothic-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'MPLUSRounded1c';
  src: url('fonts/MPLUSRounded1c-ExtraBold.woff2') format('woff2'),
       url('fonts/MPLUSRounded1c-ExtraBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


:root {
  --easing: cubic-bezier(.2, 1, .2, 1);
  --transition: .8s var(--easing);
  --color-black: #333;
  --color-gray: #666;
  --color-bk-gray: #f5f3f2;
  --color-border: #ccc;
  --color-yellow: #ffe53b;
  --color-cream: #ffee80;
  --color-green: #22b573;
  --color-blue: #0071bc;
  --color-red: #ed1c24;
  --font-normal:"ZenMaruGothic","Segoe UI","Yu Gothic UI","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
  --font-title: "MPLUSRounded1c","Segoe UI","Yu Gothic UI","Hiragino Kaku Gothic ProN","Meiryo",sans-serif;
  --font-accent: "Archivo Black", sans-serif;
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  -webkit-text-stroke: 0.02px transparent;
}

html {
  font-size: 100%;
}

body{
  color: var(--color-black);
  letter-spacing: 2px;
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1;
  font-family: var(--font-normal);
  font-weight: 500;
}

img{
  max-width: 100%;
}

.sp{
  display: none !important;
}

.enTitle{
  font-family: var(--font-accent);
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision; 
}

.font-s{
  font-weight: 300;
}
.font-b{
  font-family: var(--font-title);
  font-weight: 700;
}
.font-ex{
  font-family: var(--font-title);
  font-weight: 800;
}

.container{
  min-width: 1000px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h3.title{
  color: var(--color-yellow);
  text-align: center;
  font-size: 5rem;
  margin-bottom: 4rem;
}

h3.title span{
  display: block;
  font-family: var(--font-normal);
  font-size: 1.4rem;
  color: var(--color-black);
}

section{
  margin-top: 10rem;
}

.more-btn{
  width: fit-content;
  margin: 0 auto;
}

.more-btn a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(90deg, #1a1a1a 0%, #4d4d4d 100%);
  text-decoration: none;
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
  border-radius: 100px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.more-btn a p{
  min-width: 10rem;
  text-align: center;
  letter-spacing: 0.2rem;
  color: #fff;
}

.more-btn a i{
  color: #fff;
}

.more-btn a:hover {
  background: linear-gradient(90deg, #333 0%, #666 100%);
}

.more-btn .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #fff;
  border-radius: 50%;
  position: relative;
}

.more-btn .arrow::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(45deg);
  position: relative;
  right: 2px;
}



header {
  background-color: #fff;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.hd-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#hd-logo {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  display: block;
  max-width: 500px;
  padding: 0 1rem;
}

#hd-logo.visible {
  opacity: 1;
  pointer-events: auto;
}

.header_inner {
  display: flex;
  align-items: center;
  justify-content: right;
  height: inherit;
  position: relative;
}

.header_nav {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 26rem;
  max-width: 30rem;
  height: 100vh;
  transform: translateX(100%);
  background-color: var(--color-yellow);
  transition: ease .4s;
}

.header_nav ul{
  margin-top: 4.4rem;
}

.nav-items {
  padding-top: 250px;
  padding-bottom: 200px;
}

.nav_items menu{
  padding-top: 4rem;
}

.menu_item a {
  color: var(--color-black);
  width: 100%;
  display: block;
  font-size: 1.2rem;
  padding: 1.2rem 1rem;
}

.menu_item a:hover{
  background-color: #ffc544;
}

.menu_half{
  display: flex;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.menu_half .menu_item{
  width: 50%;
}
.menu_half .menu_item a{
  font-size: 1.1rem;
  font-weight: 400;
}

.sizeBtn_wrap{
  margin-right: 4rem;
}
.sizeBtn{
  padding: 0.4rem;
  border: 1px solid var(--color-black);
  border-radius: 2rem;
  transition: 0.6s;
}

.sizeBtn:not(.is_active):hover{
  background-color: var(--color-yellow);
  opacity: 0.6;
}

.sizeBtn.is_active{
  background-color: var(--color-yellow);
}

.search_box {
  display: flex;
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 1rem;
}

.search_box input {
  flex: 1;
  border: none;
  color: #333;
  outline: none;
  padding: 6px 10px;
  caret-color: #333;
}

.search_box input::placeholder {
  color: #cccccc;
}

.search_box button {
  border: none;
  background-color: #333;
  color: #fff;
  padding: 12px;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
  margin-right: -1px;
}

/* ハンバーガーボタン全体 */
.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--color-yellow);
  cursor: pointer;
  padding: 1rem 0.8rem;
  z-index: 10000;
}

.menuBtn {
  position: relative;
  width: 30px;
  height: 22px;
}

.menuBtn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
  transform-origin: center;
}

.menuBtn span:nth-child(1) {
  top: 0;
}
.menuBtn span:nth-child(2) {
  top: 9px;
}
.menuBtn span:nth-child(3) {
  top: 18px;
}

.hamburger .enTitle {
  margin-top: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: #333;
}

.header_nav.active {
  transform: translateX(0);
  overflow-y: auto;
}

.hamburger.active:hover{
  background-color: #fff;
}

.hamburger.active .menuBtn span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.hamburger.active .menuBtn span:nth-child(2) {
  opacity: 0;
}

.hamburger.active .menuBtn span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

.foot{
  margin-top: 8rem;
}

.ft_link{
  padding: 8rem 0;
  background-image: image-set(
    url("/img/foot.webp") type("image/webp"),
    url("/img/foot.png") type("image/png")
  );
  background-repeat: no-repeat;
  background-position: top;
}

.ft_link ul{
  display: flex;
  justify-content: center;
}

.ft_link ul li{
  padding: 0 1rem;
  position: relative;
}

.ft_link ul li::after{
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: var(--color-black);
  top: 0;
  right: 0;
}
.ft_link ul li:last-child:after{
  content: none;
}

.h-under a{
  padding: 0.4rem;
  background: linear-gradient(currentcolor, currentcolor) 100% 100% / 0 1px no-repeat;
	transition: background-size .4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.h-under a:hover{
  background-position: 0 100%;
	background-size: 100% 1px;
}

.ft_info{
  background-color: var(--color-cream);
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: center;
  font-weight: normal;
  line-height: 1.4;
}

.ft_info div{
  width: 40%;
  min-width: 370px;
  max-width: 400px;
  margin: 0 1rem;
}

.ft_title{
  padding: 2rem 0 1rem;
  font-size: 1.4rem;
  line-height: 1.6;
}
.ft_info .tel{
  color: #22b573;
  font-size: 2rem;
  display: block;
  margin: 0.6rem 0;
  padding: 0.4rem 0;
  line-height: 1;
}
.ft_info .tel img{
  width: 1.4rem;
  margin-right: 0.4rem;
}
.ft_info .copy{
  padding: 4rem 0 2rem;
  font-size: 0.8rem;
  letter-spacing: 1px;
}
main{
  padding-top: 4rem;
}

/* トップページ */
.mv{
  position: relative;
}

.mv img{
  object-fit: contain;
  width: 100%;
}

.mv-title{
  position: absolute;
  max-width: 1100px;
  width: 90%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.fv-under{
  position: absolute;
  width: 100%;
  right: 0;
  bottom: 0;
  transform: translateY(30%);
  z-index: 100;
}

[class*=swiper]:focus {
  outline: none;
}

.slide-media,
.thumb-media {
  position: relative;
  overflow: hidden;
}
.slide-media img,
.thumb-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}


.swiper-button-prev,
.swiper-button-next {
  display: grid;
  place-content: center;
  width: 6.4rem;
  height: 6.4rem;
  cursor: pointer;
  -webkit-transition: var(--transition);
  transition: var(--transition);
}
.swiper-button-prev::before,
.swiper-button-next::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  border-radius: 50%;
}
.swiper-button-prev::after, .swiper-button-next::after {
  width: 1.2rem;
  height: 1.2rem;
  content: "";
  border: solid var(--color-gray);
  border-width: 3px 3px 0 0;
}
.swiper-button-prev::after {
  margin-left: 0.4rem;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.swiper-button-next::after {
  margin-right: 0.4rem;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.swiper-button-disabled {
  pointer-events: none;
  opacity: 0;
}

#fv .l-inner {
  padding-bottom: 0;
}
#fv .swiper-fade .swiper-slide {
  -webkit-transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, transform !important;
  transition-property: opacity, transform, -webkit-transform !important;
  pointer-events: none;
}
#fv .swiper-fade .swiper-slide-active {
  pointer-events: auto;
}
#fv .swiper-pagination {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 3.2rem;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  margin: auto;
}
#fv .swiper-pagination-bullet {
  display: block;
  width: 3px;
  height: 4rem;
  cursor: pointer;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.4);
}
#fv .swiper-pagination-bullet:not(:first-child) {
  margin-top: 0.8rem;
}
#fv .swiper-pagination-bullet-active {
  background-color: var(--color-theme);
}
#fv .slide-media {
  height: 800px;
}
#fv .slide-media img {
  -webkit-transition: 5s 1s ease-out;
  transition: 5s 1s ease-out;
}
#fv .swiper-slide[class*=-active] .slide-media img {
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
#fv .swiper-slide[class*=-active] .slide-title {
  -webkit-animation: mv01-fadeIn 2s 0.5s var(--easing) both;
          animation: mv01-fadeIn 2s 0.5s var(--easing) both;
}

@-webkit-keyframes mv01-fadeIn {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 0;
    -webkit-filter: blur(300px);
            filter: blur(300px);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
    -webkit-filter: blur(0);
            filter: blur(0);
  }
}

@keyframes mv01-fadeIn {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 0;
    -webkit-filter: blur(300px);
            filter: blur(300px);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
    -webkit-filter: blur(0);
            filter: blur(0);
  }
}

.top-nav{
  padding: 6rem 0;
  margin: 0 auto;
  position: relative;
  z-index: 100;
}
.top-nav ul{
  display: flex;
  justify-content: center;
}
.top-nav a{
  padding: 0.2rem;
  font-size: 1.2rem;
}
.top-nav li{
  padding: 0 0.6rem;
  position: relative;
}
.top-nav li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 5px;
  height: 50px;
  background-image: radial-gradient(circle, #fbb03b 2px, transparent 1px);
  background-size: 4px 8px;
  background-repeat: repeat-y;
}
.top-nav li:last-child::after{
  content: none;
}

.count_container{
  max-width: 800px;
  padding: 4rem 2rem 2rem;
  margin: 2rem auto;
  background-image: image-set(
    url("/img/top/count-bk.webp") type("image/webp"),
    url("/img/top/count-bk.png") type("image/png")
  );
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.held{
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem 0 1rem;
  background-image: image-set(
    url("/img/top/count-gray.webp") type("image/webp"),
    url("/img/top/count-gray.png") type("image/png")
  );
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  text-align: center;
  position: relative;
}

.held-title{
  position: absolute;
  width: 100%;
  top: 0;
  left: 50%;
  transform: translate(-50%, -90%);
  background-image: image-set(
    url(/img/top/count-text.webp) type("image/webp"),
    url(/img/top/count_text.png) type("image/png")
  );
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  text-align: center;
  font-size: 2.4rem;
  color: #fff;
  padding: 3rem 0 2rem;
}

.held-date{
  display: flex;
  justify-content: center;
  align-items: center;
}

.held-date p{
  font-size: 1.4rem;
  display: flex;
  align-items: baseline;
  margin: 0 0.6rem;
}

.held-date b{
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}

.held-date span{
  background-color: var(--color-black);
  color: #fff;
  border-radius: 6px;
  font-weight: normal;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0;
  height: fit-content;
  padding: 0.1rem 0.3rem;
  margin: 0.2rem;
}

.held-date img{
  width: 2.4rem;
}

.held-limit{
  position: relative;
  font-size: 2rem;
}

.held-limit::before{
  position: absolute;
  content: image-set(
    url(/img/top/count-chara01.webp) type("image/webp"),
    url(/img/top/count-chara01.png) type("image/png")
  );
  bottom: 0;
  left: 0;
  transform: translate(-50%, 50%);
}

.held-limit::after{
  position: absolute;
  content: image-set(
    url(/img/top/count-chara02.webp) type("image/webp"),
    url(/img/top/count-chara02.png) type("image/png")
  );
  bottom: 0;
  right: 0;
  transform: translate(40%, 50%);
}


.held-limit span{
  color: var(--color-red);
  font-size: 5rem;
  padding: 0 0.4rem;
}

.held-st span{
  display: block;
  padding: 1rem 0.4rem;
}
.news-filter{
  display: flex;
  justify-content: center;
}

.filter-btn{
  display: block;
  font-size: 1.2rem;
  width: 180px;
  text-align: center;
  border: 1px solid var(--color-black);
  border-radius: 30px;
  padding: 0.6rem;
  background-color: #fff;
  margin: 0 1rem;
}

.filter-btn:hover{
  background-color: var(--color-cream);

}

.filter-btn.active{
  background-color: var(--color-yellow);
}

.news-list{
  padding: 3rem 0;
}

.news-item{
  position: relative;
}

.news-item::before,
.news-item.is-last::after{
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  left: 0;
  background-image: linear-gradient(to right, var(--color-border) 6px, transparent 6px);
  background-size: 11px 2px;
  background-repeat: repeat-x;
  background-position: left bottom;
}

.news-item::before{
  top: 0;
}

.news-item.is-last::after{
  bottom: 0;
}

.news-item a{
  padding: 2rem 1rem;
  display: block;
}
.news-item a:hover{
  opacity: 0.6;
}

.news-date{
  color: var(--color-gray);
  margin-right: 1rem;
}

.news-cat{
  padding: 0.2rem 1rem;
  border-radius: 20px;
  color: #fff;
  margin-right: 0.4rem;
}

.news-cat.news{
  background-color: var(--color-blue);
}

.news-cat.event{
  background-color: var(--color-green);
}

.news-cat.nyusatsu{
  background-color: #f57c00;
}

.news-cat.sponsor{
  background-color: var(--color-red);
}

.news-title{
  font-size: 1.2rem;
  padding-top: 1.6rem;
}

.news-empty{
  padding: 3.4rem 0;
  text-align: center;
}

.top-competition{
  overflow-x: hidden;
}

.top-competition .container{
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.top-competition .con-item{
  width: 48%;
  position: relative;
  text-align: center;
}

.top-competition .con-item::before{
  position: absolute;
  content: "";
  top: 0;
  z-index: -1;
  width: 200%;
  height: 100%;
  background-color: var(--color-bk-gray);
}

.top-competition .kokuspo::before{
  right: 0;
}

.top-competition .demospo::before{
  left: 0;
}

.top-competition .con-item h4{
  border-radius: 0 0 2rem 2rem;
  padding: 2rem 0.6rem;
  color: #fff;
  font-size: 1.6rem;
  max-width: 500px;
  min-width: 460px;
  width: fit-content;
  margin: 0 auto;
}

.top-competition .kokuspo h4{
  background: linear-gradient(90deg, #0058a8 0%, #0071bc 100%);
}

.top-competition .demospo h4{
  background: linear-gradient(90deg, #1b8e5b 0%, #22b573 100%);
}

.top-competition .sports{
  display: flex;
  justify-content: center;
  padding: 2rem 0.4rem;
}

.sports-item{
  margin: 0 1rem;
}
.sports-item:hover{
  opacity: 0.6;
}
.sports-item img{
  max-height: 16rem;
}
.sports-item p{
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
  font-weight: bold;
}
.sports-item .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--color-yellow);
  border-radius: 50%;
  position: relative;
  margin-left: 0.4rem;
}

.sports-item .arrow::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(45deg);
  position: relative;
  right: 1px;
  border-radius: 10%;
}

.btn-container{
  display: flex;
  justify-content: center;
}
.btn-container .more-btn{
  margin: 0 1rem;
}

/* 共通 */
.common-head{
  background-image: image-set(
    url("/img/common-head.webp") type("image/webp"),
    url("/img/common-head.png") type("image/png")
  );
  background-position: center;
  background-size: cover;
}
.common-head h2{
  text-align: center;
  padding-top: 20rem;
  padding-bottom: 4rem;
  font-size: 1.6rem;
}
.common h3{
  border-bottom: 1px solid var(--color-border);
  font-size: 1.6rem;
  padding: 1rem 0;
  margin-bottom: 2rem;
}
.common h3 span.container{
  display: block;
  padding-left: 4rem;
  font-weight: bold;
  position: relative;
}
.common h3 span.container::before{
  position: absolute;
  content: "";
  width: 2.4rem;
  aspect-ratio: 1 / 1;
  background-image: image-set(
    url("/img/common-deco.webp") type("image/webp"),
    url("/img/common-deco.png") type("image/png")
  );
  background-size: contain;
  top: 0;
  left: 1rem;
}
.common .container{
  line-height: 1.6;
  font-weight: 400;
}
.common b{
  color: var(--color-blue);
  font-size: 1.6rem;
  display: inline-block;
  padding-bottom: 0.4rem;
}
.common .bk_gray .font-b{
  font-size: 1.4rem;
}
.common img{
  display: block;
  margin: 0 auto 2rem;
}

.common .bk_gray{
  background-color: var(--color-bk-gray);
  padding: 1.8rem;
  margin-top: 2rem;
}

.common .bk_gray div{
  position: relative;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.common .bk_gray div:last-child{
  margin-bottom: 0;
}

.common .bk_gray div::after{
  position: absolute;
  content: "";
  width: 100%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(to right, var(--color-border) 6px, transparent 6px);
  background-size: 11px 2px;
  background-repeat: repeat-x;
  background-position: left bottom;
}

.common .bk_gray div:last-child::after{
  content: none;
}

.common li{
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 1rem;
}

.common li::before{
  position: absolute;
  content: "";
  top: 0.4rem;
  left: 0;
  width: 1rem;
  aspect-ratio: 1 / 1;
  background-color: var(--color-yellow);
  border-radius: 50%;
}

/* トピックス */
.page-navi{
  text-align: center;
}
.page-navi ul{
  display: flex;
  justify-content: center;
  border: none;
}

.page-navi ul li{
  margin: 0 0.6rem;
}
.page-numbers{
  border: 1px solid var(--color-gray);
  padding: 0.2rem 0.8rem;
}
.page-numbers.current{
  background-color: var(--color-yellow);
}


/* 開催競技 */
.p-competitions .container{
  display: flex;
  justify-content: space-between;
}
.p-competitions .spo-item{
  width: 28%;
  aspect-ratio: 1 / 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #f2f2f2;
}
.p-competitions .spo-item:hover{
  background-color: var(--color-cream);
}
.p-competitions b{
  color: var(--color-black);
}

.p-competitions img{
  margin: 0 auto 1rem;
  width: 250px;
  height: 200px;
  object-fit: contain;
}

/* 検索結果 */
.search-c li{
  padding: 1rem 2rem;
  background-color: var(--color-bk-gray);
}
.search-c li::before{
  content: none;
}
.search-c li span{
  display: block;
  color: var(--color-gray);
}

/* 開催競技シングルページ */
.foreword{
  display: flex;
  margin-bottom: 4rem;
}
.foreword .spo-img{
  max-width: 350px;
  width: 30%;
}
.foreword .spo-img img{
  margin: 0 auto;
}
.foreword p{
  width: 70%;
}
.event-item{
  margin-bottom: 3rem;
}
.event-item b{
  display: inline-block;
  width: 100%;
  text-align: center;
  color: #fff;
  background-color: var(--color-blue);
  border-radius: 10px;
  margin-bottom: 1rem;
}

.event-item p{
  text-align: center;
  font-weight: 500;
}

.event-item .spo-map{
  margin-top: 1rem;
}

.event-item iframe{
  width: 100%;
  height: 40rem;
}

.multiple .event-item iframe{
  height: 25rem;
}

.calender-wrap{
  overflow: auto;
  margin-bottom: 5rem;
}

.event-calendar {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
}

.event-calendar th,
.event-calendar td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
}

.event-calendar th {
  background-color: var(--color-cream);
}

.dot {
  color: #f57c00;
  font-size: 24px;
  line-height: 1;
}

/* 大会会場 */
.p-venue h3 div{
  display: inline;
  margin-left: 2rem;
}
.p-venue .spo-cate{
  font-size: 1rem;
  font-weight: normal;
  color: #fff;
  background-color: var(--color-green);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-right: 1rem;
}
.vanue-img img{
  width: 100%;
}
.spo-map iframe{
  width: 100%;
}

/* イメージソング・ダンス */
.p-song h4,
.p-dance h4{
  font-weight: bold;
  font-size: 1.6rem;
  border-bottom: 1px solid var(--color-yellow);
  letter-spacing: 2px;
  margin: 2rem 0;
}
.p-song b{
  text-align: center;
  width: 100%;
  font-size: 2rem;
  color: #f57c00;
}
.p-song .bk_gray{
  margin-bottom: 2rem;
}
.song-download{
  text-align: center;
  margin: 3rem auto;
}
.song-download .text{
  margin-bottom: 2rem;
}
.p-youtube{
  margin-bottom: 3rem;
}
.p-lyrics p{
  margin-bottom: 1rem;
}

/* 門川町実行委員会 */
.common .post-title{
  padding: 0;
}
.common .post-title::before{
  content: none;
}
.common .post-title a{
  display: flex;
  align-items: center;
  width: fit-content;
}
.common .post-title a::before{
  position: static;
  width: 0;
  height: 0;
  content: "";
  background-color: transparent;
  border-radius: 50%;
  transition: 0.3s;
}
.common .post-title a:hover::before{
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 12px;
  background-color: var(--color-yellow);
}

/* リンク集 */
.links{
  margin-bottom: 2rem;
}
.links b{
  font-size: 1.4rem;
  display: block;
}

/* 各種様式 */
.forms-about{
  margin-bottom: 2rem;
}

/* お問い合わせ */
.contact .center{
  text-align: center;
  margin-bottom: 3rem;
}
.contact form{
  padding: 2rem 0;
}
.contact .form-item label{
  font-weight: bold;
  display: inline-block;
  margin-bottom: 4px;
  width: 400px;
  font-size: 1.2rem;
}
.contact .form-item br{
  display: none;
}
.contact .form-item label .optional{
  font-size: 0.8rem;
  font-weight: 500;
  background-color: var(--color-bk-gray);
  padding: 0.2rem 0.4rem;
  margin-left: 0.6rem;
}
.contact .form-item label .required{
  font-size: 0.8rem;
  font-weight: 500;
  background-color: var(--color-yellow);
  padding: 0.2rem 0.4rem;
  margin-left: 0.6rem;
}
.contact .form-item {
  margin-bottom: 2rem;
}
.contact form input,
.contact form textarea{
  border: 1px solid var(--color-bk-gray);
  padding: 0.6rem;
}
.contact .policy{
  text-align: center;
}
.contact .policy label{
  width: 100%;
}
.contact .policy a{
  text-indent: 2px;
  display: inline-block;
  text-decoration: underline;
}
.contact .policy label span{
  margin: 0;
  font-weight: 500;
}
.ct-btn{
  text-align: center;
}
.ct-btn input{
  background: linear-gradient(90deg, #1a1a1a 0%, #4d4d4d 100%);
  color: #fff;
  width: 8rem;
  letter-spacing: 0.4rem;
  text-align: center;
  border-radius: 30px;
}

/* サイトマップ */
.sitemap li{
  padding-left: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.sitemap li::before{
  border: 8px solid transparent;
  background-color: transparent;
  border-left: 8px solid var(--color-yellow);
  border-radius: inherit;
}
.sitemap ul ul{
  padding-left: 2rem;
}

/* シングルページ */
.post-navigation{
  margin-top: 3rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
}
.post-navigation .prev a,
.post-navigation .next a{
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.4rem;
  background: linear-gradient(currentcolor, currentcolor) 100% 100% / 0 1px no-repeat;
  transition: background-size .4s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.post-navigation .next{
  text-align: right;
}

.post-navigation .prev a:hover,
.post-navigation .next a:hover{
  background-position: 0 100%;
  background-size: 100% 1px;
}

/* 実行委員会・各種様式 シングルページ */
.post-in b{
  color: inherit;
}
.post-in .news_content a{
  text-decoration: underline;
}
.post-in .news_content{
  margin-bottom: 2rem;
}


@media only screen and (max-width: 1000px) {
  body.no-scroll {
    overflow: hidden;
  }
  .container{
    min-width: 600px;
  }
  html {
    -webkit-text-size-adjust: 100%;
  }
  .l-inner {
    padding: 0 4rem;
  }
  .sp{
    display: block !important;
  }
  .pc {
    display: none !important;
  }
  .sizeBtn_wrap,
  .search_box{
    z-index: 100;
    margin: 0;
  }
  .sizeBtn_wrap{
    margin: 0;
    flex-wrap: nowrap;
  }
  .search_box{
    margin-left: 0;
  }
  .search_box form{
    display: flex;
    max-width: 300px;
  }
  .sizeBtn_wrap{
    padding-bottom: 1rem;
  }
  .btn-container{
    flex-direction: column;
    align-items: center;
  }
  .btn-container .more-btn{
    margin: 0.6rem 1rem;
  }
  .mv01 {
    margin-bottom: 8rem;
  }
  .mv01 .slide-media {
    height: max(70vh, 70vw);
  }

  .tab-sp {
    display: none !important;
  }
  .swiper-button-prev::before, .swiper-button-next::before {
    -webkit-transition: var(--transition);
    transition: var(--transition);
  }
  .swiper-button-prev:hover::before, .swiper-button-next:hover::before {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  header{
    background-color: transparent;
  }
  .header_inner{
    width: 100%;
  }
  #hd-logo{
    display: none;
    padding-bottom: 1rem;
  }
  .header_nav.active{
    background-color: #fff;
    min-width: 100vw;
  }
  .nav-ass{
    display: flex !important;
    align-items: center;
    justify-content: left;
    padding: 1rem;
    margin-bottom: 2rem;
  }
  .header_nav ul{
    margin: 0;
  }
  .menu_item a{
    text-align: center;
    border-bottom: 1px solid #000;
  }
  .menu_half{
    margin-top: 2rem;
    justify-content: space-around;
  }
  .menu_half .menu_item{
    width: 40%;
  }
  main{
    padding-top: 0;
  }
  .mv-title{
    width: 100%;
  }
  .top-nav{
    display: none;
  }
  .count{
    padding: 5rem 1rem;
  }
  .top-competition .container{
    flex-direction: column;
    justify-content: center;
    padding: 0;
  }
  .top-competition .con-item{
    width: 100%;
    background-color: var(--color-bk-gray);
    margin-bottom: 2rem;
  }
  .top-competition .con-item::before{
    content: none;
  }
  .filter-btn{
    margin: 0 0.4rem;
  }

  /* フッター */
  .ft_link ul li{
    padding: 0 0.8rem;
  }

  /* 開催競技一覧 */
  .p-competitions .container{
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .p-competitions .spo-item{
    width: 250px;
  }
  .p-competitions img{
    width: 200px;
    height: 160px;
  }

  /* 大会会場 */
  .p-venue h3 div{
    display: flex;
    margin: 0.6rem auto 0;
  }
}

@media only screen and (max-width: 600px) {
  body{
    font-size: 1rem;
  }
  .pc-tab {
    display: none !important;
  }
  section{
    margin-top: 8rem;
  }
  .common-head h2{
    padding-top: 10rem;
    font-size: 1.4rem;
  }
  h3.title{
    font-size: 2.6rem;
    margin-bottom: 2rem
  }
  h3.title span{
    font-size: 1.2rem;
    padding-top: 0.4rem;
  }
  .common h3{
    font-size: 1.2rem;
  }
  .common h3 span.container{
    padding-left: 3rem;
  }
  .common h3 span.container::before{
    width: 1.8rem;
  }
  .mv01 .slide-title {
    font-size: 2.8rem;
    right: 4rem;
    margin-left: 6rem;
  }

  .container{
    width: 100%;
    max-width: 420px;
    min-width: auto;
  }

  .hamburger{
    padding: 0.8rem;
  }

  .menuBtn{
    width: 1.4rem;
  }

  .menuBtn span{
    width: 1.4rem;
  }

  .menuBtn span:nth-child(2){
    top: 8px;
  }
  .menuBtn span:nth-child(3){
    top: 16px;
  }

  .hamburger .enTitle{
    display: none;
  }
  
  .nav-ass{
    flex-direction: column;
    align-items: baseline;
  }
  .menu_half{
    padding-bottom: 8rem;
  }
  .menu_half .menu_item{
    width: 100%;
  }
  .ft_link{
    padding: 6rem 0.6rem;
  }
  
  .ft_link ul {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 5px;
    max-width: 400px;
    margin: 0 auto;
  }
  .ft_link ul li {
    display: grid;
  }
  .ft_link ul li::after {
    height: 16px;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
  }
  .ft_link ul li:nth-child(n + 3) {
    order: 1;
  }
  .ft_link ul li:nth-child(2)::after,
  .ft_link ul li:last-child::after {
    display: none;
  }
  .ft_info div{
    width: 100%;
    min-width: 340px;
  }
  .count{
    padding: 5rem 1rem 0;
  }
  .count_container{
    margin: 10rem auto 2rem;
    background-image: image-set(
      url(/img/top/count-bk-sp.webp) type("image/webp"),
      url(/img/top/count-bk-sp.png) type("image/png")
    );
  }
  .held{
    background-image: image-set(
      url(/img/top/count-gray-sp.webp) type("image/webp"),
      url(/img/top/count-gray-sp.png) type("image/png")
    );
  }
  .held-limit::after{
    transform: translate(0);
  }
  .held-st span{
    font-size: 4rem;
    padding: 0.5rem;
  }
  .held-title{
    font-size: 1.8rem;
  }
  .held-date{
    flex-direction: column;
  }
  .held-date p{
    font-weight: bold;
  }
  .held-date img{
    width: 2rem;
    margin: 0.4rem 0;
  }
  .held-limit{
    font-weight: bold;
    margin-top: 1rem;
  }
  .held-limit::before{
    content: "";
    display: block;
    width: 30%;
    height: 160%;
    background-image: image-set(url(/img/top/count-chara01-sp.webp) type("image/webp"), url(/img/top/count-chara01-sp.png) type("image/png"));
    background-size: contain;
    background-repeat: no-repeat;
    left: 12%;
    bottom: 160%;
  }
  .held-limit::after{
    content: "";
    display: block;
    width: 30%;
    height: 160%;
    background-image: image-set(url(/img/top/count-chara02-sp.webp) type("image/webp"), url(/img/top/count-chara02-sp.png) type("image/png"));
    background-size: contain;
    background-repeat: no-repeat;
    right: 0%;
    bottom: 76%;
  }
  .news-filter{
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .filter-btn{
    font-size: 1rem;
    width: 150px;
    margin: 0.4rem;
  }
  .news-item a{
    padding: 1.4rem 0.4rem;
  }
  .news-date{
    font-size: 16px;
    margin-right: 0.6rem;
  }
  .news-cat{
    padding: 0.4rem 0.8rem;
    font-size: 14px;
    display: inline-block;
    margin-right: 0.02rem;
  }
  .news-title{
    font-size: 1rem;
    padding-top: 1rem;
  }
  .top-competition .con-item h4{
    padding: 1.4rem 0.6rem;
    font-size: 1.6rem;
    min-width: 300px;
    width: 60%;
    line-height: 1.2;
  }
  .top-competition .sports{
    flex-direction: column;
  }
  .sports-item img{
    max-height: 14rem;
  }
  .sports-item{
    margin: 0 0 4rem;
  }
  .sports-item:last-child{
    margin: 0 0 2rem;
  }
  .sports-item p{
    padding-top: 0.4rem;
    font-size: 1.4rem;
  }

  /* 共通下層ページ */
  .common .bk_gray{
    padding: 1rem 1.4rem;
  }
  .common b{
    font-size: 1.2rem;
    padding-bottom: 0.2rem;
  }

  /* 大会会場 */
  .spo-map iframe{
    width: 100%;
    height: 20rem;
  }
  .p-venue .spo-cate{
    margin-right: 0.4rem;
  }

  /* スポーツ一覧 */
  .p-competitions .spo-item{
    margin-bottom: 2rem;
  }
  .common b{
    font-size: 1.2rem;
    padding-bottom: 0.6rem;
  }
  .common h3 span.container::before{
    width: 1.6rem;
    top: 4%;
  }
  .common .bk_gray .font-b{
    font-size: 1.1rem;
  }

  /* スポーツ詳細ページ */
  .foreword{
    flex-direction: column;
  }
  .foreword .spo-img{
    width: 100%;
  }
  .foreword p{
    width: 100%;
    margin-top: 1rem;
  }
  .event-item iframe{
    height: 20rem;
  }
  .calender-wrap{
    position: relative;
    padding-top: 2rem;
  }
  .calender-wrap::after{
    position: absolute;
    content: "scroll→";
    top: 0;
    left: 0;
  }
  .event-calendar th,
  .event-calendar td{
    white-space: nowrap;
    vertical-align: middle;
  }
  /* イメージソング・ダンス */
  .p-song h4,
  .p-dance h4{
    font-size: 1.2rem;
  }
  .p-youtube{
    aspect-ratio: 560 / 315;
    width: 100%;
    height: auto;
  }
  .p-youtube iframe{
    width: 100%;
    height: 100%;
  }
  /* お問い合わせ */
  .contact .form-item label{
    max-width: 350px;
    font-size: 1rem;
  }
  .contact form input,
  .contact form textarea{
    width: 100%;
  }
  .check-pp{
    width: auto !important;
  }
  .ct-btn{
    width: fit-content;
    margin: 0 auto;
  }
  .wpcf7 .wpcf7-submit:disabled{
    opacity: 0.6;
  }
}
