/*
Theme Name:     Neve Child
Theme URI:      https://themeisle.com/themes/neve/
Template: neve
Author:         ThemeIsle
Author URI:     https://themeisle.com
Description:    Neve is a super fast, easily customizable, multi-purpose theme. It’s perfect for blogs, small business, startups, agencies, firms, e-commerce shops (WooCommerce storefront) as well as personal portfolio sites and most types of projects. A fully AMP optimized and responsive theme, Neve will load in mere seconds and adapt perfectly on any viewing device. While it is lightweight and has a minimalist design, the theme is highly extendable, it has a highly SEO optimized code, resulting in top rankings in Google search results. Neve works perfectly with Gutenberg and the most popular page builders (Elementor, Brizy, Beaver Builder, Visual Composer, SiteOrigin, Divi). Neve is also WooCommerce ready, responsive, RTL & translation ready. Look no further. Neve is the perfect theme for you!
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    neve
Tags: blog, custom-logo, e-commerce, rtl-language-support, post-formats, grid-layout, one-column, two-columns, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready, wide-blocks, block-styles
*/

.status-bar {
    background: #232323;
    border-bottom: 1px solid #444;
    position: relative;
    z-index: 1001;
}

.status-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.status-bar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    height: 48px;
    min-height: 48px;
    padding: 8px 0;
}

/* ===== ナビグループ ===== */
.nav-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}

/* ===== アイコン ===== */
.nav-icon {
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.trading-icon {
    background-image: url('/assets/images/icons/move-in.svg');
}

.user-icon {
    background-image: url('/assets/images/icons/user-small-red.svg');
}

/* ===== ナビリンク ===== */
.nav-link {
    color: #fccd2a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    /* height: 100%; */
    white-space: nowrap;
}

.nav-link:hover {
    color: #fff;
    text-decoration: none;
}

.nav-link:focus {
    outline: none;
}

/* ===== 言語スイッチャーグループ ===== */
.language-group {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 48px;
}

/* LocaleChangerコンポーネントの垂直中心配置 */
.language-group :deep(.locale-changer) {
    display: flex;
    align-items: center;
    height: 100%;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 768px) {
    .status-bar-container {
        padding: 0 16px;
    }

    .status-bar-nav {
        gap: 1rem;
        height: 42px;
        min-height: 42px;
        padding: 6px 0;
    }

    .nav-link {
        font-size: 13px;
    }

    .language-group {
        min-height: 42px;
    }
}

@media (max-width: 480px) {
    .status-bar-nav {
        gap: 0.75rem;
    }

    .nav-icon {
        width: 14px;
        height: 14px;
    }

    .nav-link {
        font-size: 12px;
    }
}

.locale-changer {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.locale-btn {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 6px;
    min-width: 80px;
    justify-content: space-between;
    height: 28px;
    line-height: 1;
}

.locale-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.locale-btn.open {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.current-locale {
    font-size: 12px;
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 8px;
    transition: transform 0.2s ease;
}

.locale-btn.open .dropdown-arrow {
    transform: rotate(180deg);
}

.locale-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 100px;
    margin-top: 2px;
}

.locale-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    color: #333;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.locale-option:hover {
    background-color: #f5f5f5;
}

.locale-option.active {
    background-color: #e3f2fd;
    color: #1976d2;
    font-weight: 500;
}

.locale-option:first-child {
    border-radius: 4px 4px 0 0;
}

.locale-option:last-child {
    border-radius: 0 0 4px 4px;
}

/* モバイル対応 */
@media (max-width: 767px) {
    .locale-btn {
        padding: 5px 10px;
        font-size: 11px;
        min-width: 70px;
    }

    .current-locale {
        font-size: 11px;
    }

    .locale-dropdown {
        min-width: 90px;
    }

    .locale-option {
        padding: 10px 12px;
        font-size: 13px;
    }
}

.modern-navbar {
    background: #2c2c2c;
    border-bottom: 1px solid #444;
    position: relative;
    z-index: 1000;
}

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

/* ===== ロゴ ===== */
.navbar-brand,
.navbar-brand .logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.navbar-brand .logo .header-logo {
    filter: brightness(0) invert(1) !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    height: 40px !important;
    max-height: 40px !important;
    max-width: none !important;
    display: block !important;
    opacity: 1 !important;
}

.navbar-brand .logo .header-logo:hover {
    filter: brightness(0) invert(1) !important;
    transform: scale(1.02) !important;
    opacity: 0.8 !important;
}

/* ===== メニュー ===== */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* 共通リストリセット */
.navbar-nav,
.mega-menu-links ul,
.mobile-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 0;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link:hover {
    color: #fccd2a;
}

.nav-cta {
    background: #ee5826;
    color: #fff !important;
    padding: 0.5rem 1rem;
    margin: 0 1rem;
    border-radius: 4px;
    font-weight: 600;
    border: none;
    border-bottom: 3px solid #de2e10;
}

.nav-cta:hover {
    background: #f27c55 !important;
    color: #fff !important;
}

.nav-cta:active {
    border-top: 3px solid transparent;
    border-bottom-width: 0;
}

/* ===== ドロップダウン ===== */
.dropdown-toggle.active {
    color: #fccd2a;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: 0.125em;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    transition: transform 0.2s ease;
}

.dropdown-toggle.active::after {
    transform: rotate(180deg);
}

/* ===== メガメニュー ===== */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fcc337;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* ===== メガメニューアニメーション ===== */
.mega-menu-enter-active {
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mega-menu-leave-active {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.6, 1);
}

.mega-menu-enter-from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    filter: blur(2px);
}

