/************************************
WP Form Auto Full Responsive
*************************************/

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

  RESET CSS

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

body {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/*button,*/
option,
select,
textarea,
input[type="button"],
input[type="submit"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="text"],
input[type="select"],
input[type="option"],
input[type="checkbox"],
input[type="url"],
input[type="date"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    border: none;
    outline: 0;
    margin: 0;
    background: #fff;
    width: 100%;
    padding: 0;
}

/* デフォルトのradio、checkboxは非表示 */

input[type=checkbox],
input[type=radio]
 {
    display: none;
}

/* for firefox */

select {
    text-indent: 0.01px;
    text-overflow: '';
}

/* for ie10 ie11 ie系のプルダウンの矢印を消す ie9は非対応 */

select::-ms-expand {
    display: none;
}


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

  input / textarea

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

textarea,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"] {
    width: 100%;
    padding: 7px;
    font-size: 14px;
    font-size: 1.4rem;
    border: 1px solid #cccccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    box-sizing: border-box;
    line-height: 27px;
}

textarea {
    height: 200px; /* お好みの高さに */
    line-height: 24px!important;
}

/* フォーカス時の色変更 */

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus {
    border: 1px solid #333333;
}

#comments textarea,
#comments input[type="text"],
#comments input[type="email"],
#comments input[type="number"],
#comments input[type="tel"],
#comments input[type="url"] {
    min-width: 100%!important;
}

.wpcf7-form textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"] {
    min-width: 100%!important;
}


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

  Radio

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

span.wpcf7-list-item {
    margin-left: 0px;
}

span.wpcf7-list-item label {
    cursor: pointer;
}

.wpcf7-list-item-label {
    margin-right: 15px;
}

span.wpcf7-radio input[type=radio] {
    position: relative;
    display: inline-block;
    font-size: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    /*padding: 9px 5px 8px 28px;*/
    margin-right: 3px;
    margin-left: 0;
}

span.wpcf7-radio input[type=radio]::before,
span.wpcf7-radio input[type=radio]::after {
    position: absolute;
    display: block;
    content: '';
    top: 50%;
    left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
}

span.wpcf7-radio input[type=radio]::before {
    width: 22px;
    height: 22px;
    margin-top: -12px;
    margin-left: -3px;
    background: #FFF;
    border: 1px solid #cccccc;
}

span.wpcf7-radio input[type=radio]::after {
    left: 3px;
    width: 10px;
    height: 10px;
    margin-top: -6px;
    background: #f4f4f4;
}

span.wpcf7-radio input[type=radio]:checked::after {
    background: #29A7E1;
}

span.wpcf7-radio input[type=radio]:disabled::after {
    filter:alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;
}


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

  Checkbox

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

span.wpcf7-checkbox label {
    position: relative;
    display: inline-block;
    font-size: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px 5px 8px 27px;
}

