@charset "utf-8";
/* ========================================================
   result-detail.css
   「合格実績・志望校別対策 詳細ページ」専用スタイル（single-result.php用）
   ※ reset.css / default.css / common.css / style.css の後に読み込む
   ※ 数値・配色は Figma（PC node-id=3165-488 / SP node-id=3237-86）実測値に準拠
   ※ 担当プロ教師(SP)は独自クラス .rd-teacher-swiper によるSwiperスライドショー
   ※ 合格率バナー／3つの特徴／比較表／教師の質＋CTA／コース一覧／FAQ／CTA帯は、
     TOPページ（page-front-new.php）の該当セクションと同じ見た目・挙動になるよう、
     このファイル末尾に rd-contact / rd-powers / rd-compare / rd-faq / rd-course /
     rd-plan(.rd-teacherbox) / #rd-cta-box という独自クラス・ID名でCSSを複製している。
     TOP側の .new-* クラスや #cta-box、front-new-page-add には一切依存しないため、
     他ページの見た目・挙動に影響を与えず、他ページの将来の変更からも影響を受けない。
======================================================== */

/* SP幅（768px以下）で左右スクロールが発生しないようにするセーフティネット */
@media (max-width: 768px) {
	html, body {
		overflow-x: hidden;
	}
}

/* 汎用ユーティリティ：<br class="sp"> はSPのみ改行 */
.rd-page br.sp {
	display: none;
}
@media (max-width: 768px) {
	.rd-page br.sp {
		display: block;
	}
}

.rd-page {
	background: #fff;
	font-family: "Noto Serif JP", serif;
	color: #29375b;
	line-height: 1.7;
}
.rd-page img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
.rd-page a {
	color: inherit;
}
.rd-inner {
	width: 100%;
	max-width: 1080px;
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
}
@media (max-width: 480px) {
	.rd-inner {
		padding-inline: 20px;
	}
}

/* パンくず（#bread_crumb は common.css 側で全ページ共通の見た目・SP非表示が
   指定されているが、rd-page は <main> 直下に配置されフル幅レイアウトのため、
   common.css の main.page #bread_crumb と同じ見た目に .rd-page 限定で上書きする） */
.rd-page #bread_crumb {
	margin-top: 0;
	padding: 16px 0;
	height: auto;
	display: block;
}
.rd-page #bread_crumb ul {
	list-style: none;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 24px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.437;
	box-sizing: border-box;
}
.rd-page #bread_crumb ul li {
	position: relative;
	display: inline-block;
	color: #29375b;
	z-index: 1;
}
.rd-page #bread_crumb li.sub {
	padding-left: 0;
}
.rd-page #bread_crumb li.sub:before {
	display: none;
}
.rd-page #bread_crumb ul li:not(:last-child)::after {
	content: "›";
	margin-left: 12px;
	color: #29375b;
}
.rd-page #bread_crumb ul li a {
	color: #17298d;
	text-decoration: none;
	transition: opacity 0.2s ease;
}
.rd-page #bread_crumb ul li a:hover {
	opacity: 0.75;
}
@media (max-width: 768px) {
	.rd-page #bread_crumb {
		display: block;
	}
}

/* 見出し共通（星の装飾はTOPの「この指導を実現する3つの強み」(.new-powers .head h2)と同じ icon_three-powers.svg 画像を使用） */
.rd-deco-ttl {
	text-align: center;
	margin-bottom: 40px;
	padding-top: 28px;
	background: url(../img-top/icon_three-powers.svg) no-repeat top center;
}
.rd-deco-ttl h2 {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #29375b;
	margin: 0 0 12px;
}
.rd-deco-ttl p {
	font-size: 16px;
	font-weight: 600;
	color: #29375b;
	margin: 0;
}
@media (max-width: 768px) {
	.rd-deco-ttl {
		margin-bottom: 24px;
	}
	.rd-deco-ttl p {
		font-size: 15px;
	}
}

/* 帯タイトル（ゴールド飾り線＋テキスト、料金/流れ/コース一覧などで使用） */
/* 帯タイトルの装飾は「コース一覧」(.rd-course .head h2) と同じ deco-side-left/right.svg を使用 */
.rd-deco-line {
	text-align: center;
	margin-bottom: 24px;
}
.rd-deco-line span {
	font-size: 40px;
	font-weight: 700;
	color: #29375b;
	display: inline-block;
	padding: 0 152px;
	background: url(../img-top/deco-side-left.svg), url(../img-top/deco-side-right.svg);
	background-position: left bottom, right bottom;
	background-repeat: no-repeat;
	line-height: 1.3;
}
@media (max-width: 768px) {
	.rd-deco-line span {
		display: block;
		padding: 0;
		font-size: 32px;
		background: url(../img-top/deco-side-left.svg), url(../img-top/deco-side-right.svg);
		background-position: left bottom, right bottom;
		background-repeat: no-repeat;
		background-size: 80px;
	}
}
@media (max-width: 480px) {
	.rd-deco-line span {
		font-size: 24px;
	}
}
.rd-deco-line--mt80 {
	margin-top: 80px;
}
@media (max-width: 768px) {
	.rd-deco-line--mt80 {
		margin-top: 56px;
	}
}

/* ---------- 1. パンくず・ヘッダーは header.php / common.css をそのまま利用 ---------- */

/* ---------- 2. ヒーロー ---------- */
.rd-hero {
	position: relative;
	overflow: hidden;
	background: #f1f4f9 url(../img-page/rf-mv-pc.jpg) no-repeat center top;
	background-size: 100%;
}
@media (max-width: 768px) {
	.rd-hero {
		/* タイトルが長くなって .rd-hero の高さが伸びても崩れないように、
		   背景画像を上下2枚に分割し、それぞれ上端・下端に固定表示する。
		   中央に隙間ができた場合は背景色 #f1f4f9 で埋まる。 */
		background-image: url(../img-page/rf-mv-sp-top.jpg), url(../img-page/rf-mv-sp-bottom.jpg);
		background-repeat: no-repeat, no-repeat;
		background-position: top center, bottom 580px center;
		background-size: 100% auto, 100% auto;
	}
}
.rd-hero-inner {
	max-width: 1080px;
	margin-inline: auto;
	padding: 80px 24px 0;
}
.rd-hero-lead {
	max-width: 640px;
}
.rd-hero-lead h1 {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #29375b;
	line-height: 1.44;
	margin: 0 0 8px;
}
.rd-hero-lead .rd-sub {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #17298d;
	margin: 0 0 24px;
}
.rd-hero-lead .rd-lead-txt {
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	letter-spacing: 0.02em;
	margin: 0;
}
@media (max-width: 768px) {
	.rd-hero-lead h1 {
		font-size: 24px;
	}
}

.rd-stats {
	max-width: 1080px;
	margin: 56px auto 0;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	list-style: none;
}
@media (max-width: 480px) {
	.rd-stats {
		padding: 0 20px;
	}
}
.rd-stats li {
	background: #fff;
	border-radius: 8px;
	text-align: center;
	padding: 20px 8px;
}
.rd-stats li .rd-stat-label {
	display: block;
	font-size: 20px;
	font-weight: 700;
	color: #29375b;
	margin-bottom: 6px;
}
@media (max-width: 480px) {
	.rd-stats li .rd-stat-label {
		font-size: 17px;
	}
}
.rd-stats li .rd-stat-num {
	font-size: 48px;
	font-weight: 700;
	color: #b81a35;
	line-height: 1;
}
.rd-stats li .rd-stat-num small {
	font-size: 32px;
	margin-left: 2px;
}

