@charset "UTF-8";

.modal {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000!important;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}
.modal.fade .modal-dialog {
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    background: white;
}
.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}
.modal-dialog {
    position: relative;
    margin: auto auto!important;
    width: 500px!important;
}
.fade {
    opacity: 0;
    -webkit-transition: opacity 0.15s linear;
    -o-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}
.fade.in {
    opacity: 1;
}
.modal-open {
    overflow: hidden;
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.modal-dialog {
}
.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25)!important;
	box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25)!important;
	border-radius: 0!important;
    outline: 0;
    background-clip: padding-box;
    width: 500px!important;
    height:auto;
    margin: 80px auto 0 auto;
    padding: 50px 30px 60px 30px!important;
}
.modal-content a {
	color: #337AB7!important;
	text-decoration: underline!important;
}
.modal-content button.close {
    cursor: pointer;
    -webkit-appearance: none;
    color: #337AB7;
    border-bottom: 1px solid #337AB7;
    background: #FFF;
	opacity: 1!important;
	font-weight: normal!important;
	font-size: 12px!important;
}
.modal-header button.close {
	display: none;
	opacity: 1!important;
}
.modal-footer button.close {
    padding: 20px 0 0 0;
    cursor: pointer;
    -webkit-appearance: none;
    float: right;
    color: #337AB7!important;
    border-bottom: 1px solid #337AB7;
    text-align: right;
}

.modal-body {
    position: relative;
    line-height: 180%;
    padding: 0!important;
}
.modal-body h3{
	color: #8B999F;
	font-size: 24px;
	line-height: 35px;
	letter-spacing: 0.2em;
	text-align: center;
	margin: 0 auto 40px auto;
}
.modal-body p {
	font-size: 14px;
	color: #8B999F;
	margin-bottom: 20px;
}
.modal-body p.center {
	text-align: center;
}
.modal-body p.error {
	color: #D0021B;
}
.modal-body .mainForm {
	margin-top: 20px;
}
.modal-body .mainForm input[type="text"],
.modal-body .mainForm input[type="email"] {
  border: 1px solid #D8D8D8;
  display: block;
  margin-bottom: 20px;
  padding: 0 12px;
  width: 100%;
  font-size: 14px;
  line-height: 100%;
  box-sizing:border-box;
  height: 40px;
}

.modal-body .btnset {
	text-align: center;
	margin: 60px auto 0 auto;
	position: relative;	
}
.modal-body .btnset2 {
	text-align: center;
	margin: 25px auto 0 auto;
	position: relative;	
}
.modal-body .btn {
	background: #337AB7;
	color: #FFF!important;
	font-weight: bold;
	font-size: 14px;
	line-height: 20px;
	padding: 10px 20px;
	text-decoration: none!important;
	display: inline-block;
	margin: 0 0 0 30px;
	border: 0;
	border-radius: 0!important;
}

.modal-body .btnset2 .btn {
	width: 100%;
	display: block;
	margin: 0 auto;
	font-weight: normal;
	
}

/* main.css対策 */
.modal-header {
	padding: 0!important;
	border: 0!important;
}

.modal-header:before,
.modal-header:after {
    content: " ";
    display: table;
    clear: both;
}

.modal-footer {
	padding: 0 !important;
}
.modal-footer:before,
.modal-footer:after {
    content: " ";
    display: table;
}
.modal-footer:after {
    clear: both;
}
.modal-footer .btn + .btn {
    margin-left: 5px;
    margin-bottom: 0;
}
.modal-footer > .btn.btn-primary {
    background-color: #337ab7;
}
.modal-footer > .btn {
    border-radius: 0 !important;
    width: 5em;
}
.modal-footer .btn-group .btn + .btn {
    margin-left: 0;
}
.modal-footer .btn-block + .btn-block {
    margin-left: 0;
}
.modal-title {
    margin: 0;
    line-height: 1.42857;
    text-align: left;
    font-size: 22px;
}

/*.form-control {
    display: block;
    max-width: 100%;
    min-width: 100%;
    min-height: 3em !important;
    padding: 6px 12px;
    font-size: 14px;
    background: #fff none;
    border: 1px solid #ccc;
}
.form-control:focus {
    border-color: #66afe9;
    outline: 0;
}
.form-control::-moz-placeholder {
    opacity: 1;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background-color: #eeeeee;
    opacity: 1;
}
.form-control[disabled],
fieldset[disabled] .form-control {
    cursor: not-allowed;
}
textarea.form-control {
    height: auto;
}*/

/* Mobiles (Under 767px) - Media Queries ===========================================*/
@media screen and (max-width: 767px) {
	.modal-dialog {
		background: #FFF;
		width: 100%!important;
		height: 100%;
	}
	.modal-header button.close {
		padding: 5px 10px 5px 0!important;
		margin: 4px 0 0 0!important;
		z-index: 10;
		position: absolute;
		text-decoration: none;
		border: 0;
		display: block;
		background: #FFF;
	}
	.modal-header button.close i {
		font-size: 20px!important;
		color: #8B999F!important;
	}
	.modal-header button.close span {
		display: none;
	}
	.modal-footer button.close {
		float: none;
		clear: both;
		text-align: center;
		position: absolute;
		left: 50%!important;
		transform: translate(-50%)!important;
	}
	.modal-content {
	    position: relative;
	    background-color: #fff;
	    -webkit-box-shadow: none!important;
		box-shadow: none!important;
	    width:100%!important;
	    margin: 0 auto!important;
	    padding: 50px 30px 60px 30px!important;
	}
	
	.modal-body h3{
		padding-left: 30px!important;
	}
	.modal-body .btn {
		background: #337AB7;
		color: #FFF!important;
		font-weight: bold;
		font-size: 14px;
		line-height: 20px;
		padding: 10px 20px;
		text-decoration: none!important;
		display: block;
		margin: 0 0 0 0;	
		position: relative;
	}
	.modal-body .btnset button.close {
		display: block;
		position: absolute;
		margin: 55px 0 0 0!important;
		left: 50%!important;
		transform: translate(-50%)!important;
	}
		
}