/* ai-category.css */
/* =========================================================
   AIカテゴリ セクション
   ========================================================= */
.aind-cat {
    margin-top: 48px;
}

.aind-cat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d1d5db;
}

.aind-cat__heading {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.aind-cat__more {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
}

.aind-cat__more:hover {
    color: #2563eb;
}

/* 3列グリッド */
.aind-cat__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
}

/* 各カード */
.aind-cat__card {
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* ヘッダー */
.aind-cat__card-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 16px 8px;
}

.aind-cat__card-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    text-decoration: none;
}

.aind-cat__card-name:hover {
    color: #2563eb;
}

.aind-cat__card-count {
    font-size: 11px;
    color: #94a3b8;
}

/* 記事エリア */
.aind-cat__card-body {
    padding: 0 16px 6px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 各記事 */
.aind-cat__article {
    display: flex;
    gap: 10px;
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}

.aind-cat__article:last-child {
    border-bottom: none;
}

.aind-cat__article:hover .aind-cat__article-title {
    color: #2563eb;
}

/* サムネイル */
.aind-cat__article-thumb {
    width: 96px;
    aspect-ratio: 1200 / 630;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

/* テキスト */
.aind-cat__article-text {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.aind-cat__article-title {
    font-size: 12.5px;
    font-weight: 500;
    color: #374151;
    line-height: 1.5;
    transition: color 0.15s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 空状態 */
.aind-cat__empty {
    padding: 16px 0;
    color: #cbd5e1;
    font-size: 12px;
    text-align: center;
    margin: 0;
}

/* もっと見る */
.aind-cat__card-more {
    display: block;
    text-align: right;
    padding: 8px 16px;
    font-size: 11px;
    color: #64748b;
    text-decoration: none;
}

.aind-cat__card-more:hover {
    color: #2563eb;
}

/* 9枠目：すべてのカテゴリを見る */
.aind-cat__card--more {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
}

.aind-cat__more-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    padding: 8px 18px;
    border: 1px solid #e5e7eb;
    transition: all 0.15s;
}

.aind-cat__more-label::after {
    content: '→';
    font-size: 12px;
    transition: transform 0.15s;
}

.aind-cat__card--more:hover .aind-cat__more-label {
    color: #2563eb;
    border-color: #2563eb;
}

.aind-cat__card--more:hover .aind-cat__more-label::after {
    transform: translateX(2px);
}


/* company.css */
/* =========================================================
   注目のAI企業セクション（横スクロール）
   ========================================================= */
.aind-co {
    margin-top: 48px;
}

.aind-co__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d1d5db;
}

.aind-co__heading {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.aind-co__more {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
}

.aind-co__more:hover {
    color: #2563eb;
}

/* ===== ナビ（すべて見る + 矢印） ===== */
.aind-co__nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aind-co__arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
    line-height: 1;
}

.aind-co__arrow:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1a1a2e;
}

.aind-co__arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

/* ===== ベントウグリッド ===== */
.aind-co__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.aind-co__top-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
}

.aind-co__bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
}

/* ===== カード共通（横型：info左 + thumb右） ===== */
.aind-co__card {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: #1a1a2e;
    background: #fff;
    padding: 0 0 0 14px;
    gap: 0;
    border-radius: 0;
    border: 1px solid #e5e7eb;
    box-shadow: none;
    transition: border-color 0.15s ease, background 0.15s ease;
    position: relative;
    overflow: hidden;
    min-height: 105px;
}

.aind-co__card:hover {
    border-color: #1a1a2e;
    background: #fafafa;
    color: #1a1a2e;
}

/* 左：企業情報 */
.aind-co__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding: 10px 12px 10px 0;
}

/* ロゴ */
.aind-co__logo {
    height: 16px;
    max-width: 80px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    margin-bottom: 1px;
}

/* 企業名 */
.aind-co__name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

.aind-co__card:hover .aind-co__name {
    color: #2563eb;
}

/* タグ */
.aind-co__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.aind-co__tag {
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    background: none;
    padding: 0;
    white-space: nowrap;
}