/* CTAバー外枠（電話＋Web/LINE/無料体験。中身は .rd-phonecta を使用。ヒーロー・クロージングで使用） */
.rd-ctabar {
	background: #17298d;
	padding: 104px 0 40px;
	margin-top: -80px;
}
.rd-ctabar .rd-inner {
	max-width: 1080px;
}
.rd-ctabar .rd-inner .rd-phonecta {
	gap: 24px;
}
@media (max-width: 768px) {
	.rd-ctabar {
		padding: 240px 0 40px;
    	margin-top: -218px;
	}
}

/* ---------- 3. クイックナビ ---------- */
.rd-quicknav {
	background: #f1f4f9;
	padding: 40px 0;
}
/* 下層ページの main.page .page-nav ul li a と同じ装飾 */
.rd-quicknav ul {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.rd-quicknav a {
	display: block;
	color: #17298d;
	font-size: 18px;
	font-weight: 700;
	padding: 16px 16px 16px 56px;
	background: #fff url(../img-top/icon-course-box-btn.svg) no-repeat top 16px left 16px;
	background-size: 28px;
	text-decoration: none;
	transition: all 0.3s ease;
}
.rd-quicknav a:hover {
	opacity: 0.5;
}
@media (max-width: 768px) {
	.rd-quicknav {
		padding: 24px 0;
	}
	.rd-quicknav a {
		font-size: 16px;
	}
}

/* ---------- 4/5. セクション共通 ---------- */
.rd-section {
	padding: 80px 0;
}
.rd-section.is-light {
	background: #f1f4f9;
}
.rd-section.is-cream {
	background: #fff5e3;
}
@media (max-width: 768px) {
	.rd-section {
		padding: 40px 0;
	}
}

/* 基本情報／偏差値・入試データ／科目別出題傾向 の3セクション共通（デザイン準拠） */
.rd-info-section {
	background: #fff;
	padding: 0;
}
.rd-info-section .rd-inner {
	background: #f1f4f9;
	padding: 48px 64px;
	margin-top: 48px;
	box-sizing: border-box;
}
@media (max-width: 768px) {
	.rd-info-section .rd-inner {
		width: calc(100% - 40px);
		padding: 32px 16px 16px;
		margin: 24px 20px;
	}
}
.rd-section.is-compare {
	background: #eef2f8;
}

/* ---------- 表組み（見出し行のみ紺色、データ行のラベルは白背景+紺太字） ---------- */
.rd-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	margin-bottom: 24px;
}
.rd-table th,
.rd-table td {
	border: 1px solid #d9d9d9;
	padding: 12px 20px;
	text-align: left;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
	word-break: keep-all;
}
@media (max-width: 768px) {
	.rd-table th,
	.rd-table td {
		padding: 4px 8px;
		font-size: 15px;
	}
}
.rd-table thead th {
	background: #17298d;
	color: #fff;
}
.rd-table thead th:first-child {
	width: auto;
}
.rd-table tbody th {
	background: #fff;
	color: #17298d;
}
.rd-table td {
	background: #fff;
	color: #29375b;
}
.rd-table td a {
	color: #17298d;
	text-decoration: underline;
}

.rd-note {
	font-size: 14px;
	font-weight: 600;
	color: #29375B;
	text-align: center;
}

/* 開成中学校の基本情報テーブルのみ、SPでは横スクロールで表示（他のテーブルはそのまま） */
@media (max-width: 768px) {
	.rd-table {
		margin-bottom: 16px;
	}
	.rd-table-scroll {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		margin-bottom: 16px;
	}
	.rd-table-scroll .rd-table {
		width: auto;
		min-width: 640px;
		table-layout: auto;
		margin-bottom: 0;
	}
}

/* 合格実績バナー（背景は桜の写真 bg-ad-reco-pc.jpg／SPは bg-ad-reco-sp.jpg） */
.rd-banner-photo {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
	background: #fbe4ea url(../img-page/bg-ad-reco-pc.jpg) no-repeat center;
	background-size: cover;
	padding: 48px 24px 40px;
	text-align: center;
	margin-top: 48px;
}
.rd-banner-photo .rd-deco-ttl {
	margin-bottom: 12px;
	padding-top: 28px;
}
.rd-banner-photo h3 {
	color: #17298d;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 -32px;
}
.rd-banner-photo .rd-num-line {
	font-size: 36px;
	font-weight: 700;
	color: #29375b;
	margin: 0;
}
.rd-banner-photo .rd-num-line strong {
	color: #b81a35;
	font-size: 64px;
	margin: 0 8px;
	background: 0;
}
.rd-banner-photo small {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #29375b;
}
@media (max-width: 768px) {
	.rd-banner-photo {
		background-image: url(../img-page/bg-ad-reco-sp.jpg);
	}
	.rd-banner-photo .rd-num-line {
		line-height: 1;
		margin: 48px 0 16px;
		font-size: 28px;
	}
}

/* ---------- 6. 科目別アコーディオン ---------- */
.rd-subject {
	margin-bottom: 24px;
	background: #fff;
}
.rd-subject-head {
	background: #17298d;
	color: #fff;
	padding: 20px 32px;
	font-weight: 700;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}
.rd-subject-head .rd-toggle-icon {
	font-weight: 700;
}
.rd-subject-body {
	padding: 32px;
	display: none;
}
.rd-subject.is-open .rd-subject-body {
	display: block;
}
.rd-subject-body h4 {
	color: #29375b;
	font-size: 20px;
	font-weight: 700;
	border-bottom: 1px solid #17298d;
	padding-bottom: 4px;
	margin: 24px 0 12px;
}
.rd-subject-body h4:first-child {
	margin-top: 0;
}
.rd-subject-body p {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	margin: 0 0 16px;
}
@media (max-width: 768px) {
	.rd-subject {
		margin-bottom: 16px;
	}
	.rd-subject-head {
		padding: 12px 20px;
		font-size: 16px;
		line-height: 1.3;
	}
	.rd-subject-body {
		padding: 16px;
	}
	.rd-subject-body h4 {
		font-size: 18px;
	}
	.rd-subject-body p {
		font-size: 15px;
		line-height: 1.3;
	}
}

/* ---------- 7. 担当プロ教師カード（背景はFigma実データ通り、よくある質問と同じドット方眼: img-top/bg.png） ---------- */
#teacher {
	margin-top: 80px;
	background: url(../img-top/bg.png) no-repeat center center;
	background-size: cover;
	border-top: #17298D 1px solid;
}
@media (max-width: 768px) {
	#teacher {
		margin-top: 40px;
	}
	#teacher.rd-section {
		padding: 40px 0;
	}
}

/* .swiper{display:block}（Swiper本体のCSS）に詳細度で確実に勝つよう .rd-teachers.swiper で指定 */
.rd-teachers.swiper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 32px;
	overflow: visible;
}
.rd-teacher-card {
	position: relative;
	background: #fff;
	box-shadow: 0 0 4px rgba(0,0,0,0.25);
	padding: 80px 24px 24px;
	box-sizing: border-box;
	text-align: center;
}
.rd-teacher-card .rd-avatar {
	position: absolute;
	top: -24px;
	left: calc(50% - 48px);
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 16px;
	border: 1px solid #d9d9d9;
}
.rd-teacher-card .rd-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.rd-teacher-card .rd-name {
	font-size: 24px;
	font-weight: 700;
	color: #29375b;
	margin-bottom: 4px;
}
.rd-teacher-card .rd-name span {
	font-size: 15px;
	font-weight: 600;
}
.rd-teacher-card .rd-desc {
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
	margin-bottom: 20px;
}
.rd-teacher-card dl {
	text-align: left;
	font-size: 15px;
	font-weight: 700;
	margin: 0;
}
.rd-teacher-card dl div {
	display: flex;
	margin-bottom: 2px;
	background: #F1F4F9;
}
.rd-teacher-card dl dt {
	background: #17298d;
	color: #fff;
	padding: 4px 10px;
	width: 88px;
	flex-shrink: 0;
	border-radius: 2px;
	font-size: 13px;
	margin: 0 8px 0 0;
	text-align: center;
}
.rd-teacher-card dl dd {
	padding: 4px;
	margin: 0;
	line-height: 1.3;
}

