
/*-----------------------------------------------------------------------------------
  フォーム
-----------------------------------------------------------------------------------*/

.entry-mail_form {
    margin-top:0px;
}

.entry-mail_form table {
    width:100%;
    box-sizing:border-box;
    background:#ffffff;
    border-collapse:collapse;
    border:solid 3px #cccccc;
    margin:30px 0 0 0;
}

.entry-mail_form table th,
.entry-mail_form table td {
    text-align:left;
    vertical-align:top;
    box-sizing:border-box;
    background:#ffffff;
    border-collapse:collapse;
    border:solid 3px #efefef;
    padding:1.25em;
}
.entry-mail_form table th {
    width: 25%;
    background:#f4f4f4;
}
@media screen and (max-width:700px) {
    .entry-mail_form table th,    
    .entry-mail_form table td {    
        display: block;
        width: 100%;
        font-size: 112.5%;
    }
}

.entry-mail_form .yno {
  margin-bottom: 0.25em;
}

.entry-mail_form .error {
    color: #E70B0F;
    margin-bottom: 0.25em;
}

#consensus {
  text-align: center;
  margin: 30px auto;
}


/*-----------------------------------------------------------------------------------
  確認画面・送信完了
-----------------------------------------------------------------------------------*/

.caution {
	color:#ef233c;
	font-size:150%;
  font-weight: bold;
  margin-bottom: 1em;
  text-align: center;
}

.caution02 {
  background-color: #eee;
  font-size: 112.5%;
  padding: 2em;
  text-align: center;
}

.sendok {
  font-size:150%;
  color:#ef233c;
  text-align:center;
  margin-bottom: 1em;
  display:block;
  font-weight:bold;
  line-height: 1.4;
}

.mailform-alart {
  padding: 16px;
  margin-bottom: 24px;
  background-color: #e8f7fc;
  border: 1px solid #006285;
  border-radius: 6px;
  box-sizing: border-box;
  text-align: center;

  &.error {
    background-color: #fff;
    border: 2px solid #f97068;
    color: #f97068;
    font-weight: bold;
  }
}

.mailform-setup-alart {
  padding: 16px;
  margin-bottom: 24px;
  background-color: #fff;
  border: 1px solid #f97068;
  border-radius: 6px;
  box-sizing: border-box;
  text-align: center;
  color: #f97068;
}


/*----------------------------------------------------------------------------------------------------

  フォーム部品
  
----------------------------------------------------------------------------------------------------*/

textarea    { resize:vertical; }
textarea,
.ip_l       { width:100%; }
.ip_ss      { width:10%; }
.ip_s       { width:25%; }
.ip_m       { width:60%; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    padding:0.5em;
    border:1px solid #e0e0e0;
    background-color:#fff;
    box-sizing:border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
	border-color:#b9b9b9;
}

@media screen and (max-width:700px) {    
    .ip_ss      { width:30%; }
    .ip_s       { width:38%; }
    .ip_m       { width:100%; }
}

option {
	padding-right:0.5em;
}

.error input[type=text], 
.error input[type=email], 
.error input[type=tel], 
.error textarea,
.error select {
	border-color:#f8bbbd;
	background-color:#ffeeee;
}

.error .m-ckbox+label:before,
.error .m-radio+label:before {
	border-color:#f8bbbd;
	background-color:#ffeeee;
}

.error p {
	padding-bottom:0.5em;
}

.txt-red {
	color:#ff0000;
}

.notes {
    display: inline-block;
    color: #999999;
    margin-left: 1em;
}

.ic-required {
    float:right;
    color:#ffffff;
    font-weight:normal;
    line-height:1;
    background:#ef233c;
    border-radius:5px;
    margin:3px 0 0 7px;
    padding:5px;
}
@media screen and (max-width:1040px) {
    .ic-required {
        display: inline-block;
        float:none;
    }
}


/*-----------------------------------------------------------------------------------
  ボタン
-----------------------------------------------------------------------------------*/

.post-btn {
	width:100%;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	margin-top:30px;
}

.form-btn,
.link-btn a {
	width:290px;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	border:none;
	margin-left:auto;
	margin-right:auto;
	outline:none;
	text-decoration:none;
    border-radius: .25em;
	background-color:#36b37d;
	color:#fff;
	padding:1em;
	display:inline-block;
	transition:background-color ease-in-out 0.2s;
    box-sizing: border-box;
}
.link-btn a {
    display: block;
    text-align:center;
    margin: 40px auto 0;
}

