/* common.css */
@charset "utf-8";

a {
	color: var(--dark); /* 明示的に宣言 */
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}

.loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: var(--main);
}
.loader::before {
	content: '';
	display: grid;
	place-items: center;
	/* background-image: url(./img/emblem/emblem-black.svg); */
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50% auto;
	width: 100%;
	height: 100%;
	position: absolute;
}
@media screen and (min-width: 768px) {
	.loader::before {
		background-size: 25% auto;
		width: 100%;
		height: 100%;
	}
}

/* ↓サブメニューベース設定 */
.submenu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
}
.submenu li {
	display: flex;
	justify-content: space-between;
	flex: 0 1 calc((100% - 1em * 1) / 2);
}
.submenu a {
	color: var(--white);
	color: var(--black);
	text-decoration: none;
	font-weight: 400;
	display: flex;
	width: 100%;
	height: 100%;
	justify-content: space-between;
	transition: all 0.3s;
}
.submenu a::after {
	font-family: 'Material Symbols Outlined';
	content: 'chevron_right';
	color: inherit;
	font-weight: 200;
	font-style: normal;
	font-size: 1.2em;
	display: inline-block;
	vertical-align: middle;
}
.submenu a:hover {
	color: var(--accent);
}
/* ↑サブメニューベース設定 */

.submenu__title {
}
.submenu__title::before {
	font-weight: 700;
}

/* Googleマップ汎用ボックス----------------- */
.gmap {
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
}
.gmap iframe {
	width: 100%;
	height: 100%;
}
@media screen and (min-width: 768px) {
	.gmap {
		width: 100%;
		height: 500px;
	}
	.gmap iframe {
		width: 100%;
		height: 100%;
	}
}
/* アクセスページ用 */
.access-map iframe {
	width: 100%;
	height: 600px;
	border: 0;
}
/* youtubeマップ汎用ボックス----------------- */
.youtube {
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
}
.youtube iframe {
	width: 100%;
	height: 100%;
}

/* ------------------------------------------------------------- */
/* aos設定------------------------------------------------- */
/* ------------------------------------------------------------- */
[data-aos='fade-left'] {
	transform: translate3d(30px, 0, 0);
}
[data-aos='fade-right'] {
	transform: translate3d(-30px, 0, 0);
}
/* ------------------------------------------------------------- */
/* コンテナ設定------------------------------------------------- */
/* ------------------------------------------------------------- */

/* .l-sectionでは横幅100%で左右のパディングのみ設定 */
.l-section {
	position: relative;
	margin: 0 auto;
	padding-top: min(15.4vw, 80px); /*縦方向*/
	padding-bottom: min(15.4vw, 80px); /*縦方向*/
	overflow: hidden;
}
.l-container {
	width: auto;
	margin: 0 auto;
	padding-left: 14px; /*横方向 */
	padding-right: 14px; /*横方向 */
	position: relative;
}
.l-inner-fill {
	width: auto;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}
.l-inner-full {
	width: auto;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	padding-inline: calc(50vw - 50% + 8px);
}
.stack-lg > * + * {
	/* margin-block-start: min(15.4vw, 120px); */
	margin-block-start: 120px;
}
.stack-md > * + * {
	margin-block-start: 80px;
}
.stack-sm > * + * {
	margin-block-start: 40px;
}
.flow > * + * {
	margin-block-start: 3em;
}

@media screen and (min-width: 768px) {
	/* .l-sectionでは左右のパディングのみ設定 */
	.l-section {
		padding-top: 120px; /*横方向 */
		padding-bottom: 120px; /*横方向 */
	}
}
@media screen and (min-width: 960px) {
	/* .l-sectionでは左右のパディングのみ設定 */
	.l-section {
		padding-top: 120px; /*横方向 */
		padding-bottom: 120px; /*横方向 */
	}
	.l-container {
		max-width: 1300px;
		width: auto;
		padding-left: min(8.3vw, 100px); /*横方向 */
		padding-right: min(8.3vw, 100px); /*横方向 */
	}
}

