.tableLayout-vertical {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN',
    'Hiragino Sans', Meiryo, sans-serif !important;
}

.tableLayout-vertical p.comment {
  padding-bottom: 0.5rem;
}

.tableLayout-vertical > div {
  overflow-x: auto;
  position: relative;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.tableLayout-vertical table {
  table-layout: fixed;
  border: 1px solid #f5639b;
  background: #fff;
}

.tableLayout-vertical table tr.emphasis_true {
  border: 8px solid #fc3;
  border-radius: 2px;
}

.tableLayout-vertical table tr th,
.tableLayout-vertical table tr td {
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  border: none;
  box-sizing: border-box;
}

/* th */
.tableLayout-vertical table tr th {
  position: relative;
  width: 64px !important;
  padding: 11px 0 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  background: #f5639b;
  border-bottom: 1px solid #ddd;
}

.tableLayout-vertical table tr th:last-child {
  border-bottom: none;
}

/* td */
.tableLayout-vertical table tr td {
  padding: 10px 5px;
  border-left: 1px solid #ddd !important;
  border-bottom: 1px solid #ddd !important;
  width: 96px;
}
.tableLayout-vertical table tr:nth-child(2) td {
  border-left: none !important;
}

.tableLayout-vertical table tr td:last-child {
  border-bottom: none !important;
}

.tableLayout-vertical table tr td.ranking {
  background-color: #fff7fb;
}
.tableLayout-vertical table tr td.ranking::before {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.tableLayout-vertical table tr:nth-child(2) td.ranking::before {
  background-image: url(../images/rank1.png);
}
.tableLayout-vertical table tr:nth-child(3) td.ranking::before {
  background-image: url(../images/rank2.png);
}
.tableLayout-vertical table tr:nth-child(4) td.ranking::before {
  background-image: url(../images/rank3.png);
}

.tableLayout-vertical table tr td.name span a {
  display: block;
  margin-bottom: 0.25em;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #2432ff;
}

.tableLayout-vertical table tr td.name span img {
  max-height: 50px;
  width: auto;
  margin-bottom: 0 !important;
}
.tableLayout-vertical table tr td.evaluation_star span.evaluation {
  color: #fc6621;
  font-size: 20px;
  font-weight: bold;
}

.tableLayout-vertical table tr td.evaluation_star span.star i {
  color: #ffcc33;
}

.tableLayout-vertical table tr td.detail a {
  display: inline-block;
  box-sizing: content-box;
  width: 6em;
  padding: 8px 7px !important;
  color: #fff;
  font-size: 12px;
  line-height: 14px;
  text-decoration: none;
  background: #ff3d6e;
  border-radius: 5px;
  box-shadow: 0 2px 0 #b32b4e;
  position: relative;
  overflow: hidden;
}
.tableLayout-vertical table tr td.detail a::after {
  content: '';
  display: block;
  width: 30px;
  height: 100%;
  position: absolute;
  top: -180px;
  left: 0;
  background-color: #fff;
  opacity: 0;
  transform: rotate(40deg);
  /* reflection from rankinglayout */
  animation: reflection 5s ease-in-out infinite;
  -webkit-transform: rotate(40deg);
  -webkit-animation: reflection 5s ease-in-out infinite;
}

/* vertical
 * ---------------- */
.tableLayout-vertical table {
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr; /* 追加 */
}

.tableLayout-vertical table tr th span,
.tableLayout-vertical table tr td span,
.tableLayout-vertical table tr td.detail a {
  -webkit-writing-mode: horizontal-tb;
  -ms-writing-mode: lr-tb;
  writing-mode: horizontal-tb; /* 追加 */
  clear: both;
}

/* sticky
 * ---------------- */
.tableLayout-vertical table tr th {
  position: -webkit-sticky;
  position: sticky;
  left: -1px;
  z-index: 1;
}

/* safari 
 * ---------------- */
_::-webkit-full-page-media,
_:future,
:root .tableLayout-vertical table tr th {
  min-height: 80px;
}

_::-webkit-full-page-media,
_:future,
:root .tableLayout-vertical table tr th.name {
  min-height: 90px;
}

_::-webkit-full-page-media,
_:future,
:root .tableLayout-vertical table tr th.job-vacancies,
:root .tableLayout-vertical table tr th.inexperienced,
:root .tableLayout-vertical table tr th.area {
  min-height: 40px;
}

_::-webkit-full-page-media,
_:future,
:root .tableLayout-vertical table tr th.detail {
  min-height: 70px;
}

_::-webkit-full-page-media,
_:future,
:root .tableLayout-vertical table tr td > span {
  white-space: nowrap;
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN',
    'Hiragino Sans', Meiryo, sans-serif !important;
}

_::-webkit-full-page-media,
_:future,
:root .tableLayout-vertical table tr td.name span,
:root .tableLayout-vertical table tr td.feature span.wrapper,
:root .tableLayout-vertical table tr td.detail span {
  white-space: inherit;
}

_::-webkit-full-page-media,
_:future,
:root .tableLayout-vertical table tr td.name span img {
  width: 80px;
  max-width: inherit;
  height: auto;
  max-height: inherit;
}

_::-webkit-full-page-media,
_:future,
:root .tableLayout-vertical table tr td.feature span.inner {
  display: block;
  width: 80px;
}

_::-webkit-full-page-media,
_:future,
:root .tableLayout-vertical table tr span.evaluation_image img {
  max-width: initial;
}
