.esg-banner {
    padding: 0;
    padding-bottom: 80%;
    background: url("../../img/kwi-ir/esg-m.png") no-repeat center center /
        cover;
}
.inner-box {
    background-color: white;
    padding: 1.25rem;
}
.inner-box h1 {
    font-size: 30px;
    font-weight: 400;
    color: #030f20;
    margin-bottom: 15px;
}
.inner-box p {
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    font-size: 14px;
    color: #333;
}
.inner-box.visible-desk {
    display: none;
    max-width: 500px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.wecare-wrap {
    padding: 10px 20px;
}
.wecare-wrap h2,
.framework-wrap h2 {
    font-size: 30px;
    text-align: center;
    color: #133957;
    margin-bottom: 20px;
}
.wecare-card {
    padding: 2rem 1.5rem;
    margin-bottom: 30px;
    border-top: 4px solid #b32225;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e6ebee;
    opacity: 0;
    transform: translateY(20px);
}
.wecare-card img {
    width: 95px;
    margin-bottom: 20px;
}
.wecare-card h3,
.wecare-card p {
    font-size: 14px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    color: #b32225;
    text-align: center;
}
.wecare-card h3 {
    font-size: 22px;
    font-weight: bold;
}
.wecare-card p {
    color: #030f20;
}
@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================== SVG Circle ========================== */
.svg-wrap {
    position: relative;
}
.svg-wrap img {
    width: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%);
    opacity: 0;
}
.svg-wrap svg {
    display: block;
    width: 320px;
    margin: 0 auto;
    height: 380px;
}
.circle,
.circle-2,
.circle-3,
.circle-4,
.circle-5 {
    fill: none;
    stroke-width: 6px;
    stroke: #0a4069;
    stroke-dasharray: 450;
    transform-origin: center;
    transform: rotate(-90deg);
    stroke-linecap: round;
    opacity: 0;
}
.circle-2 {
    stroke: #205984;
    stroke-dasharray: 550;
}
.circle-3 {
    stroke: #356c96;
    stroke-dasharray: 690;
}
.circle-4 {
    stroke: #5886aa;
    stroke-dasharray: 750;
}
.circle-5 {
    stroke: #85a9c5;
    stroke-dasharray: 850;
}
.circleAnimate-1 {
    animation: round 1.2s linear forwards;
}
.circleAnimate-2 {
    animation: round-2 1.2s linear forwards;
}
.circleAnimate-3 {
    animation: round-3 1.2s linear forwards;
}
.circleAnimate-4 {
    animation: round-4 1.2s linear forwards;
}
.circleAnimate-5 {
    animation: round-5 1.2s linear forwards;
}
.inner-circle {
    fill: #205984;
    opacity: 0;
    cursor: pointer;
}
.inner-circle.active {
    fill: #b32225;
}
@keyframes round {
    0% {
        opacity: 0;
        stroke-dashoffset: 450;
    }
    100% {
        opacity: 1;
        stroke-dashoffset: 80;
    }
}
@keyframes round-2 {
    0% {
        opacity: 0;
        stroke-dashoffset: 550;
    }
    100% {
        opacity: 1;
        stroke-dashoffset: 100;
    }
}
@keyframes round-3 {
    0% {
        opacity: 0;
        stroke-dashoffset: 600;
    }

    100% {
        opacity: 1;
        stroke-dashoffset: 120;
    }
}
@keyframes round-4 {
    0% {
        opacity: 0;
        stroke-dashoffset: 700;
    }

    100% {
        opacity: 1;
        stroke-dashoffset: 40;
    }
}
@keyframes round-5 {
    0% {
        opacity: 0;
        stroke-dashoffset: 750;
    }

    100% {
        opacity: 1;
        stroke-dashoffset: 100;
    }
}
@keyframes logo-fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes show {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.svg-content {
    opacity: 1;
    display: block;
}
.svg-content.active {
    display: block;
}
.svg-content h3 {
    font-size: 22px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    color: #426179;
    font-weight: bold;
}
.svg-content.active h3 {
    color: #b32225;
}
.svg-content.active h3::before {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #b32225;
    display: inline-block;
    margin-right: 10px;
    border-radius: 50%;
}
.svg-content p {
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    color: #808f9a;
    font-size: 16px;
}
.svg-content.active p {
    color: #030f20;
}
.framework_carousel {
    padding-top: 20px;
}
.framework-detail {
    background-color: #e6ebee;
    padding: 2rem;
}
.framework-detail h3 {
    font-size: 30px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    text-align: center;
    color: #0e3655;
    margin-bottom: 15px;
    position: relative;
}
.framework-detail h3::after {
    content: '';
    width: 160px;
    height: 3px;
    background-color: #A5312D;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.framework-detail p {
    font-size: 16px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    text-align: center;
    color: #123956;
}
.carousel-wrap {
    padding: 2rem 0;
}
.nav__list {
    padding: 0 15px;
    list-style: none;
    border-bottom: 1px solid #d8dee3;
}
.nav__list li {
    line-height: 2rem;
    font-size: 14px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    width: fit-content;
    margin-bottom: 10px;
    cursor: pointer;
}
.nav__list li:hover {
    font-weight: bold;
    color: #030f20;
}
.nav__list li::after {
    content: "";
    width: 0;
    display: block;
    height: 2px;
    background-color: #a5312d;
    transition: width 0.3 ease;
}
.nav__list li:hover::after {
    width: 100%;
}
.nav__list li.active {
    font-weight: bold;
    color: #030f20;
}
.nav__list li.active::after {
    content: "";
    width: 100%;
    display: block;
    height: 2px;
    background-color: #a5312d;
}
.nav__list li .break-word {
    display: none;
}
/* ======================== Carousel ======================== */
.swiper-product {
    padding: 10px;
}
.swiper-grid .left {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.swiper-grid .left img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.swiper-grid .right {
    background-color: white;
    padding: 20px 15px;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 350px;
}
.swiper-grid .right h4 {
    font-size: 22px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    color: #030f20;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin-bottom: 15px;
}
.swiper-grid .right p {
    font-size: 14px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    color: #808f9a;
    display: block;
}
.swiper-grid .right .inner-text {
    max-height: 300px;
    overflow-y: auto;
}
.swiper-slide {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.swiper-next,
.swiper-prev,
.frame-next,
.frame-prev {
    width: 40px;
    height: 40px;
    top: 43%;
}
.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    display: none;
}
.swiper-next::after,
.swiper-prev::after,
.frame-next::after,
.frame-prev::after {
    content: "";
    background-color: white !important;
    width: 40px;
    height: 40px;
    display: inline-block;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    background: url("../../../homepages/img/homepage/utilities/red-arr-right.png")
        no-repeat center center / 30%;
}
.swiper-prev::after,
.frame-prev::after {
    background: url("../../../homepages/img/homepage/utilities/red-arr-left.png")
        no-repeat center center / 30%;
}
.swiper-next,
.frame-next {
    right: 2px;
}
.swiper-prev,
.frame-prev {
    left: 2px;
}
.carousel-list {
    padding-left: 1rem;
}
.carousel-list li {
    font-size: 14px;
    font-family: "Kaisei Opti", "Times New Roman", Times, serif;
    color: #808f9a;
}
#ir-contact {
    display: none;
}
.framework_slide {
    max-width: 300px;
    margin: 0 auto;
}
.frame-next {
    top: 22%;
    right: 5px;
}
.frame-next:hover {
    opacity: 1;
}
.frame-prev {
    left: 5px;
    display: none;
}
.nav__list {
    display: none;
}
@media screen and (max-width: 320px) {
    .svg-wrap svg {
        margin-left: -20px;
    }
}
@media screen and (min-width: 500px) {
    .framework_slide {
        max-width: 420px;
        margin: 0 auto;
    }
}
@media screen and (min-width: 768px) {
    .esg-banner {
        background-image: url("../../img/kwi-ir/esg.png");
        height: 400px;
        padding-bottom: 0;
    }
    .wecare-card h3 {
        font-size: 30px;
    }
    .inner-box.visible-desk {
        display: block;
    }
    .inner-box.visible-mobile {
        display: none;
    }
    .wecare-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }
    .flexible-img {
        margin: 15px 0;
    }
    .wecare-wrap {
        padding: 40px 0;
    }
    .wecare-wrap h2,
    .framework-wrap h2,
    .framework-detail h3 {
        font-size: 40px;
        margin-bottom: 25px;
    }
    .framework-detail h3::after {
        width: 200px;
    }
    .framework_carousel {
        display: none;
    }
    .inner-wrap {
        height: 650px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .svg-content {
        position: absolute;
        max-width: 200px;
        display: block;
        cursor: pointer;
        opacity: 0;
    }
    .svg-content h3 {
        font-size: 25px;
    }
    .svg-content h3::before {
        content: "";
        width: 10px;
        height: 10px;
        background-color: #b32225;
        display: inline-block;
        margin-right: -10px;
        border-radius: 50%;
        visibility: hidden;
        transition: margin 0.3s ease;
    }
    .svg-content.active h3::before {
        margin-right: 10px;
        transition: margin 0.3s ease;
        visibility: visible;
    }
    .svg-content.active:hover h3::before {
        visibility: visible;
        margin-right: 10px;
    }
    .svg-content:hover p {
        color: #030f20;
    }
    .svg-content:nth-child(2) {
        top: 0;
        left: 50%;
        transform: translateX(-40%);
        max-width: 350px;
    }
    .svg-content:nth-child(3) {
        top: 25%;
        right: -40px;
    }
    .svg-content:nth-child(4) {
        bottom: 15%;
        right: 0;
    }
    .svg-content:nth-child(5) {
        bottom: 15%;
        left: 0;
    }
    .svg-content:last-child {
        top: 25%;
        left: 0;
    }
    .swiper-grid {
        display: flex;
        height: 320px;
    }
    .swiper-grid .left {
        width: 50%;
        border-top-right-radius: 0;
        border-top-left-radius: 15px;
    }
    .swiper-grid .right {
        width: 50%;
        height: 100%;
        border-bottom-left-radius: 0;
        border-top-right-radius: 15px;
        padding: 2rem;
    }
    .swiper-grid .left img {
        border-top-right-radius: 0;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        height: 100%;
        object-fit: cover;
    }
    .swiper-next, .swiper-prev {
        top: 55%;
    }
    .swiper-grid .right .inner-text {
        max-height: 250px;
    }
    /* Animation */
    .inner-box.visible-desk {
        opacity: 0;
        animation: fade-in 1s ease-in-out forwards;
    }
    @keyframes fade-in {
        0% {
            opacity: 0;
            transform: translateY(-30%);
        }
        100% {
            opacity: 1;
            transform: translateY(-50%);
        }
    }
}

@media screen and (min-width: 1024px) {
    .esg-banner {
        height: 450px;
    }
    .inner-box {
        padding: 1.5rem;
    }
    .inner-box h1 {
        font-size: 40px;
    }
    .wecare-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .nav__list {
        display: flex;
        justify-content: space-between;
        margin-bottom: 30px;
    }
    .nav__list li {
        margin-right: 20px;
        text-align: center;
        line-height: 1.5rem;
        font-size: 12px;
        margin-bottom: 0;
    }
    .nav__list li.active::after,
    .nav__list li:hover::after  {
        margin-top: 5px;
    }
    .nav__list li:last-child {
        margin-right: 0;
    }
    .nav__list li .break-word {
        display: block;
    }
    .inner-wrap {
        max-width: 700px;
        margin: 0 auto;
    }
    .swiper-grid .right {
        padding: 2.5rem;
    }

}

@media screen and (min-width: 1200px) {
    .wecare-wrap,
    .framework-detail,
    .carousel-wrap nav,
    .swiper-grid {
        max-width: 1000px;
        margin: 0 auto;
    }
    .swiper-next {
        right: 40px;
    }
    .swiper-prev {
        left: 40px;
    }
    .swiper-grid {
        height: 400px;
    }
    .swiper-grid .right .inner-text {
        max-height: 310px;
    }
    .framework-detail {
        padding: 2.2rem 3rem;
    }
    .inner-box.visible-desk{
        max-width: 550px;
        padding: 2rem;
    }
}

@media screen and (min-width: 1400px) {
    .esg-banner {
        height: 550px;
    }
    .inner-box.visible-desk {
        padding: 2.8rem;
        max-width: 650px;
    }
    .swiper-next {
        right: 130px;
    }
    .swiper-prev {
        left: 130px;
    }
}
@media screen and (min-width: 1600px) {
    .esg-banner {
        height: 600px;
    }
}
