
/* Prefecture Listing Page Styles - All selectors prefixed with pref_ to avoid conflicts */
.pref_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #fff;
}

/* Breadcrumb Styles */
.pref_breadcrumb {
    margin-bottom: 20px;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
}

.pref_breadcrumb a {
    color: #00857e;
    text-decoration: none;
}

.pref_breadcrumb a:hover {
    text-decoration: underline;
}

.pref_header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    position: relative;
}

.pref_header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #00857e, #5c6bc0);
    border-radius: 3px;
}

.pref_title {
    font-size: 32px;
    color: #00857e;
    margin-bottom: 15px;
    font-weight: 700;
}

.pref_subtitle {
    display: block;
    font-size: 18px;
    color: #5c6bc0;
    font-weight: normal;
    margin-top: 5px;
}

.pref_intro {
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto 0;
    color: #555;
}

.pref_intro_en, .pref_region_desc_en, .pref_footer_text_en, .pref_info_en {
    color: #777;
    font-size: 0.9em;
    font-style: italic;
}

/* Highlight Box */
.pref_highlight_box {
    background: linear-gradient(135deg, #e8eaf6, #c5cae9);
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pref_highlight_content {
    max-width: 800px;
    margin: 0 auto;
}

.pref_highlight_title {
    color: #00857e;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}

.pref_highlight_text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #333;
}

.pref_highlight_text_en {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

.pref_japan_map {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.pref_map_image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.pref_map_image:hover {
    transform: scale(1.02);
}

.pref_region {
    margin-bottom: 60px;
    animation: pref_fadeIn 0.5s ease-in-out;
}

@keyframes pref_fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pref_region_header {
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
}

.pref_region_title {
    font-size: 26px;
    color: #00857e;
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.pref_region_title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    height: 80%;
    width: 5px;
    background: linear-gradient(to bottom, #00857e, #5c6bc0);
    border-radius: 3px;
}

.pref_region_title_en {
    font-size: 16px;
    color: #5c6bc0;
    font-weight: normal;
    margin-left: 10px;
}

.pref_region_desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
    padding-left: 15px;
}

.pref_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.pref_card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow:  1fr));
    gap: 25px;
}

.pref_card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    height: 220px;
    background-color: #fff;
}

.pref_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.pref_image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s ease;
}

.pref_card:hover .pref_image {
    transform: scale(1.05);
}

.pref_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    padding: 20px 15px;
    color: white;
    transition: all 0.3s ease;
}

.pref_card:hover .pref_overlay {
    padding-bottom: 30px;
}

.pref_name {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.pref_name_en {
    font-size: 14px;
    opacity: 0.9;
    margin: 3px 0 8px;
}

.pref_count {
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    padding: 3px 8px;
    border-radius: 4px;
}

.pref_count_label {
    font-size: 12px;
    font-weight: normal;
}

.pref_feature {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.pref_card:hover .pref_feature {
    max-height: 60px;
    margin-top: 8px;
}

.pref_view_btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #00857e;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.pref_card:hover .pref_view_btn {
    opacity: 1;
    transform: translateY(0);
}

/* Info Section */
.pref_info_section {
    background-color: #f5f7fa;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pref_info_title {
    color: #00857e;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.pref_info_title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #00857e, #5c6bc0);
    border-radius: 3px;
}

.pref_info_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pref_info_item {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.pref_info_subtitle {
    color: #00857e;
    font-size: 18px;
    margin-bottom: 15px;
    border-left: 4px solid #5c6bc0;
    padding-left: 10px;
}

.pref_footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.pref_footer_text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.pref_back_top {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #f5f5f5;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pref_back_top:hover {
    background-color: #e0e0e0;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pref_title {
        font-size: 26px;
    }
    
    .pref_subtitle {
        font-size: 16px;
    }
    
    .pref_region_title {
        font-size: 22px;
    }
    
    .pref_grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 15px;
    }
    
    .pref_card {
        height: 200px;
    }
    
    .pref_name {
        font-size: 18px;
    }
    
    .pref_info_content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .pref_container {
        padding: 15px;
    }

    .pref_title {
        font-size: 24px;
    }

    .pref_subtitle {
        font-size: 15px;
    }

    .pref_highlight_box {
        padding: 20px;
    }

    .pref_grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        gap: 15px;
    }
    
    .pref_card {
        height: 180px;
    }
    
    .pref_overlay {
        padding: 15px;
    }
    
    .pref_name {
        font-size: 16px;
    }
    
    .pref_count {
        font-size: 14px;
    }
    
    .pref_view_btn {
        padding: 8px 0;
        font-size: 13px;
    }
}