@charset "utf-8";

/************

ハンバーガーメニュー

*************/
header .flex {
    justify-content: space-between;
}

.hum-menu {
    background-color: #fff;
    position: fixed;
    top: 3.125rem;
    bottom: 0;
    right: -100%;
    left: 100%;
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
}

/* メニューが開いているとき */
body.open nav {
    transform: translateX(-100%);
}

body.open .hum-button-line {
    background-color: transparent;
}

body.open .hum-button-line:before {
    top: 0;
    transform: rotate(45deg);
}

body.open .hum-button-line:after {
    top: 0;
    transform: rotate(-45deg);

}

/* ハンバーガーボタン */
.hum-button {
    width: 50px;
    height: 50px;
    /* border: 0.5px solid black; */
}

.hum-button-line {
    display: block;
    height: 1px;
    width: 30px;
    background-color: currentColor;
    margin: auto;
    position: relative;
}

.hum-button-line:before,
.hum-button-line:after {
    display: block;
    content: '';
    height: 100%;
    width: 100%;
    background-color: currentColor;
    position: absolute;
}

.hum-button-line:before {
    top: -8px;
}

.hum-button-line:after {
    top: 8px;
}

.main-nav {
    font-size: 1.5rem;
    list-style: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    /* border: 1px solid #252525; */
}

.main-nav a:hover {
    color: yellow;
}

.main-nav>li {
    width: 90%;
    margin: auto;
}

.hum-menu li,
.hum-menu ul:last-child {
    border: 0px;
    padding: 0.1rem 0 0 0rem;
}

.main-nav>li {
    margin: 0 auto 2rem;
}

.cate-child li a {
    font-size: 0.875rem;
}



/************

ギャラリースライダー

*************/
.slider {
    margin: auto;
    width: 100%;
    max-width: 600px;
}

.slider div {
    margin-bottom: 0;
}

.slider li,
.slider-thumb li {
    border-top: 0px;
}

.slider img {
    aspect-ratio: 3/2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.slider-thumb {
    width: clamp(18.125rem, 7.708rem + 52.08vw, 33.75rem);
    margin: auto;
}

.slider-thumb img {
    aspect-ratio: 3/2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/******
クライミング
******/
body.climb-paper .slider img {
    aspect-ratio: 2/3;
}

/******
バナー
******/
body.banner .slider img {
    aspect-ratio: 1/1;
}

/******
障がい福祉
******/
body.school .slider img {
    aspect-ratio: 3/2;
}





/************

レスポンシブ

*************/
/* @media (min-width: 800px) {

    body.open nav {
        transform: translateX(0%);
    }

    header .broad-cast {
        position: relative;
    }

    .hum-button {
        position: fixed;
        right: -100px;
    }

    .hum-menu {
        width: 25rem;
        background: none;
        position: inherit;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
    }

    .hum-menu .main-nav {
        flex-direction: row;
        border: none;
    }

    .hum-menu li a {
        color: #252525;
    }

    .main-nav {
        font-size: 1.5rem;
        list-style: none;
        height: auto;
        display: flex;
        align-items: center;
    }

} */