﻿@charset "UTF-8";
/* Giới hạn toàn bộ layout tối đa 1170px */
.container {
    max-width: 1170px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

html,
body {
    font-family: "Noto Sans JP" !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* ===========================================================
HEADER (2 dòng)
=========================================================== */
.jaic-header {
    border-bottom: 1px solid #e5e5e5;
    background: #fff
}

.header-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 6px 0 2px
}

.header-top a {
    font-family: Poppins !important;
    font-size: 14px;
    font-weight: 600;
    color: #002A78;
    text-decoration: none;
    margin: 0 4px
}

.header-top a.active {
    color: #999 !important;
    pointer-events: none;
    border-bottom: none !important;
    /* ✅ bỏ gạch chân */
    text-decoration: none !important;
    /* ✅ phòng trường hợp bị underline */
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px
}

.jaic-logo {
    height: 48px
}

.box-q1 {
    padding-bottom: 20px;
}

.menu-wrapper {
    display: flex;
    align-items: center;
    gap: 20px
}

.menu-item {
    font-size: 16px;
    font-weight: 600;
    color: #031F88;
    text-decoration: none;
    cursor: pointer;
    padding-bottom: 4px;
    position: relative
}

.menu-item.no-icon {
    padding-bottom: 0
}

.menu-item.has-icon::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    font-size: 10px;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: #002A78
}

.contact-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #002A78
}

body {
    font-family: Arial, sans-serif;
    background: #f3f4f9
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #031F88;
    display: flex;
    align-items: center;
}

.section-title::before {
    color: #031F88;
    margin-right: 6px;
}


footer {
    position: relative;
    background: #6C7886;
    color: #fff
}

footer a {
    color: #fff;
    text-decoration: none
}

/* Footer desktop - chỉ hiển thị trên PC */
.footer-desktop {
    display: block;
}

@media (max-width: 768px) {
    .footer-desktop {
        display: none !important;
    }
}

.hero-banner {
    position: relative;
    overflow: hidden;
    padding: 46px 0 50px;
}

.hero-banner .container {
    position: relative;
    z-index: 10;
}

.hero-banner .banner-content {
    position: relative;
    z-index: 10;
    text-align: left;
}

.hero-banner .hero-title {
    text-align: left;
}

.hero-banner .hero-title img {
    display: block;
    margin: 0;
}

.ceo-name {
    text-align: right;
    padding-right: 20px;
}


/* Breadcrumb */
.breadcrumb-wrapper {
    background: #fff;
    border-bottom: 1px solid #E5E5E5
}

.breadcrumb-nav {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    padding: 2px 0;
    display: flex;
    gap: 10px;
    align-items: center
}

.breadcrumb-nav a {
    color: #031F88;
    text-decoration: none
}

.breadcrumb-nav a:hover {
    color: #0056a6;
}

.breadcrumb-nav .arrow {
    font-size: 14px;
    color: #c8c8c8;
    margin: 0 6px;
    display: flex;
    align-items: center
}

.menu-wrapper .menu-top-bar {
    display: none;
}

/* Responsive menu overlay - chỉ hiển thị trên mobile */
@media (max-width: 768px) {
    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .3);
        backdrop-filter: blur(2px);
        opacity: 0;
        visibility: hidden;
        transition: all .3s ease;
        z-index: 998;
        top: 0;
    }

    .menu-overlay.show {
        opacity: 1;
        visibility: visible;
    }
}

/* Ẩn overlay trên desktop */
@media (min-width: 769px) {
    .menu-overlay {
        display: none;
    }

    .floating-feedback {
        width: auto !important;
        max-width: 235px;
        bottom: 20px !important;
        z-index: 9999 !important;
        border: 2px solid #031F88 !important;
        overflow: hidden;
        background: #fff;
    }

    .feedback-button-wrapper {
        padding: 0 !important;
        height: 40px !important;
    }

    /* Header trắng, border xanh */
    .floating-feedback .feedback-header {
        display: block !important;
        background: #fff !important;
        color: #031F88 !important;
        border-bottom: 2px solid #031F88 !important;
        font-weight: 500;
        font-size: 12px;
        padding: 10px 0;
        height: 30px !important;
        justify-content: center;
        align-items: center;
        text-align: center;
        display: flex !important;
    }

    /* Button xanh đậm */
    .floating-feedback .feedback-button {
        background: #031F88 !important;
        color: #fff !important;
        font-size: 14px;
        font-weight: 500;
        height: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

.ir-title {
    padding-left: 0 !important;
    color: #031F88;
    font-size: 16px;
    font-weight: 700;
}

.chart-section {
    background-color: white;
    border-radius: 15px !important;
    margin-bottom: 40px !important;
}

@media (max-width:768px) {

    /* Menu wrapper sổ xuống từ dưới header, che full trang */
    .menu-wrapper {
        display: flex !important;
        flex-direction: column;
        background: #fff;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        padding: 0;
        padding-top: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
        max-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease;
        gap: 0;
    }

    .menu-wrapper .menu-top-bar {
        display: flex;
    }

    .menu-wrapper.show {
        max-height: 100vh;
        opacity: 1;
        pointer-events: auto;
        padding-top: 80px;
        /* Khoảng cách từ top để không che header */
    }

    /* Top bar trong menu với ngôn ngữ và nút close - đặt ở dưới menu items */
    .menu-top-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
        border-top: 1px solid #E6E6E6;
        border-bottom: none;
        background: #fff;
        margin-top: auto;
    }

    .menu-languages {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 14px;
        font-weight: 600;
        justify-content: center;
    }

    .menu-languages .lang-link {
        color: #999;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .menu-languages .lang-link.active {
        color: #002A78;
    }

    .menu-languages span {
        color: #002A78;
        margin: 0 2px;
    }

    .menu-close-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
    }

    .menu-close-btn .close-icon {
        font-size: 32px;
        font-weight: 400;
        line-height: 1;
        color: #002A78;
    }

    .menu-close-btn .close-text {
        font-size: 12px;
        font-weight: 700;
        color: #002A78;
        letter-spacing: 0.5px;
    }

    /* Đảm bảo header-main có position relative để menu absolute hoạt động */
    .header-main {
        position: relative;
    }

    /* Đảm bảo logo hiển thị trên menu */
    .logo-center {
        z-index: 1001 !important;
        position: relative;
    }

    .menu-item,
    .contact-link {
        width: 100%;
        font-size: 17px;
        font-weight: 600;
        color: #002A78 !important;
        text-decoration: none;
        padding: 12px 20px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        border-bottom: 1px solid #E6E6E6;
        transition: background-color .18s ease;
    }

    .menu-wrapper.show .menu-item:hover,
    .menu-wrapper.show .contact-link:hover {
        background: #F6F8FC;
    }

    .menu-wrapper.show a:last-child {
        border-bottom: none
    }

    .menu-item.has-icon::after {
        display: none
    }
}

.dropdown-menu {
    border-radius: 8px;
    padding: 6px 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12)
}

.dropdown-item {
    padding: 10px 18px
}

.dropdown-item:hover {
    background: #F2F7FF
}

/* Mobile: sidebar full width */
@media (max-width: 768px) {
    .col-lg-3 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .side-block {
        width: 100% !important;
        max-width: 100% !important;
    }

    .sidebar-ir {
        width: 100% !important;
    }

    .side-nav {
        width: 100% !important;
    }
    
    /* Hiển thị br trên mobile */
    .spbr {
        display: inline !important;
    }
}

.side-nav a {
    display: block;
    padding: 10px 12px;
    border-left: 3px solid transparent;
    text-decoration: none;
    color: #0B3F8A;
    font-weight: 600;
    border-radius: 6px
}

.memo-table td,
.memo-table th {
    padding: 8px 10px;
    border-bottom: 1px solid #eee
}

/* Mobile style cho memo-table */
@media (max-width: 768px) {
    .memo-table {
        background: #f3f4f9;
        border-top: 2px solid #031F88 !important;
        border-bottom: 2px solid #031F88 !important;
        border-left: none !important;
        border-right: none !important;
    }

    .memo-table tr {
        display: block !important;
        border-bottom: 2px solid #031F88 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .memo-table tr:last-child {
        border-bottom: none !important;
    }

    .memo-table td {
        display: block !important;
        width: 100% !important;
        border-bottom: none !important;
        padding: 14px 0 !important;
    }

    .memo-table td:first-child {
        font-weight: 700 !important;
        font-size: 14px !important;
        color: #333 !important;
        padding-bottom: 8px !important;
        padding-top: 16px !important;
    }

    .memo-table td:last-child {
        font-weight: 500 !important;
        font-size: 14px !important;
        color: #333 !important;
        padding-top: 0 !important;
        padding-bottom: 16px !important;
        line-height: 1.8;
    }

    .memo-table .table-meno {
        height: auto !important;
        display: block !important;
        align-items: flex-start !important;
        padding-top: 16px !important;
    }
    .memo-box-alt:first-child {
        flex: 0 0 45% !important;
        max-width: 45% !important;
    }
    .memo-box-alt:last-child {
        flex: 0 0 45% !important;
        max-width: 45% !important;
    }
}


/* ====== JAIC FIX STYLE (đặt ở CUỐI style để override) ====== */

/* Report Block giống JAIC (không shadow, border mỏng) */
.report-block {
    box-shadow: none !important;
    background: #fff !important;
    border-radius: 10px !important;
}

