@charset "utf-8";

/*初期設定*/
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  background: #181818;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
}

img {
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background-color: transparent;
  color: inherit;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  line-height: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  cursor: pointer;
}

button:disabled {
  cursor: auto;
}

.cf:before, .cf:after {
  content: "";
  display: block;
  overflow: hidden;
}

.cf:after {
  clear: both;
}

.cf {
  zoom: 1;
}

.wrapper {
  position: relative;
  width: 96.09375%;
  margin: 0 auto;
}

input[type="text"], input[type="search"], input[type="tel"], input[type="url"], input[type="email"], input[type="password"], input[type="date"], input[type="time"], input[type="number"], textarea, select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  padding: 0.3em;
  border: 1px solid #a0a0a0;
  background: #fff;
  font-size: 16px;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: inherit;
  height: 2em;
}

input[type="date"] {
  height: 2em;
  vertical-align: middle;
  padding: 0 0.5em;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

label {
  cursor: pointer;
}

input:disabled {
  background: #dcdcdc;
}

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

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

/*汎用クラス*/
.font-bold {
  font-weight: bold;
}

.mt05 {
  margin-top: .5em !important;
}

.mr05 {
  margin-right: .5em !important;
}

.mb1 {
  margin-bottom: 1em !important;
}

.mb0 {
  margin-bottom: 0 !important;
}

.mt0 {
  margin-top: 0 !important;
}

.mt2 {
  margin-top: 2em !important;
}

.text_center {
  text-align: center !important;
}

hr {
  border: none;
  height: 1px;
  background-color: #181818;
}

.link_text {
  text-decoration: underline;
}

.content_center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
}

.pointer-disabled {
  pointer-events: none;
}

.w-100 {
  width: 100% !important;
}

/*header*/
header {
  background: #eeeeee;
}

header h1 {
  padding: 0.6em 0;
  width: 80px;
}

header h1 img {
  width: 100%;
}

header>.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

/*humbarger*/
#menu-cb {
  display: none;
}

#menu-icon {
  width: 30px;
  height: 40px;
  padding-top: 10px;
}

.humberger-icon {
  height: 5px;
  width: 30px;
  border-radius: 5px;
  background: #181818;
  display: block;
  margin: 4px;
}

#menu-background {
  display: none;
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  clear: right;
  cursor: auto;
}

#hum-menu {
  overflow: auto;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 5;
  width: 25%;
  min-width: 250px;
  height: 100%;
  background: #eee;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
  -webkit-transform: translateX(105%);
  transform: translateX(105%);
}

#menu-cb:checked~#menu-background {
  display: block;
  opacity: .5;
}

#menu-cb:checked~#hum-menu {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

#menu-cb:checked~#menu-icon {
  z-index: 6;
  right: 0;
  position: fixed;
  margin-right: 2%;
  padding-top: 18px;
}

#menu-cb:checked~#menu-icon>.humberger-icon:nth-of-type(2) {
  opacity: 0;
}

#menu-cb:checked~#menu-icon>.humberger-icon:nth-of-type(1) {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#menu-cb:checked~#menu-icon>.humberger-icon:nth-of-type(3) {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  margin-top: -18px
}

.hum-menu-list a {
  display: block;
  color: #181818;
  font-size: 1.25em;
  padding: 2em 1em;
  font-weight: bold;
  border-bottom: 1px solid #181818;
}

.current {
  color: #181818;
  font-size: 1.25em;
  padding: 2em 1em;
  font-weight: bold;
  border-bottom: 1px solid #181818;
}

/*typeselect*/
.typeselect input {
  display: none;
}

.typeselect {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.typeselect_label {
  background: #a0a0a0;
  text-align: center;
  padding: 10px 20px;
  margin: 5px 0;
  font-weight: bold;
  color: #434242;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  position: relative;
}

.typeselect_label::after {
  content: '';
  width: 0.5px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: #434242;
}

.typeselect_label:last-of-type::after {
  content: '';
  width: 0.5px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #434242;
}

.select-left {
  border-radius: 5px 0 0 5px;
}

.select-middle {
  border-radius: 0;
  /* border-right:1px solid #434242; */
}

.select-right {
  border-radius: 0 5px 5px 0;
}

.typeselect_radio:checked+.typeselect_label {
  background: #3973b9;
  color: #fff;
}

.typeselect img, .attention-layout img {
  width: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}

.back-layout {
  margin: 0 1em 5px 0;
  font-size: 12px;
}

.layout_result {
  border: 1px solid #fff;
  padding: 0.5em;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.layout_select span:first-child {
  display: inline-block;
  margin-right: 10px;
}

.layout_select {
  display: flex;
  align-items: center;
  margin: 5px 10px 5px 0;
  width: 60%;
  flex-wrap: wrap;
}

.layout_select .result_area {
  word-break: break-all;
}

/*attention*/
.attention-layout {
  display: flex;
  justify-content: space-between;
}

.attention-layout .typeselect {
  align-self: flex-start;
}

.attention {
  background: #f5c7cc;
  margin: 5px 0;
  padding: 10px 10px 10px 20px;
  box-sizing: border-box;
  position: relative;
  color: #dc3545;
  align-self: center;
}

.attention::before {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url("../img/attention.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat no-repeat;
  position: absolute;
  top: 13px;
  left: 10px;
}

.attention p {
  margin-left: 20px;
}

/*tab*/
.tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.tab_item {
  width: calc(100%/5 - 10px);
  background: #434343;
  padding: 0.5em 0;
  text-align: center;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  font-weight: bold;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 100%;
  flex-grow: 1;
  position: relative;
  height: 40px;
  margin-right: 10px;
  border-right: 0.5px solid #434343;
}

label.tab_item:last-of-type {
  margin-right: 0;
  border-right: 0;
}

.tk_tab.tab_item::before, .tab_item::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.tk_tab.tab_item::before {
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 10px solid #181818;
  left: 0px;
}

.tk_tab.tab_item::after {
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 10px solid #434343;
  right: -10.5px;
}

.tab_item.disabled {
  border-right: 0.5px solid #a0a0a0;
}

.tab_item.disabled::after {
  border-left-color: #a0a0a0;
}

label.tab_item:first-of-type::before {
  content: none;
}

label.tab_item:last-of-type::after {
  content: none;
}

.tabs>input[type="radio"] {
  display: none;
}

.tab_content {
  display: none;
  background: #d1d1d1;
  color: #181818;
  width: 100%;
  min-height: 412px;
  overflow: auto;
}

.tabs input:checked+.tab_item {
  background: #d1d1d1;
  color: #181818;
  border-right-color: #d1d1d1;
}

.tabs input:checked+.tab_item::after {
  border-left-color: #d1d1d1;
}

#layout:checked~#layout_content {
  display: block;
}

#registration:checked~#registration_content {
  display: block;
}

#option:checked~#option_content {
  display: block;
}

