@charset "utf-8";

/*######################################################
私たちについて（2026リニューアル）
Figma 296:1234「260902_デザイン_私たちについて」
######################################################*/

/* ==============================
S1 ロータリークラブとは
============================== */
.about-rotary {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 48px;
	border-radius: 16px;
	background-color: var(--c-navy-50);
}

.about-rotary__text {
	font-size: 17px;
	line-height: 2.1;
	color: var(--c-ink);
}

.about-rotary__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.about-rotary .c-button {
	min-height: 60px;
	padding: 0 26px 0 30px;
	font-size: 16px;
}

.about-rotary .c-button--primary {
	background-image: linear-gradient(160deg, var(--c-navy-500) 0%, var(--c-navy-900) 100%);
	box-shadow: 0 6px 16px rgba(18, 35, 61, 0.16);
}


/* ==============================
S3 理事会（2列の表）
============================== */
.about-board {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	border-radius: 16px;
	background-color: var(--c-white);
}

.about-board__row {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 20px 30px;
}

.about-board__row + .about-board__row {
	border-top: 1px solid var(--c-navy-100);
}

.about-board__row dt {
	flex: none;
	width: 190px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.7;
	color: var(--c-navy-700);
}

.about-board__row dd {
	font-family: var(--f-serif);
	font-weight: 500;
	font-size: 19px;
	line-height: 1.7;
	color: var(--c-navy-900);
}


/* ==============================
S3 役員のカード（表の下のスライダー。page-about.js）
・写真は assets/img/board/{photo}.webp（page-about.php の $board）。無い間は歯車の淡い色面
============================== */
.about-officers {
	margin-top: 56px;
}

.about-officers__track {
	overflow: hidden;
}

.about-officers__list {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.about-officers__card {
	width: 220px;
}

.about-officers__photo {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 12px;
	background-color: var(--c-navy-50);
	overflow: hidden;
}

.about-officers__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-officers__photo--empty::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url(../img/common/rotary-wheel.svg) center / 50% auto no-repeat;
	opacity: 0.2;
}

.about-officers__role {
	margin-top: 16px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--c-navy-700);
}

.about-officers__name {
	margin-top: 2px;
	font-family: var(--f-serif);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.6;
	color: var(--c-navy-900);
}

/* 進捗バー＋前後ボタン */
.about-officers__controls {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 32px;
}

.about-officers .about-officers__progress {
	position: relative;
	flex: 1;
	width: auto;
	height: 2px;
	margin-right: 16px;
	background-color: var(--c-card-line);
}

.about-officers .about-officers__progress .swiper-pagination-progressbar-fill {
	background-color: var(--c-navy-700);
}

.about-officers__nav {
	position: relative;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--c-navy-700);
	cursor: pointer;
	transition: background-color 0.3s ease, opacity 0.3s ease;
}

/* 矢印（軸＋矢じり） */
.about-officers__nav::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 16px;
	height: 1px;
	background-color: var(--c-white);
}

.about-officers__nav::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 7px;
	height: 7px;
	border-top: 1px solid var(--c-white);
	border-left: 1px solid var(--c-white);
	transform: translateX(-5px) rotate(-45deg);
}

.about-officers__nav--next::after {
	border-top: 0;
	border-left: 0;
	border-bottom: 1px solid var(--c-white);
	border-right: 1px solid var(--c-white);
	transform: translateX(5px) rotate(-45deg);
}

.about-officers__nav:hover {
	background-color: var(--c-navy-500);
}

.about-officers__nav:focus-visible {
	outline: 2px solid var(--c-navy-500);
	outline-offset: 2px;
}

.about-officers__nav.swiper-button-disabled {
	opacity: 0.3;
	cursor: default;
}

/* 全員が1画面に収まるときはボタンと進捗バーを出さない */
.about-officers__controls:has(.swiper-button-lock) {
	display: none;
}


/* ==============================
S4 沿革（左に線と点を置いた年表）
============================== */
.about-history {
	position: relative;
	padding: 44px 48px;
	border-radius: 16px;
	background-color: var(--c-warm-white);
}

.about-history__row {
	position: relative;
	display: flex;
	padding-block: 22px;
}

.about-history__row:first-child {
	padding-top: 0;
}

.about-history__row:last-child {
	padding-bottom: 0;
}

