input,
button,
textarea,
select {


    /* font-familyを継承しないので、継承させる */
    font-family: inherit;

    /* iOSの角丸をリセット */
    border-radius: 0;

    /* box-size */
    box-sizing: border-box;

    /* 文字の大きさ iOSでズームさせないために16px以上を指定 */
    font-size: 16px;

    /* 文字色を親から継承 */
    color: inherit;
}

label {
    /* iOSでのlabelとinput,select,textareaの関連付け */
    cursor: pointer;
}

/* スピンボタン非表示 chrome,safari */

input[type="month"]::-webkit-outer-spin-button,
input[type="month"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-outer-spin-button,
input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="week"]::-webkit-outer-spin-button,
input[type="week"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-outer-spin-button,
input[type="time"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-outer-spin-button,
input[type="date"]::-webkit-inner-spin-button {
    /*-webkit-appearance: none;
  margin: 0;*/
    display: none;
}

/* スピンボタン非表示(firefox) */

input[type="month"],
input[type="datetime-local"],
input[type="week"],
input[type="time"],
input[type="date"] {
    -moz-appearance: textfield;
}

/* クリアボタン非表示 */
input[type="date"]::-webkit-clear-button,
input[type="month"]::-webkit-clear-button,
input[type="datetime-local"]::-webkit-clear-button,
input[type="time"]::-webkit-clear-button,
input[type="week"]::-webkit-clear-button {
    -webkit-appearance: none;
}


/* サーチキャンセルボタンのデザイン変更 */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    background-image: url(cancel.svg);
    background-repeat: no-repeat;
    background-size: cover;

    /* サーチキャンセルボタンを非表示にする場合 */
    /*-webkit-appearance: none;*/
}

input[type="search"]::-webkit-search-decoration {
    display: none;
}

input[type="search"]:focus {
    outline-offset: -2px;
}

/* パスワードの表示/非表示の切り替えスイッチ表示(IE、Edge)の非表示 */
input[type=password]::-ms-reveal {
    display: none;
}

/* input */
input {
    /* 背景色(任意の色を指定) */
    background-color: #eee;

    /* inputの枠線を消す */
    border: 1px solid transparent;
    transition: border 0.2s ease-out;

    /* 文字色を親から継承 */
    color: inherit;

    /* 任意の高さ */
    height: 46px;

    /*inputのフォーカス時の枠線を消す*/
    outline: 0;

    border-radius: 10px;
    border: 2px solid #8b8b8b;
    background-color: #fff;
    /* 枠線 */
}

/* inputにフォーカスが当たっている時 */
input:focus {
    border-bottom: 1px solid#e74c3c;
}




/* サーチキャンセルボタンのデザイン変更 */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    background-image: url(cancel.svg);
    background-repeat: no-repeat;
    background-size: cover;

    /* サーチキャンセルボタンを非表示にする場合 */
    /*-webkit-appearance: none;*/
}

input[type="search"]::-webkit-search-decoration {
    display: none;
}

input[type="search"]:focus {
    outline-offset: -2px;
}

/* パスワードの表示/非表示の切り替えスイッチ表示(IE、Edge)の非表示 */
input[type=password]::-ms-reveal {
    display: none;
}



/* カレンダー表示ボタン アイコン変更 */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator {
    color: transparent;
    cursor: pointer;
    background: #eee url(calendar.svg) no-repeat center right 5px/20px 20px;
    background-size: 20px;
}


input[type=range] {
    -webkit-appearance: none;
    /* height: 46px; */
}

/* ツールチップ 非表示(ms) */
input[type=range]::-ms-tooltip {
    display: none;
}

/* ツマミ(webkit) */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px 0 #333;
    cursor: pointer;
    height: 20px;
    width: 20px;
    margin-top: -10px;
    /* iOS safari */
    border: none;
}

/* ツマミ(mozilla) */
input[type=range]::-moz-range-thumb {
    background-color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 0 4px 0 #333;
    cursor: pointer;
    height: 20px;
    width: 20px;
}

/* ツマミ(ms) */
input[type=range]::-ms-thumb {
    background-color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 0 4px 0 #333;
    cursor: pointer;
    height: 20px;
    width: 20px;
    margin: 0 1px;
}

