#shadowing
{
	display: none;
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: #000;
	z-index:10;
	opacity:0.5;
	filter: alpha(opacity=50);
}


#box
{
	display: none;
	position: fixed;
	top: 14%;
	left: 0%;
	right: 0%;
	width: auto;
	max-width: 640px;
	height: auto;
	padding: 48px;
	margin:auto;
	border: 1px solid black;
	background-color: white;
	z-index:101;
	overflow: auto;
}

#boxtitle
{
	position: absolute;
	float:center;
	top:0;
	left:0;
	width:100%;
	height:48px;
	padding:0;
	padding-top:4px;
	left-padding:8px;
	margin:auto;
	background-color: #C3E3D4;
	color:#000;
	text-align:center;
}

#box label {
	width: 100%;
	display: block;
	text-align: left;
	font-size: 14px;
}

#box table {
	vertical-align: top;
}

#box table tr {

}

#box table th {
	width: 100%;
	padding: 0;
	border: none;
	vertical-align: top;
	padding-top: 2rem;
}

#box table td {
	width: 100%;
	padding: 0;
	border: none;
	vertical-align: top;
	padding-top: 2rem;
}

#box .ac0 {
	text-decoration: underline;
}

#box input {
	width: 100%;
	height: 40px;
	margin-bottom: 1em;
	padding-left: 1em;
}

#box textarea {
	width: 100%;
	display: none;
	padding-left: 1em;
}

#box button[type="submit"] {
  float: left;
  display: block;
  background-color: transparent;
  color: #333;
  font-size: 18px;
  border-radius: 40px;
  text-align: left;
  padding: 15px 0;
  padding-left: 40px;
  width: 100%;
  max-width: 280px;
  border: solid 1px #333;
  font-weight: bold;
  margin-top: 30px;
  -webkit-transition: all ease-out 0.1s;
  -moz-transition: all ease-out 0.1s;
  -ms-transition: all ease-out 0.1s;
  transition: all ease-out 0.1s;
}

#box button[type="submit"]::after {
  font-family: "Font Awesome 5 Free";
  content: "\f0a9";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-weight: bold;
  padding-right: 20px;
  float: right;
  font-size: 26px;
  line-height: 1.15;
  -webkit-transition: all ease-out 0.1s;
  -moz-transition: all ease-out 0.1s;
  -ms-transition: all ease-out 0.1s;
  transition: all ease-out 0.1s;
}

#box button[type="submit"]:hover {
  background-color: #333;
  color: #fff;
}

#box button[type="submit"]:hover::after {
  padding-right: 16px;
  color: #fff;
}

#box button[type="button"] {
	float: left;
	display: block;
	background-color: transparent;
	color: #333;
	font-size: 18px;
	border-radius: 40px;
	text-align: left;
	padding: 15px 0;
	padding-left: 40px;
	width: 100%;
	max-width: 280px;
	border: solid 1px #333;
	font-weight: bold;
	margin-top: 30px;
	-webkit-transition: all ease-out 0.1s;
	-moz-transition: all ease-out 0.1s;
	-ms-transition: all ease-out 0.1s;
	transition: all ease-out 0.1s;
}

#box button[type="button"]::after {
	font-family: "Font Awesome 5 Free";
	content: "\f0a9";
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-weight: bold;
	padding-right: 20px;
	float: right;
	font-size: 26px;
	line-height: 1.15;
	-webkit-transition: all ease-out 0.1s;
	-moz-transition: all ease-out 0.1s;
	-ms-transition: all ease-out 0.1s;
	transition: all ease-out 0.1s;
}

#box button[type="button"]:hover {
	background-color: #333 !important;
	color: #fff;
}

#box button[type="button"]:hover::after {
	padding-right: 16px;
	color: #fff;
}
#box .cancel {
border: none;
width: 48px;
height: 48px;
position: absolute;
top: 0;
right: 0;
font-size: 32px;
padding: 0 6px;
}

#box .cancel::after {
    font-family: "Font Awesome 5 Free";
    content: "\f0a9";
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    width: 48px;
    height: 48px;
    font-weight: bold;
    padding-right: 20px;
    font-size: 26px;
    line-height: 1.15;
}

/*##################################################################/*
/* --------------------------------
* SP
* -------------------------------- */
@media screen and (max-width: 768px) {
	#box {
		margin: auto;
		top: 80px;
		padding: 10% 5%;
	}


	#box button[type="submit"] {
		float: inherit;
		margin: auto;
		margin-top: 60px;
	}

	#box input,
	#box select,
	#box textarea {
		width: 100%;
	}
}
