* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    background-color: #f0f0f0;
}

/* Custom colors for cards */
.bg-custom-orange {
    background-color: #ff6b00;
}

.bg-custom-blue {
    background-color: #00a3e0;
}

.bg-custom-pink {
    background-color: #ff3e96;
}

/* Nav styles for mobile */
.nav-links {
    transition: all 0.3s ease-in-out;
}

.nav-links.active {
    display: flex;
    position: absolute;
    top: 60px;
    right: 16px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    z-index: 10;
}

/* Hamburger and Cross Icon Styles */
.hamburger-icon {
    position: relative;
    width: 40px;
    height: 24px;
}

.hamburger-icon.active .hamburger-line {
    opacity: 0;
}

.hamburger-icon.active .cross-line {
    display: block;
}

header {
    height: auto;
    overflow: hidden;
}

.back-letter {
    position: absolute;
    width: 100vw;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: -1;
}

.ticker {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ticker__track {
    display: flex;
    animation: ticker 20s linear infinite;
}

.ticker__content {
    display: inline-block;
    font-size: 12rem;
    font-weight: bold;
    color: white;
    white-space: nowrap;
    padding-right: 5rem;
    /* Adjust the space between the two blocks */
}

@keyframes ticker {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.three-cards {
    position: relative;
    z-index: 1;
}

/* Ensure cards are tightly packed and centered in flex layout */
.three-cards .flex {
    justify-content: center;
    /* Center the cards horizontally */
    align-items: center;
    /* Align cards vertically */
}

/*Elephant Section*/

.el-elephants-img {
    position: absolute;
    top: 280px;
    left: -125px;
    max-width: 50vw;
    width: 100%;
    height: auto;
    z-index: -1;
}

/* Elephant Background Text */
.el-background-text {
}

.el-three-circles {
    gap: 1rem;
}

.blue-green-circle {
    gap: 1rem;
}

/**
 * Gallery Section Styles
 */
.photo-gallery-wrapper {
    margin-top: 6rem;
}

.photo-gallery-wrapper .gallery-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    background-color: white;
    max-width: 110%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1rem 1rem 0 0;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.3), 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.photo-gallery-wrapper .gallery-nav-item {
    padding: 1rem 1rem 0.5rem 1rem;
    cursor: pointer;
    font-weight: 500;
    color: #9ca3af;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    width: 30vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-gallery-wrapper .gallery-nav-item img {
    height: 100%;
    width: auto;
}

.photo-gallery-wrapper .gallery-nav-item:hover {
    color: #374151;
}

.photo-gallery-wrapper .gallery-nav-item.active {
    color: #10b981;
    border-bottom-color: #10b981;
}

.photo-gallery-wrapper .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 31%);
    gap: 3rem;
    align-items: start;
    justify-content: space-between;
}

.photo-gallery-wrapper .grid-col {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    overflow: hidden;
}

.photo-gallery-wrapper .model-card {
    position: relative;
    max-width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.photo-gallery-wrapper .model-card.flex-1 {
    flex: 0 1 auto;
    min-height: 0;
}

.photo-gallery-wrapper .model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.photo-gallery-wrapper .model-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.photo-gallery-wrapper .model-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 1rem;
}

.photo-gallery-wrapper .model-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.photo-gallery-wrapper .model-subtitle {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.view-more-btn {
    background: #000;
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 4rem auto;
    width: 300px;
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
}

.view-more-btn:hover {
    background: #374151;
}

.view-more-btn:hover img {
    transform: translateY(2px);
    transition: transform 0.3s ease;
}

.view-more-btn img {
    position: absolute;
    right: 40px;
    width: 24px;
    height: 24px;
}

.view-more-btn1 {
    background: #000;
    color: white;
    border: none;
    padding: 2rem 2rem;
    border-radius: 5rem;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 3rem auto;
    width: 500px;
    display: flex;
    justify-content: center;
    text-align: center;
    position: relative;
}

.view-more-btn1:hover {
    background: #374151;
}

.view-more-btn1:hover img {
    transition: transform 0.3s ease;
}

.view-more-btn1 img {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}

/* Tab Content */
.photo-gallery-wrapper .tab-content {
    display: none;
}

.photo-gallery-wrapper .tab-content.active {
    display: block;
}

/* Photo Background Text */
.photo-background-text {
    position: absolute;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .photo-gallery-wrapper .gallery-nav {
        margin-bottom: 1.5rem;
    }

    .photo-gallery-wrapper .gallery-nav-item {
        padding: 0.75rem;
        font-size: 0.875rem;
        height: 70px;
    }

    .photo-gallery-wrapper .gallery-nav-item img {
        width: 100%;
        height: auto !important;
    }

    .photo-gallery-wrapper .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 0.75rem;
    }

    .photo-gallery-wrapper .grid-col {
        height: auto;
        gap: 2rem;
    }

    .photo-gallery-wrapper .model-card {
        /* height: 150px !important; */
    }

    .photo-gallery-wrapper .model-card.flex-1 {
        /* height: 200px !important; */
    }

    .photo-gallery-wrapper .grid-col:nth-child(3) {
        display: none;
    }

    .photo-gallery-wrapper .model-card-overlay {
        padding: 0.75rem;
    }

    .photo-gallery-wrapper .model-name {
        font-size: 0.8rem;
    }

    .photo-gallery-wrapper .model-subtitle {
        font-size: 0.7rem;
    }

    .photo-gallery-wrapper .view-more-btn {
        padding: 1.5rem 1.5rem;
        font-size: 1rem;
    }

    .photo-background-text {
        top: 31.625rem;
    }
}

@media (max-width: 480px) {
    .photo-gallery-wrapper {
        margin-top: -1.7rem;
    }

    .gallery-nav-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .gallery-grid {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
}

/*@media (max-width: 767px) {*/
/*    .el-three-circles {*/
/*        gap: 0 !important;*/
/*    }*/

/*    .blue-green-circle {*/
/*        gap: 0.75rem !important;*/
/*    }*/

/* Responsive adjustments */
@media (max-width: 640px) {
    .jp-text {
        font-size: 0.875rem;
    }

    .jp-heading {
        font-size: 1.5rem;
    }

    .slider {
        height: 200px;
    }

    .full-width-background-text {
        font-size: 3rem;
        height: 3rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5), -1px -1px 2px rgba(0, 0, 0, 0.5);
    }

    .background-text {
        font-size: 3rem;
        top: 170px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5), -1px -1px 2px rgba(0, 0, 0, 0.5);
    }

    .three-cards .container {
        /* padding-left: 0.5rem;
    padding-right: 0.5rem; */
    }

    /*Elephant Section*/
    .el-elephants-img {
        position: absolute;
        max-width: 100%;
        left: 15px;
        top: 400px;
    }

    .elephant-section-wrapper {
        padding-top: 1.6rem !important;
    }

    .el-background-text {
        top: -3.2rem;
        left: -1.5rem;
        font-size: 5rem;
    }

    .el-circle-wrapper {
        margin-top: 1.25rem !important;
    }

    .el-three-circles {
        flex-direction: column;
        align-items: center;
    }

    .blue-green-circle {
        flex-direction: row;
    }

    .el-circle {
        height: 42vw !important;
        width: 42vw !important;
    }

    .el-circle-title {
        margin: 1.6rem 0.4rem 0 0.4rem !important;
        padding: 5px 10px !important;
        font-size: 1rem !important;
        line-height: calc(1 / 0.75) !important;
    }

    .text-5xl {
        font-size: 2.5rem !important;
    }

    .text-6xl {
        font-size: 2.6rem !important;
    }

    .el-title {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .el-title h3 {
        text-align: justify;
        letter-spacing: 0.1rem;
        font-size: 14vw;
        margin-bottom: 1rem;
        padding-left: 10px;
        white-space: nowrap;
    }

    .el-title p {
        text-align: left;
        font-size: 1.1rem;
        font-weight: 700;
        padding-left: 10px;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .slider {
        height: 300px;
    }

    .full-width-background-text {
        font-size: 4.5rem;
        height: 4.5rem;
        text-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.5), -1.5px -1.5px 3px rgba(0, 0, 0, 0.5);
    }

    .background-text {
        font-size: 4.5rem;
        top: 260px;
        text-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.5), -1.5px -1.5px 3px rgba(0, 0, 0, 0.5);
    }

    .el-three-circles {
        flex-direction: row;
        gap: 3rem;
    }

    .blue-green-circle {
        flex-direction: row;
        gap: 1rem;
    }
}

/*}*/

.gallery-cell {
    width: 66%;
    padding: 0px 30px;
}

/* cell number */
.gallery-cell:before {
    display: block;
    text-align: center;
    font-size: 80px;
    color: white;
}

.flickity-page-dots {
    bottom: -58px !important;
}

