html,
body {
    overflow-x: hidden;
    height: 100%;

}

.header {
    margin: 0 auto;
    max-width: 100%;
    /* background-color: #808080; */
    background-color: rgba(255, 255, 255, 0.95);
    position: absolute;
    height: 60px !important;
    overflow: hidden;
    z-index: 10;
}

.header-wrapper {
    margin-top: 60px;
    font-family: serif;
    transition: 1s all ease-in-out;
    object-fit: cover;
    object-position: center;
    background-position: center;
    background-size: cover;
}

.index-title {
    color: white;
    text-shadow: 1px 1px 8px black;
}

/* PC */
@media screen and (min-width:927px) {

    .header-wrapper {
        height: 60vh;
    }

    .carousel-item {
        height: 100%;
    }

    .carousel-item>img {
        object-fit: cover;
        object-position: center;
    }

    .top {
        display: none;
    }

    .container-fluid {
        position: absolute;
        z-index: 9999 !important;
    }

    .float {
        z-index: 99;
    }

    .float-x {
        transform: translateX(160px);
    }

    .logo>a>div {
        display: block;
        transform: translateY(3px) !important;
    }

    .logo>a {
        font-size: 1.24em !important;
        text-shadow: 2px 2px 5px rgb(134, 186, 255);
        display: block;
        transform: translateY(-2px) !important;
    }


    .float-y {
        width: 40%;
        display: flex;
        justify-content: space-around;
    }

    .header {
        z-index: 999;
    }


    input[type=checkbox] {
        display: none;
    }

    .logo {
        float: left;
        font-size: 1.2em;
        font-family: serif;
    }

    .sidebarIconToggle {
        display: none;
    }

    .sidebarMenuInner {
        height: 60px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 !important;
    }

    .sidebarMenuInner li {
        z-index: 999;
        list-style: none;
    }

    .sidebarMenuInner li a {
        text-decoration: none;
        color: black;
        transition: .3s color;
    }
}

/* 携帯 */
@media screen and (max-width:926px) {

    .header-wrapper {
        height: 30vh;
    }

    .carousel-item {
        height: 100%;
    }

    .carousel-item>img {
        object-fit: cover;
        object-position: center;
    }

    .top {
        color: black;
        z-index: 99;
        position: absolute;
        left: 50%;
        transform: translate(-50%, 55%);
        font-weight: 900;
        width: fit-content;
        margin: 0 auto;
        text-decoration: none;
        font-family: serif;
        font-size: 1.2em;
    }

    .logo {
        display: none;
    }

    .sidebarMenuInner {
        margin: 0;
        padding: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }

    .sidebarMenuInner li {
        list-style: none;
        text-transform: uppercase;
        padding: 20px;
        cursor: pointer;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .sidebarMenuInner li span {
        display: block;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.50);
    }

    .sidebarMenuInner li a {
        color: black;
        text-transform: uppercase;
        font-weight: bold;
        cursor: pointer;
        text-decoration: none;
    }

    .sidebarIconToggle {
        transition: all 0.3s;
        box-sizing: border-box;
        cursor: pointer;
        position: absolute;
        z-index: 999;
        height: 100%;
        width: 100%;
        top: 22px;
        left: 15px;
        height: 22px;
        width: 22px;
    }

    .spinner {
        transition: all 0.3s;
        box-sizing: border-box;
        position: absolute;
        height: 1px;
        width: 100%;
        margin-bottom: 2px;
        background-color: rgb(0, 0, 0);
    }

    .horizontal {
        transition: all 0.3s;
        box-sizing: border-box;
        position: relative;
        float: left;
        margin-top: 3px;
    }

    .diagonal.part-1 {
        position: relative;
        transition: all 0.3s;
        box-sizing: border-box;
        float: left;
    }

    .diagonal.part-2 {
        transition: all 0.3s;
        box-sizing: border-box;
        position: relative;
        float: left;
        margin-top: 3px;
    }

    input[type=checkbox]:checked~.sidebarIconToggle>.horizontal {
        transition: all 0.3s;
        box-sizing: border-box;
        opacity: 0;
    }

    input[type=checkbox]:checked~.sidebarIconToggle>.diagonal.part-1 {
        transition: all 0.3s;
        box-sizing: border-box;
        transform: rotate(135deg);
        margin-top: 8px;
    }

    input[type=checkbox]:checked~.sidebarIconToggle>.diagonal.part-2 {
        transition: all 0.3s;
        box-sizing: border-box;
        transform: rotate(-135deg);
        margin-top: -9px;
    }

    #sidebarMenu {
        height: 100%;
        position: fixed;
        left: 0;
        width: 250px;
        margin-top: 60px;
        transform: translateX(-250px);
        transition: transform .25s ease-in-out;
        background-color: rgba(255, 255, 255, 0.952);

    }

    input[type="checkbox"]:checked~#sidebarMenu {
        transform: translateX(0);
    }

    input[type=checkbox] {
        transition: all 0.3s;
        box-sizing: border-box;
        display: none;
    }
}