/* common.css */
@charset "utf-8";

/* ==========================================================================
   COMMON CSS — Organized by role (original declarations retained)
   ========================================================================== */

/* ==========================================================================
   LAYOUT
   ========================================================================== */

/* コンテナ設定------------------------------------------------- */
/* ------------------------------------------------------------- */

/* .l-sectionでは横幅100%で左右のパディングのみ設定 */
.l-section,
.l-visual-section {
	position: relative;
	padding-block: min(15.4vw, 80px);
}
.l-section {
	margin-inline: auto;
	overflow: hidden;
}
@media (min-width: 768px) {
	.l-section,
	.l-visual-section {
		padding-block: 120px;
	}
}
/* 背景画像付きセクション */
.l-visual-section {
	position: relative;
	isolation: isolate;

	min-height: 40vh;

	display: flex;
	flex-direction: column;
	justify-content: center;

	background-image: var(--bg-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;

	color: #fff;
}

/* オーバーレイ */
.l-visual-section::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;

	background-color: var(--overlay-color, var(--main-dark));
	opacity: var(--overlay-opacity, 0.4);
}

/* 大型 */
.l-visual-section--large {
	min-height: 70vh;
}

/* PC背景固定 */
@media (min-width: 1024px) {
	.l-visual-section--fixed {
		background-attachment: fixed;
	}
}
.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 + 8px);
}
.l-inner-full {
	width: auto;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	padding-inline: calc(50vw - 50% + 8px);
}
.stack-lg > * + * {
	margin-block-start: clamp(96px, 10vw, 144px);
}

.stack-md > * + * {
	margin-block-start: clamp(64px, 6.5vw, 96px);
}

.stack-sm > * + * {
	margin-block-start: clamp(32px, 4vw, 48px);
}

.flow > * + * {
	margin-block-start: 2em;
}

@media (min-width: 768px) {
	/* .l-sectionでは左右のパディングのみ設定 */
	.l-section {
		padding-top: 120px; /*横方向 */
		padding-bottom: 120px; /*横方向 */
	}
}
@media (min-width: 1024px) {
	/* .l-sectionでは左右のパディングのみ設定 */
	.l-section {
		padding-top: 120px; /*横方向 */
		padding-bottom: 120px; /*横方向 */
	}
	.l-container {
		max-width: 1360px;
		width: auto;
		padding-left: min(8.3vw, 100px); /*横方向 */
		padding-right: min(8.3vw, 100px); /*横方向 */
	}
	.l-container--wide {
		padding-left: 0; /*横方向0 */
		padding-right: 0; /*横方向0 */
	}
	.l-inner-wide {
		margin-inline: calc(-1 * min(8.3vw, 100px));
	}
	.l-visual-section > .l-container {
		width: 100%;
	}
}

/* -------------------------------------------------------- */
/* フレックスボックス ------------------------------------- */
/* -------------------------------------------------------- */

