@charset "utf-8";
/*
Theme Name:mrp-child
Template:mrp
Version: 1.0.0
*/
/*
DesignCode CSS: ver 0.01
*/
/*------------------------------------------------------
Theme Material
------------------------------------------------------*/

/*font-family: "Noto Sans JP", sans-serif;*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/*font-family: "Fredericka the Great", serif;*/
@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap');

.wrapper_content {
	position: relative;
	width: 90%;
	max-width: 1240px;
	margin: 0 auto;
	z-index: 20;
}

.post .time, .postlist .time {
	font-weight: 500;
	color: #fff !important;
	background: #7B583E;
	padding: 8px 20px;
	letter-spacing: 1px;
	border-radius: 5px;
}
.post .time a, .postlist .time a {
	font-weight: 500;
	color: #fff!important;
}

.post4b li .post4b_contents {
	/*  opacity: 1; */
	display: none;
}
.post4b .time {
	display: block;
	background: #7B583E;
	border-radius: 5px;
}
.post4b h2 a {
	font-weight: 500;
}
.post4b .post4b_img img {
	border-radius: 5px;
}
.post4b_link {
	border-bottom: 1px dashed #000;
}

.post_link a {
	color: #000000!important;
}
.post_link {
	border-bottom: none;
}

#wrapper {
	max-width: unset;
	padding: 0;
	position: relative;
	z-index: 1;
}

body {
	font-weight: 400;
	font-family: "Noto Sans JP", sans-serif;
}

body p {
	line-height: 1.8;
}

body:not(.home) #wrapper {
	width: unset;
}
body.category #wrapper, body.archive #wrapper , body.single #wrapper , body.page-contact #wrapper , body.page-thanks #wrapper , body.page-privacy #wrapper , body.error404 #wrapper {
	width: 94%;
	max-width: var(--content-max-width);
}

.page-id-17 #wrapper {
	width: 94%!important;
	max-width: var(--content-max-width);
	margin-inline: auto;
}
header#h1Header {
	background: #fff;
}
#thumbImg::before, header#h1Header::before {
	background: #000000;
	opacity: 0;
}
header#h1Header h1.title {
	font-family: "Noto Sans JP", sans-serif;
	font-size: var(--rem48);
	font-weight: 700;
	color: #fff;
}

#header,
.sticky-header #header > .inner {
	background: #FEF5E7;
}
#header-upper {
	display: none!important;
}
#header .logo {
	padding: 10px 20px;
}
#header a.head_btn {
	text-align: center;
}
#header a.head_btn::before {
	font-size: 1.2em;
	margin-bottom: 4px;
	margin-right: 0;
}
#header a.head_btn.line_btn {
	background: #EBD5BA;
	color: #7B583E;
	width: 110px;
}
#header a.head_btn.line_btn::before {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/line.png)no-repeat;
	background-size: contain;
	width: 20px;
	height: 20px;
}
#header a.head_btn.mail_btn {
	background: #7B583E;
	color: #fff;
	width: 114px;
	font-size: 12px;
}
@media print, screen and (min-width: 1024px) {
	header .logo img {max-width: calc(16rem + (1vw - 1.02rem) * 14.0625) !important;}
	.fc-subtxt{color: #7B583E !important;}
}
nav#mainNav ul li a {
	padding: min(calc(15px + (1vw - 19.2px) * 0.5580), 15px) min(calc(20px + (1vw - 19.2px) * 1.6722), 28px);
}
nav#mainNav ul li a,
nav#mainNav ul li a b,
nav#mainNav ul li a:hover b,
nav#mainNav ul li.current-menu-item a b,
nav#mainNav ul li ul.sub-menu li a {
	font-weight: 500;
	color: #7B583E;
}
nav#mainNav ul li a,
nav#mainNav ul li a:hover,
nav#mainNav ul li.current-menu-item a,
nav#mainNav ul li.current-menu-item a:hover,
nav#mainNav ul li ul.sub-menu li.current-menu-item a {
	background: #FEF5E7;
}
nav#mainNav ul li:not(:last-child)::after {
	content: '';
	display: inline-block;
	width: 1px;
	height: 14px;
	background: #7B583E;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}

.spmenu #menu span, .spmenu #menu span:before, .spmenu #menu span:after {
	background: #7B583E;
}
.spmenu #menu p {
	color: #7B583E;
	white-space: nowrap;
}

a#scrollUp {
	background: #7B583E;
}

#footer {
	padding: 30px;
}
#footer,#copyright {
	color: #fff;
	background: #7B583E;
}
#copyright {
	margin-top: 0;
}
#footer .footnav:not(:last-child) {
	margin-bottom: 20px;
}
#footer li a, .footeradd, .footertel, #footer li a:hover {
	color: #fff;
}
#footer .footnav ul > li::before, #footer .footnav ul > li::after {
	display: none;
}
#footer .socialicon {
	margin-bottom: 15px;
}
#footer .socialicon .fa-facebook:before, #footer .socialicon .fa-twitter:before, #footer .socialicon .fa-youtube:before, #footer .socialicon .fa-instagram:before, #footer .socialicon .fa-x-twitter:before, #footer .socialicon .fa-line:before, #footer .socialicon .fa-tiktok:before {
	color: #fff;
}

.inner {
	width: 94%;
	max-width: 1200px;
	margin-inline: auto;
}

h1.title {
	font-family: "Noto Sans JP", sans-serif;
	font-size: var(--rem48);
	letter-spacing: .02em;
	color: #7B583E;
	line-height: 1.4;
	font-weight: 700;
	display: block;
	text-align: center;
	margin-inline: auto;
	margin-bottom: 35px;
}

.post h2 {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 700;
	color: #7B583E;
	margin-top: 0;
	margin-bottom: 30px;
}
.post h2:after {
	display: none;
}
.post h2.title {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 700;
	font-size: var(--rem48);
	color: #7B583E;
	text-align: center;
	position: relative;
	margin: 0!important;
	padding: 0!important;
	margin-bottom: 35px!important;
}
.post h2.title .en {
	font-weight: 700;
	letter-spacing: 0;
	font-size: var(--rem20);
	color: #F0AF49;
	display: block;
	position: relative;
	z-index: 2;
}
.post h2.title .sub_en {
	font-family: "Fredericka the Great", serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0;
	font-size: var(--rem120);
	color: #fff;
	display: block;
	line-height: 1;
	margin-bottom: -40px;
}

