/* おもココマップ - 店舗リストヘッダー + エリアクチコミセクション */

.omm-shop-list-header {
    max-width: 815px;
    margin: 0 auto 25px;
    padding: 22px 10px 0;
}
.omm-shop-list-title {
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    color: #393939;
    margin-bottom: 10px;
    font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro";
}
@media screen and (max-width: 1060px) {
    .omm-shop-list-header { padding-top: 0; }
}
@media screen and (min-width: 1061px) {
    .omm-shop-list-title { font-size: 28px; margin-bottom: 18px; }
}
.omm-shop-list-desc {
    font-size: 12px;
    line-height: 1.8;
    color: #666;
    text-align: left;
}

.omm-reviews-section {
    max-width: 100%;
    margin: 0 0 50px;
    padding: 30px 15px 20px;
    background: #fff;
}

.omm-reviews-title {
    text-align: center;
    font-size: 34px;
    font-weight: 400;
    color: #393939;
    margin-bottom: 2px;
    line-height: 38px;
    font-family: "ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro";
}

.omm-reviews-subtitle {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.omm-reviews-scroll-wrap {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.omm-cards-nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.9);
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    color: #333;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.omm-cards-prev { left: -20px; }
.omm-cards-next { right: -20px; }
.omm-cards-nav:hover { background: #fff; border-color: #999; }

@media screen and (min-width: 769px) {
    .omm-cards-nav { display: block; }
}

.omm-reviews-cards {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 15px 8px;
    scrollbar-width: none;
}
.omm-reviews-cards::-webkit-scrollbar { display: none; }

.omm-review-card {
    flex: 0 0 300px;
    min-width: 260px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* 写真エリア */
.omm-review-photo {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    overflow: hidden;
}

.omm-review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.omm-review-photo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.8);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.omm-review-photo-nav.prev { left: 6px; }
.omm-review-photo-nav.next { right: 6px; }
.omm-review-photo-nav:hover { background: #fff; }

/* 題名 */
.omm-review-title-text {
    padding: 10px 12px 2px;
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

/* 著者情報 */
.omm-review-author {
    display: flex;
    align-items: center;
    padding: 4px 12px 4px;
    gap: 8px;
}

.omm-review-author .omm-review-time {
    font-size: 11px;
    color: #888;
    margin-left: 8px;
}

.omm-review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ddd;
    flex-shrink: 0;
}

.omm-review-name {
    font-size: 13px;
    font-weight: bold;
    color: #333;
}

/* 評価・日付 */
.omm-review-meta {
    padding: 0 12px 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.omm-review-stars {
    color: #FBBC04;
    font-size: 13px;
    letter-spacing: 1px;
}

.omm-review-time {
    font-size: 11px;
    color: #888;
}

/* テキスト */
.omm-review-text {
    padding: 4px 12px 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #444;
    max-height: 120px;
    overflow-y: auto;
}

/* 投稿ボタン */
.omm-share-btn-wrap {
    text-align: center;
    margin-top: 45px;
    padding-bottom: 40px;
}

.omm-share-btn {
    display: inline-block;
    background: #fff;
    color: #333;
    border: 2px solid #3ea220;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s;
    font-family: 'Yu Gothic', YuGothic, 'Hiragino Kaku Gothic ProN', sans-serif;
}

.omm-share-btn:hover {
    background: #3ea220;
    color: #fff;
}

/* ユーザー投稿バッジ */
.omm-review-badge {
    display: inline-block;
    background: #3ea220;
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

/* スマホ: 横スクロール */
@media screen and (max-width: 1060px) {
    .omm-reviews-title {
        font-size: 25px;
        line-height: 32px;
    }
}

@media screen and (max-width: 768px) {
    .omm-reviews-cards {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        padding-left: 15px;
    }

    .omm-review-card {
        flex: 0 0 85%;
        min-width: 260px;
        scroll-snap-align: start;
    }
}

@media screen and (max-width: 480px) {
    .omm-review-card {
        flex: 0 0 88%;
    }
}

/* ========== 投稿フォームモーダル ========== */
.omm-post-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.omm-post-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.omm-post-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #eee;
}

.omm-post-modal-title {
    font-size: 17px;
    font-weight: bold;
    color: #333;
}

.omm-post-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    padding: 0 4px;
}

.omm-post-field {
    padding: 12px 20px 0;
}

.omm-post-field label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #555;
    margin-bottom: 4px;
}

.omm-post-field input[type="text"],
.omm-post-field input[type="date"],
.omm-post-field textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.omm-post-field textarea {
    resize: vertical;
}

.omm-post-field input[type="file"] {
    font-size: 13px;
}

.omm-post-charcount {
    text-align: right;
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.omm-photo-preview {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.omm-photo-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.omm-post-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px 20px;
}

.omm-post-cancel {
    background: #fff;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
}

.omm-post-submit {
    background: #3ea220;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.omm-post-submit:hover { background: #358a1b; }
.omm-post-submit:disabled { background: #aaa; cursor: default; }

.omm-post-success {
    padding: 40px 20px;
    text-align: center;
    font-size: 15px;
    color: #3ea220;
    font-weight: bold;
}