.rd-btn-pair {
	display: flex;
	justify-content: center;
	gap: 16px;
}
/* TOPの「四谷進学会が大切にしている教育方針」ボタン（.btn-box .btn）と同じ装飾
   ※ .rd-page a{color:inherit} より詳細度を上げるため a.rd-btn-navy とする */
a.rd-btn-navy {
	display: flex;
	position: relative;
	justify-content: center;
	align-items: center;
	width: 320px;
	height: 64px;
	padding: 0 64px 0 40px;
	box-sizing: border-box;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	font-style: normal;
	text-align: center;
	text-decoration: none !important;
	box-shadow: inset 0 -2px 0px rgba(0, 0, 0, .1);
	background: #17298D url(../img-top/icon-more-btn.svg) no-repeat center right 16px;
}

/* SP：担当プロ教師スワイパー（.new-voice と同じ挙動：1080px以上はグリッド、以下はSwiper） */
.rd-teacher-swiper .rd-teacher-track {
	display: contents;
}
@media (max-width: 1080px) {
	.rd-teachers.swiper {
		display: block;
		overflow: hidden;
	}
	.rd-teacher-swiper .rd-teacher-track {
		display: flex;
		flex-wrap: nowrap;
		margin-bottom: 24px;
	}
	.rd-teacher-swiper .swiper-slide {
		width: 100%;
		margin-top: 24px;
		flex-shrink: 0;
	}
	.swiper-slide {
		height: auto;
	}
	.rd-teacher-swiper .swiper-button-prev,
	.rd-teacher-swiper .swiper-button-next {
		display: flex !important;
		align-items: center;
		justify-content: center;
		position: absolute;
		width: 56px;
		height: 56px;
		top: auto;
		bottom: 8px;
		z-index: 7;
		margin-top: 0;
	}
	.rd-teacher-swiper .swiper-button-prev::after,
	.rd-teacher-swiper .swiper-button-next::after {
		display: none;
	}
	.rd-teacher-swiper .swiper-button-prev {
		left: 16px;
		background: url(../img-top/ixon-swiper-left.svg) no-repeat center;
	}
	.rd-teacher-swiper .swiper-button-next {
		right: 16px;
		background: url(../img-top/ixon-swiper-right.svg) no-repeat center;
	}
	.rd-teacher-swiper .swiper-pagination {
		display: block !important;
		bottom: 24px;
		left: 0;
		width: 100%;
		text-align: center;
		z-index: 3;
	}
	.rd-teacher-swiper .swiper-pagination span {
		display: inline-block;
		width: 12px;
		height: 12px;
		margin: 0 6px;
		background: #17298d;
		border-radius: 50%;
		opacity: .3;
	}
	.rd-teacher-swiper .swiper-pagination span.swiper-pagination-bullet-active {
		opacity: 1;
	}
	.rd-teacher-swiper {
		position: relative;
		padding-bottom: 72px;
	}
}
@media (min-width: 1081px) {
	.rd-teacher-swiper .swiper-button-prev,
	.rd-teacher-swiper .swiper-button-next,
	.rd-teacher-swiper .swiper-pagination {
		display: none !important;
	}
}

/* 代表の言葉 */
.rd-talk-inner {
	text-align: center;
}
.rd-interview-frame {
	position: relative;
	border-radius: 4px;
	overflow: hidden;
}
.rd-interview-frame img {
	width: 100%;
	display: block;
}
.rd-interview-frame video {
	width: 100%;
	height: auto;
  	aspect-ratio: 16 / 9; /* 16:9 の比率を固定 */
}

/* 見出し装飾（TOPの .new-talk .head ／ .new-table .head と同じ deco-head.svg。
   代表の言葉／クロージングCTAの見出しで使用） */
.rd-talk-head {
	padding-top: 56px;
	text-align: center;
	background: url(../img-top/deco-head.svg) no-repeat top center;
}
.rd-talk-head h2 {
	color: #17298D;
	font-size: 36px;
	font-weight: bold;
	margin: 32px 0 24px;
}
.rd-closing .rd-talk-head h2 {
	color: #fff;
}
@media (max-width: 768px) {
	.rd-talk-head h2 {
		font-size: 24px;
	}
}
@media (max-width: 480px) {
	.rd-talk-head {
		padding-top: 48px;
	}
	.rd-talk-head h2 {
		margin: 0 0 16px;
	}
}

/* 料金 */
.rd-price-intro {
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 32px;
}
.rd-price-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-bottom: 32px;
}
.rd-price-box {
	background: #fff;
	border: 1px solid;
	padding: 24px;
}
.rd-price-box.is-entry {
	border-color: #da512a;
}
.rd-price-box.is-month {
	border-color: #17298d;
}
.rd-price-box .rd-price-head {
	color: #fff;
	font-weight: 700;
	font-size: 24px;
	line-height: 24px;
	text-align: center;
	padding: 16px;
}
.rd-price-box.is-entry .rd-price-head {
	background: #da512a;
}
.rd-price-box.is-month .rd-price-head {
	background: #17298d;
}
.rd-price-box .rd-price-body {
	margin-top: 20px;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #29375b;
	text-align: center;
}
/* 入会金：Figma実測（PC node-id=3165-488）文字ごとにサイズが異なる */
.rd-price-box.is-entry .rd-price-small {
	font-size: 20px;
}
.rd-price-box.is-entry .rd-price-big {
	font-size: 32px;
}
.rd-price-box.is-month .rd-price-body div {
	margin-bottom: 12px;
}
.rd-price-box.is-month .rd-price-body div:last-child {
	margin-bottom: 0;
}
/* 月謝：Figma実測（PC node-id=3165-488）文字ごとにサイズが異なる */
.rd-price-box.is-month .rd-price-row-label {
	font-size: 18px;
}
.rd-price-box.is-month .rd-price-num {
	font-size: 28px;
}
.rd-price-box.is-month .rd-price-yen {
	font-size: 20px;
}
.rd-price-box.is-month .rd-price-tax {
	font-size: 14px;
}

.rd-price-note {
	background: #fff;
	box-shadow: 0 0 8px rgba(0,0,0,0.25);
	padding: 32px;
	margin-bottom: 40px;
	display: flex;
	align-items: center;
	gap: 40px;
}
.rd-price-note-text {
	flex: 1;
}
.rd-price-note h4 {
	color: #17298D;
	font-size: 27px;
	font-weight: 700;
	margin: 0 0 12px;
}
.rd-price-note .rd-price-lead {
	font-size: 14px;
	font-weight: 700;
	line-height: 24px;
	margin: 0 0 12px;
}
.rd-price-note ul {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 24px;
}
.rd-price-note .rd-btn-navy {
	flex-shrink: 0;
	width: 241px;
	margin: 0;
}
@media (max-width: 768px) {
	.rd-price-note {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding: 24px;
	}
	.rd-price-note ul {
		margin: 0 0 4px;
	}
	.rd-price-note .rd-btn-navy {
		width: 100%;
		margin: 0 auto;
	}
	.rd-price-note h4 {
		font-size: 24px;
	}
}