.flickity-page-dots .dot {
    background: #3333337d !important;
    width: 15px !important;
    height: 15px !important;
}

.img-pc {
    display: block;
}

.img-sp {
    display: none;
}

/* スマホサイズの場合 */
@media screen and (max-width: 768px) {
    .img-pc {
        display: none;
    }

    .img-sp {
        display: block;
    }

    .gap-1-sp {
        gap: 1vw;
    }

    .gap-2-sp {
        gap: 2vw;
    }

    .gap-3-sp {
        gap: 3vw;
    }

    .gap-4-sp {
        gap: 4vw;
    }

    .gap-5-sp {
        gap: 5vw;
    }

    .gap-6-sp {
        gap: 6vw;
    }

    .gap-7-sp {
        gap: 7vw;
    }

    .gap-8-sp {
        gap: 8vw;
    }

    .gap-9-sp {
        gap: 9vw;
    }

    .gap-10-sp {
        gap: 10vw;
    }

    .item-center-sp {
        display: flex;
        align-items: center !important;
        text-align: left !important;
    }

    .item-left-sp {
        display: flex;
        align-items: left !important;
        text-align: left !important;
    }

    .item-right-sp {
        display: flex;
        align-items: right !important;
        text-align: left !important;
    }

    .gallery-cell {
        width: 100%;
        padding: 0px 10px;
    }

    .w-98-sp {
        width: 98% !important;
    }

    .flex1 {
        flex-basis: 1%;
    }

    .flex2 {
        flex-basis: 2%;
    }

    .flex3 {
        flex-basis: 3%;
    }

    .flex4 {
        flex-basis: 4%;
    }

    .flex5 {
        flex-basis: 5%;
    }

    .flex6 {
        flex-basis: 6%;
    }

    .flex7 {
        flex-basis: 7%;
    }

    .flex8 {
        flex-basis: 8%;
    }

    .flex9 {
        flex-basis: 9%;
    }

    .flex10 {
        flex-basis: 10%;
    }

    .flex11 {
        flex-basis: 11%;
    }

    .flex12 {
        flex-basis: 12%;
    }

    .flex13 {
        flex-basis: 13%;
    }

    .flex14 {
        flex-basis: 14%;
    }

    .flex15 {
        flex-basis: 15%;
    }

    .flex16 {
        flex-basis: 16%;
    }

    .flex17 {
        flex-basis: 17%;
    }

    .flex18 {
        flex-basis: 18%;
    }

    .flex19 {
        flex-basis: 19%;
    }

    .flex20 {
        flex-basis: 20%;
    }

    .flex21 {
        flex-basis: 21%;
    }

    .flex22 {
        flex-basis: 22%;
    }

    .flex23 {
        flex-basis: 23%;
    }

    .flex24 {
        flex-basis: 24%;
    }

    .flex25 {
        flex-basis: 25%;
    }

    .flex26 {
        flex-basis: 26%;
    }

    .flex27 {
        flex-basis: 27%;
    }

    .flex28 {
        flex-basis: 28%;
    }

    .flex29 {
        flex-basis: 29%;
    }

    .flex30 {
        flex-basis: 30%;
    }

    .flex31 {
        flex-basis: 31%;
    }

    .flex32 {
        flex-basis: 32%;
    }

    .flex33 {
        flex-basis: 33%;
    }

    .flex34 {
        flex-basis: 34%;
    }

    .flex35 {
        flex-basis: 35%;
    }

    .flex36 {
        flex-basis: 36%;
    }

    .flex37 {
        flex-basis: 37%;
    }

    .flex38 {
        flex-basis: 38%;
    }

    .flex39 {
        flex-basis: 39%;
    }

    .flex40 {
        flex-basis: 40%;
    }

    .flex41 {
        flex-basis: 41%;
    }

    .flex42 {
        flex-basis: 42%;
    }

    .flex43 {
        flex-basis: 43%;
    }

    .flex44 {
        flex-basis: 44%;
    }

    .flex45 {
        flex-basis: 45%;
    }

    .flex46 {
        flex-basis: 46%;
    }

    .flex47 {
        flex-basis: 47%;
    }

    .flex48 {
        flex-basis: 48%;
    }

    .flex49 {
        flex-basis: 49%;
    }

    .flex50 {
        flex-basis: 50%;
    }

    .flex51 {
        flex-basis: 51%;
    }

    .flex52 {
        flex-basis: 52%;
    }

    .flex53 {
        flex-basis: 53%;
    }

    .flex54 {
        flex-basis: 54%;
    }

    .flex55 {
        flex-basis: 55%;
    }

    .flex56 {
        flex-basis: 56%;
    }

    .flex57 {
        flex-basis: 57%;
    }

    .flex58 {
        flex-basis: 58%;
    }

    .flex59 {
        flex-basis: 59%;
    }

    .flex60 {
        flex-basis: 60%;
    }

    .flex61 {
        flex-basis: 61%;
    }

    .flex62 {
        flex-basis: 62%;
    }

    .flex63 {
        flex-basis: 63%;
    }

    .flex64 {
        flex-basis: 64%;
    }

    .flex65 {
        flex-basis: 65%;
    }

    .flex66 {
        flex-basis: 66%;
    }

    .flex67 {
        flex-basis: 67%;
    }

    .flex68 {
        flex-basis: 68%;
    }

    .flex69 {
        flex-basis: 69%;
    }

    .flex70 {
        flex-basis: 70%;
    }

    .flex71 {
        flex-basis: 71%;
    }

    .flex72 {
        flex-basis: 72%;
    }

    .flex73 {
        flex-basis: 73%;
    }

    .flex74 {
        flex-basis: 74%;
    }

    .flex75 {
        flex-basis: 75%;
    }

    .flex76 {
        flex-basis: 76%;
    }

    .flex77 {
        flex-basis: 77%;
    }

    .flex78 {
        flex-basis: 78%;
    }

    .flex79 {
        flex-basis: 79%;
    }

    .flex80 {
        flex-basis: 80%;
    }

    .flex81 {
        flex-basis: 81%;
    }

    .flex82 {
        flex-basis: 82%;
    }

    .flex83 {
        flex-basis: 83%;
    }

    .flex84 {
        flex-basis: 84%;
    }

    .flex85 {
        flex-basis: 85%;
    }

    .flex86 {
        flex-basis: 86%;
    }

    .flex87 {
        flex-basis: 87%;
    }

    .flex88 {
        flex-basis: 88%;
    }

    .flex89 {
        flex-basis: 89%;
    }

    .flex90 {
        flex-basis: 90%;
    }

    .flex91 {
        flex-basis: 91%;
    }

    .flex92 {
        flex-basis: 92%;
    }

    .flex93 {
        flex-basis: 93%;
    }

    .flex94 {
        flex-basis: 94%;
    }

    .flex95 {
        flex-basis: 95%;
    }

    .flex96 {
        flex-basis: 96%;
    }

    .flex97 {
        flex-basis: 97%;
    }

    .flex98 {
        flex-basis: 98%;
    }

    .flex99 {
        flex-basis: 99%;
    }

    .flex100 {
        flex-basis: 100%;
    }

    /* PC/SP共通 幅パーセント指定 */
    /*  ------------------------------------------------------------ */

    .per100 {
        width: 100% !important;
    }

    .per95 {
        width: 95% !important;
    }

    .per90 {
        width: 90% !important;
    }

    .per85 {
        width: 85% !important;
    }

    .per80 {
        width: 80% !important;
    }

    .per75 {
        width: 75% !important;
    }

    .per70 {
        width: 70% !important;
    }

    .per65 {
        width: 65% !important;
    }

    .per60 {
        width: 60% !important;
    }

    .per55 {
        width: 55% !important;
    }

    .per50 {
        width: 50% !important;
    }

    .per48 {
        width: 48% !important;
    }

    .per45 {
        width: 45% !important;
    }

    .per40 {
        width: 40% !important;
    }

    .per35 {
        width: 35% !important;
    }

    .per30 {
        width: 30% !important;
    }

    .per25 {
        width: 25% !important;
    }

    .per20 {
        width: 20% !important;
    }

    .per15 {
        width: 15% !important;
    }

    .per10 {
        width: 10% !important;
    }

    /*  ------------------------------------------------------------ */

    /*マージン*/

    /*  ------------------------------------------------------------ */
    .m-mt1 {
        margin-top: -1rem !important;
    }

    .m-mt2 {
        margin-top: -2rem !important;
    }

    .m-mt3 {
        margin-top: -3rem !important;
    }

    .m-mt4 {
        margin-top: -4rem !important;
    }

    .m-mt5 {
        margin-top: -5rem !important;
    }

    .m-mt6 {
        margin-top: -6rem !important;
    }

    .m-mt7 {
        margin-top: -7rem !important;
    }

    .m-mt8 {
        margin-top: -8rem !important;
    }

    .m-mt9 {
        margin-top: -9rem !important;
    }

    .m-mt10 {
        margin-top: -10rem !important;
    }

    .mb0 {
        margin-bottom: 0 !important;
    }

    .mb03 {
        margin-bottom: 0.3rem !important;
    }

    .mb05 {
        margin-bottom: 0.5rem !important;
    }

    .mb10 {
        margin-bottom: 1rem !important;
    }

    .mb15 {
        margin-bottom: 1.5rem !important;
    }

    .mb20 {
        margin-bottom: 2rem !important;
    }

    .mb25 {
        margin-bottom: 2.5rem !important;
    }

    .mb30 {
        margin-bottom: 3rem !important;
    }

    .mb35 {
        margin-bottom: 3.5rem !important;
    }

    .mb40 {
        margin-bottom: 4rem !important;
    }

    .mb45 {
        margin-bottom: 4.5rem !important;
    }

    .mb50 {
        margin-bottom: 5rem !important;
    }

    .mb55 {
        margin-bottom: 5.5rem !important;
    }

    .mb60 {
        margin-bottom: 6rem !important;
    }

    .mb65 {
        margin-bottom: 6.5rem !important;
    }

    .mb70 {
        margin-bottom: 7rem !important;
    }

    .mb75 {
        margin-bottom: 7.5rem !important;
    }

    .mb80 {
        margin-bottom: 8rem !important;
    }

    .mb85 {
        margin-bottom: 8.5rem !important;
    }

    .mb90 {
        margin-bottom: 9rem !important;
    }

    .mb95 {
        margin-bottom: 9.5rem !important;
    }

    .mb100 {
        margin-bottom: 10rem !important;
    }

    .mb105 {
        margin-bottom: 10.5rem !important;
    }

    .mb200 {
        margin-bottom: 20rem !important;
    }

    .mb300 {
        margin-bottom: 30rem !important;
    }

    .mt0 {
        margin-top: 0 !important;
    }

    .mt05 {
        margin-top: 0.5rem !important;
    }

    .mt10 {
        margin-top: 1rem !important;
    }

    .mt15 {
        margin-top: 1.5rem !important;
    }

    .mt20 {
        margin-top: 2rem !important;
    }

    .mt25 {
        margin-top: 2.5rem !important;
    }

    .mt30 {
        margin-top: 3rem !important;
    }

    .mt35 {
        margin-top: 3.5rem !important;
    }

    .mt40 {
        margin-top: 4rem !important;
    }

    .mt45 {
        margin-top: 4.5rem !important;
    }

    .mt50 {
        margin-top: 5rem !important;
    }

    .mt55 {
        margin-top: 5.5rem !important;
    }

    .mt60 {
        margin-top: 6rem !important;
    }

    .mt65 {
        margin-top: 6.5rem !important;
    }

    .mt70 {
        margin-top: 7rem !important;
    }

    .mt75 {
        margin-top: 7.5rem !important;
    }

    .mt80 {
        margin-top: 8rem !important;
    }

    .mt85 {
        margin-top: 8.5rem !important;
    }

    .mt90 {
        margin-top: 9rem !important;
    }

    .mt95 {
        margin-top: 9.5rem !important;
    }

    .mt100 {
        margin-top: 10rem !important;
    }

    .mt105 {
        margin-top: 10.5rem !important;
    }

    .mt200 {
        margin-top: 20rem !important;
    }

    .mt300 {
        margin-top: 30rem !important;
    }

    .mr0 {
        margin-right: 0 !important;
    }

    .mr05 {
        margin-right: 0.5rem !important;
    }

    .mr10 {
        margin-right: 1rem !important;
    }

    .mr15 {
        margin-right: 1.5rem !important;
    }

    .mr20 {
        margin-right: 2rem !important;
    }

    .mr25 {
        margin-right: 2.5rem !important;
    }

    .mr30 {
        margin-right: 3rem !important;
    }

    .mr35 {
        margin-right: 3.5rem !important;
    }

    .mr40 {
        margin-right: 4rem !important;
    }

    .mr45 {
        margin-right: 4.5rem !important;
    }

    .mr50 {
        margin-right: 5rem !important;
    }

    .mr60 {
        margin-right: 6rem !important;
    }

    .mr70 {
        margin-right: 7rem !important;
    }

    .mr80 {
        margin-right: 8rem !important;
    }

    .mr90 {
        margin-right: 9rem !important;
    }

    .ml0 {
        margin-left: 0 !important;
    }

    .ml05 {
        margin-left: 0.5rem !important;
    }

    .ml10 {
        margin-left: 1rem !important;
    }

    .ml15 {
        margin-left: 1.5rem !important;
    }

    .ml20 {
        margin-left: 2rem !important;
    }

    .ml25 {
        margin-left: 2.5rem !important;
    }

    .ml30 {
        margin-left: 3rem !important;
    }

    .ml35 {
        margin-left: 3.5rem !important;
    }

    .ml40 {
        margin-left: 4rem !important;
    }

    .ml45 {
        margin-left: 4.5rem !important;
    }

    .ml50 {
        margin-left: 5rem !important;
    }

    .ml60 {
        margin-left: 6rem !important;
    }

    .ml70 {
        margin-left: 7rem !important;
    }

    .ml80 {
        margin-left: 8rem !important;
    }

    .ml90 {
        margin-left: 9rem !important;
    }

    /* ============================== */

    .p0 {
        padding: 0vw !important;
    }

    .p1 {
        padding: 1vw !important;
    }

    .p2 {
        padding: 2vw !important;
    }

    .p3 {
        padding: 3vw !important;
    }

    .p4 {
        padding: 4vw !important;
    }

    .p5 {
        padding: 5vw !important;
    }

    .p6 {
        padding: 6vw !important;
    }

    .p7 {
        padding: 7vw !important;
    }

    .p8 {
        padding: 8vw !important;
    }

    .p9 {
        padding: 9vw !important;
    }

    .pb0 {
        padding-bottom: 0 !important;
    }

    .pb03 {
        padding-bottom: 0.3rem !important;
    }

    .pb05 {
        padding-bottom: 0.5rem !important;
    }

    .pb10 {
        padding-bottom: 1rem !important;
    }

    .pb15 {
        padding-bottom: 1.5rem !important;
    }

    .pb20 {
        padding-bottom: 2rem !important;
    }

    .pb25 {
        padding-bottom: 2.5rem !important;
    }

    .pb30 {
        padding-bottom: 3rem !important;
    }

    .pb35 {
        padding-bottom: 3.5rem !important;
    }

    .pb40 {
        padding-bottom: 4rem !important;
    }

    .pb45 {
        padding-bottom: 4.5rem !important;
    }

    .pb50 {
        padding-bottom: 5rem !important;
    }

    .pb55 {
        padding-bottom: 5.5rem !important;
    }

    .pb60 {
        padding-bottom: 6rem !important;
    }

    .pb65 {
        padding-bottom: 6.5rem !important;
    }

    .pb70 {
        padding-bottom: 7rem !important;
    }

    .pb75 {
        padding-bottom: 7.5rem !important;
    }

    .pb80 {
        padding-bottom: 8rem !important;
    }

    .pb85 {
        padding-bottom: 8.5rem !important;
    }

    .pb90 {
        padding-bottom: 9rem !important;
    }

    .pb95 {
        padding-bottom: 9.5rem !important;
    }

    .pb100 {
        padding-bottom: 10rem !important;
    }

    .pb105 {
        padding-bottom: 10.5rem !important;
    }

    .pb200 {
        padding-bottom: 20rem !important;
    }

    .pb300 {
        padding-bottom: 30rem !important;
    }

    .pt0 {
        padding-top: 0 !important;
    }

    .pt05 {
        padding-top: 0.5rem !important;
    }

    .pt10 {
        padding-top: 1rem !important;
    }

    .pt15 {
        padding-top: 1.5rem !important;
    }

    .pt20 {
        padding-top: 2rem !important;
    }

    .pt25 {
        padding-top: 2.5rem !important;
    }

    .pt30 {
        padding-top: 3rem !important;
    }

    .pt35 {
        padding-top: 3.5rem !important;
    }

    .pt40 {
        padding-top: 4rem !important;
    }

    .pt45 {
        padding-top: 4.5rem !important;
    }

    .pt50 {
        padding-top: 5rem !important;
    }

    .pt55 {
        padding-top: 5.5rem !important;
    }

    .pt60 {
        padding-top: 6rem !important;
    }

    .pt65 {
        padding-top: 6.5rem !important;
    }

    .pt70 {
        padding-top: 7rem !important;
    }

    .pt75 {
        padding-top: 7.5rem !important;
    }

    .pt80 {
        padding-top: 8rem !important;
    }

    .pt85 {
        padding-top: 8.5rem !important;
    }

    .pt90 {
        padding-top: 9rem !important;
    }

    .pt95 {
        padding-top: 9.5rem !important;
    }

    .pt100 {
        padding-top: 10rem !important;
    }

    .pt105 {
        padding-top: 10.5rem !important;
    }

    .pt200 {
        padding-top: 20rem !important;
    }

    .pt300 {
        padding-top: 30rem !important;
    }

    .pr0 {
        padding-right: 0 !important;
    }

    .pr05 {
        padding-right: 0.5rem !important;
    }

    .pr10 {
        padding-right: 1rem !important;
    }

    .pr15 {
        padding-right: 1.5rem !important;
    }

    .pr20 {
        padding-right: 2rem !important;
    }

    .pr25 {
        padding-right: 2.5rem !important;
    }

    .pr30 {
        padding-right: 3rem !important;
    }

    .pr35 {
        padding-right: 3.5rem !important;
    }

    .pr40 {
        padding-right: 4rem !important;
    }

    .pr45 {
        padding-right: 4.5rem !important;
    }

    .pr50 {
        padding-right: 5rem !important;
    }

    .pr60 {
        padding-right: 6rem !important;
    }

    .pr70 {
        padding-right: 7rem !important;
    }

    .pr80 {
        padding-right: 8rem !important;
    }

    .pr90 {
        padding-right: 9rem !important;
    }

    .pl0 {
        padding-left: 0 !important;
    }

    .pl05 {
        padding-left: 0.5rem !important;
    }

    .pl10 {
        padding-left: 1rem !important;
    }

    .pl15 {
        padding-left: 1.5rem !important;
    }

    .pl20 {
        padding-left: 2rem !important;
    }

    .pl25 {
        padding-left: 2.5rem !important;
    }

    .pl30 {
        padding-left: 3rem !important;
    }

    .pl35 {
        padding-left: 3.5rem !important;
    }

    .pl40 {
        padding-left: 4rem !important;
    }

    .pl45 {
        padding-left: 4.5rem !important;
    }

    .pl50 {
        padding-left: 5rem !important;
    }

    .pl60 {
        padding-left: 6rem !important;
    }

    .pl70 {
        padding-left: 7rem !important;
    }

    .pl80 {
        padding-left: 8rem !important;
    }

    .pl90 {
        padding-left: 9rem !important;
    }

    /*  ------------------------------------------------------------ */

    /*フォントサイズ*/

    /*  ------------------------------------------------------------ */

    /*100,300,400,500,700,900*/

    .strong300 {
        font-weight: 300;
    }

    .strong400 {
        font-weight: 400;
    }

    .strong500 {
        font-weight: 500;
    }

    .strong700 {
        font-weight: 700;
    }

    .mac .strong300 {
        font-weight: 100;
    }

    .mac .strong400 {
        font-weight: 300;
    }

    .mac .strong500 {
        font-weight: 400;
    }

    .mac .strong700 {
        font-weight: 500;
    }

    .txt08 {
        font-size: 0.8rem !important;
    }

    .txt085 {
        font-size: 0.85rem !important;
    }

    .txt095 {
        font-size: 0.95rem !important;
    }

    .txt09 {
        font-size: 0.9rem !important;
    }

    .txt10 {
        font-size: 1rem !important;
    }

    .txt11 {
        font-size: 1.1rem !important;
    }

    .txt12 {
        font-size: 1.2rem !important;
    }

    .txt13 {
        font-size: 1.3rem !important;
    }

    .txt14 {
        font-size: 1.4rem !important;
    }

    .txt15 {
        font-size: 1.5rem !important;
    }

    .txt16 {
        font-size: 1.6rem !important;
    }

    .txt17 {
        font-size: 1.7rem !important;
    }

    .txt18 {
        font-size: 1.8rem !important;
    }

    .txt19 {
        font-size: 1.9rem !important;
    }

    .txt20 {
        font-size: 2rem !important;
    }

    .txt21 {
        font-size: 2.1rem !important;
    }

    .txt22 {
        font-size: 2.2rem !important;
    }

    .txt23 {
        font-size: 2.3rem !important;
    }

    .txt24 {
        font-size: 2.4rem !important;
    }

    .txt25 {
        font-size: 2.5rem !important;
    }

    .txt26 {
        font-size: 2.6rem !important;
    }

    .txt27 {
        font-size: 2.7rem !important;
    }

    .txt28 {
        font-size: 2.8rem !important;
    }

    .txt29 {
        font-size: 2.9rem !important;
    }

    .txt30 {
        font-size: 3rem !important;
    }

    /*  ------------------------------------------------------------ */

    /*　行高さ　*/

    /*  ------------------------------------------------------------ */

    .lineheight10 {
        line-height: 1 !important;
    }

    .lineheight11 {
        line-height: 1.1 !important;
    }

    .lineheight12 {
        line-height: 1.2 !important;
    }

    .lineheight13 {
        line-height: 1.3 !important;
    }

    .lineheight14 {
        line-height: 1.4 !important;
    }

    .lineheight15 {
        line-height: 1.5 !important;
    }

    .lineheight16 {
        line-height: 1.6 !important;
    }

    .lineheight17 {
        line-height: 1.7 !important;
    }

    .lineheight18 {
        line-height: 1.8 !important;
    }

    .lineheight19 {
        line-height: 1.9 !important;
    }

    .lineheight20 {
        line-height: 2 !important;
    }

    .container {
        width: 96% !important;
        place-self: center;
    }

    .flex-column {
        flex-direction: column;
    }

    .view-more-btn1 {
        background: #000;
        color: white;
        border: none;
        padding: 6vw 1vw;
        border-radius: 5rem;
        font-size: 4vw;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.3s ease;
        margin: 2rem auto;
        width: 94vw;
        display: flex;
        justify-content: center;
        text-align: center;
        position: relative;
    }

    .sp-slide {
        width: 100%;
        display: flex !important;
        overflow-x: auto;
        white-space: nowrap;
    }

    .sp-slide > * {
        flex: 0 0 auto;
        /* Prevent shrinking, allow items to keep their width */
        /* Optionally add margin to create spacing between items */
    }

    .width-110px-sp {
        width: 110px !important;
    }

    .width-8rem-sp {
        width: 8rem !important;
    }

    .height-8rem-sp {
        height: 8rem !important;
    }
}

