/* 1行、末尾に… */
.single-line-ellipsis {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 最大2行、末尾に… */
.two-line-ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.slide {
    opacity: 0;
    transition: opacity 400ms ease;
}

.slick-prev,
.slick-next {
    z-index: 100;
}

.slick-prev:before,
.slick-next:before {
    color: #333 !important;
}

.slick-prev {
    left: -15px !important;
}

.slick-next {
    right: -15px !important;
}

/* 最近見たお店 */
.recent-slide {
    opacity: 0;
}

.recent-card {
    background-color: white;
    border-radius: 10px;
    margin: 0 .75rem;
    padding: 1rem;
    text-decoration: none;
}

.recent-card .top {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.recent-card .bottom {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-top: 10px;
}

.recent-card .thumb {
    flex: 0 0 100px;
    height: 70px;
    overflow: hidden;
    border-radius: 6px;
}

.recent-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-card .info {
    flex: 1;
    min-width: 0;
}

.recent-card .txt {
    margin: 0;
    font-weight: 700;
    color: #000;
    font-size: .8rem;
    line-height: 1.3;
}

/* 評価星 */
.rating-row {
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
    font-family: inherit;
}

.rating-icon {
    border-radius: unset !important;
    width: 16px !important;
    height: 16px !important;
    display: inline-block;
    object-fit: contain;
    flex: 0 0 16px;
    vertical-align: middle;
}

.stars-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
    margin-top: 5px;
}

.star-wrap {
    position: relative;
    height: 24px;
    line-height: 0;
    display: inline-block;
    flex: 0 0 auto;
}

.stars-bg {
    display: block;
    height: 24px;
}

.stars-fg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.stars-fg-svg {
    display: block;
    height: 24px;
}

.rating-value {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 1px;
}

.review-pc-txt {
    display: -webkit-box;
    margin-bottom: 10px;
    padding-bottom: 0px !important;
}

.review-sp-txt {
    display: none;
}

.reviewLt img {
    aspect-ratio: 320/214;
    object-fit: cover;
}

.detailMenu li img,
.detailMain .ph>img,
.restaurant-slide-item>img,
.itemInfo img,
.menuItem img,
.menuPhotoLi li img {
    aspect-ratio: 295/166;
    object-fit: cover;
}

.reviewCard li a {
    text-decoration: none;
}

img.ad {
    aspect-ratio: 724/170;
    max-width: 724px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

img.ad-side {
    aspect-ratio: 380/260;
    object-fit: cover;
}

.infoTb {
    width: 100%;
}

.pre-wrap {
    white-space: pre-wrap;
}

.pointer {
    cursor: pointer;
}

/* モーダル */
body.modal-open {
    overflow: hidden;
}

.modal-overlay {
    align-items: center;
    background: rgba(0, 0, 0, .5);
    display: none;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 10000;
}

.modal-overlay.is-open {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    max-height: 80vh;
    max-width: 600px;
    overflow-y: auto;
    padding: 1.25rem;
    width: 100%;
}

.modal-header {
    display: flex;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: auto;
}

.p-none {
    padding: unset;
}

.sideModalArea ul li select {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    width: 100%;
    min-height: 56px;
    font-size: 110%;
    color: #666;
    padding: 10px 15px;
    border: 3px solid #e8e3e3;
    border-radius: 10px;
    box-sizing: border-box;
}

.sideBnArea {
    margin-top: 40px;
}

.reviewItem h3 a {
    color: #444;
}

.reviewCard li>a>dl>dd p.txt {
    height: 40px;
}

.review-body {
    margin-bottom: 10px;
    margin-top: 10px;
}

.review-images {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.review-images img {
    aspect-ratio: 1 / 1;
    cursor: pointer;
    object-fit: cover;
    border-radius: 4px;
    width: 32%;
}

.review-images img:hover {
    opacity: .5;
}

.review-scores {
    margin-bottom: 10px;
}

/* 絞り込み */
#filterLink,
#reserveLink {
    bottom: 80px;
    display: none;
    position: fixed;
    right: 10px;
    z-index: 500;
}

.buttonRow {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.modalButton {
    border-radius: 10px;
    flex: 1 1 100%;
    font-size: 110%;
    min-height: 56px;
}

.modalButton:disabled {
    background-color: #aaa !important;
    border: 3px solid #aaa !important;
    pointer-events: none;
}

.modalButton.submit {
    background-color: #f99c9d;
    border: 3px solid #f99c9d;
    color: #fff;
}

.modalButton.reset {
    background-color: white;
    border: 3px solid #444;
    color: #444;
}

#filterSearchButton:hover,
#filterResetButton:hover {
    opacity: 0.7;
}

#openModal.active {
    color: #4f6fbf;
    font-weight: bold;
}

#openModal.active>img {
    filter: brightness(0) saturate(100%) invert(45%) sepia(70%) saturate(300%) hue-rotate(190deg) brightness(110%);
}

