



/* スライドの構造 */
.topics .slide-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    display: block;
}

.topics .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* スライドテキスト部分 */
.topics .slide-text {
    padding: 0.75rem 0.5rem; /* 12px 8px */
    background: var(--white);
    color: var(--main-black);
    box-sizing: border-box;
}

.topics .slide-text h2 {
    margin: 0 0 0.25rem; /* 0 0 4px */
    font-size: var(--font-sm); /* 14px */
    line-height: 1.4;
    font-weight: 700;
}

.topics .slide-text p {
    margin: 0 0.375rem 0 0; /* 0 6px 0 0 */
    display: inline-block;
    font-size: var(--font-xs); /* 12px */
}

.topics .slide-text .contentName {
    margin-right: 0.25rem; /* 4px */
    color: var(--orange);
}

.topics .slide-text time {
    background: rgba(255,255,255,0.2);
    padding: 0.125rem 0.375rem; /* 2px 6px */
    border-radius: 0.25rem; /* 4px */
    font-size: var(--font-xs); /* 12px */
    color: var(--global-gray-50);
}




/* レース速報タブセクション */
.race-news-tabs {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.race-news-tabs .section-header {
    margin-bottom: 0.75rem; /* 12px */
}

.race-news-tabs .section-title {
    display: flex;
    align-items: center;
    font-size: var(--font-md); /* 18px */
    font-weight: 700;
    color: #333;
    border: none;
}

.race-news-tabs .icon-megaphone {
    margin-right: 0.5rem; /* 8px */
    display: flex;
    align-items: center;
}

.race-news-tabs .icon-megaphone img {
    width: 1.5rem; /* 24px */
    height: 1.5rem; /* 24px */
}

.race-tabs-container {
    border-radius: 0.75rem; /* 12px */

}

.race-tabs-nav {
    display: flex;
    border-bottom: 4px solid #333;
    padding: 0 0.25rem;
    justify-content: center;
    align-items: center;
    gap: 0.5rem; /* 8px */
 }

.race-tab-btn {
    display: flex;
    padding: 0.625rem 1.875rem 0.8125rem; /* 10px 30px 13px */
    border-radius: 0.5rem 0.5rem 0 0; /* 8px 8px 0 0 */
    background: var(--global-gray-20);
    font-size: 0.9375rem; /* 15px */
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #333;
    cursor: pointer;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.race-tab-btn:hover {
    color: #333;
}

.race-tab-btn.active {
    color: var(--white);
    font-weight: 700;
    background: var(--menuBar-100);
}

.race-tab-content {
    display: none;
    padding: 0;
}

.race-tab-content.active {
    display: block;
}

.race-card {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    align-items: center;
    padding: 0.625rem 0; /* 10px 0 */
}

.race-card:last-child { border-bottom: none; }

.race-number-box {
    display: flex;
    width: 3.125rem; /* 50px */
    height: 3.125rem; /* 50px */
    padding: 0.25rem 0.125rem; /* 4px 2px */
    margin-right: 0.5rem; /* 8px */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
    border-radius: 0.3125rem; /* 5px */
    background-color: var(--primary);
}

.race-number-box.orange {
    border-radius: 0.3125rem; /* 5px */
    background: var(--newspaper-100, #FF6600);
}

.race-info-container {
    display: flex;
    flex: 1;
    justify-content: space-between;
}

.race-info-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.race-info-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.race-number-box .number {
    font-size: var(--font-base); /* 16px */
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.race-number-box .status {
    font-size: var(--font-sm); /* 14px */
    font-weight: bold;
    color: #fff;
}

.race-class {
    font-size: var(--font-md); /* 18px */
    font-weight: bold;
    color: #0052CC;
    margin-bottom: 0.3125rem; /* 5px */
}

.race-tab-content .race-name {
    font-size: var(--font-base); /* 16px */
    font-weight: 700;
    margin-bottom: 0.25rem; /* 4px */
    color: #0066cc;
}

.race-tab-content .race-details {
    font-size: var(--font-sm); /* 14px */
    color: #666;
    line-height: 1.4;
}

.race-tab-content .race-grade {
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem; /* 4px */
    color: #333;
}

.horse-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    font-size: var(--font-xs); 
    margin-top: 0.25rem; 
}

.horse-info .horse-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    line-height: 1rem;
    text-align: center;
    color: white;
    font-weight: bold;
    border-radius: 3px;
    font-size: var(--font-xs); /* 12px */
}

.horse-info .horse-name {
    font-size: var(--font-sm); /* 14px */
    font-weight: 600;
    color: #333;
}

.horse-position.red {
    background: #ffebee;
    color: #e53935;
}

.horse-position.blue {
    background: #e3f2fd;
    color: #1e88e5;
}

.weather-box {
    display: flex;
    align-items: center;
    padding: 2px 2px;
    margin-bottom: 0.3125rem; /* 5px */
    justify-content: center;
    border-radius: 0.375rem; /* 6px */
    font-size: var(--font-xs); /* 12px */
}

.track-condition {
    color: white;
    font-weight: bold;
    margin-left: 0.375rem; /* 6px */
    margin-right: 0.25rem; /* 4px */
    display: flex;
    align-items: center;
}

.weather-box.turf {
    border: 2px solid var(--turf);
    background: var(--turf);
}
.weather-box.dart {
    border: 2px solid var(--dart);
    background: var(--dart);
}

.weather-icon {
    margin-right: 0.25rem; /* 4px */
    background-color: var(--white);
    display: block;
    justify-content: center;
    border-radius: 0.25rem 0 0 0.25rem; /* 4px 0 0 4px */
    padding: 2px;
}

.weather-icon img {
    width: 1.125rem; /* 18px */
    height: 1.125rem; /* 18px */
    vertical-align: middle;
}

.race-time {
    display: flex;
    align-items: center;
    color: #666;
    font-size: var(--font-xs); /* 12px */
}

.race-time i {
    margin-right: 0.3125rem; /* 5px */
}

.icon-clock {
    display: inline-block;
    width: 0.75rem; /* 12px */
    height: 0.75rem; /* 12px */
    background-image: url('/img/common/clock-regular.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 0.25rem; /* 4px */
    filter: brightness(0) saturate(100%) invert(60%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(90%) contrast(90%);
}


.time-icon {
    margin-right: 0.375rem; /* 6px */
}

.race-buttons {
    display: flex;
    gap: 0.625rem; /* 10px */
}

.btn-forecast,
.btn-result {
    padding: 0.5rem 1rem; /* 8px 16px */
    border: none;
    border-radius: 0.375rem; /* 6px */
    font-size: 0.8125rem; /* 13px */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-forecast {
    background: #ffcc00;
    color: #333;
}

.btn-forecast:hover {
    background: #ffc107;
}

.btn-result {
    background: #f0f0f0;
    color: #666;
}

.btn-result:hover {
    background: #e0e0e0;
}

/* アイコンのスタイル調整 */
.icon-megaphone img,
.time-icon img {
    width: 1.125rem; /* 18px */
    height: 1.125rem; /* 18px */
    vertical-align: middle;
}

/* 開催場別レース一覧 */
.venue-race-list {
    padding: 0.9375rem 0.625rem; /* 15px 10px */
    background-color: #f5f5f5;
}



/* 日付カード */
.race-date-card {
    background-color: #ffffff;
    border-radius: 6.25rem; /* 100px */
    margin-bottom: 0.625rem; /* 10px */
    display: flex;
    align-items: center;
    padding: 0.625rem 1.25rem; /* 10px 20px */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.race-date-info {
    display: flex;
    align-items: center;
    margin-right: 2.5rem; /* 40px */
}

.race-date-card .race-date {
    font-size: var(--font-xl); /* 24px */
    font-weight: 700;
    color: #323f4c;
    font-family: 'Roboto', sans-serif;
    margin-right: 0.9375rem; /* 15px */
}

.race-day {
    width: 2.5rem; /* 40px */
    height: 2.5rem; /* 40px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-md); /* 18px */
}

.race-day.sat {
    background-color: #E8F7FF;
    color: #1A91E2;
}

.race-day.sun {
    background-color: #FEE3DD;
    color: #FF5A34;
}

.race-venues {
    display: flex;
    flex: 1;
    justify-content: space-around;
}

.race-date-card .race-venue {
    font-size: var(--font-md); /* 18px */
    font-weight: 600;
    color: #323f4c;

    cursor: pointer;
    border-radius: 0.3125rem; /* 5px */
    transition: all 0.2s ease;
}

.race-date-card .race-venue.active {
    color: #1A91E2;
    position: relative;
}

.race-date-card .race-venue.active::after {
    content: '';
    position: absolute;
    bottom: -0.3125rem; /* -5px */
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background-color: #1A91E2;
    border-radius: 3px;
}

/* 今週の注目レース */
.featured-race {
    padding: 0.9375rem 0.625rem; /* 15px 10px */
    background-color: #2c3540;
}

.featured-race .section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem; /* 20px */
}

.featured-race .section-title-container {
    display: flex;
    align-items: center;
}

.featured-race .section-title-bar {
    width: 4px;
    height: 1.25rem; /* 20px */
    background-color: #ff5a34;
    margin-right: 0.5rem; /* 8px */
    flex-shrink: 0;
}


.featured-race-card {
    background-color: var(--menuBar-100);
    border-radius: 0.625rem; /* 10px */
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    color: var(--white);
    margin-top: 1rem;
}

/* レースヘッダー */
.featured-race .race-header {
    display: flex;
    padding: 0;
    background-color: var(--white);
    padding: 0.625rem; /* 10px */
    border-radius: 0.625rem; /* 10px */
    margin-bottom: 1rem; /* 16px */
}

.race-date-venue {
    background-color: var(--primary);
    color: white;
    padding: 0.625rem; /* 10px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 5rem; /* 80px */
    height: 5rem; /* 80px */
    border-radius: 0.625rem; /* 10px */
    margin-right: 1rem; /* 16px */
}

.race-date-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.featured-race-card .race-date {
    font-size: var(--font-base); /* 16px */
    font-weight: 700;
    margin-bottom: 0.3125rem; /* 5px */
    text-align: center;
}

.race-venue-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--font-md); /* 18px */
    font-weight: 700;
    line-height: 1.2;
}

.featured-race-card .race-info {
    flex: 1;
    padding: 0.9375rem; /* 15px */
}

.race-title {
    display: flex;
    align-items: center;
    margin-bottom: 0.3125rem; /* 5px */
}

.featured-race .race-name {
    font-size: var(--font-lg); /* 20px */
    font-weight: 700;
    color: #2944c3;
    margin: 0;
    margin-right: 0.625rem; /* 10px */
    display: inline-block;
}

.featured-race .race-grade {
    background-color: #00c853;
    color: white;
    font-weight: 700;
    padding: 0.1875rem 0.625rem; /* 3px 10px */
    border-radius: 0.9375rem; /* 15px */
    font-size: var(--font-sm); /* 14px */
}

.featured-race .race-details {
    font-size: var(--font-sm); /* 14px */
    color: #333;
    line-height: 1.2;
}

.race-course {
    margin-bottom: 3px;
}

/* レース画像 */
.race-image {
    width: 100%;
    aspect-ratio: 16/9;
}

.race-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* オッズ情報 */
.race-odds {
    padding: 0.9375rem; /* 15px */
}

.odds-title {
    font-size: var(--font-base); /* 16px */
    font-weight: 700;
    margin-bottom: 5px; /* 10px */
    font-size: 18px;
    border-bottom: 1px solid #ccc;
}

.odds-list {
    display: flex;
    flex-direction: column;
    
   
}

.odds-item {
    display: flex;
    align-items: center;
}

.odds-rank {
    width: 1.25rem; /* 20px */
    font-size: var(--font-base); /* 16px */
    font-weight: 700;
    color: var(--white);
}

.odds-number {
    width: 1.875rem; /* 30px */
    height: 1.875rem; /* 30px */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    border-radius: 0.3125rem; /* 5px */
    margin-right: 0.625rem; /* 10px */
}

.odds-number-3 { background-color: #ff5252; }
.odds-number-4 { background-color: #3f51b5; }
.odds-number-18 { background-color: #e91e63; }

.odds-horse-name {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}

.odds-value {
    font-size: 15px;
    font-weight: 700;
    color: #ffb300;
}

/* リンクボタン */
.race-links {
    display: flex;
    justify-content: space-between;
    padding: 0.9375rem; /* 15px */
}

.race-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    width: 22%;
    border-radius: 0.375rem; /* 6px */
    background-color: var(--white);
    padding: 0.5rem; /* 10px */
    line-height: 1;
}

.race-link-icon {
    width: 2.5rem; /* 40px */
    height: 2.5rem; /* 40px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.3125rem; /* 5px */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


.race-link-icon-race-card { background-image: url('/img/icons/ico_article.svg'); }
.race-link-icon-web { background-image: url('/img/icons/ico_paper.svg'); }
.race-link-icon-salon { background-image: url('/img/icons/ico_salon.svg');
width: 3.5rem;
}
.race-link-icon-pdf { background-image: url('/img/icons/ico-pdf.svg'); width: 3rem;}

.race-link-text {
    font-size: var(--font-xs); /* 12px */
    font-weight: 600;
    text-align: center;
}

/* トピックスセクション */
.topics-section {
    padding: 0.9375rem 0.625rem; /* 15px 10px */
    background-color: var(--white);
}

.webpaper-section {
    padding: 0.9375rem 0.625rem; /* 15px 10px */
    background-color: var(--white);
}



/* SNSセクション */
.sns-section {
    padding: 0.9375rem 0.625rem; /* 15px 10px */
    background-color: var(--white);
}

.sns-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem; /* 20px */
}

.sns-section .section-title-container {
    display: flex;
    align-items: center;
}

.sns-section .section-title-bar {
    width: 4px;
    height: 1.25rem; /* 20px */
    background-color: #ff5a34;
    margin-right: 0.5rem; /* 8px */
    flex-shrink: 0;
}

.sns-section .section-title {
    font-size: var(--font-md); /* 18px */
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--black);
    margin: 0;
    line-height: 1.2;
}

.sns-list {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem; /* 15px */
}

/* X埋め込み */
.twitter-embed {
    background-color: #fff;
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem; /* 16px */
    margin-bottom: 1.875rem; /* 30px */
    max-width: 31.25rem; /* 500px */
    margin-left: auto;
    margin-right: auto;
}

.tweet-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tweet-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem; /* 12px */
}

.tweet-profile {
    display: flex;
    align-items: center;
}

.profile-image {
    width: 3rem; /* 48px */
    height: 3rem; /* 48px */
    border-radius: 50%;
    margin-right: 0.75rem; /* 12px */
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-weight: bold;
    font-size: 0.9375rem; /* 15px */
    margin-bottom: 2px;
}

.profile-handle {
    color: #536471;
    font-weight: normal;
    margin-left: 0.25rem; /* 4px */
}

.tweet-date {
    color: #536471;
    font-size: var(--font-sm); /* 14px */
}

.tweet-more {
    color: #536471;
    font-size: var(--font-md); /* 18px */
    font-weight: bold;
}

.tweet-content {
    font-size: 0.9375rem; /* 15px */
    line-height: 1.5;
    margin-top: 0.75rem; /* 12px */
}

.tweet-content p {
    margin-bottom: 0.75rem; /* 12px */
}

.tweet-content p:last-child {
    margin-bottom: 0;
}

.tweet-hashtag {
    color: #1d9bf0;
    text-decoration: none;
}

.tweet-hashtag:hover {
    text-decoration: underline;
}

/* Follow Us */
.follow-title {
    color: #e60012;
    font-size: var(--font-xl); /* 24px */
    font-weight: bold;
    margin-bottom: 1.25rem; /* 20px */
    text-align: center;
}

/* 横スクロールスライダー */
.scroll-slider {
    position: relative;
    width: 100%;
    margin: 0 auto 1.875rem; /* 30px */
    overflow: hidden;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.625rem 0;
    gap: 0.9375rem; /* 15px */
    padding-left: 0.9375rem; /* 15px */
    padding-right: 0.9375rem; /* 15px */
    padding-bottom: 0.9375rem; /* 15px */
}

/* スクロールバーのカスタマイズ (Chrome/Safari/Edge) */
.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #e60012;
    border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: #c50010;
}

/* Firefox用スクロールバー */
.scroll-container {
    scrollbar-width: thin;
    scrollbar-color: #e60012 #f1f1f1;
}

.follow-account {
    background-color: #fff;
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.25rem; /* 20px */
    text-align: center;
    min-width: 15.625rem; /* 250px */
    flex: 0 0 auto;
    width: 17.5rem; /* 280px */
    scroll-snap-align: start;
}

.follow-image {
    width: 6.25rem; /* 100px */
    height: 6.25rem; /* 100px */
    border-radius: 50%;
    margin: 0 auto 0.9375rem; /* 15px */
    display: block;
}

.follow-name {
    font-size: var(--font-md); /* 18px */
    font-weight: bold;
    margin-bottom: 0.9375rem; /* 15px */
    line-height: 1.3;
}

.follow-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem; /* 10px */
}

.follow-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem; /* 10px */
    border-radius: 1.875rem; /* 30px */
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
}

