@charset "UTF-8";
/*まず、フォーム全体の囲み罫や角丸を指定*/
#form input[type='text'],#form input[type='email'],#form textarea,#form select {
	font-family: 'Kosugi Maru', sans-serif;
	}

#form fieldset {
	max-width:800px;
	color: #666;
	background:#FFF;
	padding: 20px 30px;
	margin:30px auto 15px;
	border: 3px solid #360;
	border-radius: 15px;
	}

#form legend {
	color:#486A00;
	font-size:140%;
	font-weight:bold;
	text-align:center;
	padding:0 10px;
	}

#form .term {
	background:#FFF;
    margin:10px auto;
	padding:20px 0 15px 20px;
	border-radius:6px;
	box-shadow: 0 0 4px #486A00;
	}

.term_flex {
	display:flex;
	}

#form .term .midashi {
	width: 150px;
	color:#486A00;
	font-size:120%;
	font-weight:bold;
	}

#form label {
	display:inline-block;
	font-size:110%;
	padding:2px 20px 2px 2px;
	}
#form label:hover {
	color:#FFF;
	background:#336600;
	border-radius:4px;
	}
#form label.selected {
	color:#FFF;
	font-weight:bold;
	background:#007FAB;
	border-radius:4px;
	}

#form input[type='text'],#form input[type='tel'],#form input[type='email'] {
	font-size:120%;
	padding: 6px;
	margin:3px 0;
	letter-spacing: 1px;
	border:none;
	border-bottom: 1px solid #aaa;
	}

#form textarea {
	width:96%;
	font-size:120%;
	padding: 10px;
	margin:3px 0;
	letter-spacing: 1px;
	line-height:120%;
	border: 1px solid #aaa;
	}

#form input[type='text']:focus,#form input[type='email']:focus,#form textarea:focus{
	border: 1px solid #aaa;
	border-radius:6px;
	outline: none;
	}

#form select {
	background:#FFF;
	font-size:120%;
	padding: 6px;
	margin:3px 0;
	transition: 0.3s;
	letter-spacing: 1px;
	border:none;
	border-bottom: 1px solid #aaa;
	}
#form select:focus {
	outline: none;
	}

/* 入力候補補完時の背景色が水色になるのを防ぐ */
input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #FFF inset;
	}

/* 送信ボタン */
.soushin_btn {
	text-align:center;
	margin:50px 0 20px;
	}
.soushin_btn input,
.soushin_btn a {
	font-family: 'Kosugi Maru', sans-serif;
	font-size:120%;
	font-weight:bold;
	text-decoration:none;
	padding:15px 40px;
	border:1px solid #AAA;
	border-radius:6px;
	outline-style:none;
	box-shadow: rgba(10, 30, 60, 0.35) 0px -2px 4px 0px inset;
	cursor: pointer;
	}
.soushin_btn input:hover,
.soushin_btn a:hover {
	color:#FFF;
	background:#006601;
	}
.soushin_btn input:active,
.soushin_btn a:active {
	background:#669844;
	box-shadow:none;
	}

/* フォーム必須項目 */
.hissu {
	display:inline-block;
	color:#FFF;
	background:#F00;
	font-size:70%;
	padding:0 6px;
	margin-left:3px;
	border-radius:4px;
	line-height:120%;
	}

/*スマホ用 -----------------------------------------------------------------------------------------------------------------------------*/

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

.body {
	width:100%;
	margin:5px;
	}

#form fieldset {
	width:100%;
	padding: 10px;
	}

#form .term {
	width:100%;
	background:#FFF;
    margin:10px auto;
	padding:5px;
	border-radius:6px;
	box-shadow: 0 0 4px #486A00;
	}

#form .width100 {
	width:100%;
	}

.term_flex {
	display:block;
	width:98%;
	}

.term_flex div input[name="address"] {
	width:50px;
	}
}
