﻿@charset "UTF-8";

/* ----入力フォーム共通---- */

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  -webkit-appearance: none;
}

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: 8px;
  border: 1px solid #DEDEDE;
  background-color: #F7F7F7;
  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"] {
  position: relative;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 5px;
  border: 1px solid #DEDEDE;
  border-radius: 50%;
  filter: drop-shadow(0px 4px 12px rgba(161, 133, 173, 0.16));
  transform: translateY(-2px);
}

input[type="radio"]::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #AA0046;
  opacity: 0;
}

input[type="radio"]:checked::after {
  opacity: 1;
}

input[type="checkbox"] {
  position: relative;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
  background: #FFF;
  border-radius: 3px;
  border: 1px solid #808080;
}

input[type="checkbox"]:checked {
  background: #AA0046;
  border-color: #AA0046;
}

input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 7px;
  width: 8px;
  height: 14px;
  border-right: 3px solid #FFF;
  border-bottom: 3px solid #FFF;
  transform: rotate(45deg);
  opacity: 0;
}

input[type="checkbox"]:checked::after {
  opacity: 1;
}

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],
input[type="tel"][disabled],
input[type="email"][disabled] {
  background: #dcdcdc;
  cursor: not-allowed;
}

select[disabled] {
  background-color: #dcdcdc;
  cursor: not-allowed;
}

select {
  min-width: 100px;
  border: 1px solid #DEDEDE;
  border-radius: 2px;
  padding-right: 25px;
  background: #FFF url(../../img/usr/common/arrow_select.png) no-repeat right 6px center / 10px;
}

select[name="yy_birth"],
select[name="mm_birth"],
select[name="dd_birth"] {
  min-width: 0;
  width: 25%;
}

:focus {
  outline: 0;
}

input.customer-input-error {
  background: #FCEDED;
}

/* ----ボタン---- */

.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;
}

.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: #AA0046;
  border: solid 1px #8D075C;
  background-color: #FFF;
  border-radius: 30px !important;
}

.btn-primary {
  color: #AA0046;
  border: solid 1px #8D075C;
  background-color: #FFF;
  border-radius: 30px !important;
}

.btn-secondary {
  color: #fff;
  border: solid 1px #333;
  background-color: #666;
}

.btn-danger {
  color: #AA0046;
  padding: 16px 0;
  border-radius: 30px !important;
  background: #f0f0f0;
  border: 1px solid #e0e0e0;
  box-shadow: 0px 4px 12px rgba(37, 28, 41, 0.06);
}

.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: 0 0 0 22px;
  margin-bottom: 5px;
  position: relative;
  color: #a94442;
  font-weight: bold;
  background-repeat: no-repeat;
  overflow: hidden;
  background-size: 12px auto;
  background-position: 2px 50%;
  background-image: url(../../img/sys/icon/alert.png);
}

.success {
  margin-top: 5px;
  padding: 0 0 0 22px;
  margin-bottom: 5px;
  position: relative;
  color: #31708f;
  background-repeat: no-repeat;
  overflow: hidden;
  background-size: 12px auto;
  background-position: 2px 50%;
  background-image: url(../../img/sys/icon/success.png);
}

/* ----入力フォームタイトル---- */

.legend {
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  margin: 10px 0;
  padding: 5px 0;
  border-bottom: 2px solid #444;
}

/* ----縦型入力フォーム---- */

.fieldset-vertical {
  margin-top: 10px;
  margin-bottom: 10px;
}

.fieldset-vertical .form-group {
  padding: 5px 0 15px 0;
}

.fieldset-vertical .constraint {
  text-align: left;
  margin: 0 0 5px 0;
}

.fieldset-vertical .form-label {
  text-align: left;
  margin: 0px 0px 0px 0px;
}

.fieldset-vertical .form-label label {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.fieldset-vertical .form-control {
  clear: both;
  padding: 0 15px;
}

/* ----入力支援---- */

.form-error {
  display: table;
  color: #fff;
  font-weight: bold;
  background: #c00;
  margin: 6px 0 4px;
  padding: 3px 8px 2px;
}

.block-goods-sales-detail-append--item .constraint span.required {
  margin: -24px 0 0 0;
  display: block;
  text-align: left;
  background: #f9f9f9;
  padding: 5px 16px 6px;
}
.block-goods-sales-detail-append--item input[type="radio"] {
  display: none;
}
.block-goods-sales-detail-append--item input[type="radio"] + label {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  margin: 0 10px 5px 0;
}
.block-goods-sales-detail-append--item input[type="radio"] + label::before {
  content:"";
  display: inline-block;
  position: relative;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 5px;
  border: 1px solid #DEDEDE;
  border-radius: 50%;
  filter: drop-shadow(0px 4px 12px rgba(161, 133, 173, 0.16));
  transform: translateY(-2px);
}
.block-goods-sales-detail-append--item input[type="radio"] + label::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 3px;
  right: 0;
  left: 5px;
  bottom: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #AA0046;
  opacity: 0;
}
.block-goods-sales-detail-append--item input[type="radio"]:checked + label::after {
  opacity: 1;
}
.required:after {
  display: inline;
  padding: .2em .6em;
  font-size: 11px;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 2px;
  color: #fff;
  background-color: #AA0046;
  content: "必須";
}

.help-block {
  display: block;
  font-size: 13px;
  font-weight: 400;
  margin: 10px 0px;
}

.count-msg-another {
  display: block;
  font-size: 11px;
  margin-top: 5px;
  font-weight: bold;
}

.count-msg {
  display: block;
  font-size: 11px;
  font-weight: bold;
  margin-top: 5px;
}

/* ----入力フォームボタン---- */

.action-buttons {
  width: auto;
  display: block;
}

.action .btn {
  width: 100%;
  margin-top: 10px;
  padding: 10px 0;
}

.noshi {
  font-size: 14px;
  text-decoration: underline;
  padding-left: 13px;
}

.noshi::before {
  content: "!";
  color: #a7a7a7;
  text-align: center;
  display: inline-block;
  margin: 0 5px 0 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: transparent;
  border: solid 1px #a7a7a7;
}

/* ----ラジオボタン、チェックボックス---- */

.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;
}

input[name="addr2"].efo-caution {
  background-color: #fbf5c0;
}

input[name="s_addr2"].efo-caution {
  background-color: #fbf5c0;
}

input[name="d_addr2"].efo-caution {
  background-color: #fbf5c0;
}

.pwd-normally {
  color: #008000;
}

.pwd-error {
  color: #AA0046;
}
