/* News Article Section*/
.article-news {
    background-color: #ffffff;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    min-height: auto;
}

.outer-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    border-radius: 0;
    box-shadow: none;
}

/* Header Section */
.header-container {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 80px;
    padding-bottom: 40px;
}

.main-heading-style {
    position: relative;
    display: inline-block;
    margin: 0;
}

.heading-inner {
    position: relative;
    display: block;
}

.heading-background {
    display: none;
}

.heading-english {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #333333;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    background-color: transparent;
    padding: 0;
    line-height: 1;
}

.heading-english::first-letter { 
    color: #d4af37;
}

.heading-japanese {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #333;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px 80px 60px;
    background-color: #ffffff;
}

/* Article Header */
.post-header {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 0;
    border-bottom: none;
}

.post-date {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    font-weight: 400;
}

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-item {
    background-color: #f5f5f5;
    padding: 8px 18px;
    border-radius: 15px;
    font-size: 1.5rem;
    color: #777777;
    display: inline-block;
    border: 1px solid #e0e0e0;
}

/* Article Title */
.post-main-title {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.7;
    color: #333333;
    margin: 0 0 60px 0;
    text-align: left;
}

/* Article Content */
.article-content-area {
    color: #333333;
    line-height: 1.9;
}

.wp-block-image {
    margin: 0 0 50px 0;
    text-align: center;
}

.post-featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid #e8e8e8;
    width: 100%;
    max-width: 600px;
}

.post-text-content {
    font-size: 1.3rem;
    line-height: 1.9;
    margin-bottom: 50px;
    color: #555555;
}

.post-text-content p {
    margin-bottom: 30px;
    text-align: left;
}

/* Call to Action */
.call-to-action-section {
    font-size: 1.3rem;
    line-height: 1.9;
    margin-bottom: 50px;
    color: #555555;
}

.call-to-action-section p {
    margin-bottom: 30px;
    text-align: right;
}

.action-button {
    display: inline-block;
    background-color: #b8860b;
    color: #ffffff;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    letter-spacing: 0.05em;
}

.action-button:hover {
    background-color: #9a7209;
}

/* Pagination */
.pagination-container {
    margin: 60px 0 40px 0;
}

.pagination-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.pagination-item {
    flex: 1;
}

.pagination-item.--prev .item-content {
    text-align: left;
}

.pagination-item.--next .item-content {
    text-align: right;
}

.pagination-item a {
    display: block;
    text-decoration: none;
    color: #333333;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination-item a:hover {
    background-color: #f8f8f8;
    border-color: #d4af37;
}

.item-image {
    display: block;
    margin-bottom: 10px;
}

.item-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.item-text {
    display: block;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
}

/* Back Button */
.news-button-container {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 120px;
    padding-bottom: 20px;
}

.s-news-more-button {
  margin-top: 40px;
  text-align: center;
}

.s-news-more-link {
  display: inline-block;
  border: 2px solid #333;
  padding: 15px 70px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  position: relative;
  transition: all 0.3s ease;
}

.s-news-more-link:hover {
  background-color: var(--accent-color-01);
  color: white;
  text-decoration: none;
}

.s-news-more-link::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 1.6rem;
  height: .1rem;
  background-color: currentColor;

  transform: translate(2px, -6px) rotate(45deg);
}

.s-news-more-link::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 2.5rem;
  height: .1rem;
  margin: auto 2rem auto 0;
  background-color: var(--base-font-color);
  transition: transform var(--transition-speed);
}

.back-button {
    width: 28rem;
    display: inline-block;
}

.button-link {
    position: relative;
    display: block;
    padding: 1.8rem 0;
    text-align: center;
    border: .1rem solid #444;
}

.button-link:hover {
    border-color: #999999;
    color: #333333;
}

.button-label {
    letter-spacing: 0.2em;
}

.button-icon {
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 6px solid currentColor;
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding-top: 40px;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    
    .content-wrapper {
        padding: 0 30px 60px 30px;
        max-width: 100%;
    }
    
    .heading-english {
        font-size: 2.5rem;
        letter-spacing: 0.2em;
    }
    
    .post-main-title {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    .post-header {
        align-items: center;
        gap: 12px;
        justify-content: center;
    }
    
    .pagination-list {
        flex-direction: column;
    }
    
    .pagination-item.--prev .item-content,
    .pagination-item.--next .item-content {
        text-align: center;
    }
    
    .action-button {
        display: block;
        text-align: center;
        margin-top: 20px;
    }
    
    .call-to-action-section {
        text-align: center;
    }
    
    .post-text-content {
        font-size: 1.1rem;
    }
    
    .post-featured-image {
        max-width: 100%;
    }

    .post-main-title {
        margin: 0 0 20px;
    }
}