/* 2025.7.28 コラム事例 */
.pageTitle_column_case {
    background: url(../img/column_case/bg_pageTitle.png) center center / cover no-repeat;
}
.filter-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 5px 20px;
    border: 1px solid #727171;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #727171;
    color: #727171;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #727171;
    border-color: #727171;
    color: white;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    min-height: 400px;
}

.card {
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    opacity: 1;
}

.card.hidden {
    display: none;
}

.card:hover {
  opacity: 0.6;
}

.card-image {
    width: 100%;
    height: 216px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    font-size: 14px;
    font-weight: bold;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.card-content {
    padding: 15px 0;
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.column_tag {
    padding: 2px 12px;
    border: 1px solid #727171;;
    border-radius: 15px;
    font-size: 11px;
    color: #666;
    display: inline-block;
}
.card-company {
    font-size: 12px;
}

.card-description {
    font-size: 12px;
}

/* Responsive Styles (Desktop First) */
/* Tablet */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .filter-buttons {
      gap: 10px;
    }
    .filter-btn{
      font-size: 12px;
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#column_case_detail{
  background-image: 
  linear-gradient(to bottom, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 1) 100%),
  url('/assets/img/column_case/bg_detail.png');
  background-size: cover;
  background-position: center top;
  padding: 80px 0 150px;
}
#column_case_detail .container{
  width: 960px;
  margin: 0 auto;
}
@media screen and (max-width: 767px){
    #column_case_detail{
    background: url(/assets/img/column_case/bg_detail_sp.png) center top / 100% no-repeat;
    padding: 40px 0 80px;
  }
  #column_case_detail .container{
    width: 94vw;
  }
}
.column_case_detail_date{
  text-align: right;
  margin-bottom: 40px;
}
.column_case_detail_img{
  width: 600px;
  margin: 0 auto 50px;
}
@media screen and (max-width: 767px){
  .column_case_detail_img{
      width: 100%;
    }
}
.column_case_detail_img img{
  width: 100%;
  margin-bottom: 20px;
}
.column_case_detail_img figcaption{
  font-size: 12px;
}
.column_case_detail_title{
  font-size: 1.5rem;
  margin-bottom: 25px;
}
@media screen and (max-width: 767px){
  .column_case_detail_title{
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
}
.column_case_detail_text:not(:last-child){
  margin-bottom: 45px;
} 
.column_case_detail_text p{
  line-height: 2em;
}
.column_case_detail_note{
  font-size: 12px;
  margin-bottom: 100px;
}

.section-title {
  font-size: 2.25rem; /* text-3xl */
  font-weight: 700; /* font-bold */
  color: #1f2937; /* text-gray-800 */
  margin-bottom: 2rem; /* mb-8 */
}

.articles-grid {
  display: flex;
  flex-direction: column; /* flex-col */
  gap: 2rem; /* gap-8 */
}

@media (min-width: 1024px) { /* lg breakpoint */
  .articles-grid {
      flex-direction: row; /* lg:flex-row */
  }
}

/* 最初の記事ブロック */
.article-block {
  background-color: #ffffff; /* bg-white */
  /* box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg - REMOVED */
  padding: 1rem; /* p-6 */
  display: flex;
  flex-direction: row; /* md:flex-row */
  align-items: center; /* items-center */
  gap: 1rem; /* gap-6 */
  width: 100%; /* w-full */
  border: 1px solid #000000; /* Added black border */
  box-sizing: border-box;
  transition: all 0.3s;
}
.article-block:hover{
  opacity: 0.6;
}

@media (min-width: 1024px) { /* lg breakpoint */
  .article-block {
      width: 50%; /* lg:w-1/2 */
  }
}

.article-image-container {
  flex-shrink: 0; /* flex-shrink-0 */
  width: 30%; /* w-full */
}

@media (min-width: 768px) { /* md breakpoint */
  .article-image-container {
      width: 38%; /* md:w-1/3 */
  }
}

.article-image {
  width: 100%; /* w-full */
  height: auto; /* h-auto */
  object-fit: cover; /* object-cover */
}

.article-content {
  flex-grow: 1; /* flex-grow */
}

@media (min-width: 768px) { /* md breakpoint */
  .article-content {
      text-align: left; /* md:text-left */
  }
}

.article-title {
  font-size: 14px; /* text-xl */
  font-weight: 600; /* font-semibold */
  margin-bottom: 15px; /* mb-2 */
}



.article-company {
  font-size: 12px; /* text-xl */
  margin-top: 15px;
}

/* 二番目の記事ブロック */
.valueaid-block {
  background-color: #ffffff; /* bg-white */
  padding: 1rem; /* p-6 */
  display: flex;
  flex-direction: column; /* flex-col */
  justify-content: center; /* justify-between */
  align-items: center; /* items-center */
  text-align: center; /* text-center */
  width: 100%; /* w-full */
  border: 1px solid #000000; /* Changed from blue to black border */
  box-sizing: border-box;
  transition: all 0.3s;
}
.valueaid-block:hover{
  opacity: 0.5;
}

@media (min-width: 1024px) { /* lg breakpoint */
  .valueaid-block {
      width: 50%; /* lg:w-1/2 */
  }
}

.valueaid-text {
  font-size: 12px; /* text-lg */
  margin-bottom: 15px; /* mb-6 */
}

.valueaid-service-name {
  font-size: 14px; /* text-2xl */
  font-weight: 700; /* font-bold */
  margin-bottom: 0.5rem; /* mb-2 */
}

.valueaid-logo-image {
  max-width: 185px; /* Adjust as needed */
  height: auto;
}