@charset "utf-8";

html{
}
body{
	margin: 0 0;
	width: 100%;
	color:#535264;
	position: relative;
	background: #fff;
	-webkit-text-size-adjust: none;
	font-family: 'Noto Sans JP', sans-serif;
	font-feature-settings: "palt" 1;
	font-weight:400;
	line-height: 1.875;
	text-align: left;
	font-size: 100%;
	overflow-x: hidden;
}

.wrapper{
	width: 100%;
	max-width: 980px;
	padding: 0 50px;
	margin: 0 auto;
	position:relative;
}

@media screen and ( max-width: 980px) {

	.wrapper{
		width:100%;
		padding: 0px 8px 0;
	}
}

header{
	padding: 20px;
}
#header-logo{
	text-align: center;
}
#header-logo a{
	display: inline-block;
}

#main_visual{
	padding: 30px 0 50px;
}

#main_visual img{
	width: 100%;
	height: auto;
}

#main_text{
	margin: 100px auto 50px;
	width: 80%;
}

@media screen and ( max-width: 640px) {
	#main_text{
		margin: 12vw auto 8vw;
		width: 90%;
	}
}

#main_text img{
	width: 100%;
	height: auto;
}
#form{
	border-top: 1px dotted #cccccc;
	border-bottom: 1px dotted #cccccc;
	padding: 20px 0 20px 0;
	margin: 0 20px;
}
#form input[type="text"]{
	width: 8em;
	text-align :center;
}
#form input[type="submit"]{
	margin: 0 20px;
	text-align :center;
}
#form form{
	display: flex;
	justify-content:space-between;
	gap: 20px;
}
#form-input{
	display: flex;
	gap: 5px;
}

@media screen and ( max-width: 640px) {
	#form form{
		flex-direction: column;
	}
	#form-input{
		justify-content:center;
	}
}
@media screen and ( max-width: 640px) {

	#form input[type="text"]{
		width: 4em;
	}
}
@media screen and ( max-width: 420px) {

	#form-input{
		flex-wrap: wrap;
	}
	#form input[type="submit"]{
		margin: 10px 20px;
		width: 100%;
	}
}
@media screen and ( max-width: 380px) {

	#form-input{
		justify-content:start;
	}
	#form input[type="text"]{
		width: calc(49% - 1em);
	}
}

#links h3{
	font-size: 5vw;
	text-align:center;
}
#links a{
	display: block;
	width: 100%;
	text-align: center;
	color: #fff;
	background: #F29439;
	text-decoration: none;
	font-size: 4vw;
	margin-bottom: 4vw;
}

@media screen and ( min-width: 961px) {
	#links h3{
		font-size: 3em;
	}
	#links a{
		font-size: 2.4em;
		margin-bottom: 40px;
	}

}