/* フォームの入力ガイドボックス */
#formGuide {
  display: none;
}

@media screen and (min-width: 769px) {
  #formGuide {
    display: block;
    position: fixed;
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 1000;
    line-height: 150%;
    text-align: left;
    color: #31708f;
    border: 1px solid #bce8f1;
    background-color: #d9edf7;
    top: 100px;
    right: 100px;
    font-size: 14px;
    opacity: 0.9;
  }

  #formGuide.form-state-complete {
    color: rgb(49 143 108);
    border: 1px solid rgb(188 241 214);
    background-color: rgb(238 248 241);
  }

  #formGuide #formGuideNum {
    color: #c8143d;
    padding: 0 2px;
  }
}

.formOkSign {
  position: relative;
  display: inline-block;
  padding: 4px 0 4px 20px;
  line-height: normal;
  color: rgb(37, 174, 136);
  text-align: left;
  font-size: 12px;
  font-weight: normal;
}

.formOkSign::before {
  content: "";
  display: block;
  position: absolute;
  width: 15px;
  height: 15px;
  top: 3px;
  left: 0;
  background: url(/common/image/icon-check.svg) center / contain no-repeat;
}

/* input error */
.inputStyleError {
  background-color: rgb(255, 223, 223) !important;
}
.inputStyleOk {
  background-color: transparent !important;
}

/* mail autocomplete */
.ui-front {
  z-index: 100;
}

.ui-autocomplete {
  position: absolute;
  top: 0;
  left: 0;
  cursor: default;
}

.ui-widget {
  font-family: Verdana, Arial, sans-serif;
  font-size: 1.1em;
}

.ui-menu {
  list-style: none;
  padding: 3px 1px;
  margin: 0;
  display: block;
  outline: none;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.ui-menu .ui-menu {
  position: absolute;
}

.ui-widget-content {
  border: 1px solid #aaaaaa;
  background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;
  color: #222222;
}

.ui-menu .ui-menu-item {
  position: relative;
  margin: 0;
  padding: 0 1px;
  cursor: pointer;
  min-height: 0;
}

.ui-menu .ui-menu-divider {
  margin: 5px 0;
  height: 0;
  font-size: 0;
  line-height: 0;
  border-width: 1px 0 0 0;
}

.ui-menu-item-wrapper {
  border: none;
  padding: 5px 10px;
  color: #45494b;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
  border: none;
  background: #edf2f5;
  font-weight: normal;
  color: rgb(49, 112, 143);
}

/* multiple box */

.multiplebox-parent,
.multiplebox-parent * {
  box-sizing: border-box;
}

.multiplebox-parent {
  position: relative;
  font-family: initial;
}

.multiplebox-choice {
  display: block;
  height: 44px;
  padding: 8px 8px 8px 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid #d8d8d8;
  white-space: nowrap;
  line-height: 26px;
  text-decoration: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-size: 16px;
  background: url('/common/image/modules/icon-arrow@2x.png') right 15px top 50% / 6px 7px no-repeat #fff;
  width: 100%;
  margin-bottom: 5px;
  text-overflow: ellipsis;
}

.multiplebox-choice.disabled {
  background-color: #f4f4f4;
  background-image: none;
  border: 1px solid #ddd;
  cursor: default;
}

.multiplebox-drop.open {
  display: block;
}

.multiplebox-drop {
  max-height: 50vh;
  overflow: auto;
  display: none;
  margin-top: -1px;
  padding: 0 0 0 8px;
  position: absolute;
  z-index: 1000;
  top: 100%;
  background: #fff;
  border: 1px solid #888;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  width: 100%;
}

.multiplebox-drop ul {
  margin: 0;
  padding: 5px 0;
}

.multiplebox-drop li {
  list-style: none;
  display: list-item;
  background-image: none;
}

.multiplebox-drop li label {
  display: block;
  padding: 3px 0;
  color: #65676a;
}

.multiplebox-drop li label span {
  font-size: 16px;
  width: 100%;
}

.multiplebox-drop input[type="checkbox"] {
  float: left;
  margin-right: 5px;
}

.multiplebox-drop input[type="checkbox"]::before {
  position: absolute;
  top: 12px;
  left: 0;
  content: "";
  width: 18px;
  height: 18px;
  margin-top: -8px;
  border: 2px solid #dedede;
  border-radius: 4px;
  background-color: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.multiplebox-drop input[type="checkbox"]:checked::before {
  border-color: #0a847b;
  background-color: #0a847b;
}

/* number spin-button */
.inputStyle-number__no-spin::-webkit-outer-spin-button,
.inputStyle-number__no-spin::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.inputStyle-number__no-spin {
  -moz-appearance: textfield;
}

/* submit button */
#submitGuide {
  height: 40px;
  padding-top: 16px;
  font-size: 16px;
  color: #c8143d;
  box-sizing: border-box;
}
#submitGuide.submitGuide_desabled {
  visibility: hidden;
}
#submitGuide img {
  vertical-align: middle;
  width: 1.3em;
  padding: 0 0.5em 0.1em 0;
}