.follow-twitter { background-color: #000; }
.follow-instagram { background: linear-gradient(45deg, #FFDC80, #FCAF45, #F77737, #C13584, #833AB4); }
.follow-youtube { background-color: #FF0000; }

.follow-twitter .follow-icon,
.follow-instagram .follow-icon,
.follow-youtube .follow-icon {
    color: white;
    font-size: var(--font-md); /* 18px */
}

.follow-twitter .follow-icon i,
.follow-instagram .follow-icon i,
.follow-youtube .follow-icon i {
    margin-right: 0;
}

.follow-icon {
    margin-right: 0.5rem; /* 8px */
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.follow-icon img {
    width: 1.25rem; /* 20px */
    height: 1.25rem; /* 20px */
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.follow-text {
    font-size: var(--font-sm); /* 14px */
}

/* 的中速報セクション */
.tekichu-section {
    padding: 1.875rem 0.9375rem; /* 30px 15px */
    background-color: var(--menuBar-100);
    z-index: 1;
}

.tekichu-section .section-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9375rem; /* 15px */
    width: 100%;
}

.tekichu-section .section-title {
    color: var(--white);
    font-size: var(--font-xl); /* 24px */
}

.tekichu-icon {
    display: inline-block;
    width: 2.125rem; /* 34px */
    height: 2.125rem; /* 34px */
    background-image: url('../img/icons/tabler_speakerphone.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.25rem; /* 4px */
    vertical-align: middle;
    top: -2px;
    position: relative;
}

/* ソートボタン */
.sort-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.625rem; /* 10px */
    flex-direction: row;
    white-space: nowrap;
}

.sort-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 1.25rem; /* 20px */
    padding: 0.5rem 0.625rem; /* 8px 10px */
    font-size: var(--font-xxxs); /* 10px */
    display: flex;
    align-items: center;
    gap: 0.3125rem; /* 5px */
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-btn.active {
    background-color: #e60012;
    color: #fff;
    border-color: #e60012;
}

.sort-arrow {
    margin-left: 0.3125rem; /* 5px */
    font-size: var(--font-xs); /* 12px */
}

/* 的中カードリスト */
.tekichu-list {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem; /* 15px */
}

.tekichu-card {
    display: flex;
    background-color: #fff;
    border-radius: 0.625rem; /* 10px */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 0.5rem; /* 8px */
    opacity: 0;
    transform: translateY(1.875rem); /* 30px */
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.tekichu-card.is-visible {
    opacity: 1;
    transform: none;
}

.tekichu-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tekichu-avatar {
    width: 3.125rem; /* 50px */
    height: 3.125rem; /* 50px */
    border-radius: 50%;
    margin-bottom: 0.3125rem; /* 5px */
}

.tekichu-name {
    font-size: var(--font-xs); /* 12px */
    font-weight: bold;
}

.tekichu-content {
    flex: 1;
    padding: 0.5rem; /* 8px */
}

.tekichu-race-info {
    display: flex;
    justify-content: flex-start;
    color: #666;
    font-size: var(--font-xs); /* 12px */
}

.tekichu-race-name {
    font-size: var(--font-md); /* 18px */
    font-weight: bold;
    margin-bottom: 0.375rem; /* 6px */
}

.tekichu-grade {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #4CAF50;
    color: white;
    padding: 0.125rem 0.625rem; /* 2px 10px */
    border-radius: 0.25rem; /* 4px */
    font-size: var(--font-xxxs); /* 10px */
    line-height: 1.2; 
}

.tekichu-result {
    display: flex;
    align-items: center;
    gap: 0.625rem; /* 10px */
}

.tekichu-horse {
    font-weight: bold;
}

.tekichu-odds {
    color: #666;
}

.tekichu-rank {
    font-weight: bold;
    color: #e60012;
}

.tekichu-target {
    position: absolute;
    top: 0.375rem; /* 6px */
    right: 0.375rem; /* 6px */
    width: 3.4375rem; /* 55px */

}

.target-icon {
    width: 3.4375rem; /* 55px */
    height: 3.4375rem; /* 55px */
}

.video-section {
    padding: 1rem 0.9375rem 0.5rem; /* 30px 15px */
    background-color: var(--global-gray-20);
}

/*
* ================================================
* PC向けスタイルセクション (768px以上)
* ================================================
*/

@media (min-width: 768px) {
    .race-news-tabs {
        padding: 0;
    }
    
    .race-news-tabs .section-title {
        font-size: 1.25rem; /* 20px */
    }
    
    .race-news-tabs .icon-megaphone img {
        width: 1.5rem; /* 24px */
        height: 1.5rem; /* 24px */
    }
    
    .race-tabs-nav {
        padding: 0 0.5rem; /* 0 8px */
    }
    
    .race-tab-btn {
        width: 160px;
        padding: 1rem 0.75rem; /* 16px 12px */
        font-size: 1rem; /* 16px */
    }
    
    .race-card {
        margin-bottom: 0.9375rem; /* 15px */
    }
    
    .race-number-box {
        width: 5rem; /* 80px */
    }
    
    .race-number-box .number {
        font-size: 1.75rem; /* 28px */
    }
    
    .race-info-container {
        padding: 1rem 1.25rem; /* 16px 20px */
    }
    
    .race-class {
        font-size: 1.125rem; /* 18px */
        margin-bottom: 0.375rem; /* 6px */
    }
    
    .race-tab-content .race-details,
    .race-tab-content .race-grade {
        font-size: 1rem; /* 16px */
        margin-bottom: 0.375rem; /* 6px */
    }
    
    .weather-icon img,
    .time-icon img {
        width: 1.375rem; /* 22px */
        height: 1.375rem; /* 22px */
    }
    
    .track-condition,
    .race-time {
        font-size: 1rem; /* 16px */
    }
    .race-news-tabs {
        padding: 0.625rem; /* 10px */

    }
    
    .race-news-tabs .section-title {
        font-size: var(--font-xl); /* 24px */
    }
    
    .race-tabs-nav {
        gap: 0.3125rem; /* 5px */
    }

       /* Twitter関連 */
       .twitter-embed {
        max-width: 100%;
    }

    .scroll-container {
        padding-left: 0.625rem; /* 10px */
        padding-right: 0.625rem; /* 10px */
        gap: 0.625rem; /* 10px */
    }

    .follow-account {
        width: 15rem; /* 240px */
        min-width: 15rem; /* 240px */
    }

    .tweet-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-info {
        margin-left: 0;
        margin-top: 0.625rem; /* 10px */
    }

    .follow-links {
        flex-direction: column;
    }

    .follow-link {
        margin-bottom: 0.5rem; /* 8px */
    }
    
    .race-date-card {
        padding: 0.5rem 0.9375rem; /* 8px 15px */
    }
    
    .race-date-card .race-date {
        font-size: var(--font-lg); /* 20px */
        margin-right: 0.625rem; /* 10px */
    }
    
    .race-day {
        width: 2rem; /* 32px */
        height: 2rem; /* 32px */
        font-size: var(--font-base); /* 16px */
    }
    
    .race-date-card .race-venue {
        font-size: var(--font-base); /* 16px */
        padding: 0.3125rem 0.625rem; /* 5px 10px */
    }
    
    .race-date-info {
        margin-right: 1.25rem; /* 20px */
    }

    .race_summary_wrap{
        display: flex;
        gap: 1.5rem;
        padding: 0.9375rem 0.9375rem 0 0.9375rem;
    }

    .race-image{
        max-width: calc(50% - 0.46875rem);
        border-radius: 10px;
        flex-shrink: 0;
    }
    .race-image img{
        border-radius: 10px;
    }
    .race-odds{
        padding: 0;
    }

    .odds-value{
        margin-left: 0.625rem;
    }

    .featured-race{
        padding:0.9375rem;
    }

}