
/* リセット */

input[type="text"],
input[type="email"],
textarea {
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
}

input[type="checkbox"],
input[type="radio"] {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}


/* 問い合わせフォームパーツ */

input[type="text"],
input[type="email"],
textarea {
	vertical-align: middle;
	outline: none;
	background-color: #ffffff;
	width: 100% !important;
	padding:10px;
}

/* 自動入力時にフォームカラーが勝手に変わらないように色を上書き　※不具合を起こす場合は消す */
input:-webkit-autofill {
  box-shadow: 0 0 0px 100px #ffffff inset;
}

textarea {
	height: 250px !important;
	padding:10px;
}

.btms {
padding: 15px 40px;
font-size: 16px;
}

input#submit_button {
	display: inline-block;
	text-decoration: none;
	color: #007391;
	border: solid 2px #007391;
	border-radius: 3px;
    transition: .4s;
	padding-top: 20px;
	padding-right: 50px;
	padding-bottom: 20px;
	padding-left: 50px;
	font-size: 20px;
	background-color: #FFFFFF;
}

input#submit_button:hover {
    background: #007391;
    color: white;
}

button {
	color: #333333;
	}

button:hover {
	color: #676767;
	}

/* オリジナルボタン */
.original_btn {
    font-size: 16px;
	border: 1px solid #000;
	padding: 10px;
	cursor: pointer;
	color: #000;
	background: #fff;
	display: inline-block;
	width: 30% !important;
	margin-top: 10px;
}
/* 未選択時のアイコン */
.icon {
    font-size: 16px;
    padding: 10px;
	background-color: #F7F9F4;
    color: #000;
    display: inline-block;
	width: 65% !important;
	margin-top: 10px;
	border-width: 1px;
	border-style: solid;
	border-color: #D6D6D6;
}
/* 選択時のアイコン */
.icon.select {
    background: #ff5050;
    color: #fff;
	display: none;
}
/* ファイル名 */
.filename {
    display: inline-block;
    font-size: 16px;
    padding: 10px;
	width: 65% !important;
	background-color: #F7F9F4;
	border-width: 1px;
	border-style: solid;
	border-color: #D6D6D6;
}

.original_btn2 {
	font-family: 'Noto Sans JP', sans-serif;
	display: inline-block;
	color: #ffffff;
	text-decoration: none;
	font-size: 2rem;
	position: relative;
	width: auto;
	line-height: 1;
	padding: 10px 30px;
	text-align: center;
	background: #EEAC26;
	border-radius: 5px;
	border: 0 none #000;
	cursor: pointer;
	margin-right: auto;
	margin-left: auto;
}

.original_btn2:hover {
    opacity:0.7;
}

.original_btn3 {
	width: 300px;
    font-size: 16px;
	border: 1px solid #000;
	padding-top: 15px;
	padding-bottom: 15px;
	cursor: pointer;
	color: #000;
	background: #fff;
	display: inline-block;
	margin-top: 10px;
	margin-right: auto;
	margin-left: auto;
}

input.short1 {
	width: 100px !important;
	padding:10px;
	font-size:14px;
	margin-right: 5px;
	margin-left: 5px;
}


/* タブレットサイズから下 */
@media screen and (max-width:992px) {
	
input[type="text"],
input[type="email"] {
	max-width: 800px !important;
	width: 100% !important;
	padding:10px;
	font-size:14px;
}
	
input.short1 {
	width: 100px !important;
	padding:10px;
	font-size:14px;
}
	
textarea {
	max-width: 800px !important;
	width: 100% !important;
	height: 250px !important;
	padding:10px;
	font-size:14px;
	height: 250px;
}
	
.original_btn2 {
	width: 50%;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 14px;
}
	
.original_btn3 {
	width: 49%;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 14px;
}
	
}

@media screen and (max-width:768px) {
	
input[type="text"],
input[type="email"],
textarea {
	padding:10px;
	font-size:1.4rem;
}
	
}