.post h2.title02 {
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 700;
	font-size: var(--rem48);
	color: #7B583E;
	text-align: center;
	position: relative;
	padding-bottom: 15px;
	margin-bottom: 35px;
}
.post h2.title02::after {
	content: '';
	display: inline-block;
	background: #7B583E;
	width: 45px;
	height: 2px;
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
}
.post h2.title02 .en {
	font-weight: 700;
	letter-spacing: 0;
	font-size: var(--rem20);
	color: #F0AF49;
	display: block;
	position: relative;
	z-index: 2;
}

.post h3 {
	font-weight: 700;
	color: #7B583E;
	border: none;
	padding: 0;
	margin-top: 0;
	margin-bottom: 20px;
}

.post h4 {
	font-weight: 700;
	color: #7B583E;
}

.post h4::before {
	background: #7B583E;
}

.linkBtn, .post .linkBtn, a.linkBtn {
	font-weight: 700;
	background: unset;
	border-radius: 0;
	display: block;
	max-width: unset;
	width: fit-content;
	color: #7B583E;
	padding: 20px;
	margin-top: 35px;
	margin-inline: auto;
}
.linkBtn::before {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/link_circle.png)no-repeat;
	background-size: contain;
	width: 60px;
	height: 60px;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	z-index: -1;
}
.linkBtn::after {
	display: none!important;
}
.linkBtn:hover, .post .linkBtn:hover, a.linkBtn:hover {
	background: unset;
	color: #7B583E;
	opacity: .7;
}

.cta {
	padding: 80px 0;
	text-align: center;
	background: #EBD5BA;
}
.cta h3 {
	color: #224F92;
}
.cta .flex {
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
	margin-top: 40px;
}
.cta a {
	font-weight: 500;
	color: #fff;
	background: #7B583E;
	width: 300px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	padding: 18px;
}
.cta a::before {
	display: block;
	font-family: 'FontAwesome';
	font-size: 1.2em;
	font-weight: 400;
	line-height: 1;
}
.cta .lineBtn::before {
	content: '';
	background: url(/wp-content/uploads/line.png)no-repeat;
	background-size: contain;
	width: 20px;
	height: 20px;
}
.cta .mailBtn::before {
	content: '\f0e0';
}

/*-----------------------------
ホーム
------------------------------*/
body.home {
	background-image: url(/wp-content/uploads/bg_texture.jpg);
	background-size: 252px 250px;
	background-repeat: repeat;
}

.top_news {
	padding: 100px 0 120px;
}

.top_banner .inner {
	max-width: 1000px;
}

