/* トップページ メインビジュアル（hero-hexa.php） */

.hero-hexa {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    max-height: 960px;
    margin-bottom: 40px;
    overflow: hidden;
    /* 上端のメインの紺から、上から250pxで明るい青になり、その下は明るい青一色 */
    background: linear-gradient(to bottom, var(--yk-navy) 0, var(--yk-cyan) 250px);
    isolation: isolate;
}

/* ---- 前面：画像入りの円（JSで1枚分ずつ回転） ---- */
/* 上部は透明ヘッダーと重なるので、その分だけ下げて配置する */
.hero-hexa__stage {
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-hexa__svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* リンクは上に表示されている画像だけ押せる（hero-hexa.js が .is-active を付ける） */
.hero-hexa__link {
    pointer-events: none;
}

.hero-hexa__link.is-active {
    pointer-events: auto;
    cursor: pointer;
}

.hero-hexa__link image {
    transition: filter 0.3s ease;
}

.hero-hexa__link.is-active:hover image,
.hero-hexa__link.is-active:focus image {
    filter: brightness(1.08);
}

/* 白枠は非表示 */
.hero-hexa__gap {
    display: none;
}

/* ---- 横綱のイラスト ---- */
.hero-hexa__sumo {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    height: 38%;
    width: auto;
}

@media (max-width: 767px) {
    .hero-hexa__stage {
        top: 160px;
    }

    .hero-hexa__sumo {
        height: 24%;
    }
}
