@charset "UTF-8";
/* CSS Document */


/******************************************************

PC設定 1200px以上の場合に適用

*******************************************************/

/* mv */
.mv {
	position: relative;
	width: 100%;
	height: calc(100vh - 100px);
	min-height: 700px;
	max-height: 900px;
	margin-top: 100px;
	background-image: url("../img/index/bg_mv.jpg");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.mv__content {
	position: absolute;
	left: 5%;
	bottom: 80px;
}

.mv__text {
	position: absolute;
	left: 5%;
	top: 170px;
}

.mv__h1 {
	font-family: var(--font-en);
	font-size: 80px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.02em;
	color: #FFFFFF;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.mv__txt {
	margin-top: 24px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.6;
	color: #FFFFFF;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.mv__btn {
	margin-top: 32px;
	width: 260px;
	height: 56px;
	font-size: 16px;
}



/* news */
.news {
	background-color: #FFFFFF;
	overflow: hidden;
}

.news__wrapper {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.news .section-title {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 40px;
}

.news__slider {
	position: relative;
	width: 100%;
}

.news__viewport {
	overflow: hidden;
	width: 100%;
}

.news__box {
	display: flex;
	gap: 30px;
	/* JSが書き換える追加オフセット(初期値0px) */
	--news-offset: 0px;
	/* 初期表示: 先頭カードを左に X/2 ずらして "半 | 1 | 1 | 1 | 半" の見え方にする
	   X = (100vw - 120px) / 4  →  X/2 = (100vw - 120px) / 8 */
	transform: translateX(calc(-1 * (100vw - 120px) / 8 - var(--news-offset)));
	transition: transform 0.3s ease;
	will-change: transform;
}

/* 中央3件 + 左右半分ずつ見せるためのカード幅:
   4X + 4*gap = 100vw  →  X = (100vw - 120px) / 4 */
.news__item {
	flex: 0 0 calc((100vw - 120px) / 4);
	width: calc((100vw - 120px) / 4);
	background-color: transparent;
}

.news__link {
	display: block;
	transition: transform 0.2s ease;
}

.news__thumbnail {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: 15px;
	overflow: hidden;
	background-color: #EEEEEE;
}

.news__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.news__link:hover .news__img {
	transform: scale(1.05);
}

.news__content {
	padding: 20px 0 0;
}

.news__h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--color-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.news__meta {
	margin-top: 12px;
}

.news__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 10px;
}

.news__category {
	display: inline-block;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	color: #FFFFFF;
	background-color: var(--color-primary);
	padding: 8px 15px;
}

/* お知らせカテゴリー別バッジ色 */
.news__category--u10 {
	background-color: #4CAF50; /* 緑 */
}

.news__category--u12 {
	background-color: #FF8C00; /* オレンジ */
}

.news__category--u15 {
	background-color: var(--color-primary); /* プライマリ青 */
}

.news__category--information {
	background-color: #607D8B; /* ブルーグレー */
}

.news__category--event {
	background-color: #E91E63; /* ピンク */
}

.news__category--club {
	background-color: var(--color-accent); /* イエロー(アクセント) */
	color: var(--color-text);
}

.news__category--clan {
	background-color: #8E0E2E; /* ワインレッド */
}

.news__category--uncategorized {
	background-color: #AAAAAA; /* グレー */
}

.news__category--result {
	background-color: #00897B; /* ティールグリーン */
}

.news__date {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: #AAA;
}


/* news 矢印 (#08509b / 35px / サムネイル画像の20px上) */
.news__arrow {
	position: absolute;
	/* サムネイル(news__viewport)の上端から 35px + 20px の余白を取る */
	top: -55px;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background-color: var(--color-primary);
	color: #FFFFFF;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	z-index: 5;
	transition: background-color 0.2s ease;
}

.news__arrow:hover {
	background-color: var(--color-primary-dark);
}

/* 左矢印: 画面左端から20px */
.news__arrow--prev {
	left: 20px;
}

/* 右矢印: 画面右端から20px */
.news__arrow--next {
	right: 20px;
}

.news__btn {
	margin: 64px auto 0;
}



/* about */
.about {
	position: relative;
	width: 100%;
	background-color: var(--color-primary);
	padding: 100px 0 200px;
	border-radius: 45px 45px 0 0;
	overflow: hidden;
}

/* 下端は逆アーチ(内側に凹む)を白い擬似要素でくり抜く
   左右端を緩やかに見せるため、要素を 140% 幅 × 高め(120px)に広げ、
   中央が緩やかに盛り上がるカーブにする */
.about::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -2px; /* サブピクセル隙間対策 */
	width: 110%;
	height: 100px;
	background-color: var(--color-bg);
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
	pointer-events: none;
}

.about__inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

.about__box {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-top: 0;
}

.about__item {
	flex: 0 1 360px;
	background-color: #FFFFFF;
	border-radius: 15px;
	padding: 40px 24px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	text-align: center;
}