.aind-co__tag::after {
    content: '·';
    margin-left: 3px;
    color: #d1d5db;
}

.aind-co__tag:last-child::after {
    display: none;
}

/* キャッチ */
.aind-co__catch {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 右：アイキャッチ（台形クリップ＋背景画像＋斜め2色分割オーバーレイ） */
.aind-co__thumb {
    position: relative;
    width: 90px;
    flex-shrink: 0;
    overflow: hidden;
    align-self: stretch;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    background: #0f172a;
}
.aind-co__thumb > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aind-co__thumb-overlay {
    position: absolute;
    inset: 0;
    opacity: 1;
    mix-blend-mode: normal;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.05);
}


/* ===== フィーチャーカード固有 ===== */
.aind-co__card--featured {
    padding: 0 0 0 18px;
    gap: 0;
}

.aind-co__card--featured .aind-co__logo {
    height: 20px;
    max-width: 100px;
}

.aind-co__card--featured .aind-co__name {
    font-size: 16px;
}

.aind-co__card--featured .aind-co__info {
    padding: 16px 16px 16px 0;
}

.aind-co__card--featured .aind-co__thumb {
    width: 140px;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}

.aind-co__card--featured .aind-co__tag {
    font-size: 10px;
}

/* ===== スライドアニメーション ===== */
@keyframes aindSlideRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes aindSlideLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
.aind-co__grid { overflow: hidden; }

/* 小カードの高さを固定し、スライド・列・テキスト量によるばらつきを消す */
.aind-co__card:not(.aind-co__card--featured) {
    height: 105px !important;
    overflow: hidden;
}
/* グリッド自体の行の高さも固定（105px） */
.aind-co__bottom {
    grid-auto-rows: 105px;
}
.aind-co__top-right {
    grid-template-rows: 105px 105px !important;
}

/* テキストが長すぎてはみ出すのを防ぐ */
.aind-co__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.aind-co__tags {
    height: 16px;
    overflow: hidden;
}

/* glossary.css */
/* =========================================================
   AI用語辞典セクション
   ========================================================= */
.aind-glossary {
    margin-top: 48px;
}

.aind-glossary__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d1d5db;
}

