@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/



/* 口コミ全体のコンテナ */
.review-container {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

/* 口コミカード本体 */
.review-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


/* クチコミカード内の右下リンク設定 */
.review-card {
    position: relative; /* 右下固定の基準点 */
    padding-bottom: 50px !important; /* ボタンが入るスペースを確保 */
}

/* リンクボタン本体 */
.rc-link-to-report {
    position: absolute;
    right: 20px;
    bottom: 15px;
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: #fff;
    color: #2e6c2f !important; /* 的中緑 */
    border: 1.5px solid #2e6c2f;
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ホバー時に緑背景×白文字に反転 */
.rc-link-to-report:hover {
    background: #2e6c2f;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(46, 108, 47, 0.2);
}

/* スマホでの位置微調整 */
@media screen and (max-width: 599px) {
    .review-card {
        padding-bottom: 60px !important; /* スマホは少し余裕を持たせる */
    }
    .rc-link-to-report {
        right: 15px;
        bottom: 12px;
        font-size: 0.8em;
    }
}
/* サイト名（リンク部分） */
.rc-site {
    margin-bottom: 8px;
}

.rc-site a {
    display: inline-block;
    background: #f0f2f5;
    color: #333;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    text-decoration: none;
}

/* タイトル・星・NEWバッジの行 */
.rc-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.rc-title-row strong {
    font-size: 1.1em;
    color: #333;
}

/* 星評価画像 */
.rc-title-row img {
    height: 20px;
    width: auto !important; /* functions.phpのwidth設定を上書き */
    vertical-align: middle;
}

/* NEWバッジ */
.rc-badge--new {
    background: #ff9900; /* ボタンと同じオレンジ */
    color: #fff;
    font-size: 0.75em;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    animation: pulse 2s infinite;
}

/* 口コミ本文 */
.rc-excerpt {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* ページネーション */
.review-pager {
    margin-top: 30px;
    text-align: center;
}

.review-pager ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    gap: 5px;
}

.review-pager a, .review-pager .is-active {
    display: block;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.review-pager a.is-active, .review-pager a:hover {
    background: #0066cc; /* 検証結果と同じ青 */
    color: #fff;
    border-color: #0066cc;
}

/* NEWバッジの点滅アニメーション（目立たせたい場合） */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* 画像がある場合のカードレイアウト */
.review-card.has-thumb {
    display: flex;
    gap: 15px;
}

.rc-thumb {
    flex: 0 0 100px; /* 画像の幅を固定 */
    max-width: 100px;
}
/*
.rc-thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover; 
    border-radius: 4px;
}*/

.rc-thumb img {
    width: 100%;
    height: auto;
    object-fit: contain; /* 画像を切らずに全体を表示 */
    border-radius: 4px;
}
/* ★スマホでは横並びを解除して、画像を大きく見せる */
@media screen and (max-width: 599px) {
    .review-card.has-thumb {
        display: block; /* 横並び(flex)を解除 */
    }
    .rc-thumb {
        max-width: 100%; /* 横幅の制限を解除 */
        margin-bottom: 15px; /* 下の文字との間に余白を作る */
    }
    .rc-thumb img {
        width: 100%;    /* 画像を横いっぱいに広げる */
        height: auto;   /* 高さは画像に合わせて自動調整 */
        max-height: none; /* 高さを制限しない */
		 border: 1px solid #eee; /* 画像に薄い枠線をつけると、白い画像でも背景に埋もれません */
    }
}

/* スマホでは縦並びにする
@media screen and (max-width: 599px) {
    .review-card.has-thumb {
        flex-direction: column;
    }
    .rc-thumb {
        flex: 0 0 auto;
        max-width: 100%;
    }
    .rc-thumb img {
        height: auto;
        max-height: 200px;
    }
} 
*/
/* ライトボックス（拡大画面）のレイアウト修正 */
.lum-lightbox {
    z-index: 99999 !important;
    position: fixed !important;
    top: 0;
    left: 0;
}

/* ページネーションの「…」の調整 */
.review-pager .pager-ellipsis {
    padding: 8px 10px;
    color: #999;
    list-style: none;
    display: inline-block;
}

/* 画像クリック時のカーソル */
.rc-thumb a {
    display: block;
    cursor: zoom-in;
}

/* サイドバー口コミのスタイル */
.sidebar-reviews {
    background: #fff;
}

.sd-review-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

.sd-review-item:last-child {
    border-bottom: none;
}

.sd-site-name {
    font-size: 0.85em;
    font-weight: bold;
    margin-bottom: 4px;
}

.sd-site-name a {
    color: #0066cc;
    text-decoration: none;
}

.sd-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.sd-stars {
    height: 14px;
    width: auto;
}

.sd-date {
    font-size: 0.75em;
    color: #999;
}

.sd-text {
    font-size: 0.8em;
    line-height: 1.4;
    color: #444;
    margin: 0;
}

/* サイドバーの退会ボタンエリア */
.side-btn-area {
    margin: 20px 0;
    text-align: center;
}

/* ボタン本体 */
.btn-cancel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: #f8f9fa; /* 薄いグレー */
    color: #666 !important; /* 文字色は落ち着いたグレー */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 0 #ececec; /* わずかな立体感 */
}

/* ホバー（マウスを乗せた時）の動き */
.btn-cancel:hover {
    background: #f0f0f0;
    transform: translateY(1px);
    box-shadow: none;
    color: #333 !important;
}

/* アイコン（矢印）の調整 */
.btn-cancel i {
    margin-right: 8px;
    font-size: 0.8em;
    color: #999;
}

/* サイドバーボタン共通エリア */
.side-uma-area {
    margin-bottom: 15px;
}

/* ボタン基本設定 */
.btn-uma {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    border-radius: 8px;
    text-decoration: none !important;
    color: #fff !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
    box-shadow: 0 4px 0 rgba(0,0,0,0.1);
}

.btn-uma:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* 中央競馬（緑ストライプ） */
.btn-uma--central {
    background: #2e6c2f; /* 基本の緑 */
    background-image: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
}

/* 地方競馬（黄ストライプ） */
.btn-uma--local {
    background: #f1c40f; /* 基本の黄色 */
    background-image: linear-gradient(45deg, rgba(0,0,0,0.05) 25%, transparent 25%, transparent 50%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.05) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    color: #333 !important; /* 黄色は文字を黒くして読みやすく */
}

/* 円形アイコン部分 */
.uma-icon {
    background: rgba(255,255,255,0.9);
    color: #2e6c2f;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-uma--local .uma-icon {
    color: #f1c40f;
    background: #333;
}

/* テキスト部分 */
.uma-text {
    display: flex;
    flex-direction: column;
}

.uma-sub {
    font-size: 0.75em;
    font-weight: bold;
    opacity: 0.9;
}

.uma-main {
    font-size: 0.95em;
    font-weight: bold;
    line-height: 1.2;
}
/* --- 的中実績カードのデザイン --- */
.kachiuma-report-card {
    background: #fff;
    border: 2px solid #2e6c2f;
    border-radius: 12px;
    margin: 20px 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.report-header {
    background: #2e6c2f;
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-label-hit {
    background: #e74c3c;
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
}

.report-body {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
}

.report-image { flex: 1; min-width: 250px; }
.report-info { flex: 1; min-width: 250px; }

.report-info table { width: 100%; border-collapse: collapse; }
.report-info td { padding: 8px 10px; border-bottom: 1px solid #f0f0f0; }
.report-total-amount { font-size: 1.5em; font-weight: bold; color: #e74c3c; }


/* 管理人お墨付きボックス */
.admin-recommend-box {
    position: relative;
    margin: 40px 0 20px;
    padding: 25px 20px;
    border: 3px solid #2e6c2f;
    border-radius: 10px;
    background: #fff;
}
.admin-recommend-box::before {
    content: "管理人のガチ推奨";
    position: absolute;
    top: -18px;
    left: 20px;
    background: #e74c3c;
    color: #fff;
    padding: 2px 15px;
    font-weight: bold;
    border-radius: 5px;
}

.wpcr3_respond_2{
	display: block;
}

.wpcr3_show_btn, .wpcr3_cancel_btn{
	display: none;
}

/* サイドバー：最新の評判カードリスト */
.fc-side-reviews {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* カード本体：アクセントカラーを深い緑に変更 */
.fc-side-item {
    margin-bottom: 12px;
    background: #ffffff;
    border: 1px solid #e0e6e9;
    /* オレンジの代わりに「勝ち馬グリーン」を左側に配置 */
    border-left: 4px solid #2e6c2f; 
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.fc-side-item:hover {
    transform: translateX(3px);
    /* ホバー時は枠全体をグリーンに */
    border-color: #2e6c2f; 
    box-shadow: 0 4px 12px rgba(46, 108, 47, 0.15);
}

/* リンクエリア */
.fc-side-link-wrap {
    display: block;
    padding: 10px 12px;
    text-decoration: none !important;
}

/* サイト名：深い緑で統一 */
.fc-side-site-name {
    font-size: 13px;
    font-weight: bold;
    color: #2e6c2f; 
    margin-bottom: 4px;
}

/* 口コミ抜粋：清潔感のある薄いグレー背景 */
.fc-side-excerpt {
    font-size: 11px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 8px;
    padding: 8px;
    background: #f4f7f4; /* ほんのり緑がかった薄いグレー */
    border-radius: 4px;
    border: 1px solid #eef2ee;
}

/* 評価（星）と誘導テキスト */
.fc-side-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 星は「的中」の象徴としてオレンジのままにすると目立ちます */
.fc-side-stars {
    color: #ff9630; 
    font-size: 10px;
    letter-spacing: 1px;
}

/* 誘導テキスト：ここもグリーンで統一しつつ、ホバーで反転 */
.fc-side-btn-text {
    font-size: 10px;
    font-weight: bold;
    color: #2e6c2f;
    background: rgba(46, 108, 47, 0.08);
    padding: 2px 6px;
    border-radius: 3px;
}

.fc-side-item:hover .fc-side-btn-text {
    background: #2e6c2f;
    color: #fff !important;
}