@charset "utf-8";

/*================================================
 リセット
================================================*/
input, button, textarea, select {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/*================================================
 *  共通
================================================*/
 
.mail {
  width: 100%;
  margin: 20px 0;
}
.mail p {
  margin: 50px auto;
  text-align:center;
}

#formBox h3 {
  margin: 20px 0 10px;
  background: url(../img/mbg_form_icon.png) no-repeat 0 50%;
  padding: 5px 10px 5px 35px;
  border-bottom: dashed 1px #ccc;
  font-size: 14px;
  color:#666666;
  font-weight: bold;
}

/*--------------------------------------------------
 *フォームパーツ*
 -------------------------------------------------*/

/*SP テキストクリア*/ 
 input[type="button"],,input[type="text"]input[type="submit"] {
   -webkit-appearance: none;
   border-radius: 0;
}

/*----- テキストボックス・テキストエリア -----*/
input[type=text], input[type=email], input[type=tel], textarea {
  font-size: 100%;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  width: 70%;
  -webkit-appearance: none;
  border: 3px solid #E5E5E5;
  padding: 2px 10px;
}

input[type=text], input[type=email], input[type=tel] {
  height: 40px;
  margin-left: 30px;
  font-size:16px;
}

input:focus, textarea:focus {
  background-color: #fafbed;
  border-color: #ff9900;
}


/* フォーカスした時の幅を変更
*****************************************/
input[type="text"].focus {
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
	width: 250px;
}
input[type="text"].focus:focus {
	width: 300px;
}
/*----- ラジオボタン -----*/

/*+++++

input[type=radio], input[type=checkbox] {
  display: none;
}
input[type=radio] + label, input[type=checkbox] + label {
  display: inline-block;
  background-position: 5px 50%;
  background-repeat: no-repeat;
  border: 1px solid #CCC;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}

input[type=radio] + label {
  padding: 12px 10px 12px 48px;
  background-color: #999;
  color: #FFF;
}

#boy + label {
  background-image: url(../img/form_boy.png);
}

#girl + label {
  background-image: url(../img/form_checked.png);
}

#boy:checked + label {
  background-color: #1e90ff;
  border-color: #1e90ff;
}

#girl:checked + label {
  background-color: #f09199;
  border-color: #f09199;
}

+++++*/

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

/*+++++

input[type=checkbox] + label {
  background-image: url(../img/form_checkbox.png);
  background-color: #E5E5E5;
  background-repeat: no-repeat;
  background-position: 5px 50%;
  padding: 8px 10px 8px 36px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  width: 60%;
}

input[type=checkbox]:checked + label {
 background-image: url(../img/form_checked.png);
 background-color: #fcc800;
 border-color:#fcc800;
}

.companion li {
  margin-bottom: 10px;
		list-style:none;
}

+++++*/


/*----- 日付入力 -----*/
input[type=date] {
  -webkit-appearance: none;
  font-size: 1em;
  padding-left: 48px;
  height: 48px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  border: 3px solid #E5E5E5;
  background: url(../img/mico_calendar.png) no-repeat 5px 50%;
}








/*----- チェックラジオ-----*/
.radiobox {
    padding: 6px;
}
.radiobox input[type=radio],
.radiobox input[type=checkbox] {
    display: inline-block;
    margin-right: 6px;
}
.radiobox input[type=radio] + label,
.radiobox input[type=checkbox] + label {
    position: relative;
     
    display: inline-block;
    margin-right: 12px;
     
    font-size: 14px;
    line-height: 30px;
     
    cursor: pointer;
}
 
@media (min-width: 1px) {
    .radiobox input[type=radio],
    .radiobox input[type=checkbox] {
        display: none;
        margin: 0;
    }
    .radiobox input[type=radio] + label,
    .radiobox input[type=checkbox] + label {
        padding: 0 0 0 24px;
    }
    .radiobox input[type=radio] + label::before,
    .radiobox 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;
    }
    .radiobox input[type=radio] + label::before {
        border: 2px solid #ccc;
        border-radius: 30px;
    }
    .radiobox input[type=checkbox] + label::before {
        border: 2px solid #ccc;
    }
    .radiobox input[type=radio]:checked + label::after,
    .radiobox input[type=checkbox]:checked + label::after {
        content: "";
        position: absolute;
        top: 50%;
         
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: block;
    }
    .radiobox input[type=radio]:checked + label::after {
        left: 5px;
         
        width: 8px;
        height: 8px;
        margin-top: -4px;
         
        background: #cc0000;
        border-radius: 8px;
    }
    .radiobox input[type=checkbox]:checked + label::after {
        left: 3px;
         
        width: 16px;
        height: 8px;
        margin-top: -8px;
         
        border-left: 3px solid #cc0000;
        border-bottom: 3px solid #cc0000;
         
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
}


/*----- セレクトボックス -----*/
select {
  -webkit-appearance: none;
  appearance: none;
  font-size: 14px;
  width: 90%;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  border: 3px solid #E5E5E5;
  background: white url(../img/form_list.png) no-repeat 95% 50%;
  height: 40px;
  padding-left:10px
}

/*IE セレクトクリア*/
.custom {
  overflow: hidden; /* 伸ばした分を隠す */
}
.custom > select {
  width: 130%; /* UI分を伸ばす */
}
select::-ms-expand {
  display: none;
}

/*----- 送信ボタン -----*/
input[type=submit] {
  border: solid 1px #000000;
  color: #FFF;
  padding: 12px 0;
  width: 80%;
  font-size: 1em;
  display: block;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  text-align: center;
  margin: 20px auto;
  background-color: #ccc;
}

input[type=submit]:hover {
  background: #000000;
}