.mega-menu-leave-to {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    filter: blur(1px);
}

/* メガメニューコンテンツのスタガードアニメーション */
.mega-menu-enter-active .mega-menu-banner {
    animation: slideInLeft 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) 0.05s both;
}

.mega-menu-enter-active .mega-menu-links {
    animation: slideInRight 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s both;
}

.mega-menu-enter-active .mega-menu-links li {
    animation: fadeInUp 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

.mega-menu-enter-active .mega-menu-links li:nth-child(1) {
    animation-delay: 0.15s;
}

.mega-menu-enter-active .mega-menu-links li:nth-child(2) {
    animation-delay: 0.18s;
}

.mega-menu-enter-active .mega-menu-links li:nth-child(3) {
    animation-delay: 0.21s;
}

.mega-menu-enter-active .mega-menu-links li:nth-child(4) {
    animation-delay: 0.24s;
}

/* キーフレームアニメーション */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ホバー時の追加エフェクト */
.mega-menu-banner {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mega-menu-banner:hover {
    transform: translateY(-2px);
}

.mega-menu-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.mega-menu-links a:hover::before {
    left: 100%;
}

.mega-menu-content {
    padding: 2rem 0;
    position: relative;
}

.mega-menu-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mega-menu-content .row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mega-menu-cta {
    flex: 0 0 60%;
    position: relative;
}

.mega-menu-banner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 180px;
    background: #fcc337;
}

.banner-background,
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-background {
    z-index: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    display: block;
}

.banner-overlay {
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.05) 50%,
            transparent 70%);
}

.banner-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.8),
        0 1px 3px rgba(0, 0, 0, 0.6);
    max-width: 65%;
}

.banner-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    cursor: pointer;
}

.arrow {
    display: inline-block;
    margin-left: 8px;
    font-size: 18px;
}

.mega-menu-links {
    flex: 0 0 35%;
}

.mega-menu-links li {
    margin-bottom: 0.5rem;
}

.mega-menu-links a {
    display: block;
    padding: 0.75rem 1rem;
    color: #2c2c2c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.mega-menu-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #000;
    text-decoration: none;
}

/* メガメニューホバー効果 */
.mega-menu-banner:hover .banner-overlay {
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            transparent 70%);
}

.mega-menu-banner:hover .banner-text {
    transform: translateX(5px);
    transition: transform 0.2s ease;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
    /* Optional: Prevent layout shift */
}

