@charset "utf-8";

/* --- 基本設定 --- */
:root {
    --primary-color: #b58d4d; /* ゴールド */
    --secondary-color: #222222; /* 黒 */
    --text-color: #333333;
    --bg-color: #ffffff;
    --bg-light: #f9f9f9;
    --accent-red: #d9534f;
    --accent-blue: #4a90e2;
    --accent-green: #28a745;
    --font-base: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-base);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-en);
    font-weight: 700;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

/* --- ヘッダー --- */
.site-header {
    padding: 10px 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.logo {
    text-align: left;
}

.logo img {
    height: 80px; /* ロゴサイズ調整 */
    width: auto;
    display: block;
}

/* --- メインビジュアル --- */
/* --- メインビジュアル --- */
.hero-section {
    /* 修正点1: 画像のパスを指定（絶対パスでも相対パスでもOK） */
    background-image: url('https://www.linxwinner.com/top/main.png');
    /* 画像を領域全体に表示し、中央寄せにする */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* 修正点2: 高さと文字色、配置の調整 */
    height: 600px; /* お好みで調整してください */
    display: flex;
    align-items: center; /* テキストを上下中央に配置 */
    justify-content: center; /* テキストを左右中央に配置（お好みで） */
    color: #ffffff; /* テキストの色を白にする */
    position: relative; /* オーバーレイ配置のために必要 */
    text-align: center; /* テキストを中央揃えにする */
}

/* --- テキストの視認性を高めるためのオーバーレイ（必須ではありませんが推奨） --- */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 黒い半透明のフィルターをかける */
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 1; /* 画像とテキストの間に配置 */
}

.hero-content {
    position: relative;
    z-index: 2; /* オーバーレイより手前に配置 */
    padding: 0 20px; /* スマホで左右が詰まりすぎないように余白を追加 */
    max-width: 800px; /* テキストが横に広がりすぎるのを防ぐ（お好みで） */
}

/* 見出しのスタイル調整（既存のスタイルがあればそのまま維持でOK） */
.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* 影を強くして視認性UP */
}

