/* Contact Page Specific Styles */

/* Main content area */
.contact-main {
    padding-top: 100px;
    min-height: calc(100vh - 200px);
}

/* Hero section */
.contact-hero {
    background: #000;
    color: #fff;
    padding: 50px 0 40px;
    text-align: center;
}

.contact-page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-page-subtitle {
    font-size: 16px;
    color: #ccc;
}

/* Container layout */
.contact-container {
    padding: 40px 20px 80px;
    max-width: 800px;
    margin: 0 auto;
}

/* Form wrapper */
.contact-form-wrapper {
    background: #fff;
    border: 2px solid #000;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Form styling */
.contact-form-page {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
    font-size: 16px;
}

.required {
    color: #ff0000;
    font-weight: normal;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.form-group textarea {
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* Checkbox styling */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label.agreement {
    grid-column: 1 / -1;
    margin-top: 10px;
}

.checkbox-label a {
    color: #000;
    text-decoration: underline;
}

/* Agreement text */
.agreement-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.agreement-text a {
    color: #0066cc;
    text-decoration: underline;
}

/* Centered checkbox */
.agreement-centered {
    justify-content: center;
    margin-top: 10px;
}

/* Submit button */
.form-submit {
    text-align: center;
    margin-top: 20px;
}

.btn-submit {
    font-size: 20px;
    padding: 20px 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}


/* Navigation active state */
.nav-list li a.active {
    color: #000;
    font-weight: 700;
}

/* 申込注意書き（ボタン上） */
.trial-notice-bottom {
    text-align: center;
    margin: 20px 0 10px;
    padding: 0;
}

.trial-notice-bottom p {
    margin: 0;
    color: #1e40af;
    font-size: 14px;
    line-height: 1.8;
}

.trial-notice-bottom p:first-child {
    font-weight: 700;
    margin-bottom: 5px;
    color: #1e40af;
}

.trial-notice-bottom p:first-child {
    font-weight: 700;
    margin-bottom: 5px;
}

/* Responsive design */

@media (max-width: 768px) {
    .contact-hero {
        padding: 40px 0 30px;
    }
    
    .contact-page-title {
        font-size: 28px;
    }
    
    .contact-page-subtitle {
        font-size: 15px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .btn-submit {
        font-size: 18px;
        padding: 16px 40px;
        width: 100%;
    }
    
    .trial-notice-bottom {
        padding: 15px;
    }
    
    .trial-notice-bottom p {
        font-size: 13px;
    }
}