.form-btn:hover,
.link-btn a:hover {
	background-color:#52C593;
    text-decoration:none;
}

.form-btn:disabled,
.form-btn:disabled:hover {
	background-color:#52C593;
    text-decoration:none;
}
.form-btn i,
.link-btn a i {
  display: inline-block;
  margin-right: 0.75em;
}

.form-btn-back,
.form-btn-clear {
	width:290px;
	-webkit-appearance:none;
	-moz-appearance:none;
	appearance:none;
	border:none;
	margin:0;
	outline:none;
	text-decoration:none;
    border-radius: .25em;
	background-color:rgba(160,160,160,1);
	color:#fff !important;
	padding:1em;
    text-align: center;
	transition:background-color ease-in-out 0.2s;
	display:inline-block;
    box-sizing: border-box;
}
.form-btn-back i,
.form-btn-clear i {
    display: inline-block;
    margin-right: 0.75em;
}

.form-btn-back:hover,
.form-btn-clear:hover {
	background-color:rgba(160,160,160,0.8);
}

.form-btn-back:disabled,
.form-btn-back:disabled:hover,
.form-btn-clear:disabled,
.form-btn-clear:disabled:hover {
    background-color:rgba(160,160,160,0.8);
}

/*-----------------------------------------------------------------------------------
  チェックボックス
-----------------------------------------------------------------------------------*/

.m-ckbox {
	margin-top:-0.25em;
	display:none;
}

.m-ckbox+label {
	display:inline-block;
	cursor:pointer;
	margin-top:0.25em;
	margin-bottom:0.25em;
	font-family:inherit;
}

.m-ckbox+label:before {
	content:"";
	width:1.5em;
	height:1.5em;
	line-height:1.2em;
	font-size:1em;
	display:inline-block;
	vertical-align:middle;
	text-align:center;
	color:transparent;
	padding:0;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border:2px solid #c8c8c8;
	background-color:#fff;
	margin:-2px 0.5em 0 0;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-transition:border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s, background-color ease-in-out .15s;
	-o-transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s, background-color ease-in-out .15s;
	transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s, background-color ease-in-out .15s;
}

.m-ckbox:hover+label:before {
	background-color:#c8c8c8;
	color:#fff;
}

.m-ckbox:checked+label:before {
	border-color:#4593ea;
	background-color:#4593ea;
	color:#fff;
	content:"✔";
}

/* chkbox group */

.m-ckbox-group label {
	margin-right:1.5em;
}

/* label size */

.m-ckbox+label.label--s  { min-width:6em; }
.m-ckbox+label.label--m  { min-width:10em; }
.m-ckbox+label.label--l  { min-width:15em; }
.m-ckbox+label.label--2l { min-width:31.5em; }


/* グループ /--------------------------------------------------------------------*/

.m-ckbox-group label {
  margin-right:1.5em;
}

/* サイズ /--------------------------------------------------------------------*/

.m-ckbox+label.label--s  { min-width:6em; }
.m-ckbox+label.label--m  { min-width:10em; }
.m-ckbox+label.label--l  { min-width:15em; }
.m-ckbox+label.label--2l { min-width:31.5em; }


/*-----------------------------------------------------------------------------------
  ラジオボタン
-----------------------------------------------------------------------------------*/

.m-radio {
  display:none;
  margin-top:-0.25em;
}

.m-radio+label {
  display:inline-block;
  cursor:pointer;
  margin-top:0.25em;
  margin-bottom:0.25em;
  font-family:inherit;
}

.m-radio+label:before {
  width:1.25em;
  height:1.25em;
  display:inline-block;
  content:"";
  border-radius:1.25em;
  -moz-border-radius:1.25em;
  -webkit-border-radius:1.25em;
  vertical-align:middle;
  border:2px solid #c8c8c8;
  background-color:#fff;
  margin:-2px 5px 0 0;
  -webkit-transition:border-color ease-in-out .15s, background-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition:border-color ease-in-out .15s, background-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  transition:border-color ease-in-out .15s, background-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
}

.m-radio:hover+label:before {
  border-color:#c8c8c8;
  background-color:#c8c8c8;
  box-shadow:inset 0 0 0 0.25em #fff;
}

.m-radio:checked+label:before {
  border-color:#4593ea;
  background-color:#4593ea;
  box-shadow:inset 0 0 0 0.25em #fff;
}


/* グループ /--------------------------------------------------------------------*/

.m-radio-group label {
  margin-right:1.5em;
}