/* Dropdown button giống JAIC (viền xanh đậm, nền trắng) */
.dropdown .btn {
    border: 1px solid #031F88 !important;
    color: #031F88 !important;
    background: #fff !important;
    padding: 8px 22px !important;
    border-radius: 0;
}


/* Sidebar: thêm dấu mũi tên bên phải */
.side-nav a {
    position: relative;
    padding-right: 22px;
    font-size: 14px;
}

.sidebar-top {
    position: relative;
    display: flex;
    align-items: center;
    padding: 17px 0;
    background: #f3f4f9;
}

/* CEO block căn text theo vertical */
.col-md-8 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ✅ Chia đều 3 button + tăng chiều rộng tối thiểu */
.button-content {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding-top: 27px;
}

.button-content .dropdown {
    flex: 1;
}

.button-content .btn {
    width: 100%;
    /* phủ hết phần của dropdown */
    padding: 8px 0 !important;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

/* ===== Sidebar IR Library (match JAIC style) ===== */

/* Bỏ border, bỏ radius khối IR Library */
.sidebar-ir {
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Header xanh nổi bật */
.sidebar-ir-header {
    background: #031F88;
    color: #fff;
    padding: 16px 5px;
    font-weight: 700;
    font-size: 18px;
}

/* List item */
.sidebar-ir ul {
    list-style: none;
    margin: 0;
    padding: 12px 18px;
}

/* Link */
.sidebar-ir ul li a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    color: #031F88;
    text-decoration: none;
    position: relative;
    font-weight: 500;
}

.arrow-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar-ir-header {
    text-align: center;
    background-color: #031f88;
}

.side-nav {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.side-nav a {
    color: #031F88;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #e6e8f0;
    transition: background-color 0.2s;
}

/* ✅ Giảm khoảng trắng giữa khối IRライブラリー và khối dưới */
.sidebar-ir ul {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    margin-bottom: 0 !important;
}

.sidebar-ir {
    margin-bottom: 8px !important;
    /* ✅ thu hẹp khoảng cách dưới khối đầu tiên */
}

.side-nav {
    margin-top: 0 !important;
}

/* Nếu vẫn còn khoảng trắng do hr */
.sidebar-ir hr {
    margin: 0 !important;
    height: 1px !important;
}

/* CEO Section (JAIC style) */
.ceo-section {
    padding-left: 0px !important;
    padding: 30px 28px;
}

/* Tiêu đề */
.ceo-section .section-title {
    font-size: 20px;
    font-weight: 700;
    color: #031F88;
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

/* Thêm icon ➤ */
.ceo-section .section-title::before {
    color: #031F88;
    font-size: 20px;
    margin-right: 6px;
}

/* Ảnh CEO - đẩy xuống một chút để nằm cùng baseline với đoạn text */
.ceo-photo {
    border-radius: 4px;
    border: 1px solid #ddd;
    max-width: 95%;
    vertical-align: bottom;
    right: 10px;
}

/* Căn đều hàng giữa ảnh và đoạn văn */
.ceo-section .fw-normal {
    color: #333333;
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 22px;
    font-weight: 600 !important;
}

/* Responsive: khi màn hình nhỏ, ảnh và chữ tên chuyển xuống dưới */
@media (max-width: 768px) {
    .ceo-photo {
        top: 0;
        margin-bottom: 8px;
    }
}

.content-q1 {
    padding-left: 0px !important;
}

.content-q1 .fw-bold.text-primary {
    border-left: 6px solid;
    border-image: linear-gradient(to bottom, #0068E5, #031F88) 1;
    padding-left: 10px;
    color: #333333 !important;
    font-weight: 700;
    margin-bottom: 30px;
}

/* A1 nằm cùng hàng với dấu "-" */
.content-q1 .a1-line {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.content-q1 .a1-line p {
    margin: 0;
}

.content-q1 .a1-line p:first-child {
    margin-right: 1.3%;
    /* khoảng cách giữa "-" và chữ */
}

.content-q1 .a1-line .fw-bold {
    color: #031F88;
    font-weight: 700 !important;
    font-size: 20px;
    line-height: 28px;
}

.content-q1 p {
    font-weight: 700 !important;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0;
    margin: 0 0 12px;
}

.kpi-title {
    position: relative;
    display: inline-block;
    background: #fff;
    padding: 0 20px;
    font-weight: 700;
    color: #031F88;
    font-size: 20px;
    line-height: 1.2;
    z-index: 1;
    margin-bottom: 0px !important;
}

/* Container của tiêu đề */
.kpi-title-wrapper {
    position: relative;
    text-align: center;
    margin: 40px 0 28px;
}

.kpi-title-wrapper::before,
.kpi-title-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* ✅ Căn giữa thật với chữ */
    width: 40%;
    height: 2px;
    /* ✅ vừa phải, không quá to */
    background: #031F88;
    border-radius: 2px;
}


.kpi-title-wrapper::before {
    left: 0;
}

.kpi-title-wrapper::after {
    right: 0;
}

.kpi-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Giữ icon ở cùng vị trí trên */
    align-items: center;
    border: none;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    padding: 26px 10px;
    transition: all 0.2s ease;
    height: 100%;
    min-height: 220px;
    /* ✅ Đảm bảo box đều chiều cao */
    position: relative;
}

.kpi-box-outer {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Gradient border với border-radius - dùng pseudo-element */
.kpi-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 6px;
    background: linear-gradient(to bottom, #0068E5, #031F88);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.kpi-box>* {
    position: relative;
    z-index: 1;
}

/* Icon */
.kpi-icon {
    font-size: 42px;
    color: #031F88;
    margin-bottom: 8px;
}

/* Text */
.kpi-text {
    color: #031F88;
}

.kpi-num {
    font-size: 24px;
    font-weight: 800;
    color: #031F88;
    line-height: 1.2;
}

.kpi-text small {
    display: block;
    font-size: 13px;
    color: #333;
    margin-top: 4px;
}

.kpi-icon-img {
    width: 64px;
    height: auto;
    margin-bottom: 12px;
    margin-top: 8px;
    /* ép icon cách đỉnh box bằng nhau */
}

.kpi-text-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.kpi-label-2 {
    font-weight: 700;
    font-size: 29px;
    color: #031F88;
    margin-bottom: 4px;
    line-height: 1;
}

.kpi-label-3 {
    font-weight: 500;
    font-size: 18px;
    color: #333333;
    margin-bottom: 4px;
}

.kpi-label {
    font-weight: 700;
    font-size: 18px;
    color: #333333;
    margin-bottom: 4px;
}

.kpi-num,
.kpi-text {
    font-size: 22px;
    font-weight: 800;
    color: #031F88;
    line-height: 1.3;
}

.kpi-num-span-1 {
    font-size: 34px;
    font-weight: 500;
}
.kpi-num-span-2 {
    font-size: 13px;
    color: #333333;
    font-weight: 500;
}

.kpi-num-span {
    font-size: 50px;
    font-weight: 500;
    color: #031F88;
}

.kpi-text small {
    display: block;
    font-size: 13px;
    color: #333;
    margin-top: 4px;
}

.kpi .col-sm-4 {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

/* Mobile: KPI boxes hiển thị 1 cột 1 row */
@media (max-width: 768px) {
    .kpi .col-12.col-sm-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 0;
        margin-top: 16px !important;
    }

    .kpi .col-12.col-sm-4:last-child {
        margin-bottom: 0;
    }

    .kpi-box {
        width: 100%;
    }

    .kpi-box.kpi-box-fixed {
        flex: none;
        width: 320px;
        height: 116px;
        min-height: 116px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        padding: 12px 16px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 14px;
    }

    .kpi-box .kpi-box-content {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        gap: 10px;
    }

    .kpi-box.kpi-box-fixed .kpi-icon-img {
        width: 47px;
        margin: 0;
        flex-shrink: 0;
    }
    .kpi-box.kpi-box-fixed .kpi-icon-img-2 {
        width: 58px;
    }
    .kpi-box.kpi-box-fixed .kpi-icon-img-3 {
        width: 53px;
    }

    .kpi-box.kpi-box-fixed .kpi-text-group {
        gap: 0;
        flex: 1;
        padding-left: 20px;
    }

    .kpi-box.kpi-box-fixed .kpi-text-group-3 {
        padding-left: 0px;
    }

    .kpi-box.kpi-box-fixed .kpi-label,
    .kpi-box.kpi-box-fixed .kpi-label-2,
    .kpi-box.kpi-box-fixed .kpi-label-3,
    .kpi-box.kpi-box-fixed .kpi-text,
    .kpi-box.kpi-box-fixed .kpi-num {
        font-size: 16px;
        line-height: 1.3;
    }

    .kpi-box.kpi-box-fixed .kpi-num {
        font-weight: 600;
        display: flex;
        align-items: baseline;
        gap: 4px;
    }

    .kpi-box.kpi-box-fixed .kpi-num-span-1 {
        font-size: 34px;
    }
}

/* ✅ Nền trắng bo góc cho cả tiêu đề + 3 box KPI */
.kpi-section {
    background: #fff;
    border-radius: 12px;
    padding: 1px 40px 1px;
    margin-bottom: 40px;
}

/* ✅ Mô tả dưới khối KPI */
.kpi-description {
    background: #f3f4f9;
    border-radius: 0 0 12px 12px;
    padding: 24px 0px 32px;
    margin-top: -40px;
    border-top: none;
}


.kpi-description p {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 16px;
    font-weight: 500;
}


.floating-feedback .feedback-button-wrapper {
    padding: 0;
}

.floating-feedback {
    position: fixed;
    bottom: 20px;
    right: 16px;
    left: auto;
    top: auto;
    z-index: 9999;
    background: #fff;
    text-align: center;
    overflow: hidden;
    width: 280px;
    font-family: "Noto Sans JP", sans-serif;
}

/* --- Dòng đầu (màu trắng, viền xanh, chữ xanh) --- */
.feedback-header {
    background: #fff;
    color: #031F88;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #031F88;
}

/* --- Dòng thứ hai (nền xanh đậm, chữ trắng) --- */
.feedback-button {
    display: block;
    background: #031F88;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 0;
    text-decoration: none;
    transition: background 0.2s ease;
}

.feedback-button:hover {
    background: #002a78;
}

.kpi-description a {
    color: #031f88;
    text-decoration: underline;
    font-weight: 600;
    /* giữ phong cách đậm cùng đoạn text */
}

.kpi-description a:hover {
    color: #002a78;
    /* màu đậm hơn khi hover */
}



.page-top-btn {
    display: block !important;
    position: absolute;
    top: 0;
    font-weight: 700;
    text-decoration: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    justify-content: center;
    gap: 6px;
    border-radius: 6px 0 0 6px;
    font-size: 15px;
    letter-spacing: 1px;
    transition: background 0.25s ease;
    z-index: 9999;
    align-items: center;
    height: 120px;
    width: 40px;
    right: 0 !important;
    left: auto !important;
}

/* Ẩn nút PAGE TOP trên mobile */
@media (max-width: 768px) {
    .page-top-btn {
        display: none !important;
    }
}

/* ===========================================================
LOGO CĂN GIỮA TUYỆT ĐỐI VÀ MENU CĂN PHẢI
=========================================================== */
/* Cần thiết lập .container là gốc để định vị logo */
.logo-center {
    position: absolute;
    top: 50%;
    left: 70px;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

.jaic-header .header-main {
    padding: 10px 0;
}

.logo-center img {
    height: 61px !important;
}

/* ===============================
TOPIX — hiển thị 3 ảnh vòng tròn
=============================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.topix-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap !important;
    /* ✅ Fix overflow */
    margin: 91px 0;
}

/* Desktop: 3 cột trên 1 hàng */
@media (min-width: 769px) {
    .topix-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center;
        gap: 36px !important;
    }

    .topix-item {
        width: 238px !important;
        height: 238px;
        flex: 0 0 auto;
    }
}

.topix-item:hover {
    transform: translateY(-2px);
    transform: translateY(-4px);
}

.topix-item .icon-medium {
    width: 28px;
    height: auto;
}

.topix-item {
    position: relative;
    width: 238px;
    height: 238px;
    cursor: pointer;
}

.topix-bg {
    width: 100%;
    height: auto;
    display: block;
}

.topix-text {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    color: #031F88;
}

.t-title {
    font-size: 22px;
    font-weight: 700;
    color: #333333;
}

.t-sub {
    font-size: 18px;
    font-weight: 700;
    margin-top: 4px;
}

.t-arrow {
    margin-top: 6px;
    font-size: 20px;
    font-weight: bold;
}

.hero-title {
    margin: 0;
    font-weight: 700;
    line-height: 1.1;
}

.hero-title .jaic {
    font-size: 72px;
    /* giữ như cũ */
    font-weight: 700;
    color: #004A97;
}

.hero-title .report {
    font-size: 72px;
    /* giữ như cũ */
    font-weight: 300;
    color: #004A97;
}

.hero-title .subtitle {
    display: block;
    font-size: 32px;
    /* giống <p class="subtitle"> hiện tại */
    font-weight: 600;
    color: #004EA2;
    margin-top: 6px;
}

.explanation-text {
    border: 6px solid #0068E5;
    border-radius: 10px;
    background: #fff;
    padding: 20px 26px;
}

/* MOBILE */
@media (max-width: 768px) {

    /* bỏ định vị tuyệt đối */
    /* Desktop */
    .logo-center {
        position: absolute;
        left: 20%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .logo-center img {
        width: auto !important;
    }

    /* header tự giãn chiều cao */
    .jaic-header {
        height: auto !important;
        position: relative;
    }

    /* Container của header để menu dropdown nằm trong */
    .jaic-header .container {
        position: relative;
    }

    .kpi-title-wrapper {
        margin: 10px 20px 25px 20px;
    }

    .kpi .col-sm-4 {
        margin-bottom: 20px;
    }

    .kpi .col-sm-4:last-child {
        margin-bottom: 0;
    }

    .explanation-text {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        z-index: 99999 !important;
        position: relative;
    }
}

@media (max-width: 768px) {
    .header-main {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none !important;
    }
}

.menu-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

/* Mobile xuống 3 hàng */
@media (max-width: 768px) {
    .button-content {
        flex-wrap: wrap !important;
        gap: 14px;
        width: 100%;
    }

    .button-content .dropdown,
    .button-content .btn {
        width: 100% !important;
    }
    .sp-hide {
        display: none !important;
    }
    .content-q1 p {
        font-size: 16px !important;
    }
    .content-q1 .a1-line {
        font-size: 16px !important;
    }
    .kpi-description p {
        font-size: 14px !important;
    }
    .kpi-label {
        font-size: 16px !important;
    }
    .kpi-num-span {
        font-size: 32px !important;
    }
    .kpi-num-span-2 {
        font-size: 13px !important;
    }
    .kpi-label-2 {
        font-size: 24px !important;
    }
    .kpi-label-3 {
        font-size: 16px !important;
    }
}

/* Mobile: nút feedback cố định dưới màn hình */
@media (max-width: 768px) {
    .floating-feedback {
        position: fixed !important;
        bottom: 0;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 32px !important;
        margin-top: 0 !important;
        z-index: 9999 !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        border: 1px solid #031F88 !important;
        padding: 1px !important;
        background: #fff !important;
        box-sizing: border-box !important;
    }
    .floating-feedback .feedback-button img {
        width: 11px !important;
    }
    .floating-feedback .feedback-button {
        font-size: 12px !important;
        height: 100% !important;
        padding: 0 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #031F88 !important;
    }
    .floating-feedback .feedback-button-wrapper {
        height: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        background: #031F88 !important;
    }
}

.floating-feedback .feedback-button {
    display: block;
    width: 100%;
    padding: 5px 10px;
    text-align: center;
    background: #031F88;
    /* màu xanh JAIC */
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.floating-feedback .feedback-header {
    display: none;
    /* Ẩn dòng “>>> 皆様のお声...” trên mobile */
}

/* Mobile: 3 dropdown button rộng 90%, căn giữa */
@media (max-width: 768px) {

    .button-content {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        /* căn giữa */
        gap: 16px !important;
        width: 100%;
    }

    .button-content .dropdown .btn {
        width: 100% !important;
        font-size: 14px;
        font-weight: 500;
    }
}

/* Mobile: căn lề toàn bộ trang */
@media (max-width: 768px) {
    /* Một số block full-width cần thu hẹp lại theo container */
    .report-block,
    .ceo-section,
    .kpi-section,
    .kpi-description,
    .topix-wrapper,
    .chart-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

}


/* =============== DESKTOP =============== */
/* Không cần sửa — Bootstrap tự canh 8-4 */

/* =============== MOBILE =============== */

@media (max-width: 768px) {

    /* Biến row thành 1 cột */
    .ceo-section .row {
        display: flex;
        flex-direction: column;
    }

    /* Đặt thứ tự đúng theo design mobile */
    .ceo-section h2 {
        order: 1;
        width: 100%;
        margin-bottom: 16px;
    }

    /* Khối ảnh CEO */
    .ceo-section .col-md-4 {
        order: 2;
        width: 100% !important;
        text-align: center !important;
    }

    .ceo-photo {
        width: 100%;
        max-width: 100%;
        margin-bottom: 18px;
    }

    /* Khối text CEO */
    .ceo-section .col-md-8 {
        order: 3;
        width: 100% !important;
        margin-top: 0;
    }

    .ceo-text {
        line-height: 1.8;
        margin-bottom: 16px;
        font-size: 16px !important;
    }
}

.ceo-content {
    background-color: #f3f4f9 !important;
}

@media (max-width: 768px) {

    .topix-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 20px 40px;
        /* hàng - cột */
        padding: 0 10px;
    }

    .topix-item {
        width: 45% !important;
        /* 2 item nằm được 1 hàng */
        max-width: 240px;
    }

    /* Đặt thứ tự: 1 - 3 trên cùng */
    .topix-item:nth-child(1) {
        order: 1;
    }

    .topix-item:nth-child(3) {
        order: 2;
    }

    /* Item thứ 2 nằm dưới, chính giữa */
    .topix-item:nth-child(2) {
        order: 3;
        width: 69% !important;
        /* rộng hơn để vào giữa */
        margin-top: -10px;
        /* đẩy lên cho giống ảnh */
    }
    .topix-item:nth-child(2) .topix-title-2 {
        width: 125px !important;
    }
    .topix-subtitle {
        font-size: 16px !important;
    }
    .topix-h4, .memo-section-h4, .memo-section-p {
        font-size: 14px !important;
    }
}

#topix {
    margin-top: 70px !important;
}
@media (max-width: 768px) {
    .report-block {
        padding: 12px !important;
    }

    .button-topix {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .button-topix a {
        text-align: center;
        width: 100%;
    }
}

/* Logo footer căn giữa */
.mobile-footer {
    display: none;
    text-align: center;
}

.mobile-footer .logo-footer {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 20px 0 !important;
    flex: none !important;
    min-width: auto !important;
}

.mobile-footer .logo-footer img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
}

/* Footer mobile items (left align + arrow + border) */
.mobile-footer .mf-item {
    position: relative;
    padding: 12px 0;
    border-bottom: 1px solid #aeb4bd;
    font-size: 15px;
    font-weight: 700;
    text-align: left !important;
    /* ⭐ CĂN TRÁI */
    padding-left: 20px;
    /* ⭐ Cách lề giống JAIC */
}

/* Nhóm dưới không border + không arrow */
.mobile-footer .mf-sub {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 0;
    text-align: center;
}

.mobile-footer .copyright {
    text-align: center;
    padding: 20px 0;
    font-size: 11px;
    font-weight: 500;
}

.mf-item {
    padding-bottom: 3% !important;
    padding-top: 2% !important;
}

.chart-container {
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 900px;
}

.legend {
    display: flex;
    gap: 18px;
    margin-bottom: 30px;
    font-family: "Noto Sans JP";
    font-size: 14px;
    color: #555;
}

.legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-box {
    width: 16px;
    height: 16px;
}

.gray {
    background: #A6A6A6;
}

.blue {
    background: #0068E5;
}

.lightblue {
    background: #58A3FF;
}

.chart-row {
    display: flex;
    justify-content: center;
    /* ⭐ Căn giữa tất cả nhóm cột */
    gap: 50px;
    /* ⭐ Khoảng cách giữa các bar-group */
    align-items: flex-end;
    padding: 0 40px;
    margin-bottom: 40px;
    position: relative;
}

/* ============================
⭐ BASELINE NỐI TẤT CẢ CÁC CỘT
============================ */
.chart-row::after {
    content: "";
    position: absolute;
    bottom: 13%;
    left: 0;
    right: 0;
    height: 1px;
    background: #333333;
    opacity: 0.45;
    z-index: 10;
}

/* ============================
⭐ GRID LINE 50 / 100 / 150
mỗi 60px là 50 億円
============================ */
.chart-row::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 60px;
    right: 60px;
    pointer-events: none;

    background-image:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.12) 1px,
            transparent 1px);

    background-size: 100% 60px;
    /* 1 vạch = 50 億円 */
    z-index: 1;
}

