/*
Theme Name: academica-child-service
Theme URI: http://www.wpzoom.com/themes/academica/
Description: 「Academica」の子テーマ サービスページ用、共通footer用CSS
Tags: blue, two-columns, three-columns, custom-header, custom-menu, translation-ready
Version: 21.09.21
Author: AT
Template: academica
*/
div.single h2, .clear div.single h2, div.single h3, .clear div.single h3, div.single h4, .clear div.single h4, div.single h5, .clear div.single h5, div.single h6, .clear div.single h6, #trialTitle {
	clear: both;
	margin: 1.5rem 0 0.5rem;
}
address, p {
	font-size: 1rem;
}
/*
h1.title {
	font-size: 2rem;
	text-align: center;
}
h2.title {
	font-size: 1.7rem!important;
	text-align: center;
}
.h2-box {
	text-align: center;
	margin: 1rem 0;
}
h2.underline-title {
	display: inline-block;
	font-size: 1.7rem!important;
	padding-bottom: 0.625rem;
	border-bottom: solid 1px #000;
	margin: 0.625rem!important;
}
.h2-sub {
	color: #cc3232;
	font-size: 1rem;
	font-weight: bold;
	text-align: center;
}
*/
h3.title {
	font-size: 1.2rem!important;
}
h3.left-title {
	font-size: 1.2rem!important;
	text-align: left;
	margin: 1rem 0 0.5rem;
}
h3.left-title:before {
	content: "";
	background-color: #cc3232;
	display: inline-block;
	width: 0.2rem;
	height: 1.4rem;
	transform: translateY(20%);
	margin-right: 0.625rem;
}
.h3-box {
	text-align: center;
}
h3.underline-center-title {
	display: inline-block;
	font-size: 1.2rem!important;
	padding-bottom: 0.625rem;
	border-bottom: solid 1px #000;
}
h3.borderline-center-title {
	display: inline-block;
	font-size: 1.2rem!important;
	font-weight: bold;
	margin: 60px 0 15px;
	padding-bottom: 0.625rem;
	border-bottom: solid 1px #000;
}

.h3-sub {
	font-size: 1rem;
	font-weight: bold;
	background-color: #eee;
	text-align: center;
	padding: 1rem;
}
.h3-sub .underline-text {
	border-bottom: solid 1px #000;
	padding-bottom: 0.1rem;
}
.h4-box {
	text-align: center;
}
h4.underline-center-title {
	display: inline-block;
	font-size: 1rem!important;
	padding-bottom: 0.625rem;
	border-bottom: solid 1px #000;
}

.toggle-01 ul li {
	list-style-type: none;
}

.background-palegray {
	background: #eee;
	padding: 2rem;
}


.wrapper-12 div,
.wrapper-13 > div {
	margin: 0.625rem 0;
}


/*feature-slider*/
h3.sideline-center-title {
	color: #cc3232;
	display: flex;
	align-items: center;
	font-size: 1.2rem!important;
	font-weight: bold;
	padding-bottom: 0.625rem;
}
h3.sideline-center-title:before,
h3.sideline-center-title:after {
	content: "";
  flex-grow: 1;
  height: 1px;
  background: #cc3232;
}
h3.sideline-center-title:before {
	margin: 0 1rem 0 0;
}
h3.sideline-center-title:after {
	margin: 0 0 0 1rem;
}

/*.feature-slider,
.feature-slider .n2_clear {
	background-color: #cc3232;
}
.feature-slider h3.underline-center-title {
	font-size: 1.2rem;
	color: #fff;
	border-bottom: solid 1px #fff;
}
.feature-slider h3.borderline-center-title {
	font-size: 1.2rem;
	font-weight: bold;
	color: #fff;
	margin: 60px 0 15px;
	border-bottom: solid 1px #fff;
}
*/

/*demo*/
.wrapper-12 .img {
	grid-area: img;
	margin: 0 auto;
	width: 5rem;
}
.wrapper-12 .text p {
	grid-area: text;
	color: #000;
	text-align: center;
	font-size: 1rem;
}
.wrapper-12 .button {
	grid-area: button;
	display: block;
	width: 100%;
	height: auto;
	background-color: #cc3232;
	color: #fff;
	text-align: center;
	padding: 0.625rem;
}
.wrapper-12 .button p {
	font-size: 1.1rem!important;
}
.wrapper-12 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 0.625rem;
	grid-template-areas:
	"img"
	"text"
	"button";
	background: #fff;
	filter: drop-shadow(0 0 0.5rem #d0d0d0);
	align-items: center;
	margin: 1rem 0;
	padding: 1rem;
}

/*trial*/
.wrapper-13 .trial-1 {
	grid-area: trial-1;
	text-align: center;
}
.wrapper-13 .trial-2 {
	grid-area: trial-2;
	text-align: center;
}
.wrapper-13 .trial-3 {
	grid-area: trial-3;
	text-align: center;
}
.wrapper-13 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 0.625rem;
	grid-template-areas:
	"trial-1"
	"trial-2"
	"trial-3";
}