/* 流れ */
.rd-flow {
	display: flex;
	gap: 48px;
	margin-bottom: 24px;
	position: relative;
}
.rd-flow-step {
	width: calc((100% - 144px)/4);
	background: #fff;
	box-shadow: 0 0 8px rgba(0,0,0,0.25);
	text-align: center;
	padding: 16px 12px 24px;
	position: relative;
}
.rd-flow-step .rd-flow-icon {
	display: block;
	margin: 0 auto 12px;
	width: 48px;
	height: 48px;
}
.rd-flow-step .rd-flow-icon svg {
	width: 100%;
	height: 100%;
}
.rd-flow-step p {
	margin: 0;
	font-weight: 700;
	font-size: 20px;
	color: #17298D;
	line-height: 1.2;
}
.rd-flow-step:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -34px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 16px solid #d79400;
}
.rd-flow-note {
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: #29375b;
}
@media (max-width: 768px) {
	.rd-flow {
		display: grid;
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.rd-flow-step {
		display: flex;
		align-items: center;
		gap: 8px;
		width: 100%;
		box-sizing: border-box;
		padding: 12px;
	}
	.rd-flow-step img {
		width: 48px;
		height: auto;
	}
	.rd-flow-step p br {
		display: none;
	}
	.rd-flow-note {
		font-size: 15px;
	}
}

.rd-faq-more {
	text-align: center;
	margin-top: 8px;
}
.rd-faq-more .rd-btn-navy {
	display: inline-flex;
	width: 352px;
	margin: 0 auto;
}
@media (max-width: 480px) {
	.rd-faq-more .rd-btn-navy {
		width: 100%;
	}
}

/* 併願校 */
.rd-related-schools {
	padding: 40px 0;
}
.rd-related-schools h2 {
	color: #29375b;
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 24px;
	text-align: center;
}
/* 下層ページ（コース一覧など）の main.page .page-nav ul li a と同じ装飾 */
.rd-related-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.rd-related-list a {
	display: block;
	color: #17298d;
	font-size: 18px;
	font-weight: 700;
	padding: 16px 16px 16px 56px;
	background: #fff url(../img-top/icon-course-box-btn.svg) no-repeat top 16px left 16px;
	background-size: 28px;
	text-decoration: none;
	transition: all 0.3s ease;
}
.rd-related-list a:hover {
	opacity: 0.5;
}

/* クロージングCTA（写真背景） */
.rd-closing {
	position: relative;
	background: linear-gradient(rgba(9,16,53,.6), rgba(9,16,53,.6));
	background-size: cover;
	background-position: center;
	padding: 56px 0 0;
	color: #fff;
	text-align: center;
}
#voice.rd-closing {
	background-image: url(../img-top/cta-bg.jpg);
}
.rd-closing .rd-talk-head h2 {
	font-size: 32px;
	margin: 0 0 16px;
}
.rd-closing > p {
	font-size: 20px;
	font-weight: 700;
}
.rd-closing .rd-ctabar {
	background: transparent;
}

