body {
    overflow-x: hidden;
}

/* body#indexPage #slideMenu {
    display: block;
} */

#mainArea {
    width: 100%;
    height: 100vh;
    max-height: 1000px;
    position: relative;
}

#mainArea h1 {
    width: 100%;
    max-width: 1140px;
    margin: auto;
    padding: 10px 5px;
    text-align: left;
}

#mainSlide {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#mainSlide img {
    object-fit: cover;
    width: 100%;
    height: 100vh;
    max-height: 1000px;
}

#mainSlide span {
    display: block;
    position: absolute;
    bottom: 40px;
    right: 30px;
    color: #FFF;
    text-align: left;
    line-height: 1.5;
    font-size: 1rem;
}

#buttons ul {
    display: flex;
    justify-content: space-between;
    width: 800px;
    position: absolute;
    bottom: 50px;
    left: calc(50% - 400px);
}

#buttons ul a img {
    filter: drop-shadow(0 0 8px #FFFFFFCC);
    transition: filter 0.4s ease-in-out;
}

#buttons ul a:hover img {
    opacity: 1;
    filter: drop-shadow(0 0 16px #FFFFFF99) brightness(1.05);
}

#indexContents {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 50px 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
}

.googleSearch {
    width: 640px;
}

.cse-search-box>div {
    display: flex;
}

.placeholder {
    width: 545px;
    height: 40px;
    border: 1px solid #003E63;
    -webkit-appearance: none;
    outline: none;
    padding: 10px;
    font-size: 1rem;
}

.placeholder::placeholder {
    color: #999;
}

#menu-btn {
    display: block;
    background: #FFF;
    padding: 10px 15px 26px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    cursor: pointer;
}


.importantArea {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    position: absolute;
    top: 150px;
    left: 0;
    right: 0;
}

.importantArea h2 {
    background: #FF5050;
    color: #FFF;
    white-space: nowrap;
    font-size: 1.3125rem;
    padding: 25px 50px 25px 35px;
    position: relative;
}

.importantArea h2::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 7px solid #ffffff;
    border-right: 0;
    position: absolute;
    top: calc(50% - 4px);
    right: 20px;
}

.importantArea h2 a {
    color: #FFF;
    text-decoration: none;
}

.importantArea>div {
    border: 1px solid #FF5050;
    color: #FF5050;
    background: #FFF;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 30px;
}

.importantArea>div a {
    color: #FF5050;
}

.importantArea2 {
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid #FF5050;
}

.importantArea2 h2 {
    font-size: 1rem;
    background: #FF5050;
    color: #FFF;
    font-weight: normal;
    margin-right: 1em;
    padding: 10px;
}

.googleSearch .importantArea2 p {
    margin-bottom: 0;
    line-height: 1.5;
}

#suikomu {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
}

#suikomu #iten {
    width: 40%;
    padding-left: 20px;
}


#suikomu #iten a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.5;
    background: #dae3f3;
    border: 2px solid #0071c0;
    border-radius: 8px;
    padding: 8px;
}


@media screen and (max-width:599px) {
    #mainArea {
        height: auto;
    }

    #mainSlide {
        height: 250px;
    }

    #mainSlide * {
        max-width: initial;
    }

    .slick-list {
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
    }

    .slick-list .slick-track {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }

    .slick-slide {
        height: 250px !important;
    }

    #mainSlide img {
        height: 100%;
        max-height: 100%;
    }

    #buttons {
        margin-top: 200px;
    }

    #buttons ul {
        position: initial;
        width: calc(100% - 20px);
        margin: auto;
    }

    #buttons ul li {
        width: 32%;
    }

    #indexContents {
        flex-direction: column-reverse;
        padding: 30px 10px;
    }

    #indexContents>p,
    #indexContents #suikomu #suikomuLogo {
        padding: 20px 40px 50px;
    }

    .placeholder {
        width: calc(100% - 40px);
    }

    #slideMenu nav ul {
        display: flex !important;
    }

    #suikomu {
        flex-direction: column;
    }

    #suikomu #iten {
        width: 100%;
        padding-left: 0;
        margin-bottom: 10px;
    }

}