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

/*font-family: "Zen Kaku Gothic New", sans-serif;*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');

.front_contents {
	position: relative;
	padding: min(calc(150px + (1vw - 19.2px) * 4.5307), 150px) 0; /* 150-80px (1920-375) */
	z-index: 10;
}
.wrapper_content {
	position: relative;
	width: 90%;
	max-width: 1240px;
	margin: 0 auto;
	z-index: 20;
}
#front_top_content, #front_bottom_content {
	position: relative;
	padding: min(calc(120px + (1vw - 19.2px) * 3.2362), 120px) 0; /* 120-70px (1920-375) */
	z-index: 10;
	background: #fff;
}
#front-sectionPost .postlist li {
	border: none!important;

}
.postlist li,
.postlist li:first-child {
	border: none!important;
}
.postlist .post_text {
	position: relative;
}
.postlist .post_text:after {
	content: '';
	display: inline-block;
	background-size: 3px 1px;
	background-image: linear-gradient(to right, #000000 1px, transparent 1px);
	background-repeat: repeat-x;
	background-position: left bottom;
	padding-bottom: 5px;
	position: absolute;
	height: 1px;
	bottom: 0;
	right: 0;
	width: 92%;
}
body:not(.home) #front_bottom_content {
	display: none;
}

#front-sectionPost {
	width: 94%;
	max-width: 1200px;
	margin: 0 auto;
}
.postlist .post_text {
	padding: 20px 0;
}
.post .time, .postlist .time {
	font-weight: 500;
	color: #fff !important;
	background: #0070C3;
	padding: 8px 20px;
	letter-spacing: 1px;
	border-radius: 0;
}
.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: #0070C3;
	color: #fff !important;
	border-radius: 5px;
}
.post4b .time a {
	color: #262626 !important;
}

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

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

body {
	font-weight: 400;
	font-family: "Zen Kaku Gothic New", sans-serif;
}

body p {
	line-height: 2;
}

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: #0070C3;
	opacity: 0.66;
}
header#h1Header h1.title {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: var(--rem48);
	font-weight: 700;
	color: #fff;
}
header#h1Header h1.title::before {
	display: none;
}

#header-upper {
	display: none!important;
}
#header .logo {
	padding: 5px 10px;
}
#header a.head_btn {
	align-items: center;
	position: relative;
}
#header a.head_btn::before {
	font-size: 1.1em;
	margin-bottom: 0;
	margin-right: 4px;
}
#header a.head_btn.tel_btn {
	background: #F7F7F7;
	color: #0070C3;
	flex-direction: unset;
}
#header a.head_btn.tel_btn::before {
	margin-top: -11px;
}
#header a.head_btn.tel_btn span {
	margin-top: -14px;
}
#header a.head_btn.line_btn {
	background: #0070C3;
	color: #fff;
	flex-direction: unset;
}
#header a.head_btn.line_btn::before {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/line.png)no-repeat;
	background-size: contain;
	width: 22px;
	height: 22px;
}
#header a.head_btn.mail_btn {
	background: #F8B9B8;
	color: #fff;
	flex-direction: unset;
}
#header a.head_btn .note {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-weight: 500;
	font-size: 11px;
	color: #0070C3;
	margin: 0;
}
nav#mainNav ul li a {
	color: #262626;
	padding: min(calc(15px + (1vw - 19.2px) * 0.5580), 15px) min(calc(28px + (1vw - 19.2px) * 1.6722), 28px);
}
nav#mainNav ul li a b {
	font-weight: 500;
	color: #262626;
}
nav#mainNav ul li a:hover span {
	color: #262626;
}
nav#mainNav ul li.current-menu-item a b {
	color: #0070C3;
}
nav#mainNav ul li.current-menu-item a span {
	color: #262626;
}
nav#mainNav ul li ul.sub-menu li a {
	color: #262626;
}
nav#mainNav ul li.current-menu-parent a b {
	color: #262626;
}

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

a#scrollUp {
	background: #0070C3;
}

#footer {
	padding: 30px;
}
#footer,#copyright {
	color: #fff;
	background: #0070C3;
}
#footer .footnav:not(:last-child) {
	margin-bottom: 20px;
}
#footer li a, .footeradd, .footertel, #footer li a:hover {
	color: #fff;
	font-weight: 500;
}
#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: "Zen Kaku Gothic New", sans-serif;
	font-size: var(--rem48);
	letter-spacing: .01em;
	color: #262626;
	line-height: 1.4;
	font-weight: 700;
	display: block;
	margin-bottom: 40px;
	position: relative;
}

