/**
 * 買取・提携ページ用スタイル
 */

/* ページコンテナ（1カラム） */
.buy-page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* メインコンテンツ */
.buy-main-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

/* ファーストビュー */
.first-view {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 60px;
}

.first-view::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.first-view-content {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    flex: 0 0 40%;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(180deg); }
}

.main-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0 0 16px 0;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.main-title i {
    color: var(--primary-color, #DC2626);
    font-size: 40px;
}

.sub-title {
    font-size: 18px;
    color: #666;
    margin: 0 0 40px 0;
    position: relative;
    z-index: 1;
}

/* お問い合わせボタン */
.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.btn-x, .btn-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-x {
    background: #1DA1F2;
    color: white;
}

.btn-x:hover {
    background: #1a8cd8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.4);
}

.btn-email {
    background: var(--primary-color, #DC2626);
    color: white;
}

.btn-email:hover {
    background: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.sub-notice {
    font-size: 16px;
    color: #DC2626;
    font-weight: bold;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* セクション共通 */
section {
    padding: 60px 40px;
    border-top: 1px solid #f0f0f0;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 40px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-title i {
    color: var(--primary-color, #DC2626);
}

/* 3つの特徴 */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.feature-item:hover .feature-image img {
    transform: scale(1.1);
}

.feature-content {
    padding: 30px 20px;
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 36px;
    color: var(--primary-color, #DC2626);
}

.feature-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
}

.feature-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 買取の流れ */
.process-section {
    margin-bottom: 50px;
}

.sub-section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 30px 0;
    text-align: center;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.step {
    flex: 1;
    max-width: 250px;
    text-align: center;
    padding: 30px 20px;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s;
}

.step:hover {
    border-color: var(--primary-color, #DC2626);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.2);
}

.step-number {
    display: inline-block;
    background: var(--primary-color, #DC2626);
    color: white;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.step-content h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
}

.step-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.step-arrow {
    color: #e5e7eb;
    font-size: 24px;
}

/* お気軽にご相談ください */
.consultation-box {
    background: #FEF2F2;
    border: 2px solid #FECACA;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 50px;
}

.consultation-box h3 {
    font-size: 22px;
    font-weight: bold;
    color: #DC2626;
    margin: 0 0 20px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.consultation-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.consultation-content li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #333;
}

.consultation-content li i {
    color: #10B981;
}

.consultation-message {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #DC2626;
    margin: 0;
}

/* 買取について */
.buy-info {
    margin-bottom: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-item {
    background: #f3f4f6;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.info-item h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item h4 i {
    color: #6b7280;
}

.info-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* メディア様募集セクション */
.media-section {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.media-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.media-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.media-overlay {
    position: relative;
    z-index: 2;
    background: rgba(249, 250, 251, 0.95);
    padding: 60px 40px;
}

.media-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.media-content > p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.media-benefits {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.media-benefits h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
}

.media-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: inline-block;
}

.media-benefits li {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.media-benefits li i {
    color: var(--primary-color, #DC2626);
    font-size: 20px;
}

.media-cta {
    font-size: 16px;
    color: #666;
    font-weight: bold;
}

/* お問い合わせセクション */
.contact-section {
    background: white;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact-method {
    background: #f9fafb;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.contact-method h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-method p {
    font-size: 18px;
    color: #666;
    margin: 0 0 20px 0;
    font-family: monospace;
}

.btn-contact-x, .btn-contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-contact-x {
    background: #1DA1F2;
    color: white;
}

.btn-contact-x:hover {
    background: #1a8cd8;
    transform: translateY(-1px);
}

.btn-contact-email {
    background: var(--primary-color, #DC2626);
    color: white;
}

.btn-contact-email:hover {
    background: #B91C1C;
    transform: translateY(-1px);
}

.contact-info {
    text-align: center;
}

.contact-info p {
    font-size: 16px;
    color: #666;
    margin: 0 0 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-info p i {
    color: #9ca3af;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .buy-page-container {
        padding: 20px 15px;
    }

    .first-view {
        padding: 40px 25px;
        flex-direction: column;
        gap: 30px;
    }

    .first-view-content {
        flex: none;
    }

    .hero-image {
        flex: none;
        width: 100%;
        max-width: 400px;
    }

    .main-title {
        font-size: 24px;
        flex-direction: column;
    }

    .main-title i {
        font-size: 32px;
    }

    .sub-title {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-x, .btn-email {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 40px 25px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .feature-image {
        height: 180px;
    }

    .process-steps {
        flex-direction: column;
    }

    .step {
        width: 100%;
        max-width: none;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .consultation-content ul {
        flex-direction: column;
        gap: 12px;
    }

    .consultation-message {
        font-size: 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-method {
        padding: 25px 20px;
    }

    .media-overlay {
        padding: 40px 25px;
    }
}