/* ============ レスポンシブ ============ */
@media (max-width: 1080px) {
	.rd-hero-inner {
		padding-top: 40px;
	}
	.rd-stats {
		grid-template-columns: repeat(2, 1fr);
	}
	.rd-stats li .rd-stat-num {
		font-size: 32px;
	}
	.rd-stats li .rd-stat-num small {
		font-size: 24px;
	}
	.rd-quicknav ul {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
	.rd-teacher-card {
		max-width: 420px;
		margin: 0 auto;
	}
	.rd-btn-pair {
		flex-wrap: wrap;
	}
	.rd-btn-pair a.rd-btn-navy {
		width: calc(50% - 8px);
	}
	.rd-price-grid {
		grid-template-columns: 1fr;
	}
	.rd-flow {
		grid-template-columns: repeat(2, 1fr);
	}
	.rd-flow-step:nth-child(2)::after {
		display: none;
	}
	.rd-related-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
	.rd-deco-ttl h2 {
		font-size: 22px;
	}
}
@media (max-width: 768px) {
	.rd-deco-ttl h2 {
		line-height: 1.3;
	}
	.rd-closing .rd-talk-head h2 {
		font-size: 24px;
	}
	.rd-stats {
		margin: 172px auto 0;
	}
	.rd-price-grid {
		gap: 16px;
	}
	.rd-related-list {
		grid-template-columns: 1fr;
	}
	.rd-quicknav ul {
		grid-template-columns: 1fr;
	}
	/* 基本情報テーブル以外は、はみ出さずに1行に収まるよう内容量にあわせて列幅を自動調整 */
	.rd-inner > .rd-table {
		table-layout: auto;
	}
	.rd-inner > .rd-table thead th:first-child {
		width: auto;
	}
	.rd-btn-pair a.rd-btn-navy {
		height: 56px;
		padding: 0 16px;
		font-size: 16px;
		background-position: center right 12px;
		background-size: 32px;
	}
	
	.rd-price-box {
		padding: 16px;
	}
	.rd-price-box .rd-price-head {
		font-size: 18px;
		padding: 12px;
	}
	.rd-price-box .rd-price-body {
		margin-top: 8px;
	}
	.rd-price-box.is-entry .rd-price-small {
		font-size: 15px;
	}
	.rd-price-box.is-month .rd-price-row-label {
		font-size: 15px;
	}
	.rd-price-box.is-month .rd-price-num {
		font-size: 24px;
	}
	.rd-price-box.is-month .rd-price-yen {
		font-size: 14px;
	}
	.rd-price-box.is-month .rd-price-tax {
		font-size: 12px;
	}
}
@media (max-width: 560px) {
	.rd-stats {
		grid-template-columns: 1fr 1fr;
	}
	.rd-flow {
		grid-template-columns: 1fr;
	}
	.rd-flow-step:not(:last-child)::after {
		display: block;
		right: auto;
		left: 50%;
		top: calc(100% + 24px);
		transform: translate(-50%, -50%) rotate(90deg);
	}
	.rd-inner > .rd-table th,
	.rd-inner > .rd-table td {
		padding: 10px 12px;
		font-size: 15px;
	}
}
@media (max-width: 480px) {
	.rd-btn-pair {
		flex-direction: column;
	}
	.rd-btn-pair a.rd-btn-navy {
		width: 100%;
	}
	.rd-inner > .rd-table th,
	.rd-inner > .rd-table td {
		padding: 4px 8px;
	}
}

/* ========================================================================
   以下、TOPページ（page-front-new.php）の各セクションと同じ見た目・挙動にするための
   独自複製CSS。

   TOP側の共有クラス（.new-contact / .new-powers / .new-table / .new-faq /
   .new-course / .new-plan .teacher-box / #cta-box）や、それらが依存する
   body スコープ用クラス（.front-new-page-add）は一切参照していません。
   セレクタは全てこのページ専用の名前（rd-contact / rd-powers / rd-compare /
   rd-faq / rd-course / rd-plan .rd-teacherbox / #rd-cta-box）にリネームして
   common.css から値をそのまま複製したものです。
   → TOPページを含む他のページの見た目・挙動には一切影響しません。
   → 逆に、TOP側の .new-* や #cta-box を将来編集しても、このページには影響しません。
======================================================================== */

/* ---------- .rd-cta-box（TOPの #cta-box 相当。背景写真＋見出しの外枠。中身は .rd-phonecta を使う） ---------- */
.rd-cta-box {
	background: url(../img-top/cta-bg.jpg) no-repeat center;
	background-size: cover;
	text-align: center;
}
.rd-cta-box .container {
	padding: 56px 0;
}
.rd-cta-box .head {
	margin-bottom: 40px;
}
.rd-cta-box h2 {
	font-size: 32px;
	font-weight: 700;
	padding-top: 40px;
	color: white;
	background: url(../img-top/deco_cta.svg) no-repeat top center;
}
.rd-cta-box h2 br.sp {
	display: none;
}
.rd-cta-box p {
	color: #fff;
	font-size: 20px;
}
@media (max-width: 800px) {
	.rd-cta-box .head {
		margin-bottom: 32px;
	}
	.rd-cta-box h2 {
		font-size: 28px;
	}
	.rd-cta-box h2 br.sp {
		display: block;
	}
	.rd-cta-box p {
		font-size: 15px;
	}
}
@media (max-width: 530px) {
	.rd-cta-box h2 {
		font-size: 20px;
	}
}

/* ---------- .rd-phonecta（電話＋Web/LINEボタンのカード行。TOPの #cta-box .flex-box 相当。
   このページ内で複数回使用：ヒーロー／お子さまに合う教師CTA／クロージングCTA） ---------- */
.rd-phonecta {
	display: flex;
	justify-content: space-between;
}
.rd-phonecta .box {
	padding: 32px 32px 24px;
	background: #fff;
}
.rd-phonecta .box h3 {
	color: #17298D;
	font-size: 24px;
	font-weight: bold;
	padding-bottom: 16px;
	margin-bottom: 24px;
	border-bottom: 1px #D9D9D9 solid;
	text-align: center;
}
.rd-phonecta .box h3 br.sp {
	display: none;
}
.rd-phonecta .tel-box {
	width: 370px;
}
.rd-phonecta .tel-box a {
	display: block;
	color: #29375B;
	font-size: 40px;
	font-weight: bold;
	padding-left: 42px;
	background: url(../img-top/icon-tel.svg) no-repeat top 4px left;
	text-decoration: none;
	line-height: 1;
	margin: 0 0 8px;
}
.rd-phonecta .tel-box div {
	display: flex;
}
.rd-phonecta .tel-box div span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 74px;
	height: 25px;
	border-radius: 2px;
	color: #fff;
	font-size: 14px;
	background: #17298D;
	flex-shrink: 0;
}
.rd-phonecta .tel-box div p {
	font-size: 16px;
	font-weight: 700;
	text-align: left;
	margin-left: 12px;
	color: #29375B;
}
.rd-phonecta .contact-box {
	width: calc(100% - 394px);
}
.rd-phonecta .contact-box div {
	display: flex;
	justify-content: space-between;
}
.rd-phonecta .contact-box div .btn {
	position: relative;
	display: block;
	width: calc((100% - 16px) / 2);
	padding: 20px 0;
	border-radius: 120px;
	text-decoration: none;
	text-align: center;
	transition: all 0.3s ease;
}
.rd-phonecta .contact-box div .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.rd-phonecta .contact-box div .btn::after {
	position: absolute;
	content: "";
	width: 10px;
	height: 16px;
	top: calc(50% - 8px);
	right: 28px;
	background: url(../img-top/icon-more.svg) no-repeat center;
}
.rd-phonecta .contact-box div .btn span {
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	padding-left: 26px;
}
.rd-phonecta .contact-box div .btn p {
	color: #fff;
	font-weight: bold;
	font-size: 22px;
}
.rd-phonecta .contact-box div .contact-btn {
	background: #F8A100;
}
.rd-phonecta .contact-box div .contact-btn span {
	background: url(../img-top/icon-contact-btn.svg) no-repeat top 2px left;
}
.rd-phonecta .contact-box div .line-btn {
	background: #06C655;
}
.rd-phonecta .contact-box div .line-btn span {
	background: url(../img-top/icon-line-btn.svg) no-repeat top 3px left;
}
.rd-phonecta .contact-box div .btn .sp {
	display: none;
}
@media (max-width: 1280px) {
	.rd-phonecta {
		flex-wrap: wrap;
	}
	.rd-phonecta .tel-box {
		width: 100%;
		margin-bottom: 24px;
	}
	.rd-phonecta .tel-box a {
		display: inline-block;
		background: url(../img-top/icon-tel.svg) no-repeat top 16px left;
	}
	.rd-phonecta .tel-box div {
		justify-content: center;
	}
	.rd-phonecta .contact-box {
		width: 100%;
	}
}
@media (max-width: 800px) {
	.rd-phonecta {
		flex-wrap: wrap;
		gap: 16px;
	}
	.rd-phonecta .box h3 br.sp {
		display: block;
	}
	.rd-phonecta .tel-box {
		width: 100%;
		margin-bottom: 0;
	}
	.rd-phonecta .tel-box a {
		display: inline-block;
		background: url(../img-top/icon-tel.svg) no-repeat top 16px left;
	}
	.rd-phonecta .tel-box div {
		justify-content: center;
	}
	.rd-phonecta .contact-box {
		width: 100%;
	}
	.rd-phonecta .contact-box div {
		flex-wrap: wrap;
	}
	.rd-phonecta .contact-box div .btn {
		width: 100%;
		margin-bottom: 16px;
	}
	.rd-phonecta .contact-box div .btn:last-child {
		margin: 0;
	}
}
@media (max-width: 530px) {
	.rd-phonecta {
		flex-wrap: wrap;
	}
	.rd-phonecta .box {
		padding: 24px;
	}
	.rd-phonecta .box h3 {
		font-size: 20px;
		padding-bottom: 12px;
	}
	.rd-phonecta .box h3 br {
		display: block;
	}
	.rd-phonecta .tel-box {
		width: 100%;
		margin-bottom: 0;
	}
	.rd-phonecta .tel-box a {
		display: inline-block;
		background: url(../img-top/icon-tel.svg) no-repeat top left;
	}
	.rd-phonecta .tel-box div {
		justify-content: center;
	}
	.rd-phonecta .contact-box {
		width: 100%;
	}
	.rd-phonecta .contact-box div {
		flex-wrap: wrap;
	}
	.rd-phonecta .contact-box div .btn {
		width: 100%;
		margin-bottom: 16px;
	}
	.rd-phonecta .contact-box div .btn::after {
		display: none;
	}
}
@media (max-width: 480px) {
	.rd-phonecta .contact-box div .btn {
		width: calc(50% - 4px);
		height: 48px;
		border-radius: 0;
		margin-bottom: 0;
	}
	.rd-phonecta .contact-box div .btn p {
		font-size: 16px;
		margin-top: 24px;
	}
	.rd-phonecta .contact-box div .btn .pc {
		display: none;
	}
	.rd-phonecta .contact-box div .btn .sp {
		display: block;
	}
	.rd-phonecta .contact-box div .contact-btn {
		background: #F8A100 url(../img/common/cta-box-icon-contact.svg) no-repeat top 16px center;
	}
	.rd-phonecta .contact-box div .line-btn {
		background: #06C655 url(../img/common/cta-box-icon-line.svg) no-repeat top 16px center;
	}
}
@media (max-width: 400px) {
	.rd-phonecta .box {
		padding: 24px;
	}
	.rd-phonecta .box h3 {
		font-size: 18px;
	}
	.rd-phonecta .tel-box a {
		display: inline-block;
		font-size: 32px;
	}
	.rd-phonecta .tel-box div span {
		height: 25px;
		font-size: 13px;
	}
	.rd-phonecta .tel-box div p {
		font-size: 15px;
	}
}

