table.dataTable thead>tr>th.sorting_asc:before, table.dataTable thead>tr>th.sorting_desc:after {
    color: #00ADD1 !important;
}

table.dataTable thead>tr>th.sorting:before, table.dataTable thead>tr>th.sorting:after {
    color: #00ADD1 !important;
}

table.dataTable thead>tr>th {
    text-align: center !important;
}

#list_case_table, #list_building_table {
    height: 100%;
}

.case-list tbody td.text-align-center {
    text-align: center !important;
}

.case-list tbody td.text-align-right {
    text-align: right !important;
}

.case-list tbody td.text-align-left {
    text-align: left !important;
}

.sidebar__action a.btn {
    text-align: center;
}

.sidebar__action a.btn:hover {
    cursor: pointer;
}

table.dataTable thead>tr>th.sorting:before {
    bottom: 30%;
}

table.dataTable thead>tr>th.sorting:after {
    top: 70%;
}

input.toggle__check {
    display: none;
}

/* jquery uiのツールチップのポジションを固定 */
.ui-tooltip, .arrow:after {
    position: absolute;
}



.bldgname__wrapper {
  border-left: 20px solid #00ADD1;
  margin-bottom: 0;
  padding: 0 30px 0 20px;
}

.bldgname {
  font-size: 32px;
  font-size: 32rem;
  font-weight: 300;
}

.bldgaddress {
  font-size: 16px;
  font-size: 16rem;
  border-bottom: 3px solid #fff;
  font-weight: 300;
  padding-bottom: 20px;
  position: relative;
}
.bldgaddress:after {
  bottom: -4px;
  border-bottom: 1px solid #DCE7EF;
  content: "";
  left: 0;
  position: absolute;
  width: 100%;
}

.bldg__wrapper {
  display: flex;
  flex-direction: row;
  gap: 20px;
  height: 100vh;
  overflow: hidden;
  width: 100%;
}

.bldginfo {
  background: #f5f5f5;
  min-width: 500px;
  width: 40vw;
}

.bldgdata {
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: scroll;
  padding: 20px;
  width: 100%;
}

.bldg-header {
  align-items: center;
  display: flex;
  gap: 10px;
  padding: 10px 0 10px 30px;
}

.bldgheader__ttl {
  font-size: 14px;
  font-size: 14rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.bldgname__wrapper {
  border-left: 20px solid #00ADD1;
  margin-bottom: 0;
  padding: 0 30px 0 20px;
}

.bldgname {
  font-size: 32px;
  font-size: 32rem;
  font-weight: 300;
}

.bldgaddress {
  font-size: 16px;
  font-size: 16rem;
  border-bottom: 3px solid #fff;
  font-weight: 300;
  padding-bottom: 10px;
  position: relative;
}
.bldgaddress:after {
  bottom: -4px;
  border-bottom: 1px solid #DCE7EF;
  content: "";
  left: 0;
  position: absolute;
  width: 100%;
}

.bldginfo__wrapper {
  padding: 10px 20px 20px 30px;
}

.bldginfo-summary {
  align-items: flex-end;
  border-bottom: 1px solid;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 6px;
}

.bldginfo__ttl {
  font-size: 16px;
  font-size: 16rem;
  font-weight: 300;
}

.bldginfo__value {
  font-size: 24px;
  font-size: 24rem;
}
.bldginfo__value.-yps:after {
  font-size: 16px;
  font-size: 16rem;
  content: "円/㎡";
  display: inline-block;
  font-weight: 300;
}
.bldginfo__value.-percent:after {
  font-size: 16px;
  font-size: 16rem;
  content: "%";
  display: inline-block;
  font-weight: 300;
}

.bldginfo__items {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0;
}
.bldginfo__items dt {
  font-weight: 300;
  padding-top: 2px;
  width: 30%;
}
.bldginfo__items dd {
  padding-top: 2px;
  width: 70%;
}

.bldgmap {
  border: 8px solid #FFF;
  height: 320px;
}

.bldgdata__items {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0;
}

.bldgdata__ttl {
  font-size: 16px;
  font-size: 16rem;
  font-weight: 300;
  margin-bottom: 20px;
}

.bldgdata__samples {
  border-top: 1px solid #4e4e4e;
  table-layout: fixed;
  margin-bottom: 10px;
  width: 100%;
}
.bldgdata__samples td {
  padding: 6px;
  text-align: right;
}
.bldgdata__samples td:first-child,
.bldgdata__samples td .tooltip__txt {
  text-align: left;
}
.bldgdata__samples thead td {
  background: #f5f5f5;
}
.bldgdata__samples tbody tr:nth-child(even) td {
  background: #f5f5f5;
}

.bldginfo-report__btn {
  background: #003951;
  border: 2px solid #003951;
  border-radius: 4px;
  color: #FFF;
  display: block;
  font-weight: 700;
  margin-bottom: 20px;
  padding: 10px;
  text-align: center;
  width: 100%;
}
.bldginfo-report__btn:hover {
  background: #FFD600;
  color: #003951;
  opacity: 1;
}

.aieva__wrapper {
  background: #f5f5f5;
  border-radius: 4px;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px;
  position: relative;
}

.aieva__ttl {
  font-size: 16px;
  font-size: 16rem;
  color: #003951;
  white-space: nowrap;
}

.aieva__txt {
  font-size: 14px;
  font-size: 14rem;
}
.aieva__txt span {
  font-size: 13px;
  font-size: 13rem;
  display: block;
}

.aieva-item__ttl {
  font-size: 14px;
  font-size: 14rem;
  font-weight: 700;
}

.aieva-item {
  align-items: center;
  display: flex;
  justify-content: space-between;
  height: 100%;
  padding-left: 30px;
}
.aieva-item progress {
  width: 100%;
  height: 10px;
}

.aieva-item__date {
  color: #4e4e4e;
  grid-column: span 2;
}

.aieva-action__wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  grid-column: span 2;
}

