@charset "UTF-8";

.seikaku-main{
  gap: 12px;
}

.seikaku-title{
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  margin: 6px 0 2px;
}

/* カード（topic/life と同系） */
.seikaku-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.seikaku-card-title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
}

.seikaku-empty h2{
  margin: 6px 0 6px;
  font-size: 18px;
}
.seikaku-empty p{
  margin: 0 0 10px;
  opacity: .75;
}

.seikaku-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  text-decoration: none;
  color: #111;
  font-weight: 900;
}

/* 表（カード内） */
.seikaku-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.seikaku-table th,
.seikaku-table td{
  border: 1px solid rgba(0,0,0,.12);
  padding: 10px;
  vertical-align: top;
}

.seikaku-table th{
  background: rgba(0,0,0,.04);
  font-weight: 900;
}

.th-left{ width: 34%; }
.th-right{ width: 66%; }

.td-left{
  font-weight: 900;
  white-space: nowrap;
}
.td-right{
  line-height: 1.8;
}

/* 右下固定切替ボタン（topicと同じ） */
.seikaku-switch{
  position: fixed;
  right: 14px;
  bottom: calc(var(--footer-h) + 14px);
  z-index: 10001;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(20,20,20,.88); /* 真っ黒じゃない */
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.seikaku-switch:active{ transform: translateY(1px); }