@charset "UTF-8";

/* --- Main Wrapper --- */
.event-wrapper {
    width: 100%;
    overflow-x: hidden;
    background-color: #FFFFFF;
    font-family: 'Noto Sans JP', sans-serif;
    color: #444A4D;
}

.event-wrapper * {
    box-sizing: border-box;
}

/* --- Hero Section --- */
.event-hero-section {
    position: relative;
    width: 100%;
    min-height: 380px;
    background: #E8F1FF;
    background-image: linear-gradient(rgba(167, 202, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 202, 255, 0.4) 1px, transparent 1px);
    background-size: 60px 60px;
    padding-top: 202px;
    padding-bottom: 95px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.event-hero-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 120px;
}

.event-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 0px;
    width: fit-content;
}

.event-sub-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #444A4D;
    margin: 0;
    margin-bottom: 5px;
	transition: opacity 0.75s, translate 0.75s;
	opacity: 0;
	translate: 0 16px;
}

.event-sub-title.slideIn {
  opacity: 1;
  translate: 0 0;
}

.event-main-title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 52px;
    line-height: 1;
    font-variant: all-small-caps;
    color: #238DEB;
    margin: 0;
    margin-top: -5px;
    transition: clip-path 1s;
    transition-delay: 0.5s;
    clip-path: inset(0 100% 0 0);

}

.event-main-title.showFromLeft {
    clip-path: inset(0);
}

/* --- Content Section --- */
.event-content-section {
    padding: 80px 20px;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.event-container {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
}

/* --- Filter Buttons --- */
.event-filter-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
	
	transition: opacity 0.75s, translate 0.75s;
	opacity: 0;
    transition-delay: 1.5s;
	translate: 0 16px;
}

.event-filter-buttons .filter-btn.active::before,
.event-filter-buttons .filter-btn.active::after {
  content: none !important;
  display: none !important;
}

.event-filter-buttons.slideIn {
  opacity: 1;
  translate: 0 0;
}

.filter-btn {
    padding: 8px 24px;
    border: 1px solid #ddd;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    background: #fff;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: #5C9EE7;
    color: #fff;
    border-color: #5C9EE7;
}

/* --- Grid Section --- */
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
	transition: opacity 0.75s, translate 0.75s;
	opacity: 0;
    transition-delay: 1.5s;
	translate: 0 16px;
}

.event-grid.slideIn {
  opacity: 1;
  translate: 0 0;
}


.event-card {
    display: flex;
    flex-direction: column;
}

.event-card-link {
    text-decoration: none;
    color: inherit;
}

.event-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    /* Hover Effect */

    &:hover .event-thumbnail img {
        transform: scale(1.05);
    }
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

.event-date {
    color: #888;
}

.event-cat {
    padding: 4px 10px;
    border-radius: 20px;
    color: #fff;
    font-weight: bold;
    font-size: 10px;
}

.cat-news {
    background: #5C9EE7;
}

.cat-event {
    background: #5C9EE7;
}

.event-title {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

/* --- Pagination --- */
.event-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
	transition: opacity 0.75s, translate 0.75s;
	opacity: 0;
    transition-delay: 0.5s;
	translate: 0 16px;
}

.event-pagination.slideIn {
  opacity: 1;
  translate: 0 0;
}

.page-numbers {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #333;
    border-radius: 50%;
}

.page-numbers.current {
    background: #5C9EE7;
    color: #fff;
}

/* --- Additional CTA Styles --- */

/* --- Button Group Container --- */
.top-cta__inner {
    height: auto !important;
    padding-bottom: 80px;
}

.top-cta__button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 10;
    margin-top: 40px;
}

/* --- Secondary White Button --- */
.cta-contact-sub {
    transition: opacity 1.25s, translate 1.25s;
    transition-delay: 0.5s;
    translate: 0 5vw;
    opacity: 0;
}

.cta-contact-sub.slideIn {
    translate: 0 0;
    opacity: 1;
}

