/* 魚図鑑 - Frontend Styles */

.sk-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* ===== 一覧ページ ===== */

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

.sk-archive-title {
    font-size: 2em;
    color: #123249;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.sk-archive-lead {
    color: #4a7690;
    font-size: 1em;
    max-width: 640px;
    margin: 0 auto;
}

.sk-tax-nav {
    background: linear-gradient(135deg, #e8f4fa 0%, #d3ecf5 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.sk-tax-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sk-tax-group-label {
    font-weight: 700;
    color: #146287;
    font-size: 0.85em;
    margin-right: 8px;
}

.sk-tax-pill {
    display: inline-block;
    padding: 6px 14px;
    background: white;
    color: #146287;
    border: 1px solid #a6d4e8;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85em;
    transition: all 0.25s;
}

.sk-tax-pill:hover {
    background: #1785b8;
    color: white;
    border-color: #1785b8;
}

.sk-tax-pill.is-active {
    background: #1785b8;
    color: white;
    border-color: #1785b8;
    font-weight: 700;
}

.sk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}

.sk-card {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 2px 8px rgba(18, 50, 73, 0.1);
    border: 1px solid #d9edf5;
    transition: all 0.3s;
}

.sk-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(18, 50, 73, 0.18);
}

.sk-card-thumb {
    position: relative;
    padding-top: 75%;
    background: linear-gradient(135deg, #bfe4f2 0%, #8fcbe3 100%);
    overflow: hidden;
}

.sk-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sk-card-noimg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a94b8;
}

.sk-card-noimg .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
}

.sk-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(23, 133, 184, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
}

.sk-card-body {
    padding: 16px;
}

.sk-card-title {
    font-size: 1.1em;
    margin: 0 0 8px 0;
    color: #123249;
    font-weight: 700;
}

.sk-card-excerpt {
    font-size: 0.88em;
    color: #5f8aa0;
    line-height: 1.6;
    margin: 0;
}

.sk-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #3a94b8;
}

.sk-pagination {
    text-align: center;
    margin-top: 30px;
}

.sk-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    background: white;
    border: 1px solid #a6d4e8;
    border-radius: 6px;
    color: #146287;
    text-decoration: none;
}

.sk-pagination .page-numbers.current {
    background: #1785b8;
    color: white;
}

/* ===== 詳細ページ ===== */

.sk-breadcrumb {
    font-size: 0.85em;
    color: #3a94b8;
    margin-bottom: 20px;
}

.sk-breadcrumb a {
    color: #1785b8;
    text-decoration: none;
}

.sk-single-header {
    margin-bottom: 24px;
}

.sk-single-badges {
    margin-bottom: 12px;
}

.sk-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 0.8em;
    font-weight: 600;
    text-decoration: none !important;
    margin-right: 6px;
}

.sk-badge-category {
    background: #1785b8;
    color: white !important;
}

.sk-single-title {
    font-size: 2.2em;
    color: #123249;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.sk-single-lead {
    font-size: 1.05em;
    color: #4a7690;
    line-height: 1.7;
}

.sk-single-thumb {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.sk-single-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.sk-section {
    margin-bottom: 40px;
    padding: 28px;
    border-radius: 14px;
}

.sk-section-basic {
    background: #f2fafd;
    border: 1px solid #d9edf5;
}

.sk-section-care {
    background: linear-gradient(135deg, #e8f4fa 0%, #ddf0f7 100%);
    border: 1px solid #c7e6f2;
}

.sk-section-title {
    font-size: 1.4em;
    color: #123249;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.sk-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.sk-info-table th,
.sk-info-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eaf6fb;
}

.sk-info-table th {
    width: 180px;
    background: #e8f4fa;
    color: #146287;
    font-weight: 600;
    font-size: 0.9em;
}

.sk-info-table td {
    color: #333;
}

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

.sk-section-content {
    line-height: 1.9;
    color: #2f4a58;
}

.sk-care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.sk-care-card {
    background: white;
    border-radius: 10px;
    padding: 18px;
    border: 1px solid #c7e6f2;
}

.sk-care-card-title {
    font-size: 0.95em;
    color: #146287;
    margin: 0 0 8px 0;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 2px solid #b0dced;
}

.sk-care-card-body {
    font-size: 0.92em;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

.sk-back-link {
    margin-top: 30px;
}

.sk-back-link a {
    color: #1785b8;
    text-decoration: none;
    font-weight: 600;
}

/* 飼いやすさ（星） */
.sk-stars {
    color: #d9822b;
    font-size: 1.15em;
    letter-spacing: 1px;
}

/* 商品リンク */
.sk-product-links {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #b0dced;
}

.sk-product-links-title {
    font-size: 0.95em;
    color: #146287;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.sk-product-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sk-product-link-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #146287;
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    transition: background 0.25s;
}

.sk-product-link-btn:hover {
    background: #123249;
}

/* ===== レスポンシブ ===== */

@media (max-width: 768px) {
    .sk-container {
        padding: 20px 15px;
    }

    .sk-single-title {
        font-size: 1.6em;
    }

    .sk-section {
        padding: 18px;
    }

    .sk-info-table th {
        width: 120px;
        font-size: 0.82em;
    }

    .sk-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 14px;
    }
}
