@charset "UTF-8";

/* ==========================================================================
   パチンコ関連リンク（PACHINKO LINKS）専用スタイルシート
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Lower Hero Section (ページヘッダー)
   ※「店舗一覧」のデザイン・配色・余白・レスポンシブを100%完全に同期
   -------------------------------------------------------------------------- */
.lower-hero {
    width: 100%;
    padding: 100px 0 60px;
    text-align: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.section-title-area .section-title {
    font-size: 3rem;
    color: #333;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.section-title-area .section-subtitle {
    font-size: 1rem;
    color: #c5a059;
    font-weight: 600;
    letter-spacing: 0.2em;
}

/* ヒーローエリア専用のレスポンシブ（店舗一覧の960pxブレイクポイントに準拠） */
@media (max-width: 960px) {
    .lower-hero {
        padding: 80px 0 40px;
    }
    .section-title-area .section-title {
        font-size: 2.2rem;
    }
}

/* --------------------------------------------------------------------------
   2. レイアウトコンテナ
   -------------------------------------------------------------------------- */
.link-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

@media screen and (max-width: 768px) {
    .link-page-container {
        padding: 40px 15px;
    }
}

/* --------------------------------------------------------------------------
   3. カテゴリセクション（パチンコ/パチスロ）
   -------------------------------------------------------------------------- */
.link-category-section {
    margin-bottom: 60px;
}

.link-category-section:last-child {
    margin-bottom: 0;
}

/* セクション見出し（ゴールドの左線アクセント：店舗一覧の共通ゴールド #c5a059 に統一） */
.link-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222222;
    padding-left: 15px;
    margin-bottom: 30px;
    border-left: 4px solid #c5a059;
    position: relative;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
    .link-category-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
}

/* --------------------------------------------------------------------------
   4. リンクカードグリッドレイアウト
   -------------------------------------------------------------------------- */
.link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media screen and (max-width: 992px) {
    .link-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media screen and (max-width: 576px) {
    .link-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* --------------------------------------------------------------------------
   5. リンクカード単体（コンポーネントデザイン）
   -------------------------------------------------------------------------- */
.link-item-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

/* カード全体をリンク領域化 */
.link-item-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
    padding: 20px;
    text-decoration: none;
    color: #333333;
    height: 100%;
    position: relative;
}

/* 右矢印アイコン（縦中央揃えと45度回転を1つのtransformに集約。ゴールドは #c5a059 に変更） */
.link-item-inner::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #c5a059;
    border-right: 2px solid #c5a059;
    transform: translateY(-50%) rotate(45deg);
    transition: right 0.3s ease;
}

/* 企業名テキスト */
.link-company-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    padding-right: 15px; /* 矢印との被り防止 */
    transition: color 0.3s ease;
}

/* URLテキスト */
.link-url-text {
    font-size: 0.8rem;
    color: #888888;
    word-break: break-all; /* 長いURLのはみ出し対策 */
    padding-right: 15px;
}

/* --------------------------------------------------------------------------
   6. ホバーアクション（PCのみ適用。カラーを店舗一覧基準に最適化）
   -------------------------------------------------------------------------- */
@media (hover: hover) {
    .link-item-card:hover {
        transform: translateY(-5px); /* 店舗一覧の store-card:hover と同じく -5px に統一 */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* 店舗一覧の影の深さに同期 */
        border-color: #c5a059;
    }

    .link-item-card:hover .link-company-name {
        color: #c5a059;
    }

    .link-item-card:hover .link-item-inner::after {
        right: 16px; /* 矢印が少し右にスライド */
    }
}

/* --------------------------------------------------------------------------
   7. JS revealアニメーション用
   -------------------------------------------------------------------------- */
.reveal {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* JavaScript有効時、初期状態を非表示にして下方に配置（既存のmain.jsと連携） */
body.js-enabled .reveal {
    opacity: 0;
    transform: translateY(20px);
}

body.js-enabled .reveal.active {
    opacity: 1;
    transform: translateY(0);
}