/* ===============================================
   下層ページ専用スタイル
   =============================================== */

/* ===== パンくずリスト ===== */
.breadcrumb {
    background: var(--retro-beige);
    padding: var(--spacing-sm) 0;
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb li {
    color: var(--text-dark);
    font-weight: 500;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: var(--primary-color);
    font-weight: 900;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== ページコンテンツ ===== */
.page-content {
    background: var(--retro-cream);
    padding: var(--spacing-xl) 0;
    min-height: 60vh;
}

/* ===== ページヘッダー ===== */
.page-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.page-character {
    width: 150px;
    height: auto;
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    filter: drop-shadow(5px 5px 8px rgba(0, 0, 0, 0.5));
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    border-bottom: 5px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: var(--spacing-sm);
}

/* ===== 注意事項ボックス ===== */
.notice-box {
    background: var(--secondary-color);
    border: 5px solid var(--text-dark);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-md);
    box-shadow: var(--shadow-lg);
}

.notice-icon {
    font-size: 3rem;
    color: var(--text-dark);
    flex-shrink: 0;
}

.notice-content h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.notice-content p {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ===== 価格セクション ===== */
.price-section {
    margin-bottom: var(--spacing-xl);
}

.price-category {
    background: var(--bg-white);
    border: 4px solid var(--retro-brown);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-md);
}

.category-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--retro-brown);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 3px solid var(--primary-color);
}

/* ===== 価格テーブル ===== */
.price-table {
    overflow-x: auto;
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 3px solid var(--retro-brown);
}

.price-table th,
.price-table td {
    padding: 1rem;
    text-align: left;
    border: 2px solid var(--retro-beige);
}

.price-table thead {
    background: var(--primary-color);
    color: white;
}

.price-table th {
    font-weight: 900;
    font-size: 1.1rem;
    white-space: nowrap;
}

.price-table tbody tr {
    transition: var(--transition-fast);
}

.price-table tbody tr:hover {
    background: var(--retro-cream);
}

.price-table td {
    font-weight: 600;
}

.price-good {
    color: var(--accent-color);
    font-weight: 900;
}

.price-normal {
    color: var(--text-dark);
    font-weight: 700;
}

/* ===== 状態セクション ===== */
.condition-section {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border: 5px solid var(--retro-brown);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
}

.condition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.condition-card {
    background: var(--retro-cream);
    border: 4px solid var(--retro-brown);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.condition-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.condition-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-weight: 900;
    font-size: 1.2rem;
    border-radius: 0;
    margin-bottom: var(--spacing-sm);
    border: 3px solid var(--text-dark);
}

.condition-label.excellent {
    background: var(--accent-color);
    color: white;
}

.condition-label.good {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.condition-label.normal {
    background: var(--retro-beige);
    color: var(--text-dark);
}

.condition-label.poor {
    background: var(--text-light);
    color: white;
}

.condition-card ul {
    list-style: none;
    text-align: left;
    margin: var(--spacing-sm) 0;
}

.condition-card li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-color);
    font-weight: 500;
}

.condition-card li::before {
    content: '●';
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.condition-price {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem;
    font-weight: 900;
    font-size: 1.1rem;
    margin-top: var(--spacing-sm);
    border: 3px solid var(--text-dark);
}

.condition-note {
    background: var(--secondary-color);
    padding: var(--spacing-md);
    margin-top: var(--spacing-lg);
    border: 4px solid var(--text-dark);
    box-shadow: var(--shadow-md);
}

.condition-note p {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.condition-note ul {
    list-style: none;
}

.condition-note li {
    padding: 0.5rem 0;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* ===== まとめ買取特典 ===== */
.bulk-bonus-section {
    background: var(--retro-brown);
    padding: var(--spacing-lg);
    border: 8px solid var(--secondary-color);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
}

.bulk-bonus-section .section-title {
    color: var(--secondary-color);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.bonus-card {
    background: rgba(255, 248, 225, 0.15);
    border: 4px solid var(--secondary-color);
    padding: var(--spacing-md);
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.bonus-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 248, 225, 0.25);
}

.bonus-card.highlight {
    border: 5px solid var(--secondary-color);
    background: rgba(251, 192, 45, 0.3);
}

.bonus-icon {
    width: 120px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0 auto var(--spacing-sm);
    border: 4px solid var(--text-dark);
    white-space: nowrap;
}

.bonus-card h3 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--retro-cream);
    margin-bottom: var(--spacing-xs);
}

.bonus-rate {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin: var(--spacing-sm) 0;
}

.bonus-note {
    font-size: 0.9rem;
    color: var(--retro-cream);
    font-weight: 600;
}

/* ===== ページCTA ===== */
.page-cta {
    background: var(--bg-white);
    border: 5px solid var(--primary-color);
    padding: var(--spacing-lg);
    text-align: center;
    margin-top: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
}

.page-cta h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.page-cta p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== アクティブメニュー ===== */
.nav a.active {
    background: var(--secondary-color);
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-character {
        width: 100px;
        right: 5%;
    }
    
    .notice-box {
        flex-direction: column;
        text-align: center;
    }
    
    .price-table {
        font-size: 0.9rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 0.5rem;
    }
    
    .condition-grid {
        grid-template-columns: 1fr;
    }
    
    .bonus-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .page-character {
        width: 80px;
        right: 2%;
    }
    
    .price-table table {
        font-size: 0.8rem;
    }
}

/* ===============================================
   FAQページ専用スタイル
   =============================================== */

.faq-section {
    background: var(--retro-cream);
    padding: var(--spacing-xl) 0;
}

/* FAQカテゴリ */
.faq-category {
    background: var(--bg-white);
    border: 5px solid var(--retro-brown);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
}

.faq-category-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--retro-brown);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--secondary-color);
    border: 4px solid var(--text-dark);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-md);
}

.faq-category-title i {
    font-size: 2.5rem;
}

/* FAQ項目 */
.faq-item {
    border: 3px solid var(--retro-beige);
    margin-bottom: var(--spacing-sm);
    background: var(--retro-cream);
    transition: var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-item.active {
    border-color: var(--primary-color);
    border-width: 4px;
}

/* FAQ質問部分 */
.faq-question {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    cursor: pointer;
    transition: var(--transition-fast);
    background: var(--bg-white);
}

.faq-question:hover {
    background: var(--retro-cream);
}

.faq-item.active .faq-question {
    background: var(--secondary-color);
    border-bottom: 3px solid var(--text-dark);
}

.faq-question i:first-child {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0;
}

.faq-toggle {
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* FAQ回答部分 */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer > * {
    padding: var(--spacing-md);
    margin: 0;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.faq-answer p:first-child {
    padding-top: var(--spacing-md);
}

.faq-answer ul,
.faq-answer ol {
    margin: var(--spacing-sm) 0;
    padding-left: 2rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--primary-color);
    font-weight: 900;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 700;
}

.faq-answer a:hover {
    color: var(--retro-brown);
}

/* FAQページのCTAボックス */
.cta-box {
    background: var(--retro-brown);
    border: 8px solid var(--secondary-color);
    padding: var(--spacing-lg);
    text-align: center;
    margin-top: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
}

.cta-box h3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--retro-cream);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

/* レスポンシブ対応（FAQ） */
@media (max-width: 768px) {
    .faq-category-title {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .faq-category-title {
        font-size: 1.3rem;
    }
    
    .faq-question {
        padding: var(--spacing-sm);
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
}
