#recently-shops {
    margin-bottom: 53.5px;
    width: 100%;
}

.campaign-banner + #recently-shops {
    margin-top: 80px;
}

#recently-shops h2 {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #454545;
    margin: 0 calc(50% - 490px) 30px;
}

#recently-shops h2 img.icon {
    margin-right: 15px;
}

#recently-shops ul.region {
    display: flex;
    border: 1px solid #E4E4E4;
    border-radius: 5px;
    margin: 0 calc(50% - 490px) 0;
}

#recently-shops ul.region > li {
    width: calc(980px / 6);
    height: 41px;
    line-height: 41px;
    border-right: 1px solid #E4E4E4;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

#recently-shops ul.region > li:last-of-type {
    border-right: none;
}

#recently-shops ul.region > li.disabled {
    background: #E4E4E4;
    color: white;
    cursor: unset;
}

#recently-shops ul.region > li:not(.disabled):hover {
    color: #7E7E7E;
}

#recently-shops ul.prefs {
    display: none;
    justify-content: center;
}

#recently-shops ul.prefs.active {
    display: flex;
}

#recently-shops ul.prefs > li {
    position: relative;
    font-size: 16px;
    padding: 22px 17px 19px;
    line-height: 1;
    cursor: pointer;
    font-weight: bold;
}

#recently-shops ul.prefs > li.disabled {
    color: #E4E4E4;
    cursor: default;
}

#recently-shops ul.prefs > li:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 0;
    width: 0;
    transition: width 0.2s linear;
    transform: translateX(-50%);
}

#recently-shops ul.prefs > li.active:after,
#recently-shops ul.prefs > li:not(.disabled):hover:after {
    width: 80%;
}

#recently-shops .shops {
    display: none;
    padding: 40px 0 35px;
}

#recently-shops .shops.active {
    display: block;
}

#recently-shops .shops[data-pref-id="0"] {
    margin-top: 25px;
    padding-bottom: 20px;
}

#recently-shops .shops .shop-list {
    display: flex;
    width: 980px;
    margin: 0 calc(50% - 490px) 30px;
}

#recently-shops .shops ul.shop-list li {
    width: 184px;
    background: white;
    margin-right: 15px;
    cursor: pointer;
}

#recently-shops .shops ul.shop-list li:nth-last-of-type(1) {
    margin-right: 0;
}

#recently-shops .shops ul.shop-list li:hover {
    opacity: 0.8;
}

#recently-shops .shops ul.shop-list li a {
    display: block;
    padding-bottom: 10px;
}

#recently-shops .shops ul.shop-list li .shop-img {
    display: flex;
    width: 100%;
    height: 80px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

#recently-shops .shops ul.shop-list li .shop-img img {
    max-width: 100%;
    max-height: 100%;
}

#recently-shops .shops ul.shop-list li .shop-title {
    padding: 0 10px;
    font-size: 11px;
    line-height: 15px;
    height: 31px;
    margin-bottom: 7px;
    font-weight: bold;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#recently-shops .shops ul.shop-list li .shop-name {
    font-size: 11px;
    line-height: 15px;
    margin-bottom: 3px;
    padding: 0 10px;
    font-weight: bold;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

#recently-shops .shops ul.shop-list li .shop-biz-type {
    font-size: 10px;
    line-height: 12px;
    color: #989898;
    padding: 0 10px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#recently-shops .shops > a.see-more {
    display: none;
    width: 240px;
    height: 53px;
    line-height: 53px;
    text-align: center;
    background: white;
    border-radius: 40px;
    margin: 0 calc(50% - 120px);
    font-weight: bold;
    cursor: pointer;
}

#recently-shops .shops > a.see-more.active {
    display: block;
}

/* 体入 */
#recently-shops.tainyu ul.region > li.active {
    background: #FF6C38;
    color: white;
}

#recently-shops.tainyu ul.prefs > li:after {
    border-bottom: 3px solid #FF6C38;
}

#recently-shops.tainyu .shops {
    background: #FFEAD6;
}

#recently-shops.tainyu .shops > a {
    border: 1px solid #FF6C38;
    color: #FF6C38;
}

#recently-shops.tainyu .shops > a:hover {
    background: #FF6C38;
    color: white;
}

/* 未経験 */
#recently-shops.mikeiken ul.region > li.active {
    background: #9FE20C;
    color: white;
}

#recently-shops.mikeiken ul.prefs > li:after {
    border-bottom: 3px solid #9FE20C;
}

#recently-shops.mikeiken .shops {
    background: #E9F7C6;
}

#recently-shops.mikeiken .shops > a {
    border: 1px solid #9FE20C;
    color: #9FE20C;
}

#recently-shops.mikeiken .shops > a:hover {
    background: #9FE20C;
    color: white;
}

/* 人妻 */
#recently-shops.otonajoshi ul.region > li.active {
    background: #EB54A0;
    color: white;
}

#recently-shops.otonajoshi ul.prefs > li:after {
    border-bottom: 3px solid #EB54A0;
}

#recently-shops.otonajoshi .shops {
    background: #FFE3F0;
}

#recently-shops.otonajoshi .shops > a {
    border: 1px solid #EB54A0;
    color: #EB54A0;
}

#recently-shops.otonajoshi .shops > a:hover {
    background: #EB54A0;
    color: white;
}

/* 出稼 */
#recently-shops.dekasegi ul.region > li.active {
    background: #69CEFB;
    color: white;
}

#recently-shops.dekasegi ul.prefs > li:after {
    border-bottom: 3px solid #69CEFB;
}

#recently-shops.dekasegi .shops {
    background: #DDF4FF;
}

#recently-shops.dekasegi .shops > a {
    display: none;
    border: 1px solid #69CEFB;
    color: #69CEFB;
}

#recently-shops.dekasegi .shops > a.active {
    display: block;
}

#recently-shops.dekasegi .shops > a:hover {
    background: #69CEFB;
    color: white;
}