@charset "utf-8";
/* Y'S GEAR : school.css */

body {
	overflow-x: hidden;
	margin-right: auto !important;
}

.contentsWidth {
	font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
	font-size: 1.6rem;
	font-weight: 500;
}
.contentsWidth *,
.contentsWidth *::before,
.contentsWidth *::after { box-sizing: border-box; }
.contentsWidth a,
.contentsWidth a::before,
.contentsWidth a::after,
.contentsWidth a img { transition: all 0.3s ease; }

.contentsWidth h2,
.contentsWidth h3,
.contentsWidth h4,
.contentsWidth h5 { line-height: 1.2; } 


@media screen and (min-width: 769px) {
	.contentsWidth .sp { display: none; }
} /* */

@media screen and (max-width: 768px) {
	.contentsWidth .pc { display: none; }
} /* */


/*==============================================*
 *  [ メイン ] 
 *==============================================*/

@media screen and (max-width: 768px) {
	.main-img {
		margin: 0 -10px;
	}
	.main-img img {
		width: 100%;
		height: auto;
	}
}


/*==============================================*
 *  [ QAコンテンツ タブ ] 
 *==============================================*/

.qaContents {
	margin-top: 30px;
}

.qa-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.qatab-label {
	position: relative;
	color: #CC162F;
	height: 63px;
	text-align: center;
	font-size: 1.8rem;
	font-weight: bold;
	border: solid 2px #CC162F;
	border-radius: 32px;
	cursor: pointer;
	flex: 1;
	padding: 17px 0;
	margin: 0;
	z-index: 1;
}

.qatab-label:hover {
	opacity: 0.75;
}

.qatab-content {
	flex: 100%;
	display: none;
	overflow: hidden;
}

input[name="qatab-switch"] {
	display: none;
}

.qa-tabs input:checked + .qatab-label {
	color: #fff;
	background-color: #CC162F;
}
.qa-tabs input:checked + .qatab-label::after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 10px 0 10px;
	border-color: #CC162F transparent transparent transparent;
	display: block;
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -10px;
	transition: all 0.3s ease 0s;
}

#qa-tab01:checked ~ #qa-tab01-content,
#qa-tab02:checked ~ #qa-tab02-content {
	display: block;
}

.qatab-content{
	position: relative;
	animation: fadeIn 1s ease;
}

@media screen and (max-width: 768px) {
	.qa-tabs {
		gap: 15px;
	}
}

/*==============================================*
 *  [ QAコンテンツ アコーディオン ] 
 *==============================================*/

.qalist-container {
	position: relative;
	background-color: #F5F5F5;
	border-radius: 20px;
	padding: 30px;
	margin-bottom: 30px;
}
.qalist-title {
	position: relative;
	font-size: 1.6rem;
	font-weight: bold;
	text-align: left;
	z-index: +2;
	cursor: pointer;
	transition-duration: 0.2s;
}

.qalist-title::before, 
.qalist-title::after {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 20px;
	height: 2px;
	background: #666;
	content: "";
	z-index: 10;
}
.qalist-title::after {
	display: block;
	transform: rotate(90deg);
}
.qalist-title.open::after {
	display: none;
}
.qalist-title:hover {
	opacity: 0.8;
}
.qalist-title span {
	padding-left: 10px;
}

.qalist-title.open {
	border-bottom: none;
	padding-top: 10px;
}

.question {
	position: relative;
	max-width: 840px;
	font-size: 1.8rem;
	padding-left: 60px;
}
.question::before {
	position: absolute;
	content: "";
	background-image: url("/mc/oil/qa/img/icon_q.svg");
	width: 40px;
	height: 40px;
	top: -30%;
	left: 0;
}
.question.mtuse::before {
	top: -20%;
}

.qalist-inner {
	display: none;
	margin-top: 40px;
	box-sizing: border-box;
}

.answer {
	height: auto;
	font-size: 1.6rem;
}
.answer img {
	padding-top: 20px;
	padding-left: 60px
}
.answer-title {
	position: relative;
	max-width: 840px;
	color: #CC1533;
	text-align: left;
	font-size: 1.8rem;
	font-weight: bold;
	padding-top: 2px;
	padding-left: 60px;
}
.answer-title::before {
	position: absolute;
	content: "";
	background-image: url("/mc/oil/qa/img/icon_a.svg");
	width: 40px;
	height: 40px;
	top: -15%;
	left: 0;
}
.answer-txt {
	max-width: 840px;
	text-align: left;
	margin: 0;
	line-height: 3.0rem;
	padding-top: 20px;
	padding-left: 60px;
}

