@charset "utf-8";
/* CSS Document */

/* ===================================
セミナー共通
=================================== */
* {
    box-sizing: border-box;
    line-break: strict;
}

p {
    letter-spacing: 0.1em;
}

.ib {
    display: inline-block;
}

.top-text {
    margin-bottom: 39px;
    padding: 0px 20px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
}

/* タブ
==============================　*/

.tab-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.tab-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto 64px;
  padding: 0px 20px;
}

.tab {
  color: #aaa;
  font-size: 18px;
  line-height: 1.3;
  padding: 10px 10px;
  margin-bottom: 20px;
  transition: 0.5s;
  letter-spacing: 0.1em;
}

.tab a {
  display: block;
  color: #aaa;
  transition: 0.5s;
}

.tab a:hover {
  opacity: 0.5;
}

.tab-br {
  display: none;
}

.tab:last-child {
  margin-right: 0px;
}

.tab.is-active {
  color: #000;
  font-weight: bold;
  display: block;
  position: relative;
  transition: 0.5s;
}

.tab.is-active a {
  color: #000;
  transition: 0.5s;
}

.tab.is-active:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  /*下線の上下位置調整*/
  display: inline-block;
  width: 30px;
  /*下線の幅*/
  height: 4px;
  /*下線の太さ*/
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translate(-50%);
  /*位置調整*/
  background-color: #cdae64;
  /*下線の色*/
  transition: 0.5s;
}

@media screen and (max-width: 768px) {
  .tab-group {
    align-items: center;
    margin-bottom: 34px;
    padding: 0;
  }

  .tab {
    width: 30%;
    margin-right: 0;
    padding: 0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    text-align: center;
  }

  .tab-br {
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .tab {
    font-size: 14px;
  }
}

@media screen and (max-width: 500px) {
  .tab{
    width: 40%;
  }
}

@media screen and (max-width: 420px) {
  .tab-group {
    align-items: center;
    margin-bottom: 34px;
  }
}

@media screen and (max-width: 380px) {
  .tab {
    font-size: 12px;
  }
}

/* セミナーリスト
==============================　*/
.page-seminar__inner {
    max-width: 840px;
    margin: 0 auto;
}

.seminar-list {
    padding: 0px 20px;
}

.seminar-box {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
    border: 1px solid #aaa;
    letter-spacing: 0.05em;
}

.seminar-box:last-child {
    margin-bottom: 0;
}

.seminar-box__date {
    max-width: 130px;
    width: 100%;
    /*margin-right: 30px;*/
    padding: 20px 24px;
    background-color: #f3f3f3;
    height: auto;
}

.seminar-box__date p {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.seminar-box__date p span {
    font-size: 70%;
    font-weight: normal;
    letter-spacing: 0.05em;
}

/*IE対策*/
@media all and (-ms-high-contrast: none) {
    .seminar-box__date {
        padding: 20px 10px;
    }

    .seminar-box__date p {
        font-size: 18px;
    }
}

/*セミナーボックス（コンテンツ内）*/
.seminar-box__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px 15px 30px;
    line-height: 1.2;
}

.seminar-box__content p {
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.seminar-text p:last-child {
    margin-bottom: 0;
}

.seminar-box__content .seminar-time {
    margin-bottom: 9px;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

.seminar-text {
    width: calc(100% - 220px);
    margin-right: 20px;
}

.seminar-link {
    max-width: 200px;
    width: 100%;
}

.seminar-link .btn-main {
    font-size: 16px;
}

@media screen and (max-width: 996px) {}

@media screen and (max-width: 768px) {
    .seminar-box__date {
        padding: 10px;
    }

    .seminar-box__content {
        padding: 10px;
    }
}

@media screen and (max-width: 600px) {
    .seminar-box__date {
        display: flex;
        align-items: center;
        padding: 20px;
    }

    .seminar-box__content {
        flex-direction: column;
        padding: 20px;
    }

    .seminar-text {
        width: 100%;
        margin-bottom: 20px;
        margin-right: 0;
    }
}

/*IE対策*/
@media all and (-ms-high-contrast: none) and (max-width: 600px) {
    .seminar-box__date {
        padding: 20px 5px;
    }

    .seminar-box__date p {
        font-size: 16px;
    }
}

@media screen and (max-width: 420px) {
    .seminar-box {
        flex-direction: column;
    }

    .seminar-box__date {
        justify-content: center;
        max-width: 100%;
        padding: 20px;
        border-bottom: 1px solid #aaa;
    }

    .seminar-box__date p {
        font-size: 18px;
    }

    .seminar-box__content .seminar-time {
        font-size: 16px;
    }

    .seminar-box__content {
        flex-direction: column;
        padding: 20px;
    }

    .seminar-text {
        margin-bottom: 20px;
    }
}