.top_recommend {
	padding-top: 30px;
}
.top_recommend .inner {
	max-width: 1000px;
}
.top_recommend .body {
	background: #fff;
	border-radius: 25px;
	padding: var(--px60) var(--px40);
	position: relative;
}
.top_recommend .body::after {
	content: '';
	display: inline-block;
	background: #fff;
	position: absolute;
	width: 70px;
	height: 50px;
	left: 50%;
	bottom: -49px;
	transform: translateX(-50%);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.top_recommend .body .icon {
	width: 140px;
	margin-inline: auto;
	margin-bottom: 5px;
}
.top_recommend .body .icon img {
	width: 100%;
}
.top_recommend .body ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 700px;
	margin-inline: auto;
}
.top_recommend .body li {
	font-size: 20px;
	color: #224F92;
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding-left: 50px;
	position: relative;
}
.top_recommend .body li::before {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/check_icon.png)no-repeat;
	background-size: contain;
	width: 40px;
	height: 40px;
	position: absolute;
	top: -2px;
	left: 0;
}
.top_recommend .body li span {
	line-height: 1.2;
	display: inline-block;
	padding: 4px 10px;
	border: solid 1px #224F92;
}
.top_recommend .bottom {
	padding-top: 100px;
}
#learning-moveaway .bottom{
	padding-top: var(--rem48);
}
.top_recommend .bottom h2 .dot {
	position: relative;
}
.top_recommend .bottom h2 .dot::before {
	content: '';
	display: inline-block;
	background: #F0AF49;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
}
#learning-moveaway h3{
	font-size: var(--rem30);
}
.top_recommend .bottom h2 .line,
#learning-moveaway h3 .line  {
	position: relative;
	z-index: 1;
}
.top_recommend .bottom h2 .line::after,
#learning-moveaway h3 .line::after{
	content: '';
	display: inline-block;
	background: #F0AF49;
	width: 100%;
	height: 15px;
	border-radius: 100vmax;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -1;
}
.top_recommend .bottom .box01 {
	background: #fff;
	border: solid 1px #224F92;
	border-radius: 100vmax;
	padding: 16px;
	text-align: center;
	color: #224F92;
	font-weight: 500;
	max-width: 700px;
	margin-left: 5%;
	margin-bottom: 15px;
}
.top_recommend .bottom .box02 {
	background: #224F92;
	border-radius: 100vmax;
	padding: 16px;
	text-align: center;
	color: #fff;
	font-weight: 500;
	max-width: 700px;
	margin-left: auto;
	position: relative;
}
.top_recommend .bottom .box02::after {
	content: '';
	display: inline-block;
	background: #224F92;
	position: absolute;
	width: 20px;
	height: 20px;
	right: -18px;
	top: 50%;
	transform: translateY(-50%);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.top_message {
	padding: 120px 0;
}
.top_message .flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.top_message .text {
	width: 49%;
}
.top_message .image {
	width: 45%;
	flex: 1;
	margin-left: calc(50% - 50vw);
	margin-right: 4%;
}
.top_message .image img {
	width: 100%;
	border-radius: 0 25px 25px 0;
}
.top_message h2.title {
	text-align: left;
}
.top_message p {
	color: #7B583E;
}
.top_message .btnWrap {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 50px;
	margin-top: 35px;
}
.top_message .btnWrap .linkBtn {
	margin: 0;
}

.top_course {
	padding: 120px 0;
	background: url(/wp-content/uploads/top_course_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
}
.top_course h2.title {
	color: #fff;
}
.top_course h2.title .sub_en {
	opacity: 0.3;
}
.top_course .flex {
	display: flex;
}
.top_course .image,
.top_course .text {
	width: 50%;
}
.top_course .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.top_course .text {
	background: rgba(255, 255, 255, .8);
	padding: var(--px60) var(--px40);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.top_course a {
	display: block;
	text-align: center;
	color: #fff;
	font-weight: 500;
	padding: 15px;
	background: #F0AF49;
	width: 260px;
	margin-top: 35px;
	margin-inline: auto;
}

.top_strengths {
	background: url(/wp-content/uploads/top_strengths_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
	padding: 120px 0;
}
.top_strengths h2.title {
	color: #fff;
}
.top_strengths h2.title .sub_en {
	opacity: 0.3;
}
.top_strengths ul {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-template-rows: auto;
	gap: 40px;
}
.top_strengths li {
	background: #5E3922;
	border-radius: 5px;
	padding: 25px;
	box-shadow: 10px 10px #F0AF49;
}
.top_strengths .icon {
	width: 100px;
	margin-inline: auto;
}
.top_strengths .icon img {
	width: 100%;
}
.top_strengths h3 {
	font-weight: 600;
	font-size: 20px;
	min-height: 79px;
	text-align: center;
	color: #fff;
	padding-bottom: 10px;
	border-bottom: 5px solid #F0AF49;
}
.top_strengths p {
	color: #fff;
	line-height: 1.6;
}

.top_intro {
	padding-top: 120px;
}
.top_intro ul {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-template-rows: auto;
	gap: 25px 60px;
}
.top_intro li {
	background: url(/wp-content/uploads/top_intro_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
	padding: var(--px60) var(--px40);
	border-radius: 5px;
}
.top_intro .icon {
	width: 90px;
	margin-inline: auto;
	margin-bottom: 10px;
}
.top_intro .icon img {
	width: 100%;
}
.top_intro h3 {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	margin: 0;
}
.top_intro h3 .arrow {
	font-size: 12px;
	display: inline-block;
	margin-right: 10px;
}

.top_flow {
	padding-top: 120px;
}
.top_flow ul {
	display: flex;
	flex-direction: column;
	gap: 80px;
}
.top_flow li {
	position: relative;
}
.top_flow li:not(:last-child)::after {
	content: '';
	display: inline-block;
	background: #7B583E;
	width: 50px;
	height: 30px;
	position: absolute;
	left: 50%;
	bottom: -55px;
	transform: translateX(-50%);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.top_flow h3 {
	color: #fff;
	background: #5E3922;
	padding: 12px;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
}
.top_flow h3 span {
	font-size: var(--rem20);
	background: #F0AF49;
	display: inline-block;
	line-height: 1.2;
	padding: 4px 8px;
	border-radius: 5px;
	font-family: serif;
	white-space: nowrap;
}
.top_flow li p {
	background: #fff;
	padding: var(--px40);
}

.top_instagram {
	padding: 120px 0;
}
.top_instagram .box {
	background: #fff;
	border: solid 1px #F0AF49;
	padding: var(--px40);
}
.top_instagram .box h3 {
	text-align: center;
}
.top_instagram .box p {
	font-weight: 500;
	color: #7B583E;
}

@media print, screen and (max-width: 1023px) {
	.top_news {
		padding: 50px 0 70px;
	}

	.top_recommend .body::after {
		height: 35px;
		bottom: -34px;
	}
	.top_recommend .body .icon {
		width: 100px;
	}
	.top_recommend .body ul {
		gap: 15px;
	}
	.top_recommend .body li {
		font-size: 16px;
		flex-direction: column;
		gap: 5px;
		line-height: 1.6;
	}
	.top_recommend .body li::before {
		top: -8px;
	}
	.top_recommend .bottom {
		padding-top: 70px;
	}
	.top_recommend .bottom .box01 {
		margin-left: 0;
		border-radius: 10px;
	}
	.top_recommend .bottom .box02 {
		margin: 0;
		border-radius: 10px;
	}
	.top_recommend .bottom .box02::after {
		width: 12px;
		right: -11px;
	}

	.top_message {
		padding: 70px 0;
	}
	.top_message .flex {
		flex-direction: column;
		gap: 50px;
	}
	.top_message .text {
		width: 100%;
	}
	.top_message .image {
		width: 100%;
		margin: 0;
	}
	.top_message .image img {
		border-radius: 25px;
	}
	.top_message h2.title {
		text-align: center;
	}
	.top_message .btnWrap {
		justify-content: center;
		gap: 20px;
	}

	.top_course {
		padding: 70px 0;
	}
	.top_course .flex {
		flex-direction: column;
	}
	.top_course .image,
	.top_course .text {
		width: 100%;
	}
	.top_course .image img {
		height: auto;
		aspect-ratio: 3 / 2;
	}

	.top_strengths {
		padding: 70px 0;
	}
	.top_strengths ul {
		grid-template-columns: repeat(1,1fr);
	}
	.top_strengths .icon {
		width: 70px;
	}
	.top_strengths h3 {
		font-size: 16px;
		min-height: unset;
		border-bottom: 3px solid #F0AF49;
	}

	.top_intro {
		padding-top: 70px;
	}
	.top_intro ul {
		grid-template-columns: repeat(1,1fr);
		max-width: 500px;
		margin-inline: auto;
	}
	.top_intro .icon {
		width: 60px;
	}

	.top_flow {
		padding-top: 70px;
	}

	.top_instagram {
		padding: 70px 0;
	}
}

/*-----------------------------
教室の強み
------------------------------*/
.strengths.sec01 p {
	color: #7B583E;
}
.strengths.sec01 .cardWrap {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-template-rows: auto;
	gap: 80px 40px;
}
.strengths.sec01 .cardBox {
	background: #FFF6E8;
	border: solid 1px #7B583E;
	border-radius: 10px;
	padding: var(--px60) var(--px40) var(--px40);
	position: relative;
}
.strengths.sec01 .number {
	display: inline-block;
	line-height: 1;
	position: absolute;
	left: 10px;
	top: -60px;
	font-family: "Fredericka the Great", serif;
	font-size: var(--rem120);
	color: #F0AF49;
}
.strengths.sec01 h3 {
	font-weight: 500;
	text-decoration: underline;
}
.strengths.sec01 ul {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.strengths.sec01 li {
	color: #7B583E;
	line-height: 1.6;
	padding-left: 20px;
	position: relative;
}
.strengths.sec01 li::before {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/check_icon02.png)no-repeat;
	background-size: contain;
	width: 16px;
	height: 11px;
	position: absolute;
	top: 8px;
	left: 0;
}
#newschool li::before{
	content: '・';
	background: none;
	top: 0px;
	left: 0;
}
.strengths.sec02 .image img {
	max-width: 250px;
	display: block;
	margin-inline: auto;
}

@media print, screen and (max-width: 1023px) {
	.strengths.sec01 .cardWrap {
		grid-template-columns: repeat(1,1fr);
		gap: 50px;
	}
	.strengths.sec01 .number {
		top: -30px;
	}
	.strengths.sec01 li::before {
		width: 12px;
		height: 9px;
	}
}

/*-----------------------------
教室案内/講師紹介
------------------------------*/
.access.sec01 table,
.access.sec01 table th,
.access.sec01 table td {
	background: unset;
	border: none;
	font-weight: 500;
	color: #7B583E;
}
.access.sec01 table tr {
	border-bottom: 1px solid #7B583E;
}
.access.sec01 iframe {
	width: 100%;
	height: 350px;
	border-radius: 5px;
}

.access.sec02 p {
	color: #7B583E;
}
.access.sec02 ul {
	/* display: grid; */
	/* grid-template-columns: repeat(2,1fr); */
	/* grid-template-rows: auto; */
	/* gap: 80px; */
}
.access.sec02 .image {
	max-width: 220px;
	margin-inline: auto;
	margin-bottom: 20px;
}
.access.sec02 .image img {
	width: 100%;
}
.access.sec02 h3 {
	text-align: center;
	line-height: 1.6;
	font-size: 20px;
}
.access.sec02 table,
.access.sec02 table th,
.access.sec02 table td {
	border: none;
}
.access.sec02 table th {
	color: #fff;
	background: #7B583E;
	display: block;
	width: 100%;
}
.access.sec02 table td {
	font-weight: 500;
	color: #7B583E;
	display: block;
	width: 100%;
}

@media print, screen and (max-width: 768px) {
	.access.sec02 ul {
		grid-template-columns: repeat(1,1fr);
		gap: 50px;
	}
	.access.sec02 p,
	.access.sec02 h3{
		text-align: left;
	}
	.access.sec02 p br,
	.access.sec02 h3 br {
		display: none;
	}

	.access.sec02 h3 {
		font-size: 16px;
	}
}

/*-----------------------------
授業コース/料金
------------------------------*/
.course.sec01 p {
	color: #7B583E;
}
.course.sec01 .box {
	padding: var(--px60) var(--px40);
	position: relative;
	border-radius: 10px;
	border: solid 1px #7B583E;
}
.course.sec01 .box::after {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/course_icon.png)no-repeat;
	background-size: contain;
	aspect-ratio: 1 / 1;
	width: 220px;
	position: absolute;
	top: 20px;
	right: 20px;
	transform: rotate(18deg);
	max-width: 22%;
}
.course.sec01 .box h3 {
	font-weight: 500;
	text-align: center;
	text-decoration: underline;
	margin-bottom: 0;
}
.course.sec01 .box p {
	font-weight: 500;
	max-width: 700px;
	margin-inline: auto;
}
.course.sec01 .font_blue {
	color: #224F92!important;
}
.course.sec01 .font_yellow {
	color: #F0AF49!important;
}
.course.sec01 .courseList {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-template-rows: auto;
	gap: 40px;
}
.course.sec01 .courseList li h3 {
	background: #7B583E;
	text-align: center;
	color: #fff;
	padding: 12px;
	line-height: 1.4;
	border-radius: 10px 10px 0 0;
	margin: 0;
}
.course.sec01 .courseList li {
	display: flex;
	flex-direction: column;
}
.course.sec01 .courseList li .text {
	background: #FFF6E8;
	padding: 25px;
	border-radius: 0 0 10px 10px;
	border: solid 1px #7B583E;
	flex: 1;
}
.course.sec01 .courseList li p.head {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.6;
	margin-bottom: 10px;
}
.course.sec01 .supplementBox h3 {
	font-weight: 500;
	text-decoration: underline;
}
.course.sec01 .supplementList {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.course.sec01 .supplementList li {
	color: #7B583E;
	line-height: 1.6;
	padding-left: 20px;
	position: relative;
}
.course.sec01 .supplementList li::before {
	content: '■';
	display: inline-block;
	color: #7B583E;
	position: absolute;
	top: 0;
	left: 0;
}

.course.sec02 table,
.course.sec02 table th,
.course.sec02 table td {
	border: none;
	background: unset;
	font-weight: 500;
	color: #7B583E;
}
.course.sec02 table th {
	width: revert-layer;
}
.course.sec02 table tr {
	border-bottom: 1px solid #7B583E;
}

.course.sec03 .inner {
	max-width: 700px;
}
.course.sec03 h3 {
	text-align: center;
}
.course.sec03 p {
	color: #7B583E;
}

@media print, screen and (max-width: 768px) {
	.course.sec01 .box::after {
		top: -20px;
		right: -10px;
		max-width: 28%;
	}
	.course.sec01 .courseList {
		grid-template-columns: repeat(1,1fr);
		gap: 25px;
	}
	.course.sec01 .courseList li p.head {
		font-size: 16px;
	}

	.course.sec02 table th {
		width: 25%;
	}

	.scollHint p {
		font-weight: 700;
		font-size: 16px;
		color: #7B583E;
		display: flex;
		justify-content: center;
		gap: 4px;
		line-height: 1.6;
	}
	.scollHint p span {
		display: block;
		width: 24px;
	}
	.scollHint p span img {
		width: 100%;
	}
}

/*-----------------------------
独自コンテンツ（随時更新）
------------------------------*/
.original.sec01 .inner {
	max-width: 1000px;
}
.original.sec01 p {
	color: #7B583E;
}
.original.sec01 p span {
	text-decoration: underline;
}
.original.sec01 .image img {
	display: block;
	margin-inline: auto;
	max-width: 200px;
}

.original.sec02 {
	background: url(/wp-content/uploads/original_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
}
.original.sec02 h2.title02 {
	color: #fff;
}
.original.sec02 h2.title02::after {
	background: #F0AF49;
}
.original.sec02 ul {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-template-rows: auto;
	gap: 40px;
}
.original.sec02 li h3 {
	text-align: center;
	color: #fff;
	margin-top: 10px;
	margin-bottom: 0;
}
.original.sec02 li iframe {
	width: 100%;
}
.original.sec02 .pdfBox {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.original.sec02 .pdfBox a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	border-radius: 10px;
	background: #F0AF49;
	padding: 14px 5%;
	color: #fff;
	font-weight: 500;
}
.original.sec02 .pdfBox a::after {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/pdf.png)no-repeat;
	background-size: contain;
	width: 40px;
	aspect-ratio: 48 / 52;
}

.original.sec03 .inner {
	max-width: 900px;
}
.original.sec03 h3 {
	font-size: var(--rem36);
	color: #224F92;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
.original.sec03 h3::before {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/check_icon.png)no-repeat;
	background-size: contain;
	width: 40px;
	min-width: 40px;
	aspect-ratio: 42 / 50;
	margin-top: -2px;
}
@media print, screen and (max-width: 768px) {
	.original.sec02 ul {
		grid-template-columns: repeat(1,1fr);
	}
	.original.sec02 .pdfBox a::after {
		width: 30px;
	}
}

/*-----------------------------
お問い合わせ
------------------------------*/
.post .subimitarea .linkBtn {
	padding: 0;
	width: 300px;
	max-width: 300px;
	margin-inline: auto;
}
body.page-contact .post table th {
	background: #7B583E;
	color: #fff;
}
.post .subimitarea .linkBtn input[type="submit"] {
	color: #fff;
	padding: 20px;
	background: #7B583E;
	width: 100%;
}
.post .subimitarea .linkBtn::after {
	display: none!important;
}


/*--メディアクエリ--------------------------------------------*/
@media print, screen and (max-width: 1023px) {
	#content, #content.wide {
		width: 100%;
	}

	.mobile #header {
		background: #FEF5E7;
	}

	nav#mainNav ul li a {
		padding: 20px 10px;
	}
	nav#mainNav ul li a span {
		display: none;
	}
}

@media screen and (min-width: 769px){
	.dsp_hp { display:block; }
	.dsp_smt { display:none; }
}
@media screen and (max-width: 768px){
	.dsp_hp { display:none; }
	.dsp_smt { display:block; }

	.post h2.title .sub_en {
		margin-bottom: -25px;
	}

	.cta {
		padding: 70px 0;
	}
}

@media print, screen and (max-width: 640px) {
	.postlist .post_text:after {
		width: calc(100%);
	}
}

/*--------google-recaptcha--------*/
.recaptcha {
	display: flex;
	justify-content: center;
	padding: 10px 0 30px;
}
/*-----------------------------
福井県の受験・学習指導をプロに任せませんか？
------------------------------*/
#learning-top{
	padding: 4vh 0 6vh;
	position: relative;
	z-index: 1;
}
#learning-top::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: 
    url('/wp-content/uploads/learning-top-bg.png') no-repeat, /* 上：背景画像 */
    linear-gradient(270deg, rgba(255, 255, 255, 1), rgba(210, 210, 210, 0.4)); /* 下：グラデーション */
    background-size: contain;
}
#learning-top,#learning-top .inner{
	position: relative;
}
#learning-top .message-box{
	margin:4vh 0 6vh 10vw;
}
#learning-top .message-box p{
	color:#2D5797;
	font-size:var(--rem30);
	font-weight:900;
	line-height: 1.4 !important;
         margin: 0 0 2vh;
}
.waku-w-6 {
    --x: 0 0 var(--text-outline--width, 6px) var(--text-outline--color, #fff);
    --y: var(--x), var(--x), var(--x), var(--x), var(--x), var(--x) /* 6 */;
    text-shadow: var(--y), var(--y), var(--y), var(--y), var(--y), var(--y) /* 6 * 6 = 36 */;
    line-height: 1;
}
	
#learning-top .course.sec01 .courseList li .text{
	padding: 15px;
	background: rgba(255, 246, 232, .9);
}
#learning-top .course.sec01 .courseList li .text li {
    color: #7B583E;
}
#learning-moveaway{
	padding: 10vh 0 10vh;
	position: relative;
	z-index: 1;
}
#learning-moveaway::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: 
	linear-gradient(270deg, rgba(255, 255, 255, 0.8), rgba(210, 210, 210, 0.8)),
    url('/wp-content/uploads/learning-moveaway-bg.jpg') no-repeat; 
	filter: grayscale(100%);
	background-position: center center;
	z-index:-2;
}
#learning-moveaway h3{
	font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    color: #7B583E;
    letter-spacing: .2rem;
	padding: 0;
    text-align: center;
}
#newschool{
	padding: 10vh 0 10vh;
}
#newschool .cardBox02{
	background: #7B583E;
    border: solid 1px #7B583E;
    border-radius: 10px;
    padding: var(--px60) var(--px40) var(--px40);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#newschool .cardBox02 p{
	color: #fff;
	font-weight:700;
	font-size: var(--rem24w);
}
#newschool .cardBox02 hr{
	color: #fff;
	width: 100%;
}
#newaccess{
	background:#61C3D4;
	padding:10vh 0;
}
#newaccess p{
	color: #fff;
	text-align:center;
	font-size: var(--rem24w);
	font-weight:700;
}
.page-id-782 #content, body:not(.home) #content.wide{
	padding: var(--px100w) 0 0;
}
.page-id-782 #gallery-2{
	position: relative;
}
.page-id-782 #gallery-2 img,.page-id-782 #gallery-1 img{
	object-fit: cover;
    height: 300px;
}
@media screen and (max-width: 820px) {
	#learning-top .message-box{
    width: 95%;
        background: rgba(255, 255, 255, .6);
        margin: 0 auto 3rem;
        padding: 1rem 1rem .5rem;
	}
	#learning-top::before{
	height: 500px;
	 -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 80%);
		mask-image: linear-gradient(to bottom, black 60%, transparent 80%);
	}
	#learning-top .message-box p{font-size:var(--rem28);}
	.waku-w-6 {
    --x: 0 0 var(--text-outline--width, 3px) var(--text-outline--color, #fff);
    --y: var(--x), var(--x), var(--x), var(--x), var(--x), var(--x) /* 6 */;
    text-shadow: var(--y), var(--y), var(--y), var(--y), var(--y), var(--y) /* 6 * 6 = 36 */;
    line-height: 1;
	}
}
@media screen and (max-width: 640px) {
	.page-id-782 #gallery-2 img,.page-id-782 #gallery-1 img{
	object-fit: cover;
    height: auto;
	}
	.page-id-782 #gallery-2 .gallery-item {
		width: calc(100% / 1) !important;
	}
}