/* 基本 */
.l-flex {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.l-flex > :where(*) {
	min-width: 0;
}

/* SP逆順 */
.l-flex:where([data-dir-sp='reverse']) {
	flex-direction: column-reverse;
}

/* 間隔 */
.l-flex[data-gap='0'] {
	gap: 0;
}
.l-flex[data-gap='20'] {
	gap: 20px;
}
.l-flex[data-gap='40'] {
	gap: 40px;
}
.l-flex[data-gap='80'] {
	gap: 80px;
}
.l-flex[data-gap='120'] {
	gap: 120px;
}

/* PC */
@media (min-width: 768px) {
	.l-flex {
		flex-direction: row;
		gap: 80px;
	}

	.l-flex > * {
		flex: 1;
	}

	.l-flex[data-dir-pc='reverse'] {
		flex-direction: row-reverse;
	}
	/* 中央揃え */
	.l-flex[data-align='center'] {
		align-items: center;
	}

	/* 比率 */
	.l-flex[data-ratio='2:8'] > :first-child {
		flex: 2;
	}
	.l-flex[data-ratio='2:8'] > :last-child {
		flex: 8;
	}

	.l-flex[data-ratio='3:7'] > :first-child {
		flex: 3;
	}
	.l-flex[data-ratio='3:7'] > :last-child {
		flex: 7;
	}

	.l-flex[data-ratio='4:6'] > :first-child {
		flex: 4;
	}
	.l-flex[data-ratio='4:6'] > :last-child {
		flex: 6;
	}

	.l-flex[data-ratio='6:4'] > :first-child {
		flex: 6;
	}
	.l-flex[data-ratio='6:4'] > :last-child {
		flex: 4;
	}

	.l-flex[data-ratio='7:3'] > :first-child {
		flex: 7;
	}
	.l-flex[data-ratio='7:3'] > :last-child {
		flex: 3;
	}

	.l-flex[data-ratio='8:2'] > :first-child {
		flex: 8;
	}
	.l-flex[data-ratio='8:2'] > :last-child {
		flex: 2;
	}
}
/* 一覧グリッド--------------------------------- */
/* 基本 */
.l-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

/* SP列数 */
.l-grid[data-cols-sp='2'] {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 共通gap */
.l-grid[data-gap='0'] {
	gap: 0;
}
.l-grid[data-gap='8'] {
	gap: 8px;
}
.l-grid[data-gap='16'] {
	gap: 16px;
}
.l-grid[data-gap='24'] {
	gap: 24px;
}
.l-grid[data-gap='40'] {
	gap: 40px;
}
.l-grid[data-gap='80'] {
	gap: 80px;
}

/* PC */
@media (min-width: 768px) {
	.l-grid {
		gap: 4px;
	}

	.l-grid[data-cols-pc='2'] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.l-grid[data-cols-pc='3'] {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.l-grid[data-cols-pc='4'] {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	/* PC専用gap */
	.l-grid[data-gap-pc='0'] {
		gap: 0;
	}
	.l-grid[data-gap-pc='8'] {
		gap: 8px;
	}
	.l-grid[data-gap-pc='16'] {
		gap: 16px;
	}
	.l-grid[data-gap-pc='24'] {
		gap: 24px;
	}
	.l-grid[data-gap-pc='40'] {
		gap: 40px;
	}
	.l-grid[data-gap-pc='80'] {
		gap: 80px;
	}
}
/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

/* ----------------------------------------
   Text Emphasis
---------------------------------------- */

/* 重要・強調 */
strong,
b {
	font-weight: 700;
}

/* 文脈上の強調 */
em {
	font-style: italic;
}

/* ハイライト */
mark {
	color: inherit;
	background-color: #fff2a8;
	padding-inline: 0.15em;
}

/* ------------------------------------------------------------- */
/* リードエリアスタイル----------------------------------------- */
/* ------------------------------------------------------------- */

.lead-area {
	margin: 80px auto 80px;
	width: auto;
	max-width: 60ch;
	text-align: left;
	line-height: 2;
	font-family: var(--jp-font);
}
.lead-area > * + * {
	margin-top: 2em;
}
.lead-area__ttl {
	font-size: 2.2em;
	line-height: 1.7;
	font-weight: 700;
	text-align: center;
	color: var(--main);
}
.lead-area span {
	display: inline;
}
.lead-area p {
	font-weight: 600;
	font-size: clamp(1.6rem, calc((100vw - 600px) * 0.006 + 1.6rem), 2.4rem);
	text-align: left;
}
.lead-area img {
	aspect-ratio: 2 / 1;
	object-fit: cover;
	object-position: center;
}

@media (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;
	}
}

/* ------------------------------------------------------------- */
/* 汎用見出しエリア------------------------------------------- */
/* ------------------------------------------------------------- */
.heading-note {
	background-color: var(--silver-light);
	padding: 0.5em 1em;
	font-weight: 600;
	font-size: 1.4em;
}
/* ------------------------------------------------------------- */
/* 汎用テキストエリア------------------------------------------- */
/* ------------------------------------------------------------- */

.text-alert {
	color: var(--alert);
	font-weight: 700;
}
.text-heading {
	font-weight: 600;
	font-size: var(--heading-small);
}
.text-area {
	line-height: 1.7;
}
.text-area :where(h2, h3, h4, p, ul, ol, figure) {
	margin: 0;
}
/* 基本の要素間 */
.text-area > * + * {
	margin-block-start: 2em;
}
.text-area > :first-child {
	margin-block-start: 0;
}
/* 見出しの前はしっかり空ける */
.text-area > :where(h2) {
	font-size: 1.4em;
	font-weight: 600;
	margin-block-start: 3em;
}
.text-area > :where(h3) {
	font-size: 1.2em;
	font-weight: 600;
	margin-block-start: 2.4em;
}
.text-area > :where(h4) {
	font-size: 1em;
	font-weight: 600;
	margin-block-start: 2em;
}
/* 見出し直後は詰める */
.text-area > :is(h2, h3, h4) + * {
	margin-block-start: 2em;
}
/* 最初に見出しが来ても上は空けない */
.text-area > :where(:first-child) {
	margin-block-start: 0;
}
.text-area :where(ul) {
	padding-inline-start: 1.2em;
	list-style: square;
}
.text-area :where(li + li) {
	margin-block-start: 0.4em;
}
.text-note {
	font-size: 0.9em;
	line-height: 1.6;
	color: var(--text-muted);
}
.text-area a {
	color: var(--link);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
.text-area a:hover {
	color: var(--link-hover);
	text-decoration: none;
}

:where(.u-caption) {
	text-align: right;
	padding: 0.1em 0;
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* ------------------------------------------------------------- */
/* ボタンライブラリ--------------------------------------------- */
/* ------------------------------------------------------------- */
.btn-group {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
.btn-group--left {
	justify-content: flex-start;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 320px);
	min-height: 48px;
	padding: 0.8em 1.4em;
	text-align: center;
	text-decoration: none;
	position: relative;
	cursor: pointer;
	transition: 0.2s;
}

/* サイズ */
.btn--sm {
	min-height: 36px;
	padding: 0.4em 0.9em;
	font-size: 0.9em;
}
.btn--lg {
	width: min(100%, 640px);
	min-height: 64px;
	padding: 1em 2em;
}
.btn--full {
	width: 100%;
	min-height: 64px;
	padding: 1em 2em;
}
/* 形状 */
.btn--round {
	border-radius: 999px;
}
/* 機能 */
.btn--download::after {
	content: 'download';
	font-family: var(--icons);
	font-size: 1.15em;
	margin-left: 0.5em;
}
.btn--external::after {
	content: 'open_in_new';
	font-family: var(--icons);
	font-size: 1.15em;
	margin-left: 0.5em;
}
.btn--next::after {
	content: 'arrow_forward';
	font-family: var(--icons);
	font-size: 1.15em;
	margin-left: 0.5em;
}
.btn--prev::before {
	content: 'arrow_back';
	font-family: var(--icons);
	font-size: 1.15em;
	margin-right: 0.5em;
}
.btn--disabled {
	cursor: default;
	pointer-events: none;
}

/* 汎用テーブル設定--------------------------------------- */
.table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.def-table {
	width: 100%;
	background-color: #fff;
}
:where(.def-table a) {
	color: var(--link);
}
:where(.def-table a:hover) {
	color: var(--link-hover);
	text-decoration: underline;
}
.def-table th {
	text-align: center;
	vertical-align: middle;
	background-color: #f5f5f5;
	font-weight: 500;
}
.def-table td {
	vertical-align: middle;
}
.def-table th,
.def-table td {
	border: 1px solid #ccc;
	padding: 1em 1.5em;
	padding: 0.5em 1em;
}
.def-table thead th:first-child,
.def-table tbody th:first-child {
	width: 30%;
}
.def-table-fixed {
	table-layout: fixed;
}
.def-table-fixed thead th:first-child,
.def-table-fixed tbody th:first-child {
	width: auto;
}
.def-table-fixed th,
.def-table-fixed td {
	width: auto;
}
@media (min-width: 768px) {
	.table-scroll {
		overflow-x: visible;
		-webkit-overflow-scrolling: touch;
	}
}

/* 汎用データテーブル--------------------------------------- */
.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;
}

/* ------------------------------------------- */
/* 進路実績リスト--------------------------------- */
/* ------------------------------------------- */
.shinro-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.shinro-list li {
	display: inline-block;
	font-size: 0.9em;
	padding: 0.4em;
	border-bottom: 1px solid silver;
}
.shinro-list li::before {
	content: '■';
	content: none;
	margin-right: 0.3em;
}
@media screen and (min-width: 768px) {
	.shinro-list {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
}
.shinro-list > li span:nth-child(1)::before {
}
.shinro-list > li span:nth-child(2) {
	/* margin-left: 0.5em; */
	opacity: 0.8; /* トーン抑えて視覚的階層をつけても◎ */
	font-size: 0.95em; /* 少しだけ小さくして“注釈感”出すのもあり */
}

/* カードデザイン--------------------------------- */
.card {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.card__image {
	width: 100%;
	min-width: 0;
}
.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);
}

.u-card__ttl--center .card__ttl {
	text-align: center;
}
.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);
	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);
}

/* DOC / DOCX へのリンク */
.card__dl > li a[href$='.doc'],
.card__dl > li a[href$='.docm'],
.card__dl > li a[href$='.docx'] {
	/* 好きなスタイル */
	background: var(--main);
}
.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';
}

