/* AUTOHUNT ah-usecase-index — extracted from WordPress render (https://www.autohunt.jp/usecase/)
   Combined from WP theme CSS: main.css + header.css + footer.css + usecase.css.
   Note: source live page has robots="noindex" — preserved in HTML. */

/* === main.css === */
/* 全体のコンテナ */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px;
}

.header-band {
    background-color: #1D74F5; /* 背景色 */
    height: 141px; /* 帯の高さ */
    width: 100%; /* 横幅を画面いっぱいに */
    display: flex; /* 子要素を中央に配置するためにフレックスボックスを使用 */
    align-items: center; /* 縦方向の中央揃え */
    justify-content: center; /* 横方向の中央揃え */
}

.header-band-text {
    color: #FFF; /* 白文字 */
    font-family: "Noto Sans JP", sans-serif; /* フォント指定 */
    font-size: 36px; /* フォントサイズ */
    font-style: normal; /* フォントスタイル */
    font-weight: 600; /* 太さ */
    line-height: var(--line-height-16_8, 17px); /* 行の高さ */
    flex-shrink: 0; /* 要素の縮小を防ぐ */
    text-align: left; /* 左揃え */
    width: 1204px; /* 幅 */
}

/* 全体のコンテナ */
.usecase-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px;
}

body.usecase-page {
    background: #F7F7F7
}

h1 {
    font-family: "Noto Sans JP", sans-serif;
    margin-top: 50px;
    margin-bottom: 35px;
}

/* 記事グリッド */
.article-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 40px;
    justify-content: space-between;
    margin-bottom: 206px;
}

/* 記事カード */
.article-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 20px); /* デスクトップで3列 */
}

@media (max-width: 768px) {
    .article-card {
        width: 100%; /* スマホ用 */
    }

    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden; /* 横スクロールを防ぐ */
        background-color: #fff;
        padding-top: 60px; /* ヘッダーの高さ分だけ余白を追加 */
    }
}

.mobile-categories {
    padding-bottom: 20px;
    max-width: 277px;
}

.mobile-categories li {
    display: inline-block;
}

.mobile-categories li a {
    color: #898686; /* テキストカラーを設定 */
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 30px;
    text-decoration: none; /* 下線を削除 */
}

.mobile-categories li a:hover {
    color: #005bb5; /* ホバー時の色を設定 (任意) */
    text-decoration: underline; /* ホバー時に下線を追加 (任意) */
}

.article-card a {
    text-decoration: none; /* 全体のリンク要素の下線を削除 */
}

.article-card:hover,
.single-article-card:hover {
    transform: translateY(-5px);
}