span.wpcf7-checkbox label::before,
span.wpcf7-checkbox label::after {
    position: absolute;
    display: block;
    content: '';
    top: 50%;
    left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

span.wpcf7-checkbox label::before {
    width: 20px;
    height: 20px;
    margin-top: -11px;
    background: #FFF;
    border: 2px solid #cccccc;
}

span.wpcf7-checkbox input[type=checkbox]+span::after,
span.wpcf7-checkbox input[type=hidden]+span::after {
    width: 24px;
    height: 24px;
    top: 2px;
}

span.wpcf7-checkbox input[type=checkbox]:checked+span::after {
    position: absolute;
    display: block;
    content: '';
    background: url(../img/icon_check.png) 0 0 no-repeat;
    background-size: 24px 24px;
    left: -1px;
    top: 10px;
}

span.wpcf7-checkbox input[type=hidden]+span::after {
    position: absolute;
    display: block;
    content: '';
    background: url(../img/icon_check.png) 0 0 no-repeat;
    background-size: 24px 24px;
    left: -1px;
    top: 10px;
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}


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

  Selectbox

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

.select-wrap {
    display: block;
    position: relative;
    width: 100%;
    height: 45px;
    font-size: 16px;
    border: 1px solid #cccccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.select-wrap:after {
    position: absolute;
    display: block;
    content: '';
    width: 0;
    height: 0;
    /* ここで下向き矢印指定　今回はCSSで */
    border-top: 6px solid transparent;
    border-left: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333333;
    top: 50%;
    right: 10px;
    margin-top: -3px;
    pointer-events: none;/* クリック出来るよう */
}

.select-wrap select {
    width: 100%;
    height: 45px;
    font-size: 16px;
    padding: 0 10px 2px;
    border: none;
    position: relative;

}

/*
.select-wrap input[type="date"] {
    width: 100%;
    height: 42px;
    font-size: 16px;
    padding: 0 10px 5px;
    border: none;
    position: relative;

}
*/

/* ie9対策 */

.select-wrap select:not(:target) {
    width: 120% \9;
}


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

  Button

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

/*button,*/
input[type="submit"] {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    width: 100%;
    display: block;
    position: relative;
    background: #29A7E1;
    color: #ffffff;
    text-align: center;
    border: 1px solid #29A7E1;
    cursor: pointer;
    padding: 10px ;
}

/*button:before,*/
input[type="submit"]:before {
    position: absolute;
    display: block;
    content: '';
    width: 98%;
    height: 3px;
    background: #cccccc;
    bottom: -4px;
    left: 1%;
}

@media print,screen and (min-width: 1024px) {
    /*button,*/
    input[type="submit"] {
        -webkit-transition: all 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53);
        -moz-transition: all 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53);
        -ms-transition: all 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53);
        transition: all 0.2s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }
    /*button:hover,*/
    input[type="submit"]:hover {
        color: #29A7E1;
        background: #ffffff;
    }
}


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

  Placeholder

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

/* Google Chrome, Safari, Opera 15+, Android, iOS */

::-webkit-input-placeholder {
    color: #cccccc;
    font-size: 12px;
    font-size: 1.2rem;
}

/* Firefox 18- */

:-moz-placeholder {
    color: #cccccc;
    opacity: 1;
    font-size: 12px;
    font-size: 1.2rem;
}

/* Firefox 19+ */

::-moz-placeholder {
    color: #cccccc;
    opacity: 1;
    font-size: 12px;
    font-size: 1.2rem;
}

/* IE 10+ */

:-ms-input-placeholder {
    color: #cccccc;
    font-size: 12px;
    font-size: 1.2rem;
}


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

  Contact Form 7

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

.wpcf7-validation-errors {
    display: block;
    background-color: #fef1f1;
    border: 1px solid #e2a8a8!important;
    color: #D46D6D;
    border-radius: 3px;
    padding: 8px 18px;
    font-size: 14px;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    display: block;
    background-color: #c6efc1;
    border: 1px solid #a0d883!important;
    color: #488c61;
    border-radius: 3px;
    padding: 8px 18px;
    font-size: 14px;
    text-align: center;
    margin-top: 8px!important;
}


div.wpcf7-response-output {
    margin: 0px 0px 20px!important;
    padding: 10px 20px !important;
}

.wpcf7c-btn-back {
    margin-bottom: 15px;
}

.wpcf7-not-valid-tip {
    margin-top: 10px;
}


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

  Contact Form 7 add confirm

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

.wpcf7c-conf {
    color: #9c9c9c!important;
    background: #eeeeee!important;
    border: 1px solid #cccccc;
}

.wpcf7c-btn-back {
    -webkit-border-radius: 4px!important;
    -moz-border-radius: 4px!important;
    -ms-border-radius: 4px!important;
    border-radius: 4px!important;
    width: 100%;
    display: block;
    position: relative;
    background: #cccccc!important;
    color: #ffffff;
    text-align: center;
    border: 1px solid #cccccc!important;
    cursor: pointer;
    padding: 10px!important;
    margin-bottom: 10px!important;
}

.wpcf7c-btn-back:hover {
    color: #cccccc!important;
    background: #ffffff!important;
}

.custom-wpcf7c-confirmed textarea:focus,
.custom-wpcf7c-confirmed input[type="text"]:focus,
.custom-wpcf7c-confirmed input[type="email"]:focus,
.custom-wpcf7c-confirmed input[type="number"]:focus,
.custom-wpcf7c-confirmed input[type="tel"]:focus,
.custom-wpcf7c-confirmed input[type="url"]:focus {
    border: 1px solid #cccccc;
}


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

  特定テーマへの対策

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

input[type="text"].search {
    font-size: 16px!important;
}