/* Single Case Study (導入事例) — .tv-case-detail layout */
.tv-case-detail {
  font-family: "Open Sans", "Zen Kaku Gothic New", sans-serif;
  color: #00033d;
  background-color: #f6f6f6;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  padding-top: 0;
  padding-bottom: 8rem;
  letter-spacing: 0.025em;
  min-height: 80vh;
}

.tv-case-detail .cases-hero {
  padding: 3rem 0 2rem;
  margin-bottom: 4rem;
}

.tv-case-detail .hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tv-case-detail .hero-title {
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 300 !important;
  color: #00033d;
  margin-bottom: 0;
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.tv-case-detail .hero-subtitle-wrapper {
  margin-top: 0.5rem;
}

.tv-case-detail .hero-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  display: inline-block;
  padding-right: 1rem;
}

.tv-case-detail .hero-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 3, 61, 0.1);
  margin-top: 1rem;
}

.tv-case-detail .case-main-title {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  color: #00033d;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: left;
}

.tv-case-detail .case-header {
  text-align: left;
}

.tv-case-detail .case-company-subtitle {
  font-size: 0.9rem;
  color: #1245f6 !important;
}

.tv-case-detail .case-content-body {
  color: #1f2a4f;
  line-height: 1.8;
  font-size: 1rem;
}

.tv-case-detail .case-content-body p {
  margin-bottom: 1.5rem;
}

.tv-case-detail .case-content-body a {
  color: #1245f6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tv-case-detail .case-content-body h2,
.tv-case-detail .case-content-body h2.h2-heading {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: #1245f6;
  font-weight: 700;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(18, 69, 246, 0.2);
}

.tv-case-detail .case-content-body h2.h2-heading .blue-square {
  font-size: 0.9rem;
  line-height: 1;
}

.tv-case-detail .case-content-body h3,
.tv-case-detail .case-content-body h3.h3-heading {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: #00033d;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(0, 3, 61, 0.15);
}

.tv-case-detail .case-content-body h4,
.tv-case-detail .case-content-body h4.h4-heading {
  font-size: 1.05rem;
  color: #00033d;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.tv-case-detail .case-content-body h5 {
  font-size: 1rem;
  color: #1f2a4f;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.tv-case-detail .case-content-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.75rem;
  list-style-type: none;
}

.tv-case-detail .case-content-body ul > li {
  position: relative;
  margin-bottom: 0.5rem;
}

.tv-case-detail .case-content-body ul > li::before {
  content: "・";
  position: absolute;
  left: -1.2rem;
  color: #1245f6;
}

.tv-case-detail .case-content-body ul ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  list-style-type: none;
}

.tv-case-detail .case-content-body ul ul > li::before {
  content: "◦";
  color: #666;
  font-size: 0.8rem;
  top: 0.2rem;
  left: -1rem;
}

.tv-case-detail .case-content-body ol {
  padding-left: 1.75rem;
  margin-bottom: 1.75rem;
  list-style-type: decimal;
}

.tv-case-detail .case-content-body ol > li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.tv-case-detail .case-content-body blockquote {
  border-left: 3px solid #1245f6;
  padding: 0.75rem 1.25rem;
  margin: 1.75rem 0;
  background-color: rgba(18, 69, 246, 0.04);
  border-radius: 0 4px 4px 0;
  color: #1f2a4f;
  font-style: normal;
}

.tv-case-detail .case-content-body blockquote p {
  margin-bottom: 0;
}

.tv-case-detail .case-content-body img,
.tv-case-detail .case-content-body figure img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 1.5rem auto;
}

.tv-case-detail .case-content-body figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
}

.tv-case-detail .case-content-body hr {
  border: none;
  border-top: 1px solid rgba(0, 3, 61, 0.12);
  margin: 2.5rem 0;
}

.tv-case-detail .case-content-body strong {
  font-weight: 700;
  color: #00033d;
}

.tv-case-detail .border-left-text {
  border-left: 2px solid #1245f6;
  padding-left: 1.5rem;
  margin-top: 3rem;
}

.tv-case-detail .related-cases {
  border-color: rgba(0, 3, 61, 0.1) !important;
}

.tv-case-detail .section-heading {
  font-size: 1.8rem;
  color: #1245f6;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tv-case-detail .section-heading .blue-square {
  font-size: 1.2rem;
  line-height: 1;
}

.tv-case-detail .outline-btn {
  background-color: transparent;
  color: #1245f6;
  border: 1px solid #1245f6;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tv-case-detail .outline-btn:hover,
.tv-case-detail .outline-btn:focus-visible {
  background-color: #1245f6;
  border-color: #1245f6;
  color: #fff;
}

.tv-case-detail .outline-btn:hover .tv-arrow-icon,
.tv-case-detail .outline-btn:focus-visible .tv-arrow-icon {
  background-color: #fff;
  color: #1245f6;
}

.tv-case-detail .tv-arrow-icon {
  width: 20px;
  height: 20px;
  background-color: #1245f6;
  color: #fff;
  font-size: 0.6rem;
  transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
  .tv-case-detail .cases-hero {
    padding: 8rem 0 2rem;
  }
}
