@charset "UTF-8";
/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.4
*/
.horse-racing-list{margin:20px 0}.race-list{list-style:none;padding:0;margin:0}.race-item{display:flex;gap:20px;padding:15px;margin-bottom:15px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.1);transition:box-shadow .3s ease}.race-item:hover{box-shadow:0 4px 8px rgba(0,0,0,.15)}.race-date{flex-shrink:0;font-size:14px;font-weight:700;color:#d32f2f;padding:10px;background:#ffebee;border-radius:6px;text-align:center;min-width:100px}.race-info h3{margin:0 0 10px;font-size:18px}.race-info h3 a{color:#333;text-decoration:none;transition:color .3s}.race-info h3 a:hover{color:#1976d2}.race-meta{margin:0;color:#666;font-size:14px}.race-meta span{margin-right:15px;display:inline-block}.racecourse{color:#1976d2;font-weight:600}.today-races{margin:30px 0;padding:20px;background:#f5f5f5;border-radius:10px}.today-races h2{margin-top:0;color:#d32f2f;border-bottom:3px solid #d32f2f;padding-bottom:10px}.race-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin-top:20px}.race-card{background:#fff;padding:15px;border-radius:8px;border-left:4px solid #1976d2;box-shadow:0 2px 4px rgba(0,0,0,.1);transition:transform .3s ease}.race-card:hover{transform:translateY(-3px);box-shadow:0 4px 8px rgba(0,0,0,.15)}.race-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #e0e0e0}.race-time{font-size:16px;font-weight:700;color:#d32f2f}.race-card h3{margin:10px 0;font-size:16px}.race-card h3 a{color:#333;text-decoration:none}.race-card h3 a:hover{color:#1976d2}.race-card-meta{color:#666;font-size:13px}.race-card-meta span{margin-right:10px}.horse-racing-horses{margin:20px 0}.horse-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}.horse-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,.1);transition:transform .3s ease}.horse-card:hover{transform:translateY(-5px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.horse-thumbnail{width:100%;overflow:hidden;background:#f5f5f5}.horse-thumbnail img{width:100%;height:200px;object-fit:cover;transition:transform .3s ease}.horse-card:hover .horse-thumbnail img{transform:scale(1.05)}.horse-info{padding:15px}.horse-info h3{margin:0 0 10px;font-size:18px}.horse-info h3 a{color:#333;text-decoration:none}.horse-info h3 a:hover{color:#1976d2}.horse-gender{margin:5px 0;color:#666;font-size:14px}.horse-trainer{margin:5px 0;color:#888;font-size:13px}.horse-racing-predictions{margin:20px 0}.prediction-list{list-style:none;padding:0;margin:0}.prediction-item{display:flex;gap:20px;padding:20px;margin-bottom:20px;background:#fff;border:1px solid #e0e0e0;border-radius:10px;box-shadow:0 2px 4px rgba(0,0,0,.08);transition:box-shadow .3s ease}.prediction-item:hover{box-shadow:0 4px 10px rgba(0,0,0,.12)}.prediction-thumbnail{flex-shrink:0}.prediction-thumbnail img{width:150px;height:150px;object-fit:cover;border-radius:8px}.prediction-content{flex:1}.prediction-content h3{margin:0 0 10px;font-size:20px}.prediction-content h3 a{color:#333;text-decoration:none}.prediction-content h3 a:hover{color:#1976d2}.prediction-racecourse{display:inline-block;padding:4px 12px;margin:5px 0;background:#1976d2;color:#fff;border-radius:4px;font-size:13px}.prediction-date{color:#888;font-size:13px;margin:5px 0}.prediction-excerpt{margin-top:10px;color:#666;line-height:1.6}.grade-badge{display:inline-block;padding:4px 10px;border-radius:4px;font-size:12px;font-weight:700;color:#fff;margin-left:5px}.grade-g1{background:#d32f2f}.grade-g2{background:#1976d2}.grade-g3{background:#388e3c}.track-condition{display:inline-block;padding:2px 8px;border-radius:3px;font-size:12px;font-weight:500}.track-良{background:#e8f5e9;color:#2e7d32}.track-稍重{background:#fff3e0;color:#ef6c00}.track-重{background:#fff9c4;color:#f57f17}.track-不良{background:#ffebee;color:#c62828}@media screen and (max-width:1023px){.race-cards{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.horse-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}}@media screen and (max-width:834px){.race-item{flex-direction:column;gap:10px}.race-date{width:100%;text-align:left}.race-cards{grid-template-columns:1fr}.horse-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.prediction-item{flex-direction:column}.prediction-thumbnail img{width:100%;height:auto}}@media screen and (max-width:480px){.race-item{padding:10px}.race-info h3{font-size:16px}.race-meta{font-size:12px}.today-races{padding:15px}.race-card{padding:12px}.horse-grid{grid-template-columns:1fr}.prediction-item{padding:15px}.prediction-content h3{font-size:16px}}