/* サムネイル共通スタイル */
.article-card img,
.post-thumbnail img.custom-thumbnail {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* サムネイルサイズ指定 */
.post-thumbnail {
    width: 180px;
    height: 121px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-post-item .post-thumbnail {
    width: 352px;
    height: 184px;
}

/* コンテンツ部分 */
.article-content {
    padding: 15px;
    padding-top: 10px;
    flex-grow: 1;
}

/* 投稿日スタイル */
.post-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 2px;
    font-weight: normal;
}

/* タイトルスタイル */
.article-title-text {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    max-height: 48px;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2; /* 2行で省略 */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

/* タイトルスタイル */
.article-title-text a {
    color: #333;
}

.article-title-text a:hover {
    color: #005bb5;
    text-decoration: none;
}

/* タグのスタイル */
.tag-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    padding: 2px 2px;
}

.tag-text {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(111, 111, 111, 1);
    white-space: nowrap;
    margin: 2px 4px;
}

/* ヘッダー全体 */
.blog-header {
    background-color: #fff;
    padding: 10px 0;
}

.blog-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* ロゴ */
.blog-header .logo img {
    width: 296.22px;
    height: 30px;
    object-fit: contain;
}

/* メニュー */
.blog-header .blog-nav .menu {
    list-style: none;
    display: flex;
    gap: 14px;
    align-items: center;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    margin-left: 0px;
}

.blog-header .blog-nav .menu li a {
    color: #000;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 16.8px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-header .blog-nav .menu li a: {
    color: #0073e6;
}

/* 外部リンク */
.blog-header .external-link a {
    color: var(--baigie-me-tuatara, var(--color-grey-14, #242422));
    font-family: "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: var(--line-height-26_25, 26.25px);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
    display: flex;
    margin-left: 190px;
    margin-right: 8px;
}

.blog-header .external-link a:hover {
    color: #0073e6;
}

.blog-header .external-link-download a {
    display: inline-flex; /* フレックスボックスで要素を整列 */
    align-items: center;
    justify-content: center; /* 中央揃え */
    gap: 5px; /* アイコンとテキストの間隔 */
    width: 173.13px; /* ボタンの幅 */
    height: 42px; /* ボタンの高さ */
    font-size: 13px; /* フォントサイズ */
    font-weight: bold; /* 文字を強調 */
    color: #ffffff; /* 文字色を白に */
    text-decoration: none; /* 下線を削除 */
    border-radius: 6px; /* 角丸 */
    border: var(--stroke-weight-1, 1px) solid #0766F4; /* ボーダー */
    background: #1D74F5; /* 背景色 */
    transition: background-color 0.3s ease, color 0.3s ease; /* ホバー時のアニメーション */
}

.blog-header .external-link-download a:hover {
    background: #0F5BD7; /* ホバー時の背景色 */
    color: #ffffff; /* ホバー時も文字色を白に */
}

html {
    margin-top: 0px !important;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fafafa;
    margin: 0;
}

/* シングル投稿ページ */
.single-post-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

/* 横並びにするためのラッパー */
.post-content-sidebar-wrapper {
    display: flex; /* 横並び */
    gap: 20px; /* 本文とサイドバーの間隔 */
    justify-content: space-between;
    width: 100%; /* 横幅全体をカバー */
}

.single-post-content-wrapper {
    flex: 1; /* コンテンツをフレックスで拡張 */
    padding-left: 91px; /* コンテンツ内の左のスペース */
    box-sizing: border-box; /* パディングを含めた幅を計算 */
}

/* メインコンテンツ */
.content-area {
    flex: 3;
}

.post-content {
    font-family: "Noto Sans JP", sans-serif; /* フォント */
    font-size: 16px; /* フォントサイズ */
    font-weight: 400;
    line-height: 1.8; /* 行間 */
    /* 字間 */
    letter-spacing: 0.05em;
}

/* サイドバー */
.sidebar {
    flex: 1;
    max-width: 222px;
    padding-right: 91px; /* 右のスペース */
    padding-left: 20px; /* 左のスペース */
    flex-shrink: 0; /* 固定幅 */
    display: flex;
    flex-direction: column; /* 縦に並べる */
}

.sidebar h2 {
    font-family: "Noto Sans JP", sans-serif;
    margin: 16px 0 16px 0;
    padding-left: 0;
    font-size: 1.2rem;
    font-weight: normal; /* Remove bold font weight */
}

.sidebar ul {
    list-style: none; /* デフォルトのマーカーを削除 */
    margin: 0; /* デフォルトのマージンをリセット */
    padding: 0; /* デフォルトのパディングをリセット */
    width: 100%; /* リスト全体を親要素の幅に合わせる */
}

/* サイドバー記事カード */
.single-article-card {
    display: flex;
    width: 100%;
    flex-direction: column;
    border: none; /* 枠線を削除 */
    border-radius: 5px; /* 必要なら角丸は維持 */
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.2s ease;
    font-family: "Noto Sans JP", sans-serif;
}

.single-article-card .single-thumbnail {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1);
}

.single-article-card .single-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

.single-article-card .single-article-info {
    /* カードの上下に余白を追加 */
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.single-article-card .single-post-date {
    color: #666;
    margin-bottom: 5px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 12px;
}

.single-article-card .single-post-title {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.5;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2; /* 2行で省略 */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.single-article-card .single-post-title:hover {
    color: #0073e6;
}

.single-article-card a {
    text-decoration: none; /* 全体のリンク要素の下線を削除 */
}

/* 記事本文専用のスタイル */
.post-content-wrapper {
    flex: 1; /* 残りのスペースを占有 */
    margin-left: 63px; /* 左に63pxのスペースを追加 */
    box-sizing: border-box; /* パディングやマージンを含む幅計算 */
    max-width: 650.327px;
}

@media (max-width: 768px) {
    /* サイドバーを非表示 */
    .sidebar {
        display: none; /* サイドバーを非表示に */
    }

    /* 記事本文の幅を調整 */
    .post-content-wrapper {
        margin-left: 0;
        padding-left: 0;
        max-width: 100%; /* 全幅に広げる */
    }
}


/* パンクズ、タイトル、投稿日、タグをまとめる */
.post-header {
    display: flex; /* フレックスボックスで縦並び */
    flex-direction: column;
    gap: 16px; /* 各要素間の隙間 */
    margin-bottom: 20px; /* 下に余白 */
    margin-right: auto; /* デフォルトで右寄せ解除 */
    margin-left: 0; /* 左寄せ維持 */
    max-width: calc(100% - 100px); /* 左側の余白を考慮した全体幅 */
    padding-right: 243px; /* 右側のスペースを post-content と揃える */
    box-sizing: border-box; /* パディングを含めた幅を計算 */
}

/* パンクズ */
.breadcrumbs {
    font-size: 0.9rem;
    color: rgba(22, 22, 22, 1);
    font-weight: bold;
    font-family: "Noto Sans JP", sans-serif;
}

/* 記事タイトル */
.post-header h1 {
    color: var(--dentsu-ho-com-black, var(--color-black-solid, #000));
    font-family: "Noto Sans JP", sans-serif;
    font-size: 40.688px;
    font-style: normal;
    font-weight: var(--font-weight-700, 700);
    line-height: var(--line-height-48_3, 48.3px);
    margin: 0;
}

/* 投稿日 */
.post-header .post-meta {
    font-size: 0.9rem;
    color: rgba(22, 22, 22, 1);
    margin: 0;
}

.post-header .post-date {
    color: rgba(22, 22, 22, 1);
    margin-bottom: 4px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    font-size: 12px;
}

/* タグのスタイル */
.post-header .post-tags {
    display: flex; /* タグを横並びに配置 */
    gap: 8px; /* タグ間の隙間 */
    flex-wrap: wrap; /* タグが多い場合に折り返し */
}

/* 個別のタグ */
.post-header .post-tags .tag {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.9rem;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

/* タグのホバー効果 */
.post-header .post-tags .tag:hover {
    color: #0073e6; /* ホバー時に青色 */
    background-color: rgba(230, 230, 230, 1); /* 背景を少し明るく */
    transition: color 0.3s ease, background-color 0.3s ease; /* アニメーション効果 */
}

/* あなたへのおすすめ記事セクション */
.related-articles-section {
    margin-top: 40px; /* 上部に余白を追加 */
}

.related-articles-section h2 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 40px; /* タイトルとグリッド間のスペース */
}

/* おすすめ記事のグリッド */
.related-articles-grid {
    display: flex;
    flex-wrap: wrap; /* 子要素が多い場合は折り返し */
    gap: 20px; /* 各カード間のスペース */
    justify-content: space-between; /* 子要素を均等に配置 */
}

/* おすすめ記事カードのスタイル */
.related-articles-grid .single-article-card {
    width: calc(25% - 20px); /* 4列表示（ギャップを考慮） */
    display: flex;
    border: none; /* 枠線を削除 */
    border-radius: 5px; /* 必要なら角丸は維持 */
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.related-articles-grid .single-article-card:hover {
    transform: translateY(-5px); /* ホバー時のアニメーション */
}

.related-articles-grid .single-thumbnail {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-articles-grid .single-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.related-articles-grid .single-article-info {
    /* カードの上下に余白を追加 */
    padding-top: 10px;
    padding-bottom: 10px;
}

.related-articles-grid .single-post-date {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.related-articles-grid .single-post-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2; /* 2行で省略 */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
}

.related-articles-grid .single-post-title:hover {
    color: #0073e6;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .single-post-container {
        flex-direction: column;
        padding: 20px;
    }

    .sidebar {
        max-width: 100%;
        min-width: unset;
    }
}

/* モバイルヘッダー */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 58px;
    padding: 0 16px; /* 左右の余白 */
    background-color: #fff; /* 背景色 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 軽い影を追加 */
    top: 0;
    z-index: 100; /* 最前面に表示 */
    padding: 0;
}

.mobile-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* ロゴ部分 */
.mobile-header .logo {
    display: flex; /* フレックスボックスを使用 */
    align-items: center; /* 縦方向の中央揃え */
}

.mobile-header .logo img {
    height: 18px; /* ロゴの高さを調整 */
    width: auto; /* 幅を自動調整 */
    display: block; /* 必要に応じて追加 */
}

/* モバイルヘッダーの外部リンク */
.mobile-header .external-link a {
    color: var(--baigie-me-tuatara, var(--color-grey-14, #242422));
    font-family: "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: var(--line-height-26_25, 26.25px);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0px; /* テキストとアイコンの間隔 */
    margin-left: 26px; /* ロゴとの間隔 */
}

.mobile-header .external-link a:hover {
    color: #0073e6;
}

.mobile-header .external-link img {
    width: 10.5px; /* アイコンのサイズ */
    height: auto;
}

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 32px;
}

.pagination a,
.pagination span {
    color: var(--bakuraku-jp-pickled-bluewood, var(--color-azure-21, #233447));
    /* bakuraku.jp/Semantic/Link */
    font-family: var(--font-family-Font-2, Montserrat);
    font-size: var(--line-height-15, 15px);
    font-style: normal;
    font-weight: var(--font-weight-700, 700);
    line-height: var(--line-height-22_5, 22.5px); /* 150% */
    letter-spacing: var(--letter-spacing-0_72, 0.72px);
    text-decoration: none;
}

.pagination a:hover,
.pagination span.current {
    background-color: #0073e6;
    color: #fff;
}

@media (max-width: 768px) {
    /* 記事コンテンツ全体の余白をリセット */
    .single-post-container {
        padding: 10px; /* モバイル画面では少なめの余白 */
    }

    /* 本文部分のパディングをリセット */
    .post-content-wrapper {
        padding-left: 0; /* 左の余白をリセット */
        margin-left: 0;  /* 左のマージンをリセット */
        max-width: 100%; /* 幅を全体に */
    }

    .single-post-content-wrapper {
        padding-left: 0; /* 左のパディングをリセット */
        margin-left: 0;  /* 左のマージンをリセット */
        padding-right: 0; /* 右のパディングをリセット */
        margin-right: 0;  /* 右のマージンをリセット */
        max-width: 100%; /* 幅を全体に */
    }

    .post-header {
        padding-left: 0; /* 左のパディングをリセット */
        margin-left: 0;  /* 左のマージンをリセット */
        padding-right: 0; /* 右のパディングをリセット */
        margin-right: 0;  /* 右のマージンをリセット */
        max-width: 100%; /* 幅を全体に */
    }

    /* 記事ヘッダーの余白をリセット */
    .post-header {
        margin-left: 0; /* 左余白をリセット */
        padding-right: 0; /* 右パディングをリセット */
    }

    /* タイトルのフォントサイズと間隔を調整 */
    .post-header h1 {
        font-size: 24px; /* モバイル用のフォントサイズ */
        margin-bottom: 10px; /* 下の余白を減らす */
    }

    /* パンクズの余白とフォントサイズを調整 */
    .breadcrumbs {
        font-size: 12px; /* パンクズを小さめに */
        margin-bottom: 10px; /* 下の余白を減らす */
    }

    /* おすすめ記事の余白調整 */
    .related-articles-section {
        margin-top: 20px; /* 上の余白を減らす */
    }

    /* おすすめ記事カードのスタイル調整 */
    .related-articles-grid .single-article-card {
        width: 100%; /* モバイルでは全幅を使用 */
        margin-bottom: 20px; /* 下の余白を確保 */
    }

    /* グリッド全体の調整 */
    .related-articles-grid {
        display: flex; /* グリッドをフレックスに変更 */
        flex-direction: column; /* 縦並びにする */
        gap: 20px; /* カード間のスペースを確保 */
    }

    /* サムネイル画像の調整 */
    .related-articles-grid .single-thumbnail img {
        object-fit: cover; /* サムネイル画像の収まりを調整 */
        height: auto; /* 自動高さ */
    }

    .header-band-text {
        color: var(--bakuraku-jp-white, var(--color-white-solid, #FFF));
        font-family: "Noto Sans JP", sans-serif;
        font-size: var(--font-size-32, 32px);
        font-style: normal;
        font-weight: var(--font-weight-600, 600);
        line-height: var(--line-height-48, 48px); /* 150% */
        letter-spacing: var(--letter-spacing-1_6, 1.6px);
        flex-shrink: 0; /* 要素の縮小を防ぐ */
        text-align: left; /* 左揃え */
        width: 87%; /* 幅 */
        box-sizing: border-box;
    }

    .article-grid {
        row-gap: 20px;
    }

    h1 {
        font-family: "Noto Sans JP", sans-serif;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    .article-content {
        padding: 15px;
        padding-top: 0;
    }
}

/* === header.css === */
.header-band {
    background-color: #1D74F5; /* 背景色 */
    height: 141px; /* 帯の高さ */
    width: 100%; /* 横幅を画面いっぱいに */
    display: flex; /* 子要素を中央に配置するためにフレックスボックスを使用 */
    align-items: center; /* 縦方向の中央揃え */
    justify-content: center; /* 横方向の中央揃え */
}

.header-band-text {
    color: #FFF; /* 白文字 */
    font-family: "Noto Sans JP", sans-serif; /* フォント指定 */
    font-size: 36px; /* フォントサイズ */
    font-style: normal; /* フォントスタイル */
    font-weight: 600; /* 太さ */
    line-height: var(--line-height-16_8, 16.8px); /* 行の高さ */
    flex-shrink: 0; /* 要素の縮小を防ぐ */
    text-align: left; /* 左揃え */
    max-width: 1204px; /* 幅 */
}

* ヘッダー全体 */
.header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-family: "Noto Sans JP", sans-serif;
}

.header .container {
    display: flex;
    align-items: center;
    max-width: 1204px;
    margin: 0 auto;
    padding: 0;
    height: 86px;
    gap: 43px;
    justify-content: space-between;
}

.header .logo {
    width: 220px;
    height: 30px;
}

/* ロゴ */
.header .logo img {
    width: 220px;
    height: 30px;
    object-fit: contain;
}

/* メニュー */
.header .blog-nav .menu {
    margin-left: 320px;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 31px;
}

.header .blog-nav .menu li a {
    color: #323232;
    font-family: var(--font-family-Font-1, "Noto Sans JP");
    font-size: var(--font-size-14, 14px);
    font-style: normal;
    font-weight: 700;
    line-height: var(--line-height-23_38, 23.38px);
    text-decoration: none;
    transition: color 0.3s ease;
}

.header .blog-nav .menu li a:hover {
    color: #0073e6;
}

/* 外部リンク */
.header .external-link a {
    display: inline-flex; /* フレックスボックスで要素を整列 */
    align-items: center;
    justify-content: center; /* 中央揃え */
    gap: 5px; /* アイコンとテキストの間隔 */
    width: 173.13px; /* ボタンの幅 */
    height: 42px; /* ボタンの高さ */
    font-size: 13px; /* フォントサイズ */
    font-weight: bold; /* 文字を強調 */
    color: #ffffff; /* 文字色を白に */
    text-decoration: none; /* 下線を削除 */
    border-radius: 6px; /* 角丸 */
    border: var(--stroke-weight-1, 1px) solid #0766F4; /* ボーダー */
    background: #1D74F5; /* 背景色 */
    transition: background-color 0.3s ease, color 0.3s ease; /* ホバー時のアニメーション */
}

.header .external-link a:hover {
    background: #0F5BD7; /* ホバー時の背景色 */
    color: #ffffff; /* ホバー時も文字色を白に */
}

/* ============================
   モバイルヘッダー
   ============================ */
   .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px;
    width: 100%;
    max-width: 100vw;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
  }

  .mobile-header__logo {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    color: #333;
    height: 24.75px;
  }

  .mobile-header__logo img {
    width: 180px; /* お好みのサイズに変更 */
    height: auto; /* アスペクト比を維持 */
}


  /* ハンバーガーメニューアイコン */
  .mobile-header__burger {
    width: 30px;
    height: 11px; /* 変更なし */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
  }

  .mobile-header__burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: absolute;
    left: 0;
  }

  /* 1本目の線 */
  .mobile-header__burger span:nth-child(1) {
    top: 0;
  }

  /* 2本目の線 */
  .mobile-header__burger span:nth-child(2) {
    bottom: 0;
  }

  /* メニューが開いたときのバッテン変形 */
  .mobile-header__burger.active span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .mobile-header__burger.active span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }


  /* ============================
     モバイルメニューオーバーレイ
     ============================ */
  .mobile-menu {
    position: fixed;
    top: 58px;
    left: 0;
    width: 100%;
    height: calc(100% - 58px);
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20%);
    transition: all 0.3s ease;
    z-index: 999;
  }

  /* メニュー表示時のクラス（JSで付与） */
  .mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* ナビゲーションリンク */
  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 30px
  }

  .mobile-menu__nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 0px 12px 20px;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s ease;
  }

  .mobile-menu__nav a:hover {
    background-color: #f5f5f5;
  }

  /* 区切り線 */
  .mobile-menu__separator {
    margin: 38px 20px;
    width: 335px;
    border: none;
    border-top: 1px solid #B3C1CF;
  }

  /* ボタンコンテナ */
  .mobile-menu__buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 0 38px;
  }

  /* ダウンロード・お問い合わせボタン */
  .mobile-download-button,
  .mobile-contact-button {
    display: inline-block;
    text-decoration: none;
    width: 300px;
    height: 60px;
    border-radius: 34px;
    font-size: 14px;
    transition: background 0.3s ease;
    text-align: center;
    background-color: #1D74F5;
    color: #fff;
    line-height: 60px;
    font-weight: 700;
    letter-spacing: 0.32px;
  }

  .download-button:hover {
    background-color: #0F5BD7;
  }
  .contact-button:hover {
    background-color: #0F5BD7;
  }

/* === footer.css === */
.footer {
    background-color: #fff;
    padding: 40px 20px 20px;
    border-top: 1px solid #E0E0E0;
    display: flex;
    flex-direction: column; /* 縦方向に配置 */
    align-items: center; /* 横方向の中央揃え */
    font-family: "Noto Sans JP", sans-serif;
}


.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%; /* 中央揃えのため全幅を指定 */
}

.footer-left {
    text-align: left;
}

.footer-logo {
    max-height: 40px; /* ロゴの高さを調整 */
    margin-bottom: 0px;
}

.footer-tagline {
    color: #323232;
    font-family: "Noto Sans JP";
    font-size: var(--font-size-16, 16px);
    font-style: normal;
    font-weight: 600;
    line-height: var(--line-height-22_4, 22.4px);
}

.footer-right {
    text-align: right;
}

.footer-prize-logos {
    width: 387px;
    height: 78px;
}

.footer-bottom {
    width: 100%;
    max-width: 1200px;
    display: flex;
    text-align: center;
    justify-content: space-between;
    margin-top: 16px;
    border-top: 1px solid #E0E0E0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links li {
    color: #323232;
    font-family: var(--font-family-Font-3, "Noto Sans JP");
    font-size: var(--font-size-10, 10px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--line-height-10, 10px);
}

.footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: #323232;
}

.footer-links a:hover {
    color: #1558c4;
}

.footer-copyright {
    color: #323232;
    font-family: var(--font-family-Font-5, "Noto Sans JP");
    font-size: 9.375px;
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: var(--line-height-17_9, 17.9px);
}

@media screen and (max-width: 768px) {
    /* スマホ版フッター全体 */
    .mobile-footer {
        margin: 0 auto;
        background-color: #fff;
        border-top: 1px solid #ddd;
        font-family: "Noto Sans JP", sans-serif;
    }
    .mobile-footer .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    /* ロゴ */
    .mobile-footer .footer-logo-container {
        margin-bottom: 8px;
    }
    .mobile-footer .footer-logo {
        max-width: 100%;
        height: auto;
    }
    /* テキスト */
    .mobile-footer .footer-tagline {
        font-size: 14px;
        color: #333;
        text-align: center;
        margin-bottom: 35px;
    }
    /* 四つの画像を横並び */
    .mobile-footer .footer-images {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 10px;
    }
    .mobile-footer .footer-images img {
        width: 288px;
        height: auto;
        margin-left: 39px;
    }
    /* 横線 */
    .mobile-footer .footer-divider {
        width: 375px;
        border: none;
        border-top: 1px solid #ddd;
        margin: 10px 0;
    }
    /* リンク（2×2 グリッド） */
    .mobile-footer .footer-links-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 5px;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .mobile-footer .footer-links-grid a {
        font-size: 10px;
        color: #333;
        text-decoration: none;
        border: 1px solid transparent;
        transition: border 0.3s ease;
    }
    .mobile-footer .footer-links-grid a:hover {
        border-color: #1D74F5;
    }
    /* 下部テキスト */
    .mobile-footer p {
        font-size: 12px;
        color: #666;
        text-align: center;
        margin-top: 23.5px;
        font-weight: 400;
    }
}

/* === usecase.css === */
.header-band {
    background-color: #1D74F5; /* 背景色 */
    height: 141px; /* 帯の高さ */
    width: 100%; /* 横幅を画面いっぱいに */
    display: flex; /* 子要素を中央に配置するためにフレックスボックスを使用 */
    align-items: center; /* 縦方向の中央揃え */
    justify-content: center; /* 横方向の中央揃え */
}

.header-band-text {
    color: #FFF; /* 白文字 */
    font-family: "Noto Sans JP", sans-serif; /* フォント指定 */
    font-size: 36px; /* フォントサイズ */
    font-style: normal; /* フォントスタイル */
    font-weight: 600; /* 太さ */
    line-height: var(--line-height-16_8, 17px); /* 行の高さ */
    flex-shrink: 0; /* 要素の縮小を防ぐ */
    text-align: left; /* 左揃え */
    width: 1204px; /* 幅 */
}

/* General Page Styles */
body {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Section Titles */
.usecase-container .section-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #1D74F5;
    margin: 60px;
    text-align: center;
}

/* Featured Cases Section */
.featured-cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ensures exactly 3 items per row */
    gap: 20px;
    margin-bottom: 40px;
}

.featured-content .featured-logo img {
    height: 37px;
    width: auto;
}

.featured-content {
    padding: 15px;
    padding-top: 10px;
    flex-grow: 1;
}

/* タイトルスタイル */
.featured-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    max-height: 48px;
    display: -webkit-box;
    display: box;
    -webkit-line-clamp: 2; /* 2行で省略 */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    margin-top: 0;
}

