.detail-wrap {
  padding: 60px 0;
}
.detail-wrap .container {
  max-width: 1200px;
}
.detail-wrap h2 {
  font-size: 24px;
  color: #333;
  margin: 0;
}
.detail-wrap small {
  display: block;
  padding: 15px 0;
  font-size: 16px;
  color: #666;
  border-bottom: 1px solid #ddd;
}
.detail-wrap .rich-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}
.detail-wrap .rich-text span {
  text-wrap: wrap !important;
}
.detail-wrap .rich-text img {
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin:  0 auto;
}
.detail-wrap .bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  margin-top: 30px;
  border-top: 1px solid #ddd;
}
.detail-wrap .bottom a {
  color: #666;
  transition: color .3s ease;
}
.detail-wrap .bottom a:hover {
  color: var(--main-color);
}
.detail-wrap .bottom ul {
  display: flex;
}
.detail-wrap .bottom ul li {
  max-width: 200px;
  padding: 0 15px;
}
.detail-wrap .bottom ul li:hover {
}
.detail-wrap .bottom ul li:first-child {
  text-align: right;
  border-right: 1px solid #ddd;
}

.pdf-view {
  width: 100%;
  height: 100vh;
  margin: 30px 0;
}
.pdf-view iframe {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 640px) {
  .detail-wrap {
    padding: 30px 0;
  }
  .detail-wrap h2 {
    font-size: 18px;
    line-height: 1.4;
  }
  .detail-wrap small {
    font-size: 14px;
  }
  .detail-wrap .rich-text {
    margin-top: 15px;
  }
  .detail-wrap .bottom > a {
    display: none;
  }
  .detail-wrap .bottom ul {
    width: 100%;
  }
  .detail-wrap .bottom ul li + li {
    margin-top: 10px;
  }
  .detail-wrap .bottom ul li {
    text-align: left !important;
    max-width: unset;
  }
  .detail-wrap .bottom ul li:first-child {
    border-right: unset;
  }
  .detail-wrap .bottom ul {
    display: block;
  }
}
