/* =========================================================
   SWELL標準レイアウトの解除・FAQページ用リセット
========================================================= */

/* PAエリア背景を白に統一 */
.pa-area-kanto #body_wrap,
.pa-area-kansai #body_wrap {
	background-color: #fff !important;
}

/* メインコンテンツを全幅化 */
main#main_content {
	width: 100% !important;
	max-width: none !important;
}

@media (min-width: 750px) and (max-width: 959px) {
	main#main_content > div {
		max-width: 100%;
	}
}

/* SWELL側の本文余白を解除 */
.l-mainContent__inner > .post_content {
	padding: 0 !important;
}

.-frame-on .l-mainContent {
	padding: 0 !important;
}

/* 親コンテナの幅・左右余白を解除 */
.l-container {
	max-width: none !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* SWELLのサイドバー用flexレイアウトを解除 */
@media (min-width: 960px) {
	#content.l-content {
		display: block !important;
	}
}

/* ブロック間の標準余白を解除 */
.post_content > * {
	margin-bottom: 0 !important;
}

/* SWELL標準H2装飾を解除 */
.post_content h2 {
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
	background: transparent;
}

.post_content h2::before {
	content: none;
}
.l-sidebar{
	display: none;
}


/* =========================================================
   FAQページ全体
========================================================= */

.campus-faq-page {
	width: 100%;
	background: #fff;
	color: #1f3028;
}

.campus-faq-container {
	width: min(calc(100% - 40px), 960px);
	margin-right: auto;
	margin-left: auto;
}

/* 見出しエリア下の余白 */
.campus-faq-hero .campus-faq-container {
	margin-bottom:18px;
}

/* FAQメインコンテンツ下の余白 */
.campus-faq-page > .campus-faq-container {
	margin-bottom: 56px;
}


/* =========================================================
   ページ上部
========================================================= */

.campus-faq-hero {
	padding: 64px 0 38px;
	text-align: center;
}

.campus-faq-eyebrow {
	margin: 0 0 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    background-color: #00613c;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
}

.campus-faq-title {
	margin: 0;
	color: #00613c;
	font-size: clamp(32px, 5vw, 36px);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.08em;
}

.campus-faq-lead {
	margin: 24px 0 0;
	font-size: 16px;
	line-height: 1.9;
}


/* =========================================================
   よく見られている質問
========================================================= */

.campus-faq-popular {
	margin-bottom: 36px;
}

.campus-faq-small-heading {
	display: flex;
	gap: 8px;
	align-items: center;
	margin: 0 0 12px;
	color: #00613c;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

.campus-faq-small-heading span {
	color: #a7cf00;
}


/* =========================================================
   カテゴリナビ
========================================================= */

.campus-faq-nav {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 48px;
}

.campus-faq-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 8px 12px;
	border: 1px solid #d9e2dc;
	border-radius: 4px;
	background: #fff;
	color: #00613c;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.campus-faq-nav a:hover {
	border-color: #b5c9bd;
	background: #f5f9f6;
	text-decoration: none;
}

.campus-faq-nav a:focus-visible {
	outline: 3px solid rgba(0, 97, 60, 0.25);
	outline-offset: 2px;
}


/* =========================================================
   FAQカテゴリセクション
========================================================= */

.campus-faq-section {
	margin-top: 34px;
	scroll-margin-top: 100px;
}

.campus-faq-section:first-child {
	margin-top: 0;
}

.campus-faq-section-title {
	margin: 0;
	padding-bottom: 8px;
	border-bottom: 2px solid #99cc00;
	color: #00613c;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.5;
}

.campus-faq-list {
	border-right: 1px solid #dde3df;
	border-left: 1px solid #dde3df;
}


/* =========================================================
   FAQアコーディオン
========================================================= */

.campus-faq-item {
	border-bottom: 1px solid #dde3df;
	background: #fff;
}

/*
 * 質問ボタン
 * button標準スタイルを完全に解除
 */
