:root {
  --color-main: #eed037;
  --color-sub: #00B1A1;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --font-pretendard: 'Pretendard', sans-serif;
  --font-poppins: 'Poppins', sans-serif;
}

.font36 {
  --fontsize: 3.6rem;
  font-size: var(--fontsize);
}

.font38 {
  --fontsize: 3.8rem;
  font-size: var(--fontsize);
}

.font42 {
  --fontsize: 4.2rem;
  font-size: var(--fontsize);
}

.font44 {
  --fontsize: 4.4rem;
  font-size: var(--fontsize);
}

.font48 {
  --fontsize: 4.8rem;
  font-size: var(--fontsize);
}

.font52 {
  --fontsize: 5.2rem;
  font-size: var(--fontsize);
}

.font58 {
  --fontsize: 5.8rem;
  font-size: var(--fontsize);
}

.font64 {
  --fontsize: 6.4rem;
  font-size: var(--fontsize);
}

.font74 {
  --fontsize: 7.4rem;
  font-size: var(--fontsize);
}

.font84 {
  --fontsize: 8.4rem;
  font-size: var(--fontsize);
}

.font86 {
  --fontsize: 8.6rem;
  font-size: var(--fontsize);
}

.formButton {
  width: 300px;
  height: 80px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 10px;
  font-size: 2.0rem;
  font-weight: 700;
}

.formButton.gray {
  background: #ddd;
  color: #aaa;
}

.formButton.main {
  background: var(--color-main);
  color: var(--color-white);
}

