@charset "UTF-8";

/*######################################################
パーツ：基本（inner,pc/spでの表示非表示など）
######################################################*/
/* ==============================
inner
============================== */
.inner {
	width: 90%;
	max-width: var(--width-inner);
	margin-left: auto;
	margin-right: auto;
}

.inner--s {
	max-width: var(--width-inner-s);
	margin-left: auto;
	margin-right: auto;
}

.inner:has(.inner--s) {
	padding-inline: 20px;
}


/* ==============================
.sp でスマートフォンのみ表示
============================== */
@media (min-width: 768px) {
	.sp {
		display: none;
	}
}


/* ==============================
.pc でPCのみ表示
============================== */
@media (max-width: 767px) {
	.pc {
		display: none;
	}
}


/* ==============================
スクリーンリーダーの設定（表示はしない）
============================== */
.sr-only {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}


/**************************************************
ページタイトル
**************************************************/
.page-hero {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	background-color: var(--color-main);
	background-size: cover;
	background-position: center;
	position: relative;
}

.page-hero::after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: color-mix(in oklab, var(--color-main) 85%, transparent);
	/* オーバーレイ */
}

.page-hero__title {
	color: var(--color-white);
	font-size: clamp(24px, 3vw, 40px);
	font-weight: 700;
	text-align: center;
}

@media (min-width: 768px) {
	.page-hero {
		min-height: 240px;
	}
}



/*######################################################
パーツ：見出しタイトル
######################################################*/
/* ==============================
section-title
============================== */
.section-title {
	font-size: clamp(22px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.12em;
	color: #031730;
}




/*######################################################
パーツ：その他
######################################################*/
/* ==============================
アコーディオン
============================== */
.accordion {
	border-top: 1px solid #b4b9c0;
	padding: 0 0 clamp(8px, 1.05vw, 16px);
}

*:first-child > .accordion {
	border-top: none;
}

.accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5em;
	padding: clamp(16px, 2.11vw, 32px) clamp(10px, 1.32vw, 20px) calc(clamp(16px, 2.11vw, 32px)/2) 0;
	cursor: pointer;
	position: relative;
}

.accordion__summary::-webkit-details-marker {
	display: none;
}

.accordion__summary span {
	font-size: clamp(14px, 1.58vw, 24px);
	line-height: 1.5;
	letter-spacing: 0.12em;
	display: flex;
	gap: 0.5em
}

.accordion__summary span::before {
	content: "Q.";
}


/* アコーディオンボタン（＋/－） */
.accordion__summary::after {
	content: "＋";
	color: #525d6d;
	font-size: clamp(15px, 1.98vw, 30px);
	transition: transform 0.2s ease-in-out;
}

.accordion[open] .accordion__summary::after {
	content: "－";
	color: #b4b9c0;
	transform: rotate(180deg);
}

.accordion__content-inner {
	line-height: 1.5;
	letter-spacing: 0.12em;
	padding-bottom: clamp(8px, 1.05vw, 16px);
}

/*######################################################
パーツ：ヘッダーのロータリー文庫リンク
（旧サイトのメニュー項目から、ヘッダー右側の固定要素へ移設）
######################################################*/
.header__button {
	display: flex;
	align-items: center;
	gap: 8px;
}

.header__bunko {
	display: block;
	flex: none;
	width: 70px;
	line-height: 0;
	transition: opacity 0.3s ease;
}

.header__bunko img {
	display: block;
	width: 100%;
	height: auto;
}

.header__bunko:hover {
	opacity: 0.8;
}

/* 狭い画面ではヘッダーが窮屈になるため、ドロワー内のものだけを見せる */
.drawer-menu__nav .header__bunko {
	margin-top: 24px;
}

@media (min-width:768px) {
	.drawer-menu__nav .header__bunko {
		display: none;
	}
}

@media (max-width:767px) {
	.header__button > .header__bunko {
		display: none;
	}
}


/*######################################################
パーツ：WordPress管理バー対応（ログイン中のみ）

管理バーの高さは 783px以上で32px、782px以下で46px。
base.css は32px前提のため、狭い画面で固定ヘッダーと
ハンバーガーがバーの下に潜り込んでしまう。
######################################################*/
@media (max-width:782px) {
	body.admin-bar .header {
		top: 46px;
	}

	body.admin-bar .hum-btn {
		top: 54px;
		/* 8px + 46px */
	}
}
