/**
 * マチョナビ メインスタイル
 * 
 * 目次:
 * 1. CSS変数・リセット
 * 2. 共通スタイル
 * 3. ヘッダー
 * 4. フッター
 * 5. トップページ
 * 6. 店舗一覧・詳細
 * 7. キャスト一覧・詳細
 * 8. 求人
 * 9. ウィジェット
 * 10. その他のページ
 * 11. ユーティリティ
 */

:root {
    --machonavi-primary: #FF4500;      /* オレンジレッド */
    --machonavi-secondary: #FF6347;    /* トマト */
    --machonavi-accent: #FFA500;       /* オレンジ */
    --machonavi-dark: #2D3436;
    --machonavi-light: #F8F9FA;
    --machonavi-bg-light: #FFF5F0;     /* 薄いオレンジ */
    --machonavi-gradient: linear-gradient(135deg, #FF4500 0%, #FF6347 100%);
}

/* ================================================
   1. CSS変数・リセット
   ================================================ */
:root {
    --machonavi-primary: #FF4500;      /* オレンジレッド */
    --machonavi-secondary: #FF6347;    /* トマト */
    --machonavi-accent: #FFA500;       /* オレンジ */
    --machonavi-dark: #2D3436;
    --machonavi-light: #F8F9FA;
    --machonavi-bg-light: #FFF5F0;     /* 薄いオレンジ */
    --machonavi-gradient: linear-gradient(135deg, #FF4500 0%, #FF6347 100%);
}

/* 親テーマのスタイルを上書き */
.site-content {
    padding-top: 0 !important;
}

/* 見出しの親テーマスタイル無効化 */
h1, h2, h3, h4, h5, h6 {
    border: none !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

h1:after, h2:after, h3:after, h4:after, h5:after, h6:after {
    display: none !important;
}

/* リンクのホバー色を無効化 */
a {
    transition: color 0.3s ease;
}

a:hover {
    color: inherit;
    opacity: 0.8;
}

/* ボタンのホバー時の青色を無効化 */
button:hover, .button:hover, input[type="submit"]:hover {
    color: inherit !important;
}

i {
    margin-right: 0px !important;
}

.site-footer {
    border-top: none !important;
}

.widget ul {
    padding-left: 0px !important;
}

/* ================================================
   2. 共通スタイル
   ================================================ */
   
/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* メインコンテンツ */
.site-content {
    margin-top: 80px;
}

/* セクションタイトル */
.section-title {
    font-size: 28px;
    text-align: center;
    margin: 0 0 40px;
    color: var(--machonavi-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: bold;
    position: relative;
    padding-top: 0px;
}

.section-title i {
    color: var(--machonavi-primary);
}

/* ========================================
   2カラムレイアウト（汎用）
======================================== */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin: 40px 0;
}

/* サイドバー基本スタイル */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 1024px) {
    .content-with-sidebar {
        grid-template-columns: 1fr 250px;
    }
}

@media (max-width: 768px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebar {
        position: static;
    }
}

/* レスポンシブ：共通 */
@media (max-width: 768px) {
    .container {
        padding: 0 2.5%;
        width: 95%;
    }
    .site-branding img {
        height: auto;
        width: 90%;
    }
    
    .site-content {
        margin-top: 60px;
    }
    
    .section-title {
        font-size: 22px;
    }
}

.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

/* ================================================
   3. ヘッダー
   ================================================ */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

/* 管理バー対応 */
body.admin-bar .site-header {
    top: 32px;
}

.header-inner {
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ */
.site-branding img {
    height: 45px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.site-title a {
    color: var(--machonavi-primary);
    text-decoration: none;
}

/* ナビゲーション */
.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu-container ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.primary-menu-container a {
    color: var(--machonavi-dark);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.primary-menu-container a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--machonavi-primary);
    transition: width 0.3s;
}

.primary-menu-container a:hover:after {
    width: 100%;
}

/* モバイルメニューボタン（デフォルトは非表示） */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
}

.menu-toggle-inner {
    width: 25px;
    height: 20px;
    position: relative;
    display: block;
}

.toggle-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--machonavi-dark);
    position: absolute;
    left: 0;
    transition: all 0.3s;
    border-radius: 2px;
}

.toggle-line:nth-child(1) { top: 0; }
.toggle-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.toggle-line:nth-child(3) { bottom: 0; }

/* アクティブ時のハンバーガーアニメーション */
.menu-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.menu-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* レスポンシブ：ヘッダー */
@media (max-width: 768px) {
    body.admin-bar .site-header {
        top: 46px;
    }
    .site-branding img {
        height: 30px;
        width: auto;
    }
    
    .header-inner {
        padding: 10px 0;
    }
    
    /* モバイルメニューボタンを表示 */
    .menu-toggle {
        display: block;
    }
    
    /* メニューコンテナ */
    .primary-menu-container {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: #fff;
        transition: left 0.3s;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    body.admin-bar .primary-menu-container {
        top: 116px;
        height: calc(100vh - 116px);
    }
    
    .primary-menu-container.active {
        left: 0;
    }
    
    .primary-menu-container ul {
        flex-direction: column;
        gap: 0;
    }
    
    .primary-menu-container li {
        border-bottom: 1px solid #eee;
    }
    
    .primary-menu-container a {
        display: block;
        padding: 15px 20px;
    }
    
    .primary-menu-container a:after {
        display: none;
    }
}

.site-footer {
    background: var(--machonavi-dark);
    color: #fff;
    margin-top: 0;
}

/* ================================================
   4. フッター
   ================================================ */
.site-footer {
    background: var(--machonavi-dark);
    color: #fff;
    margin-top: 0;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-title {
    font-size: 20px;
    margin: 0 0 20px;
    color: #fff;
    font-weight: bold;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--machonavi-accent);
}

/* SNSリンク */
.sns-links {
    display: flex;
    gap: 15px;
}

.sns-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #555;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.sns-link:hover {
    background: var(--machonavi-gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #1a1a1a;
    padding: 20px 0;
    text-align: center;
}

.copyright {
    margin: 0;
    font-size: 14px;
    color: #999;
}

/* レスポンシブ：フッター */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================================
   5. トップページ
   ================================================ */
   
/* デスクトップ/モバイル表示制御 */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* ヒーローセクション */
.hero-section {
    padding: 50px 0 60px; /* ヘッダーとの余白を追加 */
    background: #fff6f6;
    position: relative;
    overflow: hidden;
}

.hero-section:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #eee, transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 55% 45%; /* 比率を変更 */
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* 検索ボックス */
.search-box {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 34px; /* 0.85倍に縮小 */
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.search-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--machonavi-gradient);
}