#documents:checked~#documents_content {
  display: block;
}

#layout_output:checked~#layout_output_content {
  display: block;
}

#documents:checked~#estimate_content {
  display: block;
}

.icon {
  display: inline-block;
  width: 1em;
  background-image: url(../img/caution.svg);
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 1.5em;
  background-position: center;
}

.ok {
  background-image: url(../img/ok.svg);
}

/*button部分*/
.button_area {
  margin: 30px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.clear_btn_area {
  width: 100%;
  display: inline-block;
  margin-bottom: 1em;
  text-align: right;
}

.button_center {
  text-align: center;
  max-width: 450px;
  margin: 0 auto;
}

.button_area .button {
  width: 0;
  -webkit-flex-grow: 1;
  -ms-flex-grow: 1;
  flex-grow: 1;
}

.button {
  font-size: 1.25em;
  font-weight: bold;
  width: 25%;
  text-align: center;
  background: #3973b9;
  padding: 0.5em;
  border-radius: 5px;
  margin-right: 1em;
  color: #fff;
}

.button:last-child {
  margin-right: 0;
}

.clear_btn {
  border: 1px solid #181818;
  border-radius: 5px;
  font-weight: normal;
  padding: 0.5em 2em;
  font-size: 0.875em;
}

.btn_small {
  padding: 0.5em 2em;
  font-size: 1em;
  font-size: 0.875em;
  width: auto;
}

.btn_border {
  border: 1px solid #3973b9;
  box-sizing: border-box;
  background-color: transparent;
  color: #3973b9;
}

.reset_btn {
  border: 1px solid #fff;
  padding: 0.3em;
  border-radius: 5px;
}

.search_btn {
  position: relative;
  font-size: 16px;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  display: block;
}

.search_btn::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1.5em;
  vertical-align: top;
  background-image: url(../img/search_icon.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: .5em;
}

.pdf_btn {
  width: 30px;
  height: 30px;
  color: #fff;
  border-radius: 5px;
  background: url(../img/pdf_icon.png) no-repeat center #3973b9;
  background-size: 24px;
}

.copy_btn {
  width: 30px;
  height: 30px;
  color: #fff;
  border-radius: 5px;
  background: url(../img/copy_icon.png) no-repeat center #3973b9;
  background-size: 24px;
}

.edit_btn {
  width: 30px;
  height: 30px;
  color: #fff;
  border-radius: 5px;
  background: url(../img/edit_icon.png) no-repeat center #3973b9;
  background-size: 24px;
}

.delete_btn {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: url(../img/delete_icon.png) no-repeat center #707070;
  background-size: 24px;
}

.disabled {
  background: #a0a0a0;
  color: #666666;
}

.button_area .button span {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.errorbtn {
  align-self: center;
  background-color: transparent;
  position: absolute;
  bottom: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
  line-height: 1;
  background-image: url("../img/attention.svg");
  background-size: contain;
  background-repeat: no-repeat no-repeat;
  background-position: center;
  padding: 0;
  margin-right: 0;
}

/*顧客情報入力*/
.badge-danger {
  display: inline-block;
  line-height: 1;
  color: #fff;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 3px;
  background-color: #dc3545;
  font-size: 12px;
}

.registration {
  margin: 1em 0;
  width: 100%;
}

.registration th {
  width: 33.3333333%;
  vertical-align: middle;
}

.registration tr {
  border-bottom: 1px solid #181818;
}

.registration tr:first-of-type th {
  vertical-align: top;
  padding-top: 0.3em;
}

.registration tr:last-of-type th {
  vertical-align: bottom;
  padding-bottom: 0.3em;
}

.no_line {
  border-bottom: none !important;
}

.registration_input {
  margin: 1em 0;
  width: 50%;
}

.registration span {
  margin-right: 0.5em;
}

.small_input {
  width: 50%;
  margin-top: 0.8em;
}

.long_input {
  width: 80%;
  margin-top: 0.5em;
}

.registration_clear {
  position: absolute;
  bottom: 0;
  right: 0;
}

.check-list-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.check-list {
  padding-top: 20px;
  width: auto;
  min-width: 33.333333%;
}

.other .check {
  display: inline-block;
}

.check {
  display: block;
  line-height: 1;
  position: relative;
}

.check span {
  position: relative;
  padding: 0 20px;
}

.check input[type="checkbox"] {
  display: none;
}

.check span::before, .check span::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  box-sizing: border-box;
}

.check span::before {
  background-color: #fff;
  width: 16px;
  height: 16px;
  border: 1px solid #7d7d7d;
  border-radius: 3px;
  margin-top: 3px;
}

.check span::after {
  z-index: 1;
  margin: 5px 5px;
  width: 6px;
  height: 9px;
}

.check input[type="checkbox"]:checked+span::before {
  background-color: #3973b9 !important;
  border-color: #3973b9;
}

.check input[type="checkbox"]:checked+span::after {
  border: 2px solid #fff;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.other .registration_input {
  margin-top: 5px;
  display: block;
}

.registration_input:disabled {
  background: #EDEDED;
}

.registration td .option_select_area {
  margin: 10px 0;
}

.option_wrapper .registration tr:last-of-type th {
  vertical-align: middle;
}

/*オプション選択*/
.option_items {
  width: 80%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 1em auto;
}

.option_title {
  width: 35%;
  border-bottom: 1px solid #181818;
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.option_title span:not(.badge-danger) {
  display: inline-block;
  width: 75%;
}

.option_select_area {
  width: 65%;
  display: flex;
}

.option_select_area .typeselect_label {
  flex-grow: 1;
}

.option_select {
  width: 40%;
  align-self: center;
}

.option_select.disabled {
  pointer-events: none;
  opacity: .5;
}

.option_items input[type="radio"], .option_select_area input[type="radio"], .mode_select input[type="radio"] {
  display: none;
}

.option_items input[type="number"] {
  width: 100%;
}

.option_wrapper {
  height: 362px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

.option_items .select-type {
  width: 65%;
  align-self: center;
}

.select-type select {
  width: 100%;
  z-index: 1;
  background: transparent;
}

/* .option_select_area .select-middle{
  border-left:1px solid #434242;
} */
.info_check {
  visibility: hidden;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.info_label {
  margin-left: 10px;
  display: block;
}

.info-area {
  position: absolute;
  width: calc(100% - 20px);
  padding: 10px;
  box-sizing: border-box;
  background-color: #fff;
  top: 100%;
  left: 0;
  z-index: 1;
  border-radius: 10px;
  font-weight: normal !important;
  font-size: 14px;
  display: none;
}

.info-area.top {
  top: auto;
  bottom: 100%;
  left: 0;
}

.info-area::before {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 6.3%;
  top: -0.5em;
  border-right: 0.5em solid transparent;
  border-bottom: 0.5em solid rgba(255, 255, 255, 0.8);
  border-left: 0.5em solid transparent;
  margin-left: 0.25em;
}

.info-area.top::before {
  border-right: 0.5em solid transparent;
  border-top: 0.5em solid rgba(255, 255, 255, 0.8);
  border-left: 0.5em solid transparent;
  border-bottom: 0;
  top: auto;
  bottom: -0.5em;
}

.info_check:checked~.info-area {
  display: block;
}

/*資料*/
#documents_content .wrapper {
  height: 412px;
}

.documents_table {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.documents_table {
  border: 1px solid #181818;
}

.documents_table thead tr th {
  padding: 10px 15px;
  border-bottom: 1px solid #181818;
  background-color: #707070 !important;
  font-weight: bold;
  color: #fff;
}

.documents_table td {
  word-break: break-all;
  vertical-align: middle;
  text-align: center;
}

.documents_table tr:nth-child(2n-1) {
  background: #fff;
}

.documents_table tr:nth-child(2n) {
  background: #eeeeee;
}

.documents_table tr td a {
  display: block;
  padding: 15px;
  text-decoration: underline;
}

.documents_table tr td a .download-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("../img/download.png");
  background-repeat: no-repeat no-repeat;
  background-position: center 3px;
  background-size: contain;
}

.documents_table td.table_title {
  padding: 15px;
  vertical-align: middle;
}

/*レイアウト*/
/*上ユニット選択部分*/
.top_unit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 1.3em;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.top_unit_item {
  position: relative;
  width: 5.55555%;
  height: 70px;
  background-color: #424242;
  background-size: 120px;
  background-repeat: repeat;
  background-position: center;
  text-align: center;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: bold;
}

:lang(ja) .top_unit_item {
  background-image: url(../img/top_unit_ja.png);
}

:lang(en) .top_unit_item {
  background-image: url(../img/top_unit_en.png);
}

:lang(cn) .top_unit_item {
  background-image: url(../img/top_unit_cn.png);
}

.top_select {
  position: absolute;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: none transparent;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}

.top_select option {
  color: #000 !important;
  text-align: center;
}

.top_disabled {
  background-color: #8d8d8d;
}

:lang(ja) .top_disabled {
  background-image: url(../img/top_unit_disabled_ja.png);
}

:lang(en) .top_disabled {
  background-image: url(../img/top_unit_disabled_en.png);
}

.top_disabled .top_select {
  cursor: auto;
}

.carry_unit {
  width: 100%;
  height: 30px;
  background: url(../img/rail.png);
  background-size: 25%;
  background-repeat: repeat-x;
  margin: 1em 0;
  background-position: center left;
  position: relative;
}

.carry_unit.right {
  transform: rotate(180deg);
}

.carry_unit img {
  position: absolute;
  top: 0;
  left: 0;
  height: 30px;
  width: auto;
}

/*下ユニット選択*/
.bottom_unit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  margin-bottom: 1.3em;
}

.bottom_unit_item {
  width: 100%;
  height: 100px;
  background-color: #424242;
  background-size: 300px;
  background-repeat: repeat;
  background-position: center;
  text-align: center;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: bold;
}

:lang(ja) .bottom_unit_item {
  background-image: url(../img/bottom_unit_ja.png);
}

:lang(en) .bottom_unit_item {
  background-image: url(../img/bottom_unit_en.png);
}

:lang(cn) .bottom_unit_item {
  background-image: url(../img/bottom_unit_cn.png);
}

.bottom_type {
  display: none;
}

.bottom_type_label {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
}

/*下ユニット機種選択*/
#bottom_type1:checked~#bottom_detail1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type2:checked~#bottom_detail2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type3:checked~#bottom_detail3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type4:checked~#bottom_detail4 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type5:checked~#bottom_detail5 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type6:checked~#bottom_detail6 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type7:checked~#bottom_detail7 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type8:checked~#bottom_detail8 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type9:checked~#bottom_detail9 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type10:checked~#bottom_detail10 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type11:checked~#bottom_detail11 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type12:checked~#bottom_detail12 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type13:checked~#bottom_detail13 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type14:checked~#bottom_detail14 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type15:checked~#bottom_detail15 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type16:checked~#bottom_detail16 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type17:checked~#bottom_detail17 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type18:checked~#bottom_detail18 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#bottom_type19:checked~#bottom_detail19 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.bottom_detail {
  display: none;
  width: 100%;
  background: #fff;
  position: absolute;
  top: 100%;
  margin-top: 5px;
  padding: 0.5em;
  border-radius: 10px;
  z-index: 2;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  left: 0;
  box-sizing: border-box;
}

#bottom_type2:checked~#bottom_detail2::before {
  left: 23%;
}