/* ============================
⭐ STACK CỘT
============================ */
.bar-stack {
    height: 180px;
    /* max = 150 億円 */
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 5;
    /* nằm trên grid */
}

/* xoá baseline cũ trong từng cột */
.bar-stack::after {
    display: none !important;
}

/* ============================
⭐ BAR WIDTH = 44px
============================ */
.bar {
    width: 52px !important;
    position: relative;
}

/* ============================
⭐ Giá trị trên đầu cột
============================ */

.bar-value {
    position: absolute;
    top: -18%;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Noto Sans JP";
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    color: #333;
    display: inline-flex;
    align-items: flex-end;
    gap: 0;
}

.bar-value-50 {
    top: -36% !important;
}

.bar-value-14 {
    top: -24px !important;
    color: #0000FF;
}

.bar-value-47 {
    top: -24px !important;
    color: #0000FF;
}

.bar-value-60 {
    top: -36% !important;
}

@media (max-width: 1023px) {
    .long-3 {
        top: -37px !important;
    }
}

/* Chỉ chart 3 (chart-scale-1750) mới cho xuống dòng */
.chart-scale-1750 .bar-value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: normal;
    line-height: 1.2;
}

/* ============================
⭐ LABEL DƯỚI CỘT
============================ */
.label-text {
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
    color: #333;
}