.search-title {
    font-size: 24px; /* サイズ調整 */
    margin: 0 0 25px;
    color: var(--machonavi-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.sub-title {
    font-size: 16px; /* サイズ調整 */
    margin: 20px 0 12px;
    color: var(--machonavi-dark);
    font-weight: bold;
}

/* エリアボタン */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.button-grid .area-button {
    display: block;
    min-width: 0;
    text-align: center;
    font-size: 1rem;
    padding: 10px 5px;
    border-radius: 25px;
    border: 2px solid var(--machonavi-primary);
    color: var(--machonavi-primary);
    background: #fff;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.button-grid .area-button:hover {
    background: var(--machonavi-primary);
    color: #fff;
    border-color: var(--machonavi-primary);
}

@media (max-width: 768px) {
    .button-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    .button-grid .area-button {
        font-size: 0.98rem;
        padding: 10px 5px;
    }
}

/* キーワード検索 */
.keyword-search {
    margin-top: 30px;
}

.area-buttons {
    margin-top: 40px;
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 10px 18px;
    border: 2px solid #eee;
    border-radius: 25px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--machonavi-primary);
}

.search-submit {
    padding: 10px 22px;
    background: var(--machonavi-gradient);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,69,0,0.3);
}

/* アクションボタン */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    background: var(--machonavi-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 5px 15px rgba(255,69,0,0.2);
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,69,0,0.3);
    color: #fff; /* 色を変更しない */
}

.action-button i {
    font-size: 24px;
    color: #fff; /* アイコンも白のまま */
}

/* スライダー */
.home-slider-container {
    width: 100%;
    height: 100%;
}

.home-slider {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-prev,
.swiper-button-next {
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 20px;
}

.swiper-pagination-bullet-active {
    background: var(--machonavi-primary);
}

/* モバイル検索セクション */
.mobile-search-section {
    padding: 40px 0;
    background: #fff6f6;
}

/* おすすめ店舗 */
.recommended-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.recommended-item {
    text-align: center;
    transition: transform 0.3s;
}

.recommended-item:hover {
    transform: translateY(-5px);
}

.recommended-item a {
    text-decoration: none;
    color: var(--machonavi-dark);
}

.shop-image {
    width: 100%;
    aspect-ratio: 4/3; /* 4:3の横長に変更 */
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.recommended-item:hover .shop-image img {
    transform: scale(1.1);
}

.shop-name {
    font-size: 18px;
    margin: 0 0 8px;
    font-weight: bold;
}

.pr-label {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

.shop-area {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* マッスルバーってどんなお店？ */
.about-section {
    padding: 72px 0; /* 0.9倍に縮小 */
    background: url('../images/top-barinfo-bg.jpg') center/cover no-repeat;
    position: relative;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255,255,255,0.95);
    padding: 45px; /* 0.9倍に縮小 */
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 30px;
    color: #555;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--machonavi-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255,69,0,0.3);
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,69,0,0.4);
}

/* 店舗ランキング */
.ranking-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列表示 */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.ranking-item:hover {
    transform: translateX(5px);
}

.rank-badge {
    width: 60px;
    text-align: center;
    flex-shrink: 0;
}

/* メダルの代わりに数字とグラデーション背景を使用 */
.rank-medal {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 20px;
    color: #fff;
}

.rank-medal.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.rank-medal.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4);
}

.rank-medal.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.4);
}

.rank-medal.rank-1::after { content: '1'; }
.rank-medal.rank-2::after { content: '2'; }
.rank-medal.rank-3::after { content: '3'; }

.rank-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
}

.rank-shop-image {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
}

.rank-shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-info {
    flex: 1;
}

.rank-shop-name {
    font-size: 18px;
    margin: 0;
}

.rank-shop-name a {
    color: var(--machonavi-dark);
    text-decoration: none;
}

.rank-shop-name a:hover {
    color: var(--machonavi-primary);
}

.ranking-more {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   TOPページ専用ランキングスタイル
======================================== */
.home-ranking .home-ranking-item {
    display: flex;
    align-items: anchor-center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.home-ranking .home-ranking-item:hover {
    transform: translateX(5px);
}

.home-ranking .rank-badge {
    width: 50px;
    text-align: center;
    flex-shrink: 0;
}

.home-ranking .rank-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
}

.home-ranking .rank-medal::after {
    content: attr(data-rank);
}

.home-ranking .rank-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: #999;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.home-ranking .rank-shop-image {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
}

.home-ranking .rank-shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.home-ranking .home-ranking-item:hover .rank-shop-image img {
    transform: scale(1.05);
}

.home-ranking .rank-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.home-ranking .rank-shop-name {
    font-size: 16px;
    margin: 0;
    font-weight: bold;
}

.home-ranking .rank-shop-name a {
    color: var(--machonavi-dark);
    text-decoration: none;
}

.home-ranking .rank-shop-name a:hover {
    color: var(--machonavi-primary);
}

.home-ranking .rank-area {
    font-size: 13px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.home-ranking .rank-area i {
    font-size: 12px;
    color: #999;
}

/* ランキングメタ情報コンテナ */
.rank-meta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 5px 0;
    font-size: 0.9rem;
}

.rank-area,
.rank-shop-type {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    white-space: nowrap;
    font-size: 14px;
}

.rank-area i {
    color: #3498db;
    font-size: 12px;
}

.rank-shop-type i {
    color: #e74c3c;
    font-size: 12px;
}