.at-flex {
	display: flex;
	justify-content: flex-start;
	gap: 15px;
	margin-bottom: 20px;
}
.at-flex:last-child {
	margin-bottom: 0;
}
.at-flex.baseoil p:first-child {
	width: 5.0em;
}
.at-flex.baseoil p:nth-child(2) {
	flex: 1;
}

.baseoil-flex {
	max-width: 840px;
	display: flex;
	justify-content: center;
	gap: 20px;
	text-align: center;
	padding-left: 60px;
}
.baseoil-flex div {
	width: calc((100% - 40px) / 3);
}
.baseoil-flex img {
	padding-left: 0;
}
.baseoil-flex p {
	font-size: 1.4rem;
	padding-top: 10px;
}

.btnbg {
	position: absolute;
	width: 40px;
	height: 40px;
	top: -8px;
	right: 0;
	background-color: #fff;
	border-radius: 10px;
	z-index: 1;
}

@media screen and (max-width: 768px) {
	.qalist-container {
		padding: 25px 20px;
	}
	.qalist-title {
		font-size: 1.4rem;
	}

	.qalist-title::before,
	.qalist-title::after {
		top: 9px;
		right: 7px;
		width: 15px;
	}
	.qalist-title.open {
		padding-top: 0;
	}
	.question {
		width: 100%;
		font-size: 1.6rem;
		padding-left: 45px;
		padding-right: 45px;
	}
	.question::before {
		top: -5px;
		width: 30px;
		height: 30px;
		background-size: contain;
		background-repeat: no-repeat;
	}
	.question.mtuse::before {
		top: -5px;
	}
	.qalist-inner {
		margin-top: 30px;
	}
	.answer {
		font-size: 1.4rem;
		padding-right: 5px;
	}
	.answer-title {
		font-size: 1.6rem;
		padding-left: 45px;
	}
	.answer-title::before {
		top: -5px;
		width: 30px;
		height: 30px;
		background-size: contain;
		background-repeat: no-repeat;
	}
	.answer-txt {
		font-size: 1.4rem;
		padding-left: 45px;
	}
	.at-flex {
		display: block;
	}
	.baseoil-flex {
		gap: 10px;
		padding-left: 45px;
	}
	.baseoil-flex p {
		font-size: 1.2rem;
		padding-top: 10px;
	}
	.btnbg {
		width: 30px;
		height: 30px;
		top: -5px;
	}
}

/*==============================================*
 *  [ お問い合わせ先 ] 
 *==============================================*/

.contact dl {
	margin: 0 10px 50px;
}
.contact dt {
	position: relative;
	float: left;
	width: 300px;
	height: 55px;
	padding: 15px 0 0 85px;
	box-sizing: border-box;
	font-size: 2.6rem;
	font-weight: bold;
	line-height: 1;
}
.contact dt img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
.contact dd {
	margin: 0 0 0 317px;
}
.contact dd p {
	font-size: 1.6rem;
	margin-bottom: 10px;
	font-weight: bold;
}
.contact dd p span {
	font-weight: normal;
}
.contact dd li {
	list-style: none;
	margin: 5px 0 0 0;
	padding: 0 0 0 1em;
	text-indent: -1em;
	font-size: 1.4rem;
}
.contact dd li::before {
	content: "◎";
}

@media screen and (max-width: 768px) {
	.contact dt {
		width: 100%;
		float: none;
		font-size: 2.2rem;
	}
	.contact dd {
		margin: 15px 0 0 0;
	}
}


/*==============================================*
 *  [ コンテンツバナー ] 
 *==============================================*/

.bunnerArea {
	background-color: #ddd;
	padding: 20px;
	margin-bottom: 50px;
}

.bunnerArea ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
.bunnerArea li {
	width: calc((940px - 20px) / 3);
}

.bunnerArea li img {
	width: 100%;
}

@media screen and (max-width: 768px) {
	.bunnerArea {
		margin: 0 -10px 50px;
	}
	.bunnerArea li {
		width: 100%;
	}
}


/*==============================================*
 *  [ TOPへ戻る ] 
 *==============================================*/

.returntop {
	text-align: center;
	margin-bottom: 100px;
	height: 60px;
}

.returntop a {
	color: #333;
	font-size: 2.0rem;
	border: 3px solid #F5F5F5;
	background-color: #fff;
	padding: 17px 32px 17px 26px;
}
.returntop a:hover {
	border: 3px solid #F5F5F5!important;
}

.returntop a b::before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 1.2rem;
	height: 1.2rem;
	border: 3px solid #CC1533;
	border-left: 0;
	border-bottom: 0;
	box-sizing: border-box;
	transform: translateX(25%) rotate(-135deg);
	margin-right: 30px;
}

@media screen and (max-width: 768px) {
	.returntop a {
		height: 40px;
		font-size: 1.6rem;
	}
	.longbtn a b::before {
		margin-right: 10px;
	}
}