/* ===== モバイルハンバーガーボタン ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

button.mobile-menu-toggle:hover {
    background: transparent;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== モバイルメニューオーバーレイ ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

/* ===== モバイル専用ドロップダウン ===== */
.mobile-dropdown {
    display: none;
    background: #3a3a3a;
    margin-top: 0.5rem;
    border-radius: 4px;
    overflow: hidden;
}

.mobile-dropdown-list li {
    margin: 0;
}

.mobile-dropdown-list a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.mobile-dropdown-list a:hover {
    background: rgba(252, 205, 42, 0.1);
    color: #fccd2a;
}

.mobile-dropdown-list li:last-child a {
    border-bottom: none;
}

/* ===== レスポンシブデザイン ===== */

/* メガメニューのレスポンシブ */
@media (max-width: 1200px) {
    .banner-text {
        font-size: 20px;
    }

    .banner-overlay {
        padding: 0 1.5rem;
    }
}

@media (max-width: 991px) {
    .mega-menu-content .row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .mega-menu-cta,
    .mega-menu-links {
        flex: 1 1 100%;
    }

    .banner-text {
        font-size: 18px;
        max-width: 70%;
    }

    .banner-overlay {
        padding: 0 1rem;
    }

    .mega-menu-banner {
        height: 140px;
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .mega-menu {
        display: none;
    }

    .mobile-dropdown {
        display: block;
    }

    .banner-text {
        font-size: 16px;
        max-width: 80%;
    }

    .mega-menu-banner {
        height: 120px;
    }

    .navbar-container {
        padding: 0 16px;
        height: 56px;
    }

    .navbar-brand img {
        height: 32px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 99px;
        right: -300px;
        width: 300px;
        height: calc(100vh - 56px);
        background: #2c2c2c;
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        transition: right 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 1001;
    }

    .navbar-menu.is-active {
        right: 0;
    }

    /* .mobile-menu-overlay {
        display: block;
    } */

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        flex-shrink: 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }

    .nav-link:hover,
    .nav-link:focus {
        background: rgba(252, 205, 42, 0.1);
        color: #fccd2a;
    }

    .nav-cta {
        background: #ee5826;
        color: #fff;
        margin: 1rem 1.5rem;
        width: calc(100% - 3rem);
        border-bottom: 3px solid #de2e10;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
    }

    .nav-cta:hover {
        background: #f27c55;
    }

    .nav-cta:active {
        border-top: 3px solid transparent;
        border-bottom-width: 0;
    }

    .mobile-only {
        display: block;
    }

    .mobile-language-switcher {
        padding: 1rem 1.5rem;
    }

    .mobile-cta-divider {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 0.5rem;
    }

    .mobile-login {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .login-icon {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }
}

/* デスクトップ表示 */
@media (min-width: 769px) {

    .mobile-menu-toggle,
    .mobile-menu-overlay,
    .mobile-only,
    .mobile-dropdown {
        display: none;
    }

    .navbar-menu {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        height: auto;
        width: auto;
        background: transparent;
        padding: 0;
        overflow: visible;
    }

    .navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: auto;
    }

    .nav-item {
        width: auto;
    }
}

