@charset 'UTF-8';

/*---------------------------------------------
INPUT BUTTON
----------------------------------------------*/

textarea, select, input, button, .btn {
    font-family: 'Hiragino Kaku Gothic ProN', Meiryo, 'MS PGothic', Sans-serif;
}
textarea, input[type="text"], input[type="email"], input[type="tel"] {
    width: 98%;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    padding: 6px 3px;
    border: 1px solid #cfd5dd;
    border-radius: 3px;
    background: #E5F2FA;
}
textarea.dim, input.dim {
    color: #76AB5D;
    border: 1px dotted #cfd5dd;
}
textarea:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus {
    outline: none;
}
textarea {
    min-height: 150px;
    resize: vertical;
    overflow: auto;
}

input[type="submit"], input[type="reset"], input[type="button"], button, .btn {
    font-size: 15px;
    -webkit-appearance: none;


    text-align: center;
    padding: 8px 30px;
    color: #011c73;
    background-color: #fff;
    border: 2px solid #011c73;
    border-radius: 5px;
    margin: 0 10px;
    cursor: pointer;
    box-shadow: none;
    -webkit-box-shadow: none;
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -o-transition: .2s;
    -ms-transition: .2s;
}
input:hover[type="submit"], input:hover[type="reset"], input:hover[type="button"], button:hover, .btn:hover {
    color: #51575e;
    background-color: #edeff2;
    text-decoration: none!important;
    border: 2px solid #cfd5dd;
    box-shadow: none;
    -webkit-box-shadow: none;
}

input[type="submit"].chk {
    color: #fff;
    background-color: #011c73;
}
input[type="submit"].chk:hover {
    color: #fff;
    background-color: #51A2DB;
}
input[type="checkbox"], input[type="radio"] {
    border: none;
    top: -2px;
    top: 0\9;
    margin-right: 6px;
    margin-right: 0\9;
}

input[type="checkbox"] {
    transform: scale(1.5, 1.5);
    -ms-transform: scale(1.5, 1.5);
    -webkit-transform: scale(1.5, 1.5);
}

label {
    padding-right: 6px;
  padding-top: 6px;
  padding-bottom: 6px;
}
label.ckbox {
    padding-right: 20px!important;
}
/*a[href^="tel:"] {
    pointer-events: none;
}*/

input.wM{
  width: 50%;
}

.uploader{
    -webkit-appearance: none;
  border-radius: 0;
  color: #000;
    font-size: 15px;
    text-align: center;
    color: #011c73;
  vertical-align: middle;
}

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

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

#contactform {
    position: relative;
    width: 100%;
    margin: 0 auto 40px;
}

#contactform #stepbox {
    position: relative;
}
#stepbox ul {
    width: 100%;
    letter-spacing: -0.4em;
    margin: 0 0 6px 0;
    overflow: hidden;
}
#stepbox ul li {
    position: relative;
    display: inline-block;
    width: 33.33%;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    background-color: #ddd;
    color: #333;
    letter-spacing: normal;
    margin-right: 1%;
}
#stepbox ul li:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -12px;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 15px solid #ddd;
    background-color: #fff;
}
#stepbox ul li:last-child {
    width: 30%;
    margin-right: 0;
}
#stepbox ul li:last-child:after {
    content: none;
}
#stepbox ul li.current {
    background-color: #011c73;
    color: #fff;
}
#stepbox ul li.current:after {
    border-left-color: #011c73;
}
/* --------------------------------
-------------------------------- */

#contactform table {
    position: relative;
    width: 96%;
    margin: 10px 2%;

    border: none;
}
.ie8 #contactform table {
    width: 96%;
    margin: 0 2%;
}
#contactform table tr {
    width: 100%;
}
#contactform table th, #contactform table td {
    display: table-cell;
    padding: 10px 15px;
    text-align: left;
line-height: 2;
    color: #333;
    vertical-align: center;
}
#contactform table th {
    width: 23%;
    line-height: 3;
    font-weight: normal;

    font-size: 16px;
    color: #011c73;
  vertical-align: top;
}
#contactform table td.ajst {
    padding-top: 8px;

}

#contactform table th label span {
    color: #b72626;
    font-size: 18px;
    line-height: 1;
    /**/

    vertical-align: middle;
    margin-left: 0;
    padding: 0;
}
/* req btn*/

#contactform table th .req {
    background-color: #E97669;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    /**/

    vertical-align: middle;
    margin-right: 6px;
    padding: 1px 3px;
}
#contactform table th .opt {
    background-color: #9bc415;
    color: #fff;
    font-size: 10px;
    margin-right: 6px;
    padding: 1px 3px;
}
/* ex btn*/

#contactform table td .ex {
    font-size: 11px;
    color: #555;
    margin-top: 4px;
    margin-left: 4px;
}
#contactform table td .ex .lbl {
    display: inline-block;
    background-color: #eee;
    color: #333;
    font-size: 10px;
    margin-right: 6px;
    margin-top: 4px;
    padding: 0 2px;
}
#submit, #reset {
    margin: 10px 10px 10px;
}

.red{
  color:#b72626;
}

.note{
  font-size: 90%;
}

@media only screen and (max-width: 768px) {
#contactform table th {
width: 96%;
display: inline-block;
color: #011c73;
font-weight: normal;
line-height: 1.5;
border-bottom: #011c73 solid 1px;
padding: 5px 2%;
margin: 0 auto;
}
#contactform table td {
width: 96%;
display: inline-block;
padding: 10px 0 18px;
}
#contactform table td.ajst {
padding-top: 16px;
}
input[type="submit"], input[type="reset"], input[type="button"], button, .btn {
font-size: 15px;
padding: 12px 20px;
margin: 0 6px;
}

}


#btnbox {
    margin: 20px 0;
    text-align: center;
}
#msgbox {
    position: relative;
    margin: 10px 0;
    padding: 10px 3%;
    border: 1px solid #872D36;
    color: #872D36;
}
#msgbox p.error_messe {
    line-height: 1.3;
}
#contactform h2 {
    font-size: 18px;
}
#contactform p {

    border-bottom: none;
}


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

@media screen and (min-width: 768px), print {
  #contactform{
    width: 800px;
  }
#contactform table {
    position: relative;
    width: 100%;
    margin: 10px 0;
    border: none;
}
  
  
}