.post h2 {
	font-family: "Zen Kaku Gothic New", sans-serif;
	color: #262626;
	font-weight: 700;
	font-size: var(--rem40);
	margin-top: 0;
	margin-bottom: 30px;
}
.post h2:after {
	display: none;
}
.post h2.title {
	font-family: "Zen Kaku Gothic New", sans-serif;
	color: #0070C3;
	text-align: center;
	padding: 0!important;
	padding-top: 50px!important;
	margin: 0!important;
	margin-bottom: 30px!important;
	position: relative;
}
.post h2.title::before {
	content: '';
	display: inline-block;
	background: url(/wp-content/uploads/mark.png)no-repeat;
	background-size: contain;
	aspect-ratio: 66 / 52;
	width: 55px;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

.post h3 {
	font-family: "Zen Kaku Gothic New", sans-serif;
	color: #262626;
	font-weight: 500;
	border: none;
	padding: 0;
	margin-top: 0;
	margin-bottom: 15px;
}
.post h4 {
	font-family: "Zen Kaku Gothic New", sans-serif;
	color: #262626;
	font-weight: 500;
}

.post h4::before {
	background: #0070C3;
}

.linkBtn, .post .linkBtn, a.linkBtn {
	font-family: "Zen Kaku Gothic New", sans-serif;
	display: block;
	background: #F8B9B8;
	color: #fff;
	border-radius: 0;
	width: 100%;
	max-width: 280px;
	font-weight: 500;
	padding: 15px 5%;
	margin-top: 30px;
	margin-inline: auto;
}
.linkBtn:hover, .post .linkBtn:hover, a.linkBtn:hover {
	background: #F8B9B8;
	color: #fff;
	opacity: .7;
}

.contact_sec {
	background: url(/wp-content/uploads/cta_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
	padding: 80px 0;
}
.contact_sec h2.title {
	color: #fff;
}
.contact_sec h2.title::before {
	filter: brightness(0) invert(1);
}
.contact_sec p {
	text-align: center;
	color: #fff;
}
.contact_sec .btn {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 40px;
}
.contact_sec .linkBtn {
	margin: 0;
}
.contact_sec .linkBtn,
.contact_sec .linkBtn:hover {
	background: #fff;
	color: #0070C3;
}
.contact_sec .linkBtn::after {
	border-right: solid 1px #0070C3;
	border-bottom: solid 1px #0070C3;
}

#mainImg {
	position: relative;
	z-index: 2;
}
#mainImg .banner {
  position: absolute;
  width: 25%;
  max-width: 400px;
  right: 2%;
  bottom: 5%;
  display: block;
  z-index: 3;
}
.nivoSlider {
	position: relative;
	overflow: visible!important;
}
.nivo-caption {
	top: 38%!important;
	transform: translateY(-50%);
	left: 7%!important;
	height: max-content !important;
	width: fit-content !important;
	font-family: "Zen Kaku Gothic New", sans-serif!important;
	overflow: visible !important;
	text-align: left!important;
	z-index: 10 !important;
	color: #fff!important;
	opacity: 1!important;
	max-width: 100% !important;
	padding: 0!important;
	background: unset!important;
	line-height: 1.6;
}
.nivo-caption .hero h1 {
	font-weight: 700;
	font-size: clamp(24px, 4vw, 70px);
	margin-bottom: 15px;
}
.nivo-caption .hero p {
	font-weight: 500;
	color: #fff;
}
.nivo-caption .hero .linkBtn {
	width: 100%;
	max-width: 300px;
	margin-left: 0;
	border: none!important;
	margin-top: 30px!important;
	display: block !important;
}
.ms-edit-frontend {
	display: none;
}

/*-----------------------------
Top
------------------------------*/
.top_reason {
	background: url(/wp-content/uploads/cmn_bg.png)no-repeat;
	background-size: cover;
	background-position: center;
	padding: 100px 0;
}
.top_reason ul {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
	justify-content: center;
}
.top_reason li {
	width: calc(100% / 3 - 30px);
}
.top_reason .image {
	margin-bottom: 20px;
}
.top_reason .image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.top_reason h3 {
	text-align: center;
	color: #0070C3;
	font-weight: 500;
}

