.container {
	width: 98%;
	margin: 0 auto;
	text-align: center;
    max-height: 90%;
    overflow: hidden scroll;
}

/* Form height: The logic is a bit hacky, to see as a whole */
.complete-form {
	height:72%;
}

.complete-form .page-container {
	height:100%
}

.complete-form .page-container {
	height:100%
}

.complete-form .page-container .content {
	height:calc(100% - 21px);
	overflow: scroll;
}

/* /Form height */

hr {
    width: 90%;
    background-color: #A48744;
    border: none;
    margin: 20px auto;
    height: 1px;
}
.row {
	width: 98%;
	min-height: 32px;
	margin: 12px 0;
	display: inline-flex;
}
.row2 {
	width: 98%;
	height: auto;
	margin: 12px 0;
	display: inline-flex;
}
.column {
    min-width: 16%;
    min-height: 24px;
    margin: 4px 8px 4px 16px;
    font-weight: bold;
    font-size: 13px;
    display: inline-block;
    text-align: left;
    float: left;
    white-space: nowrap;
}
.information_column {
	font-size:15px;
	margin-left:8px;
}
.magazine_column {
    margin-right: 12px;
    text-align: left;
    display: inline-block;
    width: 130px;
    font-weight: bold;
}
.brand_nm {
    font-weight: unset !important;
}
/* Field and lookup errors on the public entry pages. The admin console styles .msg in admin.css, which
   these pages do not load, so the messages would otherwise render as ordinary body text. */
.msg {
	font-size: 13px;
	font-weight: bold;
	color: #EA2F2F;
}
.required {
	padding: 1px 4px;
	font-size: 11px;
	color: #F97C80;
	background: #FDDEDE;
	margin:0 0 0 4px;
}
.value {
	width: 78%;
	text-align: left;
	margin: 0 0 auto 0;
	padding-left: 4px;
}
.comments {
	display: block;
	color: #787878;
	font-size: 11px;
    font-weight: bold;
	width: 96%;
	margin: 0 auto 0 8px;
}
.txt1 {
 	border: 1px solid #A48744;
 	border-radius: 12px;
 	padding: 4px 8px;
 	height: 32px;
 	max-width: 280px;
    box-sizing: border-box;
    outline: none;
}
.txt1_rate {
	width: 80px;
}
.txt_right {
	border: 1px solid #A48744;
	border-radius: 12px;
	padding: 4px 8px;
	height: 30px;
	width: 280px;
    box-sizing: border-box;
    outline: none;
}
.txt2 {
	border: 1px solid #A48744;
	border-radius: 12px;
	padding: 4px 8px;
	height: 30px;
	width: 475px;
    box-sizing: border-box;
    outline: none;
}
.dt1 {
    border: 1px solid #A48744;
    border-radius: 12px;
    padding: 4px 8px;
    margin-right: 2px;
    min-width: 80px;
}
.dt1-right {
    border: 1px solid #A48744;
    border-radius: 12px;
    margin-left: 15px;
    margin-right: 2px;
    padding: 4px 8px;
    min-width: 80px;
}
.sl1 {
	border: 1px solid #A48744;
	border-radius: 12px;
	padding: 4px 8px;
	height: 30px;
	width: auto;
    outline: none;
}
.sl_right {
	border: 1px solid #A48744;
	border-radius: 12px;
	margin-left: 5px;
	padding: 4px 8px;
	height: 30px;
	width: auto;
    outline: none;
}
.container select:focus{
	outline: 0;
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
	border: 2px solid #A48744;
}
.container input[type="text"]:focus{
	outline: 0;
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
	border: 2px solid #A48744;
}
.container input[type="radio"]{
	cursor:pointer;
}
.cycle_name {
	font-size: 18px;
	font-weight: bold;
	margin: 8px auto;
}
.cycle_comment {
	font-size: 12px;
	font-weight: bold;
}
.brand_non {
	font-size: 11px;
	font-weight: bold;
    margin: 24px 0 -12px 0;
}
.information_title {
    margin-top: 48px;
    font-size: 24px;
    font-weight: bold;
}
.information_comment {
	font-size: 16px;
}
.container .brands-rate {
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #d9d9d9cc;
    border-radius: 5px;
    box-shadow: 0 0 8px #d9d9d9cc;
}
.container .brands-rate.validation-error {
    border-color: #ff5f5f8f;
    box-shadow: 0 0 8px #ff5f5f8f;
}
.container .brands-rate .error-message {
    display: none;
}
.container .brands-rate.validation-error .error-message {
    display: block;
    color: red;
    padding: 0 20px 6px 20px;
    text-align: left;
}
.container .brands-rate .title {
    padding: 6px 20px;
    text-align: left;
    background-color: #f8f8f8;
    margin: 0;
    border-bottom: 1px solid #d9d9d9cc;
}
.container .brands-rate ul {
    margin: 0;
    padding: 0;
}
.container .brands-rate li {
    display: flex;
    min-height: 45px;
}
.container .brands-rate li:not(:first-child) {
    border-top: 1px solid #d9d9d9cc;
}
.container .brands-rate li div {
    width: 25%;
    margin: auto;
}
.container .brands-rate li div.brand-name {
    text-align: left;
    margin: auto 20px auto 20px;
}
.container .brands-rate .rate {
    font-size: 17px;
    font-weight: bold;
}
.container ul li > div > img {
  height: auto;
  max-height: 40px;
  margin: auto;
  display: block;
  max-width: 90px;
  width: auto;
}
.container .brands-rate .note {
    border-top: 1px solid #d9d9d9cc;
    text-align: left;
    padding: 6px 20px;
}
/* Credit card (TOP) block: same panel as .brands-rate, but logo tiles (5 per row) instead of a list.
   Kept apart from .brands-rate on purpose — its validation outline and checkbox sync are QR-only. */
