/* contact.css - PRIMA! コンタクトページ専用スタイル */

/* コンタクトセクション */
.contact-section {
    padding: 140px 0 80px;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #333;
}

.section-title {
    font-family: var(--font-headline);
    font-size: 60px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-text {
    text-align: center;
    margin-bottom: 50px;
}

.jp-text {
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.en-text {
    font-family: var(--font-headline);
    font-style: italic;
    font-size: 12px;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
}

/* フォームスタイル */
.contact-form {
    background-color: #fff;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 8px;
    position: relative;
}

.label-text {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: #000;
    display: inline-block;
    margin-right: 10px;
}

.label-en {
    font-family: var(--font-headline);
    font-style: italic;
    font-size: 12px;
    color: #999;
    font-weight: 300;
}

.required {
    color: #c00;
    margin-left: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #999;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

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

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    position: relative;
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    padding: 15px 60px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.submit-btn:hover {
    background-color: #333;
}

/* エラーメッセージスタイル */
.error-message {
    color: #c00;
    font-size: 12px;
    margin-top: 5px;
    font-family: var(--font-body);
}

.error-field {
    border-color: #c00 !important;
    background-color: #fff0f0 !important;
}

/* サンクスメッセージスタイル */
.thank-you-message {
    background-color: #fff;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    margin-bottom: 50px;
}

.thank-you-message h3 {
    font-family: var(--font-body);
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;
}

.thank-you-message p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

.thank-you-message .en-message {
    font-family: var(--font-headline);
    font-style: italic;
    font-size: 14px;
    color: #666;
    font-weight: 300;
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブスタイル */
@media (max-width: 1200px) {
    .contact-section {
        padding: 120px 0 60px;
    }
}

@media (max-width: 991px) {
    .contact-section {
        padding: 100px 0 50px;
    }
    
    .section-title {
        font-size: 50px;
    }
    
    .contact-form {
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 80px 0 40px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .jp-text,
    .en-text {
        font-size: 14px;
        text-align: left;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .submit-btn {
        padding: 12px 40px;
        width: 100%;
    }
    
    .thank-you-message {
        padding: 30px 20px;
    }
    
    .thank-you-message h3 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 70px 0 30px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .label-text, .label-en {
        display: block;
    }
    
    .label-en {
        margin-top: 3px;
    }
}