﻿@charset "utf-8";
/* テキストボックス */
input[type="text"],
input[type="email"],
input[type="tel"]{
	width:100%;
	height:50px;
	padding:0 1em;
	font-size:16px;
	background-color:#f7f7f7;
	border:1px solid #005431;
	outline:none;
}

@media screen and (max-width:768px){
	input[type="text"],
	input[type="email"],
	input[type="tel"]{
		height:45px;
	}
}

input[type="text"].short{
	width:6.5em;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus{
	background-color:#fff;
}

/* セレクトボックス */
select{
	width:100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height:58px;
	padding:0 52px 0 1.5em;
	font-size:16px;
	background:#fff url(select_arrow.png)no-repeat right center;
	background-size:auto 100%;
	border:1px solid #F49E45;
	outline:none;
}

select::-ms-expand {
    display: none;
}
select option,
select optgroup{
	background:#fff;
}


/* ラジオボタン */
input[type="radio"] {
	opacity:0;
}
input[type="radio"]  + span{
	margin-left:-0.2em;
	padding-left:1.8em;
	display:inline-block;
	vertical-align:middle;
	position: relative;
}
input[type="radio"]  + span:before{
	content: "";
	display:inline-block;
	width:1.3em;
	height: 1.3em;
	margin-right:0px;
	background-color: #FFFFFF;
	border:1px solid #005431;
	border-radius:  50%;
	cursor: pointer;
	outline : none;
	position:absolute;
	top:50%;
	left:0;
	transform:translateY(-50%);
}
input[type="radio"]:checked + span:after {
	content: "";
	display: block;
	width: 0.7em;
	height: 0.7em;
	background: #005431;
	position: absolute;
	top: 50%;
	left: 0.3em;
	transform:translateY(-50%);
	border-radius: 50%;
}

@media screen and (max-width:768px){
	input[type="radio"]  + span{
		font-size:3.2vw;
	}
}


/* チェックボックス */
input[type="checkbox"] {
	opacity:0;
}
input[type="checkbox"] + span{
	display:inline-block;
	vertical-align:middle;
	position: relative;
	margin-left:-1em;
	padding-left:2em;
}
input[type="checkbox"] + span:before{
	content:'';
	display:inline-block;
	width: 1.5em;
	height: 1.5em;
	margin-right:0px;
	background-color: #FFFFFF;
/*	-webkit-box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);
	box-shadow: inset 3px 3px 8px rgba(0,0,0,0.1);*/
	border:1px solid #F49E45;
	vertical-align: middle;
	border-radius:2px;
	cursor: pointer;
	outline : none;
	position:absolute;
	top:50%;
	left:0;
	transform:translateY(-50%);
}
input[type="checkbox"]:checked + span:after {
	content:'';
	display: block;
	width: 0.6em;
	height: 1.2em;
	border-right:3px solid #f00;
	border-bottom:3px solid #f00;
	position: absolute;
	top: 45%;
	left: 0.5em;
	transform:translateY(-50%) rotate(45deg);
}

@media screen and (max-width:768px){
	input[type="checkbox"] + span{
		font-size:3.2vw;
	}
}


/* テキストエリア */
textarea{
	width:100%;
	min-height: 316px;
	font-size:16px;
	padding:0.5em 1em;
	background-color:#f7f7f7;
	border:1px solid #005431;
	vertical-align:bottom;
	outline:none;
}
textarea:focus{
	background-color:#fff;
}

@media screen and (max-width:768px){
	textarea{
		min-height: 180px;
	}
}


/* ボタン */
input[type="submit"],
input[type="button"],
button[type="submit"],
button[type="reset"],
button[type="button"]{
	display:inline-block;
	width:386px;
	line-height:5;
	margin:min(7%,70px) 0.2em 0;
	font-size:18px;
	font-weight:bold;
	font-family: "Noto Sans JP", sans-serif;
	letter-spacing:0.18em;
	text-indent:0.18em;
	color:#fff;
	background:#005431 url(../img/pager_right_active.png)no-repeat right center;
	background-size:4em auto;
	color:#fff;
	cursor:pointer;
	transition : opacity 0.4s;
	-webkit-transition : opacity 0.4s;
}
@media screen and (max-width:768px){
	input[type="submit"],
	input[type="button"],
	button[type="submit"],
	button[type="reset"],
	button[type="button"]{
		width:80%;
		line-height:5;
		margin-top:12%;
		font-size:3.4vw;
	}
}

input[type="submit"]:hover,
input[type="button"]:hover,
button[type="submit"]:hover,
button[type="reset"]:hover,
button[type="button"]:hover{
	opacity:0.8;
}


/* プレイスホルダー */
input::placeholder,
textarea::placeholder{
  color:#b3b3b3;
}
input:-ms-input-placeholder,
textarea::placeholder{
  color:#b3b3b3;
}
input::-ms-input-placeholder,
textarea::placeholder{
  color:#b3b3b3;
}


