/* ==========================================================================
   7. タクソノミーアーカイブ（エリア別・海域別）
   ========================================================================== */
   .area-archive {
    padding: 40px 20px !important;
    max-width: 1200px;
    margin: 0 auto;
}

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

.area-archive .archive-header h1 {
    font-size: 2rem;
    color: var(--sys-text-primary);
    border-bottom: 3px solid var(--horizon-cta);
    display: inline-block;
    padding-bottom: 10px;
    font-family: var(--font-serif);
}

.sea-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.area-archive .sea-card {
    background: var(--mist-50);
    border: 1px solid var(--sys-border-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-archive .sea-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-soft);
}

.area-archive .sea-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.area-archive .sea-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.area-archive .sea-card-noimg {
    width: 100%;
    height: 200px;
    background: var(--mist-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sys-text-tertiary);
}

.area-archive .sea-card-body {
    padding: 20px;
}

.area-archive .sea-card h2 {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    color: var(--sys-text-primary);
}

.area-archive .sea-card .sea-card-link {
    display: inline-block;
    color: var(--horizon-cta);
    font-weight: bold;
    font-size: 0.9rem;
}

/* 該当なし表示 */
.area-archive .sea-area-empty {
    grid-column: 1 / -1;
    padding: 60px;
    text-align: center;
    background: var(--mist-100);
    border: 2px dashed var(--sys-border-light);
    border-radius: 15px;
}

/* ==========================================================================
   海域詳細ページ（single-sea.php）専用スタイル
   ========================================================================== */

.sea-area-detail-page {
    background: var(--mist-50);
}

.sea-area-detail-page .ginga-area-hub {
    padding-top: 60px;
    padding-bottom: 100px;
}

/* 特徴（イントロ）セクション */
.sea-introduction .ginga-hub-access-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 2;
    color: var(--depth-700);
}

/* 出航拠点セクション共通 */
.ginga-hub-boarding .ginga-hub-portmap {
    height: 400px;
    border: 1px solid var(--mist-100);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

.ginga-hub-boarding .ginga-hub-port-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* 出航拠点カード（全体クリッカブル対応） */
.ginga-hub-port-item {
    background: var(--mist-50);
    border: 1px solid var(--mist-100);
    padding: 24px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* クリッカブルな状態のカード */
.ginga-hub-port-item.is-clickable {
    cursor: pointer;
}

.ginga-hub-port-item.is-clickable:hover {
    transform: translateY(-5px);
    border-color: var(--sacred-gold);
    background: #fff;
    box-shadow: 0 10px 30px var(--shadow-soft);
}

/* 拠点タイトル */
.ginga-hub-port-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--depth-700);
    margin-bottom: 12px;
    border-left: 3px solid var(--sacred-gold);
    padding-left: 12px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.ginga-hub-port-item:hover .ginga-hub-port-title {
    color: var(--horizon-cta);
}

.ginga-hub-port-title i {
    color: var(--sacred-gold);
    margin-right: 4px;
    font-size: 20px;
    vertical-align: middle;
}

/* 住所とアクセス詳細 */
.ginga-hub-port-address,
.ginga-hub-port-access {
    font-size: 14px;
    color: var(--sys-text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

/* 地図から飛んできた時のハイライト効果 */
.ginga-hub-port-item.is-highlight {
    background-color: #fff9e6 !important; /* sacred-gold 由来のハイライト色 */
    border-color: var(--sacred-gold) !important;
    box-shadow: 0 0 20px rgba(168, 149, 106, 0.4);
    transform: scale(1.03);
    z-index: 10;
}

/* Leaflet ポップアップのカスタマイズ */
.custom-map-popup .leaflet-popup-content-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.custom-map-popup .leaflet-popup-tip {
    background: #fff;
}

.map-p-card {
    text-align: center;
    padding: 8px 12px;
}

.map-p-name {
    margin: 0 0 6px !important;
    font-weight: 700;
    color: var(--depth-700);
    font-size: 15px;
    line-height: 1.3;
}

.map-p-link {
    margin: 0 !important;
    font-size: 11px;
    color: var(--horizon-cta);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* フッターボタン（戻る） */
.sea-area-detail-page .review-footer-action {
    margin-top: 80px;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--mist-100);
}

.sea-area-detail-page .btn-back-to-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 50px;
    background: #fff;
    border: 1px solid var(--depth-700);
    color: var(--depth-700) !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sea-area-detail-page .btn-back-to-list:hover {
    background: var(--depth-700);
    color: #fff !important;
    transform: translateY(-2px);
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .sea-area-detail-page .ginga-area-hub {
        padding-top: 40px;
    }
    .ginga-hub-boarding .ginga-hub-portmap {
        height: 300px;
    }
    .sea-area-detail-page .btn-back-to-list {
        width: 100%;
        max-width: 320px;
    }
}

/* SWELLのタイトルエリア等の非表示（single-sea用） */
body.single-sea .l-topTitleArea,
body.single-sea .p-breadcrumb {
    display: none !important;
}

/* 口コミ・FAQ用追加スタイル */
.ginga-hub-reviews .ks-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.ks-review-card {
    background: var(--mist-50);
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--mist-100);
}
.ks-review-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--depth-700);
    margin-bottom: 15px;
}
.ks-review-author {
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    color: var(--sacred-gold);
}

/* FAQアコーディオン */
.ks-faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.ks-faq-item {
    background: var(--mist-50);
    border-bottom: 1px solid var(--mist-100);
    padding: 15px 0;
}
.ks-faq-question {
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-left: 30px;
}
.ks-faq-question::before {
    content: "Q.";
    position: absolute;
    left: 0;
    color: var(--sacred-gold);
}
.ks-faq-answer {
    padding: 15px 0 0 30px;
    font-size: 15px;
    color: var(--sys-text-secondary);
}