@charset "utf-8";

/* CSS Document */
#formarea select,
#formarea input,
#formarea textarea{
	-webkit-border-radius : 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#mfbox dd.mb50{
	margin-bottom: 50px;
}

@media all{
	
#firstview{
	padding: 80px 0;
	background: url("../../images/about_topbg.png") no-repeat;
	background-size: contain;
	background-position: top;
}
	#firstview h1{
		font-size: 2.5rem;
		text-align: center;
		position: relative;
		margin-bottom: 200px;
	}
	#firstview h1 span{
		position: absolute;
		font-size: 1.66rem;
		bottom: -40px;
		left: calc(50% - 2.5em);
	}

	#inquiry h2{
		font-size: 1.16rem;
		text-align: center;
		margin-bottom: 40px;
	}
	#inquiry .telfax{
		font-family: A1 Gothic M, sans-serif;
		text-align: center;
		margin-bottom: 80px;
	}
	#inquiry .telfax .name{
		font-size: 1.66rem;
	}
	#inquiry .telfax .tel{
		font-size: 1.8rem;
	}
	#inquiry .telfax .fax{
		font-size: 1rem;
	}
	#inquiry .telfax .tel span{
		font-size: 4.23rem;
		margin-left: 1rem;
	}
	#inquiry .telfax .fax span{
		font-size: 2.36rem;
		margin-left: 1rem;
	}
.attention{
	width: calc(100% - 40px);
	max-width: 37em;
	font-size: 1.16rem;
	line-height: 2em;
	text-align: left;
	margin: 0 auto 60px;
}
.inlinepng{
	width: 3rem;
	height: 3rem;
	margin-right: 0.5em;
	vertical-align: middle;
}
#formarea{
	width: calc(100% - 40px);
	max-width: 720px;
	padding: 40px 0;
	margin: 0 auto;
	color: #000;
	box-sizing: border-box;
}
#mfbox dl{
	display: flex;
	flex-wrap: wrap;
	font-size: 1.16rem;
}
#mfbox dt{
	width: 12em;
	text-align: right;
	padding: 1em;
	box-sizing: border-box;
	margin-bottom: 1em;
	color: #000;
}
#mfbox dt.mojiage{
	margin-top: -1.1em;
	padding: 1em 1em 0 1em;
	margin-bottom: 0.5em;
}
#mfbox dt.mojiage2 span{
	display: block;
	margin-top: -0.3em;
}
#mfbox dd{
	width: calc(100% - 12em);
	text-align: left;
	margin-bottom: 1em;
}
#mfbox dd select{
	height: 4em;
	width: 100%;
	padding: 1em;
	border: solid 1px #000;
	border-radius: 10px;
	box-sizing: border-box;
}
#mfbox dd textarea{
	width: 100%;
	padding: 1em;
	border: solid 1px #000;
	border-radius: 10px;
	box-sizing: border-box;
}
#mfbox dd textarea::placeholder{
	line-height: 1.5em;
	color: #000;
	opacity: .7;
}
#mfbox dd.ppbox{
	border: solid 1px #000;
	border-radius: 10px;
	padding-right: 3px;
	box-sizing: border-box;
		overflow: hidden;
		margin-bottom: 30px;
	position: relative;
	}
#mfbox dd.ppbox::after{
		content: "";
		position: absolute;
		top: 0;
		right: 17px;
		width: 1px;
		height: 100%;
		background: #000;
	}
.prvcyplcy{
	padding: 1.5em;
	box-sizing: border-box;
	width: 100%;
	height: 300px;
	overflow-y: scroll;
}
.prvcyplcy::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
.prvcyplcy::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 6px;
}
#mfbox dd input[type=text],
#mfbox dd input[type=number],
#mfbox dd input[type=tel],
#mfbox dd input[type=email]{
	height: 4em;
	width: 100%;
	padding: 0 1em;
	border: solid 1px #000;
	border-radius: 10px;
	box-sizing: border-box;
}
#mfbox dd.name input{
	width: calc(50% - 5px);
}
#mfbox dd.name input:first-child{
	margin-right: 5px;
}
#mfbox dd input::placeholder{
	color: #000;
	opacity: .7;
}
form input[type=checkbox]{
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    height: 24px;
    width: 24px;
    vertical-align: -0.8rem;
    transition:all .15s ease-out 0s;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin: 10px 0;
    outline: none;
    border-radius: 10%;
}
/* Checkbox */
input[type=checkbox]:after {
    position: absolute;
    content: "";
	width: 30px;
	height: 30px;
	left: 2px;
	bottom: 4px;
    background: url("../images/check.png") no-repeat;
	background-size: cover;
	opacity: 0;
    transition: all .2s ease-in-out;
}
input[type=checkbox]:checked:after {
	opacity: 1;
}
input[type=checkbox].blk{
    border: 1px solid #000;
	border-radius: 6px !important;
}
input[type=checkbox].blk:checked,input[type=checkbox].blk:indeterminate{
    background: #fff;
}
.formcomment{
	color: #000;
	padding: 0.5em 0;
}
.mfp_buttons{
	width: 100%;
	font-size: 1.16rem;
	padding-left: 12em;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.mfp_buttons button{
	cursor: pointer;
}
.mfp_buttons button.smt,
.mfp_buttons button#mfp_button_send{
	width: 100%;
	height: 4em;
	color: #fff;
	border-radius: 2em;
	box-sizing: border-box;
	border: none;
	transition: .3s;
	background: #000;
}
.mfp_buttons button.smt:hover,
.mfp_buttons button#mfp_button_send:hover{
	opacity: .7;
}
.mfp_buttons button#mfp_button_cancel{
	width: 160px;
	height: 4em;
	background: #fff;
	border-radius: 2em;
	box-sizing: border-box;
	transition: .3s;
	border: solid 1px #000;
	color: #000;
}
.mfp_buttons button#mfp_button_cancel:hover{
	background: #f0f0f0;
}
.menubox{
	margin-bottom: 10px;
}
.menubox input{
	text-align: right;
}
	
