﻿@charset "UTF-8";

/* ----入力フォーム共通---- */

input,
button,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

input[type="submit"],
input[type="button"],
button {
    -webkit-appearance: none;
    border-radius: 0;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="search"],
input[type="password"],
input[type="url"],
input[type="number"],
select,
textarea {
    padding: 4px;
    border: 1px solid #999;
    background-color: #fff;
    max-width: 100%;
}

input[type="text"]:hover,
input[type="tel"]:hover,
input[type="email"]:hover,
input[type="search"]:hover,
input[type="password"]:hover,
input[type="url"]:hover,
input[type="number"]:hover,
select:hover,
textarea:hover {
    border: 1px solid #666;
}

input[type="radio"] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 5px;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 5px;
}

label.radio,
label.checkbox,
input[type="radio"],
input[type="radio"]+label,
input[type="checkbox"],
input[type="checkbox"]+label,
select {
    cursor: pointer;
}

input[type="text"][disabled] {
    background: #dcdcdc;
    cursor: not-allowed;
}


/* ----ボタン---- */

.btn {
    display: inline-block;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    white-space: nowrap;
    padding: 4px 10px;
}

.btn:hover,
.btn:focus {
    text-decoration: none;
}

.btn:active,
.btn.active {
    outline: 0;
    box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.125);
}

.btn.disabled,
.btn[disabled],
.btn.disabled:hover,
.btn[disabled]:hover,
.btn.disabled:active,
.btn[disabled]:active {
    cursor: not-allowed;
    opacity: 0.65;
    filter: alpha(opacity=65);
    box-shadow: none !important;
}

.btn-default {
    color: #333;
    border: none;
    background-color: #e5e5e5;
}

.btn-primary {
    color: #fff;
    border: none;
    outline: none;
    background: #000;
}

.btn-secondary {
    color: #000;
    border: solid 1px #000;
    background-color: #fff;
}

.btn-danger {
    color: #000;
    border: solid 1px #000;
    background-color: #fff;
}

.hidden-btn {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

.input-group {
    display: table;
    width: 100%;
}

.input-group>span {
    display: table-cell;
    width: 100%;
}

.input-group-btn {
    display: table-cell;
    white-space: nowrap;
}


/* ----画面上部メッセージー---- */

.alert {
    margin-top: 5px;
    padding: 10px 10px 10px 30px;
    margin-bottom: 5px;
    position: relative;
    border: 1px solid #ebccd1;
    color: #fa0835;
    background-color: #f2dede;
}

.alert:before {
    font-family: FontAwesome;
    content: "\f071";
    position: absolute;
    left: 10px;
}

.success {
    margin-top: 5px;
    padding: 10px 10px 10px 30px;
    margin-bottom: 5px;
    position: relative;
    border: 1px solid #bce8f1;
    color: #31708f;
    background-color: #d9edf7;
}

.success:before {
    font-family: FontAwesome;
    content: "\f05a";
    position: absolute;
    left: 10px;
}


/* ----入力フォームタイトル---- */

.legend {
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    margin: 10px 0 0;
    padding: 5px 0;
    border-bottom: 2px solid #444;
}


/* ----縦型入力フォーム---- */

.fieldset-vertical {
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.fieldset-vertical .form-group {
    margin: 0;
    border-left: solid 1px #ddd;
    border-right: solid 1px #ddd;
}

.fieldset-vertical .form-label {
    float: left;
    margin: 0 0 5px 0;
}

.fieldset-vertical .form-label {
    margin: 0 5px 0 0;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f5;
    width: 100%;
}

.fieldset-vertical .form-label label {
    width: 100%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fieldset-vertical .form-control {
    padding: 10px 5px;
    clear: both;
}


/* ----入力支援---- */

.form-error {
    display: block;
    color: #fa0835;
}

.required:after {
    display: inline;
    padding: .2em .6em;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    color: #fff;
    background-color: #d9534f;
    content: "必須";
}

.help-block {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    color: #737373;
}

.count-msg-another {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    color: #555;
}

.count-msg {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    color: #f66;
}


/* ----入力フォームボタン---- */

.action-buttons {
    width: auto;
    display: block;
}

.action .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70px;
    margin-top: 10px;
    padding: 10px 0;
    font-size: 1.2rem;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}


/* ----ラジオボタン、チェックボックス---- */

.radio {
    margin-right: 10px;
}

.checkbox {
    margin-right: 10px;
}


/* ----EFO---- */

.efo-icon {
    border: none;
    vertical-align: middle;
}

input[type="text"].efo-error,
input[type="tel"].efo-error,
input[type="email"].efo-error,
input[type="search"].efo-error,
input[type="password"].efo-error,
input[type="url"].efo-error,
input[type="number"].efo-error,
select.efo-error,
textarea.efo-error {
    background-color: #f2dede;
}

input[type="text"].efo-valid,
input[type="tel"].efo-valid,
input[type="email"].efo-valid,
input[type="search"].efo-valid,
input[type="password"].efo-valid,
input[type="url"].efo-valid,
input[type="number"].efo-valid,
select.efo-valid,
textarea.efo-valid {
    background-color: #e9f2d7;
}