@charset 'UTF-8';
/*============================================================
* form.css | フォーム用
*============================================================*/
form {
	text-align: center;
}

form button {
	min-width: 5em;
	margin: 0.8em 0.2em;
	padding: 10px 20px;
	background: #dddddd;
	border: none;
	color: #000000;
	font-size: 1.6rem;
}

form button[type="submit"] {
	position: relative;
	padding-right: 0;
	padding-left: 55px;
	background: #00307b;
	color: #ffffff;
	letter-spacing: 20px;
}

form button[type="submit"]:before {
    content: "";
	position: absolute;
    top: 50%;
	left: 20px;
    display: inline-block;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	background-image: url('/assets/images/parts/arrow/arrow_circle_medium_white.png');
    background-repeat: no-repeat;
    background-position: 0 0;
	-webkit-background-size: 20px auto;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
	-ms-background-size: 20px auto;
}

form label {
	display: inline-block;
	margin-bottom: 0.4em;
	margin-right: 1.28em;
}

form label:only-child {
	margin-right: 0;
}

form input,
form textarea,
form select {
	max-width: 100%;
	margin: 0.2em 0;
	padding: 0.24em;
	border: 1px #bbbbbb solid;
	color: #222222;
	font-size: 1.25em;
	vertical-align: middle;
}
@media screen and (max-width: 480px){
	form input,
	form textarea,
	form select {
		font-size: 1.15em;
	}
}

form input[maxlength="2"] {
	width: 2.8em;
}

form input[maxlength="3"] {
	width: 3.6em;
}

form input[maxlength="4"] {
	width: 4.4em;
}

form input[maxlength="11"],
form input[maxlength="15"] {
	width: 12em;
}

form input[maxlength="100"] {
	display: block;
	width: 100%;
}

form input[type='radio'],
form input[type='checkbox'] {
	-webkit-transform-origin: left center;
	-moz-transform-origin:    left center;
	transform-origin:         left center;
	-webkit-transform: scale(1.68, 1.68);
	-moztransform:     scale(1.68, 1.68);
	transform:         scale(1.68, 1.68);
	margin: 0.8em 0;
	margin-right: 0.64em;
}

form textarea {
	width: 100%;
	width: calc(100% - 0.4em);
	height: 6em;
}

form ::-webkit-input-placeholder {
	color: #ccc;
}
form :-ms-input-placeholder {
	color: #ccc;
}
form ::placeholder{
	color: #ccc
}

form > p {
	text-align: left;
}

.form-body {
	margin: 0.8em auto;
	padding: 1.6em;
	background-color: #fff;
}


/* 必須項目
------------------------------------------------------------*/
form .necessary {
	margin: 0em 0.4em;
	padding: 1px;
	background: #c5273f;
	border: 1px #c5273f solid;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font-size: 72%;
	font-weight: normal;
	color: #ffffff;
	white-space: nowrap;
}

/* エラー表示
------------------------------------------------------------*/
form span.error-text {
	display: block;
	width: 100%;
	color: #c9151d !important;
	font-size: 0.8em;
}

form span.error-text:not([style="display: none;"]) ~ input,
form span.error-text:not([style="display: none;"]) ~ textarea,
form span.error-text:not([style="display: none;"]) ~ select,
form span.error-text:not([style="display: none;"]) ~ span input,
form span.error-text:not([style="display: none;"]) ~ span textarea,
form span.error-text:not([style="display: none;"]) ~ span select {
	border-color: #c9151d;
}

/* 概要部分
------------------------------------------------------------*/
.form .outline {
	margin: 0.8em auto;
}

/* 注意書き
------------------------------------------------------------*/
.form .asterisk-ja > * {
    color: #c5273f;
}

/* アテンション
------------------------------------------------------------*/
.form .attention {
	width: 100%;
	margin: 0.8em auto;
	padding: 1.2em 30px;
	border: 1px solid #d2d2d2;
	background: #f8e4e5;
	text-align: left;
}

.form .attention em {
	color: #c5273f;
	font-weight: bold;
}

/* 受付期限切れメッセージ
------------------------------------------------------------*/
.form .limitmsg{
    margin: 1.2em auto;
    padding: 0.8em;
    border: 3px dotted #c5273f;
    font-size: 20px;
	font-size: 1.44rem;
    font-weight: bold;
    text-align: center;
	overflow: auto;
}

/* ボタンエリア
------------------------------------------------------------*/
.form .button-area {
	margin-top: 2.4em;
	margin-bottom: 1.6em;
	text-align: center;
}