.chart-title {
    display: flex;
    flex-direction: row;
    /* ⭐ PC = CHỈ 1 DÒNG */
    flex-wrap: nowrap;
    /* ⭐ KHÔNG CHO XUỐNG DÒNG */
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    color: #031F88;
    text-align: center;
}

.title-main {
    font-size: 20px;
    font-weight: 700;
}

.title-sub {
    font-size: 14px;
    font-weight: 700;
}

/* ⭐ MOBILE < 768px = 2 DÒNG */
@media (max-width: 768px) {
    .chart-title {
        flex-direction: column;
        /* chuyển thành 2 dòng */
        flex-wrap: wrap;
        gap: 2px;
    }

    .title-main {
        font-size: 16px;
        font-weight: 700;
    }

    .chart-row {
        gap: 5px !important;
    }

    .bar {
        width: 44px !important;
        position: relative;
    }

    .bar-value .num {
        font-size: 14px !important;
    }

    .bar-value .unit {
        font-size: 10px !important;
    }

    .chart-row .label-text {
        font-size: 12px !important;
    }

    .bar-value {
        top: -18px !important;
    }

    .mobile-footer {
        display: block;
    }
}

/* Biểu đồ i – mỗi 50 = 60px */
.chart-scale-50::before {
    background-size: 100% 60px !important;
}

/* Biểu đồ ii – mỗi 100 = 60px */
.chart-scale-100::before {
    background-size: 100% 60px !important;
}

/* Biểu đồ iii – mỗi 1750 = 60px */
.chart-scale-1750::before {
    background-size: 100% 60px !important;
}

.funnel-row {
    display: flex;
}

/* CHỈ áp dụng cho số ≥4 chữ số */
@media (max-width: 768px) {
    .funnel-row {
        display: flex;
        flex-direction: column-reverse !important;
    }

    /* ⭐ CHỈ áp dụng cho giá trị có từ 3 chữ số trở lên */
    .bar-value.long-3 {
        position: absolute;
        top: -29px !important;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        /* Số và chữ xuống 2 dòng */
        text-align: center;
        line-height: 1.1;
        white-space: nowrap;
        /* Không được wrap lung tung */
    }

    /* Chữ 億円 */
    .bar-value.long-3 .unit {
        font-size: 10px;
        margin-top: -1px;
        /* Kéo sát số */
    }

    .chart-row::after {
        display: none;
    }
}

.bar-value .num {
    font-size: 16px;
    font-weight: 500;
}

.bar-value .unit3 {
    font-size: 10px !important;
}

.bar-value .unit {
    font-size: 12px;
    font-weight: 500;
}

/* Desktop: num và unit hiển thị inline (cùng hàng) */
@media (min-width: 769px) {
    .bar-value .num,
    .bar-value .unit {
        display: inline;
    }
}

/* Mobile: style cho num và unit */
@media (max-width: 768px) {
    .bar-value .num {
        font-size: 15px;
        font-weight: 500;
        line-height: 1;
    }

    .bar-value .unit {
        font-size: 12px;
        font-weight: 500;
        line-height: 1;
    }
    
    .bar-value .unit3 {
        font-size: 8px !important;
    }
}

/* Chỉ chart 3 mới có text-align: right cho num và unit */
.chart-scale-1750 .bar-value .num {
    text-align: right;
    line-height: 1.2;
}

.chart-scale-1750 .bar-value .unit {
    display: block;
    text-align: right;
    line-height: 1.2;
}

/* ===========================================================
INLINE STYLES MOVED TO CSS
=========================================================== */

/* Header styles */
.container.position-relative {
    position: relative;
}

.header-top span {
    vertical-align: middle;
}

.jaic-logo.small {
    height: 30px;
}

.menu-icon img {
    width: 50px;
    height: auto;
}

.floating-feedback.mobile-full {
    width: 100% !important;
    max-height: 70px;
}

/* Section title icon */
.section-title img.icon-small {
    width: 26px;
    height: auto;
    margin-right: 1%;
}

.section-title img.icon-medium {
    width: 28px;
    height: auto;
    margin-right: 1%;
}

.ceo-photo.min-width {
    min-width: 300px;
}

/* Q&A dash color */
.a1-line p.dash {
    color: #003C92;
}

/* Chart bars - heights and colors */
.bar.h-60-gray {
    height: 60px;
    background: #A6A6A6;
}

.bar.h-17-blue {
    height: 17px;
    background: #0068E5;
}

.bar.h-72-lightblue {
    height: 72px;
    background: #58A3FF;
}

.bar.h-120-gray {
    height: 120px;
    background: #A6A6A6;
}

.bar.h-120-lightblue {
    height: 120px;
    background: #58A3FF;
}

.bar.h-160-gray {
    height: 160px;
    background: #A6A6A6;
}

.bar.h-40-blue {
    height: 40px;
    background: #0068E5;
}

.bar.h-180-gray {
    height: 180px;
    background: #A6A6A6;
}

.bar.h-180-lightblue {
    height: 180px;
    background: #58A3FF;
}

.bar.h-135-gray {
    height: 135px;
    background: #A6A6A6;
}

.bar.h-121-blue {
    height: 121px;
    background: #0068E5;
}

.bar.h-158-gray {
    height: 158px;
    background: #A6A6A6;
}

.bar.h-122-blue {
    height: 122px;
    background: #0068E5;
}

.bar.h-126-lightblue {
    height: 126px;
    background: #58A3FF;
}

.bar-value.lightblue-text {
    color: #58A3FF;
}

.chart-row.no-margin-bottom {
    margin-bottom: 0 !important;
}

/* Funnel section */
.funnel-container {
    position: relative;
    display: inline-block;
    max-width: 350px;
}

