.max-w-640px {
    max-width: 640px;
}

.header-menu {
    background-color: #ccc;
}
.menu-gradient {
    background: linear-gradient(90deg, rgba(204,204,204,1) 0%, rgba(230,230,230,1) 13%, rgba(242,242,242,1) 50%, rgba(230,230,230,1) 87%, rgba(204,204,204,1) 100%);
}

.border-bottom-gray {
    border-bottom: 1px solid #b3b3b3;
}
.border-left-blue {
    border-left: 4px solid #429ee5;
}

.map-list {
    counter-reset: item;
}
.map-list li::before {
    counter-increment: item;
    content: counter(item);
    display: inline-block;
    background: linear-gradient(rgba(86,69,30,1) 0%, rgba(117,97,18,1) 26.6%, rgba(204,183,115,1) 100%);
    color: white;
    min-width: 2rem;
    text-align: center;
    border-radius: 0.25rem;
    margin-right: 0.625rem;
}

#front-visual {
    position: relative;
    display: block;
}
#front-visual img {
    width: 100%;
}
#front-visual .front-count {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
    text-shadow: 0 0 2px #fff, 0 0 10px #fff;
}
#front-visual .front-count span {
    font-size: 2.25rem;
}
#front-visual .front-search {
    position: absolute;
    top: 6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}
#front-visual .front-search a {
    background: linear-gradient(rgba(66,158,229,1) 0%, rgba(0,113,188,1) 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: .75rem 3rem;
    box-shadow: 0 0 2px 0 #fff, 0 0 10px 0 #fff;
}

.question {
    background-image: url(../img/horizon.png);
    background-position: bottom;
    background-repeat: no-repeat;
}

.sitemap li, .link li {
    padding-left: 24px;
    background-image: url(../img/arrow.png);
    background-repeat: no-repeat;
    background-size: 22px;
}

.link {
    column-gap: 3.333333%;
}
.link li {
    width: 30%;
}

.search-button {
    background: linear-gradient(rgba(66,158,229,1) 0%, rgba(0,113,188,1) 100%);
}

.search-input {
    width: 48%;
}

#detailImage {
    row-gap: 4%;
}
#detailImage img {
    width: 32%;
}

.glossary-search .search-input {
    width: 78%;
}
.glossary-search .search-button {
    width: 21%;
    background: linear-gradient(rgba(196,156,54) 0%, rgba(153,128,2) 100%);
}

.login-button {
    display: block !important;
    margin: 0 auto;
    width: 80%;
    background-color: #429EE5;
    border-radius: 9999px;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.registration-button {
    display: block !important;
    margin: 1.5rem auto;
    width: 80%;
    background-color: #429EE5;
    border-radius: 9999px;
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.registered {
    color: #429EE5;
    border-color: #429EE5;
}

.map-detail-link a {
    background-color: #60A5FA;
    margin-top: 0.625rem;
    border-radius: 0.25rem;
}

@media screen and (max-width: 640px) {
    #front-visual .front-count {
        top: 1rem;
        font-size: 1rem;
    }
    #front-visual .front-count span {
        font-size: 1.25rem;
    }
    #front-visual .front-search {
        top: 3.5rem;
    }
    #front-visual .front-search a {
        font-size: 1rem;
    }

    .search-button {
        width: 100%;
    }

    .search-input {
        width: 100%;
    }

    .login-button, .registration-button {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    #detailImage {
        flex-wrap: wrap;
        row-gap: 1.5rem;
    }
    #detailImage img {
        width: 100%;
    }

    .glossary-search .search-input, .glossary-search .search-button {
        width: 100%;
    }
    .glossary-search .search-input {
        margin-bottom: 1rem;
    }
}