@charset "UTF-8";
/* CSS Document */
/*
GENERAL STYLING
================================================ */
section {
  position: relative;
  padding: 30px 0;
}
img {
  max-width: 100%;
}
a {
  text-decoration: none;
  color: #000;
}
.admission {
  margin: 0 4%;
}
.admission h2 {
  padding-bottom: 0.4em;
}
.admission h3 {
  padding-top: 0.2em;
}
.admission section {
  margin: 40px 0 0;
}
#entranceExam ul{
	padding: 1rem 0;
}
#entranceExam ul li:last-child{
	border-bottom: var(--gray) .8px solid;
}
.ad-link {
  border-top: var(--gray) .8px solid;
}
.ad-link a {
  width: 100%;
  height: 100%;
}
.ad-link-flex {
  padding: 3rem 0;
}
.ad-link-flex-date {
  display: flex;
  column-gap: .5rem;
}
.ad-link-flex-date p {
  width: 7rem;
  text-align: center;
  color: #fff;
  background: var(--green);
}
.ad-link-flex-date time {
  color: var(--green);
  font-weight: 500;
  flex: 1;
}
.ad-link-flex-content {
  padding: 1rem 0 0 7.5rem;
}
.ad-link-flex-content-p1 {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  text-decoration-line: underline;
}
.ad-link-flex-content-p2 {
  color: var(--green);
  font-weight: 400;
  margin-top: 1rem;
}
.ad-scheduleP :last-child {
  padding-left: 1em;
  text-decoration: none;
}
.ad-link-pref-span {
  display: inline-block;
}
.ad-link-square {
  display: inline-block;
  background: var(--green);
  border-radius: 8px;
  width: inherit;
  color: #fff;
  padding: .8rem 1.6rem;
	margin: 1rem 0;
}
/* ================== */
/* モバイル（縦並びカード型） */
/* ================== */
.ad-table, .ad-table thead, .ad-table tbody, .ad-table th, .ad-table td, .ad-table tr {
  display: block;
  width: 100%;
}
.ad-table thead {
  display: none; /* モバイルはヘッダー非表示 */
}
.ad-table tr {
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.ad-table td {
  display: block;
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
}
.ad-table td:last-child {
  border-bottom: none;
}
/* ラベル（上段） */
.ad-table td::before {
  content: attr(data-label);
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
  padding-left: 0; /* ラベルはインデントなし */
}
/* 内容（下段） */
.ad-table td span.content {
  display: block;
  padding-left: 1.5em; /* 内容だけインデント */
}
/* ================== */
/* PC表示（768px以上） */
/* ================== */
@media (min-width: 768px) {
  .ad-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }
  /* 見出し行 */
  .ad-table thead {
    display: table-header-group;
    background: #f5f5f5;
  }
  .ad-table thead th {
    display: table-cell;
    width: auto;
    border: 1px solid #ccc;
    padding: 8px;
    /* 中央揃え */
    text-align: center;
  }
  .ad-table thead th > div {
    display: inline-block; /* divをインラインブロックに */
    width: 100%;
    text-align: center; /* div内のテキストも中央 */
    white-space: nowrap; /* 改行させない */
  }
  /* ボディ行 */
  .ad-table tbody {
    display: table-row-group;
  }
  .ad-table tr {
    display: table-row;
  }
  .ad-table td {
    display: table-cell;
    border: 1px solid #ccc;
    padding: 8px;
    /* データセルは折り返す */
    white-space: normal;
    word-break: break-word;
  }
  /* 内容（下段） */
  .ad-table td span.content {
    display: block;
    padding-left: 0; /* 内容だけインデント */
  }
  .ad-table td::before {
    content: none;
  }
  /* 列幅 */
  .ad-table td:first-child, .ad-table th:first-child {
    width: 46%;
    text-align: left;
  }
  .ad-table td:nth-child(2), .ad-table th:nth-child(2) {
    width: 27%;
    text-align: left;
  }
  .ad-table td:nth-child(3), .ad-table th:nth-child(3) {
    width: 27%;
    text-align: center;
  }
  /* 右下罫線 */
  .ad-table td:last-child {
    border-bottom: 1px solid #ccc;
  }
}
/* 小型ノートPC -----------------------------------------*/
@media (min-width: 1280px) {
  .ad-link-flex {
    display: flex;
    padding: 3rem 0;
    align-items: flex-start;
    column-gap: 2rem;
  }
  .ad-link-flex-date {
    display: flex;
    column-gap: 4rem;
  }
  .ad-link-flex-date p {
    width: 14rem;
    text-align: center;
    color: #fff;
    background: var(--green);
  }
  .ad-link-flex-date time {
    color: var(--green);
    font-weight: 500;
    flex: 1;
  }
  .ad-link-flex-content {
    padding: 0;
  }
  .ad-link-flex-content-p1 {
    padding-left: 2rem;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    text-decoration-line: underline;
    border-left: solid var(--gray) 1px;
  }
  .ad-link-flex-content-p2 {
    padding-left: 2rem;
    color: var(--green);
    font-weight: 400;
    margin-top: 1rem;
  }
}
/* PC表示---------------------------------------------------*/
@media (min-width: 3768px) {}