/* 補足情報 */
.info-box {
	padding: clamp(20px, 3vw, 40px);
}
.info-box > * + * {
	margin-top: 16px;
}

/* 補足情報（ちなみにバージョン） */
.info-box--plus {
	background: var(--base);
	border-radius: 24px;
}

/* 補足情報（かっちりバージョン） */
.info-box--aside {
	background-color: var(--silver-light);
	border-left: 4px solid var(--main);
}
.info-box--aside .info-box__title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--silver);
}
.info-box--aside .info-box__links {
	display: grid;
	gap: 8px;
	list-style: none;
	padding: 0;
}
.info-box--aside a {
	color: var(--main);
}
.info-box--aside a:hover {
	text-decoration: underline;
}
.info-box__links li {
	padding-left: 1em;
	position: relative;
}
.info-box--aside .info-box__links li::before {
	content: '・';
	position: absolute;
	left: 0;
}

/* スクロールエリア表示設定 */
.scroll_aria {
	position: relative;
	overflow-x: auto;
	overflow-y: hidden;
	/* white-space: nowrap; */
}
.scroll_aria::-webkit-scrollbar {
	height: 5px;
}
.scroll_aria::-webkit-scrollbar-track {
	background: #ccc;
}
.scroll_aria::-webkit-scrollbar-thumb {
	background: var(--sub);
}
.scroll_aria figcaption {
	font-size: 0.8em;
}

