@charset "utf-8";
/*
Theme Name: 十和田市スポーツ協会
Description: 2026年2月制作
Author: 株式会社ハイネット
Version: 1.0
*/

/*ヘッダーの高さは 50px / 100px */

:root{
	--main-color: #04649f;/*#04649f #04932c*/
	--site-width: 1200px;
	--min-width: 1080px;
	--side-gutter: 20px; /* この変数で余白を一括管理 */
	--link-color: #1558d6;
}
@media (min-width:450px){
	:root{
		--side-gutter: 40px;
	}
}

.jost {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.noto-sans-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
  color: #333;
  font: 16px/1.4 "Noto Sans JP", sans-serif;
}



.pw{
	max-width: calc( var(--site-width) + var(--side-gutter)*2 ); 
	padding: 0 var(--side-gutter);
	margin: 0 auto;
}
@media (min-width:450px){
	.pw{
		min-width: var(--min-width);
	}
}


/* Section Separator---------------------------------------------------------

　ヘッダー

----------------------------------------------------------------------------*/
.site-header{
	height: 50px;
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	font-feature-settings: "palt" 1;
	transition: background-color 0.4s ease, height 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
	z-index: 1000;
}
@media (min-width:450px){
	.site-header{
		min-width: var(--min-width);
		height: 100px;
	}
}

/* スクロールダウン時にJSでこのクラスをつける */
.site-header.is-hide {
  transform: translateY(-100%); /* ヘッダーの高さ分だけ上に隠す */
}

/* 背景を不透明にするクラス（スクロール後に付与） */
.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 1.0); /* 透過なし */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* 浮いた感じを出す */
	transition-duration: 0.6s;
}

/*ロゴ======================*/
.site-logo{
	width: 200px;
	position: absolute;
	top: 10px;
	left: 10px
}
@media (min-width:450px){
	.site-logo{
		width: 250px;
		top: 50%;
		left: 15px;
		transform: translateY(-50%);
	}
}

/*グローバルナビ======================*/
.g-nav{
	display: none;
}
@media (min-width:450px){
	.g-nav{
		font-size: 1.2rem;
		font-weight: 600;
		display: block;
		position: absolute;
		right: 0;
	}
	.g-nav > ul{
		display: flex;
	}
	.g-nav > ul > li{
		flex:1;
		position: relative;
	}
	.g-nav > ul > li > a{
		height: 100px;
		padding: 0 20px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		text-align: center;
		white-space: nowrap;
	}
	.g-nav > ul > li.booking a{
		color: var(--main-color);
		background-color: #ffef53;
	}
	.g-nav > ul > li.contact a{
		background-color: var(--main-color);
	}
	.g-nav > ul > li > a::before{
		font-size: 1.6rem;
		font-family: jost;
		font-weight: 600;
		display: block;
	}
	.g-nav > ul > li:nth-child(1) > a::before{ content: 'NEWS';}
	.g-nav > ul > li:nth-child(2) > a::before{ content: 'ABOUT US';}
	.g-nav > ul > li:nth-child(3) > a::before{ content: 'FACILITIES';}
	.g-nav > ul > li:nth-child(4) > a::before{ content: 'APPS & FORMS';}
	.g-nav > ul > li:nth-child(5) > a::before{ content: 'BOOKING';}
	.g-nav > ul > li:nth-child(6) > a::before{ content: 'CONTACT';}
	.g-nav > ul > li:nth-child(6) > a{color: #FFF;}
	
	.g-nav > ul > li > a:hover{
		background-color: #F2F2F2;
	}
	.g-nav > ul > li:nth-child(5) > a:hover{
		background-color: #ffef53;
		color: #C75353;
	}
	.g-nav > ul > li:nth-child(6) > a:hover{
		background-color: var(--main-color);
		color: #ffef53;
	}
	
}

.pd-menu-wrap{
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	padding-top: 15px;
}
li:hover .pd-menu-wrap{
	display: block;
}

.pd-menu{
	background-color: #FDFDFD;
	padding: 1em 0;
	border-radius: 10px;
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.30);
	box-shadow: 0px 0px 10px rgba(0,0,0,0.30);
}
.pd-menu li a{
	display: block;
	font-size: 1.2rem;
	padding: 0.5em 1.5em;
	white-space: nowrap;
}
.pd-menu li a:hover{
	color: var(--main-color);
}