.about__num {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: var(--color-primary);
	line-height: 1;
}

.about__icon {
	margin-top: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 64px;
}

.about__icon img {
	height: 64px;
	width: auto;
}

.about__h3 {
	margin-top: 24px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--color-text);
}

.about__txt {
	margin-top: 12px;
	font-weight: 500;
	line-height: 1.8;
}

.about__btn {
	border: 2px solid #FFF;
	background-color: transparent;
	color: #FFF;
	margin-top: 48px;
}

.about__btn:hover {
	background-color: #FFF;
	color: var(--color-primary);
}



/* coach */
.coach {
	background-color: #FFFFFF;
	margin-top: -80px;
}

.coach__wrapper {
	text-align: center;
}

.coach__photo {
	width: 100%;
	height: 600px;
	border-radius: 20px;
	overflow: hidden;
	background-color: #EEEEEE;
}

.coach__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.coach__txtBox {
	margin-top: 48px;
}

.coach__lead {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.8;
	color: var(--color-text);
}

.coach__txt {
	margin-top: 24px;
	font-weight: 500;
	line-height: 1.9;
}

.coach__btn {
	margin-top: 30px;
}



/* banner */
.banner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
}

.banner__item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 550px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
	transition: all 0.2s ease;
}

.banner__item--flow {
	background-image: url("../img/index/bg_flow.jpg");
}

.banner__item--career {
	background-image: url("../img/index/bg_ob.jpg");
}

.banner__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(8, 80, 155, 0.45);
	transition: background-color 0.2s ease;
	z-index: 1;
}

.banner__item:hover .banner__overlay {
	background-color: rgba(8, 80, 155, 0.65);
}

.banner__content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #FFFFFF;
	transition: transform 0.2s ease;
}

.banner__item:hover .banner__content {
	transform: scale(1.04);
}

.banner__h2 {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: #FFFFFF;
}

.banner__en {
	margin-top: 8px;
	font-family: var(--font-en);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	color: #FFFFFF;
}



/* schedule */
.schedule {
	background-color: #FFFFFF;
}

.schedule__calendar {
	width: 100%;
	height: 600px;
	background-color: #E5E5E5;
	display: flex;
	align-items: center;
	justify-content: center;
}

.schedule__calendar iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.schedule__placeholder {
	font-family: var(--font-en);
	font-size: 48px;
	font-weight: 700;
	color: var(--color-primary);
	letter-spacing: 0.04em;
}



/* faq */
.faq {
	background-color: var(--color-bg-gray);
}

.faq__box {
	margin-top: 0;
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

.faq__item {
	margin: 0;
	background-color: #FFFFFF;
	border: 1px solid #CCCCCC;
	overflow: hidden;
}

.faq__item + .faq__item {
	border-top: none;
}

.faq__item-question {
	min-height: 72px;
	background-color: var(--color-q-bg);
	padding: 0 24px;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.faq__item-question:hover {
	background-color: #D0D0D0;
}

.faq__icon {
	flex-shrink: 0;
	width: 56px;
	font-family: var(--font-en);
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	color: var(--color-primary);
	text-align: left;
	border-right: 1px solid #CCCCCC;
	padding-right: 24px;
	display: flex;
	align-items: center;
}

.faq__icon--a {
	color: var(--color-text);
}

.faq__qtxt {
	flex: 1;
	margin-left: 24px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--color-primary);
}

.faq__toggle {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	position: relative;
	margin-left: 16px;
	transition: transform 0.3s ease;
}

.faq__toggle::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 1px;
	width: 8px;
	height: 8px;
	border-bottom: 2px solid #AAAAAA;
	border-right: 2px solid #AAAAAA;
	transform: rotate(45deg);
	transition: transform 0.3s ease;
}

.faq__item--open .faq__toggle::before {
	transform: rotate(-135deg);
	top: 7px;
}

.faq__item-answer {
	display: none;
	background-color: #FFFFFF;
	padding: 24px;
	align-items: flex-start;
}

.faq__item--open .faq__item-answer {
	display: flex;
}

/* 回答が複数行に渡る場合でも A は上揃え */
.faq__item-answer .faq__icon {
	margin-top: 0;
	align-items: flex-start;
}

.faq__atxt {
	flex: 1;
	margin-left: 24px;
}

.faq__atxt p {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.9;
	color: var(--color-text);
}

.faq__detail {
	display: inline-block;
	margin-top: 10px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-primary);
	text-decoration: underline;
}

.faq__detail:hover {
	opacity: 0.7;
}




/******************************************************

タブレットの設定 960px〜1199pxの場合に適用

*******************************************************/