/* PCでは一覧表示（SPではswiper表示） */
@media (min-width: 768px) {
	.card-slider__list {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
	}

	.card-slider__item {
		width: auto;
	}

	.card-slider__pagination,
	.card-slider__prev,
	.card-slider__next {
		display: none;
	}
}

/* 学校説明会カード */
.schedule__list {
	display: flex;
	flex-flow: row wrap;
	gap: 10px;
	margin-inline: auto;
}

.schedule__item {
	flex: 0 1 calc((100% - 10px * 1) / 2);
	aspect-ratio: 1;
	background-color: var(--main);
	position: relative;
	font-size: min(13vw, 64px);
	font-family: var(--en-font);
	font-style: italic;
	font-weight: 400;
	line-height: 1.6;
	color: #fff;
}
.schedule__item > a {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
}

.schedule__item.--fin::after {
	content: '終了しました';
	font-size: 1.6rem;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.schedule__item::before {
	content: attr(title);
	position: absolute;
	top: 0;
	left: 0;
	background-color: var(--sub);
	color: var(--main);
	padding: 0.3em 1em;
	font-size: min(0.24em, 1.3rem);
	font-style: normal;
}

.schedule__year {
	display: block;
	width: fit-content;
	border-bottom: 1px solid #fff;
	position: absolute;
	top: 13%;
	right: 1em;
	font-size: 0.4em;
}

.schedule__month,
.schedule__slash,
.schedule__day {
	position: absolute;
}

.schedule__month {
	bottom: 40%;
	right: 60%;
}

.schedule__slash {
	top: 45%;
	left: 28%;
}

.schedule__day {
	top: 47%;
	left: 50%;
}

.schedule__week {
	position: absolute;
	top: 31%;
	right: 1em;
	font-size: 0.4em;
}

.schedule__caption {
	margin-top: 1em;
	font-size: var(--small);
}
@media screen and (min-width: 600px) {
	.schedule__item {
		flex: 0 1 calc((100% - 10px * 3) / 4);
		font-size: min(6vw, 84px);
	}
}

/* ==========================================================================
   MEDIA
   ========================================================================== */

/* Googleマップ汎用ボックス----------------- */
.gmap {
	width: 100%;
	aspect-ratio: 4/3;
	overflow: clip;
	border-radius: 16px;
}
.gmap iframe {
	width: 100%;
	height: 100%;
}
@media (min-width: 768px) {
	.gmap {
		width: 100%;
		height: 500px;
	}
	.gmap iframe {
		width: 100%;
		height: 100%;
	}
}

/* youtubeマップ汎用ボックス----------------- */
.youtube {
	width: 100%;
	aspect-ratio: 16/9;
	overflow: hidden;
}
.youtube iframe {
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

/* カテゴリない別ページへ--------------------------------- */
.category-wrapper {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--main);
}
.category-ttl {
	background: var(--main);
	text-align: center;
	color: var(--white);
	padding: 24px;
}
.category-ttl span {
	display: block;
	text-transform: uppercase;
	font-family: var(--en-font);
}
.category-nav {
	flex: 1;
}
.category-nav__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	padding: 24px;
}
.category-nav__list a {
	display: flex;
	align-items: center;
	padding: 0.25em 0.5em;
	color: var(--link);
}
.category-nav__list a:hover {
	color: var(--link-hover);
}
.category-nav__list a::before {
	content: 'arrow_right';
	font-family: var(--icons);
}
@media (min-width: 768px) {
	.category-wrapper {
		flex-direction: row;
		align-items: center;
	}
	.category-ttl {
		flex-basis: 300px;
	}
	.category-nav__list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		padding: 0 24px;
	}
}

