
.search-box {
    max-width: 60rem;
    margin: 0 auto;
    display: flex;
    position: relative;
  }
  
  #searchInput {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 1px solid #00547D;
    border-radius: .75rem;
  }
  
  .search-button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 5.2rem;
    background-color: #00547D;;
    border: none;
    border-radius: 0 .75rem .75rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .search-button img {
    width: 24px;
    height: 24px;
  }
  
  .tags-container {
    display: grid;
    grid-template-columns: repeat(6, 9.375rem);
    grid-template-rows: repeat(2, auto);
    gap: .94rem .81rem;
    justify-content: center;
    margin-top: 2.75rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .tag-button {
    width: 100%;
    height: 2.8125rem;
    background-color: #F7F7F7;
    border-radius: 50px;
    color: #959595;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.0625rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4375rem; /* 135.294% */
    letter-spacing: 0.0425rem;
}
  
  .tag-button:hover {
    background-color: #fff;
    color: #00547D;
    border: 1px solid #00547D;
  }
  
  .tag-button.active {
    background-color: #fff;
    color: #00547D;
    border: 1px solid #00547D;
}

@media (max-width: 1200px) {
    .search-box {
        margin: 0;
    }

    .tags-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 2.75rem 0 0;
        gap: .63rem;
        max-width: 100%;
    }
    .tag-button { 
        width: auto;
        padding: 0 1.5rem;
        font-size: 0.9rem;
    }
}
@media (max-width: 1024px) {


}
@media (max-width: 768px) {
    .tags-container {
        grid-template-columns: repeat(2, 9.375rem);
        grid-template-rows: auto;
        margin: 1.75rem 0 0;
        justify-content: flex-start;
    }
    
    .tag-button {
        width: auto;
        font-size: 0.9rem;
        padding: 0.4rem 1.25rem;
        height: 2.5rem;
    }
    .search-button {
        width: 3.2rem;
    }
    .search-button img{ 
        width: 1.3rem;
        height: 1.3rem;
    }
}

/* 記事カードのスタイル */
.articles-container {
    display: grid;
    gap: 3.75rem 2.12rem;
    margin: 6.25rem auto 3.75rem;
    padding: 0 1rem;
    justify-content: center;
}

.article-card {
    width: 100%;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

  /* 残りのスタイルは変更なし */
  @media (hover: hover) and (pointer: fine) {
.article-card:hover .article-image {
        transform: scale(1.1);
    }
}


.article-image-wrap {
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: auto;
    background-color: white;
	aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-date {
    color: #00547D;
    font-family: "Open Sans";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.04375rem;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.tag {
    width: 6.25rem;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    padding: .4rem 0;
    font-family: "Noto Sans JP";
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.tag.column-tag {
    color: #00547D;
    border: 1px solid #1B4B79;
    padding: 0.4rem 1rem;
}
.tag.news {
    color: #011018;
background: #B2E0F6;
line-height: 1.875rem;
padding: 0 1.63rem;
border: none;
}
.tag.new {
    border-radius: 1.875rem;
    background: #FF8900;
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.tag.その他,
.tag.iso,
.tag.マニフェスト,
.tag.法改正 {
    border: 1px solid #1B4B79;
    color: #00547D;
}
.tag.その他 {
    padding: .4rem 1.5rem;
}
.tag.iso{
    padding: .4rem 2.5rem;
}
.tag.マニフェスト {
    padding: .4rem .8rem;
}
.tag.法改正 {
    padding: .4rem 1.5rem;
}
.article-title {
    color: #011018;
    font-family: "Noto Sans JP";
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-top: 1.28rem;
}

.article-description {
    color: #011018;
    font-family: "Noto Sans JP";
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem; /* 133.333% */
    margin-top: .56rem;
}


/* PC (1200px以上) */
@media (min-width: 1200px) {
    .articles-container {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }
}

/* タブレット (768px以上1200px未満) */
@media (min-width: 768px) and (max-width: 1199px) {
    .articles-container {
        grid-template-columns: repeat(2, 16.5625rem);
        max-width: 768px;
    }
}

/* スマートフォン (768px未満) */
@media (max-width: 767px) {
    .articles-container {
        grid-template-columns: repeat(1, auto);
        max-width: 100%;
        gap: 3.75rem 2.12rem;
    }
    .article-image ,
    .article-card {
        width: 100%;
    }
    .article-image {
        height: 12rem;
    }

    #pickUp-news .article-card {
        background-color: #FFF;
    }

    #pickUp-news .tag.news {
        font-family: "Noto Sans JP";
        color: #00547D;
        border-radius: 50px;
        font-weight: bold;
        text-align: center;
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        display: flex
    ;
        align-items: center;
        justify-content: center;    
    }
    #pickUp-news .content-wrapper {
        padding-top: 0;
    }
}

/* NEWS ============================================*/

.tag.お知らせ,
.tag.セミナー,
.tag.メディア掲載
{
    color: #011018;
    font-family: "Noto Sans JP";
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    background: #B2E0F6;
}



/* 検索ボックスのレイアウト */

.bl_selectBlock_wrapper_wrapper {
    width: 100%;
}

/* 検索キーワードヒットしなかったときの表示 */
.keyword-content {
    position: absolute;
    display: block;
    width: 100%;
}