﻿@charset "UTF-8";

/* ----入力フォーム共通---- */

input,
button,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

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 #ccc;
    background-color: #fff;
}

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;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: none;
    padding: 0 36px 0 10px;
    line-height: 1;
    color: #000;
    background: #fff url("../../../img/usr/nagonstans/common/icn-select.png") no-repeat 100% 0;
    background-size: 31px 28px;
    height: 28px;
    width: auto;
    box-sizing: border-box;
    border: solid 1px #ddd;
    border-radius: 0;
}


/* ----ボタン---- */

.btn {
    display: inline-block;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    white-space: nowrap;
    padding: 4px 10px;
    outline: none;
}

.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: none;
    background-color: #fff;
}

.btn-danger {
    color: #fff;
    border: none;
    background-color: #d9534f;
}

.hidden-btn {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}


/* ----画面上部メッセージ---- */

.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 {
    padding: 40px 0;
    font-size: 18px;
    font-weight: normal;
    border-top: #000 2px solid;
}


/* ----縦型入力フォーム---- */

.fieldset-vertical {
    margin-top: 10px;
    margin-bottom: 10px;
}

.fieldset-vertical .form-group {
    margin: 5px 0 10px 0;
}

.fieldset-vertical .form-label,
.fieldset-vertical .constraint {
    margin: 0 0 5px 0;
}

.fieldset-vertical .form-label {
    padding: 10px;
    margin-right: 10px;
    text-align: left;
    background: #f9f9f9;
    vertical-align: middle;
}

.fieldset-vertical .form-label label {
    font-weight: bold;
}

.fieldset-vertical .form-control {
    clear: both;
}


/* ----横型入力フォーム---- */

.fieldset {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
}

.fieldset .form-group {
    display: table;
    width: 100%;
    border-top: #e5e5e5 1px solid;
}

.fieldset .form-group:last-child {
    border-bottom: #e5e5e5 1px solid;
}

.fieldset .form-label,
.fieldset .constraint,
.fieldset .form-control {
    display: table-cell;
}

.fieldset .form-label {
    width: 23%;
    padding: 25px 10px 25px 25px;
    text-align: left;
    background: #f9f9f9;
}

.fieldset .form-label label {
    font-weight: bold;
}

.fieldset .constraint {
    width: 65px;
    padding: 5px;
    background: #f9f9f9;
}

.fieldset .form-control {
    padding: 5px 0 5px 20px;
    border-left: 1px solid #f5f5f5;
}


/* ----入力支援---- */

.form-error {
    display: block;
    color: #fa0835;
}

.required:after {
    display: inline-block;
    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 {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    display: block;
}

.action {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

.action .btn {
    padding: 8px 8px;
    min-width: 300px;
    height: 80px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}

.action a.btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.action .btn:hover {
    opacity: 0.8;
}


/* ----ラジオボタン、チェックボックス---- */

.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;
}