.funnel-img {
    width: 100%;
    height: auto;
}

.funnel-text-overlay {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.6;
    text-align: center;
}

.triangle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -5px;
    gap: 4px;
}

.triangle-img {
    max-width: 15%;
    height: auto;
    opacity: 0.95;
    margin-top: 5%;
}

.funnel-title {
    font-weight: 600;
    color: #33499F;
    font-size: 40px;
    margin-top: 10px;
}

.explanation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.explanation-item {
    margin-bottom: 14px;
}

.explanation-header {
    font-weight: 600;
    color: #0068E5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.explanation-icon {
    width: 30px;
    height: auto;
}

.explanation-detail {
    font-size: 13px;
    font-weight: 400;
    color: #0068E5;
    padding-left: 13%;
}

/* Topix report blocks */
.report-block.topix-block {
    background: #fff;
    border-radius: 15px !important;
    padding: 32px;
    background-color: white !important;
}

.topix-h3 {
    color: #333333;
    font-size: 28px;
    margin-bottom: 16px;
    font-weight: 700;
}

.topix-icon {
    padding-bottom: 15px;
}

.topix-subtitle {
    color: #031F88;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 24px;
}

.topix-subtitle-alt {
    color: #031F88;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.topix-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-bottom: 3%;
}

.topix-logo-full {
    width: 100%;
    max-width: 480px;
    height: auto;
}

.topix-logo-max {
    max-width: 480px;
    width: 100%;
    height: auto;
}

.topix-description {
    font-size: 16px;
    color: #333;
    line-height: 1.9;
    margin-bottom: 28px;
    font-weight: 500;
}

.topix-h4 {
    color: #031F88;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
}

.topix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.topix-table tr.bordered {
    border-top: 1px solid #031F88;
    border-bottom: 1px solid #031F88;
}

.topix-table tr.border-bottom {
    border-bottom: 1px solid #031F88;
}

.topix-table td {
    padding: 12px 8px;
}

.topix-table td.w-25 {
    width: 25%;
}

.topix-table td.fw-700 {
    font-weight: 700;
    font-size: 14px;
}

.topix-table td.fw-500 {
    font-weight: 500;
    font-size: 14px;
}

.topix-button {
    display: inline-block;
    background: #031F88;
    color: #fff;
    font-weight: 500;
    padding: 12px 59px;
    text-decoration: none;
    font-size: 16px;
}

.topix-notes {
    font-size: 12px;
    color: #333;
    line-height: 1.8;
    margin-top: 20px;
    font-weight: 400;
}

/* Memo block */
.memo-block.custom {
    border-radius: 10px;
    padding: 40px 48px;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.memo-h2 .icon-small {
    width: 28px;
    height: auto;
}

.memo-h2 {
    color: #031F88;
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.memo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 18px;
}

.memo-col {
    flex: 1 1 380px;
    min-width: 320px;
}

.memo-table-custom {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    color: #333;
    border-top: 2px solid #031F88;
    border-bottom: 2px solid #031F88;
}

.memo-table-custom tr.border-bottom-2 {
    border-bottom: 2px solid #031F88;
}

.memo-table-custom td.fw-700-14 {
    font-weight: 700;
    font-size: 14px;
    padding: 10px 8px;
    width: 45%;
}

.memo-table-custom td.fw-500-14 {
    padding: 10px 8px;
    font-weight: 500;
    font-size: 14px;
}

.memo-table-custom td.table-memo-cell {
    font-weight: 700;
    font-size: 14px;
    padding: 14px 8px;
    vertical-align: top;
    height: 200px;
    display: flex;
    align-items: center;
}

.memo-table-custom td.padding-14 {
    padding: 14px 8px;
    font-weight: 500;
    font-size: 14px;
}

.memo-strong {
    font-weight: 700;
}

.memo-strong-black {
    font-weight: 900;
    color: #000;
    font-size: 14px;
}

.memo-small-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.memo-h4 {
    font-weight: 700;
    color: #222;
    font-size: 16px;
    margin-bottom: 14px;
}

.memo-flex-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.memo-flex-row {
    display: flex;
    align-items: stretch;
}

.memo-box {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 15px;
    color: #333;
    line-height: 1.9;
    align-items: center;
    display: flex;
}

.memo-box-alt {
    background: #fff;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.memo-box-alt:first-child {
    flex: 0 0 39.1%;
    max-width: 39.1%;
}

.memo-box-alt:last-child {
    flex: 0 0 54.05%;
    max-width: 54.05%;
}

.memo-list {
    margin: 0;
    padding-left: 12px;
    font-weight: 500;
    font-size: 14px;
}

.memo-arrow-box {
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.memo-arrow-img {
    width: 14px;
    height: auto;
}

.memo-hr {
    border: none;
    margin: 20px 0;
}

.memo-section {
    font-size: 15px;
    color: #333;
    line-height: 1.9;
}

.memo-section-h4 {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.memo-section-p {
    font-weight: 500;
    font-size: 16px;
}

/* Ẩn br trên desktop, chỉ hiển thị trên mobile */
.spbr {
    display: none;
}

.memo-section-ol {
    padding-left: 20px;
    margin-top: 0;
    font-weight: 500;
    font-size: 16px;
}

/* Sidebar */
.ir-content.custom {
    padding-left: 25px;
    background-color: #f3f4f9;
}

.side-nav.custom {
    padding-left: 0px !important;
}

.side-nav a.first-link {
    border-top: 1px solid #e6e8f0;
    margin-top: 0px;
}

.sidebar-hr {
    height: 2px;
    background-color: #dddddd;
    border: none;
    margin: 0px;
}

/* Footer */
.page-top-img {
    width: 40px;
    height: 120px;
}
#footer .right_panel .col .sitemap li a, #footer .right_panel .col .ttl a {
    color: #fff;
  }
  #footer .right_panel .col .ttl a {
    color: #fff;
    background: url("../images/foot_link1.png") no-repeat left center;
    padding-left: 20px;
    background-size:12px;
  }
  #footer {
    position: relative;
    background-color: #6c7886;
    color: #FFF;
  }
  #footer .top-footer {
    display: block;
    padding: 95px 0 60px;
  }
  @media only screen and (max-width:768px) {
    #footer .top-footer {
      padding: 20px 0
    }
    #footer .top-footer .container{
        padding: 0 !important;
  }
    
    .logo-footer img{
        width: 100px;
    }
  }
  #footer .bottom-footer {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 50px 0;
      border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    font-size: 1.4rem
  }
  #footer .bottom-footer ul{
      display: inline;
      padding: 0;
  }
  #footer .bottom-footer li{
      display: inline-block;
      margin-right: 25px;
  }
  #footer .bottom-footer li a{
      color: #FFF;
  }
  
  #footer .right_panel {
    display: inline-block;
    float: right;
    width: 75%
  }
  @media only screen and (max-width:768px) {
    #footer .bottom-footer {
      padding: 0
    }
    #footer .right_panel {
      width: 100%;
      padding-bottom: 0px;
    }
    #footer .bottom-footer {
      border-top:none;
  }
    #footer .bottom-footer li{
        display: block;
      text-align: center;
      margin-bottom: 12px;
      font-weight: bold;
    }
  
    #footer .bottom-footer li a{
        display: block;
    }
  }
  #footer .right_panel .col {
    float: left;
    width: 31.33333%;
    margin-right: 2%
  }
  #footer .right_panel .col .ttl {
    font-weight: 700;
    line-height: 1.4;
    padding-bottom: 15px;
    font-size: 16px;
    font-size: 1.6rem;
    margin-bottom: 0;
  }
  #footer .sitemap{	
      margin-left: 25px;
      margin-bottom: 25px;
      padding-left: 0;
  }
  
  @media only screen and (max-width:768px) {
    #footer .right_panel .col {
      width: 100%;
      margin-right: 0;
      text-align: left
    }
    #footer .right_panel .col .ttl {
      font-size: 14px;
      font-size: 1.4rem;
      border-bottom: 1px solid #78838f;
      margin-bottom: 0;
      padding-top: 9px;
      padding-bottom: 9px;
    }
    #footer .right_panel .col .ttl a {
      color: #fff;
      background: url("../images/foot_link1.png") no-repeat right 20px center;
      padding-right: 20px;
      background-size: 12px;
      display: block;
  }
  #footer .right_panel .col .sitemap {
    display: none;
  }
  }
  
  #footer .right_panel .col .sitemap li {
    padding-bottom: 9px;
    font-size: 14px;
    font-size: 1.4rem
  }
  @media only screen and (max-width:768px) {
    #footer .right_panel .col .sitemap li {
      font-size: 13px;
      font-size: 1.3rem
    }
  }
  
  #footer .left_panel {
    float: left;
    width: 25%
  }
  #footer .left_panel .logo-footer {
    margin-bottom: 20px
  }
  #footer .left_panel .ttl {
    font-weight: 700;
    color: #333;
    font-size: 16px;
    font-size: 1.6rem
  }
  #footer .left_panel .txt {
    line-height: 1.8;
    font-size: 13px;
    font-size: 1.3rem
  }
  #footer .copyright {
    font-size: 12px;
    font-size: 1.2rem;
    float: right;
  }
  #back-to-top img {
    width: 40px;
    height: 120px;
}
  @media only screen and (max-width:768px) {
    #footer .left_panel {
      width: 100%;
      padding-top: 20px;
      text-align: center
    }
    #footer .left_panel .ttl {
      font-size: 13px;
      font-size: 1.3rem
    }
    #footer .left_panel .copyright {
      padding-bottom: 20px
    }
    #footer .copyright {
      float: none;
      text-align: center;
      margin-top: 20px;
      margin-bottom: 20px;
  }
    #back-to-top img {
        width: 30px;
        height: 90px;
    }
}
  .sitemap li a {
    position: relative;
    color: #333;
    padding-left: 1em;
}
  .sitemap li a::before {
    position: absolute;
    left: -5px;
    top: calc(50% - 1px);
    width: 10px;
    height: 1px;
    content: '';
    background: #fff;
  }
  #back-to-top {
    position: absolute;
    top: 0;
    right: 0px;
    z-index: 100;
    margin-bottom: 0;
}
.side-bar ol, ul li {
    list-style: none;
    padding-left: 0;
}
.clearfix:after, .clearfix:before {
    display: table;
    content: '';
}