.hero-content p {
    font-size: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* --- スマホ向けの調整（レスポンシブ） --- */
@media (max-width: 768px) {
    .hero-section {
        height: 400px; /* スマホでは高さを少し抑える */
    }
    .hero-content h2 {
        font-size: 32px; /* 文字サイズを小さく */
    }
    .hero-content p {
        font-size: 16px;
    }

	.logo img {
	    height: 60px; /* ロゴサイズ調整 */
	}
}

.hero-content p {
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* --- サービス紹介 --- */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-header {
    padding: 30px;
    color: #fff;
}

.card-header h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.service-type {
    font-size: 14px;
    font-weight: bold;
    opacity: 0.9;
}

.card-body {
    padding: 30px;
    flex: 1;
}

.card-footer {
    padding: 30px;
    text-align: center;
    border-top: 1px solid #eee;
}

/* サービス別カラー */
/* ① WINNER’S EYE (赤系) */
.winners-eye .card-header {
    background: linear-gradient(to right, var(--accent-red), #ff9999);
}

/* ② RaceCompass (青系) */
.race-compass .card-header {
    background: linear-gradient(to right, var(--accent-blue), #99ccff);
}

/* ③ GallopX (緑系) */
.gallop-x .card-header {
    background: linear-gradient(to right, var(--accent-green), #a2e0af);
}

.winners-eye h3 { color: #fff; }

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-arrow {
    color: var(--text-color);
    position: relative;
}

.btn-arrow::after {
    content: '\f054'; /* Font Awesomeの矢印 */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 10px;
    transition: margin-left 0.3s;
}

.btn-arrow:hover::after {
    margin-left: 15px;
}

/* --- 会員登録CTAセクション --- */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%); /* 深みのあるダーク背景 */
    text-align: center;
    color: #fff;
}

.cta-sub-text {
    font-size: 16px;
    color: var(--primary-color); /* ゴールド */
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.cta-main-text {
    font-size: 28px;
    margin-bottom: 35px;
    font-weight: 700;
    line-height: 1.4;
}

.cta-button-area {
    margin-bottom: 20px;
}

/* 登録ボタン本体 */
.btn-registration {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(to right, #b58d4d, #d4af37); /* ゴールドのグラデーション */
    color: #fff;
    padding: 20px 60px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(181, 141, 77, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* ホバー時の動き */
.btn-registration:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(181, 141, 77, 0.6);
    filter: brightness(1.1);
}

.btn-registration i {
    font-size: 18px;
    transition: transform 0.3s;
}

.btn-registration:hover i {
    transform: translateX(5px);
}

.cta-note {
    font-size: 13px;
    color: #999;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .cta-section {
        padding: 50px 20px;
    }
    .cta-main-text {
        font-size: 22px;
    }
    .btn-registration {
        width: 100%; /* スマホではフルサイズ */
        padding: 18px 30px;
        font-size: 18px;
        box-sizing: border-box;
    }
}

/* --- 的中結果 --- */
.results-section {
    background-color: var(--bg-light);
}
.results-date {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.results-list-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.results-list li {
    padding: 10px 20px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.results-list li:last-child {
    border-bottom: none;
}

.race-name {
    font-weight: bold;
    flex: 1 0 120px;
}

.kai-me {
    flex: 1 0 150px;
}

.odds-info {
    flex: 1 0 150px;
}

.odds-info strong {
    color: var(--accent-blue);
    font-size: 18px;
}

.odds-info .high-odds {
    color: var(--accent-red);
    font-size: 20px;
}

.hit-mark {
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

/* --- フッター --- */
.site-footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 50px 0 30px;
    text-align: center;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-nav a {
    color: #bbb;
    font-size: 14px;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.copyright {
    font-size: 12px;
    color: #777;
}

@media (min-width: 768px) {
	.results-list {
	    padding: 0 50px;
	}
}

/* --- レスポンシブ調整 --- */
@media (max-width: 768px) {
    .hero-content h2 { font-size: 32px; }
    .section-title { font-size: 28px; }
    .results-list li { flex-direction: column; align-items: flex-start; }
    .race-name, .kai-me, .odds-info { flex: 1 0 auto; }
    .hit-mark { align-self: flex-start; margin-top: 10px; }
    .footer-nav ul { flex-direction: column; gap: 10px; }
}

/* --- ヘッダーのレイアウト調整 --- */
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-btn {
    background: none;
    border: 1px solid #333; /* 枠線をつけるとボタンらしくなります（お好みで） */
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* MENUテキストの調整 */
.menu-text {
    font-size: 18px;
    font-weight: bold;
    color: #333; /* サイトのデザインに合わせた色に変更してください */
    letter-spacing: 0.05em;
    line-height: 1;
}
/* 既存の三本線用のスタイルが残っている場合は、不要なので削除するか無視してOKです */
.menu-line {
    display: none;
}

/* --- サイドメニュー --- */
.side-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 60px 0;
    box-sizing: border-box;
}

.side-menu.open {
    right: 0;
}

.menu-list li {
    border-bottom: 1px solid #f5f5f5;
}

.menu-list a {
    display: block;
    padding: 18px 25px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

/* 会員登録ボタンを強調 */
.menu-list a.menu-highlight {
    color: var(--primary-color);
    background-color: #fcf8f2;
}

.menu-list a:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
}

.menu-separator {
    height: 30px;
    background-color: #f9f9f9;
    border: none !important;
}

/* 背景を暗くする */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1500;
    display: none;
    backdrop-filter: blur(2px);
}

.menu-backdrop.show {
    display: block;
}

/* 閉じるボタン */
.menu-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- 月額利用料セクション --- */
.pricing-section {
    background-color: #fff; /* 背景は白にして的中結果（薄グレー想定）と差をつける */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px; /* 少し絞ると綺麗に見えます */
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* 各サービスの左側にアクセントラインを入れる */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
}

.winners-eye-border::before { background: var(--accent-red); }
.race-compass-border::before { background: var(--accent-blue); }
.gallop-x-border::before { background: var(--accent-green); }

.pricing-name {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
    font-weight: bold;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: var(--secondary-color);
}

.pricing-price .amount {
    font-size: 36px;
    font-weight: 800;
    font-family: var(--font-en);
    letter-spacing: -1px;
}

.pricing-price .unit {
    font-size: 16px;
    font-weight: bold;
    margin-left: 5px;
    color: #999;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr; /* スマホでは縦並び */
        padding: 0 10px;
    }
    
    .pricing-card {
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .pricing-name {
        margin-bottom: 0;
	font-size: 16px;
    }
}

/* --- 競馬の基礎知識セクション --- */
.knowledge-section {
    background-color: var(--bg-light); /* 薄グレー背景 */
}

.knowledge-intro {
    max-width: 900px;
    margin: 0 auto 40px;
}

.intro-text {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* 開催会場のレイアウト */
.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.venue-item {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.venue-label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.venue-item p {
    margin: 0;
    font-weight: bold;
    font-size: 14px;
}

/* アコーディオン設定 */
.accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

.knowledge-details {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    list-style: none; /* デフォルトの矢印を消す */
    display: flex;
    align-items: center;
    background-color: #fff;
    transition: background-color 0.3s;
}

.accordion-header::-webkit-details-marker {
    display: none; /* Safari用矢印消し */
}

.accordion-header:hover {
    background-color: #fcf8f2;
}

.header-icon {
    color: var(--primary-color);
    margin-right: 15px;
    font-weight: bold;
}

.header-title {
    font-weight: bold;
    flex: 1;
}

/* 開閉矢印のアニメーション */
.toggle-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    transition: transform 0.3s;
}

/* プラス記号の作成 */
.toggle-icon::before { width: 100%; height: 2px; top: 9px; left: 0; }
.toggle-icon::after { width: 2px; height: 100%; top: 0; left: 9px; }

/* 開いた時のプラス→マイナス変化 */
.knowledge-details[open] .toggle-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

/* 馬券種類グリッド */
.accordion-content {
    padding: 30px;
    border-top: 1px solid #eee;
    background-color: #fafafa;
}

.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ticket-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.ticket-item h4 {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    margin-bottom: 10px;
    font-size: 16px;
}

.ticket-item p {
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .ticket-grid { grid-template-columns: 1fr; }
    .accordion-header { padding: 15px; }
}

/* --- 馬券購入方法セクション --- */
.buy-section {
    background-color: #ffffff;
}

.buy-intro-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 16px;
}

/* 購入方法カード */
.buy-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.buy-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s;
}

.buy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.buy-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.buy-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.buy-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    text-align: justify;
}

/* YouTube動画エリア */
.video-container-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 20px;
}

.video-sub-title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.video-sub-title i {
    color: #ff0000; /* YouTubeカラー */
    margin-right: 10px;
}

/* レスポンシブ動画（16:9） */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9比率 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 15px;
}

/* スマホ調整 */
@media (max-width: 768px) {
    .video-container-wrapper {
        padding: 20px;
    }
    .video-sub-title {
        font-size: 18px;
    }
}

.key-visual-container {
	position: relative; /* 子要素の基準 */
	width: 100%;
	height: 100vh; /* 画面の高さに合わせる */
	overflow: hidden; /* 動画がはみ出さないように */
}

.key-visual-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover; /* アスペクト比を保ちつつ全体をカバー */
	z-index: 1; /* 動画を一番下にする */
}

.overlay-text {
	position: absolute;
	width: 80%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); /* 中央寄せ */
	color: white; /* テキストの色 */
	text-align: center;
	z-index: 2; /* テキストを動画の上に表示 */
	/* 必要に応じて影などを追加 */
	text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.overlay-text h1 {
  font-size: 4em;
  margin-bottom: 20px;
}

.overlay-text p {
  font-size: 1.8em;
}

/* スマホ調整 */
@media (max-width: 768px) {
	.overlay-text h1 {
		  font-size: 2em;
	}
	.overlay-text p {
		  font-size: 1.2em;
	}
}

/* お問合せフォーム専用スタイル */
.contact-container {
    padding: 60px 0;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-lead {
    text-align: center;
    margin-bottom: 40px;
    font-size: 15px;
    color: #666;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.required {
    background: #ff4a6e;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box; /* paddingを含めた幅計算 */
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff4a6e;
    outline: none;
}

.form-privacy {
    text-align: center;
    font-size: 13px;
    margin: 30px 0 20px;
}

.form-privacy a {
    color: #ff4a6e;
    text-decoration: underline;
}

.form-submit {
    text-align: center;
}

.submit-btn {
    background-color: #ff4a6e;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #e63d5d;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }
    .submit-btn {
        width: 100%;
    }
}

/* 特定商取引法専用スタイル */
.law-container {
    padding: 60px 0;
}

.law-content {
    background: #fff;
    margin-top: 20px;
}

.law-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
}

.law-table th, .law-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    line-height: 1.6;
}

.law-table th {
    width: 30%;
    background-color: #f9f9f9;
    text-align: left;
    font-weight: bold;
    color: #555;
    vertical-align: top;
}

.law-table td {
    width: 70%;
    color: #333;
}

/* モバイル対応：表を縦並びにする */
@media (max-width: 768px) {
    .law-table th, .law-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .law-table th {
        background-color: #f4f4f4;
        padding: 10px 20px;
        border-bottom: none;
    }

    .law-table td {
        padding: 10px 20px 25px;
    }
}
/*
table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}
td {
    text-align: center;
}
*/

.dash-CardHeader_Title {
	font-size: 20px;
}
.msg {
	font-size: 16px;
	font-weight: bold;
	color: #ff0000;
	padding: 8px;
}
