@charset "UTF-8";

/* ==========================================
   1. 全体基本設定
   ========================================== */
html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-y: scroll; /* 常に縦スクロールバーを表示させる */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==========================================
   2. 共通レイアウト・コンテナ
   ========================================== */
.page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 8px;
}

/* ==========================================
   3. ヘッダー
   ========================================== */
header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a img {
    height: 45px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu li a {
    font-size: 15px;
    font-weight: 500;
    color: #444;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #0066cc;
}

/* ==========================================
   4. メインビジュアル
   ========================================== */
.hero-section {
    max-width: 1280px;
    margin: 20px auto;
    padding: 0 20px;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* ==========================================
   5. タイル・リスト共通 (ゲーム・パネル)
   ========================================== */
.game-list,
.panel-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.game-tile,
.panel-tile {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    width: 320px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-tile:hover,
.panel-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.game-tile a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.panel-tile a {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.game-tile img,
.panel-tile img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.game-tile img {
    aspect-ratio: 1736 / 1081;
}

.game-tile-title {
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #333;
}

.panel-tile-title {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

/* ==========================================
   6. テーブル (会社概要・特商法など)
   ========================================== */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
}

.company-table th,
.company-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
    font-size: 15px;
}

.company-table th {
    width: 25%;
    background-color: #f9f9f9;
    font-weight: bold;
    color: #444;
}

.company-table td {
    color: #333;
    line-height: 1.6;
}

/* ==========================================
   6-2. パートナー・掲載企業リスト
   ========================================== */
.partner-wrapper {
    text-align: center; /* リスト全体を画面中央に配置 */
    margin: 30px 0;
}

.partner-wrapper .note {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px; /* 「（順不同・敬称略）」とリストの間隔 */
}

.partner-list {
    display: inline-block; /* リストブロック自体を中央寄せできるようにする */
    text-align: left;      /* リスト内の文字は左揃えにして「・」の位置を綺麗に揃える */
    list-style-type: disc; /* 中黒（・）を表示 */
    padding-left: 20px;    /* リストのインデント調整 */
    margin: 0 auto;
    line-height: 1.8;      /* 行間を適度に持たせる */
    font-size: 16px;
    color: #333;
}

.partner-list li {
    margin-bottom: 6px;    /* 企業ごとの間隔 */
}

/* ==========================================
   6-3. rakukai料金表スタイル
   ========================================== */
.rakukai-table-wrapper {
    margin: 30px 0;
    width: 100%;
    overflow-x: auto;
}

.rakukai-price-table {
    width: 100%;
    max-width: 650px;
    border-collapse: collapse;
    border: 2px solid #333;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    background-color: #fff;
}

.rakukai-price-table th, 
.rakukai-price-table td {
    border: 1px dotted #666;
    padding: 12px 15px;
    vertical-align: middle;
}

/* 1行目（ヘッダー行：薄緑） */
.rakukai-price-table tr:first-child th,
.rakukai-price-table tr:first-child td {
    background-color: #d4edda;
    border-bottom: 2px solid #333;
    font-weight: bold;
}

/* 1列目の見出し（薄黄、赤字） */
.rakukai-price-table th {
    background-color: #fff3cd;
    color: #cc0000;
    font-weight: bold;
    width: 30%;
}

/* 左列と右側の境界の二重線風表現 */
.rakukai-price-table th:first-child {
    border-right: 3px double #333;
}

/* 2行目・3行目のデータセル（薄黄） */
.rakukai-price-table td {
    background-color: #fffef0;
    width: 35%;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .rakukai-price-table {
        font-size: 13px;
    }
    .rakukai-price-table th, 
    .rakukai-price-table td {
        padding: 8px 6px;
    }
}

/* ==========================================
   7. フォーム入力要素
   ========================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    font-size: 16px !important;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================
   8. フッター
   ========================================== */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 13px;
    color: #666;
    background-color: #fff;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links li {
    display: flex;
    align-items: center;
}

.footer-links li:not(:last-child):after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    background-color: #ccc;
    margin-left: 20px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.footer-copyright {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* ==========================================
   9. レスポンシブ対応 (スマホ・タブレット)
   ========================================== */
@media (max-width: 768px) {
    /* ヘッダー */
    .header-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .logo a img {
        height: 35px;
        margin-bottom: 10px;
    }

    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu li a {
        font-size: 13px;
    }

    /* メインビジュアル */
    .hero-section {
        padding: 0 10px;
        margin: 10px auto;
    }

    /* タイル */
    .game-tile,
    .panel-tile {
        width: 100%;
    }

    /* テーブル */
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }
    
    .company-table th {
        background-color: #f0f4f8;
        padding: 10px 15px;
        border-bottom: none;
    }

    .company-table td {
        padding: 12px 15px 20px 15px;
    }
}