@media screen and (max-width: 1199px){

/* mv */
.mv {
	min-height: 400px;
	height: calc(100vh - 80px);
	max-height: 600px;
	margin-top: 80px;
}

.mv__content {
	left: 24px;
	bottom: 60px;
}

.mv__text {
	left: 24px;
	top: 80px;
}

.mv__h1 {
	font-size: 64px;
}

.mv__txt {
	font-size: 22px;
}

	

/* about */
.about {
	padding: 80px 0 120px;
}

.about__box {
	gap: 16px;
}

.about__item {
	flex: 1 1 0;
	padding: 32px 16px;
}


/* coach */
.coach__photo {
	height: 420px;
}


/* banner */
.banner__item {
	height: 280px;
}

.banner__h2 {
	font-size: 40px;
}


/* schedule */
.schedule__calendar {
	height: 480px;
}

.schedule__placeholder {
	font-size: 36px;
}


}



/******************************************************

タブレットの設定 768px〜959pxの場合に適用

*******************************************************/

@media screen and (max-width: 959px){


/* mv */
.mv {
	min-height: 500px;
	height: calc(100vh - 60px);
	margin-top: 60px;
}

.mv__h1 {
	font-size: 52px;
}

.mv__txt {
	font-size: 18px;
}

.mv__text {
	top: 100px;
}


/* news */
.news__item {
	flex: 0 0 calc((100vw - 90px) / 3);
	width: calc((100vw - 90px) / 3);
}


/* about */
.about__box {
	flex-wrap: wrap;
}

.about__item {
	flex: 0 1 calc(50% - 8px);
}


/* coach */
.coach__photo {
	height: 320px;
}


/* banner */
.banner__h2 {
	font-size: 32px;
}

.banner__en {
	font-size: 16px;
}


}



/******************************************************

SPの設定 767px以下の場合に適用

*******************************************************/

@media screen and (max-width: 767px){

/* mv */
.mv {
	height: 400px;
	min-height: auto;
	max-height: auto;
	margin-top: 50px;
}

.mv__content {
	left: 20px;
	right: 20px;
	bottom: 30px;
}

.mv__text {
	left: 20px;
	right: 20px;
	top: 50px;
}

.mv__h1 {
	font-size: 32px;
}

.mv__txt {
	margin-top: 10px;
	font-size: 14px;
}

.mv__btn {
	margin-top: 15px;
	width: 220px;
	height: 48px;
	font-size: 14px;
}


/* news (SP: 中央1枚 + 左右0.3枚ずつ表示) */
.news__box {
	/* 0.7X 左にずらして "0.3 | 1 | 0.3" の見え方にする
	   X = (100vw - 60px) / 1.6  →  0.7X = 7 * (100vw - 60px) / 16 */
	transform: translateX(calc(-7 * (100vw - 60px) / 16 - var(--news-offset)));
	gap: 15px;
}

.news__item {
	flex: 0 0 calc((100vw - 30px) / 1.6);
	width: calc((100vw - 30px) / 1.6);
}

.news__thumbnail {
	border-radius: 8px;
}

.news__h3 {
	font-size: 16px;
}
	
.news__category {
	font-size: 10px;
	padding: 5px 10px;
}
	
.news__date {
	font-size: 12px;
}

.news__arrow {
	width: 25px;
	height: 25px;
	top: -45px;
	font-size: 14px;
}

.news__arrow--prev {
	left: 8px;
}

.news__arrow--next {
	right: 8px;
}

.news__btn {
	margin-top: 40px;
}


/* about */
.about {
	padding: 60px 0 100px;
	border-radius: 24px 24px 0 0;
}

.about::after {
	height: 40px;
}

.about__box {
	flex-direction: column;
	gap: 16px;
}

.about__item {
	flex: 0 1 auto;
	width: 100%;
	padding: 32px 24px;
}
	
.about__num {
	font-size: 28px;
}
	
.about__icon {
	width: auto;
	max-width: 60px;
	height: auto;
	max-height: 70px;
	margin: 15px auto;
}

.about__btn {
	margin-top: 32px;
}


/* coach */
.coach {
	margin-top: -40px;
}
	
.coach__photo {
	height: 220px;
}

.coach__txtBox {
	margin-top: 32px;
}

.coach__lead {
	font-size: 16px;
}

.coach__txt {
	font-size: 13px;
	text-align: left;
}


/* banner */
.banner {
	grid-template-columns: 1fr;
}

.banner__item {
	height: 200px;
}

.banner__h2 {
	font-size: 24px;
}

.banner__en {
	font-size: 16px;
}


/* schedule */
.schedule__calendar {
	height: 360px;
}

.schedule__placeholder {
	font-size: 24px;
}


/* faq */
.faq__item-question {
	height: auto;
	min-height: 56px;
	padding: 10px 15px;
}

.faq__icon {
	font-size: 18px;
	width: 30px;
	height: 25px;
	line-height: 25px;
}

.faq__qtxt {
	margin-left: 15px;
	font-size: 14px;
}

.faq__atxt p {
	font-size: 14px;
}

.faq__item-answer {
	padding: 10px 15px;
}

.faq__atxt {
	margin-left: 15px;
}
	
.faq__detail {
	font-size: 14px;
}


}