.aind-glossary__heading {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.aind-glossary__more {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
}

.aind-glossary__more:hover {
    color: #2563eb;
}

/* 五十音フィルター */
.aind-glossary__index {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.aind-glossary__index-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 32px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    transition: all 0.15s;
}

.aind-glossary__index-item:hover {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.aind-glossary__index-item.is-empty {
    color: #d1d5db;
    border-color: #f3f4f6;
    pointer-events: none;
}

/* 行グループ */
.aind-glossary__group {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.aind-glossary__group-label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    flex-shrink: 0;
    width: 20px;
}

/* タグチップ：横スクロール */
.aind-glossary__tags {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.aind-glossary__tags::-webkit-scrollbar {
    display: none;
}

.aind-glossary__tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12.5px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 2px;
    white-space: nowrap;
    transition: all 0.15s;
}

.aind-glossary__tag:hover {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

/* industry.css */
/* =========================================================
   業界別セクション
   ========================================================= */
.aind-tax {
    margin-top: 48px;
}

.aind-tax__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d1d5db;
}

.aind-tax__heading {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.aind-tax__more-link {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
}

.aind-tax__more-link:hover {
    color: #2563eb;
}

.aind-tax__icon {
    font-size: 18px;
}

.aind-tax__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.aind-term-card {
    min-width: 0;
}

.aind-term-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #3b82f6;
}

.aind-term-card__name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.aind-term-card__more {
    font-size: 11px;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    white-space: nowrap;
}

.aind-term-card__more:hover {
    text-decoration: underline;
}

.aind-term-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.aind-term-card__article {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.aind-term-card__article:hover .aind-term-card__article-title {
    color: #3b82f6;
}

.aind-term-card__article-thumb {
    width: 70px;
    height: 70px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f2f5;
}

.aind-term-card__article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aind-term-card__article-text {
    flex: 1;
    min-width: 0;
}

.aind-term-card__article-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    transition: color 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aind-term-card__article-excerpt {
    display: -webkit-box;
    font-size: 11px;
    color: #999;
    line-height: 1.3;
    margin-top: 2px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aind-term-card__empty {
    font-size: 12px;
    color: #ccc;
}

/* layout.css */
/* =========================================================
   トップページ — レイアウト調整
   ========================================================= */

/* front_top ウィジェットエリアのラッパー */
.w-frontTop {
    margin-bottom: 1.8rem;
}

/* news-ticker.css */
/* =========================================================
   速報ニュースティッカー
   フルワイド帯 — 左右フェード + 真ん中ハイライト
   ========================================================= */

.aind-ticker {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
    height: 38px;
    display: flex;
    align-items: center;
    position: relative;
}

/* ヘッダーとのスペースを詰めて、下にスペースを追加 */
.aind-fv-bottom-area .aind-fv-widget:first-child .aind-ticker {
    margin-top: -32px;
}

/* ── ラベル ── */
.aind-ticker__label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    height: 100%;
    border-right: 1px solid #e5e7eb;
    z-index: 2;
    background: #fff;
    font-size: 10px;
    font-weight: 700;
    color: #1d3e91;
    letter-spacing: 0.06em;
}

.aind-ticker__icon {
    width: 12px;
    height: 12px;
    color: #1d3e91;
}

/* ── トラック ── */
.aind-ticker__track {
    flex: 1;
    overflow: hidden;
    height: 100%;
    position: relative;
}

/* ── 左右フェードマスク ── */
.aind-ticker__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.aind-ticker__fade--l {
    left: 0;
    width: 80px;
    background: linear-gradient(90deg, #fff 10%, rgba(255, 255, 255, 0) 100%);
}

.aind-ticker__fade--r {
    right: 0;
    width: 100px;
    background: linear-gradient(270deg, #fff 10%, rgba(255, 255, 255, 0) 100%);
}

/* ── リスト（横スクロール） ── */
.aind-ticker__list {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: aind-ticker-scroll 45s linear infinite;
}

@keyframes aind-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── アイテム ── */
.aind-ticker__item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    white-space: nowrap;
    text-decoration: none;
    color: #1a1a2e;
    font-size: 12px;
    font-weight: 500;
    height: 100%;
    line-height: 1;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

.aind-ticker__item > * {
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.aind-ticker__item:hover {
    color: #2563eb;
}

/* JSでセンター付近にいるアイテムに付与 */
.aind-ticker__item.is-highlight {
    opacity: 1 !important;
    font-weight: 700;
    font-size: 12.5px;
    color: #0f172a;
}

/* ── NEWバッジ ── */
.aind-ticker__new {
    font-size: 9px;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: 0.04em;
}

/* ── 日付 ── */
.aind-ticker__date {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ── タイトル ── */
.aind-ticker__title {
    transition: color 0.15s;
}

/* ── 区切り ── */
.aind-ticker__sep {
    color: #cbd5e1;
    font-size: 11px;
    flex-shrink: 0;
    padding: 0 4px;
    opacity: 0.4;
    transition: opacity 0.4s;
}

/* ── もっと見る ── */
.aind-ticker__more {
    flex-shrink: 0;
    padding: 0 14px;
    font-size: 10px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    border-left: 1px solid #e5e7eb;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    background: #fff;
    transition: color 0.15s;
}

.aind-ticker__more:hover {
    color: #2563eb;
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
    .aind-ticker__label span {
        display: none;
    }
    .aind-ticker__fade--l {
        width: 40px;
    }
    .aind-ticker__fade--r {
        width: 50px;
    }
    .aind-ticker__more {
        display: none;
    }
}

/* pickup.css */
/* =========================================================
   全幅ウィジェットエリア
   ========================================================= */
.aind-fv-bottom-area {
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 24px;
}

/* ── 旧スライダー非表示 ── */
.aind-slider {
    display: none !important;
}

/* =========================================================
   ピックアップ記事セクション
   NewsPicks型：メインスライダー + サブ3カード
   ========================================================= */
.aind-pickup {
    margin: 0 auto;
    background: #fff;
    overflow: visible;
    max-width: 1100px;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

/* ── メインスライダー ── */
.aind-pickup__slider {
    position: relative;
}

.aind-pickup__slider-viewport {
    overflow: hidden;
}

.aind-pickup__slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.aind-pickup__slide {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0;
    text-decoration: none;
    color: inherit;
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    align-items: center;
}
.aind-pickup__slide:hover {
    color: inherit;
    text-decoration: none;
}

.aind-pickup__hero-text {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    min-width: 0;
}

.aind-pickup__hero-cat {
    font-size: 0.72rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.aind-pickup__hero-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.5;
    color: #0f172a;
    margin: 0 0 10px;
    transition: color 0.15s;
}
.aind-pickup__slide:hover .aind-pickup__hero-title {
    color: #2563eb;
}

.aind-pickup__hero-lead {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aind-pickup__hero-date {
    font-size: 0.75rem;
    color: #94a3b8;
}

.aind-pickup__hero-img {
    overflow: hidden;
}
.aind-pickup__hero-img > img {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.aind-pickup__slide:hover .aind-pickup__hero-img > img {
    transform: scale(1.04);
}

/* ── 左右ボタン ── */
.aind-pickup__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    transition: background 0.2s, color 0.2s;
}
.aind-pickup__arrow:hover {
    background: #fff;
    color: #2563eb;
}
.aind-pickup__arrow svg {
    width: 18px;
    height: 18px;
}
.aind-pickup__arrow--prev {
    left: -18px;
}
.aind-pickup__arrow--next {
    right: -18px;
}

/* ── ドットインジケーター ── */
.aind-pickup__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.aind-pickup__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.aind-pickup__dot.is-active {
    background: #2563eb;
    transform: scale(1.3);
}

/* ── サブカード ── */
.aind-pickup__sub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e8ecf0;
    border-top: 1px solid #e8ecf0;
}

.aind-pickup__sub-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.aind-pickup__sub-card:hover {
    color: inherit;
    text-decoration: none;
}

.aind-pickup__sub-thumb {
    aspect-ratio: 1200 / 630;
    overflow: hidden;
}
.aind-pickup__sub-thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.aind-pickup__sub-card:hover .aind-pickup__sub-thumb > img {
    transform: scale(1.04);
}

.aind-pickup__sub-body {
    padding: 10px 14px 14px;
}

.aind-pickup__sub-cat {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}

.aind-pickup__sub-title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
    color: #0f172a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.aind-pickup__sub-card:hover .aind-pickup__sub-title {
    color: #2563eb;
}


/* ── レスポンシブ ── */
@media (max-width: 768px) {
    .aind-pickup__slide {
        grid-template-columns: 1fr;
    }

    .aind-pickup__hero-text {
        padding: 20px 16px;
        order: 2;
    }

    .aind-pickup__hero-img {
        order: 1;
    }

    .aind-pickup__hero-title {
        font-size: 1.05rem;
    }

    .aind-pickup__arrow {
        width: 30px;
        height: 30px;
    }
    .aind-pickup__arrow svg {
        width: 14px;
        height: 14px;
    }
    .aind-pickup__arrow--prev {
        left: 6px;
    }
    .aind-pickup__arrow--next {
        right: 6px;
    }

    .aind-pickup__sub {
        grid-template-columns: 1fr 1fr;
    }

    .aind-pickup__sub-card:last-child {
        display: none;
    }
}

/* post-list-tab.css */
/* =========================================================
   トップページ — 投稿リストタブ リデザイン
   コンパクトなセグメントコントロール、右寄せ
   ========================================================= */

/* 親要素のマージン調整 */
.p-homeContent.l-parent.u-mt-40 {
  margin-top: 1rem !important;
}

/* タブ全体 */
.p-postListTab.is-style-bb {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 12px;
}

/* 左ラベル（JSで挿入） */
.aind-tab-label {
  font-size: 11px;
  font-weight: 700;
  color: #1d3e91;
  letter-spacing: 0.12em;
  margin-right: auto;
  transition: opacity 0.15s;
}

.p-postListTab.is-style-bb .c-tabList {
  display: inline-flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 2px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  width: auto;
}

/* 各タブ */
.p-postListTab.is-style-bb .c-tabList__item {
  margin: 0;
  padding: 0;
  width: auto !important;
}

.p-postListTab.is-style-bb .c-tabList__button {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.02em;
}

.p-postListTab.is-style-bb .c-tabList__button:hover {
  color: #1a1a2e;
  background: rgba(255, 255, 255, 0.5);
}

/* アクティブ */
.p-postListTab.is-style-bb .c-tabList__button[aria-selected="true"] {
  background: #fff;
  color: #1a1a2e;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  border-bottom: none;
}

/* 隣接区切り線なし */
.p-postListTab.is-style-bb .c-tabList__item + .c-tabList__item {
  border-left: none;
}

/* 3番目以降を非表示（タグ用・カテゴリー用） */
.p-postListTab.is-style-bb .c-tabList__item:nth-child(n+3) {
  display: none;
}

/* SWELLデフォルトの下線装飾を全部消す */
.p-postListTab.is-style-bb .c-tabList__button::after,
.p-postListTab.is-style-bb .c-tabList__button::before {
  display: none !important;
}

/* 新着記事タブの下線も消す */
.p-postListTab.is-style-bb .c-tabList__button[aria-selected="true"]::before,
.p-postListTab.is-style-bb .c-tabList__button[aria-selected="true"]::after {
  display: none !important;
}

/* テキスト差し替えはSWELL設定で対応済みのため不要 */

/* post-slider.css */
/* =========================================================
   記事スライダー — OGP比率カード6枚並び・1枚ずつスナップ切り替え
   ========================================================= */
.aind-slider {
  display: none !important;
}

/* ── トラック ── */
.aind-slider__track {
  display: flex;
  transition: transform 0.4s ease;
}

/* ── カード（6枚並び・OGP比率 1.91:1） ── */
.aind-slider__item {
  position: relative;
  flex: 0 0 calc(100% / 6);
  aspect-ratio: 1.91 / 1;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #fff;
}

.aind-slider__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    transparent 100%
  );
  transition: background 0.3s;
}

.aind-slider__item:hover::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

/* ── 画像 ── */
.aind-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.aind-slider__item:hover .aind-slider__img {
  transform: scale(1.05);
}

/* ── オーバーレイテキスト ── */
.aind-slider__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  z-index: 1;
}

.aind-slider__cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: var(--color_main, #1d3e91);
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 4px;
  line-height: 1.6;
}

.aind-slider__title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ── SP対応 ── */
@media (max-width: 599px) {
  .aind-slider__item {
    flex: 0 0 calc(100% / 3);
  }

  .aind-slider__title {
    font-size: 11px;
  }
}

@media (min-width: 600px) and (max-width: 959px) {
  .aind-slider__item {
    flex: 0 0 calc(100% / 4);
  }
}

/* responsive.css */
/* =========================================================
   レスポンシブ（トップページ全セクション共通）
   ========================================================= */
@media (max-width: 768px) {
    .aind-cat__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .aind-co__top {
        grid-template-columns: 1fr;
    }

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

    .aind-tl__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .aind-uc__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .aind-cat__grid {
        grid-template-columns: 1fr;
    }

    .aind-tax__grid {
        grid-template-columns: 1fr;
    }

    .aind-co__top-right {
        grid-template-columns: 1fr 1fr;
    }

    .aind-co__bottom {
        grid-template-columns: 1fr 1fr;
    }

    .aind-tl__grid {
        grid-template-columns: 1fr;
    }

    .aind-uc__thumb {
        width: 90px;
    }
}

/* tool.css */
/* =========================================================
   AIツール セクション — K6: グラデアクセント + バッジ + 説明 3列
   ========================================================= */
.aind-tl {
    margin: 0 auto;
    padding: 48px 20px;
    max-width: 960px;
    background: #fff;
}

.aind-tl__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}

.aind-tl__heading {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -.01em;
}

.aind-tl__more {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
}

.aind-tl__more:hover {
    color: #1e3a5f;
}

/* グリッド: 3列 */
.aind-tl__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* カード */
.aind-tl__card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    text-decoration: none;
    color: #1e293b;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
    transition: background .15s;
}

.aind-tl__card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity .2s;
}

.aind-tl__card:hover {
    background: #fafbfc;
    color: #1e293b;
}

.aind-tl__card:hover::before {
    opacity: 1;
}

/* ロゴ */
.aind-tl__logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.aind-tl__logo > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 情報エリア */
.aind-tl__body {
    flex: 1;
    min-width: 0;
}

.aind-tl__top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aind-tl__name {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aind-tl__cat {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 3px;
    background: #f1f5f9;
    color: #64748b;
    white-space: nowrap;
    flex-shrink: 0;
}

.aind-tl__desc {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .aind-tl {
        padding: 36px 16px;
    }
    .aind-tl__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .aind-tl__card {
        padding: 14px 16px;
        gap: 12px;
    }
    .aind-tl__logo {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }
    .aind-tl__name {
        font-size: 12.5px;
    }
    .aind-tl__desc {
        display: none;
    }
}

@media (max-width: 480px) {
    .aind-tl__grid {
        grid-template-columns: 1fr;
    }
    .aind-tl__desc {
        display: block;
    }
}

/* trends.css */
/* =========================================================
   新着情報（トレンド）セクション
   ========================================================= */
.aind-trends {
    margin: 40px 0 0;
    padding: 0 20px;
}

.aind-trends__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d1d5db;
}

.aind-trends__heading {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.aind-trends__more {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
}

.aind-trends__more:hover {
    color: #2563eb;
}

/* 2カラムグリッド */
.aind-trends__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

/* カード */
.aind-trends__card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    text-decoration: none;
    color: #1a1a2e;
    border-bottom: 1px solid #f1f5f9;
}

.aind-trends__card:nth-child(odd) {
    padding-right: 20px;
}

.aind-trends__card:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid #f1f5f9;
}