/* ----------------背景色設定---------------- */
.is-bg--white {
	background: var(--white);
}
.is-bg--green {
	background: var(--main);
	background: url(./img/common/skin-bg.png);
	color: white;
}
.is-bg--green .content-title::before {
	color: white;
}

/* -------------------------------------------------------- */
/* フレックスボックス ------------------------------------- */
/* -------------------------------------------------------- */
.f-container {
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.gap-40 {
	gap: 40px;
}
.gap-80 {
	gap: 80px;
}
.gap-100 {
	gap: 100px;
}
.gap-120 {
	gap: 120px;
}
@media screen and (min-width: 768px) {
	.f-container {
		display: flex;
		flex-direction: row;
	}
	/* 5:5の割合 */
	.f-5-5 .f-item {
		flex: 1; /* 子要素の幅を等分 */
		min-width: 0;
	}
	/* 4:6の割合 */
	.f-4-6 .f-item:nth-child(1) {
		flex: 4; /* 子要素の幅を6に設定 */
		min-width: 0;
	}
	.f-4-6 .f-item:nth-child(2) {
		flex: 6; /* 子要素の幅を4に設定 */
		min-width: 0;
	}
	/* 6:4の割合 */
	.f-6-4 .f-item:nth-child(1) {
		flex: 6; /* 子要素の幅を6に設定 */
		min-width: 0;
	}
	.f-6-4 .f-item:nth-child(2) {
		flex: 4; /* 子要素の幅を4に設定 */
		min-width: 0;
	}
	/* 7:3の割合 */
	.f-7-3 .f-item:nth-child(1) {
		flex: 7; /* 子要素の幅を7に設定 */
		min-width: 0;
	}
	.f-7-3 .f-item:nth-child(2) {
		flex: 3; /* 子要素の幅を3に設定 */
		min-width: 0;
	}
	/* 3:7の割合 */
	.f-3-7 .f-item:nth-child(1) {
		flex: 3; /* 子要素の幅を7に設定 */
		min-width: 0;
	}
	.f-3-7 .f-item:nth-child(2) {
		flex: 7; /* 子要素の幅を3に設定 */
		min-width: 0;
	}
	/* 2:8の割合 */
	.f-2-8 .f-item:nth-child(1) {
		flex: 2; /* 子要素の幅を7に設定 */
		min-width: 0;
	}
	.f-2-8 .f-item:nth-child(2) {
		flex: 8; /* 子要素の幅を3に設定 */
		min-width: 0;
	}
	.f-8-2 .f-item:nth-child(1) {
		flex: 8; /* 子要素の幅を7に設定 */
		min-width: 0;
	}
	.f-8-2 .f-item:nth-child(2) {
		flex: 2; /* 子要素の幅を3に設定 */
		min-width: 0;
	}
	/* 縦方向中央揃え */
	.f-align-center {
		align-items: center;
	}
	.f-reverse {
		flex-direction: row-reverse;
	}
}

@media screen and (min-width: 768px) {
	.pc-80 {
		width: 80%;
		margin-inline: auto;
	}
}

/* ------------------------------------------------------------- */
/* リードエリアスタイル----------------------------------------- */
/* ------------------------------------------------------------- */

.lead-area {
	margin: 80px auto 80px;
	width: auto;
	max-width: 60ch;
	text-align: left;
	line-height: 2;
}
.lead-area__ttl {
	font-size: 3rem;
	line-height: 1.7;
	font-weight: 500;
	text-align: left;
	color: var(--main);
	font-family: var(--jp-font);
}
.lead-area span {
	display: inline-block;
}
.lead-area p {
	font-weight: 500;
	font-size: clamp(1.6rem, calc((100vw - 600px) * 0.006 + 1.6rem), 2.4rem);
	text-align: left;
	margin: 1em 0 0;
}
.lead-area p:firs-child {
	margin: 0;
}

.lead-area figure {
	margin-left: -5%;
	margin-right: -5%;
}
.lead-area img {
	aspect-ratio: 2 / 1;
	object-fit: cover;
	object-position: center;
}

@media screen and (min-width: 768px) {
	.lead-area {
		width: fit-content;
		max-width: 1100px;
		text-align: center;
	}
	.lead-area__ttl {
		text-align: center;
	}
	.lead-area p {
		text-align: center;
	}
	.lead-area span {
		display: inline-block;
	}
}

/* ------------------------------------------------------------- */
/* ボタンライブラリ--------------------------------------------- */
/* ------------------------------------------------------------- */

.btns {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
	container-type: inline-size;
}

.btns--row {
	display: flex;
}
.btns--col {
	display: flex;
	flex-direction: column;
}
.btns--center {
	justify-content: center;
}

.btn {
	text-align: center;
	position: relative;
	transition: 0.2s;
	color: var(--accent);
	background-color: var(--white);

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;

	color: inherit;
	background: none;
	border: 1px solid transparent;

	font-weight: 600;
	text-decoration: none;

	/* “サイズの基準” */
	min-height: 40px; /* md */
	padding-inline: 16px; /* md */
	font-size: 14px; /* md */
}

/* Primary */
.btn--primary {
	background: var(--main);
	color: #fff;
}

/* Secondary */
.btn--secondary {
	background: var(--accent);
	color: #fff;
}

/* Ghost */
.btn--ghost {
	background: transparent;
	color: var(--main);
	border-color: currentColor;
}

/* Danger */
.btn--danger {
	background: var(--color-danger);
	color: #fff;
}

/* 角を丸くする */
.btn--pill {
	border-radius: 999px;
}

/* サイズ差分 */
.btn--sm {
	min-height: 32px;
	padding-inline: 12px;
	font-size: 13px;
}

.btn--lg {
	min-height: 48px;
	padding-inline: 20px;
	font-size: 16px;
}

.btn--panel {
	display: inline-flex;
	flex-direction: column;
	align-items: center;

	padding: 24px 64px;
	text-align: center;
}

.btn__title {
	font-size: 16px;
	font-weight: 600;
}

.btn__sub {
	margin-top: 4px;
	font-size: 13px;
	color: #555;
}

/* panel縦並びの“枠”を作る */
.btns--panel-col {
	display: grid;
	gap: 16px;

	/* ここで幅の上限を決める（例） */
	max-width: 720px;

	/* 置き場所：中央寄せならこれ */
	margin-inline: auto;

	/* SPは左右余白 */
	padding-inline: 16px;
}

/* ボタンは枠いっぱい＝幅が揃う */
.btns--panel-col .btn {
	width: 100%;
}

/* ボタン内の気持ちよさはbtn--panelが担当 */
.btn--panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;

	padding: 24px 48px; /* 内側余白は好みで */
}