#bottom_type3:checked~#bottom_detail3::before {
  left: 40%;
}

#bottom_type4:checked~#bottom_detail4::before {
  left: 57%;
}

#bottom_type5:checked~#bottom_detail5::before {
  left: 74%;
}

#bottom_type6:checked~#bottom_detail6::before {
  left: 91%;
}

.bottom_detail::before {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 6.3%;
  top: -0.5em;
  border-right: 0.5em solid transparent;
  border-bottom: 0.5em solid rgba(255, 255, 255, 0.8);
  border-left: 0.5em solid transparent;
  margin-left: 0.25em;
}

.bottom_type_items {
  -ms-flex-preferred-size: 9%;
  flex-basis: 9%;
  border-right: 1px solid rgba(192, 190, 190, 0.8);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: bold;
  position: relative;
}

.bottom_type_items:last-of-type {
  border-right: none;
}

.bottom_detail_label {
  text-align: center;
}

.bottom_type_img {
  text-align: center;
}

.bottom_type_img img {
  max-width: 100%;
  height: auto !important;
}

.bottom_select {
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  background: none transparent;
  opacity: 0;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  cursor: pointer;
  height: 100%;
}

.bottom_none_btn {
  width: 80%;
  height: 76px;
  opacity: 1;
  color: #181818;
  font-weight: bold;
}