/* 縦線（最初の点から最後の点まで） */
.about-history__row::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 18px;
	width: 2px;
	background-color: var(--c-navy-100);
}

.about-history__row:first-child::before {
	top: 16px;
}

.about-history__row:last-child::before {
	bottom: auto;
	height: 38px;
}

/* 点 */
.about-history__row::after {
	content: "";
	position: absolute;
	top: 32px;
	left: 13px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background-color: var(--c-gold-500);
}

.about-history__row:first-child::after {
	top: 10px;
}

.about-history__year {
	flex: none;
	width: 180px;
	padding-left: 40px;
	font-family: var(--f-en);
	font-weight: 500;
	font-size: 30px;
	line-height: 1.3;
	letter-spacing: 0.02em;
	color: var(--c-navy-700);
}

.about-history__text {
	flex: 1;
	font-size: 17px;
	line-height: 2;
	color: var(--c-ink);
}


/* ==============================
S5 活動紹介ムービー
============================== */
.about-movie {
	display: flex;
	flex-wrap: wrap;
	gap: 56px 24px;
}

.about-movie__group {
	display: flex;
	flex-direction: column;
	gap: 22px;
	width: 100%;
}

.about-movie__group--half {
	width: calc((100% - 24px) / 2);
}

/* 見出しの左にゴールドの縦棒 */
.about-movie__title {
	position: relative;
	padding-left: 17px;
	font-family: var(--f-serif);
	font-weight: 500;
	font-size: 24px;
	line-height: 1.6;
	color: var(--c-navy-900);
}

.about-movie__title::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 3px;
	height: 26px;
	border-radius: 2px;
	background-color: var(--c-gold-500);
}

.about-movie__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.about-movie__group--wide .about-movie__list,
.about-movie__group--half .about-movie__list {
	grid-template-columns: minmax(0, 1fr);
}

.about-movie__frame {
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	background-image: linear-gradient(160deg, var(--c-navy-700) 0%, var(--c-navy-900) 100%);
	box-shadow: 0 6px 18px rgba(18, 35, 61, 0.1);
	overflow: hidden;
}

.about-movie__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}


/* ==============================
タブレット
============================== */
@media (max-width: 1024px) {
	.about-board {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.about-board__col + .about-board__col {
		border-top: 1px solid var(--c-navy-100);
	}
}


/* ==============================
SP
============================== */
@media (max-width: 767px) {
	.about-rotary {
		gap: 24px;
		padding: 28px 22px 30px;
	}

	.about-rotary__text {
		font-size: 16px;
		line-height: 2.05;
	}

	.about-rotary__buttons {
		flex-direction: column;
		gap: 12px;
	}

	.about-rotary .c-button {
		min-height: 56px;
		padding-inline: 16px;
	}

	.about-board {
		border-radius: 12px;
	}

	.about-board__row {
		gap: 16px;
		padding: 16px 20px;
	}

	.about-board__row dt {
		width: 140px;
		font-size: 14px;
	}

	.about-board__row dd {
		font-size: 18px;
	}

	.about-officers {
		margin-top: 40px;
	}

	.about-officers__card {
		width: 150px;
	}

	.about-officers__role {
		margin-top: 12px;
		font-size: 12px;
	}

	.about-officers__name {
		font-size: 16px;
	}

	.about-officers__controls {
		margin-top: 24px;
	}

	.about-history {
		padding: 28px 22px;
	}

	.about-history__row {
		flex-direction: column;
		gap: 4px;
		padding-block: 18px;
		padding-left: 28px;
	}

	.about-history__row::before {
		left: 13px;
	}

	.about-history__row::after {
		top: 26px;
		left: 8px;
		width: 12px;
		height: 12px;
	}

	.about-history__row:first-child::after {
		top: 8px;
	}

	.about-history__row:last-child::before {
		height: 32px;
	}

	.about-history__year {
		width: auto;
		padding-left: 0;
		font-size: 24px;
	}

	.about-history__text {
		font-size: 16px;
		line-height: 1.9;
	}

	.about-movie {
		gap: 40px;
	}

	.about-movie__group,
	.about-movie__group--half {
		gap: 16px;
		width: 100%;
	}

	.about-movie__title {
		padding-left: 15px;
		font-size: 19px;
	}

	.about-movie__title::before {
		top: 5px;
		height: 20px;
	}

	.about-movie__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}
