table.comparison {
  max-width: 600px;
  margin: 30px auto 30px;
  position: relative;
  font-size: 16px;
  font-family: YakuHanJP, "Noto Sans JP", sans-serif;
}

table.comparison thead {
  position: sticky;
  top: 0;
  font-size: .8em;
  z-index: 10;
}

table.comparison thead th {
  text-align: center;
  padding: 5px;
}

table.comparison thead th div {
  color: #fff;
  border-radius: 3em;
  white-space: nowrap;
  padding: .25em .75em;
}

table.comparison thead th div.is-other {
  background: #C9ACA0;
}

table.comparison thead th div.is-sz {
  background: #BC9169;
}

@media screen and (max-width: 767px) {
  table.comparison thead th div{
    text-align: left;
  }
  table.comparison tbody {
    font-size: 12px;
  }
}

table.comparison tbody tr {
  border-top: 2px solid #fff;
}

table.comparison tbody th,
table.comparison tbody td {
  padding: 20px 10px;
  vertical-align: middle;
}

table.comparison tbody th {
  white-space: nowrap;
  text-align: center;
  color: #fff;
  padding: 20px 5px;
}

table.comparison tbody th.is-1 {
  background: #F46767;
}

table.comparison tbody th.is-2 {
  background: #FDAB39;
}

table.comparison tbody th.is-3 {
  background: #91C6C2;
}

table.comparison tbody td {
  background: #F7F7F7;
}

@media screen and (min-width: 768px) {
  table.comparison tbody td {
    font-size: .8em;
  }
}

table.comparison tbody td:not([class]) {
  padding-left: 0;
}

table.comparison tbody td.icon {
  white-space: nowrap;
  width: 50px;
  text-align: center;
}

table.comparison tbody th+td.icon {
  border-right: 2px solid #fff;
  border-left: 2px solid #fff;
}

table.comparison tbody td.icon img {
  max-width: none;
  width: 20px;
}

table.comparison tbody td a {
  display: block;
  text-align: right;
  font-size: .8em;
}