/* ここから “本文モード”（長文用ラッパー） */
.richtext {
	line-height: 2.3;
}
.richtext h2 {
	margin-block: 2em 0.6em;
}
.richtext h3 {
	margin-block: 1.6em 0.5em;
}
.richtext h4 {
	margin-block: 1.2em 0.4em;
}
.richtext :where(h2, h3, h4):first-child {
	margin-block-start: 0;
}
/* リセット（特異性 0,1,0 に落ちる） */
.richtext :where(p, ul, ol, figure) {
	margin: 0;
}
.richtext > * + * {
	margin-block-start: 2em;
} /* で、段落リズムを統一 */

.richtext ul {
	padding-inline-start: 1.2em;
}
.richtext li + li {
	margin-block-start: 0.4em;
}

/* その他・詳細テーブル */
.label-box {
	border: 1px solid var(--main);
	border-radius: 12px;
	padding: 40px 20px 40px;
	position: relative;
	margin-top: 80px;
}

.label-box__tag {
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--main);
	padding: 8px 24px;
	border-radius: 999px;
	color: #fff;
	font-size: 1em;
	white-space: nowrap;
}

.label-box__body {
	margin-top: 20px;
}

/* 汎用テーブル設定--------------------------------------- */
.table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.defalt-table {
	width: 100%;
}
.defalt-table th {
	text-align: center;
	vertical-align: middle;
	background-color: #f5f5f5;
	font-weight: 500;
}
.defalt-table td {
	vertical-align: middle;
}
.defalt-table th,
.defalt-table td {
	border: 1px solid #ccc;
	padding: 1em 1.5em;
	padding: 0.5em 1em;
}
.defalt-table thead th:first-child,
.defalt-table tbody th:first-child {
	width: 30%;
}

