#main {
	position: relative;
	overflow: hidden;
}

#registmain {
	display: block;
	position: relative;
	overflow: hidden;
	background-color: #4887c7;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
	z-index: 1;
}

#registmain .bgdot01 {
	background-image: url(../images/common/bg_dot_db2.png);
}

#regist .bgdot01 {
	z-index: 0;
}

#registmain h1 {
	color: #fff;
	line-height: 100%;
	text-align: center;
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

#registmain .f_area {
	display: block;
	position: relative;
	overflow: hidden;
	background-color: rgba(194, 212, 238, .9);
	padding: 3em;
	color: #333;
}

#registmain .f_area p {
	text-align: center;
	color: #35669e;
}

#registmain .f_area dl {
	display: block;
	overflow: hidden;
	margin: .5em auto 0 auto;
}

#registmain .f_area dt {
	font-weight: bold;
}

#registmain .f_area dt span {
	color: #35669e;
	font-weight: normal;
}

#registmain .f_area dd input,
#registmain .f_area dd .checkarea {
	color: #555;
	background-color: #fff;
	padding: .5em 1em;
	border-radius: .3em;
	text-shadow: none;
	border: 1px solid #ccc;
	width: auto;
}

#registmain .f_area dd textarea {
	color: #555;
	background-color: #fff;
	padding: .5em;
	border-radius: .3em;
	font-size: 100%;
	border: 1px solid #ccc;
}

#registmain .error {
	color: #c33;
	margin-bottom: .2em;
}

.modal-dialog {
	max-width: 700px !important;
}

.modal-dialog-centered {
	align-items: start !important;
	margin-top: 70px !important;
	min-height: auto !important;
}

.error_message {
	color: #d65;
	font-weight: bold;
	margin-bottom: 20px;
	font-size: 120%;
}

.error_message a {
	color: #d65;
	text-decoration: underline;
}

.category-list {
	margin: 10px;
}

.category-list label {
	display: inline-block;
	margin: 5px;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}

.category-list label {
	width: 300px;
}

@media print, screen and (min-width: 960px) {
	.modal-dialog {
		max-width: 1000px !important;
	}

	.modal-dialog-centered {
		margin-top: 130px !important;
	}

	#registmain {
		background-attachment: fixed;
		background-image: url(../images/affiliater/media_mv_pc.jpg);
	}

	#registmain h1 {
		font-size: 36px;
	}

	#registmain .f_area {
		text-align: center;
		margin: 3em auto;
	}

	#registmain .f_area dl {
		font-size: 18px;
		text-align: left;
	}

	#registmain .f_area input, #registmain .f_area dd .checkarea {
		font-size: 18px;
	}

	#registmain .f_area dd input, #registmain .f_area dd .checkarea {
		width: 100%;
	}

	#registmain .f_area dt, #registmain .f_area dd {
		position: relative;
		float: left;
	}

	#registmain .f_area dt {
		position: relative;
		padding: 1em;
		width: 25%;
		clear: both;
		margin-top: .2em;
	}

	#registmain .f_area dt span {
		position: absolute;
		left: 11em;
	}

	#registmain .f_area dd {
		padding: 1em;
		width: 75%;
	}

	#registmain .error {
		font-size: 15px;
	}

	#registmain a.btn {
		margin: 2em auto 0;
	}

	#registmain .f_area a.btn {
		display: inline-block;
		margin: 2em 1em 0;
	}
}

@media print, screen and (max-width: 959px) {
	#registmain::before {
		background-image: url(../images/affiliater/media_mv_sp2.jpg);
		background-position: left top;
		background-size: 100% auto;
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 120%;
		content: "";
		z-index: -1;
	}

	#registmain h1 {
		font-size: 6.2vw;
	}

	#registmain .f_area {
		background-color: rgba(194, 212, 238, .9);
		padding: 1.5em;
		margin: 2em auto;
	}

	#registmain .f_area dl {
		font-size: 4vw;
	}

	#registmain .f_area input, #registmain .f_area dd .checkarea {
		font-size: 4vw;
		width: 100%;
	}

	#registmain .f_area input[type="checkbox"] {
		width: auto;
		vertical-align: -3px;
	}

	#registmain .f_area dt {
		padding: .2em 0;
	}

	#registmain .f_area dt span {
		margin-left: 1em;
	}

	#registmain .f_area dd {
		padding-bottom: .8em;
	}

	#registmain .f_area dd input, #registmain .f_area dd .checkarea {
		width: 100%;
	}

	#registmain .error {
		font-size: 3.17vw;
		margin-bottom: 0;
	}

	#registmain .f_area dd:last-of-type {
		padding-bottom: 0;
	}

	#registmain a.btn {
		margin: 2em auto 1em auto;
	}

	.media-section {
		text-align: center;
	}
}

.media-section {
	margin-top: 20px;
}

.media-description {
	width: 100%;
	height: 100px;
}

dd input[type="checkbox"] {
	width: auto !important;
}

dd label {
	margin-right: 15px;
}

.agree {
	font-size: 150%;
}

@supports (zoom:2) {
	.agree input[type="checkbox"] {
		zoom: 2;
	}
}

@supports not (zoom:2) {
	.agree input[type="checkbox"] {
		transform: scale(2);
		vertical-align: 5px;
		margin-right: 5px;
	}
}
