/* ===================================
   Estate Contact Page Styles
   賃貸事業お問い合わせページ専用スタイル
   =================================== */

/* ===================================
   Page Hero Override
   =================================== */
section.page-hero {
    position: relative;
    min-height: 280px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

section.page-hero > .breadcrumb {
    position: absolute;
    top: 0.25rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    justify-content: flex-start;
}

section.page-hero .breadcrumb a {
    color: white;
    opacity: 0.8;
    text-decoration: none;
}

section.page-hero .breadcrumb a:hover {
    opacity: 1;
}

section.page-hero .breadcrumb span {
    color: white;
    opacity: 0.8;
}

section.page-hero .breadcrumb li:last-child {
    color: white;
    opacity: 0.9;
}

section.page-hero .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

section.page-hero .page-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
    color: white;
}

/* ===================================
   1. Page Header (Legacy)
   =================================== */
.estate-contact-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e5a8e 100%);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.estate-contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,106.7C960,117,1056,139,1152,144C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

/* ===================================
   2. Contact Methods Section
   =================================== */
.contact-methods-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.contact-methods-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.contact-methods-section .section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
}

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

.contact-method-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 5px solid transparent;
}

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.contact-method-card.primary {
    border-top-color: var(--primary-blue);
}

.contact-method-card.secondary {
    border-top-color: #28a745;
}

.contact-method-card.tertiary {
    border-top-color: var(--accent-gold);
}

