@charset "UTF-8";

.price-box {
  padding: 1rem;
  margin: 1rem;
  border: solid 1px #ccc;
  background-color: whitesmoke;
  color: #404040;
}

/* タブ */

.tab-box {
  display: flex;
  margin: 50px auto;
  color: #404040;
  background-color: #f1f1f1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
}

/*タブのスタイル*/

.tab-item {
  font-size: 16px;
  font-weight: bold;
  display: table;
  width: calc(100%/2);
  height: 50px;
  transition: all .2s ease;
  text-align: center;
  color: #565656;
  border-bottom: 2px solid #1e366a;
  background-color: #d9d9d9;
}

.tab-item:hover {
  opacity: .75;
  color: #7575eb;
}

.tab-item-label {
  display: table-cell;
  vertical-align: middle;
}

/* ラジオボタンを全消去 */

input[name='tab-item'] {
  display: none;
}

/* 各タブに対応するコンテンツ */

.tab-content {
  overflow: hidden;
  width: 100%;
  height: 0;
  opacity: 0;
}

/* 選択されたタブのコンテンツのみ表示 */

#tab1:checked ~ #tab1-content,
#tab2:checked ~ #tab2-content {
  overflow: auto;
  height: auto;
  padding: 40px;
  transition: .5s opacity;
  opacity: 1;
}

/* 選択されているタブのスタイルを変える */

.tab-box input:checked + .tab-item {
  color: #fff;
  background-color: #1e366a;
}

/* 価格テーブル */

.tbl-price {
  width: 100%;
  min-width: 820px;
  table-layout: fixed;
  border-collapse: collapse;
  background-color: #ffc;
}

.tbl-price,
.tbl-price thead,
.tbl-price tbody {
  border: 2px grey solid;
}

.tbl-price th,
.tbl-price td {
  border: 1px grey solid;
}

.tbl-price thead th:first-child,
.tbl-price tbody th:last-of-type {
  border-right: 2px grey solid;
}

.tbl-price col:first-child {
  width: 1.8rem;
}

.tbl-price col:first-child + col {
  width: 200px;
}

.tbl-price thead th {
  height: 2rem;
  background-color: #ff9;
}

.tbl-price tbody th {
  height: 2rem;
  text-align: left;
  background-color: #d9d9d9;
}

.tbl-price tbody th.category1 {
  height: auto;
  text-align: center;
  letter-spacing: .2rem;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.tbl-price tbody th:not(.category1) {
  padding-left: .5rem;
}

.tbl-price tbody td {
  text-align: center;
}

/* 価格表テーブルの空白セルには横線を表示（背景色黒で高さ1pxの疑似子要素を絶対配置で中央に表示） */

.tbl-price tbody td:empty {
  position: relative;
}

.tbl-price tbody td:empty::after {
  position: absolute;
  left: 30%;
  width: 40%;
  height: 1px;
  content: '';
  background-color: black;
}

/**/

.note {
  margin: 1em 0;
}

.note .note-title {
  font-size: 15pt;
  font-weight: bold;
  color: #950095;
}

.note ul {
  font-size: 10pt;
  font-weight: bold;
  padding-left: 1em;
  color: #63c;
}

.note ul li {
  line-height: 1.5;
  list-style-type: none !important;
}

.note ul li::before {
  display: inline-block;
  margin-right: 1em;
  content: '♪';
}