/* Section Separator---------------------------------------------------------

　フッター

----------------------------------------------------------------------------*/
.footer{
	background: #f5f7f9;
	padding: 50px var(--side-gutter) 30px;
	width: 100vw;
}
.footer .inner{
	/*max-width: var(--site-width);*/
	display: flex;
	flex-direction: column;
	gap: 50px;
	margin: 0 auto;
}
@media (min-width:450px){
	.footer .inner{
		/*min-width: var(--min-width);*/
		width: 100%;           /* 基本は親いっぱいに広がる */
		max-width: 1200px;     /* 1200px以上にはならない */
		min-width: 1000px;     /* 1000px以下にはならない（横スクロールが出る） */
		flex-direction: row-reverse;
		justify-content: space-between;
	}
}




/*========================================
	フッターナビ
========================================*/
.footer-nav ul{
	display: flex;
	flex-wrap: wrap;
	gap: 15px 0;
}
.footer-nav ul li{
	flex-basis: 50%;
}

.footer-nav a{
	font-size: 1.4rem;
}
.footer-nav a:hover{
	text-decoration: underline;
}

.footer-nav a::before{
	content: '';
	display: inline-block;
	vertical-align: middle;
	color: var(--main-color);
	line-height: 1;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent;
	border-width: 0.375em 0.64952em;
	border-left-color: currentColor;
	border-right: 0;
	margin-right: 0.25em;
}
@media (min-width:450px){
	.footer-nav ul{
		flex-wrap: wrap;
		justify-content: flex-end;
		width: 20em;
	}
	.footer-nav ul li{
		flex-basis: 50%;
	}
}

/*========================================
	フッターインフォ
========================================*/

.footer-logo{
	width: 240px;
}
.footer-info p{
	font-size: 1.3rem;
	margin: 1em 0 0 ;
}
.footer-info address{
	font-size: 1.3rem;
}
/*========================================
	コピーライト
========================================*/
.copyright{
	font-size: 1.2rem;
	color: #AFAFAF;
	max-width: var(--site-width);
	margin: 20px auto 0 ;
}


/* Section Separator---------------------------------------------------------

　施設リスト（共通ブロック）

----------------------------------------------------------------------------*/
.faci-list{
	margin: 50px 0 0;
}
.faci-list ul{
	margin-top: 50px;
	display: flex;
	flex-wrap: wrap;
	gap: 30px 5%;
}
.faci-list ul li{
	flex-basis: 47.5%;
	position: relative;
}
.faci-list ul .list-title{
	color: var(--main-color);
	font-weight: 600;
	font-size: 1.6rem;
	margin: 0.4em 0 0.2em;
	font-feature-settings: "palt" 1;
}

.faci-list .list-title small{
	display: block;
	font-size: 1.2rem;
}
.faci-list .list-txt{
	font-size: 1.2rem;
	color: #717171;
}

@media (min-width:450px){
	.faci-list ul{
		gap: 30px 3%;
	}
	.faci-list ul li{
		flex-basis: 22.75%;
	}
	
	.faci-list ul .list-title{
		font-size: 2.0rem;
	}
	.faci-list .list-txt{
		font-size: 1.3rem;
	}
}

.badge-reservation{
	background: var(--main-color);
	color: #FFF;
	display: inline-block;
	padding: 0.5em 1em;
	border-radius: 999px;
	font-weight: 600;
	font-size: clamp( 1.2rem , 1vw , 1.4rem);
	position: absolute;
	transform: translate( -10% , -50%);
}