/* TOPページ用のスタイル */
.home-ranking .rank-meta-container {
    margin: 4px 0;
}

/* ランキングページ用のスタイル */
.ranking-page .rank-meta-container {
    margin: 8px 0;
}

.ranking-page .rank-area,
.ranking-page .rank-shop-type {
    font-size: 14px;
}

.home-ranking .rank-vote-wrapper {
    margin-top: 4px;
}

.home-ranking .rank-vote-wrapper .machonavi-vote-button {
    transform: scale(0.85);
    transform-origin: left center;
}

/* TOPページランキング - モバイル版 */
@media (max-width: 768px) {
    .home-ranking .home-ranking-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 15px;
        position: relative;
        background: #f8f9fa;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .ranking-section .container {
        padding: 0px !important;
        margin: 0px !important;
        width: 100%;
    }

    .home-ranking .rank-shop-image {
        position: relative;
        width: 100%;
        height: 200px;
        flex-shrink: 0;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .home-ranking .rank-badge {
        position: absolute;
        top: -15px;
        left: -15px;
        width: 30px;
        height: 30px;
        z-index: 2;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .home-ranking .rank-medal {
        width: 30px;
        height: 30px;
        font-size: 14px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .home-ranking .rank-number {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        color: #666;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .home-ranking .rank-info {
        flex: 1;
    }

    /* TOPページのランキング画像内のバッジは常に表示 */
    .home-ranking .rank-shop-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    .home-ranking .rank-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .home-ranking .rank-shop-name {
        font-size: 15px;
        margin: 0;
    }

    .home-ranking .rank-area {
        font-size: 12px;
        margin: 0;
    }

    .home-ranking .rank-vote-wrapper {
        margin-top: 4px;
    }

    .home-ranking .rank-vote-wrapper .machonavi-vote-button {
        transform: scale(0.8);
        transform-origin: left center;
    }

    /* モバイル版のランキングメタ情報 */
    .rank-meta-container {
        gap: 8px;
        margin: 3px 0;
    }

    .rank-area,
    .rank-shop-type {
        font-size: 12px;
    }

    .rank-area i,
    .rank-shop-type i {
        font-size: 11px;
    }
}

/* CTAセクション */
.cta-section {
    padding: 60px 0; /* 0.6倍に縮小 */
    background: var(--machonavi-gradient);
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px; /* サイズ調整 */
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.cta-title {
    text-align: center;
    color: #fff;
    font-size: 28px; /* サイズ調整 */
    margin: 0 0 40px;
    font-weight: bold;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.cta-item {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 30px; /* サイズ調整 */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.cta-item:hover {
    transform: translateY(-5px);
}

.cta-icon {
    font-size: 40px; /* サイズ調整 */
    color: var(--machonavi-primary);
    margin-bottom: 15px;
}

.cta-item h3 {
    font-size: 22px; /* サイズ調整 */
    margin: 0 0 12px;
    color: var(--machonavi-dark);
}

.cta-description {
    font-size: 15px; /* サイズ調整 */
    color: #666;
    margin: 0 0 20px;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px; /* サイズ調整 */
    background: var(--machonavi-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255,69,0,0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,69,0,0.4);
}

/* セクションタイトルのアイコンサイズ調整 */
.section-title i {
    color: var(--machonavi-primary);
    font-size: 28px; /* アイコンサイズを小さく */
}

/* レスポンシブ：トップページ */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
       padding-top: 5px;
    }
    
    .hero-section {
        padding: 80px 0 40px;
        background: url('../images/hero-bg.jpg') center/cover no-repeat;
    }
    .home-slider {
        border-radius: 0px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .search-title {
        font-size: 22px;
    }
    
    /* モバイルでもアクションボタンを3列に */
    .action-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .action-button {
        flex-direction: column;
        padding: 12px 8px;
        font-size: 11px;
    }
    
    .action-button i {
        font-size: 20px;
    }
    
    .recommended-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .ranking-section {
        padding: 60px 0;
    }
    
    /* モバイルでランキングを1列に */
    .ranking-list {
        grid-template-columns: 1fr;
    }
    
    .ranking-item {
        flex-direction: row; /* 横並びを維持 */
        gap: 15px;
    }
    
    .rank-shop-image {
        width: 100px;
        height: 75px;
    }
    
    .rank-shop-name {
        font-size: 16px;
    }
}

/* ================================================
   6. 店舗一覧・詳細
   ================================================ */

/* 店舗一覧ページ（アーカイブ） */
.archive-shops {
    padding: 40px 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.archive-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.archive-description {
    font-size: 16px;
    color: #666;
}

/* 検索フォーム */
.machonavi-search-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.search-form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.search-form-group {
    flex: 1;
    min-width: 200px;
}

.search-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.search-form-group input[type="text"],
.search-form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-form-group input[type="text"]:focus,
.search-form-group select:focus {
    outline: none;
    border-color: #ff6b6b;
}

.search-submit {
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    height: 44px;
}

.search-submit:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* 検索結果情報 */
.search-results-info {
    background: #f8f9fa;
    border-left: 4px solid #ff6b6b;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.search-results-info p {
    margin: 0;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

/* ソートリンク */
.archive-sort {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.archive-sort span {
    font-weight: 600;
    color: #333;
}

.archive-sort a {
    color: #666;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s;
}

.archive-sort a:hover {
    background-color: #f0f0f0;
    color: #333;
}

.archive-sort a.active {
    background-color: #ff6b6b;
    color: #fff;
}

/* 店舗グリッド */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* 店舗カード */
.shop-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.shop-card > a {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 画像部分 */
.shop-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.shop-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.shop-card:hover .shop-card-image {
    transform: scale(1.05);
}



/* カードコンテンツ */
.shop-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.shop-card-catch {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* メタ情報 */
.shop-card-meta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-card-meta span {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.shop-card-meta i {
    color: #ff6b6b;
    width: 16px;
}

/* カードフッター */
.shop-card-footer {
    overflow: visible !important;
    position: relative;
    z-index: 2;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-detail {
    font-size: 14px;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.view-detail:hover {
    color: #ff5252;
}

/* 検索結果なし */
.no-results {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
}

.no-results p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.no-results p:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .archive-shops {
        padding: 20px 0;
    }
    
    .archive-title {
        font-size: 24px;
    }
    
    .machonavi-search-form {
        padding: 20px;
    }
    
    .search-form-row {
        flex-direction: column;
    }
    
    .search-form-group {
        width: 100%;
    }
    
    .search-submit {
        width: 100%;
    }
    
    .archive-sort {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .shop-card-footer {
        flex-direction: column;
        gap: 10px;
    }
}

/* ================================================
   7. キャスト一覧　※詳細ページは別ファイルに記載
   ================================================ */
/* ========================================
   キャスト一覧ページ
======================================== */
.archive-casts {
    padding: 40px 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* キャストグリッド */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* キャストカード */
.cast-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.cast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cast-card-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* キャスト画像 - 正方形固定 */
.cast-card-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

.cast-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
}

.cast-card:hover .cast-image {
    transform: scale(1.05);
}

/* カードコンテンツ */
.cast-detail-content .content-grid {
    display: block !important;
}



.cast-card-content {
    padding: 21px 20px 5px 20px;
    flex: 1;
}

.cast-card-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

.cast-card-nickname {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.cast-card-shop {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cast-card-shop i {
    color: #ff6b6b;
    font-size: 12px;
}

.cast-card-info {
    font-size: 13px;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.info-label {
    color: #999;
}

.info-value {
    font-weight: 600;
    color: #333;
}

/* 筋肉タグ */
.cast-card-muscles {
    padding: 0 20px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.muscle-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #ff6b6b;
    color: #fff;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* カードフッター */
.cast-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.cast-card-footer .view-detail {
    font-size: 14px;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.cast-card-footer .view-detail:hover {
    color: #ff5252;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .archive-casts {
        padding: 20px 0;
    }
    
    .cast-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .cast-card-image {
        height: 200px;
    }
    
    .cast-card-content {
        padding: 15px;
    }
    
    .cast-card-name {
        font-size: 16px;
    }
}


/* ================================================
   8. 求人
   ================================================ */
   
/* 求人一覧 */
.job-archive {
    padding: 40px 0;
}

.archive-jobs {
    padding-top: 40px;
    padding-bottom: 40px;
}

.archive-jobs .archive-header {
    margin-bottom: 30px;
}

/* 求人一覧（縦並びレイアウト） */
.job-list {
    margin-top: 40px;
    margin-bottom: 40px;
}

.job-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.job-item:last-child {
    margin-bottom: 0;
}

.job-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.job-item-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.job-thumbnail {
    width: 200px;
    min-width: 200px;
    height: 150px;
    overflow: hidden;
    position: relative;
}

.job-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.job-item:hover .job-thumb-image {
    transform: scale(1.05);
}

.job-item-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.job-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.job-item-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
    color: var(--machonavi-dark);
    flex: 1;
}

.job-date {
    font-size: 12px;
    color: #999;
    margin-left: 15px;
    white-space: nowrap;
}

.job-shop {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--machonavi-primary);
    margin-bottom: 12px;
    font-weight: 500;
}

.job-shop i {
    font-size: 14px;
}

.job-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.job-area,
.job-type,
.job-salary {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.job-area i,
.job-type i,
.job-salary i {
    color: var(--machonavi-primary);
    font-size: 12px;
}

.job-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-top: auto;
}

@media (max-width: 768px) {
    .job-list {
        margin-top: 24px;
        margin-bottom: 24px;
    }
    
    .job-item-link {
        flex-direction: column;
        min-height: auto;
    }
    
    .job-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .job-item-content {
        padding: 16px;
    }
    
    .job-item-title {
        font-size: 18px;
    }
    
    .job-item-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .job-date {
        margin-left: 0;
    }
    
    .job-info {
        gap: 15px;
    }
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
    color: #666;
}

.job-shop-name {
    background: var(--machonavi-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}

.job-card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 12px 0;
    line-height: 1.4;
    color: var(--machonavi-dark);
}

.job-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.area-tag {
    background: var(--machonavi-bg-light);
    color: var(--machonavi-primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.job-type {
    display: inline-block;
    padding: 4px 12px;
    background: var(--machonavi-accent);
    color: #333;
    font-size: 12px;
    border-radius: 4px;
    font-weight: bold;
}

.job-date {
    font-size: 12px;
    color: #999;
}

.job-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.job-title a {
    color: var(--machonavi-dark);
    text-decoration: none;
}

.job-title a:hover {
    color: var(--machonavi-primary);
}

.job-shop {
    font-size: 16px;
    color: var(--machonavi-primary);
    margin: 0 0 10px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.job-meta-item i {
    color: var(--machonavi-primary);
}

.job-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-top: auto;
    flex-grow: 1;
}

.job-link {
    display: inline-block;
    color: var(--machonavi-primary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.job-link:hover {
    color: #ff5252;
}

/* 求人詳細ページ */
.job-detail {
    padding-top: 5px;
    padding-bottom: 40px;
}

.job-section .veu_socialSet.veu_socialSet-auto.veu_socialSet-position-after.veu_contentAddSection {
    display: none;
}

.job-detail-header {
    background: #fff;
    border-radius: 12px;
    padding: 40px 0px 40px 0px;
    margin-bottom: 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.job-header-content {
    flex: 1;
}

.job-header-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.job-shop-info,
.job-post-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-shop-link {
    color: var(--machonavi-primary);
    text-decoration: none;
    font-weight: 500;
}

.job-shop-link:hover {
    text-decoration: underline;
}

.job-title {
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 20px;
    color: var(--machonavi-dark);
    line-height: 1.3;
}

.job-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 14px;
    color: #666;
}

.summary-item i {
    color: var(--machonavi-primary);
    font-size: 12px;
}

.job-header-image {
    width: 300px;
    min-width: 300px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.job-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-detail-content {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    border-top: 1px solid #eee;
}

.job-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.job-section:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.job-section h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 20px;
    color: var(--machonavi-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.job-section h2 i {
    color: var(--machonavi-primary);
    font-size: 20px;
}

.section-content {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.job-info-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.job-info-table th {
    width: 30%;
    padding: 16px 20px;
    background: var(--machonavi-bg-light);
    text-align: left;
    font-weight: 600;
    color: var(--machonavi-dark);
    border-bottom: 1px solid #eee;
}

.job-info-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.job-info-table tr:last-child th,
.job-info-table tr:last-child td {
    border-bottom: none;
}

.contact-info {
    background: var(--machonavi-bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-info h3 {
    font-size: 18px;
    margin: 0 0 15px;
    color: var(--machonavi-dark);
}

/* サイドバー */
.sidebar {
    padding: 40px 0;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 20px;
    color: var(--machonavi-dark);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--machonavi-primary);
}

.shop-info-card {
    text-align: center;
}

.shop-thumb {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.shop-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.shop-info-card h4 {
    font-size: 16px;
    margin: 0 0 12px;
    background: none;
}

.shop-info-card h4 a {
    color: var(--machonavi-primary);
    text-decoration: none;
}

.shop-info-card h4 a:hover {
    text-decoration: underline;
}

.shop-info-card p {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-view-shop {
    display: inline-block;
    background: var(--machonavi-primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-view-shop:hover {
    background: var(--machonavi-secondary);
    color: #fff;
}

.sticky-card {
    position: sticky;
    top: 20px;
}

.btn-apply {
    display: block;
    background: var(--machonavi-gradient);
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
    transition: transform 0.3s;
}

.btn-apply:hover {
    transform: translateY(-2px);
    color: #fff;
}

.apply-note {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/* 求人なし */
.no-jobs {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-jobs-icon {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-jobs-title {
    font-size: 24px;
    margin: 0 0 10px;
    color: #666;
}

.no-jobs-text {
    font-size: 16px;
    color: #999;
}

/* レスポンシブ：求人詳細 */
@media (max-width: 768px) {
    
    .job-detail-header {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }
    .job-header-meta {
        flex-flow: column;
        gap: 3px;
    }
    
    .job-header-image {
        width: 100%;
        height: 200px;
    }
    
    .job-title {
        font-size: 24px;
    }
    
    .job-summary {
        gap: 12px;
    }
    
    .summary-item {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .main-column {
        padding: 5px;
    }
    
    .sidebar {
        padding: 0px;
    }
    
    .job-info-table th {
        width: 40%;
        padding: 12px 16px;
    }
    
    .job-info-table td {
        padding: 12px 16px;
    }
    .sidebar-card {
        box-shadow: none;
    }
}

/* ================================================
   9. ウィジェット
   ================================================ */
   
/* ウィジェット共通スタイル
   人気コラムウィジェット
   おすすめ店舗ウィジェット
   エリアリンクウィジェット
   店舗を探すウィジェット
   レスポンシブ：ウィジェット
   */

.widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.widget:last-child {
    margin-bottom: 0;
}

/* ウィジェットタイトル */
.widget-title,
.widget h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #ff6b6b;
    background: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 人気コラムウィジェット */
.popular-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popular-post-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.popular-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ランク番号 */
.popular-post-item .rank-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #ff6b6b;
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

/* 1位〜3位は特別な色 */
.popular-post-item:nth-child(1) .rank-number {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.popular-post-item:nth-child(2) .rank-number {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
}

.popular-post-item:nth-child(3) .rank-number {
    background: linear-gradient(135deg, #CD7F32, #B87333);
}

.popular-post-content {
    flex: 1;
    min-width: 0;
}

.popular-post-link {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
    align-items: center;
}

.popular-post-link:hover {
    opacity: 0.8;
}

.popular-post-thumb {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-text {
    flex: 1;
    min-width: 0;
}

.popular-post-title {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    background: none;
    padding: 0px;
}

.popular-post-date {
    font-size: 11px;
    color: #999;
}

/* おすすめ店舗ウィジェット */
.widget-recommended-shop {
    position: relative;
}

.sponsor-label {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    z-index: 1;
}

.widget-shop-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.widget-shop-image {
    width: 100%;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.widget-shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.widget-shop-link:hover .widget-shop-image img {
    transform: scale(1.05);
}

.widget-shop-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.widget-shop-catch {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.widget-shop-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.widget-shop-meta i {
    margin-right: 5px;
    color: #ff6b6b;
}

.widget-shop-vote {
    text-align: center;
    margin-top: 12px;
}

/* エリアリンクウィジェット */
.widget-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.area-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.area-links-list li {
    margin-bottom: 8px;
}

.area-links-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: all 0.3s;
}

.area-links-list a:hover {
    background: #ff6b6b;
    color: #fff;
}

.area-links-list i {
    margin-right: 6px;
    font-size: 12px;
}

.area-links-list .count {
    font-size: 11px;
    color: #999;
}

.area-links-list a:hover .count {
    color: rgba(255, 255, 255, 0.8);
}

/* 店舗を探すウィジェット */
.widget_search {
    padding: 15px;
}

.widget_search .widget-title {
    font-size: 14px;
    margin-bottom: 12px;
}

.widget_search form {
    position: relative;
}

.widget_search input[type="search"] {
    width: 100%;
    padding: 8px 35px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
}

.widget_search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

/* レスポンシブ：ウィジェット */
@media (max-width: 768px) {
    .area-links-list {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   10. その他のページ
   ================================================ */
   
/* 地図ページ */
.map-page {
    padding: 40px 0;
}

.map-container {
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.map-controls {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.map-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.map-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.map-search-button {
    padding: 10px 20px;
    background: var(--machonavi-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.map-filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.map-filter-button {
    padding: 8px 16px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.map-filter-button.active {
    background: var(--machonavi-primary);
    color: #fff;
    border-color: var(--machonavi-primary);
}

/* レスポンシブ：その他 */
@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }
}

/* ================================================
   11. ユーティリティ
   ================================================ */
   
/* 印刷用スタイル */
@media print {
    .site-header,
    .site-footer,
    .column-share,
    .column-navigation,
    .column-sidebar,
    .sidebar,
    .job-apply-section {
        display: none !important;
    }
    
    .site-content {
        margin-top: 0;
    }
    
    .column-content {
        padding: 0;
    }
}

/* ========================================
   店舗一覧ページ（アーカイブ）
======================================== */

/* アーカイブヘッダー */
.archive-shops {
    padding: 40px 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.archive-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.archive-description {
    font-size: 16px;
    color: #666;
}

/* 検索フォーム */
.machonavi-search-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.search-form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.search-form-group {
    flex: 1;
    min-width: 200px;
}

.search-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.search-form-group input[type="text"],
.search-form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-form-group input[type="text"]:focus,
.search-form-group select:focus {
    outline: none;
    border-color: #ff6b6b;
}

.search-submit {
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    height: 44px;
}

.search-submit:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* ソートリンク */
.archive-sort {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.archive-sort span {
    font-weight: 600;
    color: #333;
}

.archive-sort a {
    color: #666;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s;
}

.archive-sort a:hover {
    background-color: #f0f0f0;
    color: #333;
}

.archive-sort a.active {
    background-color: #ff6b6b;
    color: #fff;
}

/* 店舗グリッド */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* 店舗カード */
.shop-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.shop-card > a {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}
ul.page-numbers li span.page-numbers.current {
    color: #fff;
    background-color: #fe815c;
}

/* 画像部分 */
.shop-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.shop-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.shop-card:hover .shop-card-image {
    transform: scale(1.05);
}

/* ステータスバッジ */


/* カードコンテンツ */
.shop-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.shop-card-catch {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* メタ情報 */
.shop-card-meta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-card-meta span {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.shop-card-meta i {
    color: #ff6b6b;
    width: 16px;
}

/* カードフッター */
.shop-card-footer {
    overflow: visible !important;
    position: relative;
    z-index: 2;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-detail {
    font-size: 14px;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.view-detail:hover {
    color: #ff5252;
}

/* 検索結果なし */
.no-results {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
}

.no-results p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.no-results p:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .archive-shops {
        padding: 20px 0;
    }
    
    .archive-title {
        font-size: 24px;
    }
    
    .machonavi-search-form {
        padding: 20px;
    }
    
    .search-form-row {
        flex-direction: column;
    }
    
    .search-form-group {
        width: 100%;
    }
    
    .search-submit {
        width: 100%;
    }
    
    .archive-sort {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .shop-card-footer {
        flex-direction: row;
        gap: 10px;
    }
}

/* ========================================
   ページネーション
======================================== */
.machonavi-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.machonavi-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}


.machonavi-pagination .current {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
}

.machonavi-pagination .dots {
    border: none;
    padding: 0 5px;
}

.machonavi-pagination .prev,
.machonavi-pagination .next {
    font-weight: 600;
}

/* ========================================
   ランキングページ - リセット
======================================== */
.ranking-page {
    padding: 40px 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.ranking-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ページヘッダー */
.ranking-page .page-header {
    text-align: center;
    margin-bottom: 40px;
    background: none;
    padding: 0;
    flex-flow: column;
    min-height: auto;
}

.ranking-page .page-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ranking-page .page-description {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* セクションナビゲーション */
.section-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.section-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 30px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    transition: all 0.3s;
}

.section-nav-item:hover,
.section-nav-item.active {
    background: #ff6b6b;
    color: #fff;
    border-color: #ff6b6b;
}

/* ランキングセクション */
.ranking-section {
    background: #fff;
    border-radius: 8px;
    padding: 80px 0px;
}

.ranking-section .section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 期間タブ */
.period-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.period-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
}

.period-tab:hover {
    color: #ff6b6b;
}

.period-tab.active {
    color: #ff6b6b;
    border-bottom-color: #ff6b6b;
}

/* ランキングコンテンツ */
.ranking-content {
    position: relative;
}

.ranking-pane {
    display: none;
}

.ranking-pane.active {
    display: block;
}

/* ランキングリスト - PC版 */
.ranking-list {
    list-style: none;
    margin: 0;
    padding: 0px 15px;
}

.ranking-item {
    display: flex;
    align-items: anchor-center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

/* PC版: 左側の独立したランクバッジ */
.ranking-item > .rank-badge {
    width: 50px;
    min-width: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px; /* カード左辺との余白 */
}

/* モバイル版用: 画像に重ねるランクバッジ（PC版では非表示） */
.rank-badge-overlay {
    position: absolute;
    top: -15px;
    left: -15px;
    z-index: 2;
    display: none;
}

.rank-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    position: relative;
    flex-shrink: 0;
}

/* メダルの数字を::afterで表示 */
.rank-medal::after {
    content: attr(data-rank);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rank-medal.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.rank-medal.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
}

.rank-medal.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #B87333);
}

.rank-num {
    font-size: 16px;
    font-weight: bold;
    color: #999;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    min-width: 35px;
    min-height: 35px;
}

/* ランクコンテンツリンク */
.rank-content-link {
    flex: 1;
    text-decoration: none;
    color: inherit;
    display: block;
    margin-right: 15px; /* 投票ボタンとの間隔 */
}

.rank-content-link:hover {
    text-decoration: none;
}

/* ランクコンテンツ */
.rank-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex: 1;
}

.rank-thumbnail {
    width: 140px;
    height: 105px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.rank-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.rank-content-link:hover .rank-thumbnail img {
    transform: scale(1.05);
}

.rank-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rank-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.rank-content-link:hover .rank-title {
    color: #ff6b6b;
}

.rank-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rank-votes {
    display: none;
}

.rank-action {
    margin-top: auto;
    padding-top: 10px;
}
.auto-update-info {
    margin-bottom: 60px;
    margin-top: 60px;
    text-align: center;
}

/* ========================================
   ランキングページ - モバイル版
======================================== */
@media (max-width: 768px) {
    /* ページ全体の調整 */
    .ranking-page {
        padding: 20px 0;
    }
    
    .ranking-page .container {
        padding: 0 15px;
    }
    
    /* ヘッダー部分 */
    .ranking-page .page-header {
        margin-bottom: 5px;
        flex-flow: column;
        margin-top: 20px;
    }
    
    .ranking-page .page-title {
        font-size: 24px;
        gap: 8px;
    }
    
    .ranking-page .page-title i {
        font-size: 20px;
    }
    
    .ranking-page .page-description {
        font-size: 14px;
    }
    
    /* セクションナビゲーション */
    .section-nav {
        padding: 15px;
        margin-bottom: 20px;
        gap: 10px;
        justify-content: space-between;
    }
    
    .section-nav-item {
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 25px;
        flex-flow: column;
        width: 50%;
    }

    .section-nav-span {
        display: none;
    }
    
    /* ランキングセクション */
    .ranking-section {
        padding: 50px 15px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .ranking-section .section-title {
        font-size: 22px;
        margin-bottom: 40px;
        gap: 8px;
    }
    
    .ranking-section .section-title i {
        font-size: 18px;
    }
    
    /* 期間タブ */
    .period-tabs {
        margin-bottom: 20px;
        justify-content: center;
    }
    
    .period-tab {
        flex: 1;
        padding: 8px 16px;
        font-size: 14px;
    }
    
    /* ランキングアイテム - モバイル版 */
    .ranking-item {
        position: relative;
        display: block;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 12px;
        margin-bottom: 12px;
        border-bottom: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s;
    }
    
    .ranking-item:last-child {
        margin-bottom: 0;
    }
    
    .ranking-item:hover {
        transform: translateY(-2px);
    }

    /* PC版の独立バッジを非表示 */
    .ranking-item > .rank-badge {
        display: none;
    }

    /* モバイル版: 画像に重ねるバッジを表示 */
    .rank-badge-overlay {
        display: block !important;
    }
    
    /* 店舗ランキング - モバイル版（縦並び） */
    #shop-ranking .rank-content {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    #shop-ranking .rank-image-link {
        display: block;
        position: relative;
        width: 100%;
    }
    
    #shop-ranking .rank-thumbnail {
        position: relative;
        width: 100%;
        height: 200px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        overflow: visible;
    }
    
    /* キャストランキング - モバイル版（横並び、正方形画像） */
    #cast-ranking .rank-content {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }
    
    #cast-ranking .rank-image-link {
        display: block;
        flex-shrink: 0;
        position: relative;
        width: 90px;
    }
    
    #cast-ranking .rank-thumbnail {
        position: relative;
        width: 90px;
        height: 90px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        flex-shrink: 0;
        overflow: visible;
    }
    
    /* 画像自体は角丸にクリップ */
    .rank-thumbnail img {
        border-radius: 8px;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* モバイル版バッジのスタイル */
    .rank-badge-overlay .rank-medal {
        width: 30px;
        height: 30px;
        font-size: 14px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .rank-badge-overlay .rank-num {
        font-size: 14px;
        background: rgba(255, 255, 255, 0.9);
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #666;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }
    
    /* 情報部分 - モバイル版（縦並び） */
    .rank-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .rank-title {
        font-size: 15px;
        margin-bottom: 0;
        line-height: 1.4;
        font-weight: bold;
    }
    
    .rank-title a {
        color: inherit;
        text-decoration: none;
    }
    
    .rank-title a:hover {
        color: #ff6b6b;
    }
    
    .rank-meta {
        font-size: 12px;
        margin-bottom: 0;
        color: #666;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .rank-votes {
        display: none;
    }
    
    /* アクション部分 - モバイル版 */
    .rank-action {
        margin-top: 0px;
        padding-top: 0px;
        display: flex;
        justify-content: flex-start;
    }
    
    /* 投票ボタンのサイズ調整 */
    .rank-action .machonavi-vote-button {
        transform: scale(0.8);
        transform-origin: left center;
    }
    
    /* ローディング */
    .loading-spinner {
        padding: 40px;
    }
    
    .loading-spinner i {
        font-size: 32px;
    }
    
    /* 自動更新インジケーター */
    .auto-update-info {
        font-size: 12px;
        margin-top: 20px;
        padding: 10px;
        background: #f8f9fa;
        border-radius: 8px;
    }
    
    /* パンくずリスト */
    .machonavi-breadcrumb {
        font-size: 12px;
        padding: 10px 0;
        overflow-x: auto;
        max-width: 90%;
        margin: 0 auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .machonavi-breadcrumb a {
        color: #666;
    }
}

/* さらに小さい画面用の調整 */
@media (max-width: 375px) {
    .ranking-page .page-title {
        font-size: 20px;
    }
    
    .section-nav-item {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .ranking-item {
        padding: 12px;
    }
    
    .rank-thumbnail {
        width: 100px;
        height: 75px;
    }
    
    .rank-title {
        font-size: 14px;
    }
    
    .rank-meta {
        font-size: 11px;
    }
}

/* タッチデバイス用の調整 */
@media (hover: none) {
    .ranking-item {
        -webkit-tap-highlight-color: rgba(255, 107, 107, 0.1);
    }
    
    .section-nav-item:active {
        transform: scale(0.98);
    }
    
    .period-tab:active {
        background: rgba(255, 107, 107, 0.1);
    }
}

/* 青い背景の除去 */
.ranking-page h1,
.ranking-page h2,
.ranking-page h3 {
    background: none !important;
    padding: 0 !important;
}

.job-employment-type {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}
.job-employment-type i {
    color: var(--machonavi-primary);
    font-size: 12px;
}

.machonavi-breadcrumb {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

/* 利用規約・プライバシーポリシー共通 */
.page-terms, .page-privacy {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0 64px 0;
}
.terms-content, .privacy-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 40px 32px;
  font-size: 16px;
  line-height: 2;
  color: #333;
}
.page-terms .section-title, .page-privacy .section-title {
  font-size: 2rem;
  margin-bottom: 32px;
  text-align: center;
  font-weight: bold;
  color: var(--machonavi-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.terms-content h2, .privacy-content h2 {
  font-size: 1.2em;
  margin: 2em 0 1em 0;
  color: var(--machonavi-primary);
  font-weight: bold;
}
.terms-content ul, .privacy-content ul {
  margin: 1em 0 1em 1.5em;
  padding: 0;
}
.terms-content li, .privacy-content li {
  margin-bottom: 0.5em;
  list-style: disc;
}
.terms-content p, .privacy-content p {
  margin: 1em 0;
}
.terms-content strong, .privacy-content strong {
  color: var(--machonavi-primary);
}
@media (max-width: 768px) {
  .page-terms, .page-privacy {
    padding: 24px 0 32px 0;
  }
  .terms-content, .privacy-content {
    padding: 20px 8px;
    font-size: 15px;
  }
  .page-terms .section-title, .page-privacy .section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .search-form {
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }
  .search-input {
    font-size: 16px;
    padding: 12px 14px;
    width: 100%;
    min-width: 0;
    flex: 1 1 0%;
    box-sizing: border-box;
  }
  .search-submit {
    font-size: 15px;
    padding: 12px 18px;
    height: auto;
    min-width: 60px;
    border-radius: 15px;
    white-space: nowrap;
    flex-shrink: 0;
    box-sizing: border-box;
  }
  .search-box .search-submit {
    max-width: 60px;
    box-sizing: border-box;
  }
  input.search-input {
    margin-bottom: 0px;
    }
    .cta-title {
        font-size: 24px;
    }
}

.shop-card-footer .vote-message {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  margin-top: 12px;
  display: block !important;
}

.rank-number {
  display: inline;
  min-width: 0;
  height: auto;
  line-height: normal;
  background: none;
  color: #999;
  font-weight: bold;
  font-size: 18px;
  border-radius: 0;
  text-align: center;
  margin: 0;
}

.rank-badge {
  width: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  font-size: 18px;
  color: #999;
  font-weight: bold;
}

/* 店舗タイプ表示 */
.meta-shop-type {
    color: #666 !important;
}

.meta-shop-type i {
    color: #666 !important;
}

/* ========================================
   画像アスペクト比統一
======================================== */

/* 店舗画像は全て4:3に統一 */
.shop-card-image-wrapper,
.shop-image,
.rank-shop-image,
#shop-ranking .rank-thumbnail,
.recommended-shop-image,
.widget-shop-image,
.shop-thumb,
.shop-header-image,
.shop-main-image {
    aspect-ratio: 4/3 !important;
    height: auto !important;
}

/* キャスト画像は全て正方形(1:1)に統一 */
.cast-card-image,
.cast-main-image,
#cast-ranking .rank-thumbnail {
    aspect-ratio: 1/1 !important;
    height: auto !important;
}

/* TOPページのランキング画像 - モバイル版店舗画像も4:3 */
@media (max-width: 768px) {
    .home-ranking .rank-shop-image {
        aspect-ratio: 4/3 !important;
        height: auto !important;
    }
}

/* ========================================
   投票ボタンの吹き出し
======================================== */

/* 投票ボタンコンテナ */
.vote-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 吹き出しスタイル */
.vote-bubble {
    position: relative;
    background: #ff6b6b;
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
    flex-shrink: 0;
}

/* 投票数吹き出しスタイル */
.vote-count-bubble {
    position: relative;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    min-width: 35px;
    text-align: center;
}

/* 投票数吹き出しの矢印（左側の三角形） */
.vote-count-bubble::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -4px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 4px solid #2196F3;
    transform: translateY(-50%);
}

/* 投票済み状態の吹き出し */
.vote-count-bubble.voted {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
}

.vote-count-bubble.voted::before {
    border-right-color: #FF6B6B;
}

/* 吹き出しの矢印（左側の三角形） */
.vote-bubble::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -4px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 4px solid #ff6b6b;
    transform: translateY(-50%);
}

.bubble-text {
    display: block;
    line-height: 1.2;
}

/* スマホ版での調整 */
@media (max-width: 768px) {
    .vote-container {
        gap: 6px;
    }
    
    .vote-bubble {
        font-size: 10px;
        padding: 3px 6px;
        border-radius: 10px;
    }
    
    .vote-bubble::before {
        border-right-width: 3px;
        border-top-width: 3px;
        border-bottom-width: 3px;
        left: -3px;
    }
    
    .vote-count-bubble {
        font-size: 10px;
        padding: 3px 6px;
        border-radius: 10px;
        min-width: 30px;
    }
    
    .vote-count-bubble::before {
        border-right-width: 3px;
        border-top-width: 3px;
        border-bottom-width: 3px;
        left: -3px;
        border-right-color: #2196F3;
    }
    
    .vote-count-bubble.voted::before {
        border-right-color: #FF6B6B;
    }
}

/* 小さいサイズの投票ボタン用の調整 */
.vote-size-small .vote-container {
    gap: 6px;
}

.vote-size-small .vote-bubble {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 10px;
}

.vote-size-small .vote-bubble::before {
    border-right-width: 3px;
    border-top-width: 3px;
    border-bottom-width: 3px;
    left: -3px;
}

.vote-size-small .vote-count-bubble {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 30px;
}

.vote-size-small .vote-count-bubble::before {
    border-right-width: 3px;
    border-top-width: 3px;
    border-bottom-width: 3px;
    left: -3px;
    border-right-color: #2196F3;
}

.vote-size-small .vote-count-bubble.voted::before {
    border-right-color: #FF6B6B;
}

/* ========================================
   ランキングページの「もっと見る」ボタン
======================================== */
.ranking-more-button {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
}

.btn-more-ranking {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-more-ranking:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-more-ranking i:first-child {
    font-size: 18px;
}

.btn-more-ranking i:last-child {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-more-ranking:hover i:last-child {
    transform: translateX(4px);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .btn-more-ranking {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .btn-more-ranking i:first-child {
        font-size: 16px;
    }
}