.container .credit-card-rate {
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #d9d9d9cc;
    border-radius: 5px;
    box-shadow: 0 0 8px #d9d9d9cc;
}
.container .credit-card-rate .title {
    padding: 6px 20px;
    text-align: left;
    background-color: #f8f8f8;
    margin: 0;
    border-bottom: 1px solid #d9d9d9cc;
}
.container .credit-card-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
}
.container .credit-card-brand {
    box-sizing: border-box;
    width: 20%;
    padding: 8px 6px;
    text-align: center;
}
.container .credit-card-brand img {
    display: block;
    width: 100%;
    max-width: 80px;
    height: auto;
    margin: 0 auto 6px auto;
}
.container .credit-card-brand .rate {
    font-size: 17px;
    font-weight: bold;
}
.container .credit-card-fee {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
}
.container .credit-card-fee + .credit-card-fee {
    border-top: 1px solid #d9d9d9cc;
}
.container .credit-card-notice {
    color: #c63547;
    font-weight: bold;
    text-align: center;
    margin: 12px auto;
}
.container .credit-card-remarks {
    white-space: pre-wrap;
}
/* Add-brand (銘柄追加) application info: the form's section heading (― 申請情報 ―) with its lead line, then the store name shown locked */
.container .application-info-intro {
    margin: 24px 0 8px 0;
}
.container .application-info-lead {
    margin: 4px 8px 12px 8px;
    text-align: left;
}
.container .locked-value,
.container .locked-value:disabled {
    background-color: #e9ecef;
    border-color: #ced4da;
    color: #495057;
    cursor: not-allowed;
}
.container ul li div p {
    font-size: 20px;
    margin: 8px auto 4px auto;
    font-weight: bold;
}
.container ul li div p i {
	margin: 0 8px 0 0;
}
/*
.container ul li div p span.percent {
	font-size: 14px;
	margin: 0 0 0 3px;
}
*/
.percent {
	font-size: 14px;
	margin: 0;
}
.pg_bar {
	width: 47%;
	margin: 0 auto 8px 50%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
}
/*ページ番号のスタイル*/
.page {
	border: 1px solid;
	border-radius: 50%;
	min-width: 26px;
	height: 26px;
	font-size: 12px;
	display: inline-block;
	text-align: center;
	line-height: 18px;
}
.page.active-page {
	padding: 0 12px;
    border-radius: 50px;
}
.active-page-text {
	display: none;
}
.active-page .active-page-text {
	display: inline-block;
}
.on {
	border-color: #A48744;
	background-color: #A48744;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
}
.on:hover {
	opacity: 0.8;
}
.off {
	border-color: #D9D9D9;
	background-color: #D9D9D9;
	color: #7F7F7F;
	cursor: auto;
}
.active_div {
	display:inline-block;
	position:relative;
	height:17px;
	width: auto;	/*動的に変える必要あり*/
}
.active {
	display: inline-block;
	height: 18px;
	line-height: 18px;
	padding: 4px;
	background: #A48744;
	text-align: center;
	font-size: 12px;
	position: absolute;
	cursor: auto;
}
.active_c1 {
	width: 9px;
	border-radius: 18px 0 0 18px;
	color: #A48744;
	top: 0px;
	left: 0px;
}
.active_main {
	width: max-content;
	color: #fff;
	font-weight: bold;
	left: 17px;
}
.active_c2 {
	width: 9px;
	border-radius: 0 18px 18px 0;
	color: #A48744;
	left: auto;	/*動的に変える必要あり*/
}
.active_main:hover {
	opacity: 1.0;
}
.active_c1:hover {
	opacity: 1.0;
}
.active_c2:hover {
	opacity: 1.0;
}
.border_on {
	color: #A48744;
}
.border_off {
	color: #D9D9D9;
}
::placeholder {
	color: #BFBFBF;
	font-size: 12px;
}
/* ラジオボタン */
.radio-input {
	display: none;
}
.radio-input + label {
	padding-left: 20px;
	position:relative;
	margin-right: 10px;
}
.radio-input + label::before {
	content: "";
	display: block;
	position: absolute;
	top: 0px;
	left: 0;
	width: 15px;
	height: 15px;
	border: 1px solid #696969;
	border-radius: 50%;
}
.radio-input:checked + label::after {
	content: "";
	display: block;
	position: absolute;
	top: 3px;
	left: 3px;
	width: 11px;
	height: 11px;
	background: #A48744;
	border-radius: 50%;
}
/* input file */
.file-label {
    min-width: 20%;
    font-size: 13px;
    display: inline-block;
    background-color: #3F486E;
    padding: 8px 16px;
    color: #fff;
    margin-right: 8px;
	margin-top: 8px;
    border-radius: 4px;
    white-space: nowrap;
}
.confirm_line {
    border:1px solid #A48744;
    min-height:0px;
    margin:20px auto 16px auto;
    box-shadow:2px 2px 2px rgba(164, 135, 68, 0.4);
    border-radius:50px;
}
.btn_bar {
    width: 96%;
	text-align: center;
	margin: 14px auto 0 auto;
}
.btn_bar_left {
    float: left;
}
.btn_bar_right {
    float: right;
}
.btn {
	height: 30px;
	width: 130px;
	border-radius: 3px;
	margin: 0 5px;
	font-size: 12px;
	cursor: pointer;
}
.btn_bar .btn {
	line-height: 30px;
}
.btn:focus{
	outline: 0;
}
.btn:hover{
	opacity: 0.8;
}
.btn_back {
	background-color: #fff;
	border: 1px solid #A6A6A6;
	color:#A6A6A6;
}
.btn_back:hover {
    background-color: #A6A6A6;
	color:#fff;
}
.btn_back:focus {
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
	border: 2px solid #A6A6A6;
}
.btn_save {
	background-color: #fff;
	color:#7F7F7F;
    border: none;
    font-weight: bold;
}
.btn_save:focus {
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
}
.btn.btn_next {
	background-color: #A48744;
	border: 1px solid #A48744;
	color:#fff;
	line-height: initial;
}
.btn.btn_next:focus {
	box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
	border: 2px solid #A48744;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fff;
  border: none;
  border-radius: 10px;
  /*box-shadow: inset 0 0 1px #777;*/
}
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
  box-shadow: none;
}

.required-confirm-box {
    color: red;
    text-align: left;
    padding: 10px 4px 26px 4px;
}

.required-confirm-box .validate-error {
    background: #FDDEDE;
}

@media screen and (max-width:780px){
	/*画面幅が780px以下の時*/
	#form_name {
		width: 98%;
		margin: 15px 0 0 auto;
	}
	.pg_bar {
		width: 100%;
		margin: 10px auto 15px auto;
	}
}

@media screen and (max-width:780px){
	/*画面幅が780px以下の時*/
	.row {
		width: 100%;
		height: auto;
		display: block;
	}
	.row2 {
		width: 100%;
		height: auto;
		display: block;
	}
	.column {
		width: 96%;
		text-align: left;
		float: none;
	}
	.value {
		width: 96%;
	}
	.container .txt1 {
		width: 100%;
	}
	.container .txt_right {
		width: 100%;
		margin-top: 4px;
		margin-left: 0px;
	}
	.active_main{
		left: 16px;
	}
}
