@charset "UTF-8";
@media screen and (max-width: 768px) {
  .news-detail-container {
    -webkit-clip-path: none;
            clip-path: none;
    padding-top: 130px;
  }
}

.news-detail {
  padding: 0px 0 90px;
}
@media screen and (max-width: 768px) {
  .news-detail {
    padding: 55px 0 30px;
  }
}

.news-detail__img.fitCover {
  text-align: center;
  margin-bottom: 40px;
}
.news-detail__img.fitCover img {
  max-width: 600px;
}
@media screen and (max-width: 768px) {
  .news-detail__img.fitCover img {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .news-detail__inner {
    max-width: 500px;
    width: 93%;
  }
}

.news-detail-box {
  /* 段落テキスト */
  /* H1見出し */
  /* H2見出し */
  /* H3見出し */
  /* H4見出し */
  /* H5見出し */
  /* H6見出し */
}
.news-detail-box p {
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.8;
  color: var(--primary-color);
  margin-bottom: 20px;
}
@media screen and (max-width: 430px) {
  .news-detail-box p {
    font-size: 14px !important;
  }
}
.news-detail-box h1 {
  font-size: 28px !important;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  margin-top: 80px;
}
.news-detail-box h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd;
}
@media screen and (max-width: 768px) {
  .news-detail-box h1 {
    font-size: 24px !important;
    margin-top: 50px;
  }
}
.news-detail-box h2 {
  font-size: 22px !important;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 12px 20px;
  margin-top: 50px;
  margin-bottom: 25px;
}
@media screen and (max-width: 768px) {
  .news-detail-box h2 {
    font-size: 20px !important;
    padding: 10px 15px;
  }
}
.news-detail-box h3 {
  font-size: 20px !important;
  padding: 5px 0 5px 15px;
  border-left: 4px solid var(--secondary-color);
  border-bottom: 1px solid #ddd;
  color: #333;
  margin-top: 40px;
  margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
  .news-detail-box h3 {
    font-size: 18px !important;
  }
}
.news-detail-box h4 {
  font-size: 18px !important;
  color: var(--secondary-color);
  border-bottom: 1px dotted var(--secondary-color);
  padding-bottom: 8px;
  margin-top: 35px;
  margin-bottom: 15px;
}
@media screen and (max-width: 768px) {
  .news-detail-box h4 {
    font-size: 16px !important;
  }
}
.news-detail-box h5 {
  font-size: 16px !important;
  color: #333;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
  .news-detail-box h5 {
    font-size: 14px !important;
  }
}
.news-detail-box h6 {
  font-size: 14px !important;
  color: #666;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 8px;
}
@media screen and (max-width: 768px) {
  .news-detail-box h6 {
    font-size: 13px !important;
  }
}
.news-detail-box ul, .news-detail-box ol {
  margin-bottom: 3.2rem;
  padding-left: 2.4rem;
}
@media screen and (max-width: 768px) {
  .news-detail-box ul, .news-detail-box ol {
    margin-bottom: 2.4rem;
    padding-left: 2rem;
  }
}
.news-detail-box li {
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.025em;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  list-style: disc;
}
@media screen and (max-width: 430px) {
  .news-detail-box li {
    font-size: 14px !important;
    line-height: 1.75;
    margin-bottom: 1rem;
  }
}
.news-detail-box ol li {
  list-style: decimal;
}
.news-detail-box blockquote {
  background-color: #f8f8f8;
  border-left: 4px solid var(--secondary-color);
  padding: 2.4rem;
  margin: 3.2rem 0;
  font-style: italic;
}
.news-detail-box blockquote p {
  font-size: 16px !important;
  line-height: 1.8;
  margin-bottom: 0;
}
@media screen and (max-width: 430px) {
  .news-detail-box blockquote p {
    font-size: 14px !important;
  }
}
@media screen and (max-width: 768px) {
  .news-detail-box blockquote {
    padding: 2rem;
    margin: 2.4rem 0;
  }
}
.news-detail-box strong, .news-detail-box b {
  font-weight: 600;
  color: var(--primary-color);
}
.news-detail-box a {
  color: var(--secondary-color);
  text-decoration: underline;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.news-detail-box a:hover {
  opacity: 0.8;
}
.news-detail-box img {
  width: 100%;
  height: auto;
  margin: 3.2rem 0;
  border-radius: 4px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 768px) {
  .news-detail-box img {
    margin: 2.4rem 0;
  }
}
.news-detail-box figure {
  margin: 3.2rem 0;
}
@media screen and (max-width: 768px) {
  .news-detail-box figure {
    margin: 2.4rem 0;
  }
}
.news-detail-box figure img {
  margin: 0;
}
.news-detail-box figure figcaption {
  font-size: max(1.4rem, 14px);
  color: #666;
  text-align: center;
  margin-top: 1.2rem;
  font-style: italic;
}
@media screen and (max-width: 768px) {
  .news-detail-box figure figcaption {
    font-size: max(1.3rem, 13px);
    margin-top: 1rem;
  }
}
.news-detail-box table {
  width: 100%;
  border-collapse: collapse;
  margin: 3.2rem 0;
  font-size: 16px !important;
}
@media screen and (max-width: 430px) {
  .news-detail-box table {
    font-size: 14px !important;
    margin: 2.4rem 0;
  }
}
.news-detail-box table th, .news-detail-box table td {
  padding: 1.2rem;
  border: 1px solid #ddd;
  text-align: left;
  font-size: inherit !important;
}
@media screen and (max-width: 430px) {
  .news-detail-box table th, .news-detail-box table td {
    padding: 1rem;
  }
}
.news-detail-box table th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: var(--primary-color);
}
.news-detail-box code {
  background-color: #f4f4f4;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-family: "Courier New", monospace;
  font-size: max(1.4rem, 14px);
}
.news-detail-box pre {
  background-color: #f4f4f4;
  padding: 2rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 3.2rem 0;
}
@media screen and (max-width: 768px) {
  .news-detail-box pre {
    padding: 1.6rem;
    margin: 2.4rem 0;
  }
}
.news-detail-box pre code {
  background-color: transparent;
  padding: 0;
  font-size: max(1.4rem, 13px);
}