.aieva-item__value {
  font-size: 20px;
  font-size: 20rem;
  background: none;
  font-weight: 700;
  min-width: 130px;
  text-align: right;
  width: -moz-fit-content;
  width: fit-content;
}
.aieva-item__value:empty {
  background-image: url(/public/img/proprebase/aieva-bg.png);
  padding-left: 30px;
}
.aieva-item__value:after {
  font-size: 12px;
  font-size: 12rem;
  content: "円/㎡";
  font-weight: 400;
  padding-left: 4px;
}

.aieva__btn {
  align-items: center;
  background: #003951;
  border-radius: 4px;
  color: #FFF;
  display: flex;
  gap: 10px;
  font-weight: 700;
  height: -moz-min-content;
  height: min-content;
  padding: 10px;
  transition: all 0.1s linear;
  white-space: nowrap;
}
.aieva__btn:hover, .aieva__btn:active {
  background: #FFD600;
  color: #003951;
}
.aieva__btn:hover img, .aieva__btn:active img {
  filter: brightness(0) saturate(100%) invert(16%) sepia(28%) saturate(3289%) hue-rotate(170deg) brightness(93%) contrast(101%);
  transition: filter 0.1s linear;
}

.aieva__btn:disabled {
  background: #AFAFAF;
  border: none;
}
.aieva__btn:disabled:hover {
  color: #FFF;
}

.aieva__btn:disabled:hover img{
  filter: none;
}

#aieva-email-field{
  width: 100%;
  margin-top: 10px;
}

.dialog__close.cancel-txt{
  padding: 10px 30px;
}

#aieva-email-input .dialog__action{
  margin-top: 10px;
}

.bldg-alert {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.25);
  left: 50%;
  padding: 0 20px;
  position: fixed;
  top: 20px;
  transform: translateX(-50%);
  z-index: 100;
}
.bldg-alert__txt {
  font-size: 14px;
  font-size: 14rem;
  line-height: 53px;
  white-space: nowrap;
}

/* .-flash アニメーション */
@keyframes flash-bg {
  0%   { background-color: transparent; }
  50%  { background-color: rgba(255, 210, 0, 0.35); }
  100% { background-color: transparent; }
}

@keyframes flash-bg-even {
  0%   { background-color: #f5f5f5; }
  50%  { background-color: rgba(255, 210, 0, 0.65); }
  100% { background-color: #f5f5f5; }
}

/* バッジ：0.6秒で2回点滅 → 4秒ポーズ（計4.6秒サイクル） */
@keyframes flash-badge {
  0%,    3.2%  { background: #000; color: #fff; }
  3.3%,  6.4%  { background: #fff; color: #000; }
  6.5%,  9.7%  { background: #000; color: #fff; }
  9.8%,  13%   { background: #fff; color: #000; }
  13.1%, 100%  { background: #000; color: #fff; }
}

/* New! テキスト：26px枠内を右から左へスクロール */
@keyframes flash-new {
  0%   { text-indent: 28px; }
  100% { text-indent: -58px; }
}

.bldgdata__samples tr.-flash td {
  animation: flash-bg 4s ease-in-out infinite;
}

.bldgdata__samples tr.-flash:nth-child(even) td {
  animation-name: flash-bg-even;
}

.bldgdata__samples tr.-flash td:first-child {
  position: relative;
}

.bldgdata__samples tr.-flash td:first-child::after {
  content: "New!";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  color: #00ab3f;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  width: 26px;
  overflow: hidden;
  animation: flash-new 2s linear infinite;
}

dt.bldginfo__ttl.-flash {
  position: relative;
  padding-left: 22px;
}

dt.bldginfo__ttl.-flash::before {
  content: "変化\Aあり";
  white-space: pre;
  position: absolute;
  top: -4px;
  left: -10px;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  padding: 5px;
  border-radius: 14px;
  animation: flash-badge 4.6s linear infinite;
}

dd.bldginfo__value.-percent {
  font-weight: 700;
}

.bldginfo_wrapper{
    align-items: flex-end;
    display: flex;
    gap: 40px;
    justify-content: space-between;
}