@charset "utf-8";
/*
* CSS form elemenrs
*
* @version			0.0.0
* @lastmodified 2022-02-22
* @link					https://www.landcomp.co.jp/
* @copyright		Copyright 2005, LAND COMPUTER Co.,Ltd.All rights reserved.
*------------------------------------------------------------------------- */

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

form input[type=text] ,
form textarea {
	padding: 0.25rem 0.5rem;
	width: 100%;
}
form input[type=text]:focus ,
form textarea:focus {
 	border-color: #000;
  background-color: #fffff1;
  outline: none;
}
form input[type=text]:required ,
form textarea:required {
	background-color: #fff0f5;
}
form textarea {
	height: 4.5rem;
}

/* radio */
form input[type="radio"] {
  display: none;
}
form input[type="radio"] + label{
  padding-left: 20px;
  position:relative;
  margin-right: 20px;
}
form input[type="radio"] + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid #999;
  border-radius: 50%;
}
form input[type="radio"]:checked + label {
  color: #a60e2c;
}
form input[type="radio"]:checked + label::after {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 2px;
  width: 10px;
  height: 10px;
  background: #a60e2c;
  border-radius: 50%;
}

/* checkbox */
form input[type="checkbox"] {
  display: none;
}
form input[type="checkbox"] + label {
  padding-left: 24px;
  position:relative;
  margin-right: 24px;
}
form input[type="checkbox"] + label::before {
  content: "";
  display: block;
  position: absolute;
  top: 1px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 4px;
}
form input[type="checkbox"]:checked + label {
	color: #a60e2c;
}
form input[type="checkbox"]:checked + label::after {
	content: "";
	display: block;
	position: absolute;
	top: -2px;
	left: 4px;
	width: 7px;
	height: 14px;
	transform: rotate(40deg);
	border-bottom: 3px solid #a60e2c;
	border-right: 3px solid #a60e2c;
}

/* file upload */
form input[id$=upfile] {
	display: none;
}
form input[type=file] + label {
	color: white;
	cursor: pointer;
	display: inline-block;
	padding: 0.25rem 0.75rem;
	position: relative;
	pointer-events: none;
	margin-right: 0.5rem;
	border-radius: 0.25rem;
	background-color: #ccc;
}
form input[type=file] + label.enable {
	cursor: pointer;
	pointer-events: auto;
	background-color: #39f;
}
form input[type=file] + label.enable:hover {
	opacity: 0.7;
	transition: 0.3s ease-out;
}
form input[type=file] + label.changed:after {
	content: '';
}
