
/***********************************************************************************************************************

form.css

***********************************************************************************************************************/
#powered_by_me{
	display: none;
}
.w100{
	width: 100%;
}
.w95{
	width: 95%; 
}
.w90{
	width: 90%;
}

.form-check{
	margin-bottom: 10px;
}
.form_radio{
	margin-bottom: 10px;
}


@media screen and (max-width: 767px) {

}



/***************************************************************
input[type=text]
input[type=email]
****************************************************************/
.contents input[type=text],
.contents input[type=email]{
   border-radius: 5px;
   border:#a9a9a9 1px solid;
   /*box-shadow: 0 0 2px rgba(0,0,0,0.3);*/
   height:25px;
   padding:5px;
   font-size:16px;
}

.contents input[type=text]:focus,
.contents input[type=email]:focus{
   border:solid 1px #00c8ef;
   box-shadow:0 0 5px rgba(0,200,239,0.7);
   }

.contents input[type=text], 
.contents input[type=email]{ 
   outline: none;
}


@media screen and (max-width: 767px) {
.contents input[type=text],
.contents input[type=email]{
   font-size:14px;
}
}




/***************************************************************
textarea
****************************************************************/
textarea{
   border-radius: 5px;
   border:#a9a9a9 1px solid;
   /*box-shadow: 0 0 2px rgba(0,0,0,0.3);*/
   padding:7px;
   font-size:16px;
   width:400px;
}

textarea:focus {
   border:solid 1px #00c8ef;
   box-shadow:0 0 5px rgba(0,200,239,0.7);
   }

textarea{ 
   outline: none;
}

@media screen and (max-width: 767px) {
textarea{
   font-size:14px;

}
}


/***************************************************************
input[type="submit"] 
input[type="file"] 
****************************************************************/
.contents input[type="submit"],
.contents input[type="file"]{
-webkit-appearance: none; /**iphone対策*/
border-radius: 0;
}



/*** form関係 **********************************/
#error_message{
	font-size: 1.4rem;
	font-size: 14px;
	letter-spacing: 0.1em;
	color: #fff;
	background-color: #c7000b;
	text-align: center;
	padding: 10px 0;
	border-radius: 4px;
	margin-bottom: 20px;
}
.alert{
	padding: 0;
	margin-bottom: 0;
}
.alert-warning{
	border: none;
}
.alert-danger{
	margin-top: 10px;
	color: #c7000b;
}
.btn_wrap{
	text-align: center;
}
.btn-primary,
.btn-secondary,
.btn_close{
	text-align: center;
	border: #fff solid 2px;
	margin: 30px auto 0;
	padding: 14px 0;
	width: 200px;
	font-size: 1.8rem;
	font-size: 18px;
	letter-spacing: 0.1em;
	color: #fff;
	box-shadow: 0 5px 5px rgba(0,0,0,0.2);
}

.btn-primary{
	background-color: #1a274d;
}
.btn-primary:hover{
	background-color: #00c8ef;
}
.btn-secondary{
	background-color: #666;
	margin-right: 20px;
}
.btn-secondary:hover{
	background-color: #333;
}

.agree_wrap{
	margin: 30px 0 0;
	text-align: center;
}
.agree_wrap a{
	text-decoration: underline;
}
.agree_wrap a:hover{
	text-decoration: none;
}


.btn-primary[disabled] ,
.btn-primary:hover[disabled] {
	color: #999;
	background-color: #555;
	border-color: #555;
	cursor: default;
	box-shadow: none;
}



@media screen and (max-width: 767px) {
.btn-primary,
.btn-secondary{
	width: 130px;
	font-size: 1.6rem;
	font-size: 16px;
}
}





/***************************************************************
radio, checkbox
****************************************************************/

.contents input[type=radio],
.contents input[type=checkbox] {
    display: inline-block;
    margin-right: 6px;
}
.contents input[type=radio] + label,
.contents input[type=checkbox] + label {
    position: relative;
    display: inline-block;
    margin-right: 12px;
   /* font-size: 14px;
    line-height: 30px;*/
    cursor: pointer;
}


@media screen and (max-width: 767px) {
.contents input[type=radio] + label,
.contents input[type=checkbox] + label {
    /*font-size: 12px;*/
}
}


@media (min-width: 1px) {
.contents input[type=radio],
.contents input[type=checkbox] {
        display: none;
        margin: 0;
    }
.contents input[type=radio] + label,
.contents input[type=checkbox] + label {
        padding: 0 0 0 24px;
    }
.contents input[type=radio] + label::before,
.contents input[type=checkbox] + label::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
         
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: block;
        width: 18px;
        height: 18px;
        margin-top: -9px;
         
        background: #FFF;
    }
.contents input[type=radio] + label::before {
        border: 2px solid #aaa;
        border-radius: 30px;
    }
.contents input[type=checkbox] + label::before {
        border: 2px solid #aaa;
    }
.contents input[type=radio]:checked + label::after,
.contents input[type=checkbox]:checked + label::after {
        content: "";
        position: absolute;
        top: 50%;
         
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: block;
    }
.contents input[type=radio]:checked + label::after {
        left: 5px;
         
        width: 8px;
        height: 8px;
        margin-top: -4px;
         
        background: #ff0000;
        border-radius: 8px;
    }
.contents input[type=checkbox]:checked + label::after {
        left: 3px;
         
        width: 16px;
        height: 8px;
        margin-top: -8px;
         
        border-left: 3px solid #ff0000;
        border-bottom: 3px solid #ff0000;
         
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
}




/***************************************************************
プルダウン
****************************************************************/
.cp_ipselect {
	display: inline-block;
	overflow: hidden;
	width: 300px; /*90%*/
	margin: 0; /*2em auto*/
	text-align: center;
	vertical-align: middle;
}
.cp_ipselect select {
	width: 100%;
	padding-right: 1em;
	cursor: pointer;
	font-size: 14px;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	border: none;
	outline: none;
	background: transparent;
	background-image: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.cp_ipselect select::-ms-expand {
    display: none;
}
.cp_ipselect.cp_sl04 {
	position: relative;
	border: 1px solid #a9a9a9;
 	border-radius: 50px;
	background: #ffffff;
}
.cp_ipselect.cp_sl04::before {
	position: absolute;
	top: 1em;
	right: 0.8em;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #232583;
	pointer-events: none;
}
.cp_ipselect.cp_sl04 select {
	padding: 8px 38px 8px 12px; /*8px 38px 8px 8px;*/
	color: #000;
	background-color: #fff;
}


@media screen and (max-width: 767px) {
.cp_ipselect {
	width: 280px;
}
}


@media screen and (max-width: 360px) {
.cp_ipselect {
	margin-top: 10px; 
}
}





