/* ========================================
   対応エリアページ専用スタイル
======================================== */

/* ページヒーロー */
.page-hero {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    padding: 100px 20px 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    pointer-events: none;
}

.page-hero-content {
    max-width: 768px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero-label {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    opacity: 0.9;
}

.page-hero-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
}

.page-hero-text {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.95;
}

/* パンくずリスト */
.breadcrumb {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-link {
    font-size: 13px;
    color: #0066cc;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb-link:hover {
    opacity: 0.7;
}

.breadcrumb-separator {
    font-size: 13px;
    color: #999;
}

.breadcrumb-current {
    font-size: 13px;
    color: #666;
}

/* エリア詳細セクション */
.area-detail-section {
    background: #fff;
    padding: 60px 0;
}

.area-detail-nationwide {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
}

.area-detail-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

.area-detail-header {
    text-align: center;
    margin-bottom: 50px;
}

.area-detail-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.area-detail-title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}

.area-detail-lead {
    font-size: 15px;
    line-height: 1.9;
    color: #666;
}

/* 府県カードグリッド */
.prefecture-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.prefecture-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.prefecture-card:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
    opacity: 1;
}

.prefecture-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.prefecture-icon {
    width: 24px;
    height: 24px;
    stroke: #0066cc;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.prefecture-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.prefecture-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 12px;
}

.prefecture-link {
    font-size: 14px;
    font-weight: bold;
    color: #0066cc;
    display: inline-block;
}

/* 地域アコーディオン */
.region-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.region-accordion-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.region-accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s;
    background: #fff;
}

.region-accordion-button:hover {
    background: #f8f9fa;
}

.region-accordion-button[aria-expanded="true"] {
    background: #f0f7ff;
}

.region-accordion-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.region-accordion-count {
    font-size: 13px;
    color: #999;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 12px;
}

.region-accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #999;
    transition: transform 0.3s, color 0.3s;
}

.region-accordion-button[aria-expanded="true"] .region-accordion-icon {
    transform: rotate(180deg);
    color: #0066cc;
}

.region-accordion-icon svg {
    display: block;
}

.region-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.region-accordion-item.active .region-accordion-content {
    max-height: 600px;
}

.prefecture-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 20px 25px;
}

.prefecture-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

.prefecture-link-item:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
    color: #0066cc;
    transform: translateX(3px);
    opacity: 1;
}

/* その他の調査エリア */
.area-other-section {
    background: #fff;
    padding: 60px 0;
}

.area-other-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.area-other-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.area-other-lead {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.area-other-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.area-other-card {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
    border-radius: 12px;
    padding: 25px 20px;
    transition: all 0.3s;
}

.area-other-card:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.area-other-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.area-other-card-text {
    font-size: 14px;
    line-height: 1.9;
    color: #666;
}

/* エリア外対応 */
.area-outside-section {
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 102, 204, 0.015) 2px, rgba(0, 102, 204, 0.015) 4px),
        #f8f9fa;
    padding: 60px 0;
}

.area-outside-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
}

.area-outside-content {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.area-outside-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.area-outside-text {
    font-size: 15px;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
}

.area-outside-text:last-of-type {
    margin-bottom: 30px;
}

.area-outside-note {
    background: #f0f7ff;
    border-left: 4px solid #0066cc;
    padding: 15px 20px;
    border-radius: 8px;
}

.area-outside-note p {
    font-size: 13px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

/* タブレット以上 */
@media (min-width: 768px) {
    .page-hero {
        padding: 120px 40px 80px;
    }
    
    .page-hero-title {
        font-size: 40px;
    }
    
    .prefecture-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .prefecture-links {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .area-other-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}