#newaccess2{
    background: 
        linear-gradient(180deg, rgba(244, 179, 194, .3) 0%, rgba(244, 179, 194, .1) 100%),
        url("/wp-content/uploads/learning-moveaway-bg.png") top/cover no-repeat #fff;
    padding: 10vh 0;
}

#newaccess2 p{
	color: #224F92;
	text-align:center;
	font-size: var(--rem24w);
	font-weight:700;
}
.title-catcharea {
    display: grid;
    grid-template-columns: 1fr 20%;
    align-items: center;
    background: #2D5797;
    min-height: 120px; 
}
.title-catcharea h2 {
    color: #fff;
    margin-bottom: 0;
    padding: 1.2rem 0;
}
.title-catcharea .title-bg-image {
    display: block;
    width: 100%;
    height: 120px;
    background-image: url("/wp-content/uploads/window.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
@media screen and (max-width: 640px) {
	.title-catcharea h2{font-size: var(--rem28);}
	.title-catcharea {
    grid-template-columns: 1fr 30%;
    min-height: 80px; 
}
}
/*-----------------------------
ホームｰテスト用（公開後削除）
------------------------------*/
.page-id-936{
	background-image: url(/wp-content/uploads/bg_texture.jpg);
	background-size: 252px 250px;
	background-repeat: repeat;

	.top_news {
	padding: 100px 0 120px;
}

.top_banner .inner {
	max-width: 1000px;
}

.top_recommend {
	padding-top: 30px;
}
.top_recommend .inner {
	max-width: 1000px;
}
.top_recommend .body {
	background: #fff;
	border-radius: 25px;
	padding: var(--px60) var(--px40);
	position: relative;
}
.top_recommend .body::after {
	content: '';
	display: inline-block;
	background: #fff;
	position: absolute;
	width: 70px;
	height: 50px;
	left: 50%;
	bottom: -49px;
	transform: translateX(-50%);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.top_recommend .body .icon {
	width: 140px;
	margin-inline: auto;
	margin-bottom: 5px;
}
.top_recommend .body .icon img {
	width: 100%;
}
.top_recommend .body ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 700px;
	margin-inline: auto;
}
.top_recommend .body li {
	font-size: 20px;
	color: #224F92;
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding-left: 50px;
	position: relative;
}
.top_recommend .body li::before {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/check_icon.png)no-repeat;
	background-size: contain;
	width: 40px;
	height: 40px;
	position: absolute;
	top: -2px;
	left: 0;
}
.top_recommend .body li span {
	line-height: 1.2;
	display: inline-block;
	padding: 4px 10px;
	border: solid 1px #224F92;
}
.top_recommend .bottom {
	padding-top: 100px;
}
#learning-moveaway .bottom{
	padding-top: var(--rem48);
}
.top_recommend .bottom h2 .dot {
	position: relative;
}
.top_recommend .bottom h2 .dot::before {
	content: '';
	display: inline-block;
	background: #F0AF49;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
}
#learning-moveaway h3{
	font-size: var(--rem30);
}
.top_recommend .bottom h2 .line,
#learning-moveaway h3 .line  {
	position: relative;
	z-index: 1;
}
.top_recommend .bottom h2 .line::after,
#learning-moveaway h3 .line::after{
	content: '';
	display: inline-block;
	background: #F0AF49;
	width: 100%;
	height: 15px;
	border-radius: 100vmax;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -1;
}
.top_recommend .bottom .box01 {
	background: #fff;
	border: solid 1px #224F92;
	border-radius: 100vmax;
	padding: 16px;
	text-align: center;
	color: #224F92;
	font-weight: 500;
	max-width: 700px;
	margin-left: 5%;
	margin-bottom: 15px;
}
.top_recommend .bottom .box02 {
	background: #224F92;
	border-radius: 100vmax;
	padding: 16px;
	text-align: center;
	color: #fff;
	font-weight: 500;
	max-width: 700px;
	margin-left: auto;
	position: relative;
}
.top_recommend .bottom .box02::after {
	content: '';
	display: inline-block;
	background: #224F92;
	position: absolute;
	width: 20px;
	height: 20px;
	right: -18px;
	top: 50%;
	transform: translateY(-50%);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.top_message {
	padding: 120px 0;
}
.top_message .flex {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.top_message .text {
	width: 49%;
}
.top_message .image {
	width: 45%;
	flex: 1;
	margin-left: calc(50% - 50vw);
	margin-right: 4%;
}
.top_message .image img {
	width: 100%;
	border-radius: 0 25px 25px 0;
}
.top_message h2.title {
	text-align: left;
}
.top_message p {
	color: #7B583E;
}
.top_message .btnWrap {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 50px;
	margin-top: 35px;
}
.top_message .btnWrap .linkBtn {
	margin: 0;
}

.top_course {
	padding: 120px 0;
	background: url(/wp-content/uploads/top_course_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
}
.top_course h2.title {
	color: #fff;
}
.top_course h2.title .sub_en {
	opacity: 0.3;
}
.top_course .flex {
	display: flex;
}
.top_course .image,
.top_course .text {
	width: 50%;
}
.top_course .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.top_course .text {
	background: rgba(255, 255, 255, .8);
	padding: var(--px60) var(--px40);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.top_course a {
	display: block;
	text-align: center;
	color: #fff;
	font-weight: 500;
	padding: 15px;
	background: #F0AF49;
	width: 260px;
	margin-top: 35px;
	margin-inline: auto;
}

.top_strengths {
	background: url(/wp-content/uploads/top_strengths_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
	padding: 120px 0;
}
.top_strengths h2.title {
	color: #fff;
}
.top_strengths h2.title .sub_en {
	opacity: 0.3;
}
.top_strengths ul {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-template-rows: auto;
	gap: 40px;
}
.top_strengths li {
	background: #5E3922;
	border-radius: 5px;
	padding: 25px;
	box-shadow: 10px 10px #F0AF49;
}
.top_strengths .icon {
	width: 100px;
	margin-inline: auto;
}
.top_strengths .icon img {
	width: 100%;
}
.top_strengths h3 {
	font-weight: 600;
	font-size: 20px;
	min-height: 79px;
	text-align: center;
	color: #fff;
	padding-bottom: 10px;
	border-bottom: 5px solid #F0AF49;
}
.top_strengths p {
	color: #fff;
	line-height: 1.6;
}

.top_intro {
	padding-top: 120px;
}
.top_intro ul {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-template-rows: auto;
	gap: 25px 60px;
}
.top_intro li {
	background: url(/wp-content/uploads/top_intro_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
	padding: var(--px60) var(--px40);
	border-radius: 5px;
}
.top_intro .icon {
	width: 90px;
	margin-inline: auto;
	margin-bottom: 10px;
}
.top_intro .icon img {
	width: 100%;
}
.top_intro h3 {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	margin: 0;
}
.top_intro h3 .arrow {
	font-size: 12px;
	display: inline-block;
	margin-right: 10px;
}

.top_flow {
	padding-top: 120px;
}
.top_flow ul {
	display: flex;
	flex-direction: column;
	gap: 80px;
}
.top_flow li {
	position: relative;
}
.top_flow li:not(:last-child)::after {
	content: '';
	display: inline-block;
	background: #7B583E;
	width: 50px;
	height: 30px;
	position: absolute;
	left: 50%;
	bottom: -55px;
	transform: translateX(-50%);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.top_flow h3 {
	color: #fff;
	background: #5E3922;
	padding: 12px;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
}
.top_flow h3 span {
	font-size: var(--rem20);
	background: #F0AF49;
	display: inline-block;
	line-height: 1.2;
	padding: 4px 8px;
	border-radius: 5px;
	font-family: serif;
	white-space: nowrap;
}
.top_flow li p {
	background: #fff;
	padding: var(--px40);
}

.top_instagram {
	padding: 120px 0;
}
.top_instagram .box {
	background: #fff;
	border: solid 1px #F0AF49;
	padding: var(--px40);
}
.top_instagram .box h3 {
	text-align: center;
}
.top_instagram .box p {
	font-weight: 500;
	color: #7B583E;
}

@media print, screen and (max-width: 1023px) {
	.top_news {
		padding: 50px 0 70px;
	}

	.top_recommend .body::after {
		height: 35px;
		bottom: -34px;
	}
	.top_recommend .body .icon {
		width: 100px;
	}
	.top_recommend .body ul {
		gap: 15px;
	}
	.top_recommend .body li {
		font-size: 16px;
		flex-direction: column;
		gap: 5px;
		line-height: 1.6;
	}
	.top_recommend .body li::before {
		top: -8px;
	}
	.top_recommend .bottom {
		padding-top: 70px;
	}
	.top_recommend .bottom .box01 {
		margin-left: 0;
		border-radius: 10px;
	}
	.top_recommend .bottom .box02 {
		margin: 0;
		border-radius: 10px;
	}
	.top_recommend .bottom .box02::after {
		width: 12px;
		right: -11px;
	}

	.top_message {
		padding: 70px 0;
	}
	.top_message .flex {
		flex-direction: column;
		gap: 50px;
	}
	.top_message .text {
		width: 100%;
	}
	.top_message .image {
		width: 100%;
		margin: 0;
	}
	.top_message .image img {
		border-radius: 25px;
	}
	.top_message h2.title {
		text-align: center;
	}
	.top_message .btnWrap {
		justify-content: center;
		gap: 20px;
	}

	.top_course {
		padding: 70px 0;
	}
	.top_course .flex {
		flex-direction: column;
	}
	.top_course .image,
	.top_course .text {
		width: 100%;
	}
	.top_course .image img {
		height: auto;
		aspect-ratio: 3 / 2;
	}

	.top_strengths {
		padding: 70px 0;
	}
	.top_strengths ul {
		grid-template-columns: repeat(1,1fr);
	}
	.top_strengths .icon {
		width: 70px;
	}
	.top_strengths h3 {
		font-size: 16px;
		min-height: unset;
		border-bottom: 3px solid #F0AF49;
	}

	.top_intro {
		padding-top: 70px;
	}
	.top_intro ul {
		grid-template-columns: repeat(1,1fr);
		max-width: 500px;
		margin-inline: auto;
	}
	.top_intro .icon {
		width: 60px;
	}

	.top_flow {
		padding-top: 70px;
	}

	.top_instagram {
		padding: 70px 0;
	}
}
}/*page-id-936-end*/


/* --------------------------------
 * 20260415 投稿（月間学習指導計画書）
 * ------------------------------- */

/*--幅フル100%背景色--------------------------------------------*/

.widecolor {
    margin-right: calc(((100vw - 100%) / 2) * -1);
    margin-left: calc(((100vw - 100%) / 2) * -1);
    padding: min(calc(120px + (1vw - 19.2px) * 2.5890), 120px) calc((100vw - 100%) / 2) min(calc(150px + (1vw - 19.2px) * 3.2362), 150px);
    background: #fffaf3;
}
.post .widecolor > h2:first-child {
	margin-top: 0 !important;
}

.widecolor-white {
	margin-right: calc(((100vw - 100%) / 2) * -1);
	margin-left: calc(((100vw - 100%) / 2) * -1);
	padding: min(calc(120px + (1vw - 19.2px) * 2.5890), 120px) calc((100vw - 100%) / 2) min(calc(150px + (1vw - 19.2px) * 3.2362), 150px); 
	background: #fff;
}
.post .widecolor > h2:first-child {
	margin-top: 0 !important;
}

/*勝利の鉄則  */
.recommend {
	padding-top: 30px;
}
.recommend .inner {
	max-width: 1000px;
}
.recommend .body {
    background: #fff8ee;
    border-radius: 25px;
    padding: var(--px60) var(--px40);
    position: relative;
}
/* .recommend .body::after {
	content: '';
	display: inline-block;
	background: #fff;
	position: absolute;
	width: 70px;
	height: 50px;
	left: 50%;
	bottom: -49px;
	transform: translateX(-50%);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
} */
.recommend .body .icon {
	width: 140px;
	margin-inline: auto;
	margin-bottom: 5px;
}
.recommend .body .icon img {
	width: 100%;
}
.recommend .body ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 700px;
	margin-inline: auto;
}
.recommend .body li {
    font-size: 20px;
    color: #224F92;
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding-left: 50px;
    position: relative;
}
.recommend .body li::before {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/check_icon.png)no-repeat;
	background-size: contain;
	width: 40px;
	height: 40px;
	position: absolute;
	top: -2px;
	left: 0;
}
.recommend .body li span {
    line-height: 1.2;
    display: inline-block;
    padding: 10px;
    border: solid 1px #224F92;
    min-width: 150px;
    text-align: center;
}
.recommend .bottom {
	padding-top: 100px;
}
@media print, screen and (max-width: 1023px) {
	.recommend .body::after {
		height: 35px;
		bottom: -34px;
	}
	.recommend .body .icon {
		width: 100px;
	}
	.recommend .body ul {
		gap: 15px;
	}
	.recommend .body li {
		font-size: 16px;
		flex-direction: column;
		gap: 5px;
		line-height: 1.6;
	}
	.recommend .body li::before {
		top: -8px;
	}
	.recommend .bottom {
		padding-top: 70px;
	}
	.recommend .bottom .box01 {
		margin-left: 0;
		border-radius: 10px;
	}
	.recommend .bottom .box02 {
		margin: 0;
		border-radius: 10px;
	}
	.recommend .bottom .box02::after {
		width: 12px;
		right: -11px;
	}
}

/* --------------------
 * 比較用テーブル
 * -------------------- */
/* 1. 教科名列(th)の背景色設定 */
.table_scroll02 table th {
    background-color: #ebd5ba;
    color: #7b583e;
    font-weight: bold;
    width: 100px;
    text-align: center;	
	letter-spacing: 0.7rem;
}

/* 2. 1行目(ヘッダー行)の各コース色設定 */
/* 2列目：医学部進学（ブルー） */
.table_scroll02 table tr:first-child td:nth-child(2) {
    background-color: #0052CC;
    color: #FFFFFF; /* 背景が濃いので白文字 */
    font-weight: bold;
	text-align:center;
	letter-spacing: 0.7rem;
}

/* 3列目：スタンダード（グリーン） */
.table_scroll02 table tr:first-child td:nth-child(3) {
    background-color: #00875A;
    color: #FFFFFF; /* 背景が濃いので白文字 */
    font-weight: bold;
	text-align:center;
	letter-spacing: 0.7rem;
}

/* 4列目：ショート／得意教科（オレンジ） */
.table_scroll02 table tr:first-child td:nth-child(4) {
    background-color: #DE350B;
    color: #FFFFFF; /* 背景が濃いので白文字 */
    font-weight: bold;
	text-align:center;
	letter-spacing: 0.7rem;
}

/* 3. 2行目以降（td）のフォント設定 */
.table_scroll02 table tr:not(:first-child) td {
    background-color: #fff;
	
}

/* 表全体の微調整（読みやすさ向上） */
.table_scroll02 {
    overflow-x: auto;       /* 横方向にはみ出た場合にスクロールを出す */
    overflow-y: hidden;     /* 縦方向は隠す */
    width: 100%;            /* 親要素いっぱいに広げる */
    -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかにする */
}

/* テーブルが潰れないように最小幅を確保 */
.table_scroll02 table {
    min-width: 600px;       /* 画面が狭くなってもテーブルが潰れない最小幅 */
    width: 100%;            /* 基本は100% */
    border-collapse: collapse;
    white-space: nowrap;    /* セル内の文字を勝手に改行させない */
}


/*----------------------------
リンクボタンリスト
-----------------------------*/

/*---ボタンデザイン---*/

.link_btn {
    color: #fff;
    background: #7b583e;
	border-radius: 0vw;
	border: solid 2px #7b583e;
}
.link_btn::after {
    content: '\f078';
    position: absolute;
    font-size: .85em;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    top: 50%;
    right: var(--rem16);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.link_btn:hover {
    color: #f2bb62;
	background: #fff;
	border: solid 2px #f2bb62;
}

/*---ボタンリストレイアウト---*/

.post ul.linkbtn_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    margin: var(--px40) auto;
    gap: 1%;
}
.post ul.linkbtn_list > li {
	width: auto;
	margin-bottom: var(--px20);
	text-align: center;
}
.post ul.linkbtn_list > li a.link_btn {
    width: auto;
    min-width: 300px;
    height: 100%;
    max-width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media print, screen and (max-width: 640px) {
	.post ul.linkbtn_list > li {
		width: 100%;
	}
	.post ul.linkbtn_list > li a.link_btn {
		max-width: none;
		width: 100%;
		min-width: auto;
	}
}
/*---------txtstyle02 -----------*/
  
.post .txtstyle02, .txtstyle02 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin: var(--rem16) auto;
    background: transparent;
    color: #f2bb62;
    line-height: 1.7;
    padding: 0;
}
.post .txtstyle02:before, .post .txtstyle02:after, .txtstyle02:before, .txtstyle02:after {
  content: none;
}

@media print, screen and (max-width: 640px) {
.post .txtstyle02, .txtstyle02 {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin: var(--rem16) auto;
    background: #f2bb62;
    color: #fff;
    line-height: 1.7;
    padding: 25px 2px;
}
}

/*  */

.cardWrap_col3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: auto;
    gap: 20px 20px;
}
.cardBox_col3 {
    background: #FFF6E8;
    border: solid 1px #7B583E;
    border-radius: 10px;
    padding: var(--px40) var(--px30) var(--px30);
    position: relative;
}

@media print, screen and (max-width: 1023px) {
	.cardWrap_col3 {
		grid-template-columns: repeat(1,1fr);
		gap: 50px;
	}

	.cardWrap_col3 li::before {
		width: 12px;
		height: 9px;
	}
}
.cardBox_col3 li::before {
    content: '';
    display: inline-block;
    background: url(/wp-content/uploads/check_icon02.png)no-repeat;
    background-size: contain;
    width: 16px;
    height: 12px;
    position: absolute;
    top: 10px;
    left: 0;
}
.cardBox_col3 li {
    color: #7B583E;
    line-height: 1.75;
    padding-left: 30px;
    position: relative;
}
.cardBox_col3 h3{
	text-align:center;
}


@media print, screen and (min-width: 1024px) {
    nav#mainNav ul li a:active, nav#mainNav ul li a:hover, nav#mainNav ul li.current-menu-ancestor a, nav#mainNav ul li.current-menu-item a, nav#mainNav ul li.current-menu-parent a {
		background: #FEF5E7;
    }
}