.bottom_none_btn:disabled {
  color: #b3b3b3;
}

.bottom_disabled {
  background-color: #8d8d8d;
  background-image: url(../img/bottom_unit_disabled.png);
}

:lang(ja) .bottom_disabled {
  background-image: url(../img/bottom_unit_disabled_ja.png);
}

:lang(en) .bottom_disabled {
  background-image: url(../img/bottom_unit_disabled_en.png);
}

:lang(cn) .bottom_disabled {
  background-image: url(../img/bottom_unit_disabled_cn.png);
}

.bottom_disabled .bottom_type_label {
  cursor: auto;
}

/*ユニット選択後*/
.top_select_selected {
  opacity: 0;
}

.bottom_unit .selected {
  border: 1px solid #181818;
  background: #d1d1d1;
}

.top_unit .selected {
  border: 1px solid #181818;
  background: url(../img/top_unit_selected.png) no-repeat 50% 80% #d1d1d1;
  background-size: 60%;
}

.top_unit_name {
  display: block;
  width: 70%;
  margin: 0.1em auto;
  word-break: break-all;
  line-height: .8;
}

.bottom-unit-name {
  font-size: 14px;
  padding-top: 0.5em;
}

.bottom_selected_img {
  height: 50px;
  background: no-repeat center;
  background-size: 75px;
}

.bottom_unit_disabled {
  width: 100%;
  height: 55px;
  background: url("../img/delete.png") no-repeat center;
  background-size: contain;
  position: absolute;
  z-index: 50;
}

/*colorbox*/
#calc {
  /*height: 440px;*/
  padding: 2em;
  color: #181818;
  overflow: hidden;
}

.calc_content {
  width: 100%;
  padding: 10px;
}

.calc_title {
  display: inline-block;
  width: 14em;
}

.calc_input_area {
  width: 25%;
}

.answer {
  margin: 1em 0;
  text-align: center;
}

.answer-title {
  font-size: 20px;
  margin-right: 2em;
}

.answer-text {
  font-size: 20px;
}

.font-bule {
  color: #3973b9;
}

.plaintext {
  padding-top: .375rem;
  padding-bottom: .375rem;
  margin-bottom: 0;
  background-color: transparent !important;
  border: solid transparent !important;
  border-width: 1px 0;
}

#modalattention {
  width: 680px;
  padding: 15px;
  background: #f5c7cc;
  color: #dc3545;
}

.attention-modal #cboxLoadedContent {
  border-color: #f5c7cc;
}

/*history*/
.search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 1em 0;
}

.search_condition_title {
  font-size: 10px;
}

.search_condition {
  width: 85%;
  margin-top: 0.5em;
  margin-right: 1em;
}

.search_condition_text {
  font-size: 14px;
  margin: 0 0.2em;
}

.search_btn_area {
  width: 15%;
  min-width: 100px;
}

/*search colorbox*/
#search {
  width: 680px;
  height: 430px;
  padding: 15px;
  color: #181818;
}