/* フォーム内テーブル
------------------------------------------------------------*/
.form-body table,
.form-body table caption,
.form-body table tbody,
.form-body table tbody tr,
.form-body table tbody tr th,
.form-body table tbody tr td {
	display: block;
	text-align: left;
}

.form-body table {
	padding: 0 0.64em;
}

.form-body table tbody tr th {
	padding-right: 0;
	padding-left: 0;
}

.form-body table tbody tr td {
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	flex-wrap: wrap;
}

.form-body td {
	margin-bottom: 1em;
	padding: 0.2em 0;
}

.form-body td > span {
	display: block !important;
	max-width: 100%;
}

.form-body td > span:only-child {
	flex: 1;
}

.form-body td > span:last-of-type:not(:only-child) {
	white-space: nowrap;
}

.form-body td > .error-text + span:last-child {
	flex: none;
	width: 100%;
}

.form-body td > span:first-child span[data-type="before"] {
	margin-left: 0;
}

.form-body td > span span {
	margin: 0 0.4em;
	color: #222222;
}

.confirm .form-body td {
	border-bottom: 1px dashed #cccccc;
	font-size: 1.12em;
}

.confirm .form-body td > span span {
	margin: 0;
}

.confirm .form-body td > span:first-child span[data-type="before"] {
	display: none;
}

.confirm .form-body td span[data-type="未入力"] {
	color: #ababab;
}

.form-body [class^="replica"] {
	margin: 1.28em 0%;
	padding: 1.28em 0em;
	background-color: #F2F9FF;
}

.form-body [class^="replica"] table caption {
	font-size: 1.12em;
	font-weight: bold;
}

.form-body .button-del {
	cursor: pointer;
	width: 6em;
	margin: 0 auto;
	padding: 0.8em;
	background-color: #ccc;
	-webkit-border-radius: 0.4em;
	-moz-border-radius:    0.4em;
	border-radius:         0.4em;
	text-align: center;
}

.form-body #button-add {
	cursor: pointer;
	padding: 0.8em;
	background-color: #509B34;
	color: #ffffff;
	font-weight: bold;
}

/* 連絡先
------------------------------------------------------------*/
.form-body .address {
	display: table;
	margin: 1.6em auto 0;
	padding: 0.8em;
	background: #f8f8f8;
	border: 1px solid #00307b;
}

/* ナビゲーション
   ========================================================================== */
#nav-form {
	margin: 1.6em auto;
}

#nav-form ul {
	margin: 0;
	display: -webkit-flex;
	display:    -moz-flex;
	display:         flex;
	flex-wrap: nowrap;
	justify-content: center;
}

#nav-form ul li {
	position: relative;
	display: -webkit-flex;
	display:    -moz-flex;
	display:         flex;
	flex-wrap: nowrap;
	align-items: center;
	height: 3.2em;
	margin: 0 1em;
	padding: 0.8em;
	background-color: #dddddd;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
	line-height: 1;
}

#nav-form ul li:first-of-type {
	-webkit-border-radius: 0.4em 0 0 0.4em;
	-moz-border-radius: 0.4em 0 0 0.4em;
	border-radius: 0.4em 0 0 0.4em;
	margin-left: 0.2em;
}

#nav-form ul li.on-page {
	background: #00307b;
	color: #ffffff;
}

#nav-form ul li:not(:first-of-type):before{
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 0;
	height: 0;
	margin: auto;
	border: 1.6em solid #dddddd;
	border-right: none;
	border-left: 1em solid transparent;
	left: -1em;
	left: calc( -1em + 1px );
}

#nav-form ul li.on-page:before {
	border-color: #00307b #00307b #00307b transparent;
}

#nav-form ul li:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 0;
	height: 0;
	margin: auto;
	border: 1.6em solid transparent;
	border-left: 1em solid #dddddd;
	border-right: none;
	right: -1em;
	right: calc( -1em + 0.5px );
}

#nav-form ul li.on-page:after {
	border-left-color: #00307b;
}

/* キャプチャ認証
   ========================================================================== */
#park_detail_main {
	margin: 1.2em auto 1.6em;
	background-color: #ffffff;
}

#park_detail_main td {
	padding: 0.8em;
}

#park_detail_main .error-text {
	text-align: center;
}

/*============================================================
* mobile
*============================================================*/
@media screen and (max-width: 480px){

#nav-form {
	font-size: 3vw;
}

.form-body {
	padding: 1.6em 0.4em;
}

}