@charset "utf-8";

/************************************************************
和光園お仕事説明会申し込みフォーム
************************************************************/

/* エラーテキスト */
#mail .error{
	font-size:135%;
	font-weight:bold;
	color:#AE201E;
	margin-bottom:30px;
}
.form-section{
width: 95%;
margin: 20px auto;
}
.jobmail-table th.need {
	background-image:url(../mail/images/img_mail_need.gif);
	background-position:10px 10px;
	background-repeat:no-repeat;
	padding-left: 45px;
}
.jobmail-table th.no-need {
	padding-left: 45px;
}
.jobmail-table textarea {
	border: 1px solid #A8A8A8;
	background-image: url(images/bck-txt_01.jpg);
	padding-top: 3px;
	padding-right: 3px;
	padding-bottom: 2px;
	padding-left: 3px;
	background-repeat: repeat-x;
	color: #585858;
    width: 70%;
}
table.jobmail-table{
width: 100%;
margin: 20px auto;
padding: 0;
}
.jobmail-table th{
text-align: left;
width: 27%;
vertical-align:top;
background-color:#FDFCEE;
font-weight: bold;
border-color: #B3B2B2;
}
.jobmail-table td{
border-color: #B3B2B2;
width: 78%;
}


input.job-text {
	border: 1px solid #A8A8A8;
	background-image: url(images/bck-txt_01.jpg);
	padding: 6px;
	background-repeat: repeat-x;
	color: #585858;
    width: 40%;
    line-height: 1.5em;
}

/* チェックボックス */
#job-mail input[type=checkbox] {
    display: none;
}
.checkbox01 {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 3px 25px;
    position: relative;
    width: auto;
}
.checkbox01::before {
    background: #fff;
    border: 1px solid #231815;
    content: '';
    display: block;
    height: 12px;
    left: 5px;
    margin-top: -7px;
    position: absolute;
    top: 50%;
    width: 12px;
}
.checkbox01::after {
    border-right: 3px solid #9b0f0f;
    border-bottom: 3px solid #9b0f0f;
    content: '';
    display: block;
    height: 7px;
    left: 9px;
    margin-top: -7px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 4px;
}
input[type=checkbox]:checked + .checkbox01::after {
    opacity: 1;
}
.check-w180{
width: 180px;
}

/* ラジオボタン */
#job-mail input[type=radio] {
    display: none;
}
.radio01 {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 3px 30px;
    position: relative;
    width: auto;
}
.radio01::before {
    background: #fff;
    border: 1px solid #666;
    border-radius: 50%;
    content: '';
    display: block;
    height: 12px;
    left: 5px;
    margin-top: -7px;
    position: absolute;
    top: 50%;
    width: 12px;
}
.radio01::after {
    background: #9b0f0f;
    border-radius: 50%;
    content: '';
    display: block;
    height: 8px;
    left: 8px;
    margin-top: -4px;
    opacity: 0;
    position: absolute;
    top: 50%;
    width: 8px;
}
input[type=radio]:checked + .radio01::after {
    opacity: 1;
}

/* セレクトボックス */

.select {
  display: inline-block;
  position: relative;
  border: 1px solid #A8A8A8;
  vertical-align: middle;
}

select {
  appearance: none;
  width: 243px;
  padding: 8px 15px 8px 5px;
  padding-right: 1em;
  border: none;
  outline: 0;
  background-image: url(images/bck-txt_01.jpg);
  box-shadow: none;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  cursor: pointer;
}

.select::before {
  position: absolute;
  top: 40%;
  right: 5px;
  width: 0;
  height: 0;
  border-width: 8px 5px 0 5px;
  border-style: solid;
  border-color: #9b0f0f transparent transparent transparent;
  content: "";
  pointer-events: none;
}

option[selected][disabled] {
  display: none;
}

#job-mail select::-ms-expand {
  display: none;
}

p.selection-text{
margin-bottom: 5px!important;
}

.fonrm-success{
width: 60%;
margin: 50px auto;
padding: 50px;
text-align: center;
border: 2px solid #333;
border-radius: 15px;
}
.fonrm-success .soushin{
font-weight: bold;
font-size: 22px;
}

/*================================================
 *  スマートフォン向けデザイン
 ================================================*/
@media screen and (max-width:767px) {

table.jobmail-table{
border: none;
margin: 20px 0!important;
width: 90%;
font-size: 17px;
}
.jobmail-table th{
width: 95%;
margin: 0px!important;
display: block;
padding: 7px 10px;
}
.jobmail-table td{
width: 100%;
display: block;
border: none;
padding: 15px 10px;

}
.jobmail-table textarea{
width: 100%;
}
input.job-text{
width: 100%;
padding: 10px 6px;
}


}