.cta-contact-sub__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 280px;
    height: 50px;
    background: #FFFFFF;
    border: 2px solid #F88036;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.cta-contact-sub__link:hover {
    background-color: #FFFDF0;
    transform: translateY(-2px);
}

.cta-contact-sub__text {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #444A4D;
    margin: 0;
}

.cta-contact-sub__icon {
    width: 12px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .event-hero-section {
        min-height: 400px;
        padding-top: 0;
        padding-bottom: 0;
        justify-content: center;
    }

    .event-hero-inner {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .event-title-group {
        width: 100%;
        max-width: 335px;
        gap: 4px;
    }

    .event-sub-title {
        font-size: 14px;
        margin-bottom: 0;
    }

    .event-main-title {
        font-size: 42px;
        line-height: 1.4;
        margin-top: 0;
    }
}


@media (max-width: 1200px) {
    .event-filter-buttons {
        width: 100%;
        max-width: 335px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
        margin-bottom: 54px;
    }

	.event-filter-buttons .filter-btn.active::before,
	.event-filter-buttons .filter-btn.active::after {
	  content: none !important;
	  display: none !important;
	}
    .filter-btn {
        box-sizing: border-box;
        display: inline-flex;
        justify-content: center;
        align-items: center;

        height: 31px;
        padding: 6px 22px;
        border-radius: 100px;

        background: #ffffff;
        border: 1px solid #4D9EE8;

        font-family: "Zen Kaku Gothic New", sans-serif;
        font-weight: 700;
        font-size: 15px;
        line-height: 1.3;
        color: #444A4D;

        transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    }

    .filter-btn.active,
    .filter-btn:hover {
        background: #4D9EE8;
        border-color: #4D9EE8;
        color: #ffffff;
    }
}

@media (max-width: 1200px) {
    .event-content-section {
        padding: 80px 20px 100px;
    }

    .event-container {
        width: 100%;
        max-width: 335px;
        margin: 0 auto;
    }

    .event-grid {
        grid-template-columns: 1fr;
        gap: 72px;
        margin-bottom: 0;
    }

    .event-card {
        width: 100%;
        max-width: 335px;
    }

    .event-thumbnail {
        width: 100%;
        height: 184px;
        aspect-ratio: auto;
        border-radius: 8px;
        margin-bottom: 16px;
    }

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

    .event-meta {
        gap: 16px;
        margin-bottom: 12px;
        font-size: 14px;
    }

    .event-date {
        font-family: "Montserrat", sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 1;
        letter-spacing: 0.08em;
        color: #4D9EE8;
    }

    .event-cat {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        height: 20px;
        padding: 3px 18px;
        border-radius: 100px;

        font-family: "Montserrat", sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 1;
        letter-spacing: 0.08em;
        color: #ffffff;
    }

    .event-title {
        font-family: "Zen Kaku Gothic New", sans-serif;
        font-weight: 700;
        font-size: 18px;
        line-height: 1.3;
        color: #444A4D;
    }
}

@media (max-width: 1200px) {
    .event-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 80px;
    }

    .event-pagination .next.page-numbers {
        margin-left: 20px;
    }

    .event-pagination .page-numbers {
        width: 30px;
        height: 30px;

        display: inline-flex;
        justify-content: center;
        align-items: center;

        border-radius: 999px;
        text-decoration: none;

        font-family: "Montserrat", sans-serif;
        font-weight: 700;
        font-size: 20px;
        line-height: 1;
        color: #444A4D;
    }

    .event-pagination .page-numbers.current {
        background: #4D9EE8;
        color: #ffffff;
    }

    .event-pagination .page-numbers.dots {
        width: auto;
        padding: 0 2px;
    }

    .event-pagination .next.page-numbers {
        width: 30px;
        height: 31px;
        font-size: 0;
        position: relative;
    }

    .event-pagination .next.page-numbers::before {
        content: "";
        width: 8px;
        height: 8px;
        border-top: 2px solid #444A4D;
        border-right: 2px solid #444A4D;
        transform: rotate(45deg);
        display: block;
    }
}