.feedback-header {
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 0;
    color: #003C92;
    text-decoration: none;
}

.feedback-header a {
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    color: #031F88;
}

.feedback-header:hover {
    text-decoration: underline;
    text-decoration: none;
}

/* Desktop: không tách số và đơn vị */
@media (min-width: 768px) {
    .bar-value {
        white-space: nowrap !important;
        /* không xuống dòng */
        display: inline-block !important;
        text-align: center;
    }

    .bar-value .num,
    .bar-value .unit {
        display: inline !important;
        /* số & chữ nằm cùng hàng */
    }
    .bar-stack .bar {
        width: 70px !important;
    }
}

.topix-item {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jaic-report {
    width: 620px;
    height: 102px;
}

@media (max-width: 768px) {
    /* Subtitle nằm dưới, cùng chiều rộng */
    .hero-title .subtitle {
        display: block;
        font-size: 16px !important;
        font-weight: 700;;
        margin-top: 6px;
        line-height: 1.3;
    }

    .hero-title {
        text-align: left !important;
    }
    
    .hero-title img {
        display: block;
        margin: 0;
    }

    .box-q1 {
        margin-bottom: -15px !important;
    }

    .chart-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* baseline nằm đúng bằng chiều rộng chart */
    .chart-row {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .chart-row::before {
        left: 12px !important;
        right: 12px !important;
    }

    .legend {
        padding-left: 5%;
    }

    .topix-item:nth-child(1) {
        grid-area: item1;
    }

    .topix-item:nth-child(2) {
        grid-area: item2;
    }

    .topix-item:nth-child(3) {
        grid-area: item3;
    }

    /* Layout 1-3 / 2 */
    .topix-wrapper {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "item1 item3"
            "item2 item2";
        gap: 24px 16px;
        margin-top: 20px;
        justify-items: center;
        position: relative;
        /* quan trọng */
    }

    /* Giữa 100% */
    .topix-item:nth-child(2) {
        justify-self: center !important;
        /* ép vào giữa */
    }

    .topix-item:nth-child(1) {
        grid-area: item1;
        position: absolute;
        top: 33%;
    }

    .topix-item:nth-child(3) {
        grid-area: item3;
        top: 33%;
    }


    /* ICON fixed size */
    .topix-item,
    .topix-item .topix-bg {
        width: 114px !important;
        height: 114px !important;
        object-fit: contain;
    }

    /* RESET lỗi khiến item 2 bị rớt quá sâu */
    .topix-text {
        position: relative;
        top: -62px !important;
        /* ❗ bỏ dịch xuống */
        margin-top: -10px !important;
        /* ❗ kéo text lên cho đẹp */
        width: 125px;
        text-align: center;
    }

    .t-title {
        font-size: 14px !important;
        margin-top: 6px;
    }

    .t-sub {
        font-size: 12px !important;
        line-height: 1.3;
        margin-top: 4px;
    }

    .topix-bg-2 {
        margin-left: 26%;
    }

    /* Cho t-sub luôn hiển thị đúng 2 dòng */
    .topix-item .t-sub {
        white-space: normal !important;
        display: block;
        text-align: center;
        line-height: 1.25;
        /* giúp giữ đúng 2 hàng nếu chữ dài */
        margin: 0 auto;
    }

    .topix-table {
        width: 100%;
        border-collapse: collapse;
    }

    .topix-table tr {
        display: block;
        /* mỗi hàng thành block */
        padding: 12px 0;
    }

    .topix-table td {
        display: block;
        /* mỗi cột thành block */
        width: 100% !important;
        /* full width */
        text-align: left !important;
        /* căn trái */
        padding: 4px 0;
    }

    /* tiêu đề (cột trái) cách cột phải một chút */
    .topix-table td.fw-700 {
        margin-bottom: 4px;
        font-weight: 700;
    }

    .topix-table td.fw-500 {
        font-weight: 500;
    }

    .topix-table tr.border-bottom {
        border-bottom: 1px solid #031F88 !important;
    }

    .button-topix {
        height: 40px !important;
    }

    .topix-button {
        font-size: 14px !important;
    }

    .topix-h3 {
        font-size: 20px !important;
        font-weight: 700 !important;
    }

    .topix-subtitle-alt {
        font-size: 16px !important;
    }

    .topix-description {
        font-size: 14px !important;
    }

    .topix-icon {
        width: 23px !important;
    }

    .memo-box {
        border-radius: 12px !important;
        align-items: center;
        display: flex;
        padding: 14px 10px !important;
    }

    .custom-memo {
        margin-bottom: 0 !important;
    }

    .memo-item {
        float: none !important;
    }
}

.memo-section-ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: memo;
}

.memo-section-ol li {
    position: relative;
    margin-bottom: 14px;
    line-height: 1.8;
    padding-left: 2.2em;
    /* thụt block để tạo chỗ cho số */
    text-indent: -1.4em;
    /* kéo dòng đầu ra → chỉ số thụt, text ra ngoài */
}

.memo-section-ol li::before {
    counter-increment: memo;
    content: "（" counter(memo) "）";
    /* dùng ngoặc fullwidth đẹp hơn */
    position: absolute;
    left: 0;
    /* vị trí của số */
    top: 0;
    font-weight: 600;
}

.memo-num {
    padding-left: 15px;
    font-size: 14px;
    font-weight: 700;
    padding-right: 5px;
}

.memo-text {
    font-size: 14px;
    font-weight: 700;
}

/* ---------------- HEADER ---------------- */

#header {
    position: fixed;
    z-index: 999999;
    width: 100%;
    background: #FFF;
}

#header .logo {
    display: flex;
}

/* PC layout */
@media print,
screen and (min-width:769px) {
    #header {
        min-width: 1160px;
    }

    #header .top-header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

/* SP layout */
@media only screen and (max-width:768px) {
    #header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: #fff;
    }

    #header .logo {
        margin-top: 0;
    }

    #header .top-header {
        z-index: 5;
        background: #fff;
    }

    #header .top-header .container {
        padding: 0;
    }

    #header .top-header .logo {
        width: 120px;
        margin-left: 0;
    }

    #header .top-header .logo img {
        width: auto;
        height: 40px;
        margin-top: 8px;
    }

    #header .top-header .header-tools {
        text-align: center;
        margin: 10px;
    }
    
    /* Ẩn hero-banner khi menu mobile mở */
    body.menu-open .hero-banner,
    body:has(#header.menu-open) .hero-banner,
    #header.menu-open ~ main .hero-banner {
        display: none !important;
    }

    .memo-h2 {
        font-size: 20px !important;
    }
}

@media print,
screen and (min-width:768px) {
    #header .header-tools {
        float: right;
    }
}

.header-right {
    margin-top: 10px;
}

/* --- LANGUAGE SWITCHER --- */
#header .header-tools .nav-top {
    display: flex;
    margin-bottom: 5px;
}

#header .header-tools .nav-top li {
    background: url("../images/header-tools.gif") no-repeat center right;
    background-size: 4px 11px;
    margin-right: 5px;
}

#header .header-tools .nav-top li:last-of-type {
    margin-right: 0;
    background: none;
}

#header .header-tools .nav-top li a,
#header .header-tools .nav-top li strong {
    display: inline-block;
    margin-right: 9px;
    color: #031f88;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}
#header .header-tools .nav-top li:nth-child(3) a {
    margin-right: 0;
}

/* --- MAIN NAV --- */
@media print,
screen and (min-width:769px) {
    #header .main-nav {
        display: block !important;
        height: 60px;
    }
}

@media print,
screen and (min-width:768px) {
    #header .main-nav {
        clear: both;
    }
}

#header .main-nav>ul {
    display: flex;
    justify-content: flex-end;
}

#header .main-nav>ul>li {
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
}

#header .main-nav>ul>li a {
    font-weight: 700;
    display: inline-block;
    padding: 8px 15px;
    color: #031f88;
    font-size: 16px;
}

/* Hover + dropdown (PC) */
@media screen and (min-width:768px) {
    #header .main-nav>ul>li:hover>a {
        color: #000;
    }
}

@media print,
screen and (min-width:768px) {
    #header .main-nav>ul>li a {
        position: relative;
        display: block;
    }

    #header .main-nav>ul>li.has-sub>a:after {
        position: absolute;
        bottom: -13px;
        right: calc(50% - 5px);
        font-size: 18px;
        color: #031f88;
        content: "\f107";
        font-family: FontAwesome;
        font-weight: bold;
    }

    #header .main-nav>ul>li.has-sub:hover {
        background: #f0f0f0;
    }
}

