:root {
  --color-main: #006AAA;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-border: #e0e0e0;
  --th-background: #f9f9f9;
  --th-fontColor: #111;
  --th-fontSize: 1.7rem;
  --td-background: #f9f9f9;
  --td-fontColor: #222;
  --td-fontSize: 1.6rem;
}

.font56 {
  --fontsize: 5.6rem;
  font-size: var(--fontsize);
}

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

.font46 {
  --fontsize: 4.6rem;
  font-size: var(--fontsize);
}

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

.font40 {
  --fontsize: 4.0rem;
  font-size: var(--fontsize);
}

.font32 {
  --fontsize: 3.2rem;
  font-size: var(--fontsize);
}

.paging {
  margin: 95px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.paging a {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.paging .arr,
.paging ul {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.paging .arr {
  gap: 0 5px;
}
.paging .arr a {
  width: auto;
  margin: 0;
}
.paging .arr a i {
  color: #666;
}
.paging .arr a.first, .paging .arr a.last {
  letter-spacing: 0;
}
.paging .arr a.first i, .paging .arr a.last i {
  margin: 0 -11px;
  transform: translateX(0);
}
.paging ul {
  gap: 0 12px;
  padding: 0 15px;
}
.paging ul li {
  margin: 0 !important;
}
.paging ul li a {
  width: 30px;
  height: 30px;
  color: #333;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 50%;
  transition: all 0.4s;
}
.paging ul li:hover a, .paging ul li.on a {
  background: var(--color-black);
  color: var(--color-white);
}

input[type=checkbox],
input[type=radio] {
  border: 1px solid #ddd;
  appearance: none;
  cursor: pointer;
}

input[type=checkbox] {
  width: 25px;
  height: 25px;
  background: transparent url("/img/sub/icon_check_gray.png") no-repeat center/52%;
  border-radius: 50%;
}
input[type=checkbox]:checked {
  background-color: var(--color-main);
  background-image: url("/img/sub/icon_check_white.png");
  border-color: var(--color-main);
}

textarea {
  resize: none;
}

select {
  border: none;
  outline: none;
  appearance: none;
  background: var(--color-white) url("/img/sub/selectArrow.png") no-repeat calc(100% - 30px) center;
  color: #111;
  font-size: 1.7rem;
  padding: 0 30px;
}
select::-ms-expand {
  display: none;
}

.checkBox {
  gap: 0 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.checkBox input[type=checkbox] {
  flex-shrink: 0;
}
.checkBox label {
  color: #666;
  font-size: 1.6rem;
  cursor: pointer;
}

.viewBox .top {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
  border-top: 1px solid var(--color-black);
  border-bottom: 1px solid var(--color-black);
  padding: 30px;
}
.viewBox .top h5 {
  color: #333;
  font-size: 2.0rem;
  font-weight: 700;
  /* 
  height: 1.3em;
  -webkit-line-clamp: 1;
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  */
}
.viewBox .top .flexBox {
  gap: 0 30px;
}
.viewBox .top .flexBox,
.viewBox .top .flexBox p {
  display: flex;
  align-items: center;
}
.viewBox .top .flexBox p {
  gap: 0 15px;
}
.viewBox .top .flexBox p b {
  color: #666;
  font-weight: 600;
}
.viewBox .top .flexBox span {
  color: #888;
}
.viewBox .top .flexBox hr {
  width: 1px;
  height: 12px;
  background: #ddd;
  border: none;
  margin: 0;
}
.viewBox .content {
  padding: 60px 0;
}
.viewBox .content * {
  word-break: normal;
}
.viewBox .fileBox,
.viewBox .previewBox {
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}
.viewBox dl {
  gap: 0 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.viewBox dl dt {
  width: 110px;
  flex-shrink: 0;
  color: #222;
  font-weight: 500;
  position: relative;
}
.viewBox dl dt::after {
  content: "";
  display: block;
  width: 1px;
  height: 20px;
  background: #e0e0e0;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.viewBox 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;
}
.viewBox .fileBox {
  padding: 5px 30px;
}
.viewBox .fileBox dl {
  padding: 20px 0;
}
.viewBox .fileBox dl dd i {
  margin: 0 5px 0 0;
}
.viewBox .fileBox dl dd:hover a {
  color: var(--color-sub);
}
.viewBox .previewBox {
  display: flex;
  flex-direction: column;
  margin: 60px 0 40px;
  position: relative;
}
.viewBox .previewBox::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e0e0e0;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.viewBox .previewBox dl {
  height: 70px;
  padding: 0 30px;
}
.viewBox .previewBox dl dt i {
  margin: 0 15px 0 0;
}
.viewBox .hoverButton.bottom {
  width: auto;
  height: auto;
  padding: 20px 50px;
}

.inquiryBox .content {
  border-top: 1px solid #eee;
}
.inquiryBox .max500,
.inquiryBox .max340 {
  width: 100%;
}
.inquiryBox .max500 {
  max-width: 500px;
}
.inquiryBox .max340 {
  max-width: 340px;
}
.inquiryBox input[type=text],
.inquiryBox textarea {
  width: 100%;
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 20px;
}
.inquiryBox input[type=text]:focus,
.inquiryBox textarea:focus {
  border: 2px solid #666;
}
.inquiryBox dl {
  gap: 0 20px;
  border-bottom: 2px solid #eee;
  padding: 20px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.inquiryBox dl * {
  font-size: 1.8rem;
}
.inquiryBox dl > * {
  width: 100%;
}
.inquiryBox dl dt {
  max-width: 280px;
  flex-shrink: 0;
  color: #333;
  font-weight: 500;
}
.inquiryBox dl dt em {
  color: #F33838;
}
.inquiryBox dl dd > div {
  width: 100%;
}
.inquiryBox dl dd input[type=text] {
  height: 50px;
}
.inquiryBox dl dd textarea {
  height: 200px;
  border: 1px solid var(--color-black);
}
.inquiryBox dl dd .fileButton,
.inquiryBox dl dd .captcha {
  width: 150px;
  height: 50px;
  flex-shrink: 0;
}
.inquiryBox dl dd .fileButton {
  padding: 0;
  position: relative;
}
.inquiryBox dl dd .fileButton input[type=file] {
  opacity: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.inquiryBox .flexBox {
  gap: 0 10px;
  align-items: center;
  width: 100%;
  height: 100%;
}
.inquiryBox .flexBox.column {
  gap: 10px 0;
  align-items: flex-start;
}
.inquiryBox .file p {
  font-size: 1.5rem;
}
.inquiryBox .automatic .captcha {
  position: relative;
  overflow: hidden;
}
.inquiryBox .automatic .captcha img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.inquiryBox .automatic div {
  position: relative;
}
.inquiryBox .automatic div button {
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.inquiryBox .agree,
.inquiryBox .buttonBox {
  gap: 0 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.inquiryBox .agree {
  margin: 30px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.inquiryBox .agree a {
  color: var(--color-main);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-position: under;
}
.inquiryBox .agree label a {
  font-size: 1.6rem;
}
.inquiryBox .buttonBox .hoverButton {
  width: 120px;
  height: 46px;
  padding: 0;
}

@media (max-width: 960px) {
  .inquiryBox dl {
    flex-direction: column;
    gap: 10px 0;
    align-items: flex-start;
  }
  .inquiryBox dl dt {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .viewBox .top,
  .viewBox .content {
    padding: 30px 20px;
  }
  .viewBox .fileBox,
  .viewBox .previewBox dl {
    padding: 0 20px;
  }
}

@media (max-width: 640px) {
  .viewBox .top .flexBox,
  .viewBox dl {
    gap: 0 20px;
  }
  .viewBox .top .flexBox p {
    gap: 0 10px;
  }
  .viewBox dl dt {
    width: 85px;
  }
  .viewBox dl dt::after {
    height: 12px;
  }
  .viewBox .fileBox {
    padding: 0;
  }
  .viewBox .fileBox dl,
  .viewBox .previewBox dl {
    padding: 20px;
  }
  .viewBox .previewBox {
    margin: 40px 0 0;
  }
  .viewBox .previewBox dl {
    height: auto;
  }
  .viewBox .previewBox dl dt i {
    margin: 0 10px 0 0;
  }
  .viewBox .hoverButton.bottom {
    padding: 15px 35px;
  }

  input[type=checkbox] {
    width: 20px;
    height: 20px;
  }
  .inquiryBox input[type=text],
  .inquiryBox textarea {
    padding: 15px 10px;
  }
  .inquiryBox dl {
    padding: 15px 0;
  }
  .inquiryBox dl dd input[type=text] {
    height: 45px;
  }
  .inquiryBox dl dd textarea {
    height: 120px;
  }
  .inquiryBox dl dd .fileButton,
  .inquiryBox dl dd .captcha {
    width: 120px;
    height: 45px;
    padding: 0;
  }
  .inquiryBox .automatic div button {
    right: 15px;
  }
  .inquiryBox .agree {
    margin: 20px 0;
  }
  .inquiryBox .buttonBox .hoverButton {
    width: 110px;
    height: 40px;
  }
}