/* ---------- .rd-contact / .rd-contact2（TOPの .new-contact / .new-contact2 相当） ---------- */
.rd-contact {
	text-align: center;
	background: url(../img-top/bg-cta-contact01.jpg) no-repeat center;
	background-size: cover;
}
.rd-contact .container {
	padding: 64px 0;
}
.rd-contact .container > span {
	font-size: 20px;
	font-weight: bold;
	display: block;
	padding-top: 28px;
	background: url(../img-top/icon_three-powers.svg) no-repeat top center;
}
.rd-contact .container > p {
	font-size: 24px;
	font-weight: bold;
	margin: 20px 0 12px;
}
.rd-contact h2 {
	color: #17298D;
	font-size: 36px;
	font-weight: bold;
}
.rd-contact .contact-btn {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	width: 348px;
	height: 84px;
	border-radius: 80px;
	text-decoration: none;
	text-align: center;
	margin: 32px auto 16px;
	transition: all 0.3s ease;
	background: #F8A100;
}
.rd-contact .contact-btn::before {
	position: absolute;
	content: "";
	width: 40px;
	height: 40px;
	top: calc(50% - 20px);
	left: 24px;
	background: url(../img-top/icon-contact-btn.svg) no-repeat top 6px left 4px;
	background-size: 32px;
}
.rd-contact .contact-btn::after {
	position: absolute;
	content: "";
	width: 36px;
	height: 36px;
	top: calc(50% - 18px);
	right: 24px;
	background: url(../img-top/icon-more-btn-contact.svg) no-repeat;
}
.rd-contact .contact-btn span {
	width: 100%;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
}
.rd-contact .contact-btn p {
	width: 100%;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
}
.rd-contact small {
	font-size: 16px;
}
@media (max-width: 768px) {
	.rd-contact {
		padding-top: 35%;
		background: url(../img-top/bg-cta-contact01-sp.jpg) no-repeat top center;
		background-size: 100%;
	}
}
@media (max-width: 480px) {
	.rd-contact .container {
		padding: 40px 0;
	}
	.rd-contact .container > span {
		font-size: 16px;
	}
	.rd-contact .container > p {
		font-size: 18px;
		margin: 12px 0;
	}
	.rd-contact h2 {
		font-size: 24px;
	}
	.rd-contact .contact-btn {
		width: 100%;
		margin: 24px auto 16px;
		box-sizing: border-box;
	}
}
.rd-contact2 {
	background: url(../img-page/bg-pa-re-pc.jpg) no-repeat top center;
	background-size: 100%;
}
.rd-contact2 .container:first-child {
	padding: 120px 0 48px;
	text-align: center;
	background: url(../img-top/deco-head.svg), url(../img-top/deco-head.svg);
	background-position: top 80px center, bottom center;
	background-repeat: no-repeat;
	margin: 0 auto 0 0;
}
.rd-contact2-stat {
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: 12px;
}
.rd-contact2-stat .rd-stat-label {
	font-size: 40px;
	font-weight: 700;
	color: #17298D;
}
.rd-contact2-stat .rd-stat-num {
	font-size: 64px;
	font-weight: 700;
	color: #b81a35;
	line-height: 1;
}
.rd-contact2-stat .rd-stat-num small {
	font-size: 32px;
	margin-left: 2px;
}
.rd-contact.rd-contact2 .rd-contact2-note {
	font-size: 18px;
	font-weight: bold;
	margin: 16px 0 0;
}
@media (max-width: 768px) {
	.rd-contact2 {
		padding-top: 25%;
		background: url(../img-page/bg-pa-re-sp.jpg) no-repeat top center;
		background-size: 100%;
	}
	.rd-contact2 .container:first-child {
		margin: 0 auto;
		padding: 96px 0 32px;
		background: url(../img-top/deco-head.svg), url(../img-top/deco-head.svg);
    	background-position: top 64px center, bottom center;
    	background-repeat: no-repeat;
	}
	.rd-contact2-stat {
		text-align: center;
	}
	.rd-contact2-stat .rd-stat-label {
		font-size: 24px;
		margin: 0 auto;
	}
	.rd-contact2-stat .rd-stat-num {
		margin: 0 auto;
	}
}
@media (max-width: 480px) {
	.rd-contact2-stat {
		flex-direction: column;
		gap: 0;
	}
	.rd-contact2-stat .rd-stat-num {
		font-size: 48px;
	}
	.rd-contact.rd-contact2 .rd-contact2-note {
		font-size: 14px;
	}
}

/* ---------- .rd-powers（TOPの .new-powers 相当） ---------- */
.rd-powers .head h2 {
	font-size: 36px;
	font-weight: 700;
	text-align: center;
	margin-top: 24px;
}
.rd-powers .head h2 br {
	display: none;
}
.rd-powers .box {
	display: flex;
	gap: 40px;
	align-items: center;
	margin-top: 56px;
}
.rd-powers .box:nth-child(odd) {
	flex-direction: row-reverse;
}
.rd-powers .box .txt-box {
	width: 100%;
	text-align: left;
}
.rd-powers .box .txt-box .ttl {
	display: flex;
	align-items: center;
	gap: 24px;
	border-bottom: 1px #D9D9D9 solid;
	margin-bottom: 20px;
	padding-bottom: 20px;
}
.rd-powers .box .txt-box .ttl span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 80px;
	height: 80px;
	color: #fff;
	font-weight: bold;
	font-size: 48px;
	background: #17298D;
}
.rd-powers .box .txt-box .ttl h3 {
	color: #17298D;
	font-size: 28px;
	font-weight: bold;
	line-height: 1.5;
}
.rd-powers .box .txt-box ul li {
	font-size: 18px;
	font-weight: bold;
	padding-left: 24px;
	background: url(../img-top/icon-course-detail-box.svg) no-repeat top 7px left;
	margin-bottom: 4px;
}
.rd-powers .box .txt-box ul li small {
	display: block;
	line-height: 1.5;
}
@media (max-width: 1080px) {
	.rd-powers .box img {
		width: 320px;
		height: 268px;
		object-fit: cover;
	}
	.rd-powers .box .txt-box .ttl span {
		width: 64px;
		height: 64px;
		font-size: 32px;
	}
	.rd-powers .box .txt-box .ttl h3 {
		font-size: 22px;
	}
	.rd-powers .box .txt-box ul li {
		font-size: 15px;
		padding-left: 20px;
		background: url(../img-top/icon-course-detail-box.svg) no-repeat top 4px left;
	}
}
@media (max-width: 768px) {
	.rd-powers .head h2 {
		font-size: 28px;
		margin-top: 0;
	}
	.rd-powers .box {
		display: block;
		padding: 16px;
		background: #EEF2F8;
		margin-top: 12px;
	}
	.rd-powers .box img {
		display: none;
	}
}
.rd-powers .rd-btn-pair {
	margin-top: 40px;
}
@media (max-width: 480px) {
	.rd-powers .head h2 {
		font-size: 23px;
	}
	.rd-powers .head h2 br {
		display: block;
	}
	.rd-powers .box .txt-box .ttl {
		gap: 12px;
		margin-bottom: 16px;
		padding-bottom: 16px;
	}
	.rd-powers .box .txt-box .ttl span {
		width: 48px;
		height: 48px;
		font-size: 24px;
	}
	.rd-powers .box .txt-box .ttl h3 {
		font-size: 17px;
	}
	.rd-powers .box .txt-box ul li {
		font-size: 14px;
	}
	.rd-powers .box .txt-box ul li small br {
		display: none;
	}
}

