@charset "UTF-8";
/* æ§ãµã¤ãã®ãè¿½å  CSSãããã®ã¾ã¾ç§»ãããã® */
html , body, .rich_font_type2 {
  font-family: 'din pro','Noto Sans JP', sans-serif !important;
}


.horse-parallax-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 600px;
    background-image: url('https://njf-trading.com/wp-content/uploads/2021/12/top_content-1.jpg'); /* ← 馬の画像URLに置き換えてください */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* パララックス効果 */
    color: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
    display: block;
}

.horse-parallax-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* 黒オーバーレイ70% */
    z-index: 1;
    pointer-events: none;
}

.horse-parallax-section .horse-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 90px 30px;
    box-sizing: border-box;
}

.horse-parallax-section .horse-headline {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", "Times New Roman", serif !important;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 50px 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    letter-spacing: 0.04em;
    text-align: left;
    border: none !important;
    background: none !important;
}

.horse-parallax-section .horse-lead {
    font-size: 15px;
    line-height: 2;
    max-width: 520px;
    margin: 0 0 70px 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-align: left;
}

.horse-parallax-section .horse-works-block {
    max-width: 420px;
    margin-left: auto; /* 右側に寄せる */
    margin-right: 0;
}

.horse-parallax-section .horse-works-title {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", "Times New Roman", serif !important;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-align: left;
    border: none !important;
    background: none !important;
}

.horse-parallax-section .horse-works-text {
    font-size: 14px;
    line-height: 2;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-align: left;
}

/* スマホ・タブレット対応:iOSではfixedが効かないのでscrollに切替 */
@media (max-width: 1024px) {
    .horse-parallax-section {
        background-attachment: scroll;
        min-height: auto;
    }
    .horse-parallax-section .horse-inner {
        padding: 60px 24px;
    }
    .horse-parallax-section .horse-headline {
        font-size: 26px;
        margin-bottom: 35px !important;
    }
    .horse-parallax-section .horse-lead {
        margin-bottom: 50px !important;
    }
    .horse-parallax-section .horse-works-block {
        margin-left: 0;
    }
    .horse-parallax-section .horse-works-title {
        font-size: 22px;
    }
}




/* ===== ホース配合飼料 紹介セクション 専用CSS ===== */
.horse-parallax-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    min-height: 600px;
    background-image: url('https://njf-trading.com/wp-content/uploads/2021/12/top_content-1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
    display: block;
}

.horse-parallax-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.horse-parallax-section .horse-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 110px 40px;
    box-sizing: border-box;
}

.horse-parallax-section .horse-headline {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", "Times New Roman", serif !important;
    font-size: 48px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    margin: 0 0 60px 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    letter-spacing: 0.04em !important;
    text-align: left !important;
    border: none !important;
    background: none !important;
}

.horse-parallax-section .horse-lead {
    font-size: 16px !important;
    line-height: 2 !important;
    max-width: 640px !important;
    margin: 0 0 80px 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-align: left !important;
}

.horse-parallax-section .horse-works-block {
    max-width: 500px;
    margin-left: auto !important;
    margin-right: 0 !important;
}

.horse-parallax-section .horse-works-title {
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", "Times New Roman", serif !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em !important;
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-align: left !important;
    border: none !important;
    background: none !important;
}

.horse-parallax-section .horse-works-text {
    font-size: 15px !important;
    line-height: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-align: left !important;
}

@media (max-width: 1024px) {
    .horse-parallax-section {
        background-attachment: scroll;
        min-height: auto;
    }
    .horse-parallax-section .horse-inner {
        padding: 60px 24px;
    }
    .horse-parallax-section .horse-headline {
        font-size: 28px !important;
        margin-bottom: 35px !important;
    }
    .horse-parallax-section .horse-lead {
        margin-bottom: 50px !important;
    }
    .horse-parallax-section .horse-works-block {
        margin-left: 0 !important;
    }
    .horse-parallax-section .horse-works-title {
        font-size: 24px !important;
    }
}


/* ===== メインメニュー 4ブロック 専用CSS ===== */
.njf-menu-section {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 100px auto !important;
    padding: 0 30px !important;
    box-sizing: border-box !important;
}

.njf-menu-section *,
.njf-menu-section *::before,
.njf-menu-section *::after {
    box-sizing: border-box;
}

.njf-menu-section .njf-menu-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.njf-menu-section .njf-menu-card {
    position: relative !important;
    display: block !important;
    width: calc(50% - 15px) !important;
    max-width: calc(50% - 15px) !important;
    flex: 0 0 calc(50% - 15px) !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    background-color: #1a1a1a !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18) !important;
    transition: transform 0.5s ease, box-shadow 0.5s ease !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    border: none !important;
    float: none !important;
}

.njf-menu-section .njf-menu-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32) !important;
}

.njf-menu-section .njf-menu-link {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.njf-menu-section .njf-menu-card-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transition: transform 0.8s ease !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.njf-menu-section .njf-menu-card:hover .njf-menu-card-bg {
    transform: scale(1.08) !important;
}

.njf-menu-section .njf-menu-card-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.75) 100%) !important;
    z-index: 2 !important;
    transition: background 0.4s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.njf-menu-section .njf-menu-card:hover .njf-menu-card-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.85) 100%) !important;
}

.njf-menu-section .njf-menu-num {
    position: absolute !important;
    top: 28px !important;
    right: 36px !important;
    z-index: 4 !important;
    display: block !important;
    font-family: "Times New Roman", "Yu Mincho", serif !important;
    font-size: 56px !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    letter-spacing: 0.05em !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.njf-menu-section .njf-menu-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 3 !important;
    display: block !important;
    width: 100% !important;
    padding: 40px 36px !important;
    margin: 0 !important;
    color: #ffffff !important;
}

.njf-menu-section .njf-menu-title {
    display: block !important;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", "Times New Roman", serif !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    letter-spacing: 0.06em !important;
    line-height: 1.3 !important;
    border: none !important;
    background: none !important;
    text-align: left !important;
}

.njf-menu-section .njf-menu-sub {
    display: block !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

.njf-menu-section .njf-menu-desc {
    display: block !important;
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 0 22px 0 !important;
    padding: 0 0 22px 0 !important;
    line-height: 1.5 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    text-align: left !important;
}

.njf-menu-section .njf-menu-btn {
    position: relative !important;
    display: inline-block !important;
    font-family: "Times New Roman", serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    letter-spacing: 0.2em !important;
    padding: 0 28px 0 0 !important;
    margin: 0 !important;
    transition: padding-right 0.3s ease !important;
}

.njf-menu-section .njf-menu-btn::after {
    content: "→" !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 16px !important;
    transition: right 0.3s ease !important;
}

.njf-menu-section .njf-menu-card:hover .njf-menu-btn {
    padding-right: 36px !important;
}

.njf-menu-section .njf-menu-card:hover .njf-menu-btn::after {
    right: -4px !important;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .njf-menu-section {
        margin: 50px auto !important;
        padding: 0 16px !important;
    }
    .njf-menu-section .njf-menu-card {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        aspect-ratio: 16 / 10 !important;
        margin-bottom: 16px !important;
    }
    .njf-menu-section .njf-menu-content {
        padding: 28px 24px !important;
    }
    .njf-menu-section .njf-menu-num {
        font-size: 40px !important;
        top: 20px !important;
        right: 24px !important;
    }
    .njf-menu-section .njf-menu-title {
        font-size: 24px !important;
    }
}



.grecaptcha-badge {
  visibility: hidden;
}