:root {
  --color-main: #7C6FD1;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-border: #e0e0e0;
  --shadow: 0 0 5px rgba(102, 102, 102, 0.20);
  --font-pretendard: "Pretendard", sans-serif;
  --font-redhatdisplay: "Red Hat Display", sans-serif;
  --th-background: #f9f9f9;
  --th-fontColor: #111;
  --th-fontSize: 1.7rem;
  --td-background: #f9f9f9;
  --td-fontColor: #222;
  --td-fontSize: 1.6rem;
}

.font70 {
  --fontsize: 7.0rem;
  font-size: var(--fontsize);
}

.font60 {
  --fontsize: 6.0rem;
  font-size: var(--fontsize);
}

.font50 {
  --fontsize: 5.0rem;
  font-size: var(--fontsize);
}

.paging {
  margin: 70px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.paging .arr,
.paging ul {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.paging a {
  font-size: 1.6rem;
  font-weight: 600;
  position: relative;
  transition: all 0.6s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.paging ul {
  column-gap: 13px;
  padding: 0 40px;
}
.paging ul li {
  margin: 0 !important;
}
.paging ul li a {
  width: 30px;
  height: 30px;
  color: #333;
  border-radius: 50%;
  transition: all 0.4s;
}
.paging ul li:hover a, .paging ul li.on a {
  background: var(--color-main);
  color: var(--color-white);
}
.paging ul li:hover a::after, .paging ul li.on a::after {
  width: 100%;
}
.paging .arr {
  column-gap: 20px;
}
.paging .arr i {
  color: #666;
}
.paging .arr .first i,
.paging .arr .last i {
  margin: 0 -11px;
}

select {
  border: none;
  outline: none;
  appearance: none;
  -o-appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: #fff url("/img/sub/arrow_select.png") no-repeat calc(100% - 25px) center;
}
select::-ms-expand {
  display: none;
}

textarea {
  resize: none;
}

.check-box,
.radio-box,
.check-box label,
.radio-box label {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.check-box input[type=checkbox] {
  border: 1px solid #ddd;
  cursor: pointer;
}
.check-box input[type=checkbox]:checked {
  background: #7C6FD1 url("/img/sub/icon_check_white.png") no-repeat center/60%;
  border-color: #7C6FD1;
}

.radio-box:not(.type-button) input[type=radio] {
  width: 20px;
  height: 20px;
  background: var(--color-white);
  border: 1px solid #666;
  border-radius: 50%;
  cursor: pointer;
}
.radio-box:not(.type-button) input[type=radio]:checked {
  background: #fff url("/img/sub/icon_radio.png") no-repeat center;
  border-color: #7C6FD1;
}

.search-box,
.search-box .inner,
.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box {
  width: 100%;
  height: 180px;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 20px 60px;
  margin-bottom: 60px;
}
.search-box select {
  padding: 0 25px;
}
.search-box input[type=text] {
  padding: 0 30px;
}
.search-box input[type=text]::placeholder {
  color: #ccc;
  font-size: 1.7rem;
}
.search-box .search-button {
  width: 180px;
  background: var(--color-main);
  border-radius: 5px;
  color: var(--color-white);
}
.search-box .inner {
  width: 100%;
}
.search-box .inner > * {
  height: 60px;
  border-radius: 5px;
  font-size: 1.7rem;
  font-family: var(--font-pretendard);
}
.search-box .inner > *:not(input[type=text]) {
  flex-shrink: 0;
}
.search-box .radio-box.type-circle {
  column-gap: 15px;
}
.search-box .radio-box.type-circle label {
  column-gap: 5px;
}
.search-box .radio-box.type-circle + .check-box {
  max-width: 615px;
  column-gap: 30px;
}
.search-box .basic {
  column-gap: 15px;
}
.search-box .basic select,
.search-box .basic button {
  flex-shrink: 0;
}
.search-box .basic select {
  width: 31.75%;
}
.search-box .basic input[type=text] {
  width: 100%;
}
.search-box .detail {
  column-gap: 10px;
}
.search-box .detail > div {
  height: 60px;
}
.search-box .detail > div label {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.search-box .detail > div input {
  cursor: pointer;
}
.search-box .detail > div span {
  font-size: 1.7rem;
}
.search-box .detail .radio-box.type-button {
  column-gap: 10px;
}
.search-box .detail .radio-box.type-button label {
  width: 150px;
  height: 60px;
  position: relative;
}
.search-box .detail .radio-box.type-button input[type=radio],
.search-box .detail .radio-box.type-button span {
  width: 100%;
  height: 100%;
}
.search-box .detail .radio-box.type-button input[type=radio] {
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.search-box .detail .radio-box.type-button input[type=radio]:checked + span {
  background: var(--color-main);
  color: var(--color-white);
}
.search-box .detail .radio-box.type-button span {
  background: var(--color-white);
  border: 1px solid #7C6FD1;
  border-radius: 5px;
  color: var(--color-main);
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-box .detail .radio-box.type-button + .check-box {
  max-width: 530px;
  column-gap: 20px;
}
.search-box .detail .check-box {
  width: 100%;
  max-width: 615px;
  column-gap: 30px;
  background: var(--color-white);
  border-radius: 5px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-box .detail .check-box label {
  column-gap: 10px;
}
.search-box .detail .check-box input[type=checkbox] {
  width: 25px;
  height: 25px;
  border-radius: 5px;
  background: #fff url("/img/sub/icon_check_gray.png") no-repeat center/60%;
}
.search-box .detail .check-box input[type=checkbox]:checked {
  background: #7C6FD1 url("/img/sub/icon_check_white.png") no-repeat center/60%;
  border-color: #7C6FD1;
}
.search-box .detail .check-box span {
  color: #333;
}
.search-box .detail input[type=text] {
  width: 100%;
  max-width: 400px;
}
.search-box .simple {
  column-gap: 30px;
}
.search-box .simple select {
  width: 300px;
}

.board-box *,
.view-box *:not(.content) {
  font-family: var(--font-pretendard);
}

table th:not(:last-child) {
  position: relative;
}
table th:not(:last-child)::after {
  content: "";
  display: block;
  width: 1px;
  height: 15px;
  background: #e0e0e0;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.board-box {
  border-top: 1px solid #222;
}
.board-box table {
  table-layout: fixed;
}
.board-box table th, .board-box table td {
  height: 100px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}
.board-box table th {
  color: #111;
  font-size: 1.7rem;
  background: #f9f9f9;
}
.board-box table td {
  color: #666;
  font-size: 1.6rem;
}
.board-box table td > a {
  color: #222;
  font-size: 1.7rem;
  font-weight: 500;
}
.board-box table td.left {
  text-align: left;
}
.board-box table td.subject {
  padding: 0 20px;
}
.board-box table td.subject a {
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.board-box table tr.top td {
  background: rgba(124, 111, 209, 0.1);
}
.board-box table tr.top td i {
  color: var(--color-main);
}
.board-box table tr.top td a {
  font-weight: 600;
}
.board-box.course table td {
  height: 145px;
}
.board-box.course table td .flex-box {
  column-gap: 25px;
  align-items: center;
  margin: 15px 0 0;
}
.board-box.course table td .flex-box p {
  color: #666;
  font-size: 1.7rem;
}
.board-box.course table td .flex-box b {
  font-weight: 600;
}
.board-box.course table td .flex-box hr {
  width: 1px;
  height: 8px;
  background: #e0e0e0;
  border: none;
  margin: 0;
}

.gallery-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 60px;
  column-gap: 40px;
}
.gallery-box .img {
  position: relative;
  overflow: hidden;
}
.gallery-box .img img {
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gallery-box .text {
  margin: 20px 0 0;
}
.gallery-box .text * {
  font-family: var(--font-pretendard);
}
.gallery-box .text h6 {
  height: 2.6em;
  color: #222;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 15px;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.gallery-box .text span {
  color: #666;
}
.gallery-box.vertical .img {
  padding: 56.755% 0;
}
.gallery-box.horizontal .img {
  padding: 36.485% 0;
}

.view-box {
  border-top: 1px solid var(--color-main);
}
.view-video {
  padding: 28.125% 0;
  position: relative;
}
.view-video iframe,
.view-video video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.view-box .top {
  flex-direction: column;
  row-gap: 30px;
  border-bottom: 1px solid #e0e0e0;
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.view-box .top h4 {
  height: 1.3em;
  color: #222;
  font-size: 3.2rem;
  font-weight: 600;
  text-align: center;
  -webkit-line-clamp: 1;
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.view-box .top .flex-box {
  column-gap: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.view-box .top p {
  color: #666;
}
.view-box .top p b {
  color: #222;
  font-weight: 600;
}
.view-box .content {
  padding: 60px 0;
}
.view-box .content * {
  word-break: break-all;
  white-space: normal;
}
.view-box .file-box,
.view-box .preview-box {
  display: flex;
  flex-direction: column;
}
.view-box dl {
  column-gap: 15px;
  padding: 0 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.view-box dl dt {
  width: 135px;
  flex-shrink: 0;
  color: #222;
  font-weight: 500;
  position: relative;
}
.view-box dl dt::after {
  content: "";
  display: block;
  width: 1px;
  height: 20px;
  background: #e0e0e0;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.view-box dl dd a {
  height: 1.32em;
  color: #666;
  transition: all 0.4s;
  -webkit-line-clamp: 1;
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.view-box .file-box {
  row-gap: 40px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  padding-top: 25px;
  padding-bottom: 25px;
}
.view-box .file-box dl dd {
  width: 100%;
}
.view-box .file-box dl dd:hover a {
  color: var(--color-main);
}
.view-box .file-box a,
.view-box .file-box div {
  display: flex;
}
.view-box .file-box a {
  column-gap: 20px;
  justify-content: space-between;
}
.view-box .file-box div {
  column-gap: 8px;
}
.view-box .file-box div i {
  transform: translateY(0.12em);
}
.view-box .preview-box {
  row-gap: 10px;
  margin-top: 60px;
}
.view-box .preview-box dl {
  height: 70px;
  background: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}
.view-box .preview-box dl dt i {
  margin: 0 15px 0 0;
}
.view-box .form-button {
  width: 180px;
  height: 60px;
  column-gap: 10px;
  background: var(--color-main);
  border-radius: 5px;
  margin: 130px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.view-box .form-button * {
  color: var(--color-white);
  font-size: 1.7rem;
}
.view-box .form-button span {
  font-weight: 700;
}

@media (max-width: 1400px) {
  .search-box .detail {
    flex-wrap: wrap;
    row-gap: 10px;
  }
}
@media (max-width: 1200px) {
  .paging ul {
    column-gap: 10px;
    padding: 0 20px;
  }
  select {
    background-position: calc(100% - 20px) center;
  }
  .search-box {
    height: auto;
    padding: 40px;
  }
  .search-box select,
  .search-box input[type=text] {
    padding: 0 20px;
  }
  .search-box .basic select {
    width: 26%;
  }
  .board-box table th,
  .board-box table td {
    height: 80px;
  }
  .board-box.registration table colgroup,
  .board-box.registration table thead {
    display: none;
  }
  .board-box.registration table tr {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
    position: relative;
  }
  .board-box.registration table td {
    height: auto;
    order: 2;
    border-bottom: none;
  }
  .board-box.registration table td.subject {
    order: 1;
    width: 100%;
    padding: 0;
  }
  .board-box.registration table td.subject a {
    text-align: left;
  }
  .board-box.registration table td.after::after {
    content: "|";
    color: #999999;
    font-size: 1.4rem;
    margin: 0 10px;
  }
  .board-box.registration table td.margin-right {
    order: 3;
    margin: 0 0 0 auto;
  }
  .gallery-box {
    row-gap: 40px;
    column-gap: 20px;
  }
  .view-box .top {
    row-gap: 20px;
    padding: 40px 0;
  }
  .view-box .top h4 {
    font-size: 2.6rem;
  }
}
@media (max-width: 960px) {
  .search-box .search-button {
    width: 140px;
  }
  .search-box .simple select {
    width: 240px;
  }
  .board-box.course table colgroup,
  .board-box.course table thead {
    display: none;
  }
  .board-box.course table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
    position: relative;
  }
  .board-box.course table td {
    height: auto;
    border-bottom: none;
  }
  .board-box.course table td.subject {
    width: 100%;
    padding: 0;
  }
  .board-box.course table td.subject a {
    text-align: left;
  }
  .board-box.course table td.margin-right {
    margin: 0 0 0 auto;
  }
  .board-box.course table td .flex-box {
    column-gap: 20px;
    margin: 10px 0 0;
  }
  .gallery-box {
    grid-template-columns: repeat(3, 1fr);
  }
  .view-box dl dt {
    width: 100px;
  }
  .view-box dl dt::after {
    height: 14px;
  }
  .view-box .form-button {
    margin: 60px auto 0;
  }
}
@media (max-width: 768px) {
  .paging {
    margin: 50px 0 0;
  }
  .search-box {
    padding: 20px;
    margin-bottom: 40px;
  }
  .search-box .search-button {
    width: 100px;
  }
  .search-box .inner > * {
    height: 50px;
  }
  .search-box .basic {
    column-gap: 10px;
  }
  .search-box .detail > div {
    height: 50px;
  }
  .search-box .detail .check-box {
    column-gap: 20px;
  }
  .search-box .detail > div span {
    font-size: 1.6rem;
  }
  .search-box .simple {
    column-gap: 20px;
  }
  .search-box .simple select {
    width: 200px;
  }
  .board-box:not(.registration, .course) table td:first-child {
    display: none;
  }
  .board-box:not(.course) table colgroup,
  .board-box:not(.course) table thead {
    display: none;
  }
  .board-box:not(.course) table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px;
    position: relative;
  }
  .board-box:not(.course) table tr.top {
    background: rgba(124, 111, 209, 0.1);
  }
  .board-box:not(.course) table tr.top td {
    background: transparent;
  }
  .board-box:not(.course) table tr.top td:first-child {
    display: block;
    order: 1;
  }
  .board-box:not(.course) table tr.top td.subject {
    width: calc(100% - 20px);
    margin-left: auto;
  }
  .board-box:not(.course) table td {
    height: auto;
    order: 2;
    border-bottom: none;
  }
  .board-box:not(.course) table td.subject {
    order: 1;
    width: 100%;
    padding: 0;
  }
  .board-box:not(.course) table td.subject a {
    text-align: left;
  }
  .board-box:not(.course) table td.after::after {
    content: "|";
    color: #999999;
    font-size: 1.4rem;
    margin: 0 10px;
  }
  .board-box:not(.course) table td.margin-right {
    order: 3;
    margin: 0 0 0 auto;
  }
  .gallery-box {
    row-gap: 30px;
    column-gap: 10px;
  }
  .gallery-box .text {
    margin: 15px 0 0;
  }
  .gallery-box .text h6 {
    font-size: 1.8rem;
    margin: 0 0 10px;
  }
  .gallery-box .text span {
    font-size: 1.5rem;
  }
  .view-box .top .flex-box {
    column-gap: 30px;
  }
}
@media (max-width: 640px) {
  .paging ul {
    column-gap: 5px;
  }
  .paging .arr {
    column-gap: 15px;
  }
  .paging .arr .first i,
  .paging .arr .last i {
    margin: 0 -9.5px;
  }
  .search-box .inner {
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 10px;
    justify-content: flex-start;
  }
  .search-box .inner input[type=text] {
    width: calc(100% - 110px);
  }
  .search-box .basic select {
    width: 160px;
  }
  .search-box .detail .check-box {
    column-gap: 10px;
    margin: 0;
  }
  .search-box .detail .check-box label {
    column-gap: 5px;
  }
  .search-box .detail .check-box input[type=checkbox] {
    width: 20px;
    height: 20px;
  }
  .search-box .simple .radio-box {
    width: calc(100% - 110px);
    justify-content: flex-end;
  }
  .board-box table tr,
  .board-box.registration table tr,
  .board-box.course table tr {
    padding: 20px 10px;
  }
  .board-box.registration table tr {
    row-gap: 10px;
  }
  .board-box.registration table td.date {
    width: 100%;
    text-align: left;
  }
  .board-box.registration table td.date::after {
    display: none;
  }
  .board-box.registration table td.margin-right {
    width: 100%;
    text-align: right;
  }
  .board-box.course table td .flex-box {
    flex-direction: column;
    row-gap: 3px;
    column-gap: 0;
    align-items: flex-start;
  }
  .board-box.course table td .flex-box hr {
    display: none;
  }
  .gallery-box {
    column-gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }
  .view-box .top {
    row-gap: 15px;
    padding: 30px 0;
  }
  .view-box .top h4 {
    font-size: 2.1rem;
  }
  .view-box dl dt {
    width: 85px;
  }
  .view-box .file-box dl,
  .view-box .preview-box dl {
    padding: 20px;
  }
  .view-box .file-box {
    row-gap: 0;
    padding: 0;
  }
  .view-box .preview-box {
    margin-top: 20px;
  }
  .view-box .form-button {
    width: 120px;
    height: 50px;
    margin: 40px auto 0;
  }
}