/* スマホサイズから下 */
@media screen and (max-width:480px) {

input[type="text"],
input[type="email"] {
	max-width: 800px !important;
	width: 100% !important;
	padding:5px;
}
	
input.short1 {
	width: 80px !important;
	padding:5px;
	font-size:14px;
}
	
textarea {
	width: 100% !important;
	padding:5px;
	font-size:14px;
	height: 250px;
}
	
.original_btn2 {
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 14px;
	margin-top: 30px;
}
	
.original_btn3 {
	width: 49%;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 14px;
	margin-top: 30px;
}
	
/* 未選択時のアイコン */
.icon {
    font-size: 16px;
    padding: 10px;
	background-color: #F7F9F4;
    color: #000;
    display: inline-block;
	width: 100% !important;
	margin-top: 10px;
}
/* 選択時のアイコン */
.icon.select {
    background: #ff5050;
    color: #fff;
}
/* ファイル名 */
.filename {
    display: inline-block;
    font-size: 16px;
	width: 65% !important;
}

}





/* ラジオボタン1、ボタンタイプ */

.radio01 {
  text-align: left;
}
.radio01 input[type="radio"] {
  display: none;
}
.radio01 input[type="radio"] + span {
    display: inline-block;
	cursor: pointer;
	width: 250px;
	height: 50px;
	line-height: 50px;
	background: #bdc3c7;
	color: #555e64;
	font-size: 16px;
	text-align: center;
	margin-top: 5px;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 0;
	padding: 0;
	transition: .2s;
	border-radius: 5px;
}

.radio01 input[type="radio"]:checked + span {
	color: #fff;
	background: #57d5df;
	font-weight: bold;
}

.radio01-yes {
	margin-top: 10px;
	width: 100%;
	display: block;
}

/* タブレットサイズから下 */
@media screen and (max-width:992px) {
	
.radio01 input[type="radio"] + span {
	display: block;
	width: 250px;
	height: 30px;
	line-height: 30px;
	font-size: 14px;
}
	
}

/* ラジオボタン2、通常タイプ */

.label_list {
  margin: auto;
  line-height: 1.3;
}
.label_list::after {
  display: block;
  content: '';
  clear: both;
}
.label_list_item {
	float: left;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	width: 100%;
}
.label_list_item label {
  position: relative;
  display: block;
  word-break: break-all;
	line-height: 170%;
}
.label_list_item label input[type="checkbox"] + span,
.label_list_item label input[type="radio"] + span {
  position: relative;
  padding: 0 30px 0 35px;
}

.demo2 .label_list:nth-of-type(1) label input[type="radio"] + span::before {
  border-color: #005bac;
}
.demo2 .label_list:nth-of-type(2) label input[type="radio"] + span::before {
  border-color: #ff5722;
}

.demo2 label span {
  display: inline-block;
}
.demo2 label input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.demo2 label input[type="radio"] + span::before {
  position: absolute;
  display: inline-block;
  content: '';
  box-sizing: border-box;
  border-radius: 22px;
}
.demo2 label input[type="radio"] + span::before {
  z-index: 0;
  top: 0;
  left: 0;
  background-color: transparent;
  width: 22px;
  height: 22px;
  border: 2px #78909c solid;
}
.demo2 label input[type="radio"]:checked + span::before {
  border-width: 6px;
}


/* ラジオボタン 231110追加 */

label.radio_text {
	position      : relative;
	cursor        : pointer;
	display       : inline-block;
	overflow      : hidden;
	box-sizing    : border-box;
	min-height   : calc(26px + 5px);
	margin-right : calc(26px + 5px);
	padding-left : calc(26px + 5px);
	line-height  : calc(26px + 5px);
	padding-top: 5px;
}


/** before after **/
label.radio:before,
label.radio_text:before,
label.radio_text:after{
	content  : '';
	position : absolute;
	box-sizing : border-box;
}
label.radio:before,
label.radio_text:before{
	border-radius    : 100%;
}
label.radio:before{
	top              : 5px;
	bottom           : 0px;
	left             : 0px;
	right            : 0px;
	margin           : auto;
}

label.radio_text:before,
label.radio_text:after{
	top              : 5px;
	bottom           : 0px;
	margin-top       : auto;
	margin-bottom    : auto;
}
label.radio:before {
	display          : block;
	width            : 18px;
	height           : 18px;
	z-index          : 1;
	background-color : #e50038;
}
label.radio_text:before {
	width         : 26px;
	height        : 26px;
	border        : 2px solid #bfbfbf;
	left          : 0px;
	z-index       : 3;

}

label.radio_text:after {
	width            : 16px;
	height           : 16px;
	border-radius    : 100%;
	left             : calc(((26px/2) - (16px) / 2));
	background-color : #e50038;
	z-index          : 1;
	
}

