/* トップページの調整（top_design.py で読み込み） */
:root { --usy-w: min(880px, 90vw); }

/* ===== 横幅をそろえる（PC・タブレット） ===== */
@media (min-width: 769px) {
	.sec1_point { gap: 18px; }
	.sec1_point img { width: min(200px, calc((var(--usy-w) - 54px) / 4)); }
	.sec1_title img, .sec1_ttl img { width: min(640px, 72%); }

	.sec2_section .w_60 { width: var(--usy-w); max-width: none; }
	.sec2_point { grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
	.sec2_point img { width: 100%; max-width: 420px; margin: 0 auto; }
	.sec2_point p { font-size: 15px; }

	.ps_title img { width: min(640px, 72%); }
	.point_div { width: var(--usy-w); max-width: none; }
	.point-inner-text { font-size: 17px; line-height: 1.85; }
	.point-inner-text span { font-size: 15px; }
	.point_info img { width: 48%; }

	.teacher-section .teachers, .faq-box { max-width: 880px; width: var(--usy-w); }
	.faq-box { padding: 48px 56px; }
}

/* ===== 先生のご紹介（1名を大きく） ===== */
.teachers.is-single { display: block; margin: 0 auto; }
.teachers.is-single .teacher-card { max-width: none; margin: 20px 0; }
@media (min-width: 769px) {
	.teachers.is-single .teacher-card {
		display: grid;
		grid-template-columns: 44% 1fr;
		gap: 36px;
		align-items: center;
		padding: 40px 44px;
		background-image: none;
		background: #fff;
		border-radius: 24px;
		box-shadow: 0 6px 24px rgba(100, 80, 140, 0.10);
		position: relative;
		overflow: hidden;
	}
	.teachers.is-single .teacher-card::before,
	.teachers.is-single .teacher-card::after {
		content: ""; position: absolute; width: 70px; height: 70px; pointer-events: none;
	}
	.teachers.is-single .teacher-card::before { top: 0; left: 0; background: linear-gradient(135deg, #f9d3da 50%, transparent 50%); }
	.teachers.is-single .teacher-card::after { bottom: 0; right: 0; background: linear-gradient(315deg, #fde1c8 50%, transparent 50%); }
	.teachers.is-single .teacher-image img { border-radius: 16px; display: block; }
	.teachers.is-single .teacher-name { font-size: 30px; margin-top: 0; text-align: left; }
	.teachers.is-single .teacher-levels { text-align: left; }
	.teachers.is-single .teacher-levels span { margin: 0 8px 0 0; font-size: 15px; }
	.teachers.is-single .teacher-highlight { font-size: 18px; text-align: left; padding: 8px 14px; }
	.teachers.is-single .teacher-description { font-size: 16px; line-height: 1.85; }
}
@media (max-width: 768px) {
	.teachers.is-single .teacher-card { max-width: 440px; margin: 20px auto; }
}

/* ===== 料金比較（テキスト） ===== */
.usy-compare {
	max-width: 880px;
	margin: 0 auto;
	padding: 44px 32px 32px !important;
	border-radius: 24px;
	background:
		linear-gradient(135deg, #fbd9df 56px, transparent 56px),
		linear-gradient(225deg, #dde4fb 56px, transparent 56px),
		linear-gradient(45deg, #e2efdf 56px, transparent 56px),
		linear-gradient(315deg, #fde3cc 56px, transparent 56px),
		#fff;
	margin-top: 50px;
	margin-bottom: 30px;
	color: #444;
	font-family: 'Noto Sans JP', sans-serif;
}
.usy-compare__lead { margin: 0 0 8px; }
.usy-compare__lead span {
	display: inline-block;
	position: relative;
	padding: 0 18px;
	font-size: 34px;
	font-weight: 700;
	letter-spacing: .08em;
	color: #ee7a14;
	background: linear-gradient(transparent 62%, #fde7a6 62%);
}
.usy-compare__lead span::before,
.usy-compare__lead span::after {
	content: ""; position: absolute; top: 10%; width: 4px; height: 70%;
	background: #ee7a14; border-radius: 2px;
}
.usy-compare__lead span::before { left: -14px; transform: rotate(-30deg); }
.usy-compare__lead span::after { right: -14px; transform: rotate(30deg); }
.usy-compare__title {
	margin: 6px 0 28px;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.35;
	color: #444;
}
.usy-compare__title em { font-style: normal; color: #dc6478; font-size: 1.15em; }
.usy-compare__title::after { display: none; }
.usy-compare .usy-sp { display: none; }

.usy-compare__table {
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 16px;
	table-layout: fixed;
	border: 0 !important;
}
.usy-compare__table th,
.usy-compare__table td {
	padding: 16px 6px;
	text-align: center;
	vertical-align: middle;
	border: 0;
	border-bottom: 3px solid #fff;
	border-right: 3px solid #fff;
	line-height: 1.3;
}
.usy-compare__table thead td { background: #f9cfae; border-radius: 12px 0 0 0; }
.usy-compare__table thead th { background: #a9a9a9; color: #fff; font-weight: 700; font-size: 15px; }
.usy-compare__table tbody th { background: #fde4d2; font-weight: 500; color: #555; }
.usy-compare__table tbody tr:last-child th { border-radius: 0 0 0 12px; border-bottom: 0; }
.usy-compare__table tbody td { background: #efefef; color: #555; }
.usy-compare__table tbody tr:last-child td { border-bottom: 0; }
.usy-compare__table .is-usy {
	width: 32%;
	background: #fdf1d6;
	color: #ee7000;
	font-weight: 700;
	font-size: 24px;
	border-right: 0;
	border-left: 3px solid #ee7000;
	box-shadow: inset -3px 0 0 #ee7000;
}
.usy-compare__table thead .is-usy {
	background: #ee7000;
	color: #fff;
	font-size: 15px;
	border-radius: 12px 12px 0 0;
	border-bottom-color: #ee7000;
}
.usy-compare__table .is-usy.is-last { border-bottom: 3px solid #ee7000; border-radius: 0 0 12px 12px; }
.usy-compare__table .is-usy small { font-size: 12px; margin-left: 2px; }
.usy-compare__note { margin: 14px 0 0; font-size: 13px; color: #8c8c8c; }

@media (max-width: 768px) {
	.usy-compare { padding: 32px 14px 20px !important; margin-top: 30px; }
	.usy-compare .usy-sp { display: inline; }
	.usy-compare__lead span { font-size: 26px; }
	.usy-compare__title { font-size: 28px; margin-bottom: 20px; }
	.usy-compare__table { font-size: 13px; }
	.usy-compare__table th, .usy-compare__table td { padding: 12px 2px; border-bottom-width: 2px; border-right-width: 2px; }
	.usy-compare__table thead th, .usy-compare__table thead .is-usy { font-size: 12px; }
	.usy-compare__table .is-usy { font-size: 18px; width: 34%; }
	.usy-compare__table tbody th { width: 20%; }
}

/* ===== このような方に（テキスト） ===== */
.usy-check { padding-right: 20px; margin-bottom: 4px; }
.usy-check__title {
	margin: 0 0 14px;
	padding-bottom: 6px;
	border-bottom: 3px solid #3d5ad8;
	color: #3d5ad8;
	font-weight: 700;
	font-size: 16px;
}
.usy-check__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.usy-check__list li {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 52px;
	margin: 0;
	padding: 6px 10px 6px 48px;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.45;
	color: #333;
}
.usy-check__list li::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 36px;
	background: #6e7594;
}
.usy-check__list li::after {
	content: ""; position: absolute; left: 13px; top: 50%; width: 9px; height: 15px;
	margin-top: -10px;
	border: solid #fff; border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}
@media (max-width: 768px) {
	.usy-check { padding-right: 10px; }
	.usy-check__title { font-size: 3.8vw; }
	.usy-check__list { gap: 6px; }
	.usy-check__list li { font-size: 3.2vw; min-height: 46px; padding-left: 40px; }
	.usy-check__list li::before { width: 30px; }
	.usy-check__list li::after { left: 11px; width: 7px; height: 12px; margin-top: -8px; }
}

/* ===== スマホの固定ボタン ===== */
.footer_float_sp { display: none; }
@media (max-width: 768px) {
	body .footer_float { flex-direction: column; gap: 4px; padding: 8px 0 6px; }
	body .footer_float > a { width: 100%; }
	body .footer_float_sp {
		display: block;
		margin: 0;
		color: #fff;
		font-size: 11px;
		line-height: 1.4;
		letter-spacing: .02em;
	}
	.site-footer { padding-bottom: 120px; }
}

/* タブレット幅ではチェックリストを1列に */
@media (min-width: 769px) and (max-width: 1024px) {
	.usy-check__list { grid-template-columns: 1fr; }
	.usy-check__list li { min-height: 44px; }
}
