@charset "UTF-8";

/* =============================== */
/* Page Base                       */
/* =============================== */
.community-page {
    padding: 220px 0 140px;
    background: #fff;
}

/* =============================== */
/* Intro Section                   */
/* =============================== */
.cm-page-title {
    font-size: 92px;
    font-weight: 600;
    color: #1f1f1f;
    line-height: 1;
}

/* =============================== */
/* Hero Section (Seminar & Tour)   */
/* =============================== */
.cm-hero {
    margin-top: 80px;
}

.cm-hero-text {
    margin-bottom: 40px;
}

.cm-hero-title {
    font-size: 48px;
    font-weight: 600;
    color: #1f1f1f;
    margin-bottom: 20px;
}

.cm-hero-desc {
    font-size: 24px;
    font-weight: 400;
    color: #1f1f1f;
    line-height: 1.7;
}

.cm-hero-block {
    position: relative;
}

.cm-hero-image {
    width: 100%;
    height: 600px;
    background: url('/wp-content/uploads/2026/02/cm-hero-image.jpg') center / cover no-repeat;
    background-color: #2a2a2a;
}

.cm-hero-caption {
    width: min(50%);
    background: #fff;
    margin-top: -128px;
    margin-left: auto;
    padding: 34px 56px;
    position: relative;
    z-index: 2;
}

.cm-hero-caption-title {
    font-size: 40px;
    font-weight: 800;
    color: #1f1f1f;
}

/* =============================== */
/* Item Sections (Seminar / Tour)  */
/* =============================== */
.cm-item {
    padding-top: 120px;
}

.cm-item-inner {
    display: grid;
    grid-template-columns: 611px 1fr;
    gap: 20px;
    align-items: center;
    margin: 0 auto;
    max-width: 1226px;
}

.cm-item-inner--reverse {
    grid-template-columns: 1fr 611px;
}

.cm-item-image {
    width: 100%;
    aspect-ratio: 0.8 / 1;
    background-size: cover;
    background-position: center;
    background-color: #e8e8e8;
}

.cm-item-image--seminar {
    background-image: url('/wp-content/uploads/2026/02/cm-item-image-seminar.jpg');
}

.cm-item-image--tour {
    background-image: url('/wp-content/uploads/2026/02/cm-item-image-tour.jpg');
}

.cm-item-content {
    display: flex;
    flex-direction: column;
}

.cm-item-label {
    font-size: 20px;
    font-weight: 800;
    color: rgba(0 0 0 / 50%);
    margin-bottom: 12px;
}

.cm-item-title {
    font-size: 36px;
    font-weight: 300;
    color: #000;
    line-height: 1.1;
    margin-bottom: 32px;
}

.cm-item-desc {
    font-size: 24px;
    font-weight: 400;
    color: #1f1f1f;
    line-height: 1.7;
    margin-bottom: 32px;
}

.cm-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cm-tag {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 400;
    color: #957E62;
    border: 1px solid #957E62;
    border-radius: 999px;
}

/* =============================== */
/* Scroll Animations               */
/* =============================== */
.cm-will-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.cm-will-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================== */
/* Responsive                      */
/* =============================== */
@media (max-width: 1200px) {
    .community-page {
        padding-top: 130px;
    }

    .cm-page-title {
        font-size: 64px;
    }

    .cm-hero-title {
        font-size: 34px;
    }

    .cm-hero-desc {
        font-size: 18px;
    }

    .cm-hero-image {
        height: 480px;
    }

    .cm-hero-caption-title {
        font-size: 34px;
    }

    .cm-item-inner {
        grid-template-columns: 320px 1fr;
        gap: 50px;
    }

    .cm-item-inner--reverse {
        grid-template-columns: 1fr 320px;
    }

    .cm-item-title {
        font-size: 42px;
    }

    .cm-item-desc {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    .community-page {
        padding: 110px 0 100px;
    }

    .cm-page-title {
        font-size: 54px;
    }

    .cm-hero {
        margin-top: 60px;
    }

    .cm-hero-image {
        height: 380px;
    }

    .cm-hero-caption {
        width: min(70%, 560px);
        margin-top: -40px;
        margin-left: 0;
        padding: 24px 28px;
    }

    .cm-hero-caption-title {
        font-size: 28px;
    }

    .cm-item {
        padding-top: 80px;
    }

    .cm-item-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cm-item-inner--reverse .cm-item-image {
        order: -1;
    }

    .cm-item-title {
        font-size: 38px;
    }

    .cm-item-desc {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .community-page {
        padding: 90px 0 80px;
    }

    .cm-page-title {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .cm-hero {
        margin-top: 40px;
    }

    .cm-hero-title {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .cm-hero-desc {
        font-size: 14px;
        line-height: 1.65;
    }

    .cm-hero-image {
        height: 240px;
    }

    .cm-hero-caption {
        width: calc(100% - 16px);
        margin-left: 16px;
        margin-top: -28px;
        padding: 18px 16px;
    }

    .cm-hero-caption-title {
        font-size: 22px;
    }

    .cm-item {
        padding-top: 60px;
    }

    .cm-item-label {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .cm-item-title {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .cm-item-desc {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .cm-tag {
        font-size: 12px;
        height: 28px;
        padding: 0 10px;
    }
}
