/*
 * Safariでのデフォルトスタイルをリセット
 * そのうちbuttonタグに置き換えることを推奨
 */
input[type="submit"],
input[type="button"],
a[type="submit"],
a[type="button"] {
  -webkit-appearance: none;
}

label {
  margin-bottom: 1px;
}
.btn-primary {
  background-color: #68c9f2;
  border-color: #68c9f2;

}
.btn-primary:hover {
  background-color: #30b8f3;
  border-color: #30b8f3;
}
.btn-blue {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
}
.btn-blue:hover {
  background-color: #286090;
  border-color: #204d74;
  color: white;
}
.btn-pink {
  background-color: #E25468;
  border-color: #E25468;
  color: white;
}
.btn-pink:hover {
  background-color: #d2394e;
  border-color: #d2394e;
  color: white;
}

.btn-green {
    background-color: #33cc00;
    border-color: #33cc00;
    color: white;
}
.btn-green:hover {
    background-color: #60B251;
    border-color: #60B251;
    color: white;
}

.bg-pink {
  background-color: #E25468 !important;
}
.bg-blue {
  background-color: #68c9f2 !important;
}
.navbar-dark .navbar-nav .nav-link {
  color: hsla(0,0%,100%,.75);
}
.navbar-dark .navbar-nav .nav-link:hover {
  color: white;
}
.navbar-brand img {
  width: 240px;
}
@media screen and (max-width: 420px) {
  .navbar-brand img {
    width: 180px;
  }
}
.page-item.active .page-link {
  z-index: 0 !important;
}
.table th, .table .thead-light th {
  background-color: #d1effb;
}
.table td, .table th,
.table-bordered, .table-bordered td, .table-bordered th,
.table .thead-light th {
  border-color: #ccc;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.table-bordered thead td, .table-bordered thead th {
  border-bottom-width: 1px;
}
@media screen and (min-width: 576px) {
  /* table {
    table-layout: fixed;
  } */
  td {
    white-space: normal !important;
    word-wrap: break-word;
  }
}

main {
  background-color: #f4f7fa !important;
}
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #595656;
  color: white;
  text-align: center;
}

.photo img {
  max-width: 100%;
}

#preview img,
.photo-parts .preview img {
  /* max-width: 100%; */
  object-fit: contain;
  height: auto;
}
.btn-detail, .btn-submit {
  border-radius: 0 !important;
}
.section-header {
  background-color: #17a2b8;
  border-colr: #17a2b8;
  color: white;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  width: 130px;
  padding: .25rem .5rem;
  font-size: 1rem;
  line-height: 1.5;
}
.badge-custom {
  background-color: #68c9f2;
  color: #fffcdb;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  padding: .375rem .75rem;
  font-size: .9rem;
  line-height: 1.6;
}

span.required {
  display: inline-block;
  font-size: smaller;
  color: white;
  background-color: #e4002b;
  text-align: center;
  vertical-align: middle;
  padding: 0 8px;
  margin-left: 5px;
}


/*  balloon */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-clip: border-box;
}

.balon1, .balon2 {

	margin-top: 5px !important;
	margin-bottom: 5px !important;

}

.balon1 > div {
  max-width: 75%;
  text-align: right;
}

.balon2 > div {
  max-width: 75%;
  text-align: left;
}


.balon1 a {

	background: #42a5f5;
	color: #fff !important;
	border-radius: 20px 20px 3px 20px;
	display: inline-block;
	padding: 7px 13px 7px 13px;

}

.balon1:before {

	content: attr(data-is);
	position: absolute;
	right: 15px;
	bottom: -1em;
	display: block;
	font-size: .750rem;
	color: rgba(84, 110, 122,1.0);
}

.balon2 a {

	background: #f1f1f1;
	color: #000 !important;
	border-radius: 20px 20px 20px 3px;
	display: inline-block;
	padding: 7px 13px 7px 13px;

}

.balon2:before {

	content: attr(data-is);
	position: absolute;
	left: 13px;
	bottom: -1em;
	display: block;
	font-size: .750rem;
	color: rgba(84, 110, 122,1.0);

}

.form-control::placeholder{
  color: #bbb!important;
}

/* IE */
.form-control input:-ms-input-placeholder {
  color: #bbb!important;
}

