@charset "UTF-8";
#estimate_page h3.sub_ttl {
  margin-bottom: 0;
}
#estimate_page h3.sub_ttl:not(:first-child) {
  margin-top: 30px;
}
#estimate_page .form .table {
  margin-top: 10px;
}
#estimate_page .form .table dl dt,
#estimate_page .form .table dl dd {
  padding: 20px 0;
}
#estimate_page .form .table dl dd .list {
  flex-wrap: wrap;
  display: flex;
  gap: 7px 0;
  justify-content: space-between;
}
#estimate_page .form .table dl dd .list::after {
  content: "";
  display: block;
  width: 33%;
}
#estimate_page .form .table dl dd .list li {
  width: 33%;
}
#estimate_page .service_list li.active {
  border: 2px solid #5590cb;
}
#estimate_page .select_change_sec {
  height: 1px;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  transform: translateX(100%);
  visibility: collapse;
}
#estimate_page .select_change_sec.active {
  height: auto;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}
#estimate_page .option p {
  font-size: 0.9em;
}
#estimate_page .option ul.tag {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  color: #fff;
  gap: 5px;
}
#estimate_page .option ul.tag li {
  width: auto;
  color: #333;
  font-size: 0.7em;
  list-style: 1;
  padding: 0 5px;
  border-radius: 5px;
  border: 1px solid #999;
}
#estimate_page .template_num_sec ul {
  justify-content: space-around;
}
#estimate_page .template_num_sec ul li {
  width: 40%;
}
#estimate_page .order_type_sec {
  padding: 0;
}
#estimate_page .order_type_sec ul li {
  width: 32%;
}
#estimate_page .order_type_sec ul li figure {
  width: 80%;
}
#estimate_page .order_type_sec ul li:nth-child(-n+3) {
  margin-bottom: 10px;
}
#estimate_page .people_print_num .select {
  padding-left: 10px;
}

#selected_service h3 {
  background-color: #005bac;
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 5px 0;
}
#selected_service .list {
  box-shadow: 0 0 2px #aaa;
}
#selected_service .list dl {
  border-bottom: 1px solid #ccc;
  padding: 10px 10px;
  cursor: pointer;
}
#selected_service .list dl dt {
  margin-bottom: 0px;
  color: #005bac;
  font-weight: bold;
  text-align: center;
}
#selected_service .list dl dd {
  color: #005bac;
  font-size: 0.9em;
  font-weight: 500;
  text-align: center;
}
#selected_service .list dl dd .template:hover {
  opacity: 0.4;
}
#selected_service .list dl dd figure.horizon {
  width: 100%;
}
#selected_service .list dl dd figure.vertical {
  width: 60%;
  margin: 0 auto;
}
#selected_service .list dl dd .btn {
  margin-top: 10px;
}
#selected_service .list dl dd .btn a {
  padding: 5px 0;
}

#first_estimate .select_service li {
  pointer-events: all;
}
#first_estimate .order003 li,
#first_estimate input[type=button] {
  opacity: 0.4;
  pointer-events: none;
}
#first_estimate .order003 li.show,
#first_estimate input[type=button].show {
  opacity: 1;
  pointer-events: all;
}

/**ーーーーーーーーーーーーーーーーーー
/*
/*  見積もり項目追加
/*
ーーーーーーーーーーーーーーーーーー*/
.item_btn_sec {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}
.item_btn_sec li,
.item_btn_sec div {
  margin: 0 !important;
  padding: 0 !important;
  width: 160px !important;
  text-indent: 0;
  background-color: khaki;
}

.insert_estimate_item .select_item {
  padding: 30px 0;
  justify-content: space-around;
  gap: 10px;
}
.insert_estimate_item .select_item li {
  background-color: #005bac;
  color: #fff;
  text-align: center;
  cursor: pointer;
  display: block;
  width: 100%;
  padding: 5px;
  border-radius: 3px;
}
.insert_estimate_item .table {
  width: 100%;
}
.insert_estimate_item .table dl dt,
.insert_estimate_item .table dl dd {
  padding: 10px;
  border-bottom: 1px solid #999;
  vertical-align: middle;
}
.insert_estimate_item .table dl dt .list,
.insert_estimate_item .table dl dd .list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.insert_estimate_item .table dl dt .list::after,
.insert_estimate_item .table dl dd .list::after {
  display: block;
  content: "";
  width: 48%;
}
.insert_estimate_item .table dl dt .list li,
.insert_estimate_item .table dl dd .list li {
  width: 48%;
  margin-bottom: 5px;
}
.insert_estimate_item .table dl dt {
  text-align: center;
}

@media screen and (max-width: 780px) {
  #estimate_page .form .table dl dt {
    display: block;
    padding: 8px 10px;
    font-weight: bold;
    text-align: left;
    background-color: #5590cb;
    color: #fff !important;
    width: 100%;
    border: none !important;
  }
  #estimate_page .form .table dl dt br {
    display: none;
  }
  #estimate_page .form .table dl dt .required_icon {
    display: inline-block;
    text-align: center;
    margin-left: 1em;
  }
  #estimate_page .form .table dl dd {
    display: block;
    padding: 15px 0;
    width: 100%;
    border: none !important;
    margin-bottom: 20px;
  }
  #estimate_page .form .table dl dd .list li {
    width: 49%;
  }
  #selected_service {
    display: block;
  }
  #selected_service .list dl {
    display: flex;
    align-items: center;
  }
  #selected_service .list dt {
    padding: 10px 0;
    text-align: center;
    width: 25%;
  }
}
@media screen and (max-width: 480px) {
  #estimate_page .order_type_sec {
    padding: 0;
  }
  #estimate_page .order_type_sec ul li {
    width: 49%;
    font-size: 0.9em;
  }
  #estimate_page .order_type_sec ul li figure {
    width: 70%;
  }
  #estimate_page .order_type_sec ul li label {
    padding-left: 0;
  }
  #estimate_page .order_type_sec ul li label::before, #estimate_page .order_type_sec ul li label::after {
    top: 10px;
  }
}