﻿table.form-table {
  border-collapse: collapse;
}

p {
  font-size: 16px;
  margin: 60px auto 40px;
}
input[type=submit]{
	display: block;
	width: 30%;
	height: 40px;
	border-radius: 50px;
	margin: 0 auto;
	font-weight: bold;
	font-size: 20px;
	background-color: #da7e90;
	border: 2px #da7e90 solid; 
	color: #FFF;

}
input[type=submit]:hover{
	background-color: #FFF;
	border: 2px #da7e90 solid; 
	color: #da7e90;
}
input[type=text], textarea, button {
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  border: none;
}
select{
	width: 40%;
	height: 40px;
}

input[type=text], textarea {
  background: #f8f8f8;
  display: inline-block;
  font-size: 16px;
  padding: 12px 15px;
  width: 40%;
  transition: 0.8s;
  border-radius: 0;
}
.w_20{
	width: 20%!important;
}
.w_90{
	width: 90%!important;
}
input[type=text]:focus, textarea:focus {
  background: #e9f5fb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

textarea[name=content] {
  display: inline-block;
  width: 100%;
  height: 200px;
}

input::placeholder,
textarea::placeholder {
  color: #ccc;
}

::-webkit-input-placeholder {
  color: #ccc;
  opacity: 1;
}

::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #ccc;
  opacity: 1;
}

.form-table {
  width: 90%;
  display: block;
  margin: 30px auto 0 auto;
}

.form-table th,
.form-table td {
  border-top: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
  padding: 10px 10px 10px 50px;
	max-width: 600px;
	width: 67%;
}

.form-table th {
  background: #ffecea;
  padding-left: 20px;
  position: relative;
  text-align: left;
  width: 300px;
}
.gender-btn {
    width: 30%;
    line-height: 2.5em;
    text-align: center;
    background-color: #f2f0f0;
    position: relative;
    z-index: 1;
    margin-right: 10px;
    display: inline-block;
}
.gender-btn .value {
    color: #a0a0a0;
    transition: color .3s;
}
.gender-btn input:checked+.value {
    color: #000;
}
.gender-btn input:checked+.value:after {
    height: 100%;
}
.gender-btn .value:after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    transition: height .3s;
}
.gender-btn.-man .value:after {
    background-color: #cdd7ec;
	color: #333;
}
.gender-btn.-woman .value:after {
    background-color: #fde7f1;
	color: #333;
}
.privacy{
	border: 1.1px solid #858585;
	padding: 10px;
	border-radius: 2px;
	height: 300px;
	overflow-y: scroll;
	font-size: 12px;
}
.check-box {
    position: relative;
    z-index: 1;
}
.gender-btn input {
    position: absolute;
    border: none;
	display: none;
}

.radio2{
	margin-left: 40px;
}
.p_l_20{
	padding-left: 50px;
}
.red{
	background:#ed745b;
	color: #FFF;
	float: right;
	font-size: small;
	padding: 5px;
}
.blue{
	background:#6192cc;
	color: #FFF;
	float: right;
	font-size: small;
	padding: 5px;
}
.m_1{
	margin-top: -1em;
}
.btn.-detail.-gray {
    background-color: #ebebeb;
    color: #ea6aa3;
    border: none;
}
.btn-wrap .btn.-detail.-return {
    position: relative;
    top: 20px;
    left: 0;
    width: 150px;
    height: 40px;
	border-radius: 50px;
}
#ochanomizu select, #yoyogi select{
	width: 80%;
}
@media screen and (max-width: 767px){
	.form-table{
width: 100%;
table-layout: fixed;
word-break: break-all;
word-wrap: break-all;
		margin: 0;
		}
	.red,.blue {
		margin-right: 13px;
	}

	    .form-table th, .form-table td {
        display: block;
        border: none;
        width: 98%;
        padding: 10px 0 10px 10px;
    }
	input[type=text], textarea{
		width: 38%;
	}
	.w_20{
		    width: 19% !important;
	}
	input[type=submit] {
		width: 100%;
	}
	.btn-wrap .btn.-detail.-return{
		position: static;
		margin-bottom: 10px;
	}
}