/* Mobile submenu arrow */
@media only screen and (max-width:768px) {
    #header .main-nav>ul>li.has-sub .sub {
        position: absolute;
        top: 0;
        right: 0;
        width: 45px;
        height: 50px;
    }

    #header .main-nav>ul>li.has-sub .sub:after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 12px;
        height: 7px;
        transform: translate(-50%, -50%);
        background: url(../img/ico_up.png) no-repeat;
        background-size: cover;
    }
}

/* Dropdown wrap (PC) */
@media print,
screen and (min-width:769px) {
    #header .main-nav>ul>li .wrap {
        position: absolute;
        z-index: 9999 !important;
        top: 100%;
        right: 0;
        left: 0;
        display: block;
        visibility: hidden;
        opacity: 0;
        padding: 60px 0;
        background-color: #f0f0f0;
        transition: opacity .2s;
    }

    #header .main-nav>ul>li:hover .wrap {
        visibility: visible;
        opacity: 1;
    }
}

/* Mobile menu button */
#menu-sp-btn,
#menu-sp-btn2 {
    display: none;
}

@media only screen and (max-width:768px) {

    #menu-sp-btn,
    #menu-sp-btn2 {
        display: block;
    }
}

#menu-sp-btn span,
#menu-sp-btn2 span {
    display: block;
    width: 100%;
    height: 2px;
    margin-bottom: 6px;
    background-color: #031f88;
}

.topix-title-2 {
    width: 95px !important;
}

.topix-ai {
    display: block !important;
}

.memo-last {
    margin-bottom: 0 !important;
}

.breadcrumb {
    height: 40px;
    max-height: 40px;
    padding: 4px 0 !important;
}

.breadcrumb a {
    line-height: 30px !important;
}

#menu-sp-btn,
#menu-sp-btn2 {
    text-decoration: none !important;
}

#menu-sp-btn:hover,
#menu-sp-btn2:hover {
    text-decoration: none !important;
}

/* Ẩn menu con mặc định */
.main-nav .wrap {
    display: none;
}

/* Khi mở thì hiện */
.main-nav .has-sub.open>.wrap {
    display: block;
}

/* Icon mũi tên khi mở */
.main-nav .has-sub.open>.sub {
    transform: rotate(180deg);
}

@media (max-width: 500px) {
    .mf-item {
        display: flex;
        justify-content: space-between;
        /* đẩy icon sang phải */
        align-items: center;
        padding: 12px 16px;
    }

    .mf-item img {
        margin-left: 10px;
        margin-right: 20px;
        width: 16px;
        color: #FFFFFF !important;
    }

    .mega-menu li {
        list-style: none !important;
        /* bỏ dấu chấm */
        padding-left: 0 !important;
        /* bỏ thụt trái */
    }

    .lvl-1 {
        padding-left: 0;
    }

}

/* ===== Sửa riêng cho biểu đồ ii 投資運用事業 ===== */
.chart-row-2 .h-120-gray {
    /* 100億円: cho ~60px để chênh hẳn với 200 */
    height: 60px;
}

.chart-row-2 .h-160-gray {
    /* 200億円: tầm giữa 100 và 300 */
    height: 120px;
}

.chart-row-2 .h-180-gray,
.chart-row-2 .h-180-lightblue {
    /* 300億円 giữ 180px */
    height: 180px;
}

/* 150億円 (lightblue) cho tỉ lệ giữa 100 và 200 */
.chart-row-2 .h-120-lightblue {
    height: 90px;
}

/* ===== Fix chuẩn tỉ lệ Chart 3 (iii ファンド・プラットフォーム事業) ===== */

/* 3,500億円: cần 157px */
.chart-row-3 .h-158-gray {
    height: 157px !important;
}

.bar-value {
    top: -23px;
}

.chart-row-3 .bar {
    border-radius: 0 !important;
}

/* Ngôn ngữ đang active (JA / EN / CH) */
.nav-top a.active {
    color: #999 !important;
    pointer-events: none;
    /* không cho click nữa */
    text-decoration: none !important;
    border-bottom: none !important;
}

