﻿.tt_wrap {
  /* padding-bottom: 200px */
}

.tt_wrap .panels > .panel {
  display: none;
  border: none;
  box-shadow: none;
}

.tt_wrap .panels > .panel.active {
  display: block;
}

.tt_wrap .tabs {
  width: 100%;
  margin-top: 20px;
  text-align: center;
}

.tt_wrap .tab {
  display: inline-block;
}

.tt_wrap .tab.active {
  /* color: #fd9c13;
  background: #fff; */
  font-weight: bold;
}

.tt_wrap .tabs-parent .tab {
  width: 10em;
  padding: 15px 0;
  font-size: 120%;
}

.tt_wrap .levels {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.tt_wrap .levels a {
  display: inline-block;
  padding: 5px 0;
  margin: 0 5px;
  color: #999;
  width: 33%;
  max-width: 10em;
  font-feature-settings: "palt";
}

.tt_wrap .levels a.active {
  background-color: #fd9c13;
  font-weight: bold;
}

.tt_wrap .tabs-child {
  display: flex;
  justify-content: space-around;
  margin-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
}

.tt_wrap .tabs-child .weekend {
  font-size: 10px;
  position: relative;
  z-index: -10;
}

.tt_wrap .tabs-child .tab {
  background: transparent !important;
  line-height: 1.2;
  font-size: 12px;
  text-align: center;
  padding: 4px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #fff;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: -1px;
}

.tt_wrap .tabs-child .tab.active {
  /* color: #fff;
  background: #fd9c13 !important; */
  border: 1px solid #e8e8e8;
  border-radius: 8px 8px 0 0;
  margin-bottom: -1px;
  padding: 8px 40px;
}

.tt_wrap .panels {
  width: 100%;
  /* padding-bottom: 50px; */
  /* background-color: #fff */
}

.tt_wrap table {
  width: 1000px;
  margin: 0 auto;
  background: #fff url(../images/bg_timetable.png) center 50px;
  border-right: 1px solid #333;
  border-left: 1px solid #333;
  border-bottom: 1px solid #333;
  color: #000;
  border-collapse: collapse;
  box-sizing: border-box;
  table-layout: fixed;
  position: relative;
  z-index: 0;
}

@media only screen and (max-width: 960px) {
  .tt_wrap .tabs-parent .tab {
    width: 35vw;
  }

  .tt_wrap .table-pc {
    display: none;
  }

  .tt_wrap .tabs-child {
    justify-content: space-between;
  }

  .tt_wrap .tabs-child .tab {
    padding: 4px 6px;
  }

  .tt_wrap .tabs-child .tab.active {
    padding: 4px 6px;
  }
}

/* @media only screen and (min-width: 961px) {
  .tt_wrap .table-sp {
    display: block;
  }

  .tt_wrap .panels .panel {
    width: 1000px;
    margin: 0 auto;
  }
} */

.tt_wrap table tr th,
.tt_wrap table tr td {
  box-sizing: border-box;
  border-right: 1px solid #333;
  text-align: center;
}

.tt_wrap table th {
  vertical-align: top;
}

.tt_wrap table th.time {
  width: 100px;
}

.tt_wrap table tr td {
  height: 78px;
}

.tt_wrap table tr td:last-of-type {
  border-right: none;
}

.tt_wrap .first-row th {
  width: auto;
  height: 50px;
  background-color: #1e1e1e;
  border-top: none;
  border-left: none;
  border-bottom: none;
  border-right: 1px solid #fff;
  vertical-align: middle;
  text-align: center;
  color: #fff;
}

.tt_wrap .first-row th:last-of-type {
  border-right: none;
}

/* @media only screen and (min-width: 961px) {
  .tt_relative {
    position: relative;
  }

  .tt_relative .lessons {
    position: absolute;
    top: 0;
    left: 0;
  }
} */

.instBox {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.instBox:last-child {
  border-bottom: none;
}

.instBox .bottomBox {
  display: none;
}

.instBox.view .bottomBox {
  display: block;
}

.instBox .border {
  display: table-cell;
  width: 6px;
}

.instBox .detail {
  width: 100%;
  padding: 8px;
}

.instBox span {
  display: block;
}

.instBox .img {
  width: 100%;
  /* height: 100px; */
  object-fit: cover;
  aspect-ratio: 1;
}

.instBox .thumb {
  position: relative;
}

.instBox .thumb .class-date {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.instBox .week {
  padding: 2px 5px;
  margin-bottom: 5px;
  font-size: 12px;
  text-align: center;
  color: #fff;
  background: #999;
}

.lessons.week {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.lessons.week .instBox {
  width: calc(calc(100% - 60px) / 4);
  border: 1px solid #e8e8e8;
  padding-bottom: 12px;
}

@media only screen and (max-width: 960px) {
  .lessons.week .instBox {
    width: calc(calc(100% - 20px) / 2);
  }
}

.instBox .time {
  text-align: left;
  letter-spacing: 1px;
  line-height: 1.3;
  color: #000;
  padding: 4px 8px;
}

.instBox .genre {
  font-weight: bold;
  margin-bottom: 4px;
}

.instBox .genre .start,
.instBox .genre .limited {
  display: inline-block;
  padding: 0 3px;
  font-size: 10px;
  font-size: 1rem;
  font-weight: normal;
  color: #fff;
  border-radius: 3px;
}

.instBox .genre .start {
  background: #fff;
  color: #ff0100;
  border: solid 1px #ff0100;
}

.instBox .genre .limited {
  background: #ff0100;
  border: solid 1px #ff0100;
}

.instBox .studio-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: #e8e8e8; */
  height: 30px;
}

.instBox .name {
  font-size: 16px;
  line-height: 1.3;
  color: #000;
}

.instBox .studio {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  background-color: #c8d7f4;
  font-size: 14px;
  font-weight: bold;
  padding: 2px 8px;
  height: 100%;
}

@media only screen and (max-width: 960px) {
  .instBox .studio-time {
    flex-direction: column-reverse;
    height: auto;
  }

  .instBox .studio {
    width: 100%;
  }
}

.instBox .description {
  margin-top: 5px;
  font-size: 12px;
  font-size: 1.2rem;
}

.instBox .iconArea {
  margin-top: 5px;
}

.instBox .iconArea .icon {
  vertical-align: middle;
  margin-right: 3px;
}

.instBox .iconArea .text {
  display: inline-block;
  margin: 0 5px;
  font-size: 10px;
  font-size: 1rem;
  color: red;
}

@media only screen and (max-width: 960px) {
  .instBox {
    height: auto !important;
  }
}

/* @media only screen and (min-width: 961px) {
  .instBox {
    display: block;
    padding: 1%;
    width: 170px;
    overflow: hidden;
  }

  .studio .instBox {
    width: 125px;
    padding: 0;
  }

  .instBox span {
    display: block;
  }

  .instBox .genre .add {
    position: absolute;
    left: 0px;
    top: 100%;
  }

  .instBox .genre span {
    display: inline-block;
    padding: 0 3px;
    margin: 1px 0;
    font-size: 12px;
    font-size: 1.2rem;
    color: #fff;
    border-radius: 3px;
  }

  .instBox .genre .start {
    background: #fff;
    color: #ff0100;
    border: solid 1px #ff0100;
  }

  .instBox .genre .limited {
    background: #ff0100;
    border: solid 1px #ff0100;
  }

  .instBox .img {
    display: block;
    width: 100%;
    height: 84%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
  }

  .instBox .detail {
    position: absolute;
    bottom: 0;
    width: 100%;
  }

  .instBox .name {
    padding: 5px;
    background: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-size: 16px;
    color: #000;
  }

  .instBox .studio {
    padding: 2px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    font-size: 14px;
    color: #fff;
  }

  .instBox .time {
    padding: 5px;
    background: #42413d;
    text-align: center;
    font-size: 16px;
    color: #fff;
  }

  .instBox .iconArea {
    width: 100%;
    padding: 0 0 3px;
    text-align: center;
    background: #42413d;
  }

  .instBox .iconArea .icon {
    vertical-align: top;
    margin: 0 3px;
  }
} */

.instBox .btnBox {
  display: flex;
  flex-direction: column;
  width: 100%;
  font-size: 0;
  text-align: center;
  padding: 0 8px;
}

.instBox .btnBox .btn {
  align-self: flex-start;
  width: 100%;
  display: inline-block;
  margin-top: 5px;
  padding: 10px 3px;
  border-radius: 5px;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  color: #fff;
}

.instBox .btnBox .btnGreen {
  background: #e8e8e8;
  color: #1e1e1e;
}

.instBox .btnBox .btnGreen:hover {
  background: #d0d0d0;
}

.instBox .btnBox .btnPink {
  background: #cc0099;
}

.instBox .btnBox .btnPink:hover {
  background: #f229c0;
}

.instBox .btnBox .btnOff {
  background: #666;
  pointer-events: none;
}

/* @media print, screen and (min-width: 640px) {
  .instBox .btnBox {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    position: absolute;
    top: 0;
    transition: all 0.3s ease;
  }

  .instBox:hover .btnBox {
    opacity: 1;
    transition: all 0.3s ease;
  }

  .instBox .btnBox .btn {
    display: block;
    margin: 10px 5% !important;
    width: 90%;
  }
} */
