﻿@charset "utf-8";

/* ############################################################################################################
   ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ Desktop PC ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
   ############################################################################################################ */

section.schedule {
  margin-bottom: 3rem;
}

/***************section class="schedule"*****************/
#pagination {
  margin-top: 1.5rem;
  text-align: center;
}

#pagination ul {
  display: inline-block;
  vertical-align: bottom;
}

#pagination ul::after {
  content: "";
  clear: both;
  display: block;
}

#pagination li {
  float: left;
  width: auto;
}

#pagination li a {
  display: block;
  margin: 0 3px;
  padding: 3px 12px;
  border: 1px solid #cccccc;
  border-radius: 10px;
  font-size: 1.4rem;
}

#pagination li a.hover {
  background-color: #eeeeee;
}

#pagination li a.current {
  background-color: #666666;
  color: #ffffff;
}

#pagination li a.disabled {
  color: #cccccc;
  cursor: default;
  border: none;
}

#pagination li a.disabled:hover {
  background-color: transparent;
}

#pagination li #pagination_prev {
  padding-left: 6px;
  padding-right: 12px;
}

#pagination li #pagination_prev::after {
  content: "前のページへ";
}

#pagination li #pagination_next {
  padding-left: 12px;
  padding-right: 6px;
}

#pagination li #pagination_next::before {
  content: "次のページへ";
}

#pagination li #pagination_currentpage {
  display: none;
}

.schedule_cation {
  margin-top: 1.0rem;
  padding: 0 .5rem;
  font-size: 1.2rem;
}

section.schedule table:nth-of-type(n + 2) {
  display: none;
}

section.schedule table, section.schedule td, section.schedule th, section.schedule tr {
    border: 0;
    box-sizing: border-box;
}

section.schedule table {
    font-size: 1.3rem;
    width: 100%;
    margin-top: 2rem;
}

section.schedule th, section.schedule td, section.schedule tr {
    padding: 0 .5em;
}

section.schedule th {
    font-size: 1.4rem;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
}

section.schedule td {
    height: 4em;
    padding-right: 1rem;
}

section.schedule td:nth-child(3) {
    font-size: 1.4rem;
}

section.schedule tr:nth-child(odd) {
    background: #f7f7f7;
}

section.schedule tr:first-child {
    background: white;
}

/*section.schedule tr:nth-child(n+8) {
    display: none;
}*/

section.schedule th:nth-child(3) {
    width: 33%;
}

section.schedule th:nth-child(1) {
    width: 8.5%;
}

section.schedule th:nth-child(2) {
    width: 8.5%;
}

section.schedule th:nth-child(4) {
    width: 20%;
}

section.schedule th:nth-child(5) {
    width: 30%;
}

/* ############################################################################################################
   ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ Tablet ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
   ############################################################################################################ */

@media (max-width: 1023px) {
    section.schedule {
        margin-bottom: 3rem;
    }
    /**************MAIN CONTENTS****************/
    /***************section class="schedule"*****************/
    section.schedule th, section.schedule td, section.schedule tr {
        padding: 0.1em .5em;
    }
    section.schedule th {
        display: none;
    }
    section.schedule tr {
        position: relative;
        display: block;
    }
    section.schedule tr:first-child {
        /*border-top: 1px solid #eee;*/
    }
    section.schedule td {
        display: block;
        height: inherit;
        padding-right: 0;
    }
    section.schedule td:nth-child(1)::before {
        content: "";
    }
    section.schedule td:nth-child(2)::before {
        content: "～ ";
    }
    section.schedule td:nth-child(3)::before {
        content: "";
    }
    section.schedule td:nth-child(4)::before {
        content: "[会　場] ";
    }
    section.schedule td:nth-child(5)::before {
        content: "[連絡先] ";
    }
    section.schedule td:nth-child(1) {
        padding-top: .5em;
        padding-bottom: 0;
        display: inline-block;
        width: initial;
        width: auto;
    }
    section.schedule td:nth-child(2) {
        padding-top: .5em;
        padding-bottom: 0;
        display: inline-block;
        width: initial;
        width: auto;
        padding-left: 0;
    }
    section.schedule td:nth-child(3) {
        padding-top: 0;
        font-weight: bold;
        width: 95%;
    }
    section.schedule td:nth-child(3)::after {
        display: block;
        content: "";
    }
    section.schedule td:nth-child(5) {
        /*For bottom margin adjustment*/
        padding-bottom: .5em;
    }
}

/* ############################################################################################################
   ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ Mobile phone ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
   ############################################################################################################ */

@media (max-width: 767px) {
    section.schedule {
        margin-bottom: 3rem;
    }
    /**************MAIN CONTENTS****************/
    /***************section class="schedule"*****************/
    #pagination li a.pagination_page {
      display: none;
    }

    #pagination li #pagination_prev::after {
      content: "前へ";
    }

    #pagination li #pagination_next::before {
      content: "次へ";
    }

    #pagination li #pagination_currentpage {
      display: block;
      margin: 0 3px;
      padding: 3px 12px;
      font-size: 1.4rem;
    } 
}