@charset "UTF-8";

/* 全体 */
#contents * {
  box-sizing: border-box;
}
#contents img {
  margin: 0 auto;
}

/* table */
.tables {
  margin-top: 1rem;
}
table,
th,
td {
  border: solid 1px #aaa;
  border-collapse: collapse;
}
th,
td {
  padding: 0.15rem 0.5rem;
}
table {
  width: 100%;
}
table:has(+ table) {
  margin-bottom: 0.75rem;
}
tr:nth-of-type(odd) {
  background-color: #fff; /* 偶数 */
}
tr:nth-of-type(even) {
  background-color: #f1f9ff; /* 奇数 */
}
th {
  line-height: 1;
  font-size: 0.8em;
  font-weight: normal;
  text-align: center;
  background-color: #f4f4f4;
}
td {
  font-size: 0.9em;
}
th.first,
td.first {
  width: 5% !important;
}
td.first {
  writing-mode: vertical-rl; /* 縦書き */
  text-align: center;
  letter-spacing: 0.1em;
}
td:last-of-type {
  width: 17.5%;
}
table .coop {
  display: inline-block;
  background-image: url(./images/coop.png);
  background-size: contain;
  background-repeat: no-repeat;
  width: 1.8rem;
  height: 1rem;
  margin-right: 0.15rem;
  vertical-align: -0.15rem;
}
td:has(.price-red) {
  font-size: 0.7em;
}
.price-red {
  font-weight: bold;
  color: #ff0000;
}
.price-red .big {
  font-size: 1.6em;
}
.small {
  font-size: 0.8em;
}

td.type01 {
  background-color: #6fa4e9;
}
td.type02 {
  background-color: #bbe7ff;
}
td.type03 {
  background-color: #ffa4c1;
}
td.type04 {
  background-color: #ffc7d9;
}
td.type05 {
  background-color: #afe499;
}
td.type06 {
  background-color: #e0ffd3;
}
td.type07 {
  background-color: #ffe0c7;
}

/* SP */
@media screen and (max-width: 679px) {
  .scrollX {
    overflow-x: scroll;
  }
  /* .tables {
    width: 140%;
  } */
  .tables .w50p:has(+ .w50p) {
    margin-bottom: 0.75rem;
  }
  td {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  td:has(.coop) {
    width: 70%;
    line-height: 1.6 !important;
  }
  td:last-of-type {
    width: 25%;
  }
}
