@charset "utf-8";

/* === .fBox (flexBox) === */
@media screen and (min-width: 768px){
  .fBox {
    display: -webkit-box;
    display: flex;
  }
}

/* === #contents === */
.calendar {
  justify-self: center;
}
table.type01 {
	width: 100%;
}
table.type01 th {
	background-color: #efece7;
	border-left: 1px solid #aaa;
	border-right: 1px solid #aaa;
  padding: 6px 12px;
  text-align: left;
  white-space: nowrap;
  font-weight: normal;
}
table.type01 tr.row-term th {
  border-top: 1px solid #aaa;
  font-weight: 700;
}
table.type01 tr.row-term th:first-child {
  border-right: none;
}
table.type01 tr.row-term th:last-child {
  border-left: none;
  border-bottom: 1px solid #aaa;
}
table.type01 td {
	background-color: #fff;
  border-right: 1px solid #aaa;
	padding: 6px;
	margin: 1px;
}
table.type01 tr.row-term {
  border-left: none;
}
table.type01 tr:last-child {
  border-bottom: 1px solid #aaa;
}
table.type01 tr.row-schedule th{
  text-align: right;
}
table.type01 tr.row-schedule + tr.row-schedule td {
  border-top: 1px solid #ddd;
}
@media not all and (min-width: 768px){
  table.type01 tr.row-term th {
    padding: 6px;
  }
  table.type01 tr.row-schedule th {
    padding: 6px 6px 6px 18px;
  }
}

/* === #relation === */
#relation .head__line__relation {
  font-weight: 700;
  font-size: calc((18 / 16 * 1rem));
  letter-spacing: 0.1em;
  line-height: 1.3;
  position: relative;
  margin-bottom: 15px;
  padding: 5px;
  padding-left: 20px;
}
#relation .head__line__relation::before {
  content: "";
  background-color: #871c25;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  top: 0;
  height: 50%;
  width: 1px;
}
#relation .head__line__relation::after {
  content: "";
  background-color: #a3898f;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  top: 0;
  height: 50%;
  width: 1px;
  top: 50%;
}
@media (min-width: 768px) {
  #relation .head__line__relation {
    font-size: calc((30 / 16 * 1rem));
    padding-bottom: 10px;
    margin-bottom: 38px;
    padding-top: 10px;
  }
  #relation .head__line__relation::before,
  #relation .head__line__relation::after {
    width: 2px;
  }
}
#relation .btnBox a.btnBlank {
  border: 1px solid #d1d1d1;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  transition: all 0.3s ease;
}
#relation .btnBox a.btnBlank::after {
  content: "";
  display: block;
  background-image: url(/assets/img/common/icn_blank.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  border: none;
  transform: none;
  position: unset;
  margin-left: 8px;
}
#relation .btnBox a.btnBlank:link,
#relation .btnBox a.btnBlank:visited {
  color: #000;
}
@media screen and (min-width: 768px){
  #relation .fBox {
    flex-wrap: wrap;
  }
  #relation .btnBox {
    width: calc((100% - 24px)/ 3);
    margin-left: 12px;
  }
  #relation .btnBox:nth-child(3n+1) {
    margin-left: 0;
  }
  #relation .btnBox:first-child {
    margin-left: 0;
  }
  #relation .btnBox:nth-child(n+4) {
    margin-top: 12px;
  }
  #relation .btnBox a {
    width: 100%;
  }
  #relation .btnBox {
    width: calc((100% - 24px) / 3);
  }
  #relation .btnBox a.btnBlank {
    height: 60px;
    padding: 0;
  }
  #relation .btnBox a.btnBlank:hover {
    color: #7e0017;
    opacity: 0.7;
  }
}
@media not all and (min-width: 768px){
  #relation .btnBox {
    margin-top: 8px;
  }
  #relation .btnBox:first-child {
    margin-top: 0;
  }
  #relation .btnBox a.btnBlank {
    padding: 8px;
  }
  #relation .btnBox a.btnBlank:active {
    color: #7e0017;
    opacity: 0.7;
  }
}