/** input **/
label.radio input[type="radio"],
label.radio_text input[type="radio"]{
	-moz-appearance: none;
	-webkit-appearance: none;
	position   : absolute;
	z-index    : 2;
	margin     : 0px;
	width      : 26px;
	height     : 26px;
	box-sizing    : border-box;
	outline       : none;
 
}
label.radio input[type="radio"],
label.radio_text input[type="radio"]{
	left       : calc(24px * -1);
	width      : 24px;
	height     : 24px;
	top           : 0px;
	bottom        : 0px;
	margin-top    : auto;
	margin-bottom : auto;
	border-radius : 100%;
	
}

label.radio input[type="radio"] {
	display    : block;
	box-shadow : 25px 0px #FFF;
}
label.radio_text input[type="radio"] {
	box-shadow : 25px 0px #FFF;
	
}

label.radio_text input[type="radio"]:checked,
label.radio input[type="radio"]:checked{
	box-shadow : none;
}
label.radio_text input[type="radio"]:focus,
label.radio input[type="radio"]:focus{
	opacity: 0.2;
}



/* 基礎のデザイン */

.red {
	color: #FFAAFB;
}

/* フォーム用のテーブル */

.form_table01 table {
	border-collapse: collapse; 
	border-spacing: 0;
	width: 100%; 
	margin-top: 50px;
}

.form_table01 table th {
	border-bottom-color: #ffffff;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-right-width: 2px;
	border-right-style: solid;
	border-right-color: #ffffff;
	text-align: left;
}
.form_table01 table td {
	border-bottom-color: #ffffff;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	text-align: left;
}


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

.form_table01 table {
	width: 100%;
	border-collapse: collapse; 
	border-spacing: 0;
	margin-top: 30px;
}

.form_table01 table th {
	padding: 10px;
	width: 100%;
	display: block;
	border-bottom-width: 0; 
	border-bottom-style: none;
	border-right-width: 0; 
	border-right-style: none;
}
.form_table01 table td {
	padding: 10px;
	width: 100%;
	display: block;
	font-size: 14px; 
	border-bottom-width: 0; 
	border-bottom-style: none;
}
.form_table01 table td .list2 dt {
	float: none;
	width: 100%;
	display: block;
}
.form_table01 table td .list2 dd {
	padding-left: 0em;
	width: 100%;
	display: block;
}


}

.contact03{
	width: 100%;
	margin-top: 30px;
	text-align: center;
}


/*チェックボックス装飾 */
label.checkbox_text {
	cursor       : pointer;
	position     : relative;
	padding-left : 30px;
	margin-right : 25px;

	position     : relative;
	padding-left : 30px;
	display      : block;
	box-sizing   : border-box;
	display: inline-block;
	margin-bottom: 10px;
}

label.checkbox_text:before {
	content  : '';
	position : absolute;
	width    : 25px;
	height   : 25px;
	left     : 0px;
	top      : 0;
	border   : 1px solid #B3B3B3;
	z-index  : 3;
}
label.checkbox_text:after {
	content           : '';
	position          : absolute;
	top               : 40%;
	left              : 6px;
	display           : block;
	margin-top        : -8px;
	width             : 12px;
	height            : 16px;
	border-right      : 3px solid #e50038;
	border-bottom     : 3px solid #e50038;
	transform         : rotate(45deg);
	-webkit-transform : rotate(45deg);
	-moz-transform    : rotate(45deg);
	z-index           : 1;
}
label.checkbox_text input[type="checkbox"] {
	-moz-appearance: none;
	-webkit-appearance: none;
	position   : absolute;
	left       : -40px;
	width      : 25px;
	height     : 25px;
	display    : block;
	box-shadow : 41px 0px #FFF;
	z-index    : 2;
	margin     : 0px;
	padding    : 0px;
}
label.checkbox_text input[type="checkbox"]:checked {
	box-shadow : none;
}
label.checkbox_text input[type="checkbox"]:checked:focus {
	box-shadow : 40px 0px #666;
	opacity    : 0.1;
}
label.checkbox_text input[type="checkbox"]:focus {
	box-shadow : 41px 0px #fff;
}

@media screen and (max-width:768px) {
	
label.checkbox_text:before {
	width    : 20px;
	height   : 20px;
}
	
label.checkbox_text:after {
	width             : 8px;
	height            : 16px;
}
	
label.checkbox_text input[type="checkbox"] {
	width      : 20px;
	height     : 20px;
	display    : block;
	box-shadow : 41px 0px #FFF;
}
	
}