/* 汎用データテーブル--------------------------------------- */
.dl-info {
	display: flex;
	flex-direction: column;
}
.dl-info > div {
	display: flex;
	padding: 24px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}
.dl-info dt {
	flex: 1;
	width: max-content;
	font-weight: 600;
	color: rgba(0, 0, 0, 0.5);
}
.dl-info dd {
	flex: 3;
	font-weight: 500;
}

/* ---------------------------写真ブロック--------------------------- */
.eyecatch-block {
	position: relative;
	background: url(./img/hero/pc/hero-27@2560w.webp) center/cover no-repeat;
	height: 50vh;
	min-height: 320px;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	padding-inline: calc(50vw - 50%);
	display: flex;
	align-items: center; /* 上に文字が乗るなら中央揃え */
	color: #fff; /* 背景が暗い場合 */
}
.eyecatch-block::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(1, 64, 59, 0.4);
	z-index: 1;
}
.eyecatch-block__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	padding-inline: 20px;
	height: 100%;
}

@media screen and (min-width: 768px) {
	.eyecatch-block {
		height: 55vh;
		min-height: 480px;
		max-height: 720px;
	}
	.eyecatch-block.is-large {
		height: 100vh;
		max-height: 1440px;
	}
}

/* 一覧グリッド--------------------------------- */
.card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

/* スマホ専用設定 */
.card-grid[data-cols-sp='2'] {
	grid-template-columns: repeat(2, 1fr);
}

/* PC以降（768px〜）の設定 */
@media screen and (min-width: 768px) {
	.card-grid {
		gap: 40px;
	}
	.card-grid[data-cols-pc='2'] {
		grid-template-columns: repeat(2, 1fr);
	}
	.card-grid[data-cols-pc='3'] {
		grid-template-columns: repeat(3, 1fr);
	}
	.card-grid[data-cols-pc='4'] {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* カードデザイン--------------------------------- */
.card {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.card__image {
}
.card__image img {
	object-fit: cover;
	aspect-ratio: 3 / 2;
	width: 100%;
	height: 100%;
}
.card__ttl {
	font-weight: 600;
	margin-block: 0.5em 0.3em;
}
.card__ttl::before {
	content: attr(data-en);
	text-transform: capitalize;
	display: block;
	line-height: 1;
	font-size: 0.75em;
	font-family: var(--en-font);
}
.card__desc {
	font-size: 1.3rem;
	line-height: 1.6;
	margin-bottom: 0.5em;
}
.card__dl {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
}
.card__dl > li {
	flex: 100%;
}
.card__dl > li a {
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	background: var(--main-light);
	color: #fff;
	font-size: clamp(1.2rem, calc((100vw - 390px) * 0.003 + 1.2rem), 1.3rem);
	text-decoration: none;
	border-radius: 8px;
	padding-inline: 12px;
	padding-block: 8px;
	transition: 0.3s;
}
.card__dl > li a[href$='.pdf'] {
	/* 好きなスタイル */
	background: var(--main-light);
}

/* DOC / DOCX へのリンク */
.card__dl > li a[href$='.doc'],
.card__dl > li a[href$='.docm'],
.card__dl > li a[href$='.docx'] {
	/* 好きなスタイル */
	background: var(--main-light);
}
.card__dl > li a::after {
	content: 'download';
	font-family: 'Material Symbols Outlined';
}
.card__dl > li a:hover {
	opacity: 0.7;
}

/* 公開資料（ダウンロードテーブル) */

.dl-list {
	list-style: circle;
	padding-left: 1em;
}
.dl-list li + li {
	margin-top: 0.2em;
}
.dl-list li a::after {
	content: 'download';
	font-family: 'Material Symbols Outlined';
}

.text-list {
	font-size: 1em;
	text-indent: -1em;
	padding-left: 1em;
}
.text-list li + li {
	margin-top: 0.5em;
}

.child-news {
	display: flex;
	flex-direction: column;
	gap: 0.4em;
}
.child-news .news__item {
	flex: 100%;
	display: flex;
	flex-direction: column;
}
.child-news .news__item a {
	color: var(--main);
}
.child-news .news__cate {
	display: none;
}
.child-news .news__date {
	font-weight: 600;
	font-size: 14px;
}
@media screen and (min-width: 768px) {
	.child-news {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.4em;
	}
	.child-news .news__item {
		flex: 100%;
		display: flex;
		flex-direction: row;
		gap: 16px;
	}
}

/* シンプルフェード設定--------------------------------- */
/* .swiper-fade {
}
.swiper-fade .swiper-wrapper {
}
.swiper-fade .swiper-slide {
	text-align: center;
}
.swiper-fade .swiper-slide figure {
	display: block;
	place-items: center;
	width: 100%;
	margin: 0;
}
.swiper-fade img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
} 
.swiper-fade figcaption {
	margin-top: 0.5rem;
	font-size: 0.9em;
} */

/* スマホ（Swiper時）は特に指定なくてもOK。必要なら高さなど */
.js-carousel .swiper-slide img {
	width: 100%;
	height: auto;
	display: block;
}

/* PCはグリッドに切り替え（Swiperは破棄される前提） */
@media (min-width: 768px) {
	.js-carousel .swiper {
		overflow: visible;
	}
	.js-carousel .swiper-pagination {
		display: none;
	}

	.js-carousel .swiper-wrapper {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr)); /* 列数は好みで */
		gap: 16px;
	}

	.js-carousel .swiper-slide {
		width: auto;
	} /* 念のため */
}

.double-swiper img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.gallery-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}
@media (min-width: 768px) {
	.gallery-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 20px;
	}
}
/* スマホ：Swiperのまま（基本触らん） */