.search_content {
  margin: 1em;
  display: table;
  vertical-align: middle;
}

.search_content span {
  display: table-cell;
  vertical-align: middle;
}

.search_title {
  width: 200px;
  padding-left: 50px;
}

.search_input_area {
  width: 290px;
}

.day_input_area {
  width: 141.5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0.5em;
}

.search_input_area select {
  width: 100%;
  position: relative;
  z-index: 1;
  background-color: transparent;
}

.select-type {
  position: relative;
  background-color: #fff;
}

.select-type.error {
  background-color: #f5c7cc;
}

.select-type.error select {
  border-color: #dc3545;
}

.select-type::after {
  content: "";
  position: absolute;
  border-top: 8px solid #181818;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  top: 40%;
  right: 10px;
  cursor: pointer;
}

/*history_table*/
.history_table {
  width: 100%;
  color: #181818;
  font-size: 14px;
}

.table_title th {
  padding: 0.5em 0;
  color: #fff;
  background: #707070;
  text-align: center;
  font-size: 12px;
}

.table_title th {
  border-right: 1px solid #181818;
}

.history_table tr:nth-child(2n) {
  background: #d1d1d1;
}

.history_table tr:nth-child(2n+1) {
  background: #eeeeee;
}

.history_table td {
  border: 1px solid #181818;
  padding: 0.5em;
  vertical-align: middle;
}

.number {
  width: 15%;
}

.date {
  width: 15%;
}

.type {
  width: 15%;
}

.company {
  width: 25%;
}

.person {
  width: 20%;
}

.table_button_area {
  width: 0;
  white-space: nowrap;
}

/*件数表示*/
.search_number {
  text-align: center;
  margin-top: 1.25em;
  position: relative;
}

.search_number a {
  margin: 0 0.5em;
}

.arrow {
  display: inline-block;
  width: 1.25em;
  height: 1.5em;
  background: url(../img/arrow.png) no-repeat center;
  background-size: contain;
}

.next {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.current_page {
  display: inline-block;
  margin: 0 0.5em;
  padding: 0 0.4em;
  background: #fff;
  color: #181818;
  font-weight: bold;
  border-radius: 1em
}

.search_amount {
  position: absolute;
  right: 0;
  top: 0;
}

/*login&changepassword&resetpassword&onetimepassword*/
.title {
  text-align: center;
}

.title img {
  width: 150px;
  margin-bottom: 0.5em;
}

.title h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 2em;
  color: #636365;
}

#login_area {
  width: 500px;
  background: #d1d1d1;
  color: #181818;
  padding: 15px;
  margin-top: 100px;
}

.login_item {
  margin: 30px auto;
  display: table;
  text-align: center;
}

.login_input_title {
  display: table-cell;
  width: 120px;
  text-align: left;
  font-weight: bold;
}

.login_input_area {
  width: 300px;
}

.input_area {
  width: 600px;
  margin: 2em auto;
  background: #d1d1d1;
  padding: 30px 15px;
  color: #181818;
}

.password_item {
  margin: 40px auto;
  display: table;
}

.changepass_input_title {
  display: table-cell;
  width: 150px;
  font-weight: bold;
}

.reset_input_title {
  display: table-cell;
  width: 150px;
  text-align: left;
  font-weight: bold;
}

.onetimepass {
  width: 100px;
}

a[class~="clear_btn"] {
  font-size: 13.3px;
  display: inline-flex;
  align-items: center;
}

/* お問い合わせ*/
.identification {
  width: 500px;
  border: 2px solid #636365;
  margin: 0 auto;
  padding: 1em 0;
}

.contact_item {
  display: table;
  margin-bottom: 1em;
  margin: 0 auto;
}

.contact_item span {
  display: table-cell;
  vertical-align: middle;
}

.identification_title {
  width: 200px;
  padding-left: 1em;
}

.identification_content {
  width: 300px;
  word-break: break-all;
}

.contact_input {
  width: 500px;
  min-height: 150px;
  margin-bottom: 2em;
}

.contact_input_area {
  text-align: center;
  margin-bottom: 2em;
}

.contact_content {
  width: 500px;
  margin: 0 auto;
}

.contact_title {
  display: block;
  margin: 1em;
}

.contact_btn_area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 2em;
}

/*お問い合わせ完了*/
.title>span {
  margin-right: 16px;
}

.contact_content p {
  margin-top: 1em;
}

.contact_content p:last-of-type {
  padding-bottom: 2em;
}

/*notify*/
.notify-alert {
  -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.23), 0 3px 10px rgba(0, 0, 0, 0.16);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.23), 0 3px 10px rgba(0, 0, 0, 0.16);
  border: 0 !important;
  max-width: 400px;
  color: #fff;
  word-wrap: break-word;
}

.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.notify-alert button[data-notify="dismiss"] {
  position: absolute;
  right: 10px;
  top: 5px;
  outline: none !important;
  font-size: 16px;
}

.notify-alert img {
  width: 20px;
  padding-bottom: 2px;
}

.alert-success {
  background: #34db93;
}

.alert-danger {
  background: #dc3545;
}

/*stop.html error.html*/
.caution_title {
  color: #dc3545 !important;
}