.footer {
    background-color: #232323;
    line-height: 1.42857143;
    padding: 60px;
    padding-top: 90px;
    padding-bottom: 64px;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
.footer .h1,
.footer .h2,
.footer .h3,
.footer .h4,
.footer .h5,
.footer .h6 {
    line-height: 1.42857143;
}

.footer a:hover {
    text-decoration: none !important;
}

/* ===== Section Heading ===== */
.footer .section-heading {
    font-size: 15px;
    font-weight: 700;
    color: #686867;
    line-height: 1.4;
    font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
    letter-spacing: 0;
    text-align: left;
    text-transform: initial;
}

.footer .section-heading .word {
    display: inline;
}

@media (max-width: 767px) {
    .footer .section-heading {
        font-size: 16px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .footer .section-heading {
        font-size: 15px;
        line-height: 1.4;
    }
}

/* ===== Divider ===== */
.footer .divider {
    height: 3px;
    background-color: #161515;
}

/* ===== Footer Links ===== */
.footer .footer-links-list {
    list-style: none;
}

.footer .footer-links-list li {
    list-style-type: none;
    margin-bottom: 0.5rem;
}

.footer .footer-links-list a {
    text-decoration: none !important;
    color: #686867;
    font-size: 15px;
    line-height: 1.4;
    text-transform: capitalize;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer .footer-links-list a:hover {
    color: #c3c3c3;
    transform: translateX(2px);
}

.footer .footer-links-group-heading {
    font-size: 14px;
    font-weight: 700;
    background-color: #292929;
    color: #686867;
    display: block;
    line-height: 1.2;
    transition: all 0.3s ease;
    padding: 0.5rem;
    margin-bottom: 1rem;
    white-space: nowrap !important;
    max-width: none !important;
    width: auto !important;
}

.footer a.footer-links-group-heading:hover,
.footer a.footer-links-group-heading:active,
.footer a.footer-links-group-heading:focus {
    text-decoration: none;
    background: #333;
    color: #fff;
}

/* ===== Affiliates Login ===== */
.footer .affiliates-login-link {
    display: block;
    margin-bottom: 45px;
    height: 77px;
    position: relative;
    background-color: #303030;
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    padding-left: 31px;
    padding-top: 25px;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
}

.footer .affiliates-login-link .affiliates-login-text {
    position: relative;
}

.footer .affiliates-login-link .icon-wrapper {
    background-color: #383838;
    display: block;
    float: right;
    width: 88px;
    margin-top: -25px;
    line-height: 77px;
    text-align: center;
    transition: background-color 0.125s ease;
}

.footer .affiliates-login-link .icon-wrapper .icon {
    top: -3px;
    left: 1px;
}

.footer .affiliates-login-link:hover {
    background-color: #353535;
    text-decoration: none;
}

.footer .affiliates-login-link:hover .icon-wrapper {
    background-color: #444;
}

@media (max-width: 1100px) {
    .footer .affiliates-login-link {
        font-size: 18px;
        padding-left: 28px;
        margin-bottom: 35px;
    }

    .footer .affiliates-login-link .icon-wrapper {
        width: 63px;
    }

    .ja .footer .affiliates-login-link {
        font-size: 14px;
        margin-bottom: 42px;
        padding-left: 24px;
    }
}

@media (max-width: 991px) {
    .footer .affiliates-login-link {
        padding: 0;
        text-align: center;
        font-size: 14px;
        height: 54px;
        line-height: 52px;
    }

    .footer .affiliates-login-link .icon-wrapper {
        display: none;
    }

    .ja .footer .affiliates-login-link {
        padding-left: 0;
        padding-top: 14px;
    }
}

@media (max-width: 863px) {
    .footer .affiliates-login-link {
        margin-bottom: 58px;
    }

    .ja .footer .affiliates-login-link {
        margin-bottom: 34px;
    }
}

@media (max-width: 767px) {
    .footer .affiliates-login-link {
        margin-bottom: 42px;
    }

    .ja .footer .affiliates-login-link {
        margin-bottom: 42px;
    }
}

/* ===== Language: Japanese ===== */
.ja .footer .section-heading {
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro',
        Osaka, 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

@media (max-width: 1100px) {
    .ja .footer .section-heading {
        margin-bottom: 29px;
    }
}

@media (max-width: 991px) {
    .ja .footer .section-heading {
        margin-bottom: 16px;
    }
}

@media (max-width: 908px) {
    .ja .footer .section-heading {
        margin-bottom: 8px;
    }
}

@media (max-width: 863px) {
    .ja .footer .section-heading {
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .ja .footer .section-heading {
        margin-bottom: 22px;
    }
}

.ja .footer .footer-links-group-heading {
    font-size: 13px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.ja .footer .disclaimer {
    font-size: 11px;
    line-height: 14px;
}

.ja .footer .disclaimer div {
    font-size: 12px;
}

.ja .footer .disclaimer-heading {
    font-size: 12px;
    margin-bottom: 8px;
}

.ja .footer .footer-links-list a {
    font-size: 14px;
    line-height: 1.5;
}

.ja .footer .footer-copyright {
    font-size: 11px !important;
}

/* ===== Footer Disclaimer ===== */
.footer .disclaimer {
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.footer .disclaimer .disclaimer-heading {
    font-weight: 600;
    color: #686867;
    margin-bottom: 1rem;
    font-size: 14px;
}

.footer .disclaimer div {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

.footer .disclaimer div br+br {
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .footer .disclaimer {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .footer .disclaimer .disclaimer-heading {
        font-size: 14px;
    }

    .footer .disclaimer div {
        font-size: 12px;
    }
}

/* ===== Footer Terms ===== */
.footer .footer-terms-and-agreements {
    margin-top: 20px;
}

.footer .footer-terms-and-agreements a {
    font-size: 13px !important;
    color: #686867 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer .footer-terms-and-agreements a:hover {
    color: #c3c3c3 !important;
}

.footer .footer-terms-and-agreements .line {
    color: #686867;
    margin: 0 5px;
}

.footer .footer-terms-and-agreements .footer-copyright {
    border-left: 1px solid #686867;
    margin-left: 10px;
    padding: 0 10px;
    font-size: 10px !important;
    color: #686867 !important;
}

/* ===== Retina Support ===== */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .footer .footer-links-list a {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* ===== Region: China ===== */
.cn .footer .affiliates-login-link {
    visibility: hidden;
}

/* ===== Footer Variant: Login Page ===== */
.footer.login {
    text-align: center;
    line-height: 83px;
    min-height: 83px;
    padding: 0;
    background-color: #353535;
    color: #afafaf;
}

.footer.login a {
    color: #fccd2a;
}

.footer.login a:hover {
    color: #e09f02;
    text-decoration: none;
}

@media (max-width: 767px) {
    .footer.login {
        line-height: 23px;
        padding-top: 18px;
    }

    .footer.login a {
        display: inline-block;
    }
}

/* ===== Utility: Reach Left Double (Japanese Layout) ===== */
.ja .footer .reach-left-double {
    margin-left: -60px;
}

@media (max-width: 991px) {
    .ja .footer .reach-left-double {
        margin-left: -30px;
    }
}

@media (max-width: 767px) {
    .ja .footer .reach-left-double {
        margin-left: 0;
    }
}

/* Basic Row Setup */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* Column Base */
[class^="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* Default full width on mobile */
.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Responsive Large Screens: ≥992px */
@media (min-width: 992px) {
    .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Optional: Responsive Medium (768px–991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Optional: Responsive Small (576px–767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.footer .footer-links-groups--row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 991px) {
    .footer .footer-links-groups--row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .footer .footer-links-groups--row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer .footer-links-groups--row {
        grid-template-columns: 1fr;
    }
}

.footer-links-list {
    margin-bottom: 1rem;
}

.footer {
    padding: 60;
    padding-top: 90px;
    padding-bottom: 64px;
}

@media (max-width: 991px) {
    .footer {
        padding-top: 63px;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 20px;
        padding-top: 48px;
        padding-bottom: 64px;
    }
}

/* Footer Grid System - シンプル版 */
.footer .footer-links-groups--row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 991px) {
    .footer .footer-links-groups--row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .footer .footer-links-groups--row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer .footer-links-groups--row {
        grid-template-columns: 1fr;
    }
}

#content{
    background: #2c2c2c;
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 20px;
    padding-right: 20px;
}

.single-post-container{
    background: #fff;
}

.content-column-post{
    width: 100%;
    max-width: 100% !important;
    padding-left: 50px;
    padding-right: 50px; 
}

article.content-column-post .post-header{
    margin-top: 50px;
    margin-bottom: 25px;
}

article.content-column-post ul.wp-block-list{
    margin-bottom: 30px;
}

article.content-column-post .wp-block-image{
    margin-bottom: 30px;
}



@media (max-width: 767px){
    .content-column-post{
        padding-left: 20px;
        padding-right: 20px;
    }

    .content-column-post .post-title{
        font-size: 24px;
        line-height: 1.5;
    }

    .status-bar{
        display: none;
    }
}

.nav-item.dropdown button:hover{
    background: transparent;
}