﻿@charset "UTF-8";

.seminar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.seminar li {
  width: calc((100% - 16px) / 2);
  border-top: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 16px;
}

.seminar li:hover {
  opacity: 0.7;
}

.seminar li p:nth-of-type(1) {
  font-weight: bold;
  font-size: 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 7.0rem;
  background-color: #f5f5f5;
  border-bottom: 1px solid #dddddd;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.seminar li p:nth-of-type(1) span {
  display: inline-block;
  text-align: center;
}

.seminar li p:nth-of-type(2) {
  width: calc(100% - 32px);
  margin-top: auto;
  margin-right: auto;
  margin-bottom: 16px;
  margin-left: auto;
  background-color: #e70012;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 6px;
  padding-right: 48px;
  padding-bottom: 6px;
  padding-left: 48px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  position: relative;
}

.seminar li p:nth-of-type(2) img {
  position: absolute;
  height: 18px;
  width: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto 16px auto auto;
}

.seminar li a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.seminar .m-icon-pdf:before {
  display: none;
}

.seminar table {
  border-collapse: collapse;
  width: calc(100% - 48px);
  margin-top: 8px;
  margin-right: auto;
  margin-bottom: 16px;
  margin-left: auto;
}

.seminar table tbody tr td:nth-child(odd) {
  font-weight: normal;
  vertical-align: top;
  text-align: left;
  border: none;
  padding-top: 8px;
  white-space: nowrap;
}

.seminar table tbody tr td:nth-child(even) {
  font-weight: normal;
  vertical-align: top;
  text-align: left;
  border: none;
  padding-top: 8px;
  width: 100%;
}

@media screen and (max-width: 767px) {

  .seminar li {
    width: 100%;
  }

}