.top_course {
	padding: 100px 0;
	background: url(/wp-content/uploads/course_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
}
.top_course h2.title {
	color: #fff;
}
.top_course h2.title::before {
	filter: brightness(0) invert(1);
}
.top_course ul {
	display: flex;
	flex-direction: column;
	gap: 60px;
}
.top_course li {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.top_course li:nth-child(even) {
	flex-direction: row-reverse;
}
.top_course .image,
.top_course .text {
	width: 47%;
}
.top_course .image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.top_course h3,
.top_course p {
	color: #fff;
}
.top_course .linkBtn {
	background: #fff;
	color: #0070C3;
	margin-left: 0;
}
.top_course .linkBtn:hover {
	background: #fff;
	color: #0070C3;
}
.top_course .linkBtn::after {
	border-right: solid 1px #0070C3;
	border-bottom: solid 1px #0070C3;
}

.top_area {
	padding: 80px 0;
	background: url(/wp-content/uploads/area_bg.jpg)no-repeat;
	background-size: cover;
	background-position: center;
}
.top_area .head {
	text-align: center;
	font-weight: 500;
	font-size: var(--rem20);
}
.top_area .box {
	max-width: 1100px;
	padding: 30px;
	margin-top: 30px;
	margin-inline: auto;
	background: #fff;
	border: solid 7px #E8F0F7;
}

.top_instagram {
	padding: 100px 0;
}

@media print, screen and (max-width: 768px) {
	.top_reason {
		padding: 60px 0;
	}
	.top_reason ul {
		flex-direction: column;
	}
	.top_reason li {
		width: calc(100%);
	}

	.top_course {
		padding: 60px 0;
	}
	.top_course ul {
		gap: 40px;
	}
	.top_course li {
		flex-direction: column;
		gap: 20px;
	}
	.top_course li:nth-child(even) {
		flex-direction: column;
	}
	.top_course .image,
	.top_course .text {
		width: 100%;
	}
	.top_course h3 {
		text-align: center;
	}
	.top_course .linkBtn {
		margin-left: auto;
	}

	.top_area {
		padding: 60px 0;
	}
	.top_area .box {
		padding: 25px;
		margin-top: 30px;
		border: solid 5px #E8F0F7;
	}

	.top_instagram {
		padding: 60px 0;
	}
}

/*-----------------------------
講師紹介
------------------------------*/
.teacher.sec01 .flex {
	display: flex;
	justify-content: space-between;
}
.teacher.sec01 .image {
	width: 40%;
}
.teacher.sec01 .text {
	width: 56%;
}
.teacher.sec01 table,
.teacher.sec01 th,
.teacher.sec01 td {
	background: unset!important;
	font-weight: 500!important;
	border: none!important;
}
.teacher.sec01 th {
	color: #0070C3!important;
}
.teacher.sec01 tr {
	border-bottom: 1px solid #707070;
}

@media print, screen and (max-width: 768px) {
	.teacher.sec01 .flex {
		flex-direction: column;
		gap: 20px;
	}
	.teacher.sec01 .image {
		width: 100%;
	}
	.teacher.sec01 .text {
		width: 100%;
	}
}

/*-----------------------------
コース紹介
------------------------------*/
.course h3 {
	text-align: center;
	font-weight: 500;
	color: #0070C3;
}
.course .flex {
	display: flex;
	gap: 40px;
	margin-bottom: 40px;
}
.course .box {
	width: 100%;
	background: #fff;
	border: solid 7px #E8F0F7;
	padding: 40px 30px;
}
.course table,
.course th,
.course td {
	background: unset!important;
	font-weight: 500!important;
	border: none!important;
}
.course th {
	color: #0070C3!important;
}
.course tr {
	border-bottom: 1px solid #707070;
}

.course.sec01 {
	padding-bottom: 60px;
}
.course.sec01 .linkflex {
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}
.course.sec01 .linkflex .linkBtn {
	margin: 0;
	background: #0070C3;
	color: #fff;
}
.course.sec01 .linkflex .linkBtn:hover {
	background: #0070C3;
	color: #fff;
}
.course.sec01 .linkflex .linkBtn::after {
	display: none;
}

.course.sec02,
.course.sec03 {
	padding: 80px 0;
}
.course.sec02 {
	background: url(/wp-content/uploads/cmn_bg.png)no-repeat;
	background-size: cover;
	background-position: center;
}

@media print, screen and (max-width: 768px) {
	.course .flex {
		flex-direction: column;
		gap: 20px;
		margin-bottom: 20px;
	}
	.course .box {
		width: 100%;
		background: #fff;
		border: solid 5px #E8F0F7;
		padding: 35px 25px;
	}

	.course.sec01 {
		padding-bottom: 40px;
	}

	.course.sec02,
	.course.sec03 {
		padding: 60px 0;
	}
}

/*-----------------------------
家庭教師の南の特徴
------------------------------*/
.feature.sec01 ul {
	display: flex;
	flex-direction: column;
	gap: 60px;
}
.feature.sec01 li {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.feature.sec01 li:nth-child(even) {
	flex-direction: row-reverse;
}
.feature.sec01 .image,
.feature.sec01 .text {
	width: 47%;
}
.feature.sec01 .image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.feature.sec01 h3 {
	font-weight: 500;
	color: #0070C3;
}

@media print, screen and (max-width: 768px) {
	.feature.sec01 ul {
		text-align: center;
		gap: 40px;
	}
	.feature.sec01 li {
		flex-direction: column;
		gap: 20px;
	}
	.feature.sec01 li:nth-child(even) {
		flex-direction: column;
	}
	.feature.sec01 .image,
	.feature.sec01 .text {
		width: 100%;
	}
	.feature.sec01 h3 {
		text-align: center;
	}
	.feature.sec01 p {
		text-align: left;
	}
}

/*-----------------------------
よくあるご質問
------------------------------*/
.faq.sec01 .inner {
  display: grid;
  gap: 14px;
}
.faq.sec01 .faq-item {
  overflow: clip;
}
.faq.sec01 .faq-item > summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  outline: none;
	background: #F5F9FC;
	padding: 16px 20px;
}
.faq.sec01 .faq-item > summary::-webkit-details-marker { display: none; }
.faq.sec01 .q {
  font-weight: 500;
  color: #0070C3;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1;
}
.faq.sec01 .q-text {
  font-weight: 500;
  font-size: var(--rem18);
}
.faq.sec01 .toggle {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.faq.sec01 .toggle::before,
.faq.sec01 .toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 2px;
  background: #0070C3;
  border-radius: 1px;
  transition: transform .28s ease;
}
.faq.sec01 .toggle::after { transform: rotate(90deg); }
.faq.sec01 .faq-item[open] .toggle::after { transform: rotate(90deg) scaleX(0); }

.faq.sec01 .a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease, padding .32s ease, margin .32s ease;
  padding-left: 40px;
  margin-top: 0;
}
.faq.sec01 .a-wrap > div { min-height: 0; overflow: hidden; }
.faq.sec01 .a-wrap p { margin: 12px 0 2px; line-height: 1.9; }

.faq.sec01 .faq-item[open] .a-wrap {
  grid-template-rows: 1fr;
  padding-bottom: 6px;
}

@media print, screen and (max-width: 768px) {

}

/*-----------------------------
お問い合わせ
------------------------------*/
.post .subimitarea .linkBtn {
	padding: 0;
}
body.page-contact .post table th {
	background: #0070C3!important;
	color: #fff!important
}
.wpcf7-form .must {
	background: #fff!important;
	color: #0070C3!important;
	border: solid 1px #0070C3!important;
}
.post .subimitarea .linkBtn {
	max-width: 300px;
	margin-inline: auto;
	border: none!important;
}
.post .subimitarea .linkBtn::after {
	display: none!important;
}
.post .subimitarea .linkBtn input[type="submit"] {
	color: #fff!important;
	background: #0070C3;
	padding: 20px!important;
	width: 300px;
	font-weight: 700;
	border-radius: 0;
}


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

	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 {
		margin-bottom: 20px!important;
	}

	.contact_sec {
		padding: 60px 0;
	}
	.contact_sec .btn {
		margin-top: 30px;
	}

	#mainImg .banner {
	  width: 40%;
	}

	#mainImg .nivoSlider img {
	    aspect-ratio: 1 / 1;
	    object-fit: cover;
	}
	.nivo-caption .hero h1 {
		margin-bottom: 5px;
	}
	.nivo-caption .hero p {
	    font-size: 12px;
	}
	.nivo-caption .hero .linkBtn {
		max-width: 210px;
		font-size: 12px;
		margin-top: 15px!important;
	}
}

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

.sbi-header.sbi-header-type-text {
    display: none;
}