/* Article Detail Page Styles */

/* Container */
.article-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb-section {
  background: #F8F9FA;
  padding: 20px 0;
  margin-top: 100px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #2449A4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #0088FF;
}

.breadcrumb-separator {
  color: #999;
}

.breadcrumb-current {
  color: #333;
}

/* Article Hero */
.article-hero {
  background: linear-gradient(135deg, #C0E8FF 0%, #5456B0 100%);
  padding: 60px 0 40px;
}

.article-hero-content {
  margin: 0 auto;
}

.article-hero-content.case-hero {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

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

.article-badge {
  background: #132d8a;
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.article-date {
  font-size: 14px;
  color: #666;
}

.article-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.4;
  color: #1C2226;
  margin-bottom: 20px;
  max-width: 900px;
}

.article-subtitle {
  font-size: 18px;
  line-height: 1.8;
  color: #666;
}

.article-hero-image {
  width: 400px;
  height: 320px;
  overflow: hidden;
  border-radius: 20px;
  margin-top: -20px;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* 縦横比を保ちつつ中央をトリミング */
    object-position: center; /* 中央を基準に表示 */
    display: block;

    /* モノクロ化 */
    filter: grayscale(100%);
}

/* Article Image */
.article-image-section {
  padding: 40px 0;
}

.article-image {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article Content */
.article-content-section {
  padding: 60px 0 80px;
}

.article-layout {
  display: grid;
  /*grid-template-columns: 1fr 320px;*/
  grid-template-columns: 1fr;
  gap: 60px;
}

/* Main Content */
.article-main {
  /*max-width: 720px;*/
  width: 100%;
}

.article-body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.9;
  color: #333;
}

.article-body.single-texset h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1C2226;
  margin: 50px 0 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid #132d8a;
}

.article-body.single-texset h2:first-child {
  margin-top: 0;
}

.article-heading {
  font-size: 28px;
  font-weight: 700;
  color: #1C2226;
  margin: 50px 0 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid #132d8a;
}

.article-heading:first-child {
  margin-top: 0;
}

.article-body.single-texset p {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 30px;
  color: #333;
}

.article-body.single-texset p strong {
  font-weight: 700;
  color: #2449A4;
}

.article-paragraph {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 30px;
  color: #333;
}

.article-paragraph strong {
  font-weight: 700;
  color: #2449A4;
}

/* Article Footer */
.article-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #E5E5E5;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.article-tag {
  background: #F0F6FF;
  color: #2449A4;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.article-tag:hover {
  background: #2449A4;
  color: #FFFFFF;
}

.article-share {
  display: none;
  align-items: center;
  gap: 20px;
}

.article-share-label {
  font-weight: 700;
  color: #666;
}

.article-share-buttons {
  display: flex;
  gap: 10px;
}

.article-share-button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.article-share-twitter {
  background: #1DA1F2;
}

.article-share-twitter:hover {
  background: #0d8bd9;
  transform: translateY(-2px);
}

.article-share-facebook {
  background: #1877F2;
}

.article-share-facebook:hover {
  background: #0d65d9;
  transform: translateY(-2px);
}

.article-share-linkedin {
  background: #0A66C2;
}

.article-share-linkedin:hover {
  background: #004c99;
  transform: translateY(-2px);
}

/* Article Navigation */
.article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 0px;
}

.article-nav-item {
  padding: 30px;
  background: #F8F9FA;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-nav-item:hover {
  background: #E9ECEF;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-nav-label {
  font-size: 12px;
  color: #999;
  font-weight: 700;
  text-transform: uppercase;
}

.article-nav-title {
  font-size: 16px;
  color: #2449A4;
  font-weight: 700;
  line-height: 1.5;
}

.article-nav-prev .article-nav-label::before {
  content: "← ";
}

.article-nav-next .article-nav-label::after {
  content: " →";
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
  display: none;
}

.article-sidebar-card {
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
}

.article-sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: #1C2226;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #E5E5E5;
}

/* Table of Contents */
.article-toc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-toc-item {
  font-size: 15px;
  color: #666;
  text-decoration: none;
  padding: 10px 15px;
  border-left: 3px solid #E5E5E5;
  transition: all 0.3s ease;
}

.article-toc-item:hover {
  color: #2449A4;
  border-left-color: #0088FF;
  background: #F8F9FA;
}

/* Related Articles in Sidebar */
.article-related-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-related-item {
  display: flex;
  gap: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.article-related-item:hover {
  transform: translateX(5px);
}

.article-related-item img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.article-related-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-related-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
}

.article-related-date {
  font-size: 12px;
  color: #999;
}