/* タイトルスタイル */
.featured-title a {
    color: #333;
}

.featured-title a:hover {
    color: #005bb5;
    text-decoration: none;
}

.featured-company-name {
    color: #1D74F5;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 21px; /* 150% */
    letter-spacing: 0.28px;
    margin-top: 18px;
    margin-bottom: 6px;
    text-align: left;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ensures exactly 3 items per row */
    gap: 20px;
    row-gap: 40px;
    margin-top: 95px;
}

.article-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 352px;
    height: 360px;
}

.article-card:hover {
    background-color: #f5f5f5; /* わずかに明るくする */
    filter: brightness(1.05); /* 明るさを5%増す */
    transform: none; /* scale(1.05) を削除して浮く動作を無効化 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 影を変えない */
}

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


.tag {
    color: #717171;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding-right: 10px;
    white-space: nowrap;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #0056b3;
}

.search-container {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 32px;
    padding: 20px 0 100px 0;
    margin: 95px auto;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-container h1 {
    color: #1D74F5;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: var(--line-height-16_8, 16.8px); /* 46.667% */
    margin-bottom: 60px;
}

.tab-navigation {
    display: flex;
    justify-content: center;
}

.tab-navigation button {
    font-family: "Noto Sans JP", sans-serif;
    background: none;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    color: #717171;
    font-weight: 700;
    font-size: 24px;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.tab-navigation button.active {
    color: #1D74F5;
    border-bottom: 4px solid #1D74F5;
}

.tab-navigation button:hover {
    color: #1D74F5;
}

.filter-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 50px;
    border: 1px solid #B3C1CF;
    margin: 20px 50px 0 50px;
}

.filter-group label {
    display: flex;
    color: #000;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 120% */
    letter-spacing: 0.32px;
    cursor: pointer;
    margin-left: 20px;
}

.filter-group input[type="checkbox"] {
    margin-right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background-color: white;
    border: 2px solid #D9D9D9;
    position: relative;
    appearance: none;
}

.filter-group input[type="checkbox"]:checked {
    border-color: #D9D9D9;
}

.filter-group input[type="checkbox"]:hover {
    border-color: #a1a1a1;
}

.filter-group input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 8px;
    height: 12px;
    background-color: #1D74F5;
    clip-path: polygon(0 0, 80% 0, 100% 25%, 30% 20%, 30% 100%, 0 100%);
    transform: rotate(215deg);
}

