@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@100..900&display=swap");
#newsList,
#newsDetail {
  padding: 0;
  background: var(--gray);
  overflow: hidden;
}

#newsList .pageHeader::before,
#newsDetail .pageHeader::before {
  content: "NEWS";
  position: absolute;
  top: 50%;
  left: -5%;
  transform: translateY(-50%);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(15rem, 25vw, 35rem);
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: 0.05em;
  pointer-events: none;
  white-space: nowrap;
}
ul.newsList {
  padding: 5%;
}
.newsDetail {
  padding: 5%;
  max-width: 120rem;
  margin: 0 auto;
}

.newsContent {
  background: var(--white);
  border-radius: 1rem;
  padding: 4rem 5rem;
  text-align: left;
}

.newsContent .metaArea {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.newsContent .newsDate {
  font-size: 1.4rem;
  color: var(--white);
  background: var(--orange);
  padding: 0.4em 1.2em;
  border-radius: 2rem;
  letter-spacing: 0.05em;
}
.newsContent .category {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  color: var(--gray);
  background: var(--purple);
  padding: 0.4em 1em;
  border-radius: 2rem;
  font-weight: 500;
}

.newsContent .newsTitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--purple);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}
.newsContent .newsTitle::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 6rem;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange));
  border-radius: 2px;
}

.editorArea {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--purple);
  line-height: 2;
  font-size: 1.5rem;
}
.editorArea h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 2.5em 0 1em;
  line-height: 1.4;
  color: var(--purple);
  position: relative;
  padding-left: 1em;
}
.editorArea h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  background: linear-gradient(to bottom, var(--orange), var(--orange));
  border-radius: 2px;
}
.editorArea h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 2em 0 0.75em;
  line-height: 1.4;
  color: var(--purple);
  padding-left: 1em;
  position: relative;
}
.editorArea h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 4px;
  background: var(--orange);
  border-radius: 2px;
}
.editorArea h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 1.75em 0 0.6em;
  line-height: 1.4;
  color: var(--orange);
  display: flex;
  align-items: center;
}

.editorArea h4 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 1.5em 0 0.5em;
  line-height: 1.4;
  color: var(--purple);
}
.editorArea h5 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.25em 0 0.5em;
  line-height: 1.4;
}
.editorArea h6 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1.25em 0 0.5em;
  line-height: 1.4;
}
.editorArea p {
  margin-bottom: 1.5em;
}
.editorArea ul {
  margin: 1.5em 0 2em;
  padding: 1.5em 2em;
  background: var(--white);
  border-radius: 1rem;
  list-style: none;
}
.editorArea ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.7;
}
.editorArea ul li:last-child {
  margin-bottom: 0;
}
.editorArea ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.5em;
  height: 0.5em;
  background: var(--orange);
  border-radius: 50%;
}
.editorArea ol {
  margin: 1.5em 0 2em;
  padding: 1.5em 2em 1.5em 3em;
  background: var(--white);
  border-radius: 1rem;
  list-style: none;
  counter-reset: ol-counter;
}
.editorArea ol li {
  position: relative;
  padding-left: 0.5em;
  margin-bottom: 0.75em;
  line-height: 1.7;
  counter-increment: ol-counter;
}
.editorArea ol li:last-child {
  margin-bottom: 0;
}
.editorArea ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: -2em;
  top: 0;
  width: 1.6em;
  height: 1.6em;
  background: var(--orange);
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.editorArea a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  display: inline;
  transition: opacity 0.3s ease;
}
.editorArea a:hover {
  opacity: 0.7;
}
.editorArea img {
  max-width: 100%;
  height: auto;
  margin: 2em 0;
  border-radius: 1rem;
}
.editorArea table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2em 0;
  border-radius: 1rem;
  overflow: hidden;
}
.editorArea table th,
.editorArea table td {
  padding: 1em 1.5em;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.editorArea table th {
  background: var(--purple);
  font-weight: 500;
  font-size: 1.4rem;
}
.editorArea table td {
  background: var(--white);
}
.editorArea table tr:last-child td {
  border-bottom: none;
}
.editorArea table tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.015);
}
.editorArea blockquote {
  border-left: 4px solid var(--orange);
  padding: 1.5em 2em;
  margin: 2em 0;
  background: linear-gradient(135deg, rgba(229, 64, 0, 0.03), rgba(255, 107, 53, 0.03));
  border-radius: 0 1rem 1rem 0;
  font-style: italic;
}
.editorArea strong {
  font-weight: 700;
  color: var(--purple);
}
.editorArea em {
  font-style: italic;
}

.backToList {
  text-align: center;
  margin-top: 4rem;
}
.backToList a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75em 3em;
  background: var(--purple);
  color: var(--white);
  border-radius: 4rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
}
.backToList a:hover {
  background: var(--orange);
}

@media screen and (max-width: 999px) {
  .newsDetail {
    padding: 2rem;
  }
  ul.newsList {
    padding: 10% 2rem;
    display: block;
  }
  ul.newsList li {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 0 1.5rem 0;
  }
  .newsContent {
    padding: 2rem;
  }
  .newsContent .newsDate {
    font-size: 13px;
  }
  .newsContent .category {
    font-size: 13px;
  }
  .newsContent .newsTitle {
    font-size: 1.8rem;
  }
  .editorArea {
    font-size: 14px;
  }
  .editorArea h1 {
    font-size: 2rem;
  }
  .editorArea h2 {
    font-size: 1.8rem;
  }
  .editorArea h3 {
    font-size: 1.6rem;
  }
  .editorArea ul,
  .editorArea ol {
    padding: 1.25em 1.5em;
  }
  .editorArea ol {
    padding-left: 2.5em;
  }
  .editorArea table th,
  .editorArea table td {
    padding: 0.75em 1em;
    font-size: 1.3rem;
  }
  .backToList {
    margin-top: 2rem;
  }
  .backToList a {
    padding: 1em 2.5em;
  }
  .pagination {
    margin-top: 3rem;
    gap: 0.5rem;
  }
}
