.contact-header {
    text-align: left;
    padding-bottom: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--glass-border);
}

.contact-header h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-en);
}

.contact-header p {
    color: var(--accent-cyan);
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    font-size: 1.1rem;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.content-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.content-card:hover {
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
    transition: all 0.3s var(--easing);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 32px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 16px;
    border-left: 4px solid var(--accent-cyan);
    font-family: var(--font-en);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s var(--easing);
}

.contact-method:hover {
    background: rgba(0, 243, 255, 0.05);
    border-color: rgba(0, 243, 255, 0.2);
    transform: translateX(5px);
}

.contact-method > i {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-top: 5px;
    min-width: 40px;
}

.method-content {
    flex: 1;
}

.method-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    font-family: var(--font-jp);
}

.method-content a {
    display: block;
    color: var(--accent-cyan);
    font-size: 0.95rem;
    margin-top: 5px;
    word-break: break-all;
    transition: all 0.3s;
}

.method-content a:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px var(--accent-cyan);
    padding-left: 5px;
}

.response-time {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(0, 243, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 243, 255, 0.1);
}

.response-time i {
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.response-time p {
    margin: 0;
    color: var(--text-sub);
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 5px;
}

.required {
    color: #ff4444;
    font-weight: 700;
}

.form-input {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 1rem;
    font-family: var(--font-jp);
    transition: all 0.3s var(--easing);
    outline: none;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.form-input::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.form-input.error {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.05);
}

textarea.form-input {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2300f3ff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 45px;
    cursor: pointer;
}

.error-message {
    font-size: 0.85rem;
    color: #ff4444;
    margin-top: -5px;
    display: block;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.form-input.error ~ .error-message {
    opacity: 1;
}

.btn-primary {
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-en);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s var(--easing);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 243, 255, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary i {
    font-size: 1.2rem;
}

.btn-loading {
    display: none;
}

.btn-loading.hidden {
    display: none;
}

.form-message {
    padding: 20px 25px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    animation: slideIn 0.4s var(--easing);
    margin-top: 10px;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

.form-message.hidden {
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.full-section {
    margin-top: 60px;
    margin-bottom: 80px;
}

.info-notice {
    padding: 30px;
}

.info-notice h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-jp);
}

.info-notice h3 i {
    color: var(--accent-cyan);
    font-size: 1.4rem;
}

.info-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-notice li {
    padding-left: 30px;
    position: relative;
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.7;
}

.info-notice li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 700;
    font-family: var(--font-en);
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-method > i {
        font-size: 1.8rem;
    }
    
    .method-content a {
        font-size: 0.9rem;
    }
    
    .form-input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .btn-primary {
        padding: 16px 35px;
        font-size: 1rem;
    }
    
    .info-notice {
        padding: 25px 20px;
    }
    
    .info-notice h3 {
        font-size: 1.1rem;
    }
    
    .info-notice li {
        font-size: 0.9rem;
    }
}