.campus-faq-question {
	position: relative;
	display: flex;
	gap: 14px;
	align-items: center;
	width: 100%;
	min-height: 58px;
	margin: 0;
	padding: 14px 54px 14px 18px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.campus-faq-question:hover {
	background: #f8faf8;
}

.campus-faq-question:focus {
	outline: none;
}

.campus-faq-question:focus-visible {
	z-index: 1;
	outline: 3px solid rgba(0, 97, 60, 0.25);
	outline-offset: -3px;
}

/* Q・Aの丸アイコン */
.campus-faq-q,
.campus-faq-a {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #00613c;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.campus-faq-a {
	background: #f37800;
}

/* 質問文 */
.campus-faq-question-text {
	color: #194c36;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.7;
	transition: color 0.2s ease;
}

/* 右側の＋／− */
.campus-faq-toggle {
	position: absolute;
	top: 50%;
	right: 20px;
	width: 14px;
	height: 14px;
	transform: translateY(-50%);
}

.campus-faq-toggle::before,
.campus-faq-toggle::after {
	position: absolute;
	top: 50%;
	left: 50%;
	content: "";
	background: #00613c;
	transform: translate(-50%, -50%);
	transition:
		opacity 0.25s ease,
		transform 0.25s ease,
		background-color 0.2s ease;
}

.campus-faq-toggle::before {
	width: 14px;
	height: 2px;
}

.campus-faq-toggle::after {
	width: 2px;
	height: 14px;
}

/*
 * 回答の外枠
 * JSがheightを制御するため、
 * paddingやgridはこの要素に持たせない
 */
.campus-faq-answer {
	overflow: hidden;
	height: 0;
	opacity: 0;
	visibility: hidden;
	transition:
		height 0.36s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.22s ease,
		visibility 0s linear 0.36s;
	will-change: height;
}

/*
 * 回答の内側
 * 余白・グリッドはすべてinnerへ集約
 */
.campus-faq-answer-inner {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 14px;
	padding: 4px 54px 24px 18px;
}

/* 回答本文 */
.campus-faq-answer-content {
	min-width: 0;
	color: #333;
	font-size: 15px;
	line-height: 1.9;
}

.campus-faq-answer-content > :first-child {
	margin-top: 0;
}

.campus-faq-answer-content > :last-child {
	margin-bottom: 0;
}

.campus-faq-answer-content p {
	margin-top: 0;
}

.campus-faq-answer-content ul,
.campus-faq-answer-content ol {
	margin-top: 0.8em;
	margin-bottom: 1em;
	padding-left: 1.5em;
}

.campus-faq-answer-content a {
	color: #00613c;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}


/* =========================================================
   アコーディオン開放時
========================================================= */

.campus-faq-item.open .campus-faq-question {
	background: #fffdf8;
}

.campus-faq-item.open .campus-faq-question-text {
	color: #f37800;
}

.campus-faq-item.open .campus-faq-toggle::before,
.campus-faq-item.open .campus-faq-toggle::after {
	background: #f37800;
}

/* 縦線を消してマイナス表示 */
.campus-faq-item.open .campus-faq-toggle::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(90deg);
}

/* JSがhiddenを外した後に適用 */
.campus-faq-item.open .campus-faq-answer {
	opacity: 1;
	visibility: visible;
	transition:
		height 0.36s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.24s ease,
		visibility 0s linear 0s;
}


/* =========================================================
   hidden属性
========================================================= */

.campus-faq-answer[hidden] {
	display: none;
}


/* =========================================================
   タブレット
========================================================= */

@media (min-width: 768px) and (max-width: 959px) {
	.campus-faq-nav {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}


/* =========================================================
   スマートフォン
========================================================= */

@media (max-width: 767px) {
	.campus-faq-container {
		width: min(calc(100% - 28px), 960px);
	}

	.campus-faq-hero .campus-faq-container {
		margin-bottom: 24px;
	}

	.campus-faq-page > .campus-faq-container {
		margin-bottom: 40px;
	}

	.campus-faq-hero {
		padding: 42px 0 28px;
	}

	.campus-faq-title {
		font-size: clamp(28px, 8vw, 36px);
		letter-spacing: 0.05em;
	}

	.campus-faq-lead {
		font-size: 14px;
		line-height: 1.8;
	}

	.campus-faq-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-bottom: 36px;
	}

	.campus-faq-nav a {
		min-height: 52px;
		padding: 8px 10px;
		font-size: 13px;
	}

	.campus-faq-section {
		margin-top: 30px;
		scroll-margin-top: 80px;
	}

	.campus-faq-section-title {
		font-size: 19px;
	}

	.campus-faq-question {
		gap: 10px;
		min-height: 56px;
		padding: 13px 46px 13px 14px;
	}

	.campus-faq-question-text {
		font-size: 15px;
		line-height: 1.65;
	}

	.campus-faq-toggle {
		right: 16px;
	}

	.campus-faq-answer-inner {
		grid-template-columns: 26px minmax(0, 1fr);
		gap: 10px;
		padding: 2px 16px 20px 14px;
	}

	.campus-faq-answer-content {
		font-size: 14px;
		line-height: 1.85;
	}
}


/* =========================================================
   動きを減らす設定を利用しているユーザーへの配慮
========================================================= */

@media (prefers-reduced-motion: reduce) {
	.campus-faq-answer,
	.campus-faq-question,
	.campus-faq-question-text,
	.campus-faq-toggle::before,
	.campus-faq-toggle::after,
	.campus-faq-nav a {
		transition: none !important;
	}
}



/* FAQ下のお問い合わせ案内 */
.campus-faq-contact-lead {
	margin: 48px auto 24px;
	padding: 0 20px;
	color: #005f46;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.8;
	text-align: center;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
	.campus-faq-contact-lead {
		margin: 36px auto 20px;
		padding: 0 16px;
		font-size: 16px;
		line-height: 1.7;
	}
}
/* ========================================
   FAQ内の時間割
======================================== */

.campus-faq-timetable {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	width: 100%;
	margin: 20px 0;
}

/* 平日・土曜日それぞれのブロック */
.campus-faq-timetable__block {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
}

/* 「時間割（例）」の見出し */
.campus-faq-timetable__title {
	margin: 0 !important;
	padding: 12px 16px;
	background: var(--campus-green, #176b38);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

/* 横スクロールを発生させない */
.campus-faq-timetable__scroll {
	width: 100%;
	margin: 0 !important;
	padding: 0;
	overflow: visible !important;
}

/* 時間割テーブル */
.campus-faq-timetable table {
	display: table !important;
	width: 100% !important;
	max-width: 100%;
	min-width: 0 !important;
	margin: 0 !important;
	border-spacing: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

/* セル共通 */
.campus-faq-timetable th,
.campus-faq-timetable td {
	box-sizing: border-box;
	padding: 14px 8px;
	border: 1px solid #c9d9ce;
	color: #333;
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
	vertical-align: middle;
}

/* 限目の列 */
.campus-faq-timetable th {
	width: 22%;
	background: #f3f7f4;
	font-weight: 700;
	white-space: nowrap;
}

/* 時間の列 */
.campus-faq-timetable td {
	width: 39%;
	white-space: nowrap;
}

/* 休憩行 */
.campus-faq-timetable__break td {
	width: auto;
	padding: 7px 8px;
	background: #f7faf7;
	color: #48a85b;
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
}

/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 767px) {
	.campus-faq-timetable {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		margin: 16px 0;
	}

	.campus-faq-timetable__block {
		width: 100%;
	}

	.campus-faq-timetable__title {
		padding: 10px 8px;
		font-size: 14px;
	}

	.campus-faq-timetable__scroll {
		overflow: visible !important;
	}

	.campus-faq-timetable table {
		display: table !important;
		width: 100% !important;
		max-width: 100%;
		min-width: 0 !important;
		table-layout: fixed;
	}

	.campus-faq-timetable th,
	.campus-faq-timetable td {
		padding: 10px 3px;
		font-size: 12px;
		line-height: 1.4;
	}

	.campus-faq-timetable th {
		width: 22%;
		white-space: nowrap;
	}

	.campus-faq-timetable td {
		width: 39%;
		white-space: nowrap;
	}

	.campus-faq-timetable__break td {
		width: auto;
		padding: 6px 3px;
		font-size: 12px;
	}
}




/* =========================================================
   CTAバナー
========================================================= */

.cta-banner {
	padding: 14px 0 22px;
	background: #fff8d8;
}

.cta-banner .inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	justify-content: center;
	max-width: 880px;
	margin: 0 auto;
	padding: 0 20px;
}

.cta-block {
	display: flex;
	flex-direction: column;
	gap: 2px;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
}

.cta-label {
	margin: 0;
	color: #3e3a39;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
}

.cta-label .num {
	color: #e51f4d;
	font-size: 26px;
	font-weight: 600;
	line-height: 1;
}

.cta-label .num-unit {
	color: #e51f4d;
	font-size: 20px;
}

.cta-button {
	position: relative;
	overflow: hidden;
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 340px;
	height: 64px;
	border-radius: 50px;
	box-shadow:
		inset 0 4px 4px rgba(255, 255, 255, 0.25),
		0 2px 2px rgba(0, 0, 0, 0.3);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition:
		opacity 0.2s ease,
		transform 0.2s ease;
}

.cta-button:hover {
	opacity: 0.85;
	text-decoration: none;
}

.cta-button:focus-visible {
	outline: 3px solid rgba(0, 97, 60, 0.35);
	outline-offset: 3px;
}

.cta-button--trial {
	background: #e6204d;
}

.cta-button--trial::before {
	position: absolute;
	top: -60px;
	left: -60px;
	display: block;
	width: 50px;
	height: 50px;
	background: linear-gradient(
		to right,
		rgba(255, 255, 255, 0),
		rgba(255, 255, 255, 0.9)
	);
	content: "";
	animation: cta-shine-run 3s ease-in infinite;
}

@keyframes cta-shine-run {
	0% {
		opacity: 0;
		transform: scale(0) rotate(50deg);
	}

	40% {
		opacity: 1;
		transform: scale(1) rotate(50deg);
	}

	60% {
		opacity: 0;
		transform: scale(30) rotate(50deg);
	}

	100% {
		opacity: 0;
		transform: scale(250) rotate(50deg);
	}
}

.cta-button--doc {
	background: #ed6c00;
}

.cta-button .label {
	font-size: clamp(16px, 5vw, 22px);
	white-space: nowrap;
}

.cta-button .label .small {
	font-size: 0.9em;
}

.cta-button .arrow {
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 9px 0 9px 14px;
	border-color: transparent transparent transparent #fff;
	transition: transform 0.2s ease;
}

.cta-button:hover .arrow {
	transform: translateX(4px);
}


/* =========================================================
   CTA電話
========================================================= */

.cta-tel {
	margin-top: 22px;
	text-align: center;
}

.cta-tel__link {
	display: inline-flex;
	gap: 8px;
	align-items: flex-end;
	color: #006039;
	text-decoration: none;
}

.cta-tel__link:hover {
	opacity: 0.8;
	text-decoration: none;
}

.cta-tel__link:focus-visible {
	outline: 3px solid rgba(0, 97, 60, 0.25);
	outline-offset: 3px;
}

.cta-tel__icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
}

.cta-tel__number {
	font-family: "Noto Sans JP", sans-serif;
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: 0.01em;
}

.cta-tel__hours {
	color: #555;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	white-space: nowrap;
}


/* =========================================================
   CTA：PC
========================================================= */

@media (min-width: 768px) {
	.cta-banner {
		padding: 24px 0 18px;
	}

	.cta-banner .inner {
		flex-direction: row;
		gap: 40px;
		align-items: flex-end;
		justify-content: center;
	}

	.cta-block {
		flex: 1;
		min-width: 0;
	}

	.cta-label {
		font-size: 21px;
	}

	.cta-label .num {
		font-size: 36px;
	}

	.cta-label .num-unit {
		font-size: 24px;
	}

	.cta-button {
		width: 100%;
		max-width: 440px;
		height: 80px;
	}

	.cta-button .label {
		font-size: clamp(18px, 2.5vw, 26px);
	}
}


/* =========================================================
   CTA：スマートフォン
========================================================= */

@media (max-width: 767px) {
	.cta-button {
		max-width: 100%;
	}

	.cta-tel__link {
		flex-wrap: wrap;
		gap: 4px 8px;
		justify-content: center;
	}

	.cta-tel__icon {
		order: 1;
	}

	.cta-tel__number {
		order: 2;
	}

	.cta-tel__hours {
		order: 3;
		width: 100%;
		text-align: center;
		white-space: normal;
	}
}


/* =========================================================
   動きを減らす設定時はCTAの光アニメーションも停止
========================================================= */

@media (prefers-reduced-motion: reduce) {
	.cta-button--trial::before {
		animation: none;
	}
}