/* PC：一覧表示にする */
@media (min-width: 768px) {
	.gallery-grid .swiper-wrapper {
		display: grid !important;
		grid-template-columns: repeat(4, 1fr); /* 好きに */
		gap: 16px;
		transform: none !important; /* Swiperが動かした痕跡を無効化 */
	}

	.gallery-grid .swiper-slide {
		width: auto !important; /* Swiperがwidthを付けるので殺す */
		height: auto !important;
	}

	.gallery-grid .swiper-pagination {
		display: none;
	}
}

.float_l {
	margin-bottom: 20px;
	margin-right: 20px;
	float: left;
	width: 50%;
}
.float_r {
	margin-bottom: 20px;
	margin-left: 20px;
	float: right;
	width: 50%;
}
.parent::after {
	content: '';
	display: block;
	clear: both;
}

.club-list .card__ttl {
	text-align: center;
}

/* ------------------------------------------------------------- */
/* aos設定------------------------------------------------- */
/* ------------------------------------------------------------- */
[data-aos='fade-left'] {
	transform: translate3d(30px, 0, 0);
}
[data-aos='fade-right'] {
	transform: translate3d(-30px, 0, 0);
}
/* ------------------------------------------------------------- */
/* JS設定------------------------------------------------- */
/* ------------------------------------------------------------- */

/* 初期状態 */
.js-inview {
	opacity: 0;
	transform: translateY(12px);
	transition:
		opacity 0.6s ease,
		transform 0.6s ease;
}

/* 発火後 */
.js-inview.is-inview {
	opacity: 1;
	transform: none;
}

.fade-right {
	transform: translateX(20px);
}

.fade-left {
	transform: translateX(-20px);
}

.fade-right.is-inview,
.fade-left.is-inview {
	transform: none;
}

.js-inview-step > * {
	opacity: 0;
	transform: translateY(12px);
	transition: 0.5s;
	transition-delay: calc(var(--i, 0) * 300ms);
}

.js-inview-step.is-inview > * {
	opacity: 1;
	transform: none;
}