/* ページトップへ戻る--------------------------------- */
.page-top {
	position: fixed;
	right: 20px;
	bottom: 0;
	z-index: 100;

	width: 100px;

	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;

	opacity: 0;
	visibility: hidden;

	transform: translateY(40px);

	transition:
		opacity 0.3s ease,
		transform 0.3s ease,
		visibility 0.3s;
}

.page-top.is-show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.page-top img {
	display: block;
	width: 100%;
	height: auto;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

/* ----------------背景色設定---------------- */
.is-bg--white {
	background-color: #fff;
}
.is-bg--dark {
	background-color: var(--main-dark);
	color: var(--white);
}
.is-bg--light {
	background-color: var(--main-light);
}
.is-bg--white + .is-bg--white {
	padding-top: 0;
}

/* ==========================================================================
   UI
   ========================================================================== */

/* loading画面----------------------------- */
.c-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: var(--main);
}
.c-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 (min-width: 768px) {
	.c-loader::before {
		background-size: 25% auto;
		width: 100%;
		height: 100%;
	}
}

/* ==========================================================================
   LIBRARIES
   ========================================================================== */

/* ------------------------------------------------------------- */
/* aos設定------------------------------------------------- */
/* ------------------------------------------------------------- */
[data-aos='fade-left'] {
	transform: translate3d(30px, 0, 0);
}
[data-aos='fade-right'] {
	transform: translate3d(-30px, 0, 0);
}
/* ------------------------------------------------------------- */

/* Swiperページネーション------------------------------- */
.swiper-pagination {
	text-align: center;
	margin-top: 10px;
	position: static; /* ← 重ならないように */
}
.swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	border-radius: 0;
	background: #999;
	opacity: 1;
	transition:
		width 0.3s,
		background 0.3s;
}
.swiper-pagination-bullet-active {
	width: 24px;
	background: var(--sub);
}

/* Swiperシンプルフェード設定--------------------------------- */
.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%;
}

.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;
}