.wrapper-13 .trial-1 .red-back,
.wrapper-13 .trial-2 .red-back,
.wrapper-13 .trial-3 .red-back {
	padding: 1rem;
	background-color: #cc3232;
	color: #fff;
}
.wrapper-13 .trial-1 h4.title,
.wrapper-13 .trial-2 h4.title,
.wrapper-13 .trial-3 h4.title {
	font-size: 1.3rem!important;
	margin: 1rem 0 0;
}
.wrapper-13 img {
  height: 8rem;
}
.wrapper-13 .text {
	margin: 0.625rem 0;
}

.wrapper-14 {
	margin-block-end: 0;
	text-align: center;
}
.wrapper-14 .button a,
.wrapper-14 .button a:hover {
	display: inline-block;
	width: 100%;
	height: 100%;
	background-color: #0364c2;
	color: #fff!important;
	border-radius: 50px;
	padding: 0.625rem;
  margin: 1rem 0;
	font-size: 1.1rem;
	text-align: center;
}
.wrapper-14 .button-box .button {
	padding: 1rem;
}



/*スマホ以上*/
@media screen and (min-width: 429px) {
	div.single h2, .clear div.single h2, div.single h3, .clear div.single h3, div.single h4, .clear div.single h4, div.single h5, .clear div.single h5, div.single h6, .clear div.single h6, #trialTitle {
		clear: both;
		margin: 1.5rem 0 0.5rem;
	}
	address, p {
		font-size: 1rem;
	}
/*	h1.title {
		font-size: 2rem;
		text-align: center;
	}
	.h2-box {
		text-align: center;
		margin: 1rem 0;
	}
	h2.title {
		font-size: 2rem!important;
		text-align: center;
	}
	h2.underline-title {
		font-size: 2rem!important;
	}
	.h2-sub {
		font-size: 1.4rem;
		font-weight: bold;
		text-align: center;
	}
*/
	h3.title {
		font-size: 2rem;
		margin: 3rem 0 1.5rem
	}
	h3.left-title {
		font-size: 2rem!important;
		text-align: left;
		margin: 3rem 0 1.5rem
	}
	h3.left-title:before {
		content: "";
		background-color: #cc3232;
		display: inline-block;
		width: 0.4rem;
		height: 2rem;
		transform: translateY(20%);
		margin-right: 0.625rem;
	}
	h3.underline-center-title {
		font-size: 2rem!important;
	}
	h3.borderline-center-title {
		font-size: 2rem!important;
	}
	.h3-sub {
		font-size: 1.3rem;
		padding: 1rem;
	}
	h4.underline-center-title {
		font-size: 1.5rem!important;
	}


	.wrapper-12 div,
	.wrapper-13 > div {
		margin: 1rem 0;
	}


	/*demo*/
	.wrapper-12 .img {
		width: 11rem;
	}
	.wrapper-12 .text p {
	font-size: 1.3rem;
	}
	.wrapper-12 .button {
		width: 100%;
		height: auto;
		padding: 1rem;
	}
	.wrapper-12 .button p {
		font-size: 1.6rem!important;
	}
	.wrapper-12 {
		display: grid;
		grid-template-columns: 4fr 8fr;
		gap: 0 0.625rem;
		grid-template-areas:
		"img text"
		"img button";
		padding: 4rem;
	}

	/*trial*/
	/*.wrapper-13 {
		display: grid;
		grid-template-columns: repeat(auto-fill,minmax(300px, 1fr));
		gap: 0 4rem;
	}
	*/
	.wrapper-13 {
		display: grid;
		grid-template-columns: 4fr 4fr 4fr;
		gap: 0 2rem;
		grid-template-areas:
		"trial-1 trial-2 trial-3";
	}
	.wrapper-13 .trial-1 .red-back,
	.wrapper-13 .trial-2 .red-back,
	.wrapper-13 .trial-3 .red-back {
	padding: 1rem;
	background-color: #cc3232;
	color: #fff;
	}
	.wrapper-13 .trial-1 h4.title,
	.wrapper-13 .trial-2 h4.title,
	.wrapper-13 .trial-3 h4.title {
		font-size: 1.3rem!important;
		margin: 1rem 0 0;
	}
	.wrapper-13 img {
	  height: 8rem;
	}
	.wrapper-13 .text {
		margin: 1rem 0;
	}

	.wrapper-14 {
     margin-block-end: 1rem;
	 }
	.wrapper-14 .button a,
	.wrapper-14 .button a:hover {
		width: auto;
		height: auto;
		border-radius: 50px;
		padding: 0 6rem;
		margin: 1rem auto;
		font-size: 1.6rem;
	}

}

@media screen and (min-width: 700px) {

}