/* 利用規約 */
.terms-nav {
    border-radius: 6px;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 24px 0 32px;
}

.terms-nav a {
    background-color: #cde9ed;
    border-radius: 4px;
    color: #333;
    flex: 1;
    font-weight: 600;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    transition: background-color .1s, color .1s;
}

.terms-nav a:hover {
    opacity: .5;
}

h2.terms-divider {
    background: #f5f5f5;
    border-left: 6px solid #cb9c59;
    font-size: 18px;
    margin: 64px 0 32px;
    padding: 16px;
    position: relative;
}

h2.terms-divider::after {
    content: none;
}

#resetBtn {
    background: none;
    border: none;
    color: #777;
    padding: 0;
    text-decoration: underline;
}

#resetBtn:hover {
    color: #333;
}

.sortLi label a {
    color: inherit;
    text-decoration: none;
}

.p-0 {
    padding: 0px !important;
}

.d-block {
    display: block;
}

.shop-name-container {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.shop-name-container>div {
    align-items: center;
    display: flex;
    gap: 10px;
}

.shop-name-container>div>h1 {
    margin-bottom: 0px !important;
}

.share-icon {
    border-radius: unset !important;
    cursor: pointer;
    height: 29px !important;
    object-fit: contain !important;
    width: 21px !important;
}

.share-icon:hover {
    opacity: 0.7;
}

.closed-badge {
    background-color: #777;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    margin-top: 3px;
    padding: 2px 15px;
}

.hidden {
    display: none;
}

.user-initial {
    align-items: center;
    background-color: #e7afb0;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    font-size: 14px;
    height: 34.17px;
    justify-content: center;
    width: 34.17px;
}

.user-container {
    align-items: center;
    background: unset !important;
    display: flex;
    gap: 20px;
    min-height: 55px;
    padding: 0px !important;
}

.user-icon {
    font-size: 20px;
    height: 55px;
    width: 55px;
}

.sideSearchArea ul li.scbtn a.link-button {
    background-color: #f99c9d;
    border: 3px solid #f99c9d;
    border-radius: 10px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 110%;
    font-weight: bold;
    min-height: 56px;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    width: 80%;
    white-space: nowrap;
}

a.review-link-button {
    align-items: center;
    background-color: #f99c9d;
    border: 3px solid #f99c9d;
    border-radius: 10px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 110%;
    font-weight: bold;
    justify-content: center;
    min-height: 56px;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    width: 70%;
}

@media screen and (max-width: 900px) {
    #filterLink {
        display: block;
    }
}

/* ========== ----- スマホ ----- ========== */
@media screen and (max-width: 780px) {
    .review-pc-txt {
        display: none;
    }

    .review-sp-txt {
        display: -webkit-box;
    }

    .reviewFormArea .score-grid {
        grid-template-columns: 1fr !important;
    }

    #reserveLink {
        display: block;
    }

    .user-container {
        gap: 10px;
        min-height: 35px;
    }

    .user-icon {
        font-size: 14px;
        height: 35px;
        width: 35px;
    }

    a.review-link-button {
        width: 80%;
    }
}