/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
    background-color: #f5f5f5;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 500px;
    /* Adjust based on design needs */
}

/* Slides */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Overlay/Content */
.carousel-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    color: #333;
    z-index: 3;
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.carousel-image-area {
    width: 50%;
    flex-shrink: 0;
}

.carousel-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-text-area {
    width: 50%;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.carousel-title {
    font-size: 3.2rem;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.3;
    color: #1e3a5f;
    text-shadow: none;
}

.carousel-desc {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 35px;
    color: #444;
    text-shadow: none;
}

.carousel-btn-wrapper {
    width: 100%;
}

.carousel-btn {
    display: block;
    width: 100%;
    background-color: #06C755;
    color: #fff;
    padding: 18px 45px;
    border-radius: 40px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
    text-align: center;
    box-sizing: border-box;
}

.carousel-btn:hover {
    background-color: #05b34d;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

/* Navigation Dots */
.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .carousel-nav {
        bottom: 10px;
    }
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dot.active {
    background-color: #06C755;
    transform: scale(1.2);
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: #06C755;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
    background-color: #05b34d;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-arrow::after {
    content: '';
    width: 15px;
    height: 15px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    display: block;
}

.carousel-prev {
    left: 30px;
}

.carousel-prev::after {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.carousel-next {
    right: 30px;
}

.carousel-next::after {
    transform: rotate(45deg);
    margin-right: 5px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .carousel-arrow {
        width: 45px;
        height: 45px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .carousel-arrow {
        display: none;
    }

    .carousel-inner {
        height: auto;
        min-height: 600px;
    }

    .carousel-slide {
        padding: 40px 15px;
    }

    .carousel-content {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 15px;
    }

    .carousel-image-area {
        width: 100%;
        height: 300px;
    }

    .carousel-text-area {
        width: 100%;
        padding: 30px 20px;
        text-align: center;
        align-items: center;
    }

    .carousel-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .carousel-desc {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .carousel-btn {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
}

/* Event Banner Styles - For future use (Inherited from index.php) */
.hero-new-wrapper {
    width: 100%;
    background-color: white;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.hero-new-main {
    width: 100%;
    min-height: 400px;
    background-color: #f5f5f5;
    background-image: url("/article/img/hero_main_2026-01-13_2.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 5%;
    box-sizing: border-box;
    position: relative;
}

.hero-new-content-left {
    width: 55%;
    color: #000;
    z-index: 2;
}

.hero-new-co-hosts {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.hero-new-title {
    font-size: 6rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
    letter-spacing: -0.05em;
}

.hero-new-highlight {
    background-color: #06C755;
    color: white;
    padding: 0 10px;
    display: inline-block;
    margin: 5px 0;
}

.hero-new-bg-white {
    background-color: white;
    padding: 0 10px;
    display: inline-block;
}

.hero-new-subtitle {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

.hero-new-content-right {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.hero-new-right-heading {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.6rem;
    color: #333;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-new-right-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
}

.hero-new-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    text-align: left;
    border: 1px solid #eee;
}

.hero-new-card-icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    flex-shrink: 0;
    color: #333;
}

.hero-new-card-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.hero-new-card-text {
    flex-grow: 1;
}

.hero-new-card-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #000;
}

.hero-new-card-desc {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.hero-new-bottom-bar {
    background-color: black;
    color: white;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-new-date-area {
    font-size: 1.4rem;
    line-height: 1.4;
}

.hero-new-date-large {
    font-size: 3.8rem;
    font-weight: bold;
    margin-right: 10px;
}

.hero-new-place-small {
    font-size: 1.4rem;
    display: block;
    margin-top: 5px;
}

.hero-new-cta {
    background-color: #06C755;
    color: white !important;
    font-weight: bold;
    padding: 15px 0;
    width: 50%;
    text-align: center;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.8rem;
    transition: opacity 0.3s;
    display: block;
}

.hero-new-cta:hover {
    opacity: 0.9;
    text-decoration: none;
}

.hero-event-bottom-strip {
    width: 100%;
    background-color: #fff;
    color: #999;
    text-align: center;
    padding: 10px;
    font-size: 1.0rem;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
    font-weight: normal;
}

.hero-event-bottom-strip:hover {
    text-decoration: underline;
    color: #666;
    background-color: transparent;
}

@media (max-width: 900px) {
    .hero-new-main {
        flex-direction: column;
        padding: 40px 20px;
        background-position: top center;
    }

    .hero-new-content-left,
    .hero-new-content-right {
        width: 100%;
    }

    .hero-new-content-left {
        margin-bottom: 30px;
        text-align: center;
    }

    .hero-new-title {
        font-size: 4.0rem;
    }

    .hero-new-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-new-date-area {
        margin-bottom: 10px;
    }

    .hero-new-cta {
        width: 100%;
    }
}

/* Event 2026-02-16 Custom Slide */
.carousel-slide--event-20260216 .carousel-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 0;
    display: flex;
    align-items: stretch;
}

.carousel-event-left {
    width: 50%;
    flex-shrink: 0;
    line-height: 0;
}

.carousel-event-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-event-right {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(248, 248, 248, 0.85);
    position: relative;
}

.carousel-event-speaker-wrap {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    width: 100%;
    position: relative;
    padding-top: 10px;
}

.carousel-event-badge {
    position: absolute;
    top: -25px;
    left: -30px;
    background-color: #06C755;
    color: white;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.2;
    text-align: center;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-event-speaker-item {
    text-align: center;
    width: 120px;
    position: relative;
}

.speaker-img-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #06C755;
    margin-bottom: 10px;
    background-color: #fff;
}

.speaker-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-city {
    font-weight: bold;
    font-size: 1.2rem;
    color: #000;
}

.carousel-event-footer {
    text-align: center;
    width: 100%;
}

.carousel-event-zoom {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #000;
    letter-spacing: -0.02em;
}

.carousel-event-btn {
    display: inline-block;
    background-color: #06C755;
    color: white !important;
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.8rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
    border: none;
    cursor: pointer;
}

.carousel-event-btn:hover {
    background-color: #05b34d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.4);
    text-decoration: none;
}

@media (max-width: 1024px) {
    .carousel-event-right {
        padding: 20px;
    }

    .carousel-event-zoom {
        font-size: 1.8rem;
    }

    .carousel-event-btn {
        font-size: 1.4rem;
        padding: 12px 30px;
    }
}

@media (max-width: 768px) {
    .carousel-slide--event-20260216 .carousel-content {
        flex-direction: column;
    }

    .carousel-event-left,
    .carousel-event-right {
        width: 100%;
    }

    .carousel-event-left {
        height: 300px;
    }

    .carousel-event-right {
        padding: 25px 20px 45px;
    }

    .carousel-event-badge {
        width: 50px;
        height: 50px;
        font-size: 1.0rem;
        top: -14px;
        left: -35px;
    }

    .carousel-event-speaker-item {
        width: 80px;
        position: relative;
    }

    .speaker-img-circle {
        width: 80px;
        height: 80px;
        margin-bottom: 5px;
    }

    .speaker-city {
        font-size: 1.0rem;
    }

    .carousel-event-zoom {
        margin-top: 5px;
        margin-bottom: 10px;
        font-size: 1.6rem;
    }

    .carousel-event-btn {
        padding: 10px 30px;
        font-size: 1.4rem;
    }
}