.dot-slider {
    text-align: center;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #717171;
}

.dot:hover {
    background-color: #717171;
}

/* ボタンのスタイル */
.toggle-filters-button {
    font-family: "Noto Sans JP", sans-serif;
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    background-color: #fff;
    color: #007bff;
    border: 1px solid #ddd;
    border-radius: 32px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-filters-button:hover {
    background-color: #f0f0f0;
}

/* 非表示状態 */
.hidden {
    display: none;
}

.toggle-filters-button {
    display: none; /* PC版ではボタンを非表示 */
}

@media (min-width: 769px) {
    #search-filters {
        display: flex; /* PCでは常に表示 */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .usecase-header .container {
        flex-direction: column;
        gap: 20px;
        height: auto;
    }

    .featured-cases {
        grid-template-columns: repeat(1, 1fr);
        /* この中の要素を中央揃え */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .featured-card,
    .article-card {
        width: 87%;
    }

    .article-grid {
        grid-template-columns: 1fr;
        display: flex;
        row-gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .search-container h1 {
        color: #1D74F5;
        font-family: "Noto Sans JP", sans-serif;
        font-size: var(--font-size-32, 32px);
        font-style: normal;
        font-weight: var(--font-weight-600, 600);
        line-height: var(--line-height-48, 48px); /* 150% */
        letter-spacing: var(--letter-spacing-1_6, 1.6px);
        text-align: left;
        width: 87%;
        margin-bottom: 24px;
        margin-top: 0;
    }

    /* スマホでは最初は非表示 */
    #search-filters {
        display: flex;
        flex-direction: column;
    }

    /* ボタンを押したら表示 */
    #search-filters.active {
        display: flex;
        flex-direction: column;
    }

    .toggle-filters-button {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 90%;
        padding: 12px 20px;
        border-radius: 6px;
        background: var(--color-white-solid, #FFF);
        text-align: left;
        cursor: pointer;
        transition: background-color 0.3s ease;
        padding-left: 25px;
        color: #1D74F5;
        font-family: "Noto Sans JP", sans-serif;
        font-size: var(--font-size-16, 16px);
        font-style: normal;
        font-weight: var(--font-weight-600, 600);
        line-height: var(--line-height-24, 24px);
        letter-spacing: var(--letter-spacing-0_32, 0.32px);
        border: 1px solid #1D74F5;
    }

    /* 矢印アイコンのスタイル */
    .toggle-filters-button .toggle-icon {
        width: 16px;
        height: 16px;
        transition: transform 0.3s ease;
    }

    /* アクティブ時に矢印を回転 */
    .toggle-filters-button.active .toggle-icon {
        transform: rotate(180deg);
    }


    .toggle-filters-button:hover {
        background-color: #f0f0f0;
    }

    .filter-group {
        justify-content: space-between;
    }

    .filter-group label {
        display: flex;
        align-items: center;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 20px;
        font-weight: 500;
        color: #000000;
        cursor: pointer;
        margin-left: 0px;
    }
}

/* シングル投稿ページ */
.single-post-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

.post-header-content-wrapper {
    width: 100%;
}

/* 横並びにするためのラッパー */
.post-content-sidebar-wrapper {
    display: flex; /* 横並び */
    gap: 48px; /* 本文とサイドバーの間隔 */
    justify-content: space-between;
    width: 100%; /* 横幅全体をカバー */
}

.single-post-content-wrapper {
    flex: 1; /* コンテンツをフレックスで拡張 */
    padding-left: 55px; /* コンテンツ内の左のスペース */
    box-sizing: border-box; /* パディングを含めた幅を計算 */
}

/* メインコンテンツ */
.content-area {
    flex: 3;
}

.usecase-post-content {
    font-family: "Noto Sans JP", sans-serif; /* フォント */
    font-size: 16px; /* フォントサイズ */
    font-weight: 400;
    line-height: 1.8; /* 行間 */
    /* 字間 */
    letter-spacing: 0.05em;
}

/* サイドバー */
.sidebar {
    flex: 1;
    padding-right: 91px; /* 右のスペース */
    padding-left: 20px; /* 左のスペース */
    flex-shrink: 0; /* 固定幅 */
    display: flex;
    flex-direction: column; /* 縦に並べる */
    height: 536px;
    width: 280px;
}

.sidebar h2 {
    font-family: "Noto Sans JP", sans-serif;
    margin: 16px 0 16px 0;
    padding-left: 0;
    font-size: 1.2rem;
    font-weight: normal; /* Remove bold font weight */
}

.sidebar ul {
    list-style: none; /* デフォルトのマーカーを削除 */
    margin: 0; /* デフォルトのマージンをリセット */
    padding: 0; /* デフォルトのパディングをリセット */
    width: 100%; /* リスト全体を親要素の幅に合わせる */
}

/* 記事本文専用のスタイル */
.usecase-post-content-wrapper {
    flex: 1; /* 残りのスペースを占有 */
    box-sizing: border-box; /* パディングやマージンを含む幅計算 */
    width: 100%; /* 全幅に広げる */
}

@media (max-width: 768px) {
    /* サイドバーを非表示 */
    .sidebar {
        display: none; /* サイドバーを非表示に */
    }

    /* 記事本文の幅を調整 */
    .post-content-wrapper {
        margin-left: 0;
        padding-left: 0;
        max-width: 100%; /* 全幅に広げる */
    }
}


/* パンクズ、タイトル、投稿日、タグをまとめる */
.usecase-post-header {
    display: flex; /* フレックスボックスで縦並び */
    flex-direction: column;
    gap: 16px; /* 各要素間の隙間 */
}

/* パンクズ */
.breadcrumbs {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.9rem;
    color: rgba(22, 22, 22, 1);
    font-weight: bold;
}

/* 記事タイトル */
.usecase-post-header h1 {
    color: var(--dentsu-ho-com-black, var(--color-black-solid, #000));
    font-family: "Noto Sans JP", sans-serif;
    font-size: 40.688px;
    font-style: normal;
    font-weight: var(--font-weight-700, 700);
    line-height: var(--line-height-48_3, 48.3px);
    margin: 0;
}

/* 投稿日 */
.usecase-post-header .post-meta {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.9rem;
    color: rgba(22, 22, 22, 1);
    margin: 0;
}

.usecase-post-header .post-date {
    color: rgba(22, 22, 22, 1);
    margin-bottom: 4px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
    font-size: 12px;
}

.company-info-sidebar {
    height: 536px;
    width: 280px;
    padding: 20px;
    background: #fff;
    border: none;
    border-radius: 10px;
    text-align: center;
}

.company-card {
    padding: 15px;
}

.company-logo {
    text-align: center;
    margin-bottom: 10px;
}

.company-logo img {
    height: auto;
    width: 160px;
}

.company-details {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    color: #333;
    text-align: left;
}

.company-info {
    margin-bottom: 10px;
    font-weight: bold;
    border-top: 1px solid #ddd;
    padding-top: 18px;
}

.company-info strong {
    color: #007bff;
}

/* AUTOHUNT導入の背景と理由セクション */
.usecase-reason-section {
    border-radius: 30px;
    background: #FFF;
    padding: 76px 44px;
    margin: 80px 0;
}

.usecase-reason-title {
    color: #1D74F5;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: var(--line-height-16_8, 16.8px); /* 70% */
    padding-bottom: 46px;
    border-bottom: 1px solid #757575;
    margin: 0;
}

.usecase-reason-content {
    display: flex;
    flex-direction: column;
    /* この中の要素を中央揃え */
    align-items: center;
}

.usecase-reason-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-bottom: 1px solid #757575;
    width: 100%;
    box-sizing: border-box;
}

.usecase-reason-heading {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: 25px;
    margin-right: 40px;
    margin-top: 35px;
    margin-bottom: 35px;
    align-items: center;
}

.usecase-reason-heading img {
    width: 30px;
    height: 30px;
}


.usecase-reason-heading h3 {
    color: #1D74F5;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.6px;
    margin: 0;
    width: 60px;
    height: 24px;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .single-post-container {
        display: flex;
        flex-direction: column;
        width: 87%;
    }

    .sidebar {
        max-width: 100%;
        min-width: unset;
    }

    .usecase-container {
        max-width: 1120px;
        margin: 0 auto;
        padding: 0;
        /* この中の要素を中央揃え */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header-band-text {
        color: var(--bakuraku-jp-white, var(--color-white-solid, #FFF));
        font-family: "Noto Sans JP", sans-serif;
        font-size: var(--font-size-32, 32px);
        font-style: normal;
        font-weight: var(--font-weight-600, 600);
        line-height: var(--line-height-48, 48px); /* 150% */
        letter-spacing: var(--letter-spacing-1_6, 1.6px);
        flex-shrink: 0; /* 要素の縮小を防ぐ */
        text-align: left; /* 左揃え */
        width: 87%; /* 幅 */
        box-sizing: border-box;
    }

    .usecase-container .section-title {
        color: #1D74F5;
        font-family: "Noto Sans JP", sans-serif;
        font-size: var(--font-size-32, 32px);
        font-style: normal;
        font-weight: var(--font-weight-600, 600);
        line-height: var(--line-height-48, 48px); /* 150% */
        letter-spacing: var(--letter-spacing-1_6, 1.6px);
        text-align: left;
        margin: 47px 0;
        width: 87%;
    }

    .search-container {
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 0;
        margin: 95px auto;
        width: 100%;
        text-align: center;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 56px 0;
        margin: 0 auto;
        padding-bottom: 74px;
    }

    .single-post-content-wrapper {
        flex: 1; /* コンテンツをフレックスで拡張 */
        padding-left: 0; /* コンテンツ内の左のスペース */
        box-sizing: border-box; /* パディングを含めた幅を計算 */
    }

    .usecase-thumbnail {
        margin-top: 40px;
    }

    .usecase-thumbnail img {
        width: 100vw;
        height: auto;
    }

    .content-area {
        flex: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .company-info-sidebar {
        height: 440px;
        margin-top: -35px;
    }

    /* 記事本文の幅を調整 */
    .post-content-wrapper {
        margin-left: 0;
        padding-left: 0;
        max-width: 100%; /* 全幅に広げる */
    }

    .usecase-post-header h1 {
        color: var(--dentsu-ho-com-black, var(--color-black-solid, #000));
        font-family: "Noto Sans JP", sans-serif;
        font-size: 21.938px;
        font-style: normal;
        font-weight: var(--font-weight-700, 700);
        line-height: var(--line-height-27_6, 27.6px); /* 125.812% */
        margin: 0;
    }

    .usecase-reason-section {
        border-radius: 10px;
        background: #FFF;
        padding: 24px 16px;
        margin: 80px 0;
        width: 87%;
    }

    .usecase-reason-title {
        color: var(--bakuraku-jp-denim, var(--color-azure-41, #0E63C4));
        font-family: "Noto Sans JP", sans-serif;
        font-size: var(--font-size-16, 16px);
        font-style: normal;
        font-weight: var(--font-weight-600, 600);
        line-height: var(--line-height-24, 24px); /* 150% */
        letter-spacing: var(--letter-spacing-0_32, 0.32px);
        padding-bottom: 18px;
        border-bottom: 1px solid #757575;
        margin: 0;
    }

    .usecase-reason-content {
        display: flex;
        flex-direction: column;
        /* この中の要素を中央揃え */
        align-items: center;
        margin-top: 16px;
        gap: 12px;
    }

    .usecase-reason-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #fff;
        padding: 15px 25px;
        border: 1px solid #757575;
        border-radius: 10px;
        margin: 0 16px;
        width: 100%;
        box-sizing: border-box;
    }

    /* ボタンのスタイル */
    .usecase-reason-heading {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 0;
        background-color: #fff;
        border-radius: 6px;
        transition: background-color 0.3s ease;
        margin: 0;
        width: 100%;
    }

    .usecase-reason-heading h3 {
        margin-left: -140px;
    }

    .usecase-reason-heading img {
        width: 18px;
        height: 18px;
    }



    /* 矢印アイコンのスタイル */
    .toggle-icon {
        width: 16px;
        height: 16px;
        transition: transform 0.3s ease;
    }

    /* 開いたときに矢印を回転 */
    .usecase-reason-heading.active .toggle-icon {
        transform: rotate(180deg);
    }

    /* 説明テキストの非表示 */
    .usecase-reason-text {
        display: none;
        max-height: 0px;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    }

    .filter-group {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        padding: 24px 35px;
        border: 1px solid #B3C1CF;
        border-radius: 8px;
        margin: 0;
        gap: 31px;
        width: 87%;
        box-sizing: border-box;
    }
    
    .filter-group label {
        display: flex;
        color: #000;
        font-family: "Noto Sans JP", sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px; /* 120% */
        letter-spacing: 0.32px;
        cursor: pointer;
    }

}

@media (min-width: 769px) {
    .usecase-reason-text {
        font-family: "Noto Sans JP", sans-serif;
        display: block; /* デフォルトで表示 */
        max-height: none; /* 余計な制約を解除 */
        opacity: 1;
        font-size: 16px;
        margin: 0;
    }


}

/* === style.css (breadcrumb only) === */
.breadcrumbs a { text-decoration: none; color: rgba(22, 22, 22, 1); }