@charset "UTF-8";

/* ===========================================
   詐欺サイト個別ページ（.sb-app.sb-single）
   =========================================== */

/* コンテナの上部余白調整 */
.sb-app.sb-single .l-content {
    padding-top: 1em;
}

/* パンくずリスト非表示 */
.sb-app.sb-single .p-breadcrumb {
    display: none;
}

/* H1エリア */
.sb-app.sb-single .sb-single__title {
    font-size: 32px;
    font-weight: 300;
    color: #2c3e50;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 0;
    line-height: 1.3;
}

.sb-app.sb-single .sb-single__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.sb-app.sb-single .sb-single__tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background: transparent;
    color: #7f8c8d;
    font-size: 12px;
    font-weight: 400;
    border-radius: 2px;
    border: 1px solid #bdc3c7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sb-app.sb-single .sb-single__tag--pr {
    background: #34495e;
    color: white;
    border-color: #34495e;
}

/* サイトカード */
.sb-app.sb-single .sb-site-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    gap: 15px;
    max-width: 100%;
    box-sizing: border-box;
}

.sb-app.sb-single .sb-site-card__fraud-tag {
    background: #dc3545;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 3;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.sb-app.sb-single .sb-site-card__logo-section {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    width: 130px;
    height: 130px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin: 15px 10px 5px 15px;
}

.sb-app.sb-single .sb-site-card__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    display: block;
}

.sb-app.sb-single .sb-site-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.sb-app.sb-single .sb-site-card__name {
    font-size: 36px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0;
    padding: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    border: none;
    background: none;
    text-decoration: none;
    line-height: 1.2;
    position: relative;
}

.sb-app.sb-single .sb-site-card__name::before,
.sb-app.sb-single .sb-site-card__name::after {
    display: none;
    content: none;
}

.sb-app.sb-single .sb-site-card__url,
.sb-app.sb-single .sb-site-card__date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.4;
}

.sb-app.sb-single .sb-site-card__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.sb-app.sb-single .sb-site-card__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: none;
    border-radius: 12px;
    padding: 15px 10px;
    width: 120px;
    height: 140px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    font-family: inherit;
    line-height: normal;
    font-size: inherit;
    text-align: center;
    flex-shrink: 0;
    word-wrap: break-word;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
}

.sb-app.sb-single .sb-site-card__action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    background: white;
    color: inherit;
    text-decoration: none;
}

.sb-app.sb-single .sb-site-card__action-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    padding: 0;
    line-height: 1.2;
    flex-shrink: 0;
}

.sb-app.sb-single .sb-site-card__action-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    width: 100%;
    height: 100%;
    padding: 10px 0;
}

.sb-app.sb-single .sb-site-card__comment-count {
    color: #007cba;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    margin: 0;
}

.sb-app.sb-single .sb-site-card__comment-link {
    color: #007cba;
    text-decoration: underline;
    font-size: 12px;
    font-weight: normal;
}

.sb-app.sb-single .sb-site-card__survey {
    color: #007cba;
    text-decoration: underline;
    font-weight: bold;
    font-size: 18px;
    margin: 0;
}

.sb-app.sb-single .sb-site-card__stars {
    color: #ffc107;
    font-size: 18px;
    line-height: 1;
    position: relative;
}

.sb-app.sb-single .sb-site-card__stars-bg {
    color: #d0d0d0;
}

.sb-app.sb-single .sb-site-card__stars-fill {
    position: absolute;
    left: 0;
    color: #ffd700;
}

.sb-app.sb-single .sb-site-card__danger-text {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
}

.sb-app.sb-single .sb-site-card__investigation {
    color: #007cba;
    text-decoration: underline;
    font-size: 12px;
}

.sb-app.sb-single .fa-up-right-from-square {
    color: #007cba;
}

