/* Home page composition — flag on top, kanji + shihan + emblem in a row. */

.kk-home {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vw, 64px) clamp(16px, 3vw, 48px);
}

.kk-home__inner {
    width: 100%;
    max-width: 1200px;
}

.kk-home__flag {
    text-align: center;
    font-size: clamp(64px, 9vw, 120px);
    line-height: 1;
    margin-bottom: clamp(16px, 3vw, 40px);
}

.kk-home__row {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: clamp(16px, 3vw, 48px);
    align-items: center;
}

.kk-home__col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.kk-home__kanji {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif;
    font-size: clamp(64px, 10vw, 140px);
    color: #111;
    line-height: 1.05;
    text-align: center;
    font-weight: 500;
}

.kk-home__kanji-img {
    max-width: 100%;
    max-height: 60vh;
    height: auto;
    width: auto;
    object-fit: contain;
}

.kk-home__shihan-img {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
}

.kk-home__shihan-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #f0f0f0, #d6d6d6);
    border-radius: 6px;
}

.kk-home__emblem {
    width: clamp(140px, 18vw, 260px);
    height: auto;
}

@media (max-width: 900px) {
    .kk-home__row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .kk-home__col--kanji,
    .kk-home__col--emblem {
        order: 2;
    }

    .kk-home__col--shihan {
        order: 1;
    }
}