/* CTA Card */
.article-sidebar-cta {
  background: linear-gradient(135deg, #2449A4 0%, #0088FF 100%);
  border: none;
  text-align: center;
}

.article-sidebar-cta-title {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.article-sidebar-cta-description {
  font-size: 14px;
  color: #FFFFFF;
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-sidebar-cta-button {
  display: inline-block;
  background: #FFFFFF;
  color: #2449A4;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.article-sidebar-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Related Articles Section */
.related-articles-section {
  background: #F8F9FA;
  padding: 80px 0;
}

.related-articles-title {
  font-size: 32px;
  font-weight: 700;
  color: #1C2226;
  text-align: center;
  margin-bottom: 50px;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-article-card {
  background: #FFFFFF;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.related-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.related-article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.related-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-article-card:hover .related-article-image img {
  transform: scale(1.05);
}

.related-article-content {
  padding: 25px;
}

.related-article-content .article-badge {
  margin-bottom: 15px;
  display: inline-block;
}

.related-article-title {
  font-size: 18px;
  font-weight: 700;
  color: #1C2226;
  line-height: 1.5;
  margin-bottom: 12px;
}

.related-article-description {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

.related-article-date {
  font-size: 13px;
  color: #999;
}

/*single casestudy*/
.case-detail-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
}
    .stat-number,
    .case-detail-overview-item .value {
      color: #0050c8 !important;
      font-weight: 900 !important;
      opacity: 1 !important;
    }
.case-detail-overview-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.case-detail-overview-item .label {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
  font-weight: 900;
}
.case-detail-overview-item .value {
  color: #0050c8 !important;
  font-weight: 900 !important;
  opacity: 1 !important;
}

/* 成果サマリー */
.results-summary {
  margin: 3rem 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.result-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #d1d5db;
  position: relative;
  overflow: hidden;
}

.result-card::before {
content: " ";
background-color: #C7BE7C;
height: 10px;
width: 100%;
position: absolute;
top: 0;
left: 0;
}

.result-value {
  font-size: 3rem;
  font-weight: 700;
  color: #2449a4;
  margin-bottom: 0.5rem;
}

.result-label {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.result-description {
  font-size: 0.875rem;
}

.case-overview {
  background: #f7fbff;
  border: 1px solid #e3eefb;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 32px;
}

.case-overview-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: #0b4b8c;
}

.case-overview-text {
  font-size: 0.97rem;
  line-height: 1.7;
  color: #333;
}

.case-overview-side {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
}

.case-overview-text p {
  margin-bottom: 1em;
}

.case-overview-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0b4b8c;
}

.case-overview-tanto {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
}

@media (min-width: 768px) {
  .case-overview-inner {
    grid-template-columns: 1fr 220px;
    gap: 24px;
  }

  .case-overview {
    padding: 20px;
  }
}


/*voice*/
.voice-section {
}

.voice-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.voice-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #d1d5db;
  padding: 24px;
}

.voice-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

.voice-meta {
  border-top: 1px solid #eee;
  padding-top: 12px;
}

.voice-name {
  font-weight: bold;
  color: #004080;
  margin: 0;
}

.voice-job {
  font-size: 0.9rem;
  color: #666;
  margin: 4px 0 0;
}

div.newspdf {
  margin-top: 30px;
  background: #e1ecfd;
  padding: 15px 10px;
  text-align: center;
}

div.newspdf a{
  color: #333333;
  text-decoration: none;
}

/* スマホ時は1カラム */
@media (max-width: 768px) {
  .voice-container {
    grid-template-columns: 1fr;
  }
}



/* Responsive Design */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    margin-top: 60px;
  }

  .related-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .breadcrumb-section {
    margin-top: 80px;
  }

  .article-title {
    font-size: 28px;
  }

  .article-subtitle {
    font-size: 16px;
  }

  .article-heading {
    font-size: 22px;
  }

  .article-paragraph {
    font-size: 16px;
  }

  .article-navigation {
    grid-template-columns: 1fr;
  }

  .related-articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

/*single casestudy*/
  .case-detail-overview {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .article-hero-left .case-detail-overview {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

/* ===============================
   Responsive
================================*/

/* タブレットサイズ以下 */
@media (max-width: 1024px) {
  .article-title {
    font-size: 34px;
  }

  .article-hero-content {
    gap: 30px;
  }

  .article-hero-image {
    width: 320px;
    height: 320px;
  }
}

/* スマホサイズ */
@media (max-width: 768px) {
  .article-hero {
    padding: 40px 0 20px;
  }

  .article-hero-content {
    flex-direction: column; /* 縦並び */
    align-items: flex-start;
  }
  .article-hero-left {
    width: 100%;
  }

  .article-hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 0px;
  }

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

  .article-title {
    font-size: 28px;
  }

  .case-detail-overview {
    flex-direction: column;
    gap: 8px;
  }

  .case-detail-overview-item {
    font-size: 15px;
  }
.results-grid {
  grid-template-columns: repeat(2, 1fr);
}
.result-value {
  font-size: 2rem;
}
}

/* さらに小さいスマホ（～480px） */
@media (max-width: 480px) {
  .article-title {
    font-size: 24px;
  }

  .article-badge {
    font-size: 12px;
    padding: 4px 12px;
  }

  .article-hero {
    padding: 30px 0;
  }
  .results-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .article-hero-left .case-detail-overview {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