/*thanksページ*/
#thanksbox{
	width: calc(100% - 40px);
	max-width: 600px;
	margin: 0 auto 0;
	font-size: 1rem;
	padding: 2em;
	box-sizing: border-box;
	text-align: center;
	border: solid 1px #000;
}
#thanks{
	font-size: 1rem;
	margin-bottom: 30px;
}
#thanks span{
	font-size: 1.66rem;
	margin-bottom: 0.5em;
}
.gochui{
	font-size: 1.16rem;
	letter-spacing: 0.1em;
	text-align: left;
	margin-bottom: 20px;
}
#ggl{
	font-size: 1.33rem;
}
	
	
}


@media screen and (max-width: 567px){

#firstview{
	padding: 40px 0 1px;
	background: url("../../images/about_topbg.png") no-repeat;
	background-size: 220%;
	background-position: top;
}
	#firstview h1{
		font-size: 1.33rem;
		line-height: 1.3em;
		margin-bottom: 160px;
	}
	#firstview h1 span{
		font-size: 1rem;
		bottom: -25px;
	}
	
	#inquiry h2{
		font-size: 1rem;
	}
	#inquiry .telfax .name{
		font-size: 1rem;
	}
	#inquiry .telfax .tel{
		font-size: 1rem;
	}
	#inquiry .telfax .fax{
		font-size: 0.9rem;
	}
	#inquiry .telfax .tel span{
		font-size: 2.16rem;
	}
	#inquiry .telfax .fax span{
		font-size: 1.65rem;
	}
.attention{
	font-size: 1rem;
	line-height: 2em;
	text-align: center;
	color: #000;
	margin-bottom: 30px;
}
#formarea{
	padding: 20px 0;
}
#mfbox dl{
	font-size: 1rem;
}
#mfbox dt{
	width: 100%;
	text-align: left;
	padding: 1em;
	box-sizing: border-box;
	margin-bottom: 1em;
	line-height: 1em;
}
	#mfbox dt.kana{
		display: none;
	}
#mfbox dt.mojiage{
	margin-top: 0;
	padding: 1em;
	margin-bottom: 1em;
}
#mfbox dt.mojiage2 span{
	display: unset;
	margin-top: 0;
}
#mfbox dd{
	width: 100%;
	text-align: left;
	margin-bottom: 2em;
}
#mfbox dd select{
	width: 100%;
}
	#mfbox dd p{
		text-align: center;
		font-size: 0.8rem;
	}
	.formcomment{
		font-size: 0.9rem;
		text-align: center;
	}
	.hissu{
		padding-left: 3.5rem !important;
	}
.hissu span{
	position: relative;
}
.hissu span::before{
	content: "";
	position: absolute;
	display: block;
	top: -0.8rem;
	left: -3.5rem;
	width: 3rem;
	height: 3rem;
	background: url("../images/hissu.png") no-repeat;
	background-size: contain;
}
.mfp_buttons{
	width: 100%;
	padding-left: 0;
}
.mfp_buttons button.smt{
	width: 100%;
	margin-bottom: 14px;
}
.mfp_buttons button#mfp_button_cancel{
	width: 100%;
}
#mfbox dt.kara,
#mfbox dd.kara{
	display: none;
}
	#mfbox dt.doi{
		width: 62%;
		display: inline-block;
		text-align: right;
	}
	#mfbox dd.doi{
		width: 38%;
		display: inline-block;
		text-align: left;
	}
	
/*thanksページ*/
#thanks span{
	font-size: 1.33rem;
}
.gochui{
	font-size: 1rem;
}
#ggl{
	font-size: 1.16rem;
}

	
}

@media screen and (min-width: 568px) and (max-width: 1024px){

#firstview{
	padding: 40px 0 80px;
	background: url("../../images/about_topbg.png") no-repeat;
	background-size: 120%;
	background-position: top;
}
	
.hissu{
	position: relative;
}
.hissu::before{
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 3rem;
	height: 3rem;
	background: url("../images/hissu.png") no-repeat;
	background-size: contain;
}

}

@media screen and (min-width: 1025px), print{

.hissu{
	position: relative;
}
.hissu::before{
	content: "";
	position: absolute;
	display: block;
	top: 0.2em;
	left: 0;
	width: 3rem;
	height: 3rem;
	background: url("../images/hissu.png") no-repeat;
	background-size: contain;
}
	.mojiage.hissu::before{
		top: 1em;
	}
	.mojiage2.hissu::before{
		top: 0;
	}
	
}
