#rdc-app-container {
    max-width: 1064px;
    margin: 20px auto;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}

.rdc-trust-note {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-bottom: 8px;
    font-weight: bold;
}

/* ★追加：注記内のアフィリエイトリンクのスタイル */
.rdc-trust-note a {
    color: #ff008c;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.rdc-trust-note a:hover {
    opacity: 0.7;
}

.rdc-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.03);
    padding: 20px;
    border-radius: 4px;
}

.rdc-filter-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
}

.rdc-filter-label {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.rdc-btn-wrap {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.rdc-btn-type {
    padding: 10px 24px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.2s;
    font-size: 14px;
}

.rdc-btn-type.active {
    background: #ff008c;
    color: #fff;
    border-color: #ff008c;
}

.rdc-btn-type:disabled {
    cursor: not-allowed;
    opacity: 0.4;
    background: #f5f5f5;
    border-color: #ccc;
    color: #999;
}
.rdc-btn-type.active:disabled {
    opacity: 1;
    background: #ff008c;
    border-color: #ff008c;
    color: #fff;
}

.rdc-filter-group select {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid currentColor;
    font-size: 14px;
    outline: none;
    width: 100%;
    background: transparent;
    color: inherit;
}

.rdc-filter-group select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.rdc-filter-checkbox-group {
    justify-content: center;
    margin-top: 10px;
}
.rdc-checkbox-label {
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}
.rdc-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.rdc-result-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 12px 15px;
    border-left: 5px solid #ff008c;
}

#rdc-result-wrapper { min-height: 400px; }

.judge-perfect { color: #ff008c; font-weight: bold; }
.judge-partial { color: #f59600; font-weight: bold; }
.judge-bad { color: #666; font-weight: bold; }

.rdc-sim-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 8px;
    border: 1px solid currentColor;
    opacity: 0.8;
}

.rdc-remark-good { color: #2e7d32; display: block; font-size: 13px; line-height: 1.6; margin-bottom: 4px; }
.rdc-remark-warn { color: #e67e22; display: block; font-size: 13px; line-height: 1.6; margin-bottom: 4px; }
.rdc-remark-bad  { color: #666; display: block; font-size: 13px; line-height: 1.6; margin-bottom: 4px; }

.rdc-view-pc { display: block; }
.rakuten-byod-table { width: 100%; font-size: 15px; }
.rakuten-byod-table th, .rakuten-byod-table td { padding: 10px; vertical-align: middle; }
.rakuten-byod-table thead th { text-align: left; white-space: nowrap; font-weight: bold;}
.rakuten-byod-table tbody th { text-align: left; }
.rakuten-byod-table td.col-center { text-align: left; } 
.rakuten-byod-table td.col-remarks { line-height: 1.5; }

.rdc-table-row { cursor: pointer; transition: background 0.2s; }
.rdc-table-row:hover { background: #fff2f9; }
.rdc-cta-wrap-inline { display: none; margin-top: 8px; }

.rdc-view-sp { display: none; }
.rdc-accordion { border: 1px solid currentColor; border-radius: 4px; margin-bottom: 12px; overflow: hidden; background: #fff;}
.rdc-accordion summary { display: flex; flex-direction: column; padding: 16px; cursor: pointer; outline: none; list-style: none; position: relative; }
.rdc-accordion summary::-webkit-details-marker { display: none; }
.rdc-accordion summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 16px; font-weight: bold;}
.rdc-accordion[open] summary::after { content: "-"; }
.rdc-acc-name { font-weight: bold; font-size: 15px; margin-bottom: 6px; width: 90%; line-height: 1.3; }
.rdc-acc-judge { font-size: 14px; }
.rdc-acc-body { padding: 16px; border-top: 1px solid #eee; font-size: 14px; }
.rdc-view-sp .rdc-cta-wrap-inline { display: block; margin-top: 12px; }

.rdc-pseudo-link {
    background: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    text-decoration: underline;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
}
.rdc-pseudo-link::before {
    content: "▶";
    font-size: 10px;
    margin-right: 5px;
    text-decoration: none;
}
.rdc-pseudo-link-sim { color: #ff008c; }
.rdc-pseudo-link-set { color: #f59600; }
.rdc-pseudo-link:hover { opacity: 0.7; }

.rdc-master-cta {
    margin-top: 40px;
    padding: 30px 20px;
    background: #fff5fa;
    border: 2px solid #ffccea;
    border-radius: 8px;
    text-align: center;
}
.rdc-master-cta p {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}
.rdc-master-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.rdc-m-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s, opacity 0.2s;
}
.rdc-m-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
.rdc-m-btn-sim {
    background-color: #ff008c;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 0, 140, 0.3);
}
.rdc-m-btn-set {
    background-color: #f59600;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(245, 150, 0, 0.3);
}

.rdc-placeholder { text-align: center; padding: 40px; font-weight: bold; color: #666; }
.rdc-loader {
    border: 4px solid #f3f3f3; border-top: 4px solid #ff008c; border-radius: 50%;
    width: 30px; height: 30px; animation: spin 1s linear infinite; margin: 0 auto 15px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

@media (max-width: 768px) {
    .rdc-filter-group { max-width: 100%; }
    .rdc-master-cta-buttons { flex-direction: column; }
    .rdc-trust-note { text-align: left; }
}