.method-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.contact-method-card.primary .method-icon {
    background: linear-gradient(135deg, var(--primary-blue), #1e5a8e);
}

.contact-method-card.secondary .method-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.contact-method-card.tertiary .method-icon {
    background: linear-gradient(135deg, var(--accent-gold), #c89a5a);
}

.method-icon i {
    font-size: 2.5rem;
    color: white;
}

.contact-method-card:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

.method-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.2rem;
}

.method-description {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.method-details {
    margin-top: 2rem;
    text-align: left;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: var(--primary-blue);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.detail-item p {
    margin: 0;
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
}

.detail-item strong {
    color: var(--primary-navy);
    font-weight: 700;
}

/* Phone Contact */
.phone-contact {
    margin: 2rem 0;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #EFC050, #d4a941);
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 192, 80, 0.4);
}

.phone-link:hover {
    background: linear-gradient(135deg, #d4a941, #c09436);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(239, 192, 80, 0.6);
}

.phone-link i {
    font-size: 1.4rem;
}

/* Business Hours */
.business-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f0f7ff;
    border-radius: 10px;
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-weight: 600;
}

.business-hours i {
    font-size: 1.2rem;
}

/* Email Contact (Legacy - kept for compatibility) */
.email-contact {
    margin: 2rem 0;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.email-link:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.email-link i {
    font-size: 1.4rem;
}

/* Response Time (Legacy - kept for compatibility) */
.response-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: #f0f7ff;
    border-radius: 10px;
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-weight: 600;
}

.response-time i {
    font-size: 1.2rem;
}

/* Feature Box */
.feature-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #f0f9ff;
    border: 2px solid #2c5282;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.feature-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2c5282;
    border-radius: 50%;
    color: white;
}

.feature-icon i {
    font-size: 0.95rem;
}

.feature-text {
    color: #1a2b4a;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Scroll to Form */
.scroll-to-form {
    margin-top: 2rem;
}

.scroll-to-form .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
}

/* ===================================
   3. Contact Form Section (Additional Styles)
   =================================== */
.contact-form-section {
    padding: 6rem 0;
    background: white;
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 4rem;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.form-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.required-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #fff5f5;
    border-radius: 8px;
    color: #dc3545;
    font-size: 0.95rem;
    font-weight: 600;
}

.required-note i {
    font-size: 0.7rem;
}

/* Form Group */
.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #1a2b4a;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-label.required::after {
    content: ' *';
    color: #dc3545;
    font-weight: 700;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.form-control:focus {
    border-color: #2c5282;
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Field Note */
.field-note {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.field-note i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--primary-blue);
}

.field-note strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

/* Checkbox Group */
.checkbox-group {
    margin: 2.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    cursor: pointer;
    accent-color: #2c5282;
}

.checkbox-text {
    color: #495057;
    line-height: 1.6;
}

.checkbox-text a {
    color: #2c5282;
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-text a:hover {
    color: #1a2b4a;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5282 0%, #1a2b4a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 82, 130, 0.4);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

.btn-submit {
    min-width: 300px;
    padding: 1.5rem 4rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #d4a574 0%, #c49563 100%);
    color: white;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #c49563 0%, #b38552 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

/* Form Note (matching image design) */
.form-note {
    margin-top: 2rem;
    padding: 2rem 2.5rem;
    background: #fef9f3;
    border-radius: 12px;
    border-left: 5px solid #d4a574;
}

.form-note p {
    font-size: 0.95rem;
    color: #6b5d4f;
    line-height: 2;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-note p:last-child {
    margin-bottom: 0;
}

.note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #d4a574;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.15rem;
}
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.demo-notice p {
    margin: 0;
    color: #666;
    line-height: 1.8;
}

/* ===================================
   4. Additional Info Section
   =================================== */
.additional-info-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.additional-info-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-navy);
    margin-bottom: 4rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-navy));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.info-icon i {
    font-size: 2.2rem;
    color: white;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.2rem;
}

.info-content {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.info-content .note {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #999;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-link:hover {
    gap: 1rem;
    color: var(--primary-navy);
}

/* ===================================
   5. Responsive Design
   =================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .estate-contact-header {
        padding: 6rem 0 4rem;
    }
    
    .contact-methods-section {
        padding: 4rem 0;
    }
    
    .contact-methods-section .section-title {
        font-size: 2rem;
    }
    
    .contact-methods-section .section-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .contact-method-card {
        padding: 2.5rem 2rem;
    }
    
    .method-icon {
        width: 80px;
        height: 80px;
    }
    
    .method-icon i {
        font-size: 2.2rem;
    }
    
    .method-title {
        font-size: 1.4rem;
    }
    
    .method-description {
        font-size: 1rem;
    }
    
    .email-link {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    
    .contact-form-section {
        padding: 4rem 0;
    }
    
    .form-header {
        margin-bottom: 3rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .form-description {
        font-size: 1rem;
    }
    
    .btn-submit {
        min-width: 100%;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
    
    .demo-notice {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .demo-notice i {
        font-size: 1.5rem;
    }
    
    .demo-notice strong {
        font-size: 1rem;
    }
    
    .demo-notice p {
        font-size: 0.9rem;
    }
    
    .additional-info-section {
        padding: 4rem 0;
    }
    
    .additional-info-section .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .info-card {
        padding: 2.5rem 2rem;
    }
    
    .info-icon {
        width: 70px;
        height: 70px;
    }
    
    .info-icon i {
        font-size: 2rem;
    }
    
    .info-title {
        font-size: 1.3rem;
    }
    
    .info-content {
        font-size: 1rem;
    }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .contact-method-card {
        padding: 2rem 1.5rem;
    }
    
    .method-icon {
        width: 70px;
        height: 70px;
    }
    
    .method-icon i {
        font-size: 2rem;
    }
    
    .method-title {
        font-size: 1.3rem;
    }
    
    .email-link {
        font-size: 0.95rem;
        padding: 0.9rem 1.5rem;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
    }
}

/* ===================================
   6. FAQ Section
   =================================== */
.faq-section {
    background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
}

.faq-section .section-title {
    font-size: 2.5rem;
    color: #1a2b4a;
    font-weight: 900;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.25rem;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 43, 74, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.15);
    border-color: #d4a574;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #d4a574 0%, #b8860b 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover .faq-question::before,
.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-q-text {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a2b4a;
    line-height: 1.6;
    padding-right: 1.5rem;
}

.faq-arrow {
    color: #d4a574;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
}

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

.faq-a-content {
    padding: 0 2rem 2rem 2rem;
}

.faq-a-content p {
    color: #4a5568;
    line-height: 1.9;
    margin: 0;
    font-size: 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid #edf2f7;
}

.faq-a-content a {
    color: #2c5282;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #d4a574;
    transition: all 0.3s ease;
}

.faq-a-content a:hover {
    color: #d4a574;
    border-bottom-color: #2c5282;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-section .section-title {
        font-size: 2rem;
    }
    
    .faq-question {
        padding: 1.5rem 1.5rem;
    }
    
    .faq-q-text {
        font-size: 0.95rem;
        padding-right: 1rem;
    }
    
    .faq-arrow {
        font-size: 1rem;
    }
    
    .faq-a-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .faq-a-content p {
        font-size: 0.9rem;
    }
}
