@charset "UTF-8";

/* ==========================================================================
   Lesson Schedule
========================================================================== */

/* ============
   notes
============ */
.page-top-content {
  padding-bottom: 2rem;
}
.page-top-content > div {
  line-height: 1.5;
  letter-spacing: 0;
}
.page-top-content .icon-list {
  list-style-type: none;
  margin-left: 0;
  padding: 2rem 0 0;
}
.page-top-content .pdf-download {
  padding: 2rem 15px 0;
}
.page-top-content .note {
  margin-top: 2rem;
}

@media (max-width: 480px) {
  .page-top-content ul {
    font-size: .625rem;
  }
}

/* ============
   Tab
============ */
.weeks {
  max-width: 898px;
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
}
.weeks li {
  flex-basis: 100%;
  text-align: center;
}


/* ============
   Tametable
============ */
/* ------ スケジュール表コンテナ ------ */
.schedule_container {
  position: relative;
}
/* ------ 休館日 ------ */
.schedule_container .closed {
  width: 100%;
  background-color: var(--l-gray);
  font-weight: 600;
  text-align: center;
  padding: 3em 0;
}
/* ------ タイムリスト(PC) ------ */
.timelist {
  position: absolute;
  top: 0;
  right: 100%;
  line-height: 1;
}
.timelist ul {
  list-style-type: none;
}
.timelist ul li {
  font-size: .75em;
  letter-spacing: 0;
  padding-right: 5px;
  transform: translateY(-.5em);
}
.timelist ul li:nth-of-type(even) {
  visibility: hidden;
}
/* ------ タイムラベル(SP) ------ */
.time-label {
  margin: 10px 0 5px;
  padding: 0 18px;
  font-weight: 700;
  color: var(--d-gray);
  text-align: center;
  position: relative;
  z-index: 2;
}
.time-label::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  border-top: 1px dotted var(--border1);
  position: absolute;
  top: 50%;
  left: 0;
}
.time-label span {
  padding: 0 .5em;
  background-color: #FFF;
  display: inline-block;
  position: relative;
}
/* ------ タイムテーブルコンテナ(PC) ------ */
.timetable {
  display: flex;
}
/* ------ タイムテーブルヘッダー(PC) ------ */
.timetable_header {
  display: flex;
}
.timetable_col_header {
  display: flex;
  align-items: center;
  text-align: center;
  height: 48px;
  background-color: var(--dd-gray);
  color: #FFF;;
}
.timetable_col_header .title {
  width: 100%;
  line-height: 1;
  border-right: 1px solid #FFF;
}
.timetable_col:last-of-type .timetable_col_header .title {
  border-right: 0;
}
/* ------ スタジオ毎のカラム(PC) ------ */
.timetable_col {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

/* ------ タイムテーブル セル(PC) ------ */
.timetable {
  border-left: 1px solid var(--border1);
}
.timetable_col_body {
  border-right: 1px solid var(--border1);
}
.timetable_col_body_inner {
  position: relative;
}
ul.timetable_cell {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
ul.timetable_cell li.cell {
  border-bottom: 1px dotted var(--border1);
}
ul.timetable_cell li.cell:last-of-type {
  border-bottom-style: solid;
}
/* ------ レッスン ------ */
.data-box {
  position: absolute;
  letter-spacing: 0;
  line-height: 1.25;
}
.data-box_inner {
  background-color: var(--l-gray);
  margin: 0 2px;
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.data-box p {
  margin-bottom: 0;
}
.data-box .data-box_head {
  background-color: var(--black);
  color: #FFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  padding: 0 .25rem;
}
.data-box .data-box_head > span {
  display: inline-block;
}
.data-box .data-box_head .badge {
  color: var(--color1);
  border: none;
}
.data-box .data-box_body {
  height: calc(100% - 26px);
  position: relative;
}
.data-box .icon {
  position: absolute;
  top: .25rem;
  right: .25rem;
}

.data-box .data {
  padding: .25rem .5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.data-box .title {
  font-weight: 700;
}
.data-box .level {
  margin-bottom: .25rem;
  font-size: .75em;
}
.data-box .info {
  margin-bottom: .25rem;
  font-size: .75em;
}

.data-box .avatar {
  background-position: center top;
  background-size: cover;
}
.data-box .prof {
  padding: 0 .5rem;
  opacity: .75;
}
.data-box .prof .name {
  display: block;
  font-weight: 600;
  font-size: 90%;
}
.data-box .prof .team {
  display: block;
  width: 100%;
  font-weight: 400;
  font-size: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.data-box .overlay-links {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.75);
  visibility: hidden;
  opacity: 0;
  transition: .2s ease-in-out;
}
.data-box:hover .overlay-links {
  visibility: visible;
  opacity: 1;
}
.data-box .overlay-links .inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.data-box .overlay-links a {
  display: block;
  width: 80%;
  padding: .75rem 1rem;
  margin: .25rem auto;
  border-radius: .25rem;
  background-color: #FFF;
  text-decoration: none;
  position: relative;
}
.data-box .overlay-links a::before {
  content: '\f30b';
  display: block;
  font-size: 1em;
  font-family: 'Line Awesome Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}
.data-box .overlay-links a:hover {
  background-color: rgba(255,255,255,.8);
}

@media only screen and (max-width: 991px) {
  .schedule_container {
    margin-top: 15px;
    border: 0;
  }
  .timetable_header {
    display: none;
  }
  .timelist {
    display: none;
  }
  .timetable {
    display: none;
  }
  .schedule {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: -3px;
    margin-left: -3px;
  }
  .time-label {
    flex: 0 0 100%;
  }
  .data-box {
    width: 100% !important;
    max-width: 275px;
    height: auto !important;
    position: static !important;
    margin-bottom: 10px;
  }
  .data-box .data-box_inner {
    border: 2px solid var(--black);
    border-top: 0;
    min-height: 126px;
  }
  .data-box .data-box_body {
    display: grid;
    grid-template-columns: 80px 1fr;
  }
  .data-box .data-box_body .avatar {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
  }
  .data-box .data-box_body .data {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }
  .data-box .data-box_body .name {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  } 
}
@media only screen and (min-width: 992px) {
  .lesson-list {
    max-width: 1650px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem;
  }
  .time-label {
    display: none;
  }
  .data-box_inner {
    background-color: var(--black);
  }
  .data-box .data-box_head .studio {
    display: none;
  }
  .data-box .data-box_body {
    color: #FFF;
  }
  .data-box .data {
    height: calc(100% - 2rem);
  }
  .data-box .prof {
    height: 2rem;
  }
  .data-box .avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    -webkit-filter:grayscale(100%);
    -moz-filter:grayscale(100%);
    -ms-filter:grayscale(100%);
    filter:grayscale(100%);
    opacity: .3;
  }
}
@media only screen and (min-width: 991px) {
  .data-box {
    font-size: .875rem;
  }
}
