@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	width: 100%;
	height: 100%;
	font-family: 'Noto Sans JP',
		sans-serif;
}

#wrap {
	width: 100%;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
	border: none;
}

a {
	text-decoration: none;
	color: #333333;
}

ul {
	list-style-type: none;
}

ul li {
	list-style-type: none;
}

/****************************
					見出し
****************************/
h1.next_title {
	display: block;
	margin-bottom: 40px;
	font-size: 40px;
	font-weight: 500;
	text-align: center;
	color: #333333;
}

h1.next_title span {
	position: relative;
	padding: 0;
}

h1.next_title span:before {
	content: url("/images/common/h1_left.svg");
	display: inline-block;
	vertical-align: middle;
	padding-right: 15px;
	line-height: 1;
}

h1 span:after {
	content: url("/images/common/h1_right.svg");
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
	padding-left: 15px;
}


h2 {
	display: block;
	width: 100%;
	margin-bottom: 80px;
	font-size: 24px;
	font-weight: normal;
	text-align: center;
}

h2 span {
	display: inline-block;
	width: auto;
	padding: 0 20px;
	position: relative;
}

h2 span:after {
	content: url("../images/common/h2_border.svg");
	position: absolute;
	left: 50%;
	bottom: -40px;
	-webkit-transform: translateX(-50%);
	/* Safari用 */
	transform: translateX(-50%);
}

h3 {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 0 auto;
	font-size: 30px;
	color: #6c2c2f;
	font-family: 'Zen Maru Gothic',
		sans-serif;
	font-weight: 500;
}


@media screen and (max-width: 640px) {
	h1.next_title {
		font-size: 21px;
	}

	h3 {
		font-size: 18px;
	}
}