/* Edge */
.form-control input::-ms-input-placeholder {
  color: #bbb!important;
}

/*
 * tableのレスポンシブ表示（カード）テスト
 */

@media screen and (max-width: 640px) {
  .tbl-r05 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px 8px;
  }
  .tbl-r05 .thead {
    display: none;
  }
  .tbl-r05 tr {
    width: 100%;
  }
  .tbl-r05 td {
    display: block;
    text-align: right;
    width: 100%;
    min-height: 54px;
    border:none;
    border-top: 1px solid;
    border-color: #dee2e6;
    background-color: white;
  }
  .tbl-r05 td:last-child > a{
    color: white
  }
  .tbl-r05 td:first-child {
    background: #d1effb;
    font-weight: bold;
  }
  .tbl-r05 td:last-child {
    box-shadow: 1px 1px 2px grey;
  }
  .tbl-r05 td:before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    margin-right: 10px;
  }
}

/*
 * 検索フォームのCSS調整
 */

.form-group {
  margin-left:0px;
  margin:10px auto;
  width: 80%;
}

.form-group select,
.form-group input,
.form-group a{
  margin-bottom: 5px;
}

.search-btn-area {
  margin:5px auto;
}

/*
 * 査定依頼の上限超過アラート
 */

 /*
#popup {
    position: fixed;
    left: 10%;
    top: 10%;
    width: 80%;
    padding: 10px;
    background-color: white;
    border: 2px solid grey;
    border-radius: 5px;
    text-align: center;
}
*/

#submit_btn {
    width: 50%;
    margin: 10px auto;
}

#additional_order_btn {
  width:45%;
  margin:auto;
  margin-left: 4%;
  margin-right: 2%;
}

#cancel_btn {
    width: 45%;
    margin: 0 auto;
}

#popup_text {
    margin-bottom: 10px;
}

 .touchGard {
  display: none;
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 100;
  background-color:#ced4da;
  opacity: 70%;
  top:0;
 }

 .order-limit-alert {
  font-size: 16px;
  width: 90%;
  left: 5%;
  top: 10%;
  position: absolute;
  background-color:white;
  border: 1px solid #ced4da;
  padding: 2rem;
  margin-bottom: 2rem;
  z-index: 999;
 }

 .order-limit-alert h3 {
  text-align: center;
  border-bottom:2px solid #ccc;
 }

 .order-limit-alert .btn {
  margin:auto;
 }


 #popup_text {
  text-align: left;
  font-size: 1.1rem;
  margin:1.5rem auto;
  width:48.5rem;
 }

 @media screen and (max-width: 896px) {
  .order-limit-alert  {
    top: 3%;
  }

  .order-limit-alert h3 {
   font-size:1rem;
 }

  #popup_text {
    width:100%;
    font-size:0.9rem;
  }
 }

/*
 * br管理
 */
/*---スマホ時改行--*/
@media screen and (max-width: 480px) {
.pc-br{display:none;}
.tb-br{display:none;}
.sp-br{display:block;}
}
/*---タブレット時改行--*/
@media screen and (min-width:481px) and (max-width: 1020px) {
.pc-br{display:none;}
.tb-br{display:block;}
.sp-br{display:none;}
}
/*---PC時改行--*/
@media screen and (min-width:1021px){
.pc-br{display:block;}
.tb-br{display:none;}
.sp-br{display:none;}
}

/*
 * btnへの追記
 */

 .btn-middle {
  min-width:140px;
  margin:5px 5px;
 }

/* 会社情報 */
 .componyProfile-detail {
  margin-top:3px;
  margin-left: 10px;
  margin-bottom: 10px;
  font-size:1rem;
 }

/*
 * 査定ステータスのラベルカラー
 */

.confirmed-status-unassessed  {
  background-color: #ffe33f;
  border: solid 1px rgb(218, 195, 57);
  color:black;
}

.confirmed-status-assessed  {
  background-color: cornflowerblue;
  border: solid 1px gray;
  color:white;
}

/*
 * 検索用UIボタンを調整
 */

.search-btn-area {
  justify-content: flex-start;

}
@media screen and (max-width: 640px) {
  .search-btn-area {
    justify-content: center;
  }
}

.section-title {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 24px;
  color: #337ab7;
  font-weight: bold;
  margin: 20px 0;
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 20px;
  }
}

