@charset "UTF-8";


/* =========================
   REGION PAGE
========================= */

.region-page {

    min-height: 800px;

    padding: 180px 0 140px;

    background: #f7f7f7;

}


.region-inner {

    width: 90%;

    max-width: 1500px;

    margin: 0 auto;

}


/* =========================
   TITLE
========================= */

.region-title {

    margin-bottom: 60px;

}


.region-title span {

    display: block;

    margin-bottom: 15px;

    color: #999;

    font-size: 12px;

    letter-spacing: 3px;

}


.region-title h1 {

    margin: 0 0 15px;

    color: #222;

    font-size: 48px;

    font-weight: 800;

}


.region-title p {

    margin: 0;

    color: #777;

    font-size: 15px;

}


/* =========================
   REGION GRID
========================= */

.region-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 30px;

}


/* =========================
   REGION CARD
========================= */

.region-card {

    position: relative;

    display: block;

    height: 320px;

    overflow: hidden;

    border-radius: 20px;

    background: #ddd;

    color: #fff;

    text-decoration: none;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);

    transition:

        transform 0.2s ease,
        box-shadow 0.2s ease;

}


/* =========================
   REGION IMAGE
========================= */

.region-card img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

}


/* =========================
   DARK OVERLAY
========================= */

.region-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(

            to top,

            rgba(0, 0, 0, 0.7),

            rgba(0, 0, 0, 0.05) 65%

        );

    transition: background 0.2s ease;

}


/* =========================
   CARD TEXT
========================= */

.region-overlay {

    position: absolute;

    right: 0;

    bottom: 0;

    left: 0;

    z-index: 1;

    padding: 35px;

}


/* =========================
   ENGLISH REGION NAME
========================= */

.region-overlay span {

    display: block;

    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.8);

    font-size: 11px;

    font-weight: 500;

    letter-spacing: 3px;

}


/* =========================
   JAPANESE REGION NAME
========================= */

.region-overlay strong {

    display: block;

    color: #fff;

    font-size: 32px;

    font-weight: 700;

}


/* =========================
   HOVER
========================= */

.region-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.13);

}


.region-card:hover::after {

    background:

        linear-gradient(

            to top,

            rgba(0, 0, 0, 0.75),

            rgba(0, 0, 0, 0.08) 65%

        );

}
/* =========================
   TITLE ROW
========================= */

.title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title-row h1 {
    margin: 0;
}


/* =========================
   CARD LIST BUTTON
========================= */

/* =========================
   TITLE ROW
========================= */

.title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
}

.title-row h1 {
    margin: 0;
}


/* =========================
   LIST BUTTON
========================= */

.card-list-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 38px;
    padding: 0 18px;

    border: 1px solid #d6d9df;
    border-radius: 20px;

    background-color: #ffffff;
    color: #333333;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    transition: all 0.2s ease;
}

.card-list-button:hover {
    border-color: #999999;
    background-color: #f5f5f5;
    color: #111111;
}

.year-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.card-list-button {
    max-width: 100%;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .region-page {
        padding: 130px 0 90px;
    }

    .region-inner {
        width: calc(100% - 48px);
    }

    .region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .region-card {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .region-overlay {
        padding: 24px;
    }

    .region-overlay strong {
        font-size: 26px;
    }

    .title-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .region-page {
        min-height: 100svh;
        padding: 104px 0 64px;
    }

    .region-inner {
        width: calc(100% - 32px);
    }

    .region-title {
        margin-bottom: 32px;
    }

    .region-title h1 {
        font-size: 32px;
        line-height: 1.25;
    }

    .region-title p {
        font-size: 14px;
        line-height: 1.7;
    }

    .title-row {
        gap: 16px;
    }

    .year-buttons {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .card-list-button {
        width: 100%;
        height: 42px;
        padding: 0 10px;
        border-radius: 8px;
        font-size: 12px;
    }

    .region-grid {
        gap: 12px;
    }

    .region-card {
        border-radius: 12px;
    }

    .region-overlay {
        padding: 16px;
    }

    .region-overlay span {
        margin-bottom: 6px;
        overflow: hidden;
        font-size: 9px;
        letter-spacing: 1.5px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .region-overlay strong {
        display: -webkit-box;
        overflow: hidden;
        font-size: clamp(17px, 5vw, 23px);
        line-height: 1.25;
        overflow-wrap: anywhere;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 370px) {
    .region-inner {
        width: calc(100% - 24px);
    }

    .region-grid {
        gap: 8px;
    }

    .region-overlay {
        padding: 12px;
    }

    .card-list-button {
        padding: 0 6px;
        font-size: 11px;
    }
}