.caution-message {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.caution-message p {
  margin-bottom: 1em;
}

.caution-message h2 {
  margin-bottom: 0.5em;
}

.caution-message p span {
  margin-right: 0.5em;
}

/*layoutselect.html*/
.layout {
  display: flex;
}

.contact_content ul {
  margin-top: 1em;
  width: calc(500px / 3 - 1em);
  padding: 0 0.5em;
}

.contact_content ul li .button {
  display: block;
  width: 100%;
  margin-bottom: 1em;
  box-sizing: border-box;
}

/*loading*/
.m-loader {
  width: 100px;
  position: relative;
}

.m-loader::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.m-circular {
  animation: rotate 1.5s linear infinite;
  height: 100%;
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 50%;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.overlay {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  color: #555;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke: #d1d1d1;
  -webkit-animation: dash 1.5s ease-in-out infinite;
  animation: dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

/*progressbar*/
@-webkit-keyframes progress-bar-stripes {
  from {
    background-position: 1rem 0;
  }

  to {
    background-position: 0 0;
  }
}

@keyframes progress-bar-stripes {
  from {
    background-position: 1rem 0;
  }

  to {
    background-position: 0 0;
  }
}

.progress {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 1rem;
  overflow: hidden;
  font-size: 0.65625rem;
  background-color: #e9ecef;
  border-radius: 0.25rem;
  width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  z-index: 10000;
}

.progress-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #FFF;
  text-align: center;
  white-space: nowrap;
  background-color: #3973b9;
  -webkit-transition: width 0.6s ease;
  -o-transition: width 0.6s ease;
  transition: width 0.6s ease;
}

@media screen and (prefers-reduced-motion: reduce) {
  .progress-bar {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

.progress-bar-striped {
  background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}

.progress-bar-animated {
  -webkit-animation: progress-bar-stripes 1s linear infinite;
  animation: progress-bar-stripes 1s linear infinite;
}

/*==========================
  400left.html
==========================*/
/*typeselect*/
.selected_400 {
  background: #3973b9;
  color: #fff;
}

.type400 .select-right {
  border-left: transparent !important;
}

.typeselect.type400 {
  display: flex;
  align-items: center;
}

.type400 .option_title span {
  margin-top: 0;
}

/*pst_select*/
.layer_select_area {
  display: flex;
  margin-top: 1em;
  align-items: center;
  justify-content: space-between;
}

.top_layer_select .select-middle {
  border: none;
}

.typeselect .option_title {
  width: auto;
  border: none;
  max-width: 100px;
  margin-right: 5px;
}

.top_layer_select .option_title {
  margin-top: 0;
  align-self: center;
}

.top_layer_select label {
  white-space: nowrap;
}

.top_layer_select .option_title span {
  margin-top: 0;
}

.top_layer_select .typeselect_radio:checked+.typeselect_label {
  color: #434242;
}

.top_layer_select {
  height: 70px;
  display: flex;
}

.type400 .disabled {
  opacity: .5;
  pointer-events: none;
}

#layer1-select {
  background-color: transparent;
  background-image: url("../img/pst_select1.png");
  background-repeat: no-repeat no-repeat;
  background-size: 40px;
  background-position: center;
  border: 1px solid #424242;
  border-right: none;
}

#layer2-select {
  background-color: transparent;
  background-image: url("../img/pst_select2.png");
  background-repeat: no-repeat no-repeat;
  background-size: 40px;
  background-position: center;
  border: 1px solid #424242;
}

#layer3-select {
  background-color: transparent;
  background-image: url("../img/pst_select3.png");
  background-repeat: no-repeat no-repeat;
  background-size: 40px;
  background-position: center;
  border: 1px solid #424242;
  border-left: 0;
}

#layer1:checked+#layer1-select {
  background-image: url("../img/pst_selected1.png");
}

#layer2:checked+#layer2-select {
  background-image: url("../img/pst_selected2.png");
}

#layer3:checked+#layer3-select {
  background-image: url("../img/pst_selected3.png");
}

.layer_disabled {
  width: 100%;
  height: 55px;
  left: -1px;
  top: 3px;
  background: url("../img/delete.png") no-repeat center;
  background-size: contain;
  position: absolute;
  z-index: 50;
}

/*  responsive 
.layer_disabled {
  left: 50%;
  transform: translateX(-42.5px);
}
*/

.top_layer_select .typeselect_label {
  width: 40px;
}

.top_layer_select .typeselect_label span {
  font-size: 12px;
  display: block;
  margin-top: -10px;
}

.pst_amount_input {
  width: 6em;
  margin: 0 5px 0 10px;
}

.result_area {
  display: inline-flex;
  align-items: center;
}

.pst_result {
  border-bottom: 1px solid #181818;
  padding: 0.1em 0;
}

/*上ユニット表示*/
.top_display {
  margin-top: 1em;
  background-image: url(../img/top_unit_dot.png);
  background-repeat: repeat-x;
  background-size: contain;
}

.top_display .top_unit_item {
  background-image: url(../img/top_unit_selected_400.png);
  background-color: #d1d1d1;
  width: 6%;
  height: 30px;
}

.top_display_more {
  background-image: none !important;
  background-color: transparent !important;
}

/*carry_unit*/
.bottom_400 .carry_unit {
  margin: 1.3em auto;
}

/*下ユニット選択*/
.bottom_400 {
  height: 220px;
  flex-wrap: nowrap;
  overflow-x: scroll;
  overflow-y: hidden;
  margin-bottom: 0;
  -webkit-overflow-scrolling: touch;
  padding-left: 2%;
  position: relative;
}

.bottom_400::after {
  content: "\3000";
  min-width: 2%;
  height: 100px;
}

.bottom_400 input[name="dummy_bottom_type"]:checked+.bottom_type_label::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 45%;
  bottom: -5px;
  border-right: 0.5em solid transparent;
  border-bottom: 0.5em solid rgba(255, 255, 255, 0.8);
  border-left: 0.5em solid transparent;
  margin-left: 0.25em;
}

.bottom_400 .bottom_unit_item {
  position: relative;
  width: 150px;
}