/* ---------- .rd-compare（TOPの .new-table 相当） ---------- */
.rd-compare {
	background: #EEF2F8;
}
.rd-compare .head {
	padding-top: 56px;
	text-align: center;
	background: url(../img-top/deco-head.svg) no-repeat top center;
}
.rd-compare .head h2 {
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 32px;
}
.rd-compare .head span {
	display: block;
	color: #17298D;
	font-size: 18px;
	font-weight: bold;
}
.rd-compare .sp {
	display: none;
}
@media (max-width: 768px) {
	.rd-compare .pc {
		display: none;
	}
	.rd-compare .sp {
		display: block;
	}
}
@media (max-width: 480px) {
	.rd-compare .head {
		padding-top: 48px;
	}
	.rd-compare .head span {
		font-size: 16px;
	}
	.rd-compare .head h2 {
		font-size: 24px;
		margin-bottom: 32px;
	}
}
.rd-compare .compare-table {
	width: 100%;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 2px;
	margin-top: 40px;
}
.rd-compare .compare-table th,
.rd-compare .compare-table td {
	background: #fff;
	padding: 24px 20px;
	font-size: 15px;
	font-weight: bold;
	color: #333;
	line-height: 1.6;
	text-align: left;
	vertical-align: middle;
}
.rd-compare .compare-table thead th {
	color: #fff;
	font-size: 18px;
	text-align: center;
	padding: 18px 12px;
}
.rd-compare .compare-table tbody th {
	color: #17298D;
	font-size: 17px;
	text-align: center;
}
.rd-compare .compare-table thead th.label {
	background: #17298D;
}
.rd-compare .compare-table thead th.col-a,
.rd-compare .compare-table thead th.col-b {
	background: #909090;
}
.rd-compare .compare-table thead th.col-c {
	background: linear-gradient(180deg, #F3BE45, #EDA30F);
}
.rd-compare .compare-table .highlight {
	background: #FFF5E3;
}
.rd-compare .compare-table .icon {
	display: inline-block;
	vertical-align: middle;
	width: 36px;
	height: 36px;
	margin-right: 10px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.rd-compare .compare-table .icon.triangle {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 36'%3E%3Cpath d='M20 3 L37 33 L3 33 Z' fill='none' stroke='%231EC791' stroke-width='3.5' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.rd-compare .compare-table .icon.circle {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='16' fill='none' stroke='%23FF8500' stroke-width='4'/%3E%3C/svg%3E");
}
.rd-compare .compare-table .icon.circle-double {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='17' fill='none' stroke='%23FF8500' stroke-width='3'/%3E%3Ccircle cx='20' cy='20' r='10' fill='none' stroke='%23FF8500' stroke-width='3'/%3E%3C/svg%3E");
}
.rd-compare .compare-table.pc th,
.rd-compare .compare-table.pc td {
	padding: 16px;
}
.rd-compare .compare-table.pc th {
	font-size: 20px;
}
.rd-compare .compare-table.pc td {
	font-size: 16px;
}
.rd-compare .compare-table.pc thead th.label,
.rd-compare .compare-table.pc tbody th {
	width: 15%;
}
.rd-compare .compare-table.pc thead th.col-a,
.rd-compare .compare-table.pc thead th.col-b {
	width: 24%;
}
.rd-compare .compare-table.pc thead th.col-c {
	width: 37%;
}
.rd-compare .compare-table.sp {
	display: none;
	width: 100%;
}
@media (max-width: 768px) {
	.rd-compare .compare-table.sp {
		display: table;
	}
}
.rd-compare .compare-table.sp th,
.rd-compare .compare-table.sp td {
	width: 33.333%;
	text-align: center;
	padding: 8px;
}
.rd-compare .compare-table.sp thead th {
	font-size: 15px;
}
.rd-compare .compare-table.sp .icon {
	display: block;
	width: 48px;
	height: 48px;
	margin: 0 auto 8px;
}
.rd-compare .compare-table.sp .badge {
	display: block;
	width: fit-content;
	margin: 0 auto 10px;
	background: #17298D;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
	padding: 4px 12px;
	border-radius: 0;
}
.rd-compare .compare-table.sp p {
	margin: 0;
	font-size: 13px;
	font-weight: bold;
}

/* ---------- .rd-faq（TOPの .new-faq 相当） ---------- */
.rd-faq {
	background: url("../img-top/bg.png") no-repeat center center;
	background-size: cover;
	position: relative;
	border-top: 1px solid #17298D;
	border-bottom: 1px solid #17298D;
	text-align: center;
}
.rd-faq .container {
	padding: 80px 0;
}
.rd-faq h2 {
	display: inline-block;
	font-size: 40px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 40px;
	padding-left: 64px;
	background: url(../img-top/icon-faq.svg) no-repeat center left;
}
.rd-faq .rd-faq-list {
	text-align: left;
}
.rd-faq .rd-faq-list .rd-faq-item {
	border: #17298D 1px solid;
	background: #fff;
	margin-bottom: 24px;
	overflow: hidden;
	transition: all 0.6s ease;
}
.rd-faq .rd-faq-list .rd-faq-item:hover {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.rd-faq .rd-faq-list .rd-faq-item.active .rd-faq-toggle {
	transform: rotate(180deg);
	transition: all 0.6s ease;
}
.rd-faq .rd-faq-list .rd-faq-item.active .rd-faq-answer {
	max-height: 200px;
	opacity: 1;
	transition: all 0.6s ease;
}
.rd-faq .rd-faq-list .rd-faq-item .rd-faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 25px 30px;
	cursor: pointer;
	transition: background-color 0.6s ease;
}
.rd-faq .rd-faq-list .rd-faq-item .rd-faq-question h3 {
	width: 100%;
	color: #17298D;
	font-size: 20px;
	font-weight: bold;
}
.rd-faq .rd-faq-list .rd-faq-item .rd-faq-toggle {
	width: 24px;
	height: 12px;
	transition: transform 0.3s ease;
	margin-left: 20px;
	background: url(../img-top/icon-faq-more.svg) no-repeat;
	flex-shrink: 0;
}
.rd-faq .rd-faq-list .rd-faq-item .rd-faq-answer {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	border-top: #E3E3E3 1px solid;
	margin: 0 32px;
	transition: all 0.3s ease;
}
.rd-faq .rd-faq-list .rd-faq-item .rd-faq-answer p {
	padding: 12px 0 25px;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
}
@media (max-width: 768px) {
	.rd-faq h2 {
		font-size: 32px;
	}
	.rd-faq .rd-faq-list .rd-faq-item .rd-faq-question {
		padding: 20px 24px;
	}
	.rd-faq .rd-faq-list .rd-faq-item .rd-faq-question h3 {
		font-size: 18px;
	}
}
@media (max-width: 480px) {
	.rd-faq .container {
		padding: 48px 0;
	}
	.rd-faq h2 {
		font-size: 26px;
		margin-bottom: 32px;
		padding: 48px 0 0;
		background: url(../img-top/icon-faq.svg) no-repeat top center;
	}
}

/* ---------- .rd-course（TOPの .new-course 相当） ---------- */
.rd-course {
	background: #FFF5E3;
}
.rd-course .container {
	padding: 80px 0 0;
}
.rd-course .head {
	text-align: center;
}
.rd-course .head h2 {
	font-size: 40px;
	font-weight: bold;
	margin-bottom: 24px;
	display: inline-block;
	padding: 0 152px;
	background: url(../img-top/deco-side-left.svg), url(../img-top/deco-side-right.svg);
	background-position: left bottom, right bottom;
	background-repeat: no-repeat;
}
.rd-course .head p {
	font-size: 20px;
	font-weight: bold;
}
.rd-course .course-box {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 64px 0 0;
	gap: 0;
}
.rd-course .course-box .box {
	width: calc((100% - 96px) / 4);
	background: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}
.rd-course .course-box .box img {
	display: flex;
	margin: -24px auto 0;
}
.rd-course .course-box .box h3 {
	color: #17298D;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	margin: 16px 0;
}
.rd-course .course-box .box ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.rd-course .course-box .box ul li {
	border-top: #E3E3E3 1px solid;
}
.rd-course .course-box .box ul li:last-child {
	border-bottom: #E3E3E3 1px solid;
}
.rd-course .course-box .box ul li a {
	display: block;
	color: #29375B;
	font-size: 16px;
	font-weight: bold;
	padding: 16px 56px 16px 20px;
	text-decoration: none;
	background: url(../img-top/icon-course-box-btn.svg) no-repeat center right 12px;
	transition: all 0.3s ease;
}
.rd-course .course-box .box ul li a:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1080px) {
	.rd-course .course-box {
		gap: 32px;
	}
	.rd-course .course-box .box {
		width: calc((100% - 32px) / 2);
	}
}
@media (max-width: 768px) {
	.rd-course .head h2 {
		display: block;
		padding: 0;
		font-size: 32px;
		background: url(../img-top/deco-side-left.svg), url(../img-top/deco-side-right.svg);
		background-position: left bottom, right bottom;
		background-repeat: no-repeat;
		background-size: 80px;
	}
	.rd-course .head p {
		font-size: 18px;
	}
	.rd-course .container {
		width: 100%;
		padding: 56px 0 0;
	}
}
@media (max-width: 480px) {
	.rd-course .course-box .box h3 {
		font-size: 22px;
	}
	.rd-course .head h2 {
		font-size: 24px;
		margin-bottom: 16px;
	}
	.rd-course .head p {
		font-size: 15px;
		text-align: left;
	}
	.rd-course .course-box {
		gap: 16px;
		margin: 32px 0;
	}
	.rd-course .course-box .box {
		width: 100%;
	}
	.rd-course .course-box .box img {
		width: 80px;
		height: 80px;
		margin: 16px 20px 16px 16px;
	}

	/* アコーディオンメニュー始まり */
	.rd-course .course-box .box.course-acc {
		overflow: hidden;
	}
	.rd-course .course-acc-check {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
	.rd-course .course-acc-trigger {
		position: relative;
		display: flex;
		align-items: center;
		cursor: pointer;
	}
	.rd-course .course-acc-head {
		position: relative;
		display: flex;
		align-items: center;
		padding: 0 48px 0 0;
		margin: 0;
		min-height: 32px;
	}
	.rd-course .course-acc-head h3 {
		margin: 0;
		text-align: center;
		flex: 1;
		font-size: 20px;
		width: 100%;
	}
	.rd-course .course-acc-icon {
		position: relative;
		right: -40px;
		top: calc(50% - 16px);
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		color: #17298D;
		font-size: 24px;
		font-weight: bold;
		line-height: 1;
	}
	.rd-course .course-acc-icon::before {
		content: "＋";
	}
	.rd-course .course-acc-check:checked ~ .course-acc-trigger .course-acc-icon::before {
		content: "－";
	}
	.rd-course .course-acc-body {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}
	.rd-course .course-acc-check:checked ~ .course-acc-body {
		max-height: 500px;
	}
	/* アコーディオンメニュー終わり */
}
@media (min-width: 481px) {
	.rd-course .course-acc-check {
		display: none;
	}
	.rd-course .course-acc-trigger {
		display: contents;
		cursor: default;
	}
	.rd-course .course-acc-icon {
		display: none;
	}
	.rd-course .course-acc-head {
		display: block;
		padding: 0;
		margin: 0;
	}
	.rd-course .course-acc-body {
		max-height: none;
		overflow: visible;
	}
}

/* ---------- .rd-plan .rd-teacherbox（TOPの .new-plan .teacher-box 相当） ---------- */
.rd-plan {
	background: linear-gradient(0deg, #FFF5E3 0%, #FFFFFF 100%);
}
.rd-teacherbox {
	position: relative;
	padding: 0;
	background: none;
	z-index: 1;
	text-align: center;
	margin-top: 80px;
}
.rd-teacherbox::before {
	position: absolute;
	content: "";
	width: 100%;
	height: calc(100% - 200px);
	left: 0;
	bottom: 0;
	background: linear-gradient(90deg, #29539B 0%, #193056 100%);
	z-index: -1;
}
.rd-teacherbox .container {
	padding-top: 0;
}
.rd-teacherbox h3 {
	display: inline-block;
	padding: 0 152px;
	font-size: 36px;
	font-weight: bold;
	background: url(../img-top/deco-side-left.svg), url(../img-top/deco-side-right.svg);
	background-position: left bottom, right bottom;
	background-repeat: no-repeat;
}
.rd-teacherbox .point-w-box {
	padding: 24px 104px;
	text-align: left;
	background: url(../img-top/deco-point-w-left.svg), url(../img-top/deco-point-w-right.svg);
	background-position: center left, center right;
	background-repeat: no-repeat;
}
.rd-teacherbox .point-n-box {
	text-align: center;
}
.rd-teacherbox p {
	color: #fff;
	font-size: 24px;
}
.rd-teacherbox .font-32 {
	font-size: 32px;
}
.rd-teacherbox .font-40 {
	font-size: 32px;
}
.rd-teacherbox br.sp {
	display: none;
}
.rd-teacherbox .img-box {
	display: flex;
	justify-content: space-between;
	margin: 48px 0;
}
.rd-teacherbox .img-box img {
	width: calc((100% - 64px) / 5);
}
.rd-teacherbox .img-box img:nth-child(even) {
	padding-top: 32px;
}
.rd-teacherbox .img-box img:nth-child(odd) {
	padding-bottom: 32px;
}
.rd-teacherbox .shadow-btn-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	width: 100%;
	max-width: 842px;
	background: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
	padding: 32px 36px;
	box-sizing: border-box;
	margin: 48px auto 0;
}
.rd-teacherbox .shadow-btn-box .txt-box span {
	font-size: 16px;
	font-weight: bold;
}
.rd-teacherbox .shadow-btn-box .txt-box p {
	color: #17298D;
	font-size: 27px;
	font-weight: bold;
}
.rd-teacherbox .shadow-btn-box .btn-box .btn {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 64px;
	padding: 0 64px 0 40px;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	background: #17298D url(../img-top/icon-more-btn.svg) no-repeat center right 16px;
	box-sizing: border-box;
}
@media (max-width: 1024px) {
	.rd-teacherbox .img-box img {
		width: calc((100% - 32px) / 3);
	}
	.rd-teacherbox .img-box img:nth-child(1),
	.rd-teacherbox .img-box img:nth-child(5) {
		display: none;
	}
}
@media (max-width: 768px) {
	.rd-teacherbox h3 {
		font-size: 32px;
		font-weight: bold;
		margin-bottom: 24px;
		display: inline-block;
		padding: 0 96px;
		background: url(../img-top/deco-side-left.svg), url(../img-top/deco-side-right.svg);
		background-position: left bottom, right bottom;
		background-repeat: no-repeat;
		background-size: 80px;
	}
	.rd-teacherbox .img-box {
		margin: 0;
	}
	.rd-teacherbox .point-w-box {
		text-align: center;
		padding: 48px 0;
		margin-bottom: 32px;
		background: url(../img-top/deco-point-w-top.svg), url(../img-top/deco-point-w-bottom.svg);
		background-position: center top, center bottom;
		background-repeat: no-repeat;
	}
	.rd-teacherbox br.sp {
		display: block;
	}
	.rd-teacherbox p {
		font-size: 18px;
	}
	.rd-teacherbox .shadow-btn-box {
		display: block;
		text-align: center;
	}
	.rd-teacherbox .shadow-btn-box .btn-box {
		justify-content: center;
		margin-top: 16px;
	}
}
@media (max-width: 480px) {
	.rd-teacherbox {
		margin-top: 40px!important;
	}
	.rd-teacherbox h3 {
		width: 100%;
		padding: 0;
		font-size: 24px;
		background-position: left top 12px, right top 12px;
	}
	.rd-teacherbox .font-32 {
		font-size: 24px;
	}
	.rd-teacherbox p {
		font-size: 16px;
	}
	.rd-teacherbox .shadow-btn-box {
		padding: 24px;
		margin-top: 32px;
	}
	.rd-teacherbox .shadow-btn-box .txt-box span {
		font-size: 14px;
	}
	.rd-teacherbox .shadow-btn-box .txt-box p {
		font-size: 18px;
	}
}
