/* .tab-content {
    width: 50%;
    padding: 1em;
    box-sizing: border-box;
    display: none;
}

#tab1:checked~label[for="tab1"]+.tab-content {
    display: block;
}

#tab2:checked~label[for="tab2"]+.tab-content {
    display: block;
} */

/* タブ全体のレイアウト */
/* .tab-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 5px;
} */

/* タブボタンの見た目 */
/* .tab-switch>label {
    flex: 1;
    order: -1;
    position: relative;
    padding: .7em 3em;
    background-color: #f2f3f4;
    color: #999;
    text-align: center;
    cursor: pointer;
    transition: .3s all;
    margin-bottom: 2em;
} */

/* ホバー時 */
/* .tab-switch>label:hover {
    background-color: #757F96;
    color: #fff;
} */

/* チェックされたタブのラベル */
/* #tab1:checked+label,
#tab2:checked+label {
} */

/* ラジオボタンを非表示 */
/* .tab-switch input {
    display: none;
} */

/* タブコンテンツ */
/* .tab-switch>div {
    display: none;
    width: 100%;
    padding: 1.5em 0;
} */

/* @media only screen and (max-width: 550px) {
    .tab-switch>label {
        padding: 0 .5em;
    }

    .tab-switch>div {
        padding: 0;
    }
}  */



/* ラベルだけを並べる */
.tab-labels {
  display: flex;
  justify-content: center;
  /* flex-wrap: wrap; */
  /* gap: 10px; */
  margin-top: 8em;
  margin-bottom: 8em;
}


/* ラベル画像ボタン */
.tab-label {
  display: inline-block;
  width: 300px;
  height: 175px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
  cursor: pointer;
}

/* 通常・hover・checked 状態の画像切り替え */
.tab1-label {
  background-image: url('../images/ticket/tab/tab1.webp');
}

.tab1-label:hover,
#tab1:checked~.tab-labels label[for="tab1"] {
  background-image: url('../images/ticket/tab/tab1_on.webp');
}

.tab2-label {
  background-image: url('../images/ticket/tab/tab2.webp');
}

.tab2-label:hover,
#tab2:checked~.tab-labels label[for="tab2"] {
  background-image: url('../images/ticket/tab/tab2_on.webp');
}

.tab3-label {
  background-image: url('../images/ticket/tab/tab3.webp');
}

.tab3-label:hover,
#tab3:checked~.tab-labels label[for="tab3"] {
  background-image: url('../images/ticket/tab/tab3_on.webp');
}

/* inputは非表示 */
.tab-switch input {
  display: none;
}

/* タブの中身切り替え */
.tab-content {
  display: none;
}

#tab1:checked~#ticket,
#tab2:checked~#novelty,
#tab3:checked~#goods {
  display: block;
}

@media only screen and (max-width: 850px) {

  .tab-labels {
    /* margin-top: 6em;
    margin-bottom: 4em; */
  }

  .tab-label {
    width: 240px;
    height: 145px;
  }
}


@media only screen and (max-width: 500px) {

  .tab-labels {
    gap: 0px;
    margin-top: 6em;
    margin-bottom: 4em;
  }

  .tab-label {
    width: 145px;
    height: 100px;
  }
}

@media only screen and (max-width: 400px) {

  .tab-labels {
    gap: 20px;
    margin-top: 5em;
    margin-bottom: 3em;
  }

  .tab-label {
    width: 95px;
    height: 95px;
  }
}