.bottom_400 .bottom_detail::before {
  display: none;
}

.bottom_400 .bottom_detail {
  background-color: transparent;
  justify-content: flex-start;
  position: absolute;
  padding: 0;
}

.bottom_400 .bottom_type_items {
  background: #fff;
  height: 90px;
  align-self: center;
  padding-top: 0.5em;
}

.bottom_400 .bottom_detail_label {
  width: 85px;
}

.bottom_400 .bottom_none_btn {
  width: 85px;
}

.bottom_400 .bottom_type_items:first-of-type {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.bottom_400 .bottom_type_items:last-of-type {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.bottom_400 .bottom_type_img {
  width: 60px;
  margin: auto;
}

.bottom_400 .bottom_detail::before {
  left: 47% !important;
}

.bottom_400 #bottom_datail14, .bottom_400 #bottom_detail15, .bottom_400 #bottom_detail16, #bottom_detail17, .bottom_400 #bottom_detail18, .bottom_400 #bottom_detail19 {
  justify-content: flex-end;
}

/*clear_btn*/
.clear_400 {
  position: relative;
}

.clear_400 #unit_clear {
  position: absolute;
  right: 2%;
  bottom: 40px;
  cursor: pointer;
}

/*400right.html*/
.bottom-right .bottom_400::after {
  display: none;
}

.bottom-right .bottom_400::before {
  content: "\3000";
  min-width: 2%;
  height: 100px;
  order: 1;
}

/* 逆にしたかも（たかはし） */
.bottom-unit-wrapper-right:first-of-type {
  width: calc((100% - 40px * 5) /6 - 50px);
}

.bottom_unit:not(.bottom_400) .bottom-unit-wrapper:last-of-type {
  width: calc((100% - 40px * 5) /6 - 50px);
}

#right1 {
  order: 19;
}

#right2 {
  order: 18;
}

#right3 {
  order: 17;
}

#right4 {
  order: 16;
}

#right5 {
  order: 15;
}

#right6 {
  order: 14;
}

#right7 {
  order: 13;
}

#right8 {
  order: 12;
}

#right9 {
  order: 11;
}

#right10 {
  order: 10;
}

#right11 {
  order: 9;
}

#right12 {
  order: 8;
}

#right13 {
  order: 7;
}

#right14 {
  order: 6;
}

#right15 {
  order: 5;
}

#right16 {
  order: 4;
}

#right17 {
  order: 3;
}

#right18 {
  order: 2;
}

#right19 {
  order: 1;
}

.bottom-right .bottom_detail {
  justify-content: flex-end;
}

.bottom-right #bottom_detail14, .bottom-right #bottom_detail15, .bottom-right #bottom_detail16, .bottom-right #bottom_detail17, .bottom-right #bottom_detail18, .bottom-right #bottom_detail19 {
  justify-content: flex-start;
}

/*mmc400にselect追加*/
.bottom-unit-wrapper {
  display: flex;
  align-items: center;
  height: 100px;
}

.space-select {
  padding: 0.2em;
  margin: 0 3px;
  align-self: center;
}

.bottom-unit-wrapper .text-small {
  font-size: 10px;
  display: inline-block;
  margin-right: 3px;
}

.bottom_unit:not(.bottom_400) .bottom-unit-wrapper {
  width: calc((100% - 40px * 5)/ 6);
  flex-grow: 1;
}

.margin-select:disabled {
  color: grey;
  background-color: #dcdcdc;
}

/*---------------------------
turnkey.html
--------------------------*/
.turnkey .title {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 0;
}

.turnkey .title h1 {
  margin-bottom: 0;
}

.turnkey .option_select_area .result {
  padding: 0 10px;
  align-self: center;
}

.title.w_btn {
  display: flex;
  align-items: center;
}

.mode_select {
  margin-left: 20px;
  display: flex;
}

.mode_select label {
  width: 140px;
  box-sizing: border-box;
  display: block;
}

.turnkey .option_items .count {
  width: 5em;
  text-align: right;
}

.turnkey .option_items input[type="number"].count::placeholder {
  text-align: left;
}

.turnkey .option_items .option_inline {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 0;
}

.turnkey .option_items .option_inline div {
  width: 100%;
  flex-grow: 1;
}

.turnkey .option_items .option_inline div.count_wrapper {
  width: auto;
  flex-grow: 0;
  white-space: nowrap;
  min-width: 4em;
}

.select-type select:disabled {
  background: #dcdcdc;
  opacity: 0.6;
}

.turnkey .small_title {
  font-size: 12px;
  text-align: center;
  color: #636365;
}

.turnkey .option_items .note {
  width: 100%;
}

.turnkey .option_items .note textarea {
  width: 100%;
  height: 5em;
}

span.nowrap {
  white-space: nowrap;
}

.option_items.no-title {
  justify-content: flex-end;
}

/*検索modal*/
#select_parts, #estimate_condition {
  width: 680px;
  height: 430px;
  padding: 15px;
  overflow-y: auto;
  color: #181818;
}

.parts_detail {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid #181818;
  padding: 0 10px
}

.parts_detail:last-child {
  border-bottom: 0;
}

.parts_detail .parts_img {
  width: 150px;
  padding-right: 10px;
}

.parts_img img {
  width: 100%;
  height: auto;
}

.parts_detail .parts_title {
  flex-grow: 1;
  font-weight: bold;
}

.select_btn .button {
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.parts_detail_wrapper {
  height: 360px;
  overflow: auto;
  padding-right: 15px;
  margin-right: -15px;
}

.parts_detail.selected {
  background-color: #dfdfdf;
}

.selected .parts_img img {
  opacity: 0.6;
}

.selected .parts_title {
  color: #424242;
}

#estimate_condition .option_items {
  width: 100%;
}

