@charset "utf-8";

/*
------------------------
form
------------------------
*/

input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
textarea,
select {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    padding: 4px 6px;
    line-height: 22px;
    border: solid 1px #E7E7E7;
    background-color: #FFFFFF;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
       -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: solid 1px #333333;
}

input {
    padding-bottom: 5px;
}

textarea {
    resize: vertical;
    vertical-align: bottom;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    width: 98%;
    border: solid 1px #E7E7E7;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
       -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

select {
    -webkit-appearance: none;
            appearance: none; /* デフォルトのスタイルを無効 */
    background-image: url("../images/select.svg");
    background-position: right 4px center;
    background-repeat: no-repeat;
    background-size: 13px 13px;
    padding-right: 20px;
}

select::-ms-expand {
    display: none; /* デフォルトのスタイルを無効(IE用) */
}

select .group {
    background-color: #E8E8E8;
}

label {
    cursor: pointer;
}

input[type="button"],
button[type="button"],
input[type="submit"],
button[type="submit"] {
    padding: 9px;
    line-height: 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    background-color: #1F589D;
    border: solid 1px #1F589D;
    color: #FFFFFF;
    display: inline-block;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-appearance: none;
       -moz-appearance: none;
}

input[type="button"]:hover,
button[type="button"]:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background-color: #1C4E8B;
    border: solid 1px #1C4E8B;
}

input[type="button"].attention,
button[type="button"].attention,
input[type="submit"].attention,
button[type="submit"].attention {
    background-color: #D82930;
    border: solid 1px #D82930;
}

input[type="button"].attention:hover,
button[type="button"].attention:hover,
input[type="submit"].attention:hover,
button[type="submit"].attention:hover {
    background-color: #F23139;
    border: solid 1px #F23139;
}

button[type="button"] img,
button[type="submit"] img {
    margin-right: 8px;
}

button[type="button"] a,
button[type="submit"] a {
    color: #FFFFFF !important;
}

input[type="radio"],
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 4px;
    cursor: pointer;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

label input[type="checkbox"] {
    margin-left: 6px !important;
    margin-right: 6px !important;
}

input[type="file"] {
    display: none;
}


/* tab sp */

@media only screen and (max-width: 1100px) {
    input[type="checkbox"],
    input[type="radio"] {
        width: 24px;
        height: 24px
    }
}


/*
------------------------
file-area
------------------------
*/

.file-area {
    display: block;
    padding: 16px;
    border: dashed 5px #CCCCCC;
    background-color: #F0F0F0;
}

.file-area.drag {
    background-color: #999999;
}

.file-area:hover {
    background-color: #DADADA;
}

.file-area .select-files {
    display: inline-block;
    padding: 6px 12px;
    color: #ffffff;
    background-color: #1F589D;
    cursor: pointer;
    border-radius: 4px;
    line-height: 20px;
    margin-top: 12px;
}

.file-area .js-file-name {
    margin-left: 8px;
}

[disabled],
[disabled]:hover {
    background-color: #999999 !important;
    border: solid 1px #999999 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

[readonly] {
    background-color: rgba(0, 0, 0, 0) !important;
    border: transparent 1px solid !important;
    box-shadow: none !important;
}

.submit {
    margin-top: 16px;
    text-align: center;
}

.submit input {
    width: 40%;
    padding: 16px 0;
    font-size: 20px;
}


/* sp */

@media only screen and (max-width: 640px) {
    .submit input {
        width: 100%;
    }
}


/*
------------------------
フォーム幅
------------------------
*/

.single {
    width: 100%;
}

.half {
    width: 45%;
}

.quarter {
    width: 25%;
}


/* sp */

@media only screen and (max-width: 640px) {
    .single,
    .half {
        width: 100%;
    }
}


/*
------------------------
button
------------------------
*/

.button {
    position: relative;
    padding: 9px;
    line-height: 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    background-color: #3E82CB;
    border: solid 1px #3E82CB;
    color: #FFFFFF !important;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    word-break: keep-all;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}

.button:hover {
    background-color: #3774B5;
    border: solid 1px #3774B5;
}

.button img {
    height: 12px;
    margin-right: 4px;
}

.button p {
    display: inline-block;
    line-height: 12px;
}

.button>.notice {
    position: absolute;
    top: -10px;
    left: -15px;
}

.button.gray-out {
    cursor: no-drop;
    border: solid 1px #D3D3D3;
}


/* sp */

@media only screen and (max-width: 639px) {
    input[type="button"],
    input[type="submit"],
    .button {
        font-size: 10px;
        padding: 6px 8px;
    }
}


/*
------------------------
history
------------------------
*/

#history {
    position: relative;
    z-index: 0;
    width: calc(100% - 8px);
    padding: 8px 0 0 8px;
    background-color: #FFFFFF;
    border-radius: 2px;
    margin-bottom: 4px;
}

#history label {
    display: inline-block;
    line-height: 32px;
    padding: 0 8px;
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 2px;
    background-color: #DADADA;
}

#history .button {
    margin-bottom: 8px;
}

#history label select {
    border: none;
    margin: 0;
    padding: 4px 20px 4px 8px !important;
    line-height: 14px;
    font-size: 14px;
    background-color: #DADADA;
    box-shadow: none;
}


/* sp */

@media only screen and (max-width: 640px) {
    #history {
        padding-bottom: 1px;
    }
    #history label,
    #history .button {
        display: block;
        margin: 0 8px 8px 0;
        overflow: hidden;
    }
}


/*
------------------------
text button
------------------------
*/

.text-button>div {
    padding: 4px 0;
    float: left;
}

.text-button>div:first-of-type {
    width: calc(100% - 88px);
    margin-right: 8px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}

.text-button>div:last-of-type {
    width: 80px;
}

.text-button div input {
    width: 100%;
}

.text-button .js-tooltip-target {
    top: 48px;
}