/* --- OLD CSS --- */
@media print, screen and (min-width:769px) {
    body {
      min-width: 1170px !important;
    }
  }
  html {
    font-size: 10px;
    overflow-y: scroll;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
  }
  * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
  }
  main {
    display: block
  }
  img {
    max-width: 100%;
    vertical-align: middle
  }
  a {
    color: #031f88
  }
  body {
    font-family: "游ゴシック", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro", Osaka, Meiryo, "メイリオ", "MS Pゴシック", Arial, Helvetica, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
    font-size: 1.6rem;
    font-weight: 500
  }
  @media only screen and (max-width: 768px) {
    .logo-footer img {
        width: 100px;
    }
}
  @media only screen and (max-width:768px) {
    body {
      font-size: 14px;
      font-size: 1.4rem
    }
    .container {
        padding: 0 15px !important;
    }
  }
  .container {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
  }
  .clearfix:after, .clearfix:before {
    display: table;
    content: ''
  }
  .clearfix:after {
    clear: both
  }
  .pc {
    display: block !important
  }
  @media only screen and (max-width:768px) {
    .pc {
      display: none !important
    }
  }
  .sp {
    display: none !important
  }
  @media only screen and (max-width:768px) {
    .sp {
      display: block !important
    }
  }
  .breadcrumb {
    padding: 8px 0;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    font-size: 14px;
    font-size: 1.4rem;
    background-color: white;
  }
  @media only screen and (max-width:767px) {
    .breadcrumb {
    font-size: 13px;
    font-size: 1.3rem;
    }
  }
  @media only screen and (max-width:480px) {
    .breadcrumb {
      overflow-x: auto;
      width: 100%;
      white-space: nowrap;
    }
  }
  .breadcrumb a {
    color: #333;
    text-decoration: none;
  }
  .breadcrumb a, .breadcrumb span {
    line-height: 1.4
  }
  .breadcrumb span {
    font-weight: 700
  }
  .breadcrumb a {
    position: relative;
    padding-right: 30px;
    font-weight: bold;
    color: #031f88;
  }
  .breadcrumb a:after {
    position: absolute;
    top: -5px;
    right: 10px;
    font-size: 18px;
    color: #a7a5a7;
    display: block;
    content: "\f105";
    font-family: 'FontAwesome';
    font-weight: normal;
    font-style: normal;
  }
  #header {
      position: fixed;
      z-index: 999999;
      width: 100%;
      background: #FFF;
  }
  #header .logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  @media print, screen and (min-width:769px) {
  #header {
      min-width: 1160px;
  }
  
  #header .top-header .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
  }
  }
  @media print, screen and (min-width:768px)  {
  #header .header-tools {
      float: right;
  }
  }
  .header-right{
      margin-top: 10px;
  }
  
  #header .header-tools .nav-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 5px;
    list-style: none;
    padding: 0;
  }
  #header .header-tools .nav-top li {
    display: inline-block;
  }
  #header .header-tools .nav-top li a {
    display: inline-block;
    color: #031f88;
    font-size: 14px;
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-decoration: none;
  }
  #header .header-tools .nav-top li strong {
    display: inline-block;
    color: #999999;
    font-size: 14px;
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
  }
  @media only screen and (max-width:768px) {
  #header .header-tools .nav-top{
      justify-content: center;
      padding-bottom: 10px;
  }
  }
  @media print, screen and (min-width:769px)  {
    #header .main-nav {
      display: block !important;
      height: 60px;
    }
  }
  @media print, screen and (min-width:768px)  {
    #header .main-nav {
      clear: both;
    }
  }
  #header .main-nav > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end
  }
  #header .main-nav > ul > li {
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
  }
  #header .main-nav > ul > li:last-of-type, #header .main-nav > ul > li:nth-last-of-type(-n+2) {
    margin-right: 0
  }
  @media screen and (min-width:768px) {
    #header .main-nav > ul > li:hover > a {
        color: #000;
  
    }
  }
  #header .main-nav > ul > li a {
    font-weight: 700;
    display: inline-block;
    padding: 8px 15px;
    color: #031f88;
    font-size: 16px;
    font-size: 1.6rem;
    text-decoration: none;
  }
  @media print, screen and (min-width:768px) {
  #header .main-nav > ul > li a{
      position: relative;
      display: block
  }
  #header .main-nav > ul > li.has-sub > a:after{
    position: absolute;
    bottom: -13px;
    right: calc( 50% - 5px);
    font-size: 18px;
    color: #031f88;
    display: block;
    content: "\f107";
    font-family: 'FontAwesome';
    font-weight: normal;
    font-style: normal;
  }
  #header .main-nav > ul > li.has-sub:hover{
      background: #f0f0f0
  }
  }
  @media only screen and (max-width:768px) {
    #header .main-nav > ul > li.has-sub.active .sub:after {
      content: '';
      background: url(../images/ico_down.png);
      background-size: cover
    }
  }
  @media only screen and (max-width:768px) {
    #header .main-nav > ul > li.has-sub.active ul li{
      border-top: 1px solid #e6e6e6
    }
    #header .main-nav > ul > li.has-sub .sub {
      position: absolute;
      top: 0;
      right: 0;
      width: 45px;
      height: 50px
    }
    #header .main-nav > ul > li.has-sub .sub:after {
      content: "";
      position: absolute;
      display: inline-block;
      top: 50%;
      left: 50%;
      -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
      transform: translateX(-50%) translateY(-50%);
      width: 12px;
      height: 7px;
      background: url(../images/ico_up.png) no-repeat;
      background-size: cover
    }
  }
  @media print, screen and (min-width:769px)  {
    #header .main-nav > ul > li:hover .wrap {
      display: inline-block;
      width: 100%;
      visibility: visible;
      opacity: 1
    }
  }
  @media print, screen and (min-width:769px) {
    #header .main-nav > ul > li .wrap {
      position: absolute;
      z-index: 9999 !important;
      top: 100%;
      right: 0;
      left: 0;
      display: block;
      visibility: hidden;
      overflow: inherit;
      clip: inherit;
      width: 100%;
      max-width: 100%;
      margin: auto;
      padding: 60px 0;
      opacity: .95;
      background-color: #f0f0f0
    }
    .nav_inner{
        width: 1170px;
      margin: 0 auto;
  }
    .nav_inner img{
        float: left;
      width: 300px;
  }
    #header .main-nav > ul > li .wrap .mega-menu {
      list-style: none;
      display: block;
      width: 100%;
      max-width: 830px;
      text-align: center;
      float: right;
    }
    #header .main-nav > ul > li .wrap .mega-menu li {
      float: left;
      width: calc(33.33% - 15px);
      margin-right: 20px;
      margin-bottom: 10px;
    }
    
    #header .main-nav > ul > li .wrap .mega-menu li:nth-child(3n) {
      margin-right: 0
    }
    #header .main-nav > ul > li .wrap .mega-menu li span {
      position: relative;
      display: inline-block;
      width: 100%;
      background: #FFF;
    }
    #header .main-nav > ul > li .wrap .mega-menu li span a {
      position: relative;
      z-index: 2;
      display: block;
      padding: 13px 0 13px;
      background: url("../images/nav_arow.png") no-repeat right 13px center;
      background-size: 12px;
      color: #021f87;
      font-size: 14px;
      font-size: 1.4rem;
      line-height: 1.4rem;
  }
  
  }
  @media only screen and (max-width:768px) {
    #header .main-nav > ul > li .wrap {
      display: none;
      padding-left: 15px;
    }
    #header .main-nav > ul > li .wrap.show {
      display: block
    }
  }
  @media only screen and (max-width:768px) {
    #header .main-nav > ul > li, #header .main-nav > ul > li a.active {
      border-bottom: 1px solid #e6e6e6
    }
    #header .main-nav {
      display: none;
      background-color: #FFF
    }
    #header .main-nav > ul {
      display: block;
      border-top: 1px solid #e6e6e6;
      padding-left: 0;
    }
  .main-nav.is-show {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    padding-bottom: 110px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
  }
    
    #header .main-nav > ul > li {
      display: block;
      margin-right: 0;
      margin-left: 0;
      position: relative
    }
    #header .main-nav > ul > li a {
      position: relative;
      display: block;
      padding: 14px 15px;
      font-size: 13px;
      font-size: 1.3rem
    }
    #header .main-nav > ul > li a:after {
      position: absolute;
      top: 50%;
      right: 15px;
      display: block;
      width: 12px;
      height: 12px;
      content: '';
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      background: url(../images/ico_arow_right.png);
      background-size: cover
    }
    #header .main-nav > ul > li ul.mega-menu a {
        padding-left: 30px;
  }  
    #header .main-nav > ul > li ul.mega-menu a:after {
      position: absolute;
      left: 0px;
    }
    #header .main-nav > ul > li.has-sub > a:after {
      display: none
    }
    #header .main-nav .header-tools {
      display: block
    }
    .nav_inner img{
        display: none;
    }
  }
   #menu-sp-btn,#menu-sp-btn2 {
    display: none
  }
  #menu-sp-btn {
    position: fixed;
    z-index: 9999;
    top: 15px;
    right: 0;
    width: 50px;
    height: 50px;
    padding: 0px 10px;
        line-height: 0.6em;
      font-family: 'Rajdhani', sans-serif;
      color: #031f88;
      font-weight: 600;
      font-size: 12px;
      font-size: 1.2rem;
      text-align: center;
  }
  #menu-sp-btn2 {
    width: 50px;
    height: 50px;
    padding: 0px 10px;
        line-height: 0.6em;
      font-family: 'Rajdhani', sans-serif;
      color: #031f88;
      font-weight: 600;
      font-size: 12px;
      font-size: 1.2rem;
      text-align: center;
      margin: 0 auto;
  }
  @media only screen and (max-width:768px) {
    #menu-sp-btn,#menu-sp-btn2 {
      display: block
    }
  }
  #menu-sp-btn span,#menu-sp-btn2 span {
    display: block;
    width: 100%;
    height: 2px;
    margin-bottom: 6px;
    transition: transform .3s cubic-bezier(.175, .885, .32, 1.275) .1s, opacity .1s ease-in-out .1s, -webkit-transform .3s cubic-bezier(.175, .885, .32, 1.275) .1s;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    background-color: #031f88
  }
  #menu-sp-btn2 span:first-child {
    -webkit-transform: translateY(9px) rotateZ(-135deg);
    -ms-transform: translateY(9px) rotate(-135deg);
    transform: translateY(9px) rotateZ(-135deg)
  }
  #menu-sp-btn2 span:nth-child(2) {
    opacity: 0
  }
  #menu-sp-btn2 span:last-child {
    -webkit-transform: translateY(-7px) rotateZ(135deg);
    -ms-transform: translateY(-7px) rotate(135deg);
    transform: translateY(-7px) rotateZ(135deg)
  }
  
  .heading-top .container{
    padding: 46px 15px 50px;
  }
  @media only screen and (max-width:768px) {
    .page-parts_001, .page-parts_002 {
      padding-top: 50px
    }
  }
  a {
    outline: none;
  }
  
  .chart-row-3 .bar {
      position: relative;
      width: 50px;
      border-radius: 4px;
  }
  
  .chart-row-3 .h-135-gray { height: 135px; }
  .chart-row-3 .h-121-blue { height: 121px; }
  .chart-row-3 .h-158-gray { height: 158px; }
  .chart-row-3 .h-122-blue { height: 122px; }
  .chart-row-3 .h-126-lightblue { height: 126px; }
  .chart-row-3 .h-180-gray { height: 180px; }
  .chart-row-3 .h-180-lightblue { height: 180px; }

/* Sidebar */
.side-bar a {
    text-decoration: none;
}
.side-bar {
    padding-top: 27px;
    padding-left: 30px;
  }
  .side-bar .heading, .side-bar .list-box {
    display: inline-block;
    width: 100%
  }
  @media only screen and (max-width:768px) {
    .side-bar {
      width: 100%;
      padding-left: 8px;
    }
  }
  .side-bar .heading {
    padding: 46px 5px;
    font-size: 18px;
    font-size: 1.8rem
  }
  @media only screen and (max-width:768px) {
    .side-bar .heading {
      width: 100%;
      padding: 23px 5px;
      font-size: 16px;
      font-size: 1.6rem
    }
  }
  .side-bar ol li::before {
    content: none
  }
  .side-bar > ol > ol > li > a, .side-bar > ol > ol > li > strong {
    display: inline-block;
    width: 100%;
    padding: 46px 5px;
    font-size: 18px;
    font-size: 1.8rem
  }
  @media only screen and (max-width:768px) {
    .side-bar ol ol li a, .side-bar ol ol li strong {
      width: 100%;
      padding: 23px 5px;
      font-size: 16px;
      font-size: 1.6rem
    }
  }
  
  .side-bar ol ol ol li:last-of-type {
    border-bottom: none;
  }
  .side-bar ol ol ol li a, .side-bar ol ol ol li strong {
    position: relative;
    display: block;
    padding: 3px 0 3px 23px;
    color: #031f88;
    font-size: 16px;
    font-size: 1.6rem;
    font-weight: 500;
  }
  .side-bar ol ol ol {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  @media only screen and (max-width:768px) {
    .side-bar ol ol ol li a, .side-bar ol ol ol li strong {
      font-size: 13px;
      font-size: 1.3rem
    }
  }
  .side-bar ol ol ol li a:after {
    position: absolute;
    top: 50%;
    left: 10px;
    display: block;
    width: 6px;
    height: 10px;
    content: '';
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background: url(../img/ico_arow_left2.png) no-repeat;
    background-size: cover;
  }
  .side-bar ol ol li {

    border-bottom: 1px solid #ddd;

}
.side-bar ol ol ol li {

    border-bottom: none;

}

.side-bar > ol > li > a, .side-bar > ol  > li > strong {

    display: inline-block;
    width: 100%;
    padding: 16px 5px;
    font-size: 18px;
    font-size: 1.8rem;
}
.side-bar .heading, .side-bar > ol > li > a, .side-bar > ol > li > strong {

    font-weight: 700;
    text-align: center;
    color: #fff;
    background-color: #031f88;

}

.side-bar ol ol li a, .side-bar ol ol li strong {

    position: relative;
    display: block;
    padding: 17px 20px 17px 0;
    color: #031f88;
	font-weight: bold;
    font-size: 16px;
    font-size: 1.6rem;
}
.side-bar > ol{
	margin-bottom: 40px;
}
.side-bar ol ol li a:after {
    position: absolute;
    top: 50%;
    right: 10px;
    display: block;
    width: 12px;
    height: 12px;
    content: '';
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background: url(../images/ico_arow_right.png) no-repeat;
    background-size: cover;
}
