@charset "utf-8";
/*==================================================
	【サブ】ページ固有のスタイル
==================================================*/
#science .txt {
	font-size : 14px;
	line-height : 25px;
}
#science .science_about {
	position: relative;
}
#science .science_about::before {
	content: "";
	background: url("../img/trial_session/bg01.png") no-repeat top right/100%;
	width: 10%;
	height: 100%;
	position: absolute;
	top: -10%;
	left: auto;
	right: 15%;
}
#science .science_about::after {
	content: "";
	background: url("../img/trial_session/bg02.png") no-repeat bottom left/100%;
	width: 15%;
	height: 100%;
	position: absolute;
	top: auto;
	bottom: 10%;
	left: 15%;
}
#science .science_about .science_about_img img {
	width: 415px;
	margin-bottom: 25px;
}
#science .science_about .txt {
	font-size : 125%;
	line-height : 40px;
}
#science .science_msg .msg_box {
	border: 5px solid #33c892;
	border-radius: 30px;
	padding: 35px 50px;
	position: relative;
}
#science .science_msg .msg_box::before {
	content: "";
	background: url("../img/science/bg01.png") no-repeat bottom center/100%;
	width: 450px;
	height: 380px;
	position: absolute;
	bottom: 0;
	right: 15px;
}
#science .science_msg .msg_box ul{
	width: 730px;
}
#science .science_msg .msg_box li {
	font-size : 25px;
	position: relative;
	padding-left: 40px;
}
#science .science_msg .msg_box li::before {
	content: "1";
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	background: var(--color-red);
	border-radius: 50%;
	color: #FFF;
	width: 28px;
	height: 28px;
	position: absolute;
	top: 10px;
	left: 0;
	line-height: 1.7;
}
#science .science_msg .msg_box li:nth-child(2)::before {
	content: "2";
}
#science .science_msg .msg_box li:nth-child(3)::before {
	content: "3";
}
#science .science_msg .msg_box li:nth-child(4)::before {
	content: "4";
}
#science .science_msg .msg_box li:nth-child(5)::before {
	content: "5";
}
#science .science_msg .line_txt {
	font-weight : bold;
	font-size : 60px;
	line-height : 88px;
	text-align: center;
	margin-bottom: 60px;
}
#science .science_msg .line_txt span {
	background: linear-gradient(transparent 70%, rgba(252,243,0,0.6) 70%);
}
#science .science_msg .line_txt .red {
	font-size : 70px;
	font-weight : 700;
}
#science .science_feature h3.sub {
	font-size : 70px;
	font-weight : bold;
	position: relative;
}
#science .science_feature h3.sub::before {
	content: "";
	background: url("../img/science/bg02.png") no-repeat top right/100%;
	width: 88px;
	height: 122px;
	position: absolute;
	top: -20px;
	right: 0;
}
#science .science_feature .box {
	position: relative;
	margin-bottom: 130px;
}
#science .science_feature .box:last-of-type {
	margin-bottom: 30px;
}
#science .science_feature .box .img_box {
	width: 45%;
	position: relative;
	z-index: -1;
}
#science .science_feature .box.reverse .img_box {
	margin-left: auto;
}
#science .science_feature .box .img_box::before {
	content: "";
	background: url("../img/science/bg03.png") no-repeat bottom left/100%;
	width: 78px;
	height: 137px;
	position: absolute;
	bottom: -35px;
	left: 10px;
}
#science .science_feature .box.reverse .img_box::before {
	background: url("../img/science/bg04.png") no-repeat top right/100%;
	width: 50px;
	height: 124px;
	bottom: auto;
	left: auto;
	top: -10px;
	right: 20px;
}
#science .science_feature .box:nth-of-type(3) .img_box::before {
	background: url("../img/science/bg05.png") no-repeat top right/100%;
	width: 91px;
	height: 129px;
	bottom: auto;
	bottom: -75px;
	left: 30px;
}
#science .science_feature .box .txt_box {
	width: 700px;
	position: absolute;
	bottom: -50px;
	right: 0;
	border: 5px solid #e61f22;
	border-radius: 30px;
	padding: 5px;
	background: #fff;
}
#science .science_feature .box.reverse .txt_box {
	right: auto;
	left: 0;
}
#science .science_feature .box .txt_box .in {
	border: 1px solid #e61f22;
	padding: 30px 40px;
	border-radius: 25px;
}
#science .science_feature .box .txt_box .in .maru {
	background: #33c892;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	flex-direction: column;
	font-size: 24px;
	color: #FFFFFF;
	line-height: 2.3em;
	transform: rotate(20deg);
	margin-right: 1em;
	top: -50px;
	right: 0;
}
#science .science_feature .box.reverse .txt_box .in .maru {
	right: auto;
	left: 0;
}
#science .science_feature .box .txt_box .in .maru::before {
	content: "";
	background: url(../img/star.png) no-repeat center / 100%;
	width: 26px;
	height: 22px;
	position: absolute;
	top: 20px;
	left: -5px;
}
#science .science_feature .box .txt_box .in .maru .num {
	font-size: 50px;
	position: relative;
	top: -10px;
}
#science .science_feature .box .txt_box .in .ttl {
	font-weight : bold;
	font-size :53px;
	line-height : 70px;
	margin-bottom: 30px;
}
#science .science_feature .box.reverse .txt_box .in .ttl {
	text-align: right;
}
#science .science_feature .box .txt_box .in .ttl .red {
	font-size: 64px;
}
#science .science_price h3.sub {
	font-size : 70px;
	font-weight : bold;
}
#science .science_price .price_box {
	display: grid;
	grid-template-columns: 254px auto;
	align-items: flex-start;
	gap: 0 15px;
}
#science .science_price .price_box .box {
	background: #fff;
	border: 5px solid #33c892;
	border-radius: 30px;
	overflow: hidden;
}
#science .science_price .price_box .box .ttl {
	background: #33c892;
	min-height: 88px;
	padding: 10px;
	box-sizing: border-box;
	font-size : 36px;
	color : #fff;
	text-align: center;
}
#science .science_price .price_box .box .txt_box {
	padding: 30px;
}
#science .science_price .price_box .box .txt_box dl {
	background: #eaf9f4;
	padding: 15px;
}
#science .science_price .price_box .box .txt_box dt {
	display: block;
	background: #fff;
	text-align: center;
	font-size : 18px;
	line-height : 25px;
	padding: 5px;
	margin-bottom: 10px;
}
#science .science_price .price_box .box .txt_box dd .yen {
	font-size : 36px;
	color : #E61F22;
	font-weight: 600;
	text-align: center;
}
#science .science_price .price_box .box .txt_box dd .txt {
	text-align: center;
	line-height : 13px;
}
#science .science_price .price_box .box.other {
	border: 5px solid #2ea7e0;
}
#science .science_price .price_box .box.other .ttl {
	background: #2ea7e0;
}
#science .science_price .price_box .box.other .txt_box dl {
	width: calc(92% / 3);
	background: #eaf6fc;
}
@media print, screen and (min-width: 769px){ /* PCのみ */
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#science .txt {
		line-height: 1.8em;
	}
	#science .science_about::before {
		width: 15%;
		right: 0;
	}
	#science .science_about::after {
		left: 3%;
	}
	#science .science_about .science_about_img img {
		width: 40%;
		margin-bottom: 15px;
	}
	#science .science_about .txt {
		font-size: 98%;
		line-height: 1.8em;
	}
	#science .science_msg .msg_box {
		padding: 5px 15px;
	}
	#science .science_msg .msg_box ul {
		width: 100%;
	}
	#science .science_msg .msg_box li {
		font-size: 110%;
		padding-left: 25px;
	}
	#science .science_msg .msg_box li::before {
		width: 22px;
		height: 22px;
		font-size: 13px;
		top: 5px;
	}
	#science .science_msg .msg_box::before {
		width: 200px;
		right: 0;
	}
	#science .science_msg .msg_box::after {
		width: 80px;
		height: 25px;
		bottom: -25px;
	}
	#science .science_msg .line_txt {
		font-size: 20px;
		line-height: 1.8em;
		margin-bottom: 30px;
	}
	#science .science_msg .line_txt .red {
		font-size: 25px;
	}
	#science .science_msg .line_txt span::before {
		height: 10px;
	}
	#science .science_feature h3.sub {
		font-size: 30px;
		margin-bottom: 0;
	}
	#science .science_feature h3.sub::before {
		width: 8%;
	}
	#science .science_feature .box {
		margin-bottom: 80px;
	}
	#science .science_feature .box .txt_box {
		position: relative;
		width: 80%;
		margin: 0 auto;
	}
	#science .science_feature .box .txt_box .in {
		padding: 15px 25px;
	}
	#science .science_feature .box .txt_box .in .ttl {
		font-size: 20px;
		line-height: 1.8em;
		margin-bottom: 15px;
		text-align: center;
	}
	#science .science_feature .box.reverse .txt_box .in .ttl {
		text-align: center;
	}
	#science .science_feature .box .txt_box .in .ttl .red {
		font-size: 25px;
	}
	#science .science_feature .box .txt_box .in .maru {
		width: 90px;
		height: 90px;
		font-size: 115%;
		margin-right: 0;
	}
	#science .science_feature .box .txt_box .in .maru .num {
		font-size: 35px;
	}
	#science .science_feature .box .txt_box .in .maru::before {
		width: 20px;
		top: 10px;
		left: -5px;
	}
	#science .science_feature .box .img_box {
		width: 60%;
		margin: 0 auto 30px;
		z-index: 1;
	}
	#science .science_feature .box .img_box::before,#science .science_feature .box:nth-of-type(3) .img_box::before {
		width: 15%;
	}
	#science .science_feature .box.reverse .img_box::before {
		width: 10%;
	}
	#science .science_feature .box:nth-of-type(3) .img_box::before {
		bottom: -90px;
	}
	#science .science_price h3.sub {
		font-size: 30px;
	}
	#science .science_price .price_box .box .ttl {
		min-height: auto;
		font-size: 20px;
	}
	#science .science_price .price_box .box .txt_box {
		padding: 15px;
	}
	#science .science_price .price_box .box .txt_box.box_flex_sp {
		flex-direction: column;
	}
	#science .science_price .price_box .box .txt_box dl {
		padding: 10px;
	}
	#science .science_price .price_box .box.other .txt_box dl {
		width: 100%;
		margin-bottom: 10px;
	}
	#science .science_price .price_box .box.other .txt_box dl:last-of-type {
		margin-bottom: 0;
	}
	#science .science_price .price_box .box .txt_box dd .yen {
		font-size: 30px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#science .science_about::after {
		bottom: -20px;
	}
	#science .science_about .science_about_img img {
		width: 60%;
	}#science .science_about .txt {
		text-align: left;
	}
	#science .science_msg .msg_box {
		padding: 15px;
		border-radius: 15px;
		border: 3px solid #33c892;
	}
	#science .science_msg .msg_box li {
		font-size: 98%;
		line-height: 1.8em;
	}
	#science .science_msg .msg_box li::before {
		top: 2px;
		font-size: 12px;
	}
	#science .science_msg .msg_box::before {
		display: none;
	}
	#science .science_msg .line_txt {
		margin-bottom: 15px;
	}
	#science .science_feature .box .txt_box {
		width: 100%;
		border: 3px solid #e61f22;
		border-radius: 20px;
	}
	#science .science_feature .box .txt_box .in {
		border-radius: 15px;
		padding: 10px 15px;
	}
	#science .science_feature .box .img_box {
		width: 80%;
	}
	#science .science_feature .box .txt_box .in .ttl {
		text-align: left;
		font-size: 125%;
	}
	#science .science_feature .box.reverse .txt_box .in .ttl {
		text-align: right;
	}
	#science .science_feature .box .txt_box .in .ttl .red {
		font-size: 20px;
	}
	#science .science_price .price_box {
		grid-template-columns: 100%;
		gap: 20px 0;
	}
	#science .science_price .price_box .box {
		border: 3px solid #33c892;
		border-radius: 30px;
	}
	#science .science_price .price_box .box.other {
		border: 3px solid #2ea7e0;
	}
	#science .science_price .price_box .box .ttl{
		font-size: 125%;
	}
	#science .science_price .price_box .box .txt_box dt {
		font-size: 100%;
	}
	#science .science_price .price_box .box .txt_box dd .yen {
		font-size: 22px;
	}
}