.turnkey_error {
  box-sizing: border-box;
}

.turnkey_error .option_select_area {
  flex-wrap: wrap;
}

.turnkey_error .option_select_area p {
  width: 100%;
}

input.error {
  border-color: #dc3545;
  background: #f5c7cc;
}

/*responsive*/
@media screen and (max-width:834px) {

  /*top_unitの選択範囲調整*/
  .top_unit_item {
    height: 53px;
  }

  .top_unit_name {
    font-size: 12px;
  }

  /*bottom_unitの選択範囲調整*/
  .bottom_unit_item {
    height: 75.7px;
  }

  .bottom-unit-name {
    font-size: 12px;
    line-height: 1.1;
  }

  .bottom_selected_img {
    max-width: 55px;
    margin: auto;
    background-size: contain;
  }

  .bottom_unit_disabled {
    left: 50%;
    transform: translateX(-42.5px);
  }

  .errorbtn {
    width: 20px;
    height: 20px;
  }

  /*検索条件*/
  .search_condition_text {
    font-size: 12px;
  }

  /*一覧の調整*/
  .delete_btn {
    margin: 0 auto;
  }

  .table_button_area {
    text-align: center;
    white-space: normal;
  }

  /*400left.html 400right.html*/
  .pst_amount {
    margin-bottom: 5px;
  }

  .top_layer_select .typeselect_label {
    width: auto;
  }

  .bottom-unit-wrapper {
    height: 75.7px;
  }

  /* .bottom-unit-wrapper:last-of-type {
    min-width:112.5px;
  } */
  .bottom-unit-wrapper .bottom_unit_item {
    width: 112.5px;
  }

  /*turnkey*/
  .turnkey .option_items {
    width: 100%;
  }

  .turnkey .turnkey_error {
    padding-left: 35%;
  }
}

.closebtn {
  background-color: rgba(0, 0, 0, 0);
  background-size: contain;
  background-image: url(../img/close.png);
  background-repeat: no-repeat;
  background-position: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

/**機械台数追加対応**/
.top_unit.scrollable {
  overflow-x: auto;
  padding-bottom: 10px;
}

.top_unit.scrollable .top_unit_item {
  min-width: 54px;
  margin-right: 10px;
}

.top_unit.scrollable .top_unit_item:last-child {
  margin-right: 0;
}


.bottom-scrollable.bottom_unit {
  overflow-x: auto;
  overflow-y: hidden;
  left: 0;
  position: relative;
  height: 200px;
  margin-bottom: 0;
}

.bottom-scrollable+.clear_btn_area {
  position: relative;
  display: block;
}

.bottom-scrollable+.clear_btn_area .clear_btn {
  position: absolute;
  right: 2%;
  bottom: 40px;
  cursor: pointer;
}

.bottom-scrollable.bottom_unit .bottom-unit-wrapper {
  flex-grow: auto;
  width: auto !important;
}

.bottom-scrollable.bottom_unit .bottom_unit_item {
  min-width: 150px;
  width: calc((100% - 35px * 8)/ 9) !important;
  position: relative;
}

.bottom-scrollable.bottom_unit input[name="dummy_bottom_type"]:checked + .bottom_type_label::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 45%;
  bottom: -7px;
  border-right: 0.5em solid transparent;
  border-bottom: 0.5em solid rgba(255, 255, 255, 0.8);
  border-left: 0.5em solid transparent;
  margin-left: 0.25em;
}

.bottom-scrollable.bottom_unit .bottom_unit_item:last-of-type {
  width: calc((100% - 35px * 8)/ 9) !important;
}

.bottom-scrollable.bottom_unit .bottom-unit-wrapper .bottom_detail {
  top: 100px;
  width: 800px;
}

.bottom-scrollable.bottom_unit .bottom-unit-wrapper:nth-of-type(3) .bottom_detail,.bottom-scrollable.bottom_unit .bottom-unit-wrapper:nth-of-type(4) .bottom_detail,.bottom-scrollable.bottom_unit .bottom-unit-wrapper:nth-of-type(5) .bottom_detail,.bottom-scrollable.bottom_unit .bottom-unit-wrapper:nth-of-type(6) .bottom_detail,.bottom-scrollable.bottom_unit .bottom-unit-wrapper:nth-of-type(7) .bottom_detail {
  left: 50%;
  transform: translateX(-50%);
}
.bottom-scrollable.bottom_unit .bottom-unit-wrapper:nth-of-type(8) .bottom_detail,.bottom-scrollable .bottom_unit .bottom-unit-wrapper:last-of-type .bottom_detail {
  left: auto;
  right: 0;
}

.bottom-scrollable.bottom_unit .bottom-unit-wrapper .bottom_detail::before {
  content: none;
}

.display-duct {
  position: absolute;
  height: 100%;
  top: 0;
  right: 20px;
  padding: 5px 10px;
  box-sizing: border-box;
  border-radius: 3px;
  font-size: 18px;
  display: flex;
  align-items: center;
  font-weight: bold;
}

.display-duct .duct-title {
  font-size: 12px;
  display: inline-block;
  position: relative;
  padding-right: 1em;
  font-weight: bold;
}

.display-duct .duct-title::after {
  content: ':';
  position: absolute;
  top: 50%;
  right: 0.4em;
  transform: translateY(-50%);
}

.carry_unit.rail2 {
  background: url('../img/rail2.png');
  background-repeat: repeat-x;
  background-size: auto 30px;
  background-position: right center;
}

.carry_unit.rail2 .left {
  transform: rotate(180deg);
}