@charset "utf-8";

.l-main {
  padding: calc(72px + 75px) 30px 100px;
}

@media all and (max-width: 576px) {
  .l-main {
    padding-top: calc(52px + 45px);
  }
}

/* result
------------------------------*/
.p-result__heading-sub {
  font-size: 17px;
  text-align: center;
  margin-bottom: 7px;
}

@media all and (max-width: 576px) {
  .p-result__heading-sub {
    font-size: 15px;
  }
}

.p-result__heading {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 25px;
}

@media all and (max-width: 576px) {
  .p-result__heading {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 15px;
  }
}

.p-result__num {
  font-size: 18px;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
}

@media all and (max-width: 576px) {
  .p-result__num {
    font-size: 16px;
    margin-bottom: 20px;
  }
}

.p-result__num span {
  font-family: 'Poppins', sans-serif;
}

.p-result__num a {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 17px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  transition: all 0.3s ease-out;
}

@media all and (max-width: 576px) {
  .p-result__num a {
    margin-top: 20px;
    position: static;
  }
}

.p-result__num a:hover {
  color: #f44336;
}

.p-result__num a::before {
  content: '';
  display: block;
  width: 8px;
  height: 14px;
  background: url(../img/common/prev.svg) no-repeat center center / 100% auto;
  margin-right: 8px;
  margin-top: 4px;
  transition: all 0.3s ease-out;
}

.p-result__num a:hover::before {
  background-image: url(../img/common/prev_red.svg);
}

.p-result__list {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.p-result__list__header {
  width: 100%;
  display: flex;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
}

.p-result__list__header .page,
.p-result__list__header .title {
  height: 60px;
  background: #646464;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-result__list__header .page {
  width: calc(240 / 800 * 100%);
  border-right: solid 1px #f0f0f0;
}

.p-result__list__header .title {
  width: calc(560 / 800 * 100%);
}

.p-result__list__body {
  width: 100%;
}

.p-result__list__body a {
  width: 100%;
  display: flex;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.p-result__list__body a:nth-child(2n) {
  background: #f8f8f8;
}

.p-result__list__body a:last-child,
.p-result__list__body a:nth-child(10n) {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: hidden;
}

.p-result__list__body a:hover {
  background: #f44336;
  color: #fff;
}

.p-result__list__body .page,
.p-result__list__body .title {
  min-height: 60px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.p-result__list__body .page {
  justify-content: center;
}
.p-result__list__body .title {
  justify-content: flex-start;
}

@media all and (max-width: 576px) {
  .p-result__list__body .title {
    min-height: 70px;
    justify-content: flex-start;
  }
}

@media all and (max-width: 360px) {
  .p-result__list__body .page,
  .p-result__list__body .title {
    font-size: 14px;
  }
}

.p-result__list__body .page {
  width: calc(240 / 800 * 100%);
  border-left: solid 1px #e1e1e1;
  border-right: solid 1px #e1e1e1;
  border-bottom: solid 1px #e1e1e1;
}

.p-result__list__body a:last-child .page,
.p-result__list__body a:nth-child(10n) .page {
  border-bottom-left-radius: 20px;
  overflow: hidden;
}

.p-result__list__body .page span {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-decoration: underline;
  width: 2.5em;
}

.p-result__list__body .page::before {
  content: '';
  display: block;
  width: 27px;
  height: 35px;
  background: url(../img/common/pdf_red.svg) no-repeat center center / 100% auto;
  margin-right: 15px;
  transition: all 0.3s ease-out;
}

@media all and (max-width: 576px) {
  .p-result__list__body .page::before {
    margin-right: 10px;
    margin-left: 10px;
    width: 20px;
    height: 26px;
  }
}

@media all and (max-width: 360px) {
  .p-result__list__body .page::before {
    margin-right: 6px;
    margin-left: 6px;
  }
}

.p-result__list__body a:hover .page::before {
  background-image: url(../img/common/pdf_white.svg);
}

.p-result__list__body .title {
  width: calc(560 / 800 * 100%);
  border-right: solid 1px #e1e1e1;
  border-bottom: solid 1px #e1e1e1;
  padding: 10px 20px;
}

.p-result__list__body a:last-child .title,
.p-result__list__body a:nth-child(10n) .title {
  border-bottom-right-radius: 20px;
  overflow: hidden;
}

.p-result__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

@media all and (max-width: 576px) {
  .p-result__pagination {
    justify-content: space-between;
    margin-top: 40px;
  }
}

.p-result__pagination p {
  margin: 0 5px;
}

.p-result__pagination p.first-page {
  margin-left: 0;
}

.p-result__pagination p.end-page {
  margin-right: 0;
}

.p-result__pagination p button {
  appearance: none;
  cursor: pointer;
  border: none;
  border-radius: 0;
  padding: 0;
  transition: all 0.3s ease-out;
}

.p-result__pagination p button:hover {
  opacity: 0.2;
}

.p-result__pagination p.first-page button {
  width: 14px;
  height: 14px;
  background: url(../img/common/first.svg) no-repeat center center / 100% auto;
  margin-right: min(20px, calc(20 / 576 * 100vw));
}

.p-result__pagination p.prev-page button {
  width: 8px;
  height: 14px;
  background: url(../img/common/prev.svg) no-repeat center center / 100% auto;
}

.p-result__pagination p.next-page button {
  width: 8px;
  height: 14px;
  background: url(../img/common/next.svg) no-repeat center center / 100% auto;
}

.p-result__pagination p.end-page button {
  width: 14px;
  height: 14px;
  background: url(../img/common/end.svg) no-repeat center center / 100% auto;
  margin-left: min(20px, calc(20 / 576 * 100vw));
}

.p-result__pagination p.disabled button {
  pointer-events: none;
  opacity: 0.2;
}

.p-result__pagination ul {
  margin: 0 30px;
  padding: 0;
  list-style: none;
  display: flex;
}

@media all and (max-width: 576px) {
  .p-result__pagination ul {
    margin: 0 min(15px, calc(15 / 576 * 100vw));
  }
}

.p-result__pagination ul li {
  margin: 0 min(8px, calc(8 / 576 * 100vw));
}

.p-result__pagination ul li a {
  font-size: 16px;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-out;
}

.p-result__pagination ul li a:hover {
  color: #fff;
  background-color: #f44336;
}

.p-result__pagination ul li.current a {
  pointer-events: none;
  color: #fff;
  background-color: #f44336;
}

.p-result__btn {
  width: 272px;
  height: 60px;
  margin: 60px auto 0;
}