/* ツマミ(ms) chomeツマミ調整の影響を消す */
@supports (-ms-ime-align: auto) {
    input[type=range]::-webkit-slider-thumb {
        margin-top: 0px !important;
    }

}

/* 溝(mozilla) */
input[type=range]::-moz-range-track {
    height: 0;
    border: 1px solid #333;
}

/* 溝(WebKit) */
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 0;
    cursor: pointer;
    background: #cccccc;
    border: 1px solid #333;
    margin-top: 0px;
}

/* 溝(ms) */
input[type=range]::-ms-track {
    width: 100%;
    height: 12px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}

/* 溝の位置調整(ie) */
@media all and (-ms-high-contrast: none) {
    input[type=range]::-ms-track {
        margin-top: -5px !important;
    }
}

/* 溝の色(ms)（つまみより左側） */
input[type=range]::-ms-fill-lower {
    background: #cccccc;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

/* 溝の色(ms)（つまみより右側） */
input[type=range]::-ms-fill-upper {
    background: #cccccc;
    border: 0.2px solid #010101;
    border-radius: 2.6px;
    box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

/* 溝の色(ms)（つまみより左側）フォーカス時 */
input[type=range]:focus::-ms-fill-lower {
    background: #999999;
}

/* 溝の色(ms)（つまみより右側）フォーカス時 */
input[type=range]:focus::-ms-fill-upper {
    background: #999999;
}


extarea {
    padding: 10px;
    border-radius: 0;
    resize: none;
    border: 1px solid transparent;
    transition: border 0.2s ease-out;
    outline: none;
    background-color: #eee;
}

textarea::-webkit-scrollbar {
    width: 10px;
}

textarea::-webkit-scrollbar-track {
    background-color: #eee;
}

textarea::-webkit-scrollbar-thumb {
    background-color: #ccc;
}

textarea:focus {
    border-bottom: 1px solid #e74c3c;
    box-shadow: none;
    outline: none;
}


/* チェックボックス01 */
input[type=checkbox] {
    display: none;
}

.checkbox01 {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px;
    position: relative;
    width: auto;
    font-size: 15px;
    margin-bottom: 10px;
}

.checkbox01::before {
    background: #fff;
    border: 1px solid #231815;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}

.checkbox01::after {
    border-right: 3px solid #ed7a9c;
    border-bottom: 3px solid #ed7a9c;
    content: '';
    display: block;
    height: 9px;
    left: 10px;
    margin-top: -7px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 5px;
}

input[type=checkbox]:checked + .checkbox01::after {
    opacity: 1;
}




/* ラジオボタン01 */
input[type=radio] {
    display: none;
}

.radio01 {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px;
    position: relative;
    width: auto;
    font-size: 15px;
}

.radio01::before {
    background: #fff;
    border: 1px solid #231815;
    border-radius: 50%;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}

.radio01::after {
    background: #ed7a9c;
    border-radius: 50%;
    content: '';
    display: block;
    height: 10px;
    left: 9px;
    margin-top: -4px;
    opacity: 0;
    position: absolute;
    top: 50%;
    width: 10px;
}

input[type=radio]:checked + .radio01::after {
    opacity: 1;
}




/* ラジオボタン */
.radio {
    display: flex;
}

.radio-input {
    display: none;
}

.radio-input + label {
    padding-left: 20px;
    position: relative;
    margin-right: 20px;
}

.radio-input + label::before {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 0;
    width: 15px;
    height: 15px;
    border: 1px solid #999;
    border-radius: 50%;
}

.radio-input:checked + label {
    color: #d01137;
}

.radio-input:checked + label::after {
    content: "";
    display: block;
    position: absolute;
    top: 7px;
    left: 2px;
    width: 11px;
    height: 11px;
    background: #d01137;
    border-radius: 50%;
}


.btnspinner {
    -ms-user-select: none;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.spinner_area input {
    padding: 11px;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 16px;
    width: auto;
    vertical-align: middle;
    /* デフォルトのスピナーを消す */
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.spinner_area input[type="button"] {
    cursor: pointer;
}



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

select {
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 7px 10px 7px 10px;
    font-size: 120%;
    line-height: 1.1em;
    border-radius: 5px;
    width: 200px;
    height: 40px;
    background-image: url(../img/arrow.png);
    background-repeat: no-repeat;
    background-size: 12px 10px;
    background-position: right 10px center;
    background-color: #FFF;
}