.paging {
  margin: 120px 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.paging .arr,
.paging ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.paging a {
  color: #aaa;
  font-size: 1.7rem;
  font-weight: 600;
}

.paging ul {
  gap: 0 30px;
  padding: 0 30px;
}

.paging ul li {
  margin: 0 !important;
}

.paging ul li a {
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.paging ul li:hover a, .paging ul li.on a {
  color: var(--color-main);
}

.paging .arr a {
  display: block;
  -webkit-transform: translateY(0.1em);
          transform: translateY(0.1em);
}

input[type=checkbox] {
  width: 20px;
  height: 20px;
  border: 1px solid #ddd;
  border-radius: 2px;
  appearance: none;
  -o-appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

input[type=checkbox]:checked {
  border-color: var(--color-main);
}

.checkBox {
  gap: 0 10px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.checkBox label {
  color: #333;
  font-weight: 300;
}

select {
  border: none;
  outline: none;
  appearance: none;
  -o-appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: transparent url("/img/sub/selectArrow.png") no-repeat calc(100% - 40px) center;
}

select::-ms-expand {
  display: none;
}

.searchBox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0 10px;
  margin: 0 0 40px;
}

.searchBox * {
  font-size: 1.8rem;
}

.searchBox > * {
  width: 100%;
  height: 70px;
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 0 40px;
}

.searchBox select,
.searchBox button {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-size: 1.9rem;
}

.searchBox select {
  width: 20%;
  color: #333;
  font-weight: 500;
}

.searchBox label input {
  background: transparent;
  width: 100%;
  height: 100%;
}

.searchBox label input::-webkit-input-placeholder {
  color: #aaa;
  font-size: 1.9rem;
}

.searchBox label input:-ms-input-placeholder {
  color: #aaa;
  font-size: 1.9rem;
}

.searchBox label input::-ms-input-placeholder {
  color: #aaa;
  font-size: 1.9rem;
}

.searchBox label input::placeholder {
  color: #aaa;
  font-size: 1.9rem;
}

.searchBox button {
  width: 16%;
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 600;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.boardBox * {
  font-family: var(--font-pretendard);
}

.boardBox table {
  border-top: 1px solid #000;
  table-layout: fixed;
}

.boardBox table th, .boardBox table td {
  text-align: center;
  border-bottom: 1px solid #dddddd;
}

.boardBox table th {
  height: 55px;
  color: #222;
  font-size: 1.8rem;
  font-weight: 600;
}

.boardBox table td {
  height: 80px;
  color: #555;
  font-size: 2.0rem;
  font-weight: 300;
}

.boardBox table td > a {
  color: #555;
}

.boardBox table td.left {
  text-align: left;
}

.boardBox table td.subject {
  padding: 0 20px;
}

.boardBox table td.subject a {
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
      flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.viewBox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.viewBox * {
  font-family: var(--font-pretendard);
}

.viewBox .title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px 0;
  padding: 40px 0 40px;
}


/*
.viewBox .title h4 {
  height: 1em;
  color: #111;
  font-size: 3.4rem;
  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;
}
*/

.viewBox .title h4 {
  height: auto;
  color: #111;
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.viewBox .title div {
  gap: 0 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          /*justify-content: center;*/
}

.viewBox .title div * {
  font-size: 1.7rem;
  font-weight: 500;
}

.viewBox .title div h6 {
  color: var(--color-main);
}

.viewBox .title div hr {
  width: 1px;
  height: 15px;
  background: #ddd;
  border: none;
  margin: 0;
}

.viewBox .title div span {
  color: #999;
}

.viewBox .content {
  border-top: 1px solid #000;
  padding: 40px;
}

.viewBox .content * {
  word-break: normal;
}

.viewBox dl {
  height: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.viewBox dl * {
  color: #555;
  font-size: 1.7rem;
}

.viewBox dl dt {
  width: 16%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background: #f8f8f8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.viewBox dl dd {
  width: 84%;
  padding: 0 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.viewBox dl dd a {
  display: block;
  width: 100%;
  -webkit-line-clamp: 1;
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.viewBox .preview {
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  position: relative;
}

.viewBox .preview::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #ddd;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
}

.viewBox .preview dl {
  border: none;
}

.viewBox .formButton {
  margin: 80px auto;
}

.inquiryBox {
  border-top: 1px solid #000;
  padding: 80px 0 0;
}

.inquiryBox ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 60px 40px;
}

.inquiryBox ul li {
  width: 100%;
}

.inquiryBox ul li.half {
  width: calc(50% - 20px);
}

.inquiryBox ul li > div {
  width: 100%;
}

.inquiryBox ul li > div * {
  font-size: 1.8rem;
}

.inquiryBox ul li > div pre {
  line-height:1.5;
}

.inquiryBox h6 {
  color: #333;
  font-size: 2.1rem;
  font-weight: 600;
  margin: 0 0 20px;
}

.inquiryBox .flexBox {
  gap: 0 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.inquiryBox .border {
  width: 100%;
  height: 65px;
  background-color: var(--color-white);
  border: 1px solid #dddddd;
  border-radius: 10px;
  padding: 0 25px;
}

.inquiryBox textarea.border {
  height: 320px;
  padding: 25px;
  resize: none;
}

.inquiryBox .inputMail .flexBox > div {
  width: 100%;
}

.inquiryBox .inputMail span {
  width: auto;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  color: #555;
  font-size: 2.1rem;
  letter-spacing: 0.0715em;
}

.inquiryBox .inputFile .border {
  background: #f8f8f8;
  color: #999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.inquiryBox .inputFile label {
  width: 215px;
  height: 65px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background: #222;
  border-radius: 10px;
  color: var(--color-white);
  font-weight: 700;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.inquiryBox .inputFile label input[type=file] {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.inquiryBox .inputAutomatic .border {
  display: flex;
  padding: 0;
  overflow: hidden;
}

.inquiryBox .inputAutomatic .border input {
  padding: 0 25px;
  width: 100%;
  height: 100%;
}

.inquiryBox .inputAutomatic .img,
.inquiryBox .inputAutomatic button {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.inquiryBox .inputAutomatic .img {
  max-width: 32%;
  width: 100%;
  height: 100%;
}

.inquiryBox .inputAutomatic .img img {
  width: 100%;
  height: 100%;
}

.inquiryBox .inputAutomatic button {
  width: 65px;
  height: 65px;
  background: #222;
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.inquiryBox .inputPolicy .column {
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.inquiryBox .inputPolicy .border {
  height: 200px;
  padding: 25px;
  margin: 0 0 30px;
  overflow-y: scroll;
}

@media (max-width: 1400px) {
  .formButton {
    width: 240px;
    height: 70px;
  }
  select {
    background-position: calc(100% - 20px) center;
  }
  .searchBox > * {
    height: 70px;
    padding: 0 20px;
  }
  .boardBox table td {
    height: 100px;
  }
  .viewBox .title h4 {
    font-size: 3.0rem;
  }
  .viewBox dl dd {
    padding: 0 20px;
  }
  .inquiryBox .inputFile label {
    width: 165px;
  }
}

@media (max-width: 1200px) {
  .inquiryBox ul li.half.inputFile, .inquiryBox ul li.half.inputAutomatic {
    width: 100%;
  }
}

@media (max-width: 960px) {
  .paging {
    margin: 80px 0 0;
  }
  .boardBox table th {
    height: 70px;
  }
  .boardBox table td {
    height: 80px;
  }
  .viewBox .title h4 {
    font-size: 2.5rem;
  }
  .viewBox dl {
    height: 70px;
  }
  .viewBox dl dt {
    width: 20%;
  }
  .viewBox dl dd {
    width: 80%;
  }
  .inquiryBox .border {
    padding: 0 20px;
  }
  .inquiryBox textarea.border,
  .inquiryBox .inputPolicy .border {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .formButton {
    width: 200px;
    height: 60px;
  }
  .paging {
    margin: 60px 0 0;
  }
  .searchBox > * {
    height: 60px;
  }
  .boardBox table colgroup,
  .boardBox table thead,
  .boardBox table th:first-child,
  .boardBox table td:first-child {
    display: none;
  }
  .boardBox table tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 15px 0;
    border-bottom: 1px solid #dddddd;
    padding: 20px;
    position: relative;
  }
  .boardBox table td {
    height: auto;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    border-bottom: none;
  }
  .boardBox table td.subject {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    width: 100%;
    padding: 0;
  }
  .boardBox table td.subject a {
    text-align: left;
  }
  .boardBox table td.after::after {
    content: "|";
    color: #999999;
    font-size: 1.4rem;
    margin: 0 10px;
  }
  .boardBox table td.marginRight {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    margin: 0 0 0 auto;
  }
  .viewBox .formButton {
    margin: 50px auto;
  }
  .viewBox dl dt {
    width: 22%;
  }
  .viewBox dl dd {
    width: 78%;
  }
  .inquiryBox ul {
    gap: 40px 10px;
  }
  .inquiryBox ul li.half {
    width: calc(50% - 5px);
  }
}

@media (max-width: 640px) {
  .formButton {
    width: 160px;
    height: 55px;
	font-size: 1.8rem;
  }
  .paging {
    margin: 40px 0 0;
  }
  .searchBox {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 10px;
  }
  .searchBox > * {
    height: 50px;
  }
  .searchBox select,
  .searchBox button {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    font-size: 1.7rem;
  }
  .searchBox select {
    width: 44%;
  }
  .searchBox label {
    width: calc(78% - 10px);
  }
  .searchBox label input::-webkit-input-placeholder {
    font-size: 1.7rem;
  }
  .searchBox label input:-ms-input-placeholder {
    font-size: 1.7rem;
  }
  .searchBox label input::-ms-input-placeholder {
    font-size: 1.7rem;
  }
  .searchBox label input::placeholder {
    font-size: 1.7rem;
  }
  .searchBox button {
    width: 22%;
  }
  .boardBox table td {
    font-size: 1.8rem;
  }
  .viewBox .title {
    gap: 15px 0;
    padding: 40px 0 30px;
  }
  .viewBox .title h4 {
    font-size: 2.1rem;
  }
  .viewBox .content {
    padding: 20px;
  }
  .viewBox dl {
    height: 60px;
  }
  .inquiryBox {
    padding: 50px 0 0;
  }
  .inquiryBox h6 {
    font-size: 1.9rem;
  }
  .inquiryBox ul li.half {
    width: 100%;
  }
  .inquiryBox ul li > div * {
    font-size: 1.6rem;
  }
  .inquiryBox .border {
    height: 55px;
  }
  .inquiryBox textarea.border {
    height: 240px;
  }
  .inquiryBox .inputMail span {
    font-size: 1.7rem;
  }
  .inquiryBox .inputFile .border {
    font-size: 1.4rem;
  }
  .inquiryBox .inputFile label {
    width: 95px;
    height: 55px;
  }
  .inquiryBox .inputAutomatic .img {
    max-width: 40%;
  }
  .inquiryBox .inputAutomatic .border input {
	padding: 0 20px;
  }
  .inquiryBox .inputAutomatic button {
    width: 55px;
    height: 55px;
  }
  .inquiryBox .inputPolicy .border {
    margin: 0 0 15px;
  }
}
