@charset "UTF-8";

/*#contents::before {
	content: "";
	position: absolute;
	z-index: -10;
	top: 380px;
	left: -10%;
	width: 50vw;
	height: 70vh;
	background: hsl(0,0%,90%);
	transform: rotate(45deg);
}*/

/*＝＝メイン*/
/*H１アアニメーション　画像ソース・色など以外は commonCSSに*/
#secTop {
	background: url(../img/main/mitamaire.jpg) no-repeat;
	background-size: cover;
	background-position: center;
}

#secTop > .topTitle h1{
	color: #fff;
	font-size: 4vw;
	font-weight: 100;
}

.container {
	padding-top: 6vw;
}

h2 {
	text-align: center;
	margin-bottom: 2vw;
	font-feature-settings: 'palt';
 }

/* 22px @ 390px increasing to 40px @ 1080px */
h2 {
  font-size: min(max(22px, calc(1.375rem + ((1vw - 3.9px) * 2.6087))), 40px);
  /* Note: The calc base value (1.375rem) MUST be stated in REM to maintain accessibility */
  /* Where: 2.6087 = 100 * font-size_difference / viewport_width_difference */

  /* Safari resize fix */
  min-height: 0vw;
}

h2 .subTitle{
	font-size: 22px;
}


h3 {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 1em;
}

/* 18px @ 390px increasing to 20px @ 1080px */
h3 {
  font-size: min(max(18px, calc(1.125rem + ((1vw - 3.9px) * 0.2899))), 20px);
  min-height: 0vw;
}


/*＝＝＝＝＝＝＝＝＝＝＝＝ここからスタート*/

.inner {
	padding: 0 2.5vw 6vw;
}

#contents .textSection .title{
	display: none;
}

.redTitle {
	text-align: center;
	font-weight: normal;
	color: #e60012;
	font-size: 1.2em;
	line-height: 2.25;
	padding-bottom: 1.5em;
	border-bottom: 1px solid black;
	margin: 0px auto 1.5em;
}

.ec_h3Desc {
	width: 100%;
	margin: 0px auto 60px;	
}

h3 {
	font-weight: normal;
	font-size: 28px;
	text-align: center;
	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

h3:before {
	content: '';
	display: inline-block;
	width: 1.2em;
	height: 1.2em;
	margin-right: 0.2em;
	background-image: url(../img/common/tomoe.png);
	background-size: cover;
	transform: translateY(18%);
}

.img_box {
	width: 80%;
	margin: 6vw auto 0;
}

.img_box img {
	display: block;
}

.img_box figcaption {
	font-size: .85em;
	margin-top: .5em;
}

.img_box figure > img {
	width: 100%;
}

.flex {
	display: flex;
	justify-content: space-between;
}

.flex ~ .flex {
	margin-top: 3vw;
}

.flex-1 .flex_item:first-of-type {
	width: 42.5%;
}

.flex-1 .flex_item:last-of-type {
	width: 55%;
}

.flex-2 .flex_item {
	width: 100% !important;
}

.flex-3 .flex_item:first-of-type {
	width: 60%;
}

.flex-3 .flex_item:last-of-type {
	width: 37.5%;
}

.flex .flex_item img {
		width: 100%;
	}

/*.flex .flex_item:first-of-type {
	aspect-ratio: 3 / 2;
	transform: translateY(45%);
}*/

.back_schedule {
	margin-top: 12vw;
}



/*
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
　　　スマホ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
*/


@media handheld, only screen and (max-width: 767px) {

	/*#secTop {
		background: url(../img/main/mitamaire.jpg_sp.jpg) no-repeat;
		background-size: cover;
		background-position: center;
	}*/

	.img_box {
		width: 70%;
		margin-top: 12vw;
	}

	.flex {
		flex-direction: column;
	}

	.flex .flex_item {
		width: 100% !important;
	}

	/*.flex .flex_item:first-of-type {
		transform: translateY(0);
	}*/

	.flex ~ .flex,
	.flex figure ~ figure {
		margin-top: 10%;
	}

}

@media handheld, only screen and (max-width: 480px) {

	.ec_h3Desc {
		margin-bottom: 0;
	}

	h3 {
		font-size: 24px;
	}

}