/* 基本情報テーブル */
.sb-app.sb-single .sb-info-table {
    margin: 30px 0;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sb-app.sb-single .sb-info-table__title,
.sb-app.sb-single .sb-comments__title {
    font-size: 20px;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 15px 20px;
    margin: -25px -25px 25px -25px;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 2px 8px rgba(195,207,226,0.3);
}

.sb-app.sb-single .sb-info-table__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sb-app.sb-single .sb-info-table__table th {
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
    padding: 10px 15px;
    text-align: left;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #dadce0;
    width: 180px;
    vertical-align: middle;
    position: relative;
}

.sb-app.sb-single .sb-info-table__table th::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: #dadce0;
}

.sb-app.sb-single .sb-info-table__table td {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    vertical-align: middle;
    word-break: break-all;
    line-height: 1.4;
}

.sb-app.sb-single .sb-info-table__table tr:last-child th,
.sb-app.sb-single .sb-info-table__table tr:last-child td {
    border-bottom: none;
}

.sb-app.sb-single .sb-info-table__table tr:hover {
    background: #f8f9fa;
}

.sb-app.sb-single .sb-info-table__table a {
    color: #007cba;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.sb-app.sb-single .sb-info-table__table a:hover {
    color: #005a87;
    text-decoration: underline;
}

.sb-app.sb-single .sb-info-table__cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 2px solid #007cba;
    color: #007cba;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.sb-app.sb-single .sb-info-table__table a:hover {
    background: #007cba;
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    border-color: #007cba;
}
/*
.sb-app.sb-single .sb-info-table__cta:hover {
    background: #007cba;
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    border-color: #007cba;
}
*/

.sb-app.sb-single .sb-info-table__cta-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
    color: inherit;
}

.sb-app.sb-single .sb-info-table__cta:hover .sb-info-table__cta-icon {
    transform: translateX(3px);
    color: white;
}

.sb-app.sb-single .sb-info-table__label-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sb-app.sb-single .sb-info-table__content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

.sb-app.sb-single .sb-info-table__badge {
    display: inline-block;
    padding: 4px 12px 4px 18px;
    background-color: #ff4757;
    color: white;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1px;
    box-shadow: 0 2px 4px rgba(255, 71, 87, 0.3);
    position: relative;
    width: fit-content;
    max-width: none;
    white-space: nowrap;
}

.sb-app.sb-single .sb-info-table__badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 7px;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: white;
    border-radius: 50%;
}

.sb-app.sb-single .sb-info-table__stars {
    color: #ffd700;
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
    position: relative;
}

.sb-app.sb-single .sb-info-table__stars-bg {
    color: #d0d0d0;
}

.sb-app.sb-single .sb-info-table__stars-fill {
    position: absolute;
    left: 0;
    color: #ffd700;
}