.aind-trends__card:hover {
    color: #1a1a2e;
}

/* アイキャッチ */
.aind-trends__thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}

.aind-trends__thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* NEWバッジ */
.aind-trends__badge {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    background: #dc2626;
    padding: 1px 4px;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

/* 情報エリア */
.aind-trends__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* 日時メタ */
.aind-trends__meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aind-trends__date {
    font-size: 11px;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.aind-trends__relative {
    font-size: 11px;
    color: #64748b;
}

/* タイトル */
.aind-trends__title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}

.aind-trends__card:hover .aind-trends__title {
    color: #2563eb;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .aind-trends__grid {
        grid-template-columns: 1fr;
    }
}

/* usecase.css */
/* =========================================================
   導入事例 セクション
   ========================================================= */
.aind-uc {
    margin: 40px 0 0;
    padding: 0 20px;
}

.aind-uc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d1d5db;
}

.aind-uc__heading {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.aind-uc__more {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap;
}

.aind-uc__more:hover {
    color: #2563eb;
}

/* グリッド: 2列 */
.aind-uc__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* カード: 横長 */
.aind-uc__card {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: #1a1a2e;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.15s ease;
    overflow: hidden;
}

.aind-uc__card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    color: #1a1a2e;
}

/* アイキャッチ: 左 */
.aind-uc__thumb {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    background: #e2e8f0;
}

.aind-uc__thumb>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 情報: 右 */
.aind-uc__info {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

/* 業界バッジ */
.aind-uc__industry {
    font-size: 10px;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 3px;
    align-self: flex-start;
}

/* タイトル */
.aind-uc__title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aind-uc__card:hover .aind-uc__title {
    color: #2563eb;
}

/* 概要 */
.aind-uc__excerpt {
    font-size: 11px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

