html,
body {
    /* height: 100%;
    margin: 0;
    padding: 0; */
    font-size: 10px;
    background-color: #f5f5f5;
    box-sizing: border-box;
}
html {
    height: 100%;
}

.container {
    margin-top: 15rem;
}
.shop-card {
    position: relative;
    width: 100%;
    max-width: 800px;
}
.shop-card-container {
    width: 100%;
    height: 6.4rem;
    padding: 0 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}
.shop-card-arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 6.4rem;
    height: 6.4rem;
    border: none;
    border-radius: 5px;
    background-color: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="submit"] {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
    cursor: pointer;
    outline: inherit;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .shop-card {
        width: 90%;
    }
}
.shop-name {
    padding-left: 3.6rem;
    background-image: url("./images/search.svg");
    background-repeat: no-repeat;
    background-position: 1.6rem center;
    background-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    height: 2rem;
    box-sizing: border-box;
    vertical-align: middle;
}
/*  */
.select-wrapper {
    position: relative;
    display: inline-block;
}

.select-wrapper input {
    padding-right: 2.6rem;
    cursor: pointer;
    padding-right: 2rem;
}

.select-wrapper .dropdown-icon {
    position: absolute;
    top: 50%;
    right: 0.8rem;
    right: 1.6rem;
    transform: translateY(-50%);
}

.select-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.6rem;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 0.6rem;
    background-image: url("./images/drop-down.svg");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
}
.logo img {
    max-width: 100%;
    height: auto;
}
.shop-card-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.15);
}
.shop-card-container:hover {
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
    opacity: 0.8;
}
.shop-card-arrow {
    width: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.map,
.area,
.shop,
.menu-brand-top,
.menu-brand-search {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.map a,
.area a,
.shop a,
.menu-brand-top a,
.menu-brand-search a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;
}
.area a.sp {
    display: none;
}
.nav ul li.shop,
.nav ul li.area {
    position: relative;
}
.div-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.div-link:hover + .item-name {
    opacity: 0.8;
}
.shop-card-container {
    display: flex;
}

.shop-card-container a {
    flex-grow: 1;
    padding: 2rem 0;
}

.shop-card + .shop-card {
    margin-top: 2rem;
}
input.shop-name {
    /* cursor: pointer; */
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .header .logo {
        margin-left: 0;
    }
}
@media screen and (max-width: 768px) {
    .header {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
    }
    .logo {
        height: auto;
        margin: 0;
        width: 19.8rem;
    }
    .map,
    .area,
    .shop {
        width: 30%;
      
    }
    .menu-brand-top {
        min-width: 30% !important;
        max-width: 30% !important;
      
    }
    .menu-brand-search {
        min-width: 70% !important;
        max-width: 70% !important;
    }
    .map a,
    .area a,
    .shop a,
    .menu-brand-top a,
    .menu-brand-search a {
        display: inline-block;
        justify-content: start;
        align-items: center;

        width: 100%;
        height: 100%;
        margin: 1.4rem 1.7rem;
    }
    .shop-card-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .shop-card-arrow {
        width: 5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .logo {
        margin-top: 1.4rem;
        margin-bottom: 1.4rem;
    }
    .logo img {
        width: auto;
    }
    .nav li {
        padding: 0;
    }
    .nav ul li {
        border-top: 1px solid #ccc;
        font-size: 1.4rem;
    }
    .nav ul li.area,
    .nav ul li.menu-brand-search {
        border-right: 1px solid #ccc;
    }
    .select-wrapper.pc {
        display: none;
    }
    .container {
        margin-top: 16rem;
    }
    .area > span,
    .shop > span {
        margin-right: 0;
    }
    .header {
        padding-left: 0;
    }
    .sp-search {
        width: 90%;
        margin-bottom: 2.4rem;
    }
    .sp-search input[type="text"].shop-name {
        width: 100%;
    }
    a.div-link {
        margin: 0;
    }
}