/* 口コミセクション */
.sb-app.sb-single .sb-comments {
    margin: 30px 0;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ===========================================
   外部サイト評価セクション（ブロックエディタ対応）
   =========================================== */

/* セクション全体のコンテナ */
.sb-app.sb-single .external-reviews-section,
.sb-app.sb-single .wp-block-group:has(.external-reviews-title) {
    margin: 30px 0;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* メインタイトル */
.sb-app.sb-single .external-reviews-title,
.sb-app.sb-single .wp-block-heading.external-reviews-title {
    font-size: 20px;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 15px 20px;
    margin: -25px -25px 25px -25px;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 2px 8px rgba(195,207,226,0.3);
}

/* サイト名見出し */
.sb-app.sb-single .external-reviews-site,
.sb-app.sb-single .wp-block-heading.external-reviews-site {
    font-size: 18px;
    color: #333;
    margin: 20px 0 15px 0;
    font-weight: bold;
    border-left: 4px solid #007cba;
    padding-left: 15px;
}

/* 引用ブロックスタイル */
.sb-app.sb-single .external-reviews-section .wp-block-quote,
.sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote {
    margin: 20px 0 10px 0;
    background: #e9ecef;
    padding: 25px 60px;
    position: relative;
    border: none;
    border-radius: 12px;
    font-style: italic;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* 左上のオープニングクオート */
.sb-app.sb-single .external-reviews-section .wp-block-quote::before,
.sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote::before {
    content: "\201C";
    position: absolute;
    font-size: 70px;
    line-height: 1;
    color: #abb8c3;
    font-style: normal;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    opacity: 0.8;
    font-weight: 600;
    top: 10px;
    left: 15px;
    z-index: 10;
}

/* 右下のクロージングクオート */
.sb-app.sb-single .external-reviews-section .wp-block-quote::after,
.sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote::after {
    content: "\201D";
    position: absolute;
    font-size: 70px;
    line-height: 1;
    color: #abb8c3;
    font-style: normal;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    opacity: 0.8;
    font-weight: 600;
    bottom: 10px;
    right: 15px;
    z-index: 10;
    display: block;
    transform: translateY(22px);
}

/* 引用ブロック内のテキスト */
.sb-app.sb-single .external-reviews-section .wp-block-quote p,
.sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote p {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    font-style: italic;
}

.sb-app.sb-single .external-reviews-section .wp-block-quote p:last-of-type,
.sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote p:last-of-type {
    margin-bottom: 0;
}

/* 引用ブロック直後のp（引用元） */
.sb-app.sb-single .external-reviews-section .wp-block-quote + p,
.sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote + p {
    margin-top: 24px;
    margin-left: 20px;
    font-size: 14px;
    color: #666;
    font-style: normal;
    font-weight: 500;
    position: relative;
    text-align: left;
}

/* 引用元の三角形 */
.sb-app.sb-single .external-reviews-section .wp-block-quote + p::before,
.sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote + p::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 24px solid #e9ecef;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    top: -24px;
    left: 40px;
    z-index: 1;
}

/* 引用元内のリンクスタイル */
.sb-app.sb-single .external-reviews-section .wp-block-quote + p a,
.sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote + p a {
    color: #007cba;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sb-app.sb-single .external-reviews-section .wp-block-quote + p a:hover,
.sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote + p a:hover {
    color: #004d87;
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sb-app.sb-single .external-reviews-section,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) {
        padding: 20px;
        margin: 20px 0;
    }
    
    .sb-app.sb-single .external-reviews-title,
    .sb-app.sb-single .wp-block-heading.external-reviews-title {
        font-size: 18px;
        padding: 12px 15px;
        margin: -20px -20px 20px -20px;
    }
    
    .sb-app.sb-single .external-reviews-site,
    .sb-app.sb-single .wp-block-heading.external-reviews-site {
        font-size: 16px;
        padding-left: 12px;
    }
    
    .sb-app.sb-single .external-reviews-section .wp-block-quote,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote {
        padding: 20px 45px;
        margin: 15px 0 8px 0;
    }
    
    .sb-app.sb-single .external-reviews-section .wp-block-quote::before,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote::before {
        font-size: 50px;
        top: 8px;
        left: 10px;
    }
    
    .sb-app.sb-single .external-reviews-section .wp-block-quote::after,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote::after {
        font-size: 50px;
        bottom: 8px;
        right: 10px;
        transform: translateY(16px);
    }
    
    .sb-app.sb-single .external-reviews-section .wp-block-quote p,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .sb-app.sb-single .external-reviews-section .wp-block-quote + p,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote + p {
        margin-top: 20px;
        margin-left: 15px;
        font-size: 13px;
    }
    
    .sb-app.sb-single .external-reviews-section .wp-block-quote + p::before,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote + p::before {
        border-top-width: 20px;
        border-left-width: 10px;
        border-right-width: 10px;
        top: -20px;
        left: 30px;
    }
}

@media (max-width: 480px) {
    .sb-app.sb-single .external-reviews-section,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) {
        padding: 15px;
        margin: 15px 0;
    }
    
    .sb-app.sb-single .external-reviews-title,
    .sb-app.sb-single .wp-block-heading.external-reviews-title {
        font-size: 16px;
        padding: 10px 12px;
        margin: -15px -15px 15px -15px;
    }
    
    .sb-app.sb-single .external-reviews-section .wp-block-quote,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote {
        padding: 15px 35px;
        border-radius: 8px;
    }
    
    .sb-app.sb-single .external-reviews-section .wp-block-quote::before,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote::before {
        font-size: 40px;
        top: 5px;
        left: 8px;
    }
    
    .sb-app.sb-single .external-reviews-section .wp-block-quote::after,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote::after {
        font-size: 40px;
        bottom: 5px;
        right: 8px;
        transform: translateY(12px);
    }
    
    .sb-app.sb-single .external-reviews-section .wp-block-quote p,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote p {
        font-size: 13px;
    }
    
    .sb-app.sb-single .external-reviews-section .wp-block-quote + p,
    .sb-app.sb-single .wp-block-group:has(.external-reviews-title) .wp-block-quote + p {
        font-size: 12px;
        margin-left: 10px;
    }
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sb-app.sb-single .sb-single__title {
        font-size: 24px;
    }
    
    .sb-app.sb-single .sb-single__tags {
        gap: 6px;
    }
    
    .sb-app.sb-single .sb-site-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }
    
    .sb-app.sb-single .sb-site-card__actions {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        width: 100%;
        gap: 5px;
    }
    
    .sb-app.sb-single .sb-site-card__name {
        font-size: 24px;
    }
    
    .sb-app.sb-single .sb-site-card__url, 
    .sb-app.sb-single .sb-site-card__date {
        font-size: 12px;
    }
    
    .sb-app.sb-single .sb-site-card__action {
        width: calc(33.333% - 4px);
        min-width: 90px;
        height: 120px;
        padding: 10px 5px;
    }
    
    .sb-app.sb-single .sb-site-card__action-label {
        font-size: 14px;
        margin: 0 0 8px 0;
    }
    
    .sb-app.sb-single .sb-site-card__comment-count {
        font-size: 20px;
    }
    
    .sb-app.sb-single .sb-site-card__stars {
        font-size: 16px;
    }
    
    .sb-app.sb-single .sb-site-card__survey {
        font-size: 16px;
    }
    
    .sb-app.sb-single .sb-site-card__comment-link,
    .sb-app.sb-single .sb-site-card__danger-text,
    .sb-app.sb-single .sb-site-card__investigation {
        font-size: 12px;
    }
    
    .sb-app.sb-single .sb-site-card__logo-section {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .sb-app.sb-single .sb-info-table {
        margin: 20px auto;
        border-radius: 10px;
        padding: 20px;
    }
    
    .sb-app.sb-single .sb-comments {
        margin: 20px auto;
        border-radius: 10px;
        padding: 20px;
    }
    
    .sb-app.sb-single .sb-info-table__title,
    .sb-app.sb-single .sb-comments__title {
        font-size: 18px;
        margin: -20px -20px 25px -20px;
    }
    
    .sb-app.sb-single .sb-info-table__table {
        font-size: 14px;
    }
    
    .sb-app.sb-single .sb-info-table__table th {
        width: 120px;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .sb-app.sb-single .sb-info-table__table td {
        padding: 8px 12px;
        font-size: 14px;
    }

    .sb-app.sb-single .sb-info-table__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .sb-app.sb-single .sb-info-table__badge {
        font-size: 10px;
        padding: 3px 10px 3px 16px;
    }
    
    .sb-app.sb-single .sb-info-table__badge::before {
        left: 6px;
        width: 3px;
        height: 3px;
    }
}

/* サイトカードデザイン */
.custom-site-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    gap: 15px;
    max-width: 100%;
    box-sizing: border-box;
}

.custom-fraud-tag {
    background: #dc3545;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 3;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}