.news-single-page {
  background: white;
  min-height: 100vh;
}

.block-wrapper {
  width: 1200px;
  margin: 0 auto;
}

.page-title-section {
  padding: 40px 0 30px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.page-title {
  font-family: "Inter", sans-serif;
  font-size: 89px;
  font-weight: 700;
  color: #2b39d5;
  line-height: 1.3;
  margin: 0;
}

.page-subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #4a4459;
  line-height: 26px;
  letter-spacing: 1.44px;
  margin: 0;
  align-self: flex-end;
  padding-bottom: 10px;
}

.article-section {
  width: 100%;
}

.article-section img {
  width: 580px;
  height: 386px;
}

.article-featured-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
  display: block;
}

.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.article-header {
  margin-top: 0;
  margin-bottom: 40px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.article-date {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #4a4459;
  line-height: 28px;
}

.article-category {
  display: inline-block;
  padding: 5px 5px;
  width: auto;
  text-align: center;
  border: 2px solid #2b39d5;
  background: white;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #2b39d5;
  line-height: 26px;
  letter-spacing: 1.2px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #4a4459;
  line-height: 45px;
  letter-spacing: 3px;
  margin: 0;
}

.article-content {
  padding: 0;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #4a4459;
  line-height: 28px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  font-family: "Noto Sans JP", sans-serif;
  color: #4a4459;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}

.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content figure {
  margin: 20px 0;
}

.article-content figcaption {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

.article-content a:not(.back-to-news) {
  color: #2b39d5;
  text-decoration: underline;
}

.article-content a:not(.back-to-news):hover {
  text-decoration: none;
}

.article-section-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #4a4459;
  line-height: 30px;
  margin: 60px 0 30px;
}

.article-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 38px;
  margin: 40px 0;
}

.article-image-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

.article-image-item.reverse {
  flex-direction: column-reverse;
}

.article-image-item img {
  width: 100%;
  height: 386px;
  background: #d9d9d9;
  object-fit: cover;
  display: block;
}

.image-caption {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #4a4459;
  line-height: 30px;
  margin: 15px 0 10px;
}

.image-description {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #4a4459;
  line-height: 28px;
  margin: 0;
}

.article-files {
  margin: 40px 0;
}

.file-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #2b39d5;
  line-height: 28px;
  text-decoration: underline;
  margin-bottom: 10px;
}

.file-link svg,
.file-link img {
  width: 16px;
  height: 16px;
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
  margin: 60px 0 80px;
}

.gallery-item {
  position: relative;
}

.gallery-item.full-width {
  grid-column: 2 / -1;
}

.gallery-item img {
  width: 100%;
  height: 248px;
  background: #d9d9d9;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #4a4459;
  line-height: 30px;
  margin: 15px 0 10px;
}

.gallery-description {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #4a4459;
  line-height: 28px;
  margin: 0;
}

.back-to-news {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2b39d5;
  color: #fdfdfd;
  min-width: 343px;
  height: 76px;
  padding: 16px 32px 18px 48px;
  margin: 0 auto 100px;
  max-width: 343px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.back-to-news span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 1.44px;
  text-align: center;
  flex: 1;
}

.back-to-news svg {
  width: 43px;
  height: 43px;
  transform: rotate(90deg);
  flex-shrink: 0;
}

.news-single-page .footer {
  margin-top: 0;
}

@media (max-width: 768px) {
  .block-wrapper {
    width: 100%;
    padding: 0 20px;
  }

  .page-title-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 30px 0 20px;
  }

  .page-title {
    font-size: 48px;
  }

  .page-subtitle {
    font-size: 16px;
    padding-bottom: 0;
    align-self: flex-start;
  }

  .article-header {
    margin-bottom: 30px;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }

  .article-title {
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 2px;
  }

  .article-category {
    width: auto;
    font-size: 14px;
    height: 32px;
    padding: 4px 8px;
  }

  .article-section img {
    width: 100%;
    height: auto;
  }

  .article-featured-image {
    margin-bottom: 1.5rem;
  }

  .article-content {
    font-size: 14px;
    line-height: 24px;
  }

  .article-content img {
    width: 100%;
    height: auto;
  }

  .article-section-title {
    font-size: 20px;
    line-height: 28px;
    margin: 40px 0 20px;
  }

  .article-images-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px 0;
  }

  .article-image-item.reverse {
    flex-direction: column;
  }

  .article-image-item img {
    height: 250px;
  }

  .image-caption,
  .gallery-caption {
    font-size: 20px;
    line-height: 26px;
    margin: 12px 0 8px;
  }

  .image-description,
  .gallery-description {
    font-size: 14px;
    line-height: 24px;
  }

  .article-files {
    margin: 30px 0;
  }

  .file-link {
    font-size: 14px;
    line-height: 24px;
  }

  .article-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0 60px;
  }

  .gallery-item.full-width {
    grid-column: 1;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
  }

  .back-to-news {
    min-width: 100%;
    max-width: 100%;
    height: 64px;
    padding: 12px 24px;
    margin: 0 0 60px;
  }

  .back-to-news span {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1.2px;
  }

  .back-to-news svg {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 414px) {
  .block-wrapper {
    padding: 0 16px;
  }

  .page-title {
    font-size: 36px;
  }

  .page-subtitle {
    font-size: 14px;
  }

  .article-title {
    font-size: 20px;
    line-height: 30px;
  }

  .article-category {
    width: auto;
    font-size: 13px;
    height: 30px;
    padding: 4px 8px;
  }

  .article-content {
    font-size: 13px;
    line-height: 22px;
  }

  .article-section-title {
    font-size: 18px;
    line-height: 26px;
  }

  .image-caption,
  .gallery-caption {
    font-size: 18px;
    line-height: 24px;
  }

  .image-description,
  .gallery-description {
    font-size: 13px;
    line-height: 22px;
  }

  .back-to-news {
    height: 56px;
    padding: 10px 20px;
  }

  .back-to-news span {
    font-size: 14px;
    line-height: 22px;
  }

  .back-to-news svg {
    width: 32px;
    height: 32px;
  }
}