.box-2 {
    background-image: url("/assets/box-2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.box-3 {
    background-image: url("/assets/box-3.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.justify-between-i {
    justify-content: space-between !important;
}

.register_btn::after {
    content: "";
    position: absolute;
    background: url("../assets/right-arrow.png") no-repeat center center;
    background-size: contain;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    /* Set width */
    height: 36px;
    transition: box-shadow 0.3s ease;
    z-index: 1;
}

.tik-content .lineheight15 br {
}

.animal-features-wrapper {
    margin-top: -6rem;
}

.animal-feature-container {
    min-height: 600px;
}

.ani-tiger-cat {
    z-index: -1;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .animal-feature-container {
        max-width: 100vw !important;
    }

    .animal-feature-container {
        z-index: -2;
    }

    .animal-features-wrapper {
        padding: 1rem;
    }

    .stream-element-3 {
        margin-top: 0 !important;
        padding-left: 3rem !important;
    }
}

@media (min-width: 768px) and (max-width: 1534px) {
    .stream-element-3 {
        margin-top: -10rem !important;
        padding-left: 3rem !important;
    }
}

@media (max-width: 767px) {
    .stream-element-img-com {
        width: 300px;
    }

    .register_btn {
        width: 94vw !important;
        font-size: 4vw !important;
        padding: 6vw 1vw !important;
    }

    .register_btn::after {
        content: "";
        position: absolute;
        background: url("../assets/right-arrow.png") no-repeat center center;
        background-size: contain;
        right: 40px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px !important;
        /* Set width */
        height: 28px !important;
        transition: box-shadow 0.3s ease;
        z-index: 1;
    }

    .flex-column-sp {
        flex-direction: column !important;
    }
}

.animal-feature-container {
    z-index: -2;
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .animal-feature-container {
        max-width: 100vw !important;
    }

    .animal-features-wrapper {
        padding: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1280px) {
    .stream-element-3 {
        margin-top: 0rem !important;
        padding-left: 3rem !important;
    }
}

.ani-title {
    position: relative;
    width: 100%;
    padding: 20px;
    min-height: 80px;
    align-items: center;
}

.ani-title-text {
    position: absolute;
    left: 100px;
    top: 150px;
    transform: translateY(-50%);
    font-size: 5rem;
    font-weight: 1000;
    width: 100%;
}

.ani-bottom-text {
    color: #38b446;
}

.ani-tiger-cat {
    position: absolute;
    right: 0px;
    top: 200px;
    transform: translateY(-50%);
}

.ani-streamer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 260px auto 0;
    padding: 1rem;
}

.ani-streamer2 {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: -1rem 0 0 -0.8rem;
    padding: 1rem 1rem 1rem 0;
}

.stream-element {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.stream-element2 {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.ani-streamer {
    flex-direction: row;
}

.stream-element-1,
.stream-element-2,
.stream-element-3 {
    flex: 1 1 50%;
    max-width: calc(50% - 0.5rem);
    display: flex;
}

.stream-element-12,
.stream-element-21 {
    flex: 1 1 50%;
    max-width: calc(50% - 0.5rem);
    display: flex;
}

.stream-element-2 {
    order: 2;
    padding-left: 3.125rem;
}

.stream-element-21 {
    order: 1;
    padding-left: 3.125rem;
}

.stream-element-1,
.stream-element-3 {
    height: 100%;
    padding-left: 3.125rem;
}

.stream-element-12 {
    height: 100%;
    padding-left: 3.125rem;
}

.stream-element-1 {
    order: 1;
    margin-top: 4rem;
}

.stream-element-12 {
    order: 2;
    margin-top: 8rem;
}

.stream-element-3 {
    order: 3;
    padding: 0;
    align-items: center;
    margin-top: -14rem;
    justify-content: flex-start;
}

.stream-element-desc-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.stream-element-desc-title2 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.stream-element-desc-1 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 2.5;
}

.stream-element-3 .flex {
    margin: 0;
    padding: 0;
}

.stream-element-3 a {
    margin: 0;
    padding: 2rem !important;
    position: relative;
    width: 500px;
    display: flex;
    justify-content: center;
}

.stream-element-3 a img {
    position: absolute;
    right: 40px;
}

/*Community*/
.ani-streamer2-com {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: -1rem 0 0 -0.8rem;
    padding: 1rem 1rem 1rem 0;
}

.stream-element2-com {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.stream-element-12-com {
    flex: 1 1 50%;
    max-width: calc(50% - 0.5rem);
    display: flex;
    height: 100%;
    padding-left: 3.125rem;
    order: 1;
    margin-top: 4rem;
}

.stream-element-21-com {
    flex: 1 1 50%;
    max-width: calc(50% - 0.5rem);
    display: flex;
    order: 2;
    padding-left: 3.125rem;
}

.stream-element-desc2-com {
    margin-top: 2.2rem;
}

.stream-element-desc-title2-com {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.stream-element-desc-12 {
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 700;
}

.stream-element-desc-12-com {
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 700;
}

.second-title1-com {
}

@media (max-width: 768px) {
    .animal-features-wrapper {
        margin-top: 1rem;
        padding: 0 0.75rem !important;
    }

    .ani-title {
        min-height: 100px;
        padding: 15px;
    }

    .ani-title-text {
        font-size: 8vw;
        left: 20px;
        top: 80px;
    }

    .animal-feature-container {
        z-index: -2;
    }

    .ani-tiger-cat {
        z-index: -1;
        height: 220px;
        top: 180px;
    }

    .ani-tiger-cat img {
    }

    .ani-streamer {
        flex-direction: column;
        margin: 100px auto 0;
        gap: 1rem;
    }

    .ani-streamer2 {
        flex-direction: column;
        margin: -4rem auto 0;
        gap: 1rem;
    }

    .stream-element-1 {
        order: 1 !important;
    }

    .stream-element-12 {
        order: 1 !important;
    }

    .stream-element-2 {
        order: 2 !important;
        margin-top: -2rem !important;
    }

    .stream-element-21 {
        order: 2 !important;
        margin-top: -2rem !important;
    }

    .stream-element-3 {
        order: 3 !important;
    }

    .stream-element {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 1rem;
        height: auto;
    }

    .stream-element2 {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 1rem;
        height: auto;
    }

    .stream-element-desc-title {
        font-size: 1.6rem;
        margin-top: 0;
        font-weight: bold;
    }

    .stream-element-desc-1 {
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.8;
    }

    .stream-element-desc-title2 {
        font-size: 1.8rem;
        margin-top: 0;
        font-weight: bold;
        padding-left: 15px;
    }

    .stream-element-img {
        max-width: 300px;
    }

    .stream-element-3 .flex {
        margin: 0;
        padding: 0;
        justify-content: center;
    }

    .stream-element-3 .flex a {
        margin: 13rem auto 0;
        max-width: 73vw;
        font-size: 4.5vw;
        align-items: center;
    }

    .stream-element-3 a img {
        position: absolute;
        right: 20px;
        width: 7vw;
        height: 7vw;
    }

    .ani-streamer2 {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin: -1rem 0 0 -0.8rem;
        padding: 0;
    }

    .ani-streamer2-com {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin: -1rem 0 0 -0.8rem;
        padding: 1rem 0;
    }

    /* Community*/
    .ani-streamer2-com {
        flex-direction: column;
        margin: -9rem auto 0;
        gap: 1rem;
    }

    .stream-element2-com {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 1rem;
        height: auto;
    }

    .stream-element-12-com {
        order: 1 !important;
    }

    .stream-element-21-com {
        order: 2 !important;
        margin-top: -2.8rem !important;
    }

    .stream-element-desc-title2-com {
        font-size: 1.8rem;
        margin-top: 0;
        font-weight: bold;
    }

    .stream-element-desc-12-com {
        font-size: 1rem;
        line-height: 1.6;
        font-weight: 700;
    }

    .stream-element-img-title1-com {
        font-size: 1.5rem;
        left: 58%;
        transform: translateX(-50%);
        top: 2.6rem;
        line-height: 2rem;
    }
}

/* Navigation Tabs */
.event-gallery-nav {
    display: flex;
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 15px 15px 0 0;
}

.event-gallery-nav-item {
    flex: 1;
    padding: 16px 24px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.event-gallery-nav-item.active {
    color: #10b981;
    border-bottom-color: #10b981;
}

/* Tab Content */
.event-tab-content {
    display: none;
    padding: 50px 0px 5px 0px;
}

.event-tab-content.active {
    display: block;
}

/* Card Grid */
.event-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 32px;
}

/* Individual Cards */
.event-card {
    background-color: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.event-card-content {
    padding: 20px;
    cursor: pointer;
}

.event-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.4;
    /* Line clamping */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Show 2 lines only */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-card-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-background-text {
    top: 60rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-section-wrapper {
        margin-left: 1rem;
    }

    .event-section-wrapper .event-main-content {
        width: 98%;
        padding: 0.5rem 0;
    }

    .event-tab-content {
        padding: 16px 0px;
    }

    .event-gallery-nav-item {
        padding: 14px 16px;
        font-size: 14px;
    }

    .event-card-container .event-card:nth-child(n + 4) {
        display: none;
    }

    .event-card-image {
    }

    .event-card-content {
        padding: 16px;
    }

    .event-background-text {
        top: 86rem;
    }

    .event-card-container {
        display: grid;
        grid-template-columns: repeat(1, minmax(200px, 1fr));
        /* At most 2 columns */
        grid-template-rows: repeat(2, auto);
        overflow: hidden;
    }
}

@media (min-width: 758px) and (max-width: 1024px) {
    .event-card-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        grid-template-rows: repeat(2, auto);
        overflow: hidden;
    }

    .event-main-content {
        width: 90%;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .event-card-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        grid-template-rows: repeat(2, auto);
        overflow: hidden;
    }
}

@media (min-width: 1280px) {
    .event-card-container {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: auto;
    }
}

.agency-title-header {
    display: inline-block;
    /* Ensures smooth rotation */
    transform: rotate(-20deg);
    /* Rotates counterclockwise */
}

@media (min-width: 1279px) and (max-width: 1497px) {
    .mascot-wrapper {
        /* margin-top: 40rem !important; */
    }
}

@media (max-width: 1278px) {
    .mascot-wrapper {
        /* margin-top: 32rem !important; */
    }
}

.conversation-box {
    position: relative;
    background: #e9e9e9;
    border-radius: 30px;
    padding: 30px 50px;
    width: 100%;
    max-width: 100%;
    font-family: sans-serif;
    font-size: 2.2rem;
    color: #000;
    display: inline-block;
}

/*
.animal-characters-imgs .active::before {
    content: "";
    position: absolute;
    background: url(../assets/mark1.png) no-repeat center center;
    background-size: contain;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    z-index: 10;
}
    */

.agency-element-3 {
    order: 3;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
}

.agency-element-3 a {
    margin: 0;
    padding: 2rem !important;
    position: relative;
    width: 500px;
    display: flex;
    justify-content: center;
}

.agency-element-3 a img {
    position: absolute;
    right: 40px;
}

.header-title {
    width: auto;
}

.mascot-conversation {
}

.animal-mascot-img {
    height: auto;
    width: 100%;
}

.animal-characters-imgs {
    max-width: 100%;
}

.agency-background-text {
    top: 29rem;
}

/* Media Query Adjustments */
@media (max-width: 768px) {
    .mascot-wrapper {
        margin-top: 2rem !important;
    }

    .pc-view {
        display: none;
    }

    .mobile-view {
        display: block;
    }

    .animal-characters {
        flex-direction: column;
        align-items: center;
    }

    .header-title {
        width: auto;
        margin-bottom: 1rem;
        font-weight: bold;
    }

    .mascot-conversation {
        width: 100%;
    }

    .animal-characters-imgs {
        flex-direction: column;
        align-items: center;
        margin-top: 0;
    }

    .img-nm {
        margin-bottom: 1rem;
    }

    .conversation-box {
        text-align: left;
        margin-bottom: 1rem;
        font-size: 1.2rem;
        padding: 20px 30px;
        width: 95%;
    }

    .agency-background-text {
        top: 44rem;
    }

    .back-txt-sp {
        font-size: 3.5rem !important;
        right: 0rem !important;
        top: 2rem !important;
    }

    .animal-mascot-img {
        height: auto;
        width: 100px;
    }

    .animal-characters-imgs .active::before {
        content: "";
        position: absolute;
        background: url(../assets/mark1.png) no-repeat center center;
        background-size: contain;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 30px;
        z-index: 10;
    }
}

.footer {
    background-color: #4a4a4a;
    color: white;
    padding: 40px 0 20px;
    position: relative;
    font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-sections {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.section-header-button {
    background-color: #4caf50;
    color: white;
    padding: 20px 20px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bolder;
    margin-bottom: 10px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.section-header-button:hover {
    background-color: #45a049;
}

.section-header-button::after {
    content: "";
    position: absolute;
    background: url("../assets/arrow-left.png") no-repeat center center;
    background-size: contain;
    right: 27px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.section-header {
    background-color: #4caf50;
    color: white;
    padding: 20px 20px;
    border-radius: 15px 15px 0 0;
    font-size: 18px;
    font-weight: bolder;
    margin-bottom: 10px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.section-header:hover {
    background-color: #45a049;
}

.section-header::after {
    content: "";
    position: absolute;
    background: url("../assets/arrow-left.png") no-repeat center center;
    background-size: contain;
    right: 27px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4caf50;
}

.footer-links a::after {
    content: "→";
    font-size: 14px;
    opacity: 0.7;
}

.company-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
}

.company-logos a {
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.company-logos a:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.logo-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.logo-animal {
    font-size: 28px;
}

.logo-animake {
    font-size: 32px;
    font-style: italic;
}

.logo-london {
    font-size: 26px;
}

.logo-london .small-text {
    font-size: 14px;
    font-weight: normal;
}

.copyright {
    text-align: center;
    color: #888;
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 20px;
}

.driver-registration {
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    width: 180px;
}

.driver-registration span {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #10b981;
    text-align: center;
    width: 100%;
    line-height: 1.2;
}

.driver-registration:hover {
    /* box-shadow: 0 6px 12px #38b446; */
}

.driver-registration::before {
    content: "";
    position: absolute;
    background: url(../assets/scroll-up-plus.png) no-repeat center center;
    background-size: contain;
    bottom: 15px;
    right: 0px;
    width: 50px;
    height: 50px;
    z-index: 10;
}

.home-live-stream {
    position: absolute;
    top: -2rem;
    left: 20px;
    cursor: pointer;
}

.driver-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    position: relative;
}

.plus-icon {
    position: absolute;
    bottom: -5px;
    right: -3rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

@media (max-width: 768px) {
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .company-logos {
        flex-direction: column;
        align-items: center;
    }

    .logo-card {
        width: 100%;
        max-width: 300px;
    }

    .driver-registration {
        z-index: 999;
        position: fixed;
        bottom: 0rem;
        right: 0;
        margin: 0;
        transform: translate(-20px, -20px);
        width: 130px;

        /* 👇 Animation */
        animation: floatUpDown 2s ease-in-out infinite;
    }

    /* Keyframes to create smooth up and down movement */
    @keyframes floatUpDown {
        0%,
        100% {
            transform: translate(-20px, -20px);
        }
        50% {
            transform: translate(-20px, -25px); /* Moves up 5px */
        }
    }

    .driver-registration span {
        position: absolute;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12px;
        font-weight: 1000;
        color: #10b981;
        text-align: center;
        width: 100%;
        line-height: 1.2;
    }

    .driver-registration::before {
        content: "";
        position: absolute;
        background: url(../assets/scroll-up-plus.png) no-repeat center center;
        background-size: contain;
        bottom: 12px;
        right: 5px;
        width: 30px;
        height: 30px;
        z-index: 10;
    }

    .footer {
        background-color: #4a4a4a;
        color: white;
        padding: 40px 0 20px;
        position: relative;
        font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
        border-top: solid 10px #4caf50;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .driver-registration {
        position: absolute;
        top: -10rem;
        right: 0;
        margin: 0;
        transform: translate(-20px, -20px);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
}

@media (min-width: 1280px) {
    /* .driver-registration {
        z-index: 999;
        position: fixed;
        bottom: 0rem;
        right: 1rem;
        margin: 0;
        transform: translate(-20px, -20px);
        transition: opacity 0.3s ease, transform 0.3s ease; 
    } */

    .driver-registration {
        z-index: 999;
        position: fixed;
        bottom: 0rem;
        right: 0;
        margin: 0;
        transform: translate(-20px, -20px);
        /* 👇 Animation */
        animation: floatUpDown 2s ease-in-out infinite;
    }

    /* Keyframes to create smooth up and down movement */
    @keyframes floatUpDown {
        0%,
        100% {
            transform: translate(-20px, -20px);
        }
        50% {
            transform: translate(-20px, -25px); /* Moves up 5px */
        }
    }

    .driver-registration:hover {
        opacity: 0.8;
        transform: translate(-20px, -25px); /* Optional: Add slight movement */
    }
}

.tiktok-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 480px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.tik-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #ff3e96;
    border-radius: 1.7rem;
    padding: 5rem 10rem;
    gap: 1rem;
}

.tik-header {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.tik-question {
    color: #eafd39;
    font-size: 2rem;
    font-weight: bold;
}

.tik-title {
    color: white;
    font-size: 6.5rem;
    font-weight: 1000;
    line-height: 1.2;
    inline-size: max-content;
}

.tik-content {
    color: white;
    font-size: 1.8rem;
    font-weight: 1000;
}

.background-text {
    color: #6b7280;
    font-size: 1rem;
    display: block;
}

.tik-background-text {
    top: 22rem;
}

.his-header-section {
    width: 100%;
}

.his-header-section .his-header {
    font-size: 2.8rem;
    font-weight: 700;
    color: #38b446;
    text-transform: uppercase;
}

.his-header-section .his-subtitle {
    /*font-size: 3.65rem;*/
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
}

.history-card-container {
    position: relative;
    width: 480px;
    height: 140px;
}

.history-card-tab {
    width: 100px;
    height: 50px;
    position: absolute;
    top: -52px;
    left: 50%;
    transform: translateX(-50%);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    z-index: -1;
}

.history-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background-color: white;
    padding: 20px 40px;
    border-radius: 15px;
    box-shadow: 0 0 0 4px #e0e0e0;
    font-family: "Arial", sans-serif;
    height: inherit;
}

.history-card::after {
    content: "";
    position: absolute;
    background: url("../assets/badge-grey.png") no-repeat center center;
    background-size: contain;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    z-index: -1;
}

.history-card:hover {
    box-shadow: 0 0 0 4px #38b446;
    transition: box-shadow 0.3s ease;
    z-index: 1;
}

.history-card:hover::after {
    content: "";
    position: absolute;
    background: url("../assets/badge-green.png") no-repeat center center;
    background-size: contain;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    transition: box-shadow 0.3s ease;
    z-index: -1;
}

.history-card-active .history-card {
    box-shadow: 0 0 0 4px #38b446;
    transition: box-shadow 0.3s ease;
}

.history-card-active .history-card::after {
    content: "";
    position: absolute;
    background: url(../assets/badge-green.png) no-repeat center center;
    background-size: contain;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    transition: box-shadow 0.3s ease;
    z-index: -1;
}

.history-label {
    font-size: 22px;
    font-weight: bold;
    color: #000;
}

.history-number {
    font-size: 80px;
    font-weight: bold;
    color: #000;
}

.history-unit {
    font-size: 32px;
    font-weight: bold;
    color: #000;
}

.famous-background-text {
    top: 100px;
}

.point-background-text {
    top: 130px;
}

@media (max-width: 1023px) {
    .tiktok-card-wrapper {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .tik-card {
        gap: 2rem;
        padding: 2.5rem 0 2.5rem 4rem;
    }

    .tik-question {
        font-size: 2.25rem;
    }

    .tik-title {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .tiktok-card-wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
        height: auto;
    }

    .tik-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 0 1rem 1rem;
        gap: 1rem;
    }

    .tik-header {
        gap: 0.5rem;
        width: 100%;
    }

    .tik-question {
        font-size: 1rem;
    }

    .tik-title {
        font-size: 1.875rem;
    }

    .tik-content {
        font-size: 1.125rem;
        margin-top: 1rem;
        padding-right: 0;
    }

    .background-text {
        display: none;
    }

    .tik-background-text {
        position: absolute;
        left: 0;
        top: 18rem;
    }

    .history-left-column {
        margin-top: 2rem !important;
    }

    .history-right-column img {
        width: 100% !important;
    }

    .history-card-tab {
        width: 40px !important;
        height: 20px !important;
        top: -23px !important;
        z-index: -1;
    }

    .history-label {
        font-size: 8px !important;
    }

    .history-number {
        font-size: 15px !important;
    }

    .history-unit {
        font-size: 8px !important;
    }

    .history-card {
        width: 104px !important;
        height: 48px !important;
        padding: 12px 22px !important;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px !important;
    }

    .his-header-section {
        width: 100%;
        margin-left: 10px;
    }
}

@media (max-width: 639px) {
    .tik-card {
        padding: 1rem;
    }

    .tik-question {
        font-size: 1rem;
    }

    .tik-title {
        font-size: 1.875rem;
    }

    .tik-content {
        font-size: 1rem;
        line-height: 1.8;
    }

    .history-left-column {
        margin-top: 2rem !important;
    }

    .history-right-column {
        margin-top: -2rem !important;
        padding: 0 !important;
    }

    .history-right-column img {
        width: 100% !important;
    }

    .history-card-container {
        position: relative;
        width: auto;
        height: 70px;
    }

    .history-card::after {
        display: none;
        content: "";
        position: absolute;
        background: url(../assets/badge-grey.png) no-repeat center center;
        background-size: contain;
        right: -30px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        z-index: -1;
    }

    .history-card-tab {
        width: 40px !important;
        height: 20px !important;
        top: -23px !important;
    }

    .history-label {
        font-size: 10px !important;
    }

    .history-number {
        font-size: 24px !important;
    }

    .history-unit {
        font-size: 12px !important;
    }

    .history-card {
        display: flex;
        width: auto !important;
        height: auto !important;
        padding: 4px 22px !important;
        gap: 0px !important;
        justify-content: center;
        align-content: center;
        align-items: center;
    }
}

@media (min-width: 639px) and (max-width: 768px) {
    .history-left-column {
        margin-top: 2rem !important;
    }

    .history-right-column {
        margin-top: -2rem !important;
        padding: 0 !important;
    }

    .history-right-column img {
        width: 100% !important;
    }

    .history-card-container {
        position: relative;
        width: auto;
        height: 70px;
    }

    .history-card::after {
        display: none;
        content: "";
        position: absolute;
        background: url(../assets/badge-grey.png) no-repeat center center;
        background-size: contain;
        right: -30px;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        z-index: -1;
    }

    .history-card-tab {
        width: 40px !important;
        height: 20px !important;
        top: -23px !important;
    }

    .history-label {
        font-size: 10px !important;
    }

    .history-number {
        font-size: 24px !important;
    }

    .history-unit {
        font-size: 12px !important;
    }

    .history-card {
        display: flex;
        width: auto !important;
        height: auto !important;
        padding: 4px 22px !important;
        gap: 0px !important;
        justify-content: center;
        align-content: center;
        align-items: center;
    }
}

@media (min-width: 768px) and (max-width: 1535px) {
    /*History Section*/
    .his-subtitle {
        font-size: 1.65rem !important;
    }

    /* .history-main-section {
        flex-direction: row !important;
    }

    .history-left-column {
        flex-direction: column !important;
        margin-top: 2rem !important;
    }

    .history-right-column {
        margin-top: -2rem !important;
    }

    .history-right-column img {
        width: 100% !important;
    } */

    /* .history-card-tab {
        width: 40px !important;
        height: 20px !important;
        top: -23px !important;
    } */

    /* .history-label {
        font-size: 8px !important;
    }

    .history-number {
        font-size: 15px !important;
    }

    .history-unit {
        font-size: 8px !important;
    } */

    /* .history-card {
        width: 104px !important;
        height: 48px !important;
        padding: 12px 22px !important;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px !important;
    } */

    /* .history-right-column img {
        height: auto !important;
        width: 52% !important;
        border-radius: 25px;
        margin-left: 17rem;
    } */
}

@media (min-width: 1536px) {
    .history-main-section {
        flex-direction: row !important;
    }
}

.event-gallery-nav {
    display: flex;
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 15px 15px 0 0;
}

.event-gallery-nav-item {
    flex: 1;
    padding: 24px 24px;
    font-size: 32px;
    font-weight: 700 !important;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.event-gallery-nav-item.active {
    color: #38b446;
    border-bottom-color: #38b446;
}

.event-tab-content {
    display: none;
    padding: 24px 0px;
}

.event-tab-content.active {
    display: block;
}

.event-card-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, minmax(180px, auto));
    gap: 50px;
    margin-bottom: 32px;
}

.event-card {
    background-color: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.event-card.first-card {
    grid-row: span 3;
}

.event-card.first-card .event-card-image {
}

.event-card.flex-card {
    display: flex;
    flex-direction: row;
}

.event-card.flex-card .event-card-image {
}

.event-card.flex-card .event-card-content {
    width: 50%;
    padding: 20px;
    cursor: pointer;
}

/* Add decorative elements to mimic the original design */
.event-card-image::before {
    /* content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; */
}

/* Card Content */
.event-card-content {
    cursor: pointer;
}

.event-card-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-card-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* View More Button */
/* .event-section-wrapper .view-more-btn {
    background: #000;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: -1rem auto 0;
    display: flex;
    width: 250px;
    justify-content: space-between;
} */

.event-section-wrapper .view-more-btn:hover {
    background: #374151;
}

.event-section-wrapper .view-more-btn:hover img {
    transform: translateY(2px);
    transition: transform 0.3s ease;
}

.view-more-btn img {
    margin-top: 0.2rem;
}

.history-event-background-text {
    top: 7rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 5px;
        border-radius: 8px;
    }

    .event-section-wrapper {
        margin-left: 0rem;
    }

    .event-section-wrapper .event-main-content {
        width: 100%;
        padding: 0.5rem 0;
    }

    .event-gallery-nav-item {
        padding: 14px 16px;
        font-size: 14px;
    }

    .event-tab-content {
        padding: 16px 0px;
    }

    .event-card-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }

    .event-card.first-card {
        grid-row: auto;
    }

    .event-card.first-card .event-card-image {
        /* height: 160px; */
    }

    .event-card.flex-card {
        flex-direction: column;
    }

    .event-card.flex-card .event-card-image {
        /* width: 100%;
        height: 160px; */
    }

    .event-card.flex-card .event-card-content {
        width: 100%;
        padding: 16px;
    }

    .event-card-container .event-card:nth-child(n + 3) {
        display: none;
    }

    .archive .event-card-container .event-card:nth-child(n + 3) {
        display: block;
    }

    .event-card-image {
        /* height: 160px; */
    }

    .event-card-content {
        padding: 16px;
    }

    .event-section-wrapper .view-more-btn {
        padding: 1.5rem 1.5rem;
        font-size: 1rem;
    }

    .history-event-background-text {
        top: 86rem;
    }

    .green-card {
        margin-top: -9rem;
    }

    .bottom-btn-sp {
        width: 79vw !important;
        font-size: 18px !important;
        padding: 15px !important;
    }

    .bottom-img-sp {
        width: auto;
    }
}

@media (min-width: 1281px) {
    .event-card-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        /* Match flex-card height */
    }
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .event-card.flex-card {
        /* height: 200px; */
    }

    .event-card.first-card {
        /* height: 600px; */
    }

    .event-card.first-card .event-card-content {
        padding: 40px;
        /* Ensure sufficient padding */
    }

    .event-card.flex-card .event-card-image {
        /* height: 100%; */
    }
}

.application-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.application-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    background-color: #38b446;
    border-radius: 1.7rem;
    padding: 2.5rem 0 2.5rem 6.5rem;
    gap: 8rem;
}

.tiktok-live-stream-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    background-color: #ff3e96;
    border-radius: 1.7rem;
    padding: 2.5rem 0 2.5rem 6.5rem;
    gap: 8rem;
}

.application-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.application-question {
    color: #eafd39;
    font-size: 2.5rem;
    font-weight: bold;
}

.application-title {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}

.application-content {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 4.5rem;
    padding: 0 4rem;
}

/* View More Button */
.application-card-wrapper .view-more-btn {
    background: #000;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 1rem auto 0;
    display: flex;
    width: 250px;
    justify-content: space-between;
}

.application-card-wrapper .view-more-btn:hover {
    background: #374151;
}

.application-card-wrapper .view-more-btn:hover img {
    transform: translateY(2px);
    transition: transform 0.3s ease;
}

.view-more-btn img {
    margin-top: 0.2rem;
}

.application-background-text {
    top: 19rem;
}

.tiktok-live-stream-background-text {
    top: 21rem;
}

@media (max-width: 1023px) {
    .application-card-wrapper {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .application-card {
        gap: 2rem;
        padding: 2.5rem 0 2.5rem 4rem;
    }

    .application-question {
        font-size: 2.25rem;
    }

    .application-title {
        font-size: 3rem;
    }

    .application-content {
        margin-top: 3.5rem;
        padding-right: 2rem;
    }
}

@media (max-width: 767px) {
    .application-card-wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
        height: 300px;
    }

    .application-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 0 1rem 1rem;
        gap: 1rem;
    }

    .application-header {
        gap: 0.5rem;
    }

    .application-question {
        font-size: 1.5rem;
    }

    .application-title {
        font-size: 1.875rem;
    }

    .application-content {
        font-size: 1.125rem;
        margin-top: 1rem;
        padding-right: 0;
    }

    .background-text {
        display: none;
    }

    .application-background-text {
        position: absolute;
        left: 0;
        top: 15rem;
    }
}

@media (max-width: 639px) {
    .application-card {
        padding: 1rem;
    }

    .application-question {
        font-size: 1.5rem;
    }

    .application-title {
        font-size: 1.875rem;
    }

    .application-content {
        font-size: 1.125rem;
    }

    .long-line-sp {
        width: 20px !important;
        left: 65px !important;
        top: 10vw !important;
        bottom: 10vw !important;
    }

    .case-grid-sp {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .presence-sp {
        width: 100%;
        display: flex;
        overflow-x: auto;
    }

    .presence-sp > * {
        flex: 0 0 auto;
        min-width: 120px;
        /* Example width */
        margin-right: 16px;
    }

    /* View More Button */
    .event-section-wrapper .view-more-btn {
        background: #000;
        color: white;
        border: none;
        padding: 1.5rem 2rem;
        border-radius: 5rem;
        font-weight: 500;
        cursor: pointer;
        transition: background 0.3s ease;
        margin: 4rem auto;
        width: 300px;
        display: flex;
        justify-content: center;
        text-align: center;
        position: relative;
    }

    .agency-element-3 a img {
        position: absolute;
        right: 20px;
    }
}

.hero-bg-text {
    top: 340px;
}

.structure-bg-text {
    top: 50px;
}

.merit-bg-text {
    top: 60px;
}

.flow-bg-text {
    top: 60px;
}

.hero-header-content {
    line-height: 2.75rem !important;
}

.hamburger-morph {
    z-index: 1000;
    width: 70px;
    height: 50px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    margin-left: 30px;
}

.hamburger-morph__icon {
    width: 100%;
    height: 100%;
}

.hamburger-morph__line {
    fill: none;
    stroke: #000;
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-morph__line:nth-child(1) {
    stroke-dasharray: 60 207;
}

.hamburger-morph__line:nth-child(2) {
    stroke-dasharray: 60 60;
}

.hamburger-morph__line:nth-child(3) {
    stroke-dasharray: 60 207;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(1) {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(2) {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
}

.hamburger-morph.active .hamburger-morph__line:nth-child(3) {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
}

.nav-morph {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(29, 29, 31, 0.98);
    clip-path: circle(0% at calc(100% - 44px) 44px);
    transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 900;
}

.nav-morph.active {
    clip-path: circle(150% at calc(100% - 44px) 44px);
}

.nav-morph__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.nav-morph__list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.nav-morph__item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-morph.active .nav-morph__item {
    opacity: 1;
    transform: translateY(0);
}

.nav-morph.active .nav-morph__item:nth-child(1) {
    transition-delay: 0.3s;
}

.nav-morph.active .nav-morph__item:nth-child(2) {
    transition-delay: 0.4s;
}

.nav-morph.active .nav-morph__item:nth-child(3) {
    transition-delay: 0.5s;
}

.nav-morph.active .nav-morph__item:nth-child(4) {
    transition-delay: 0.6s;
}

.nav-morph__link {
    position: relative;
    display: inline-block;
    padding: 20px;
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

.nav-morph__text,
.nav-morph__hover {
    display: block;
    transition: transform 0.3s ease;
}

.nav-morph__hover {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(0%);
}

.nav-morph__link:hover .nav-morph__text {
    transform: translateY(-100%);
}

.nav-morph__link:hover .nav-morph__hover {
    transform: translateY(-100%);
}

@media (min-width: 768px) and (max-width: 1540px) {
    .text-6xl-vw {
        font-size: 2.8vw !important;
    }
    .text-7xl-vw {
        font-size: 4vw !important;
    }
    .per40-vw {
        width: 40% !important;
    }
    .text-3vw {
        font-size: 2.5vw !important;
    }
    .txt-2rem-vw {
        font-size: 1.7vw !important;
    }
}

@media (min-width: 768px) and (max-width: 1600px) {
    .tik-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        height: 100%;
        background-color: #ff3e96;
        border-radius: 1.7rem;
        padding: 5vw 8vw;
        gap: 1rem;
    }
    .tik-title {
        color: white;
        font-size: 6vw;
        font-weight: 1000;
        line-height: 1.2;
    }

    .tik-content {
        color: white;
        font-size: 1.6vw;
        font-weight: 1000;
    }
}

@media (max-width: 768px) {
    .nav-morph__link {
        position: relative;
        display: inline-block;
        padding: 16px;
        font-size: 18px;
        color: #fff;
        text-decoration: none;
        overflow: hidden;
    }

    .history-card {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background-color: white;
        padding: 20px 40px;
        border-radius: 15px;
        box-shadow: 0 0 0 4px #e0e0e0;
        font-family: "Arial", sans-serif;
        height: inherit;
    }

    .history-card::before {
        content: "";
        position: absolute;
        background: url(../assets/badge-grey-down.png) no-repeat center center;
        background-size: contain;
        left: 50%;
        transform: translateX(-50%);
        width: 16px;
        height: 16px;
        bottom: -5px;
        transition: box-shadow 0.3s ease;
        z-index: 1;
    }

    .history-card:hover {
        box-shadow: 0 0 0 4px #38b446;
        transition: box-shadow 0.3s ease;
        z-index: 1;
    }

    .history-card:hover::before {
        content: "";
        position: absolute;
        background: url(../assets/badge-green-down.png) no-repeat center center;
        background-size: contain;
        left: 50%;
        transform: translateX(-50%);
        width: 16px;
        height: 16px;
        bottom: -5px;
        transition: box-shadow 0.3s ease;
        z-index: 1;
    }

    .history-card-active .history-card {
        box-shadow: 0 0 0 4px #38b446;
        transition: box-shadow 0.3s ease;
    }

    .history-card-active .history-card::before {
        content: "";
        position: absolute;
        background: url(../assets/badge-green-down.png) no-repeat center center;
        background-size: contain;
        left: 50%;
        transform: translateX(-50%);
        width: 16px;
        height: 16px;
        bottom: -5px;
        transition: box-shadow 0.3s ease;
        z-index: 1;
    }
}
.history-section-wrapper .history-right-column {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}
.history-section-wrapper .canvas-wrap {
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
}
.history-section-wrapper .canvas-wrap.active {
    z-index: 10;
    opacity: 1;
    position: relative;
}
.history-section-wrapper .chartjs-render-monitor {
    margin-left: -30px;
}
.history-section-wrapper #chartjs-tooltip1,
.history-section-wrapper #chartjs-tooltip2,
.history-section-wrapper #chartjs-tooltip3 {
    width: 1px;
    position: absolute;
    bottom: 50%;
    transform: translateX(-0.5px);
    background: white;
    text-align: center;
    transition: 0.3s;
}
.history-section-wrapper #chartjs-tooltip__text1,
.history-section-wrapper #chartjs-tooltip__text2,
.history-section-wrapper #chartjs-tooltip__text3 {
    position: absolute;
    top: -32px;
    transform: translateX(-50%);
    padding: 2px 0;
    background: white;
    border-radius: 16px;
    font-size: 12px;
    transition: 0.3s;
}
.history-section-wrapper .year {
    margin-top: 1em;
    font-size: 12px;
    color: #fff;
    text-align: center;
}

.sp-only {
        display: none;
}
@media (max-width: 767px) {
    .sp-only {
        display: block;
    }
    .pc-only {
        display: none;
}