/* News Detail */
html {
  font-size: 62.5%;
}

.news-detail {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.news-detail a {
  text-decoration: underline;
}

.news-detail-thumbnail {
  aspect-ratio: 1200 / 630;
  margin-bottom: 16px;
}

.news-detail-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 12px;
}

.news-detail-title {
  font-weight: 700;
  font-size: 3.6rem;
}

.news-detail-time {
  display: block;
  font-size: 1.4rem;
  color: #333;
}

.news-detail-content {
  padding: 24px 0;
  font-size: 1.6rem;
}

.news-detail-content > * {
  margin: 24px 0;
}

.news-detail-content h2 {
  padding: 8px 0;
  padding-left: 16px;
  border-left: 10px solid #f06214;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-weight: 700;
  font-size: 2em;
}

.news-detail-content h3 {
  border-bottom: 2px solid #f06214;
  font-weight: 700;
  font-size: 1.5em;
}

.news-detail-content p {
  font-size: inherit;
  line-height: 2;
}

.news-detail-content img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  max-height: 500px;
}

.mod-button--orange {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 24px;
  border-radius: 999px;
  background-color: var(--color-accent);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--color-background);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background-color 0.6s ease-out;
}

.mod-button--orange:hover {
  background-color: var(--color-secondary);
  opacity: 1;
}

@media (max-width: 768px) {
  .news-detail {
    padding: 24px 16px 48px;
  }

  .news-detail-title {
    font-size: 2rem;
  }

  .news-detail-time {
    font-size: 1.2rem;
  }

  .news-detail-content {
    padding: 16px 0;
    font-size: 1.4rem;
  }

  .news-detail-content > * {
    margin: 12px 0;
  }

  .news-detail-content h2 {
    padding: 4px 0;
    padding-left: 8px;
    border-left: 5px solid #f06214;
    font-size: 1.4em;
  }

}
